(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-258b3eb3"],{"030e":function(t,e,a){"use strict";a("a1de")},"3c96":function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n}));a("456d"),a("ac6a"),a("f3e2");var i=function(){for(var t={},e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return a.forEach((function(e){t[e]=window.localStorage.getItem(e)||null})),t},n=function(t){Object.keys(t).forEach((function(e){var a=t[e];window.localStorage.setItem(e,a)}))}},"41e5":function(t,e,a){t.exports=a.p+"static/img/ic_get_report_gray.50a14653.png"},"456d":function(t,e,a){var i=a("4bf8"),n=a("0d58");a("5eda")("keys",(function(){return function(t){return n(i(t))}}))},"5eda":function(t,e,a){var i=a("5ca1"),n=a("8378"),r=a("79e5");t.exports=function(t,e){var a=(n.Object||{})[t]||Object[t],s={};s[t]=e(a),i(i.S+i.F*r((function(){a(1)})),"Object",s)}},"9a67":function(t,e,a){t.exports=a.p+"static/img/ic_nucleicacid_title.aa40abf8.png"},a1de:function(t,e,a){},ac6a:function(t,e,a){for(var i=a("cadf"),n=a("0d58"),r=a("2aba"),s=a("7726"),c=a("32e9"),o=a("84f2"),f=a("2b4c"),d=f("iterator"),u=f("toStringTag"),l=o.Array,m={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},g=n(m),p=0;p<g.length;p++){var h,L=g[p],S=m[L],T=s[L],b=T&&T.prototype;if(b&&(b[d]||c(b,d,l),b[u]||c(b,u,L),o[L]=l,S))for(h in i)b[h]||r(b,h,i[h],!0)}},bf77:function(t,e,a){t.exports=a.p+"static/img/ic_nucleicacid_save2.a7f9ae61.png"},de53:function(t,e,a){t.exports=a.p+"static/img/report-bg.74e16362.png"},e051:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page"},[e("img",{staticClass:"page-part-2 title",attrs:{src:a("9a67")}}),e("img",{ref:"reportImage",staticStyle:{display:"none"},attrs:{src:a("de53")}}),e("canvas",{ref:"canvas",staticClass:"page-part-2",staticStyle:{display:"none"},attrs:{width:"1284",height:"907"}}),e("img",{ref:"finalImage",staticClass:"page-part-2"}),t._m(0)])},n=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"buttons"},[e("img",{attrs:{src:a("bf77")}}),e("img",{attrs:{src:a("41e5")}})])}],r=(a("7f7f"),a("5a0c")),s=a.n(r),c=a("3c96"),o={data:function(){return{form:{},pcrTime1:s()().add(-1,"day").add(6,"hour").add(60*Math.random(),"minute").add(60*Math.random(),"second").format("YYYY-MM-DD HH:mm"),pcrTime2:s()().add(-1,"day").add(12,"hour").add(60*Math.random(),"minute").add(60*Math.random(),"second").format("YYYY-MM-DD HH:mm")}},mounted:function(){this.form=Object.assign(this.form,Object(c["a"])("name","id")),this.draw()},methods:{draw:function(){var t=this,e=this.$refs.canvas.getContext("2d");this.$refs.reportImage.addEventListener("load",(function(){e.drawImage(t.$refs.reportImage,0,0),e.font="20px sans-serif",e.fillText(t.form.name,314,220),e.fillText(t.form.id,370,260),e.fillText(t.pcrTime1,480,668),e.fillText(t.pcrTime2,960,668),t.$refs.finalImage.src=t.$refs.canvas.toDataURL()}))}}},f=o,d=(a("030e"),a("2877")),u=Object(d["a"])(f,i,n,!1,null,"ed8c93d8",null);e["default"]=u.exports},f3e2:function(t,e,a){"use strict";var i=a("5ca1"),n=a("0a49")(0),r=a("2f21")([].forEach,!0);i(i.P+i.F*!r,"Array",{forEach:function(t){return n(this,t,arguments[1])}})}}]);