@pdftron/webviewer 11.5.0-20250514 → 11.5.0-20250515

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "11.5.0-20250514",
2
+ "version": "11.5.0-20250515",
3
3
  "name": "@pdftron/webviewer",
4
4
  "main": "webviewer.min.js",
5
5
  "author": "Apryse",
@@ -360,29 +360,29 @@ return(sb=Va.getDocument())?sb.UD(jb):null}}).then(function(jb){fb();return new
360
360
  sb();return[2]})})})}else sb()}):jb.hasOwnProperty("annots")&&(Va.ga.qk(jb.annots,{imported:!0}),Va.ga.Df(jb.annots),Va.xY(jb.pages),Va.YU(jb),sb()):(Va.trigger(hb.Events.ANNOTATIONS_LOADED),sb());return[2]})})})});Va.Hra.catch(function(jb){gb(jb)})}},20))})};hb.prototype.Mqa=function(Na){return Object(la.b)(this,void 0,void 0,function(){var ua,Ea,Ra,Va,fb,gb,$a=this;return Object(la.d)(this,function(jb){switch(jb.label){case 0:ua=function(sb){var wb,Ab,lb,yb,Cb,Gb,Jb,Nb,Rb,Yb,Ub,$b,bc,qc,vc;return Object(la.d)(this,
361
361
  function(mc){switch(mc.label){case 0:return Ea.ca?[4,Ea.ca.cda(sb)]:[2,{value:void 0}];case 1:return(wb=mc.aa().trim())?[4,Object(Oa.d)(Ea.ca,sb,wb)]:[2,{value:void 0}];case 2:Ab=mc.aa(),lb=Ab.nKa,yb=Ab.qKa,Object(Oa.b)(yb),Cb=Object(Oa.f)(lb),Gb=[],Jb=0,Nb=Cb,mc.label=3;case 3:if(!(Jb<Nb.length))return[3,8];Rb=Nb[Jb];Yb=Object(Oa.e)(Rb.text);Ub=function(Gc){var md,Ed;return Object(la.d)(this,function(lc){switch(lc.label){case 0:if(!Ea.ca)return[2,{value:void 0}];Gc.index+=Rb.Yb;return[4,Ea.ca.rW(sb,
362
362
  Gc.index,Gc.index+Gc.content.length)];case 1:return md=lc.aa(),Ed=Object(Oa.c)(md),Ed.forEach(function(yc){Object(Oa.a)($a.ga,yc,sb,Gc.content)}),Gb=Object(la.f)(Object(la.f)([],Gb,!0),Ed,!0),[2]}})};$b=0;bc=Yb;mc.label=4;case 4:if(!($b<bc.length))return[3,7];qc=bc[$b];return[5,Ub(qc)];case 5:vc=mc.aa();if("object"===typeof vc)return[2,vc];mc.label=6;case 6:return $b++,[3,4];case 7:return Jb++,[3,3];case 8:return 0<Gb.length&&Ea.ga.Cc(sb,!1,!0),[2]}})},Ea=this,Ra=0,Va=Na,jb.label=1;case 1:if(!(Ra<
363
- Va.length))return[3,4];fb=Va[Ra];return[5,ua(fb)];case 2:gb=jb.aa();if("object"===typeof gb)return[2,gb.value];jb.label=3;case 3:return Ra++,[3,1];case 4:return[2]}})})};hb.prototype.Sba=function(){return this.Jj()?!1:this.GR};hb.prototype.Aya=function(){this.Jj()?Object(ja.i)("Office Editor doesn't support automatic linking"):this.GR=!0};hb.prototype.pwa=function(){this.GR=!1};hb.prototype.rIa=function(){return Object(la.b)(this,void 0,void 0,function(){var Na=this;return Object(la.d)(this,function(ua){switch(ua.label){case 0:return this.ca||
364
- Object(ma.isUndefined)(this.bz)?[4,this.Bs()]:[2];case 1:return ua.aa(),[2,r.e(20).then(r.bind(null,638)).then(function(Ea){return Na.Yk(Ea.default,{enableOfficeEditing:!0,filename:"Untitled.docx"})})]}})})};hb.prototype.sIa=function(){return Object(la.b)(this,void 0,void 0,function(){var Na=this;return Object(la.d)(this,function(ua){switch(ua.label){case 0:return this.ca||Object(ma.isUndefined)(this.bz)?[4,this.Bs()]:[2];case 1:return ua.aa(),[2,r.e(21).then(r.bind(null,639)).then(function(Ea){Ea=
365
- atob(Ea.default);for(var Ra=Array(Ea.length),Va=0;Va<Ea.length;Va++)Ra[Va]=Ea.charCodeAt(Va);Ea=new Uint8Array(Ra);return Na.Yk(new Blob([Ea],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),{enableOfficeEditing:!0,filename:"Untitled.xlsx"})})]}})})};hb.prototype.Yk=function(Na,ua){return Object(la.b)(this,void 0,void 0,function(){return Object(la.d)(this,function(Ea){switch(Ea.label){case 0:return this.m8?[4,this.m8(Na,ua,this.$ca.bind(this))]:[3,2];case 1:return Ea.aa(),
366
- [3,4];case 2:return[4,this.$ca(Na,ua)];case 3:Ea.aa(),Ea.label=4;case 4:return[2]}})})};hb.prototype.kQa=function(Na){this.m8=Na};hb.prototype.aZ=function(Na,ua){this.bZ?Object(ab.a)(Na)?this.bZ(Na,ua):this.bZ("https://".concat(Na),ua):Object(bb.a)(Na,ua)};hb.prototype.sRa=function(Na){this.bZ=Na};hb.prototype.UFa=function(Na){var ua=this;void 0===Na&&(Na=!0);var Ea=this.ca.Jf;this.Nj=Array(Ea);this.LA=Array(Ea);this.oF=!Na;Na&&(Ea=this.ca.bu(),this.Nj.fill(Ea?!1:!0),this.LA.fill(!1),Object(ja.b)("Will request annotations ".concat(Ea)),
367
- Ea&&this.MK(0));this.oa=new Da.a(this.ca);this.defaults.FitMode===this.cn.Zoom&&this.oa.Wt(this.defaults.Zoom);this.ca.addEventListener(z.a.Events.BOOKMARKS_UPDATED,function(){ua.trigger(hb.Kh.Vka)});this.ca.addEventListener(z.a.Events.EMBEDDED_THUMBNAIL_COMPLETE,function(Va){ua.trigger(Ia.i.EMBEDDED_THUMBNAIL_COMPLETE,Va)});this.ca.addEventListener(La.a.Events.OFFICE_ANNOTATIONS_UPDATED,function(Va){ua.ga.qk(Va,!0);ua.ga.Df(Va)});this.ca.addEventListener(La.a.Events.OFFICE_XFDF_ANNOTATIONS_UPDATED,
368
- function(Va){for(var fb=0;fb<Va.length;fb++)ua.ga.$E(Va[fb])});this.oa.addEventListener(Da.a.Events.PAGES_UPDATED,this.rKa.bind(this));this.oa.addEventListener(Da.a.Events.PAGE_IDS_CHANGED,this.mKa.bind(this));this.oa.addEventListener(Da.a.Events.ZOOM_CHANGED,function(Va){ua.C1=ua.Fb.bj;ua.Fb.u1(Va)});this.ga.a_(this.oa);this.HS.a_(this.oa);this.trigger(hb.Events.BEFORE_DOCUMENT_LOADED);(Ea=this.ca.getType())&&Ea===pa.a.PDF||this.Fb.PRa();this.Fb.init();this.za.kS(this.za.md());this.PU||(this.PU=
369
- !0,this.vsa());if(this.za.md().mode!==a.a.mp){this.oa.Wt(this.MJ(this.Bk));this.Lm();this.za.aj();this.za.Yg();this.sf();Ea=this.nb();var Ra=(Ea.scrollWidth+this.rM()-Ea.clientWidth)/2;Object(wa.i)(Ea,Ra)}this.t6=Na?new Promise(function(Va){ua.removeEventListener(hb.Kh.ZH).addEventListener(hb.Kh.ZH,function(){ua.Ira=!0;Va()})}):Promise.resolve();Object(tb.f)(this.va().getRootNode());this.trigger(hb.Events.DOCUMENT_LOADED);1.2>=this.ca.ca.Ym&&this.trigger(hb.Kh.sQ)};hb.prototype.pF=function(Na){return Na===
370
- this.bz};hb.prototype.wz=function(){return this.t6};hb.prototype.ox=function(Na){if(this.za.md().mode!==a.a.mp){var ua=this.nb();ua&&(ua.style["touch-action"]=Na)}};hb.prototype.nb=function(){this.Wga||this.fia(document.getElementById("DocumentViewer"));return this.Wga};hb.prototype.fia=function(Na){this.Wga=Na};hb.prototype.va=function(){this.zg||this.qia(document.getElementById("viewer"));return this.zg};hb.prototype.qia=function(Na){var ua=this.zg&&Na&&this.zg!==Na&&this.ca;this.zg=Na;this.PU&&
371
- this.zg&&this.I6();ua&&this.KNa()};hb.prototype.rM=function(){var Na=document.createElement("div");Object(wa.b)(Na,{width:50,height:50,overflow:"hidden",position:"absolute",top:-200,left:-200});var ua=document.createElement("div");ua.style.height="100px";Na.appendChild(ua);document.body.appendChild(Na);ua=Na.clientWidth;Na.style["overflow-y"]="auto";var Ea=Na.clientWidth;document.body.removeChild(Na);return ua-Ea};hb.prototype.Uf=function(){var Na=this;if(this.ca){var ua=this.ca;clearTimeout(this.aK);
372
- return this.ga.Uf().then(function(){return Promise.all([Na.r6,Na.zL?Na.zL.Uf():null,Na.dr?Na.dr.Uf():null,Na.Fb?Na.Fb.Uf():null,Na.oa?Na.oa.Uf():null])}).then(function(){Na.removeEventListener(hb.Kh.jla);ua.$q();return ua.eg()})}return Promise.resolve()};hb.prototype.yUa=function(){return Object(la.b)(this,void 0,Promise,function(){var Na,ua;return Object(la.d)(this,function(Ea){switch(Ea.label){case 0:return[4,this.Bs()];case 1:return Ea.aa(),this.$q(),this.E_&&x.a.removeEventListener(Ia.f.SEARCH_AND_REPLACE_STARTED,
373
- this.E_),this.D_&&x.a.removeEventListener(Ia.f.SEARCH_AND_REPLACE_ENDED,this.D_),Na=document,window.removeEventListener("resize",this.gea),Na.removeEventListener("mousemove",this.K8),Na.removeEventListener("mouseup",this.L8),window.removeEventListener("keyup",this.wI),window.removeEventListener("keydown",this.vI),window.isApryseWebViewerWebComponent&&(Na=this.va().getRootNode()),Na.removeEventListener("visibilitychange",this.E2),Object(b.a)().clearData(this.id),(ua=this.Qk())&&this.Qk().switchOut(this.ag(ta.o.EDIT)),
374
- Object(ba.i)(),[2]}})})};hb.prototype.Md=function(Na){var ua=this.ca.Yc(Na);return 90===ua||270===ua?this.ca.Yd(Na):this.ca.Md(Na)};hb.prototype.Yd=function(Na){var ua=this.ca.Yc(Na);return 90===ua||270===ua?this.ca.Md(Na):this.ca.Yd(Na)};hb.prototype.Oc=function(Na){return this.ca.Oc(Na)};hb.prototype.ia=function(){return this.ga};hb.prototype.Xc=function(){return this.ph};hb.prototype.Q9=function(){return this.Fqa};hb.prototype.Caa=function(){return this.kl};hb.prototype.jM=function(){return this.UIa};
375
- hb.prototype.zAa=function(){return this.HS};hb.prototype.Xf=function(){return this.oua};hb.prototype.KPa=function(Na){this.Gra=Na};hb.prototype.AAa=function(Na){return Object.assign({kX:Na},this.Gra)};hb.prototype.Kya=function(){this.yN=!0};hb.prototype.Bwa=function(){this.yN=!1};hb.prototype.LQa=function(){};hb.prototype.ARa=function(Na){this.Eea=Na};hb.prototype.X_=function(Na){return Object(la.b)(this,void 0,Promise,function(){var ua,Ea;return Object(la.d)(this,function(Ra){switch(Ra.label){case 0:return this.oF?
376
- (Object(ja.i)("\n Internal annotations are being loading at this moment, please call setDocumentXFDFRetriever before loading the document. For example:\n\n instance.Core.documentViewer.setDocumentXFDFRetriever(async (documentId) => {\n const documentXFDFString = await fetchDocumentXFDFFromServer(documentId);\n return documentXFDFString;\n });\n instance.loadDocument(...);\n "),[2]):"function"!==typeof Na?(this.tia(function(Va,fb,gb){gb(Va)}),[2]):
377
- this.zL?[3,2]:[4,r.e(4).then(r.bind(null,640))];case 1:ua=Ra.aa().default,this.zL=new ua(this),Ra.label=2;case 2:return Ea=this.zL,Ea.X_(Na),this.tia(Ea.nEa()),[2]}})})};hb.prototype.tia=function(Na){this.vka=Na};hb.prototype.zRa=function(Na){this.Bea=Na};hb.prototype.l7=function(){if(this.Bea){var Na=this.Tca,ua=this.za.Ce(0,0);Na=Object(ma.difference)(ua,Na);for(var Ea=0;Ea<Na.length;++Ea)this.Bea(Na[Ea]);this.Tca=ua}};hb.prototype.Nc=function(){return this.za};hb.prototype.W$=function(Na,ua,Ea,
378
- Ra,Va){var fb=this.getDocument(),gb=fb.og(ua,Ea,Ra);return this.QBa(ua,Va).then(function($a){return $a.snapToNearest(gb.x,gb.y,Na)}).then(function($a){return fb.ko(ua,$a.x,$a.y)}).catch(function($a){console.warn($a)})};hb.prototype.XFa=function(){var Na=this;this.FP||(this.FP=new Promise(function(ua){Na.trigger(hb.Events.BEFORE_SNAP_MODE_INITIALIZED);Na.mH(1,2,2,Na.ida).then(function(){ua(!0);Na.trigger(hb.Events.SNAP_MODE_INITIALIZED)})}));return this.FP};hb.prototype.mH=function(Na,ua,Ea,Ra){return Object(la.b)(this,
379
- void 0,Promise,function(){function Va(Jb){if(fb)throw Jb&&Jb.destroy(),this.removeEventListener(hb.Events.DOCUMENT_UNLOADED,gb),Error("snapToNearest is cancelled because the document got closed.");}var fb,gb,$a,jb,sb,wb,Ab,lb,yb,Cb,Gb=this;return Object(la.d)(this,function(Jb){switch(Jb.label){case 0:return Object(ea.o)()?[4,this.t6]:(Object(ja.i)("snapToNearest requires the full API to be enabled. Please set the fullAPI option to true in your WebViewer constructor."),[2,Promise.resolve()]);case 1:Jb.aa();
380
- fb=!1;gb=function(){fb=!0};this.addEventListener(hb.Events.DOCUMENT_UNLOADED,gb,{once:!0});$a=($a=Object(ma.isArray)(Ra)?Ra.reduce(function(Nb,Rb){return Nb|Rb},0):Ra)||nb.Core.PDFNet.GeometryCollection.SnappingMode.e_DefaultSnapMode;if($a>this.ida||1>$a)return[2];jb=[];sb=[];if(!this.OY.includes($a)){for(wb=Object(la.f)([],this.OY,!0);0<wb.length;)Ab=wb.pop(),($a^Ab)<$a&&sb.push(Ab);jb=sb.map(function(Nb){var Rb=Object.keys(ta.k).find(function(Yb){return ta.k[Yb]===Nb});return Gb.W$(Nb,Na,ua,Ea,
381
- Va).then(function(Yb){return Object(la.a)(Object(la.a)({},Yb),{modeName:Rb,mode:Nb})})})}lb=Object.keys(ta.k).find(function(Nb){return ta.k[Nb]===$a});jb.push(this.W$($a,Na,ua,Ea,Va).then(function(Nb){return Object(la.a)(Object(la.a)({},Nb),{modeName:lb,mode:$a})}));yb=this.ga.pW().radiusThreshold;Cb=this.Pb(Na);return[2,Promise.all(jb).then(function(Nb){Gb.removeEventListener(hb.Events.DOCUMENT_UNLOADED,gb);if(1===Nb.length&&Nb[0].mode!==ta.k.DEFAULT)return Nb[0];var Rb=Nb.pop();if(1<sb.length&&
382
- sb[sb.length-1]===ta.k.POINT_ON_LINE){for(var Yb=Math.pow(yb/Cb,2),Ub=null,$b=0;$b<Nb.length;$b++){var bc=Math.pow(Math.abs(ua-Nb[$b].x),2)+Math.pow(Math.abs(Ea-Nb[$b].y),2);bc<Yb&&Nb[$b].mode!==ta.k.POINT_ON_LINE&&(Yb=bc,Ub=Nb[$b])}if(Ub)return Ub}return Nb.find(function(qc){return qc.x===Rb.x&&qc.y===Rb.y})})]}})})};hb.prototype.QBa=function(Na,ua){return Object(la.b)(this,void 0,void 0,function(){var Ea;return Object(la.d)(this,function(){if(this.$p[Na])return[2,this.$p[Na]];Ea=this;this.$p[Na]=
383
- nb.Core.PDFNet.initialize().then(function(){return Object(la.b)(this,void 0,void 0,function(){var Ra,Va;return Object(la.d)(this,function(fb){switch(fb.label){case 0:return ua(),[4,Ea.getDocument().kf()];case 1:return Ra=fb.aa(),[4,Ea.getDocument().Po(Na)];case 2:return fb.aa(),ua(),Va=function(){return Ra.getGeometryCollectionForPage(Na).then(function(gb){ua(gb);return gb})},[2,nb.Core.PDFNet.runWithoutCleanup(Va)]}})})});Ea.ora(Na);return[2,this.$p[Na]]})})};hb.prototype.ora=function(Na){this.jV.push(Na);
384
- this.jV.length>this.Dla&&(Na=this.jV.shift(),this.$p[Na].then(function(ua){ua.destroy()}),delete this.$p[Na])};hb.prototype.uya=function(){this.$Q=!0};hb.prototype.jwa=function(){this.$Q=!1};hb.prototype.cK=function(){return this.Jj()&&this.getDocument().Zf().Za().yo()?!1:this.$Q};hb.prototype.Gb=function(){return this.Bx.Gb()};hb.prototype.iM=function(){return this.margin};hb.prototype.kW=function(){var Na=this.margin*this.Gb();return Math.round(1<Na?Na:1)};hb.prototype.WQa=function(Na){this.margin=
385
- Na};hb.prototype.HE=function(Na){return Na?this.oa.SCa(Na-1):this.oa.HE()};hb.prototype.IE=function(Na){return Na?this.oa.TCa(Na-1):this.oa.IE()};hb.prototype.gSa=function(Na){this.lja=Na};hb.prototype.NRa=function(Na){void 0===Na&&(Na={});this.G_=Na.searchResult||this.G_;this.uS=Na.activeSearchResult||this.uS};hb.prototype.Qk=function(){return this.Nb};hb.prototype.ME=function(){return this.Y0};hb.prototype.ag=function(Na){return this.Y0[Na]};hb.prototype.GOa=function(){Object.values(this.Y0).forEach(function(Na){return Na.reset()})};
363
+ Va.length))return[3,4];fb=Va[Ra];return[5,ua(fb)];case 2:gb=jb.aa();if("object"===typeof gb)return[2,gb.value];jb.label=3;case 3:return Ra++,[3,1];case 4:return[2]}})})};hb.prototype.Sba=function(){return this.Jj()?!1:this.GR};hb.prototype.Aya=function(){this.Jj()?Object(ja.i)("Office Editor doesn't support automatic linking"):this.GR=!0};hb.prototype.pwa=function(){this.GR=!1};hb.prototype.rIa=function(){return Object(la.b)(this,void 0,void 0,function(){var Na,ua=this;return Object(la.d)(this,function(){Na=
364
+ function(){return!ua.ca&&!Object(ma.isUndefined)(ua.bz)};return Na()?[2]:[2,r.e(20).then(r.bind(null,638)).then(function(Ea){return Object(la.b)(ua,void 0,void 0,function(){return Object(la.d)(this,function(Ra){switch(Ra.label){case 0:return Na()?[2]:[4,this.Bs()];case 1:return Ra.aa(),[2,this.Yk(Ea.default,{enableOfficeEditing:!0,filename:"Untitled.docx"})]}})})})]})})};hb.prototype.sIa=function(){return Object(la.b)(this,void 0,void 0,function(){var Na=this;return Object(la.d)(this,function(ua){switch(ua.label){case 0:return this.ca||
365
+ Object(ma.isUndefined)(this.bz)?[4,this.Bs()]:[2];case 1:return ua.aa(),[2,r.e(21).then(r.bind(null,639)).then(function(Ea){Ea=atob(Ea.default);for(var Ra=Array(Ea.length),Va=0;Va<Ea.length;Va++)Ra[Va]=Ea.charCodeAt(Va);Ea=new Uint8Array(Ra);return Na.Yk(new Blob([Ea],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),{enableOfficeEditing:!0,filename:"Untitled.xlsx"})})]}})})};hb.prototype.Yk=function(Na,ua){return Object(la.b)(this,void 0,void 0,function(){return Object(la.d)(this,
366
+ function(Ea){switch(Ea.label){case 0:return this.m8?[4,this.m8(Na,ua,this.$ca.bind(this))]:[3,2];case 1:return Ea.aa(),[3,4];case 2:return[4,this.$ca(Na,ua)];case 3:Ea.aa(),Ea.label=4;case 4:return[2]}})})};hb.prototype.kQa=function(Na){this.m8=Na};hb.prototype.aZ=function(Na,ua){this.bZ?Object(ab.a)(Na)?this.bZ(Na,ua):this.bZ("https://".concat(Na),ua):Object(bb.a)(Na,ua)};hb.prototype.sRa=function(Na){this.bZ=Na};hb.prototype.UFa=function(Na){var ua=this;void 0===Na&&(Na=!0);var Ea=this.ca.Jf;this.Nj=
367
+ Array(Ea);this.LA=Array(Ea);this.oF=!Na;Na&&(Ea=this.ca.bu(),this.Nj.fill(Ea?!1:!0),this.LA.fill(!1),Object(ja.b)("Will request annotations ".concat(Ea)),Ea&&this.MK(0));this.oa=new Da.a(this.ca);this.defaults.FitMode===this.cn.Zoom&&this.oa.Wt(this.defaults.Zoom);this.ca.addEventListener(z.a.Events.BOOKMARKS_UPDATED,function(){ua.trigger(hb.Kh.Vka)});this.ca.addEventListener(z.a.Events.EMBEDDED_THUMBNAIL_COMPLETE,function(Va){ua.trigger(Ia.i.EMBEDDED_THUMBNAIL_COMPLETE,Va)});this.ca.addEventListener(La.a.Events.OFFICE_ANNOTATIONS_UPDATED,
368
+ function(Va){ua.ga.qk(Va,!0);ua.ga.Df(Va)});this.ca.addEventListener(La.a.Events.OFFICE_XFDF_ANNOTATIONS_UPDATED,function(Va){for(var fb=0;fb<Va.length;fb++)ua.ga.$E(Va[fb])});this.oa.addEventListener(Da.a.Events.PAGES_UPDATED,this.rKa.bind(this));this.oa.addEventListener(Da.a.Events.PAGE_IDS_CHANGED,this.mKa.bind(this));this.oa.addEventListener(Da.a.Events.ZOOM_CHANGED,function(Va){ua.C1=ua.Fb.bj;ua.Fb.u1(Va)});this.ga.a_(this.oa);this.HS.a_(this.oa);this.trigger(hb.Events.BEFORE_DOCUMENT_LOADED);
369
+ (Ea=this.ca.getType())&&Ea===pa.a.PDF||this.Fb.PRa();this.Fb.init();this.za.kS(this.za.md());this.PU||(this.PU=!0,this.vsa());if(this.za.md().mode!==a.a.mp){this.oa.Wt(this.MJ(this.Bk));this.Lm();this.za.aj();this.za.Yg();this.sf();Ea=this.nb();var Ra=(Ea.scrollWidth+this.rM()-Ea.clientWidth)/2;Object(wa.i)(Ea,Ra)}this.t6=Na?new Promise(function(Va){ua.removeEventListener(hb.Kh.ZH).addEventListener(hb.Kh.ZH,function(){ua.Ira=!0;Va()})}):Promise.resolve();Object(tb.f)(this.va().getRootNode());this.trigger(hb.Events.DOCUMENT_LOADED);
370
+ 1.2>=this.ca.ca.Ym&&this.trigger(hb.Kh.sQ)};hb.prototype.pF=function(Na){return Na===this.bz};hb.prototype.wz=function(){return this.t6};hb.prototype.ox=function(Na){if(this.za.md().mode!==a.a.mp){var ua=this.nb();ua&&(ua.style["touch-action"]=Na)}};hb.prototype.nb=function(){this.Wga||this.fia(document.getElementById("DocumentViewer"));return this.Wga};hb.prototype.fia=function(Na){this.Wga=Na};hb.prototype.va=function(){this.zg||this.qia(document.getElementById("viewer"));return this.zg};hb.prototype.qia=
371
+ function(Na){var ua=this.zg&&Na&&this.zg!==Na&&this.ca;this.zg=Na;this.PU&&this.zg&&this.I6();ua&&this.KNa()};hb.prototype.rM=function(){var Na=document.createElement("div");Object(wa.b)(Na,{width:50,height:50,overflow:"hidden",position:"absolute",top:-200,left:-200});var ua=document.createElement("div");ua.style.height="100px";Na.appendChild(ua);document.body.appendChild(Na);ua=Na.clientWidth;Na.style["overflow-y"]="auto";var Ea=Na.clientWidth;document.body.removeChild(Na);return ua-Ea};hb.prototype.Uf=
372
+ function(){var Na=this;if(this.ca){var ua=this.ca;clearTimeout(this.aK);return this.ga.Uf().then(function(){return Promise.all([Na.r6,Na.zL?Na.zL.Uf():null,Na.dr?Na.dr.Uf():null,Na.Fb?Na.Fb.Uf():null,Na.oa?Na.oa.Uf():null])}).then(function(){Na.removeEventListener(hb.Kh.jla);ua.$q();return ua.eg()})}return Promise.resolve()};hb.prototype.yUa=function(){return Object(la.b)(this,void 0,Promise,function(){var Na,ua;return Object(la.d)(this,function(Ea){switch(Ea.label){case 0:return[4,this.Bs()];case 1:return Ea.aa(),
373
+ this.$q(),this.E_&&x.a.removeEventListener(Ia.f.SEARCH_AND_REPLACE_STARTED,this.E_),this.D_&&x.a.removeEventListener(Ia.f.SEARCH_AND_REPLACE_ENDED,this.D_),Na=document,window.removeEventListener("resize",this.gea),Na.removeEventListener("mousemove",this.K8),Na.removeEventListener("mouseup",this.L8),window.removeEventListener("keyup",this.wI),window.removeEventListener("keydown",this.vI),window.isApryseWebViewerWebComponent&&(Na=this.va().getRootNode()),Na.removeEventListener("visibilitychange",this.E2),
374
+ Object(b.a)().clearData(this.id),(ua=this.Qk())&&this.Qk().switchOut(this.ag(ta.o.EDIT)),Object(ba.i)(),[2]}})})};hb.prototype.Md=function(Na){var ua=this.ca.Yc(Na);return 90===ua||270===ua?this.ca.Yd(Na):this.ca.Md(Na)};hb.prototype.Yd=function(Na){var ua=this.ca.Yc(Na);return 90===ua||270===ua?this.ca.Md(Na):this.ca.Yd(Na)};hb.prototype.Oc=function(Na){return this.ca.Oc(Na)};hb.prototype.ia=function(){return this.ga};hb.prototype.Xc=function(){return this.ph};hb.prototype.Q9=function(){return this.Fqa};
375
+ hb.prototype.Caa=function(){return this.kl};hb.prototype.jM=function(){return this.UIa};hb.prototype.zAa=function(){return this.HS};hb.prototype.Xf=function(){return this.oua};hb.prototype.KPa=function(Na){this.Gra=Na};hb.prototype.AAa=function(Na){return Object.assign({kX:Na},this.Gra)};hb.prototype.Kya=function(){this.yN=!0};hb.prototype.Bwa=function(){this.yN=!1};hb.prototype.LQa=function(){};hb.prototype.ARa=function(Na){this.Eea=Na};hb.prototype.X_=function(Na){return Object(la.b)(this,void 0,
376
+ Promise,function(){var ua,Ea;return Object(la.d)(this,function(Ra){switch(Ra.label){case 0:return this.oF?(Object(ja.i)("\n Internal annotations are being loading at this moment, please call setDocumentXFDFRetriever before loading the document. For example:\n\n instance.Core.documentViewer.setDocumentXFDFRetriever(async (documentId) => {\n const documentXFDFString = await fetchDocumentXFDFFromServer(documentId);\n return documentXFDFString;\n });\n instance.loadDocument(...);\n "),
377
+ [2]):"function"!==typeof Na?(this.tia(function(Va,fb,gb){gb(Va)}),[2]):this.zL?[3,2]:[4,r.e(4).then(r.bind(null,640))];case 1:ua=Ra.aa().default,this.zL=new ua(this),Ra.label=2;case 2:return Ea=this.zL,Ea.X_(Na),this.tia(Ea.nEa()),[2]}})})};hb.prototype.tia=function(Na){this.vka=Na};hb.prototype.zRa=function(Na){this.Bea=Na};hb.prototype.l7=function(){if(this.Bea){var Na=this.Tca,ua=this.za.Ce(0,0);Na=Object(ma.difference)(ua,Na);for(var Ea=0;Ea<Na.length;++Ea)this.Bea(Na[Ea]);this.Tca=ua}};hb.prototype.Nc=
378
+ function(){return this.za};hb.prototype.W$=function(Na,ua,Ea,Ra,Va){var fb=this.getDocument(),gb=fb.og(ua,Ea,Ra);return this.QBa(ua,Va).then(function($a){return $a.snapToNearest(gb.x,gb.y,Na)}).then(function($a){return fb.ko(ua,$a.x,$a.y)}).catch(function($a){console.warn($a)})};hb.prototype.XFa=function(){var Na=this;this.FP||(this.FP=new Promise(function(ua){Na.trigger(hb.Events.BEFORE_SNAP_MODE_INITIALIZED);Na.mH(1,2,2,Na.ida).then(function(){ua(!0);Na.trigger(hb.Events.SNAP_MODE_INITIALIZED)})}));
379
+ return this.FP};hb.prototype.mH=function(Na,ua,Ea,Ra){return Object(la.b)(this,void 0,Promise,function(){function Va(Jb){if(fb)throw Jb&&Jb.destroy(),this.removeEventListener(hb.Events.DOCUMENT_UNLOADED,gb),Error("snapToNearest is cancelled because the document got closed.");}var fb,gb,$a,jb,sb,wb,Ab,lb,yb,Cb,Gb=this;return Object(la.d)(this,function(Jb){switch(Jb.label){case 0:return Object(ea.o)()?[4,this.t6]:(Object(ja.i)("snapToNearest requires the full API to be enabled. Please set the fullAPI option to true in your WebViewer constructor."),
380
+ [2,Promise.resolve()]);case 1:Jb.aa();fb=!1;gb=function(){fb=!0};this.addEventListener(hb.Events.DOCUMENT_UNLOADED,gb,{once:!0});$a=($a=Object(ma.isArray)(Ra)?Ra.reduce(function(Nb,Rb){return Nb|Rb},0):Ra)||nb.Core.PDFNet.GeometryCollection.SnappingMode.e_DefaultSnapMode;if($a>this.ida||1>$a)return[2];jb=[];sb=[];if(!this.OY.includes($a)){for(wb=Object(la.f)([],this.OY,!0);0<wb.length;)Ab=wb.pop(),($a^Ab)<$a&&sb.push(Ab);jb=sb.map(function(Nb){var Rb=Object.keys(ta.k).find(function(Yb){return ta.k[Yb]===
381
+ Nb});return Gb.W$(Nb,Na,ua,Ea,Va).then(function(Yb){return Object(la.a)(Object(la.a)({},Yb),{modeName:Rb,mode:Nb})})})}lb=Object.keys(ta.k).find(function(Nb){return ta.k[Nb]===$a});jb.push(this.W$($a,Na,ua,Ea,Va).then(function(Nb){return Object(la.a)(Object(la.a)({},Nb),{modeName:lb,mode:$a})}));yb=this.ga.pW().radiusThreshold;Cb=this.Pb(Na);return[2,Promise.all(jb).then(function(Nb){Gb.removeEventListener(hb.Events.DOCUMENT_UNLOADED,gb);if(1===Nb.length&&Nb[0].mode!==ta.k.DEFAULT)return Nb[0];var Rb=
382
+ Nb.pop();if(1<sb.length&&sb[sb.length-1]===ta.k.POINT_ON_LINE){for(var Yb=Math.pow(yb/Cb,2),Ub=null,$b=0;$b<Nb.length;$b++){var bc=Math.pow(Math.abs(ua-Nb[$b].x),2)+Math.pow(Math.abs(Ea-Nb[$b].y),2);bc<Yb&&Nb[$b].mode!==ta.k.POINT_ON_LINE&&(Yb=bc,Ub=Nb[$b])}if(Ub)return Ub}return Nb.find(function(qc){return qc.x===Rb.x&&qc.y===Rb.y})})]}})})};hb.prototype.QBa=function(Na,ua){return Object(la.b)(this,void 0,void 0,function(){var Ea;return Object(la.d)(this,function(){if(this.$p[Na])return[2,this.$p[Na]];
383
+ Ea=this;this.$p[Na]=nb.Core.PDFNet.initialize().then(function(){return Object(la.b)(this,void 0,void 0,function(){var Ra,Va;return Object(la.d)(this,function(fb){switch(fb.label){case 0:return ua(),[4,Ea.getDocument().kf()];case 1:return Ra=fb.aa(),[4,Ea.getDocument().Po(Na)];case 2:return fb.aa(),ua(),Va=function(){return Ra.getGeometryCollectionForPage(Na).then(function(gb){ua(gb);return gb})},[2,nb.Core.PDFNet.runWithoutCleanup(Va)]}})})});Ea.ora(Na);return[2,this.$p[Na]]})})};hb.prototype.ora=
384
+ function(Na){this.jV.push(Na);this.jV.length>this.Dla&&(Na=this.jV.shift(),this.$p[Na].then(function(ua){ua.destroy()}),delete this.$p[Na])};hb.prototype.uya=function(){this.$Q=!0};hb.prototype.jwa=function(){this.$Q=!1};hb.prototype.cK=function(){return this.Jj()&&this.getDocument().Zf().Za().yo()?!1:this.$Q};hb.prototype.Gb=function(){return this.Bx.Gb()};hb.prototype.iM=function(){return this.margin};hb.prototype.kW=function(){var Na=this.margin*this.Gb();return Math.round(1<Na?Na:1)};hb.prototype.WQa=
385
+ function(Na){this.margin=Na};hb.prototype.HE=function(Na){return Na?this.oa.SCa(Na-1):this.oa.HE()};hb.prototype.IE=function(Na){return Na?this.oa.TCa(Na-1):this.oa.IE()};hb.prototype.gSa=function(Na){this.lja=Na};hb.prototype.NRa=function(Na){void 0===Na&&(Na={});this.G_=Na.searchResult||this.G_;this.uS=Na.activeSearchResult||this.uS};hb.prototype.Qk=function(){return this.Nb};hb.prototype.ME=function(){return this.Y0};hb.prototype.ag=function(Na){return this.Y0[Na]};hb.prototype.GOa=function(){Object.values(this.Y0).forEach(function(Na){return Na.reset()})};
386
386
  hb.prototype.f9=function(){this.K0=!0};hb.prototype.Kwa=function(){this.K0=!1};hb.prototype.IU=function(){this.readOnly=!0;this.trigger(hb.Events.READ_ONLY_MODE_CHANGED,this.readOnly)};hb.prototype.pU=function(){this.readOnly=!1;this.trigger(hb.Events.READ_ONLY_MODE_CHANGED,this.readOnly)};hb.prototype.zca=function(){return this.K0};hb.prototype.lf=function(Na){return Object(ma.isUndefined)(Na)?this.oa.gw:this.oa.wh(Na-1).rotation};hb.prototype.tc=function(Na){var ua=this.lf(Na);if(Object(ma.isUndefined)(Na))throw Error("Please pass the page number as the first parameter");
387
387
  Na=this.fq(Na)/90;return(ua+Na)%4};hb.prototype.aH=function(Na,ua){0<=Na&&3>=Na&&(Object(ma.isUndefined)(ua)?(this.oa.d0(Na),this.oa.Dta()):this.oa.YG(ua-1,Na),this.rotate(ua))};hb.prototype.fq=function(Na){return!this.ca||1>Na||Object(ma.isNaN)(Na)||Na>this.yb()||!this.ca.Yc?0:this.ca.Yc(Na)};hb.prototype.vRa=function(Na){var ua=this;Object.keys(Na).forEach(function(Ea){ua.oa.YG(parseInt(Ea,10)-1,Na[Ea])});this.Bx.dh(this.Bk(),void 0,void 0,!0)};hb.prototype.RCa=function(){return this.oa.aCa()};
388
388
  hb.prototype.getDocument=function(){return this.ca};hb.prototype.Rz=function(Na,ua){void 0===ua&&(ua=!1);var Ea=null;this.Fb.bj&&(Ea=this.za,Ea=Ea.ot(Na,Ea.yM(ua?0:this.Fb.jh,ua?0:this.Fb.jh)));return Ea};hb.prototype.vEa=function(Na){var ua=null;if(Na=this.Rz(Na))ua=Na.Bd;return ua};hb.prototype.FBa=function(Na){var ua=null;if(Na=this.Rz(Na,!0))ua=Na.Bd;return ua};hb.prototype.yP=function(Na,ua){var Ea=this.ca.$a(Na),Ra=this.Pb(Na),Va=this.za.Kz(Na),fb=this.Rz(Na);if(fb){var gb=fb.Bd;Va=fb.IH}fb=
@@ -2423,7 +2423,7 @@ message:ja.message};ca&&Object.keys(ca).forEach(function(y){ca.hasOwnProperty(y)
2423
2423
  this.postMessage({action:"actionCancel",data:{callbackId:ja}})}else Object(la.c)("Cannot cancel callback ".concat(ja))};ma.prototype.postMessage=function(ja){"officeeditor"!==this.name&&Object(na.a)("enableWorkerLogs")&&Object(la.g)("PDFWorker","".concat(performance.now()," Sent ").concat(JSON.stringify(ja)));if(this.Lo){var ia=this.mEa(ja);this.Mp.postMessage(ja,ia)}else this.Mp.postMessage(ja)};ma.prototype.$$=function(ja,ia){var ca=this;null!==ja&&"object"===typeof ja&&(ja instanceof Uint8Array?
2424
2424
  ia.push(ja.buffer):ja instanceof ArrayBuffer?ia.push(ja):Object.keys(ja).forEach(function(y){ja.hasOwnProperty(y)&&ca.$$(ja[y],ia)}))};ma.prototype.mEa=function(ja){var ia=[];this.$$(ja,ia);return 0===ia.length?void 0:ia};ma.prototype.hw=function(ja){var ia=this,ca=ja.data;"officeeditor"!==this.name&&Object(na.a)("enableWorkerLogs")&&Object(la.g)("PDFWorker","".concat(performance.now()," Received ").concat(JSON.stringify(ca)));var y=this.Ap,x=this.Jqa;ja=this.wk;var n=this.pdfnetActiveCommands;if(ca.isReply)y=
2425
2425
  ca.callbackId,y in ja?(x=ja[y],delete ja[y],n.has(y)&&n.delete(y),"error"in ca?x.reject(ca.error):x.resolve(ca.data)):Object(la.b)("Cannot resolve callback ".concat(y));else if(ca.action in y){var h=y[ca.action];ca.callbackId?Promise.resolve().then(function(){return h[0].call(h[1],ca.data)}).then(function(b){ia.postMessage({isReply:!0,callbackId:ca.callbackId,data:b})},function(b){ia.ZO(b,ca.callbackId)}):h[0].call(h[1],ca.data)}else ca.action in x?(h=x[ca.action],ca.callbackId?h[0].call(h[1],ca).then(function(b){ia.postMessage({isReply:!0,
2426
- callbackId:ca.callbackId,data:b});ia.HN()},function(b){ia.ZO(b,ca.callbackId);ia.HN()}):h[0].call(h[1],ca).then(function(){ia.HN()},function(){ia.HN()})):Object(la.f)("Unknown action from worker: ".concat(ca.action))};return ma}();va.a=ya},function(ya,va,r){function la(){return"NS8xNC8yMDI1fGY5MjBkYjBkMA=="}function na(){return"11.5.0"}r.d(va,"b",function(){return na});r.d(va,"a",function(){return la})},function(ya,va){va.a=function(){return function(r,la,na,ma,ja,ia){this.rR=r;this.gJ=la;this.fJ=
2426
+ callbackId:ca.callbackId,data:b});ia.HN()},function(b){ia.ZO(b,ca.callbackId);ia.HN()}):h[0].call(h[1],ca).then(function(){ia.HN()},function(){ia.HN()})):Object(la.f)("Unknown action from worker: ".concat(ca.action))};return ma}();va.a=ya},function(ya,va,r){function la(){return"NS8xNS8yMDI1fDkzMDA1YTUxYg=="}function na(){return"11.5.0"}r.d(va,"b",function(){return na});r.d(va,"a",function(){return la})},function(ya,va){va.a=function(){return function(r,la,na,ma,ja,ia){this.rR=r;this.gJ=la;this.fJ=
2427
2427
  na;this.ZQ=ma;this.KJ=ja;this.JJ=ia;this.rR=r;this.gJ=la||0;this.fJ=na||0;this.ZQ=ma;this.KJ=ja||0;this.JJ=ia||0}}()},function(ya,va,r){r.d(va,"a",function(){return la});var la=RegExp("[-[\\]{}()*+?.,\\\\^$|#\\s]","g");va.b=function(){return function(na,ma){this.pca=ma&&("r"===ma||"w"===ma);this.text=(ma&&"w"===ma?na.replace(/(\*+|.|\n)/g,function(ja){if("*"===ja.charAt(0)){if(1===ja.length)return".*?";var ia=ja.length/2|0;return 1===((ja.length|0)&1)?"".concat("*".repeat(ia).replace(la,"\\$&"),".*?"):
2428
2428
  "*".repeat(ia).replace(la,"\\$&")}return ja.replace(la,"\\$&")}):na).replaceAll("\n"," ")}}()},function(ya,va,r){var la=r(0),na=r(17),ma=r(42),ja=r(315);ya=r(53);r=function(){function ia(ca,y,x,n,h){void 0===x&&(x=!1);this.id=ca;this.Apa=y;this.Bpa=x;this.transport=n;this.Hs=h;this.isValid=!1;this.listeners=[];this.MB=window.createPromiseCapability()}ia.create=function(ca,y){return Object(la.b)(this,arguments,Promise,function(x,n,h,b){var f,e;void 0===h&&(h=!1);void 0===b&&(b=!1);return Object(la.d)(this,
2429
2429
  function(a){switch(a.label){case 0:return[4,x.Es()];case 1:f=a.aa();if("id"in f)return e=new ia(f.id,h,b,x,n),e.EM(f),[2,e];throw Error("Cursor ID not found");}})})};ia.prototype.EM=function(ca){if("cmd"in ca)switch(ca.cmd){case "invalidateCursor":this.Kba();break;case "resolveCursor":if("page"in ca&&"stream"in ca&&"paragraph"in ca&&"offset"in ca&&"style"in ca&&"listType"in ca){var y=ca.stream;y=new ma.b(y===na.b.BODY?ca.page:this.Hs.yF,y,ca.paragraph,ca.offset);var x=na.e.$b(ca.style);this.resolve(y,
@@ -3296,124 +3296,124 @@ this.rs(),aa(),this.Bv.resolve(),[2]}})})};f.prototype.loadCanvasAsync=function(
3296
3296
  1];oa=pa.width;ka=pa.height;ha.style.width="".concat(oa*ea(),"px");ha.style.height="".concat(ka*ea(),"px");w(ha);ra=aa();ra===ia.f.E_0?(ha.style.transform=null,ha.style.transformOrigin=null,ha.style.left=null,ha.style.top=null):ra===ia.f.E_90?(ha.style.transform="rotate(90deg)",ha.style.transformOrigin="0 0",ha.style.left="".concat(ka*ea(),"px"),ha.style.top=null):ra===ia.f.E_180?(ha.style.transform="rotate(180deg)",ha.style.transformOrigin="0 0",ha.style.left="".concat(oa*ea(),"px"),ha.style.top=
3297
3297
  "".concat(ka*ea(),"px")):ra===ia.f.E_270&&(ha.style.transform="rotate(270deg)",ha.style.transformOrigin="0 0",ha.style.left=null,ha.style.top="".concat(oa*ea(),"px"));a(ha,z);return[2,"1"]}})})};f.prototype.unloadResources=function(){var e,a;URL.revokeObjectURL(this.mw);this.bA&&(this.bA.src="",this.bA.remove());null===(e=this.ge)||void 0===e?void 0:e.removeEventListener(h.a.Events.PAGES_UPDATED,this.Fea);null===(a=this.ge)||void 0===a?void 0:a.eg()};return f}(ya.a);va.a=r},function(ya,va,r){function la(ia){if(!ia)return!1;
3298
3298
  var ca=ia.replace(/\r?\n|\r/g,"").toLocaleLowerCase();ia=0===ca.indexOf("javascript:");var y=0===ca.indexOf("data:");return ia||y?!1:["http://","https://","ftp://","mailto:","tel:"].some(function(x){return 0===ca.indexOf(x)})}function na(ia){try{var ca=ia.startsWith("www.")?new URL("https://".concat(ia)):new URL(ia)}catch(y){return!1}if(!ca)return!1;switch(ca.protocol){case "http:":case "https:":case "ftp:":case "mailto:":case "tel:":return!0;default:return!1}}function ma(ia){return ja.g?la(ia):na(ia)}
3299
- r.d(va,"a",function(){return ma});var ja=r(30)},function(ya,va,r){function la(na,ma){na=na.trim();-1===na.indexOf("://")&&(na=-1!==na.indexOf("@")?"mailto:".concat(na):"http://".concat(na));if(ma){if(ma=window.open(na))ma.opener=null}else window.location=na}r.d(va,"a",function(){return la})},function(ya,va){var r;ya=r||(r={});ya[ya.GENERAL=0]="GENERAL";ya[ya.LEFT=1]="LEFT";ya[ya.CENTER=2]="CENTER";ya[ya.RIGHT=3]="RIGHT";va.a=r},function(ya,va){var r;ya=r||(r={});ya[ya.NONE=0]="NONE";ya[ya.TOP=1]=
3300
- "TOP";ya[ya.CENTER=2]="CENTER";ya[ya.BOTTOM=3]="BOTTOM";va.a=r},function(ya,va){var r;ya=r||(r={});ya[ya.UTO=0]="UTO";ya[ya.OVERFLOW=1]="OVERFLOW";ya[ya.WRAP=2]="WRAP";ya[ya.CLIP=3]="CLIP";va.a=r},function(ya,va){va.a=function(){return function(r,la){this.ltEvent=r;this.ltSpreadsheetEditor=la}}()},function(ya,va){(function na(la){function ma(ea){var ba={},fa;for(fa in ea)if(ea.hasOwnProperty(fa)){var ha=ea[fa];ba[fa]="object"===typeof ha&&null!==ha?ma(ha):ha}return ba}function ja(ea,ba){var fa;var ha=
3301
- ea.length;for(fa=0;ha;){var pa=ha>>>1;var oa=fa+pa;ba(ea[oa])?ha=pa:(fa=oa+1,ha-=pa+1)}return fa}function ia(ea,ba){this.parent=ea;this.key=ba}function ca(ea,ba,fa,ha){this.node=ea;this.path=ba;this.wrap=fa;this.ref=ha}function y(){}function x(ea){return null==ea?!1:"object"===typeof ea&&"string"===typeof ea.type}function n(ea,ba){for(var fa=ea.length-1;0<=fa;--fa)if(ea[fa].node===ba)return!0;return!1}function h(ea,ba){return(new y).traverse(ea,ba)}function b(ea,ba){var fa=ja(ba,function(ha){return ha.range[0]>
3302
- ea.range[0]});ea.extendedRange=[ea.range[0],ea.range[1]];fa!==ba.length&&(ea.extendedRange[1]=ba[fa].range[0]);--fa;0<=fa&&(ea.extendedRange[0]=ba[fa].range[1]);return ea}var f={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",
3303
- CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",
3304
- ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",
3305
- ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",
3306
- Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",
3307
- UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};var e={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],
3308
- CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],
3309
- ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],
3310
- ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key",
3311
- "value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],
3312
- VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};var a={};var w={};var z={};var aa={Break:a,Skip:w,Remove:z};ia.prototype.replace=function(ea){this.parent[this.key]=ea};ia.prototype.remove=function(){if(Array.isArray(this.parent))return this.parent.splice(this.key,1),!0;this.replace(null);return!1};y.prototype.path=function(){function ea(ra,qa){if(Array.isArray(qa))for(fa=0,ha=qa.length;fa<ha;++fa)ra.push(qa[fa]);else ra.push(qa)}
3313
- var ba,fa,ha;if(!this.__current.path)return null;var pa=[];var oa=2;for(ba=this.__leavelist.length;oa<ba;++oa){var ka=this.__leavelist[oa];ea(pa,ka.path)}ea(pa,this.__current.path);return pa};y.prototype.type=function(){return this.current().type||this.__current.wrap};y.prototype.parents=function(){var ea;var ba=[];var fa=1;for(ea=this.__leavelist.length;fa<ea;++fa)ba.push(this.__leavelist[fa].node);return ba};y.prototype.current=function(){return this.__current.node};y.prototype.__execute=function(ea,
3314
- ba){var fa=void 0;var ha=this.__current;this.__current=ba;this.__state=null;ea&&(fa=ea.call(this,ba.node,this.__leavelist[this.__leavelist.length-1].node));this.__current=ha;return fa};y.prototype.notify=function(ea){this.__state=ea};y.prototype.skip=function(){this.notify(w)};y.prototype["break"]=function(){this.notify(a)};y.prototype.remove=function(){this.notify(z)};y.prototype.__initialize=function(ea,ba){this.visitor=ba;this.root=ea;this.__worklist=[];this.__leavelist=[];this.__fallback=this.__state=
3315
- this.__current=null;"iteration"===ba.fallback?this.__fallback=Object.keys:"function"===typeof ba.fallback&&(this.__fallback=ba.fallback);this.__keys=e;ba.keys&&(this.__keys=Object.assign(Object.create(this.__keys),ba.keys))};y.prototype.traverse=function(ea,ba){var fa,ha,pa;this.__initialize(ea,ba);var oa={};var ka=this.__worklist;var ra=this.__leavelist;ka.push(new ca(ea,null,null,null));for(ra.push(new ca(null,null,null,null));ka.length;)if(ea=ka.pop(),ea===oa){ea=ra.pop();var qa=this.__execute(ba.leave,
3316
- ea);if(this.__state===a||qa===a)break}else if(ea.node){qa=this.__execute(ba.enter,ea);if(this.__state===a||qa===a)break;ka.push(oa);ra.push(ea);if(this.__state!==w&&qa!==w){qa=ea.node;var sa=qa.type||ea.wrap;var ta=this.__keys[sa];if(!ta)if(this.__fallback)ta=this.__fallback(qa);else throw Error("Unknown node type "+sa+".");for(fa=ta.length;0<=--fa;){var wa=ta[fa];if(pa=qa[wa])if(Array.isArray(pa))for(ha=pa.length;0<=--ha;){if(pa[ha]&&!n(ra,pa[ha])){if(sa!==f.ObjectExpression&&sa!==f.ObjectPattern||
3317
- "properties"!==ta[fa])if(x(pa[ha]))ea=new ca(pa[ha],[wa,ha],null,null);else continue;else ea=new ca(pa[ha],[wa,ha],"Property",null);ka.push(ea)}}else x(pa)&&!n(ra,pa)&&ka.push(new ca(pa,wa,null,null))}}}};y.prototype.replace=function(ea,ba){function fa(Da){if(Da.ref.remove()){var Fa=Da.ref.key;var Ca=Da.ref.parent;for(Da=ra.length;Da--;){var Ka=ra[Da];if(Ka.ref&&Ka.ref.parent===Ca){if(Ka.ref.key<Fa)break;--Ka.ref.key}}}}var ha,pa,oa;this.__initialize(ea,ba);var ka={};var ra=this.__worklist;var qa=
3318
- this.__leavelist;var sa={root:ea};var ta=new ca(ea,null,null,new ia(sa,"root"));ra.push(ta);for(qa.push(ta);ra.length;)if(ta=ra.pop(),ta===ka){ta=qa.pop();var wa=this.__execute(ba.leave,ta);void 0!==wa&&wa!==a&&wa!==w&&wa!==z&&ta.ref.replace(wa);this.__state!==z&&wa!==z||fa(ta);if(this.__state===a||wa===a)break}else{wa=this.__execute(ba.enter,ta);void 0!==wa&&wa!==a&&wa!==w&&wa!==z&&(ta.ref.replace(wa),ta.node=wa);if(this.__state===z||wa===z)fa(ta),ta.node=null;if(this.__state===a||wa===a)break;if(ea=
3319
- ta.node)if(ra.push(ka),qa.push(ta),this.__state!==w&&wa!==w){wa=ea.type||ta.wrap;var za=this.__keys[wa];if(!za)if(this.__fallback)za=this.__fallback(ea);else throw Error("Unknown node type "+wa+".");for(ha=za.length;0<=--ha;){var Aa=za[ha];if(oa=ea[Aa])if(Array.isArray(oa))for(pa=oa.length;0<=--pa;){if(oa[pa]){if(wa!==f.ObjectExpression&&wa!==f.ObjectPattern||"properties"!==za[ha])if(x(oa[pa]))ta=new ca(oa[pa],[Aa,pa],null,new ia(oa,pa));else continue;else ta=new ca(oa[pa],[Aa,pa],"Property",new ia(oa,
3320
- pa));ra.push(ta)}}else x(oa)&&ra.push(new ca(oa,Aa,null,new ia(ea,Aa)))}}}return sa.root};la.Syntax=f;la.traverse=h;la.replace=function(ea,ba){return(new y).replace(ea,ba)};la.attachComments=function(ea,ba,fa){var ha=[],pa;if(!ea.range)throw Error("attachComments needs range information");if(!fa.length){if(ba.length){var oa=0;for(pa=ba.length;oa<pa;oa+=1)fa=ma(ba[oa]),fa.extendedRange=[0,ea.range[0]],ha.push(fa);ea.leadingComments=ha}return ea}oa=0;for(pa=ba.length;oa<pa;oa+=1)ha.push(b(ma(ba[oa]),
3321
- fa));var ka=0;h(ea,{enter:function(ra){for(var qa;ka<ha.length;){qa=ha[ka];if(qa.extendedRange[1]>ra.range[0])break;qa.extendedRange[1]===ra.range[0]?(ra.leadingComments||(ra.leadingComments=[]),ra.leadingComments.push(qa),ha.splice(ka,1)):ka+=1}if(ka===ha.length)return aa.Break;if(ha[ka].extendedRange[0]>ra.range[1])return aa.Skip}});ka=0;h(ea,{leave:function(ra){for(var qa;ka<ha.length;){qa=ha[ka];if(ra.range[1]<qa.extendedRange[0])break;ra.range[1]===qa.extendedRange[0]?(ra.trailingComments||(ra.trailingComments=
3322
- []),ra.trailingComments.push(qa),ha.splice(ka,1)):ka+=1}if(ka===ha.length)return aa.Break;if(ha[ka].extendedRange[0]>ra.range[1])return aa.Skip}});return ea};la.VisitorKeys=e;la.VisitorOption=aa;la.Controller=y;la.cloneEnvironment=function(){return na({})};return la})(va)},function(ya,va,r){function la(){return vb.rd(function(ja){return ja.return(WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])))})}function na(){return vb.rd(function(ja){return ja.return(WebAssembly.validate(new Uint8Array([0,
3323
- 97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,6,64,25,11,11])))})}function ma(){return vb.rd(function(ja){return ja.return(WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,3,1,0,1,10,14,1,12,0,65,0,65,0,65,0,252,10,0,0,11])))})}r.d(va,"a",function(){return ma});r.d(va,"b",function(){return na});r.d(va,"c",function(){return la})},function(ya,va,r){function la(){return function(){}}r.d(va,"a",function(){return la});r(460)},function(ya,va,r){function la(ca,y,x,n){return na(ca,
3324
- y,x,n,!!WebAssembly.instantiateStreaming,void 0,void 0).then(function(h){Object(ma.b)("load","WASM compilation took ".concat(Date.now()-NaN," ms"));return h})}function na(ca,y,x,n,h,b,f){b=b||Date.now();if(h&&!n)return Object(ma.b)("load","Try instantiateStreaming"),fetch(Object(ja.a)(ca)).then(function(e){return WebAssembly.instantiateStreaming(e,y)}).catch(function(e){Object(ma.b)("load","instantiateStreaming Failed ".concat(ca," message ").concat(e.message));return na(ca,y,x,n,!1,b,f)});h=n?n.map(function(e,
3325
- a){return"".concat(e,"PDFNetCWasm-chunk-").concat(a,".wasm")}):ca;return Object(ja.b)(h,x,!0,!0).then(function(e){f=Date.now();Object(ma.b)("load","Request took ".concat(f-b," ms"));return WebAssembly.instantiate(e,y)})}r.d(va,"a",function(){return la});var ma=r(2),ja=r(201),ia=r(149);r.d(va,"b",function(){return ia.a})},function(ya,va,r){r.d(va,"a",function(){return ja});var la=r(40),na=r(130),ma=r(28),ja=960;ya=function(){function ia(){this.fG=this.xq=null;this.zoom=0;this.HFa=!0;this.QN=0;this.EA=
3326
- this.bp=null}ia.prototype.create=function(ca,y,x,n,h){this.xq=y;this.fG=x;this.Lb=ca;this.DH=n;this.DF=h;this.EA=this.bp;this.QN=this.zoom;this.yw=this.bp=null;this.rw=!1};ia.prototype.iSa=function(ca){this.bp=ca};ia.prototype.Uj=function(ca,y){var x=this;if(x.rw)return!0;this.zoom=Math.sqrt(y.m_a*y.m_a+y.m_c*y.m_c);var n=0,h=this.zoom.toFixed(5)===this.QN.toFixed(5);if(!x.bp){n=Object(ma.b)();ca.S();ca.xVa=!0;ca.yJa=!0;ca.zJa=!0;ca.imageSmoothingQuality="high";ca.imageSmoothingEnabled=!0;ca.I(n[this.xq],
3327
- 0,0,this.fG.width,this.fG.height);ca.r();if(this.EA)for(n=0;n<this.EA.length;n++)this.EA[n].W8(ca,y,h?"rgba(0, 0, 255, 0.5)":"rgba(255, 0, 0, 0.5)");if(h=this.DH&&this.DF){n=new la.a;var b=1/this.zoom;n.Hb(y.m_a*b,y.m_b*b,y.m_c*b,y.m_d*b,y.m_h,y.m_v);n=n.inverse();y=new na.a;y.Hb(0,0,ca.canvas.width,ca.canvas.height);n.Eja(y);ca=[y.x1,y.y1,y.x2,y.y2];var f=x.DF;y=x.DH;x.DF=null;x.DH=null;this.yw=window.createPromiseCapability();var e=function(){x.rw||x.yw&&x.yw.resolve()};y(x.Lb,x.zoom,ca,ja).then(function(a){!x.rw&&
3328
- a&&f(a,x,e)})}return!h}if(this.bp&&this.bp.length)for(n=0;n<this.bp.length;n++)this.bp[n].W8(ca,y,"rgba(0, 255, 0, 0.5)");return!0};ia.prototype.clone=function(){var ca=new ia;ca.xq=this.xq;ca.fG=this.fG;ca.Lb=this.Lb;ca.DH=this.DH;ca.DF=this.DF;ca.bp=this.bp;ca.EA=this.EA;ca.zoom=this.zoom;ca.QN=this.QN;return ca};ia.prototype.GA=function(){return this.yw?this.yw.promise:Promise.resolve()};ia.prototype.cancel=function(){this.rw=!0;this.yw&&this.yw.resolve()};return ia}();va.b=ya},function(ya,va){ya=
3329
- function(){function r(la,na){this.sn=!la;this.height=this.width=0;this.Ee=null;la&&(this.width=na.width,this.height=na.height,this.rotation=na.rotation,this.Da=na.jb,this.It=la,this.zoom=na.zoom,this.Sg=na.Sg,this.di=na.di)}r.K7=function(la,na){var ma=new r(null,{});ma.Da="b".concat(la+1);ma.width=0;ma.height=0;ma.zoom=na.zoom;ma.rotation=0;ma.Sg=null;ma.di=null;ma.tFa=na.width;ma.lZa=na.height;return ma};r.prototype.et=function(){return this.Ee};r.prototype.Uaa=function(){return this.zoom};r.prototype.lf=
3330
- function(){return this.rotation};r.prototype.qa=function(){return this.width*this.zoom};r.prototype.NV=function(){var la=this.width;this.sn&&(la=this.tFa);return la*this.zoom};r.prototype.na=function(){return Math.floor(this.height*this.zoom)};r.prototype.Ma=function(){return this.It};r.prototype.EQa=function(la){this.It=la};r.prototype.FHa=function(la){return this.sn&&la.sn||this.Ma()===la.Ma()};r.prototype.CX=function(la){return this.sn!==la.sn||!this.sn&&(this.Ma()!==la.Ma()||this.qa()!==la.qa()||
3331
- this.na()!==la.na()||this.Uaa()!==la.Uaa()||this.lf()!==la.lf())};return r}();va.a=ya},function(ya,va,r){(function(la){function na(ia,ca){this.jj=ia;this.Doa=ca}var ma="undefined"!==typeof la&&la||"undefined"!==typeof self&&self||window,ja=Function.prototype.apply;va.setTimeout=function(){return new na(ja.call(setTimeout,ma,arguments),clearTimeout)};va.setInterval=function(){return new na(ja.call(setInterval,ma,arguments),clearInterval)};va.clearTimeout=va.clearInterval=function(ia){ia&&ia.close()};
3332
- na.prototype.ref=function(){};na.prototype.close=function(){this.Doa.call(ma,this.jj)};va.OYa=function(ia,ca){clearTimeout(ia.AR);ia.B4=ca};va.S_a=function(ia){clearTimeout(ia.AR);ia.B4=-1};va.JXa=va.active=function(ia){clearTimeout(ia.AR);var ca=ia.B4;0<=ca&&(ia.AR=setTimeout(function(){ia.Upa&&ia.Upa()},ca))};r(552);va.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof la&&la.setImmediate||this&&this.setImmediate;va.clearImmediate="undefined"!==typeof self&&self.clearImmediate||
3333
- "undefined"!==typeof la&&la.clearImmediate||this&&this.clearImmediate}).call(this,r(157))},function(ya,va,r){r.d(va,"a",function(){return na});r.d(va,"b",function(){return ma});var la=r(0),na=function(ja){function ia(ca,y,x,n){ca=ja.call(this,ca,y)||this;ca.kc=x;ca.offset=n;return ca}Object(la.c)(ia,ja);ia.create=function(ca,y,x,n,h){return new ia(y,x,ca.EE(n,y),h)};ia.copy=function(ca){return new ia(ca.Lb,ca.stream,ca.kc,ca.offset)};ia.prototype.ct=function(ca){return ca.aW(this.kc,this.Lb)};ia.prototype.isEqual=
3334
- function(ca){return this.Lb===ca.Lb&&this.stream===ca.stream&&this.kc===ca.kc&&this.offset===ca.offset};ia.prototype.compare=function(ca,y){return this.Lb!==ca.Lb?this.Lb-ca.Lb:this.stream!==ca.stream?this.stream-ca.stream:this.kc!==ca.kc?y.aW(this.kc,this.Lb)-y.aW(ca.kc,ca.Lb):this.offset-ca.offset};ia.prototype.isBefore=function(ca,y){return 0>this.compare(ca,y)};ia.prototype.isAfter=function(ca,y){return 0<this.compare(ca,y)};return ia}(r(185).a),ma=function(){function ja(ia,ca){this.start=ia;
3335
- this.end=ca}ja.prototype.contains=function(ia,ca){return 0>=this.start.compare(ia,ca)&&0<=this.end.compare(ia,ca)};return ja}()},function(ya,va){va.a={}},function(ya){var va=Object.prototype.toString;ya.exports=function(r){return va.call(r)}},function(ya){ya.exports=function(){return!1}},function(ya){ya.exports=function(va){var r=typeof va;return null!=va&&("object"==r||"function"==r)}},function(ya,va,r){var la=r(0),na=r(1);r.n(na);ya=r(10);ya=Object(ya.a)(window);ya.la=ya.la||{};ya.la.bd=ya.la.bd||
3336
- {};ya=ya.la.bd;ya.ic={};var ma=ya.ic,ja=function(){return function(a){this.rc=!0;Object(na.isObject)(a)&&(Object(na.isString)(a.name)&&Object.defineProperty(this,"name",{value:a.name,enumerable:!0}),Object(na.isString)(a.type)&&Object.defineProperty(this,"type",{value:a.type,enumerable:!0}))}}();ma.Event=ja;ma.hq=function(a){if(Object(na.isNull)(a.value))return null;if(Array.isArray(a.value))return a.value;var w=String(a.value),z=a.change,aa=w.slice(0,a.selStart),ea=w.slice(a.selEnd);if(Object(na.isObject)(a.change)){var ba=
3337
- a.selStart;a=a.selEnd;ba===a&&("backspace"===z.type?aa=w.slice(0,ba-1):"delete"===z.type&&(ea=w.slice(a+1)));z=""}return aa+z+ea};ya=function(a){function w(z){var aa=a.call(this,z)||this,ea;Object(na.isObject)(z)&&(ea=z.value);Object.defineProperty(aa,"value",{value:ea,writable:!0,enumerable:!0});return aa}Object(la.c)(w,a);return w}(ja);va=function(a){function w(z){var aa=a.call(this,z)||this;if(Object(na.isObject)(z)){var ea=z.value;var ba=z.source}Object.defineProperties(aa,{value:{value:ea,writable:!0,
3338
- enumerable:!0},source:{value:ba,enumerable:!0}});return aa}Object(la.c)(w,a);return w}(ja);r=function(a){function w(z){var aa=a.call(this,z)||this,ea;Object(na.isObject)(z)&&(ea=z.value);Object.defineProperty(aa,"value",{value:ea,writable:!0,enumerable:!0});return aa}Object(la.c)(w,a);return w}(ja);var ia=function(a){function w(z){var aa=a.call(this,z)||this;ma.Event.call(aa,z);if(Object(na.isObject)(z)){var ea=z.value;var ba=z.change;var fa=z.changeEx;var ha=z.selStart;var pa=z.selEnd;var oa=z.willCommit}ea=
3339
- "undefined"!==typeof ea?ea:"";ba="undefined"!==typeof ba||Object(na.isString)(ba)?ba:"";fa="undefined"!==typeof fa||Object(na.isString)(fa)?fa:"";pa="undefined"!==typeof pa?pa:(null===ea||void 0===ea?void 0:ea.length)||0;Object.defineProperties(aa,{value:{value:ea,writable:!0,enumerable:!0},change:{value:ba,writable:!0,enumerable:!0},changeEx:{value:fa,writable:!0,enumerable:!0},selStart:{value:"undefined"!==typeof ha?ha:0,writable:!0,enumerable:!0},selEnd:{value:pa,writable:!0,enumerable:!0},willCommit:{value:oa||
3340
- !1,enumerable:!0}});return aa}Object(la.c)(w,a);return w}(ja),ca=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja),y=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja),x=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja),n=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja),h=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja),
3341
- b=function(a){function w(z){var aa=a.call(this,z)||this,ea;Object(na.isObject)(z)&&(ea=z.value);Object.defineProperty(aa,"value",{value:ea,writable:!0,enumerable:!0});return aa}Object(la.c)(w,a);return w}(ja),f=function(a){function w(z){var aa=a.call(this,z)||this;ma.Event.call(aa,z);var ea;Object(na.isObject)(z)&&(ea=z.targetName);Object.defineProperty(aa,"targetName",{value:ea||"",writable:!0,enumerable:!0});return aa}Object(la.c)(w,a);return w}(ja);ja=function(a){function w(z){return a.call(this,
3342
- z)||this}Object(la.c)(w,a);return w}(ja);var e={Validate:ya,Calculate:va,Format:r,Keystroke:ia,"Mouse Enter":ca,"Mouse Leave":y,"Mouse Up":x,"Mouse Down":n,Focus:h,Blur:b,Open:f,Close:ja};ma.create=function(a,w){return e[a]?new e[a](w):null};ma.xa={create:function(a,w,z){z=Object.assign({name:a,type:"Field",value:w.vc()},z);return(a=ma.create(a,z))?(Object.defineProperties(a,{target:{value:w,writable:!0,enumerable:!0},targetName:{value:w.name,enumerable:!0},modifier:{value:null,enumerable:!0},shift:{value:null,
3343
- enumerable:!0}}),a):null}};ma.d2={create:function(a,w,z){z=Object.assign({name:a,type:"Doc",targetName:""},z);return(a=ma.create(a,z))?(Object.defineProperty(a,"target",{value:w,writable:!0,enumerable:!0}),a):null}};ma.yI={create:function(a,w,z){z=Object.assign({name:a,type:"Page"},z);return(a=ma.create(a,z))?(Object.defineProperty(a,"target",{value:w,writable:!0,enumerable:!0}),a):null}};ma.se={create:function(a,w){return ma.create(a,w)}}},function(ya,va,r){var la=r(0);ya=r(10);r=r(86);var na=window.da.Annotations||
3344
- {},ma=function(ja){function ia(ca){var y=ja.call(this,ca)||this;y.LR=!1;y.Id=null;y.Printable=!0;y.Ox=!0;y.Nx=!0;y.DateModified=null;y.Ge(ca);return y}Object(la.c)(ia,ja);ia.prototype.mca=function(){return this.LR};ia.prototype.open=function(){this.LR=!0};ia.prototype.close=function(){this.LR=!1};ia.prototype.serialize=function(ca){ca=na.Annotation.prototype.serialize.apply(this,arguments);this.mca()&&ca.setAttribute("open","yes");return ca};ia.prototype.deserialize=function(ca){this.Printable=!1;
3345
- na.Annotation.prototype.deserialize.apply(this,arguments);var y=ca.getAttribute("open");y&&"yes"===y?this.open():this.close()};return ia}(r.b);ma.prototype.elementName="popup";ma.prototype=Object.assign(new r.b,ma.prototype);va.a=ma;Object(ya.a)(window).zI=ma},function(ya,va,r){var la=r(0),na=r(4),ma=r(36);ya=r(101);var ja=r(54),ia=r(20);r=r(10);var ca=function(y){function x(n){var h=y.call(this,n)||this;h["_xsi:type"]="Caret";h.Subject=ia.a.Wd("caret");h.StrokeThickness=0;h.hn=null;h.Ge(n);return h}
3346
- Object(la.c)(x,y);x.prototype.draw=function(n,h){this.ad(n,h);var b=this.Width;h=this.Height;var f=Number(this.Rotation);if(90===f||270===f)f=b,b=h,h=f;n.translate(this.X,this.Y);n.rotate(-this.Rotation*Math.PI/180);f=Object(ma.f)((360-this.Rotation)%360,this.Width,this.Height);n.translate(-f.dx,-f.dy);n.translate(-this.X,-this.Y);n.beginPath();n.fillStyle=this.StrokeColor.toString();b=new na.d(this.X,this.Y,this.X+b,this.Y+h);f=(b.x1+b.x2)/2;h=b.y1+3*h/4;n.moveTo(f,b.y1);n.quadraticCurveTo(f,h,b.x1,
3347
- b.y2);n.lineTo(b.x2,b.y2);n.quadraticCurveTo(f,h,f,b.y1);n.closePath();n.fill();n.stroke()};x.prototype.deserialize=function(n,h,b){y.prototype.deserialize.call(this,n,h,b);h=Number(this.Rotation);if(90===h||270===h)h=this.Width,this.Width=this.Height,this.Height=h;this.StrokeThickness=0;this.Sm(n,"symbol")};x.prototype.serialize=function(n,h){if(this.Kb)return this.Kb;var b=Number(this.Rotation);if(90===b||270===b){var f=this.Width;this.Width=this.Height;this.Height=f}y.prototype.serialize.call(this,
3348
- n,h);if(90===b||270===b)f=this.Width,this.Width=this.Height,this.Height=f;this.Wg(n,"symbol");n.removeAttribute("width");return n};return x}(ja.a);ca.prototype.elementName="caret";ca.prototype.selectionModel=ya.a;ca.prototype=Object.assign(new ja.a,ca.prototype);va.a=ca;Object(r.a)(window).dI=ca},function(ya,va,r){var la=r(0),na=r(1);r.n(na);var ma=r(11),ja=r(175);ya=r(297);var ia=r(2),ca=r(44),y=r(54),x=r(20),n=r(4);r=r(10);var h,b=(h={},h.Graph={width:31,height:31},h.Paperclip={width:14,height:34},
3349
- h.PushPin={width:26,height:32},h.Tag={width:32,height:28},h.Outlook={width:10,height:24},h);h=function(f){function e(a){var w=f.call(this,a)||this;w.padding=0;w["_xsi:type"]="fileattachment";w.Subject=x.a.Wd("fileattachment");w.ul="Paperclip";w.kn=null;w.fC=!0;w.KI=!0;w.Ox=!0;w.Nx=!0;var z=b[w.ul],aa=z.height;w.Width=z.width;w.Height=aa;w.StrokeColor=new ma.a("#000000");w.bJ=null;w.fv=null;w.mimeType=null;w.filename=null;w.encoding=null;w.filter="FlateDecode";w.fv=null;w.Ge(a);return w}Object(la.c)(e,
3350
- f);e.prototype.draw=function(a){a.globalAlpha=0===this.Opacity?0:this.Opacity||1;a.translate(this.X,this.Y);switch(this.Icon){case "Paperclip":this.U8(a);break;case "Outlook":this.U8(a);break;case "Graph":this.zxa(a);break;case "Tag":this.cya(a);break;default:this.Rxa(a)}};e.prototype.Rxa=function(a){var w=this.Width,z=w/10,aa=w/12,ea=w-z,ba=2*aa;a.fillStyle=this.Color;a.lineWidth=0;a.beginPath();a.moveTo(z+z,ba);a.lineTo(ea-z,ba);a.lineTo(ea-z,ba+.8*aa);w/=2;var fa=1*z,ha=ba+2*aa;a.lineTo(w+fa,ha);
3351
- var pa=3*aa;a.lineTo(w+fa,ha+pa);var oa=ha+pa;a.lineTo(ea-.5*z,oa+1.5*z);a.lineTo(ea-.5*z,oa+2*z);a.lineTo(z+.5*z,oa+2*z);a.lineTo(z+.5*z,oa+1.5*z);a.lineTo(w-fa,ha+pa);a.lineTo(w-fa,ha);a.lineTo(z+z,ba+.8*aa);a.closePath();a.fill();ea=oa+2*z;z*=.5;a.beginPath();a.fillStyle="grey";a.moveTo(w+z,ea);a.lineTo(w,ea+4*aa);a.lineTo(w-z,ea);a.closePath();a.fill();a.stroke()};e.prototype.zxa=function(a){var w=this.Width,z=this.Height,aa=w/10,ea=z/10,ba=z-ea,fa=1.4*aa,ha=fa/2,pa=this.Color;a.strokeRect(0,
3352
- z,w,-z);w=3*ea;z=5*ea;var oa=7*ea,ka=aa+fa+ha,ra=ka+fa+ha;ha=ra+fa+ha;a.fillStyle=pa;a.fillRect(aa,ba,fa,-(7*ea));a.fillRect(ka,ba,fa,-w);a.fillRect(ra,ba,fa,-z);a.fillRect(ha,ba,fa,-oa)};e.prototype.U8=function(a){var w=this.Width,z=this.Height,aa=w/6,ea=z/8,ba=aa/2;z-=ea;w-=2*aa;var fa=1*Math.PI;a.lineWidth=2.25*(this.StrokeThickness||2);a.strokeStyle="black";a.lineCap="round";a.beginPath();a.moveTo(ba+1.5*aa,ea+3*ea);a.lineTo(ba+1.5*aa,ea+4.5*ea);a.arc(w/2+ba+.5*aa,z-1.5*ea,aa,fa,0,!0);a.lineTo(w/
3353
- 2+4*ba,ea+ea);a.arc(w/2+ba,ea+ea,1.5*aa,0,fa,!0);a.lineTo(w/2-2*ba,z-ea);a.arc(w/2+ba+.5*aa,z-ea,2*aa,fa,0,!0);a.lineTo(w+2*ba,z-2*ea);a.stroke();a.lineWidth=this.StrokeThickness||2;a.strokeStyle=this.StrokeColor.wx();a.stroke()};e.prototype.cya=function(a){var w=this.Width,z=this.Height,aa=w/10,ea=z/10;w-=aa;var ba=z-ea;a.fillStyle=this.Color;a.lineJoin="round";a.lineWidth=1;a.beginPath();a.moveTo(aa,z/2);a.lineTo(aa+2*aa,ea);a.lineTo(w,ea);a.lineTo(w,ba);a.lineTo(aa+2*aa,ba);a.lineTo(aa,z/2);a.closePath();
3354
- a.stroke();a.fill();z=aa+2*aa;a.beginPath();a.moveTo(z+aa,3*ea);a.lineTo(w-aa,3*ea);a.moveTo(z,5*ea);a.lineTo(w-aa,5*ea);a.moveTo(z+aa,7*ea);a.lineTo(w-aa,7*ea);a.stroke()};e.prototype.F$=function(){return{mimeType:this.mimeType,filename:this.filename,fileName:this.filename}};e.prototype.sE=function(){return this.filename};e.prototype.iP=function(a){this.filename=a};e.prototype.ZQa=function(a){this.mimeType=a};e.prototype.getFileData=function(){return Object(la.b)(this,void 0,Promise,function(){var a,
3355
- w,z,aa,ea;return Object(la.d)(this,function(ba){switch(ba.label){case 0:a=this.bJ;w=this.filter;z=null;if("raw"!==this.mode)return[2,new Blob([z],{type:"text/plain"})];if(!w)return ia.i("No compression method was defined for the ".concat(this.filename," file attachment")),[2];aa=w.split(",").map(function(fa){return fa.trim()});if(1<aa.length)return ia.i("Multi-pass fileattachment compression is not supported at this time"),[2];ea=a.match(/[a-fA-F0-9]{2}/g).map(function(fa){return parseInt(fa,16)});
3356
- z=new Uint8Array(ea);return[4,Object(ja.b)(aa[0],z)];case 1:return z=ba.aa(),[2,new Blob([z],{type:this.mimeType})]}})})};e.prototype.Hha=function(a,w,z){return Object(la.b)(this,void 0,Promise,function(){var aa;return Object(la.d)(this,function(ea){switch(ea.label){case 0:return this.fv=a.byteLength,aa=this,[4,Object(ja.a)(a)];case 1:return aa.bJ=ea.aa(),this.iP(z),this.ZQa(w),this.encoding="hex",this.filter="FlateDecode",this.mode="raw",[2]}})})};e.prototype.K$=function(){return Object(la.b)(this,
3357
- void 0,Promise,function(){var a,w,z,aa,ea,ba;return Object(la.d)(this,function(fa){switch(fa.label){case 0:return[4,this.getFileData()];case 1:return a=fa.aa(),w=this.F$(),z=w.mimeType,aa=w.filename,ea=/[^\\\/]+$/g,ba=aa.match(ea)[0],[2,{annotation:this,fileData:a,filename:ba,mimeType:z,fileName:ba}]}})})};e.prototype.serialize=function(a,w){a=f.prototype.serialize.call(this,a,w);a.setAttribute("icon",this.Icon);w=this.bJ;var z=document.createElementNS("","data");a.setAttribute("mimetype",this.mimeType);
3358
- a.setAttribute("file",this.sE());w&&(this.mode&&z.setAttributeNS("","mode",this.mode),this.filter&&z.setAttributeNS("","filter",this.filter),this.encoding&&z.setAttributeNS("","encoding",this.encoding),this.fv&&z.setAttributeNS("","length",this.fv.toString()),z.textContent=w,a.appendChild(z));return a};e.prototype.deserialize=function(a){var w;y.a.prototype.deserialize.apply(this,arguments);var z=a.getAttribute("icon")||"PushPin";this.Icon=z;b[z].width=this.Width;b[z].height=this.Height;"Outlook"!==
3359
- z&&(z=null===(w=a.getAttribute("flags"))||void 0===w?void 0:w.split(",").includes("nozoom"),this.NoZoom&&z||(w=new n.d(a.getAttribute("rect").split(",").map(Number)),this.Width=w.qa(),this.Height=w.na()));w=a.getElementsByTagName("data")[0];Object(na.isUndefined)(w)||(this.bJ=w.textContent,this.mimeType=a.getAttribute("mimetype"),this.filename=a.getAttribute("file"),this.encoding=w.getAttribute("encoding"),this.mode=w.getAttribute("MODE")||w.getAttribute("mode")||null,this.filter=w.getAttribute("filter")||
3360
- "FlateDecode",this.fv=Number(w.getAttribute("length")))};return e}(y.a);h.prototype.elementName="fileattachment";h.prototype.selectionModel=ya.a;h.prototype=Object.assign(new y.a,h.prototype);Object(ca.a)(h.prototype,{Icon:{get:function(){return this.ul},set:function(f){this.ul=f;this.Width=b[this.ul].width;this.Height=b[this.ul].height;this.Ia()}}});va.a=h;Object(r.a)(window).yu=h},function(ya,va,r){var la=r(0),na=r(1);r.n(na);var ma=r(11),ja=r(36);ya=r(117);var ia=r(20);r=r(10);var ca=function(y){function x(n){var h=
3361
- y.call(this,n)||this;h.vl=new ma.a(255,255,0);h["_xsi:type"]="Highlight";h.Subject=ia.a.Wd("highlight");h.Opacity=1;h.BlendMode="multiply";h.Ge(n);return h}Object(la.c)(x,y);x.prototype.draw=function(n,h){this.ad(n,h);Object(ja.i)("multiply")&&this.BlendMode||!(Object(na.isUndefined)(this.Opacity)||Object(na.isNull)(this.Opacity)||this.Opacity>x.opacityCap)||(n.globalAlpha=x.opacityCap);n.fillStyle=this.StrokeColor.toString();n.beginPath();for(var b=0;b<this.Quads.length;b++)h=this.Quads[b],n.moveTo(h.x1,
3362
- h.y1),n.lineTo(h.x2,h.y2),n.lineTo(h.x3,h.y3),n.lineTo(h.x4,h.y4);n.fill()};x.opacityCap=.3;return x}(ya.a);ca.prototype.elementName="highlight";ca.prototype=Object.assign(new ya.a,ca.prototype);va.a=ca;Object(r.a)(window).MQ=ca},function(ya,va,r){var la=r(0);ya=r(117);var na=r(20);r=r(10);ya=function(ma){function ja(ia){var ca=ma.call(this,ia)||this;ca["_xsi:type"]="Strikeout";ca.Subject=na.a.Wd("strikeout");ca.Ge(ia);return ca}Object(la.c)(ja,ma);ja.prototype.draw=function(ia,ca){this.ad(ia,ca);
3363
- 0===this.StrokeThickness&&(ia.lineWidth=1);for(ca=0;ca<this.yi.length;ca++){var y=this.yi[ca];var x=(y.x1+y.x4)/2,n=(y.y1+y.y4)/2,h=(y.x2+y.x3)/2;y=(y.y2+y.y3)/2;ia.beginPath();ia.moveTo(x,n);ia.lineTo(h,y);ia.stroke()}};return ja}(ya.a);ya.prototype.elementName="strikeout";va.a=ya;Object(r.a)(window).EI=ya},function(ya,va,r){var la=r(0),na=r(2);ya=r(176);var ma=r(104),ja=r(39),ia=r(3),ca=r(519),y=r(33),x=r(9),n=r(27),h=!1;r=function(b){function f(){var e=null!==b&&b.apply(this,arguments)||this;e.Oi=
3364
- !0;e.uqa={};e.OR={};e.kka=window.createPromiseCapability();e.j5=[];e.vR=!1;return e}Object(la.c)(f,b);f.prototype.loadAsync=function(e,a,w){return Object(la.b)(this,void 0,void 0,function(){var z,aa,ea,ba,fa,ha,pa,oa,ka,ra,qa,sa,ta,wa,za,Aa,Da=this;return Object(la.d)(this,function(Fa){switch(Fa.label){case 0:z=!1;aa=function(){z||(z=!0,Da.Ri=a())};ea=function(Ca){z||(z=!0,Da.Ri=a(Ca));var Ka=Da.Oi;setTimeout(function(){Da.kka.resolve();var La=Da.Ri.Ib();Ka&&La&&La.getDocument()&&(La.Fb.Jp(),La.sf())},
3365
- 0);Da.Oi=!1;h=Da.Fpa=!0};h||(this.transport={mD:function(){},addEventListener:function(){},q7:function(){},uV:function(){return{XXa:"",promise:Promise.resolve({})}},$s:function(){return[]},WK:function(){}});h&&(this.Oi=!1);b.prototype.loadAsync.call(this,e,ea,w);if(!e.url)return[3,9];this.yg=new ca.a(e.url,e.Sf);return[4,this.yg.init()];case 1:return Fa.aa(),[4,e.getFile()];case 2:ba=Fa.aa(),fa=void 0,ba&&"string"===typeof ba?fa={url:ba}:ba&&"string"!==typeof ba&&ba.url&&(fa=ba),Fa.label=3;case 3:return Fa.hd.push([3,
3366
- 7,,8]),fa?[4,this.R$(fa,e.withCredentials)]:[3,5];case 4:return ha=Fa.aa(),ha.tG&&ha.size===ha.VLa&&(this.tG=ha.tG,this.HZ=ha.HZ),[3,6];case 5:this.Oi=!1,Fa.label=6;case 6:return[3,8];case 7:return pa=Fa.aa(),Object(na.i)(pa),this.Oi=!1,[3,8];case 8:return[3,10];case 9:this.Oi=!1,Fa.label=10;case 10:if(!this.tG)return[3,15];oa=void 0;Fa.label=11;case 11:return Fa.hd.push([11,13,,14]),[4,this.yg.$Ka(e.url,this.tG,this.HZ)];case 12:return oa=Fa.aa(),this.j5=Object.keys(oa.thumbs).map(function(Ca){return parseInt(Ca,
3367
- 10)-1}),[3,14];case 13:return ka=Fa.aa(),Object(na.i)(ka),this.Oi=!1,[2];case 14:this.xS(oa.pages);ra={};qa=oa.thumbs;sa=0;for(ta=this.ea.length;sa<ta;sa++)wa=sa+1,za=qa[wa],Aa=void 0,Aa=za&&za.page_objnum?"".concat(za.page_objnum,"-0"):sa,ra[wa]=this.ea[sa],ra[wa].id=Aa;this.iJ=!0;this.NS({pageDimensions:ra});this.yg.LLa(this.Qq);aa();return[3,16];case 15:this.Oi=!1,Fa.label=16;case 16:return[2]}})})};f.prototype.loadCanvasAsync=function(e){var a=e.pageNumber-1,w=this.ea[a];if(w){var z=e.getZoom(),
3368
- aa=e.getPageRotation(),ea=e.renderRect,ba=e.getPageTransform(),fa=e.canvasNum,ha=e.multiplier||Object(n.k)(),pa="undefined"===typeof ea,oa=aa===ia.f.MYa||aa===ia.f.LYa;if(pa){var ka=(oa?this.ea[a].height:this.ea[a].width)*z;oa=(oa?this.ea[a].width:this.ea[a].height)*z}else ka=(oa?ea.y2-ea.y1:ea.x2-ea.x1)*z,oa=(oa?ea.x2-ea.x1:ea.y2-ea.y1)*z;ka=Math.round(ka);oa=Math.round(oa);var ra=Math.floor(ka*ha),qa=Math.floor(oa*ha),sa=!1,ta=!0;this.yg&&this.yg.PM(w)&&(sa=!0,ta=null===this.Fa||this.yg.Wsa(w,Math.max(ra,
3369
- qa))&&pa);this.vR&&(sa=!1);w=e.isInternalRender||e.allowUseOfOptimizedThumbnail;return sa&&ta&&w&&!this.ex?(ka=Math.round(ka),oa=Math.round(oa),e.fca&&(z=ha),this.L3({pL:e.drawProgressive,mL:function(wa,za){e.fca&&wa.classList.add("embedded-thumb");e.drawComplete(wa,a+1,za)},hO:ka,eO:oa,iO:z,Kt:aa,page:this.ea[a],Bd:ea},!0,fa,ba,e.pageCanvas,ha),z="ppid-".concat(a),this.OR[z]=!0,z):this.Ig(b.prototype.loadCanvasAsync,[e])}};f.prototype.extractXFDF=function(){return this.Ig(b.prototype.extractXFDF,
3370
- arguments)};f.prototype.getLayersArray=function(){return this.Ig(b.prototype.getLayersArray,arguments)};f.prototype.getBookmarks=function(){return this.Ig(b.prototype.getBookmarks,arguments)};f.prototype.loadTextData=function(){return this.Ig(b.prototype.loadTextData,arguments)};f.prototype.textSearch=function(){return this.Ig(b.prototype.textSearch,arguments)};f.prototype.getFileData=function(){return this.Ig(b.prototype.getFileData,arguments)};f.prototype.Uk=function(){return this.Ig(b.prototype.Uk,
3371
- arguments)};f.prototype.Ui=function(){return this.Ig(b.prototype.Ui,arguments)};f.prototype.ir=function(){return this.Ig(b.prototype.ir,arguments)};f.prototype.al=function(){return this.Ig(b.prototype.al,arguments)};f.prototype.qf=function(){return this.Ig(b.prototype.qf,arguments)};f.prototype.Vh=function(){return this.Ig(b.prototype.Vh,arguments)};f.prototype.yh=function(){return this.Ig(b.prototype.yh,arguments)};f.prototype.kf=function(){return this.Ig(b.prototype.kf,arguments)};f.prototype.Po=
3372
- function(){return this.Ig(b.prototype.Po,arguments)};f.prototype.bu=function(){return this.iJ?!0:b.prototype.bu.call(this)};f.prototype.unloadResources=function(){this.uqa={};this.yg&&this.yg.clear();if(!this.Oi)return b.prototype.unloadResources.call(this)};f.prototype.JM=function(){return this.Oi||this.iJ};f.prototype.qo=function(){return this.Oi?this.iJ:b.prototype.qo.call(this)};f.prototype.ZL=function(){return this.j5};f.prototype.loadThumbnailAsync=function(e,a,w){var z=this.ea[e-1];if(!this.vR&&
3373
- this.yg&&this.yg.PM(z)){var aa=this.yg.ew(z.id,{width:z.width,height:z.height,rotation:z.rotation},function(ea,ba){if(ea)Object(na.f)(ea.toString());else{var fa=new Image;fa.onload=function(){fa.classList.add("embedded-thumb");a(fa);fa=fa.onload=null};fa.src=ba}});this.OR[aa]=!0}else"embedded"!==w&&(aa=b.prototype.loadThumbnailAsync.call(this,e,a,w));return aa};f.prototype.L3=function(e,a,w,z,aa,ea){var ba=this,fa=e.FU?e.FU:Object(ja.a)().setUpCanvas(e.page,e.iO,e.Kt,z,w,e.Bd,aa,ea).canvas,ha=fa.getContext("2d"),
3374
- pa=e.page.pageNum;this.yg.ew(e.page.id,{width:e.page.width,height:e.page.height,rotation:e.page.rotation},function(oa,ka){if(oa)Object(na.f)(oa.toString());else{var ra=new Image;ra.onload=function(){z?1===e.Kt||3===e.Kt?ha.drawImage(ra,0,0,z.height,z.width):ha.drawImage(ra,0,0,z.width,z.height):ha.drawImage(ra,0,0,e.page.width,e.page.height);e.page&&ba.drawWatermark(fa,e.page.XV());if(ba.ea[pa-1])var qa=ba.ea[pa-1].id;e.pL(fa,qa);a&&e.mL(fa);a&&delete ba.po[e.id];ra=ra.onload=null;ba.oe({type:x.a.Events.EMBEDDED_THUMBNAIL_COMPLETE,
3375
- data:pa})};ra.src=ka}})};f.prototype.wK=function(e,a,w,z,aa,ea,ba,fa,ha){if(this.Oi&&this.yg&&this.yg.PM(z.page))return this.L3(z,aa,ea,ba,fa,ha);if(!this.Oi)return this.$I&&(z.page=this.ea[z.page.XV()-1]),this.Ig(b.prototype.wK,[e,a,w,z,aa,ea,ba,fa,ha])};f.prototype.xk=function(e){this.OR[e]?this.yg.oT(e):b.prototype.xk.call(this,e)};f.prototype.fI=function(e){var a=new ma.a(e.w,e.h),w=e.mtx;a.matrix=new y.a;a.matrix.Hb(w[0],w[1],w[2],w[3],w[4],w[5]);var z=this.ts(a.matrix);a.matrix=this.OG(w,{w:e.w,
3376
- h:e.h});a.rotation=z/90;return a};f.prototype.xS=function(e){if(0!==e.length)for(var a=0,w=e.length;a<w;++a)for(var z=e[a],aa=Math.min(this.ea.length,z.i-1),ea=z.i+z.n-2;ea>=aa;--ea)this.ea[ea]=this.fI(z)};f.prototype.OG=function(e,a){return this.Oi&&!Array.isArray(e)||e instanceof y.a?e:b.prototype.OG.call(this,e,a)};f.prototype.Ig=function(e,a){var w=this;return this.Fpa?e.apply(this,a):this.kka.promise.then(function(){var z=e.apply(w,a);if(z&&z.then)return z})};f.prototype.WD=function(e,a){if(this.iJ&&
3377
- !this.$I){for(var w=Object.keys(e),z={},aa=0,ea=w.length;aa<ea;aa++)e.hasOwnProperty(w[aa])&&(z[parseInt(w[aa],10)-1]=e[w[aa]].id);this.lZ=!1;this.oe({type:"changePageIds",data:z});this.$I=!0}return b.prototype.WD.call(this,e,a)};f.prototype.eF=function(e){var a=this;e.forEach(function(w){a.yg&&a.yg.PM(w)&&a.yg.eOa(w)});this.Ri.Ib().va().querySelectorAll(".pageContainer .embedded-thumb").forEach(function(w){w.parentNode.removeChild(w)})};f.prototype.updateRasterizerOptions=function(e){this.vR=!0;
3378
- b.prototype.updateRasterizerOptions.call(this,e)};return f}(ya.a);va.a=r},function(ya,va,r){var la=r(351);va.a=function(na,ma,ja){for(var ia=[],ca=0;16>ca;++ca){ia[ca]=ca;ca<ma.length&&(ia[ca]|=ma.charCodeAt(ca));var y=ja.length+ca-16;0<=y&&(ia[ca]|=ja.charCodeAt(y))}ma=[];for(ja=0;16>ja;++ja)ma.push(na.charCodeAt(ja));na=na.slice(16);ia=la.a.ks.lTa(ia,ma);ia.update(la.a.yx.createBuffer(na));return ia.finish()?ia.output.data:{error:"Bad password or file corrupt"}}},function(ya,va,r){ya=r(461);va.a=
3379
- ya.a},function(ya,va,r){r.d(va,"a",function(){return la});var la="optimized/"},function(ya){var va;(function(){function r(la,na,ma,ja,ia){for(var ca=ja,y,x=na+1;x<ma;x++){var n=la[x];var h=la[na],b=la[ma],f=h.x;h=h.y;var e=b.x-f,a=b.y-h;if(0!==e||0!==a){var w=((n.x-f)*e+(n.y-h)*a)/(e*e+a*a);1<w?(f=b.x,h=b.y):0<w&&(f+=e*w,h+=a*w)}e=n.x-f;a=n.y-h;n=e*e+a*a;n>ca&&(y=x,ca=n)}ca>ja&&(1<y-na&&r(la,na,y,ja,ia),ia.push(la[y]),1<ma-y&&r(la,y,ma,ja,ia))}!(va=function(la,na,ma){if(2>=la.length)return la;na=
3380
- void 0!==na?na*na:1;if(ma)var ja=la;else{ma=la[0];for(var ia=[ma],ca=1,y=la.length;ca<y;ca++){ja=la[ca];var x=ja.x-ma.x,n=ja.y-ma.y;x*x+n*n>na&&(ia.push(ja),ma=ja)}ma!==ja&&ia.push(ja);ja=ia}ja=la=ja;la=ja.length-1;ma=[ja[0]];r(ja,0,la,na,ma);ma.push(ja[la]);return la=ma},void 0!==va&&(ya.exports=va))})()},function(ya,va,r){function la(x){var n=document.createElement("style");n.textContent="\n .ql-editor .ql-font-".concat(x.family," {\n font-family: ").concat(x.family,", serif, sans-serif !important;\n }\n ");
3381
- document.head.appendChild(n)}function na(x,n){return Object(ma.b)(this,void 0,Promise,function(){var h,b,f,e,a,w=this;return Object(ma.d)(this,function(z){switch(z.label){case 0:h=Object(ja.c)()||"https://www.pdftron.com/webfonts/v2";if(!x||!n)return[2,void 0];z.label=1;case 1:return z.hd.push([1,4,,5]),b="".concat(x,":").concat(n),ia[b]||(ia[b]=function(){return Object(ma.b)(w,void 0,Promise,function(){var aa;return Object(ma.d)(this,function(ea){switch(ea.label){case 0:return[4,ca.Core.PDFNet.initialize()];
3382
- case 1:return ea.aa(),[4,ca.Core.PDFNet.runWithCleanup(function(){return Object(ma.b)(this,void 0,void 0,function(){var ba,fa;return Object(ma.d)(this,function(){ba='{"family": "'.concat(x,'"}');fa=ca.Core.PDFNet.WebFontDownloader.selectWebFont(ba,n.trim());return[2,fa]})})})];case 2:return aa=ea.aa(),[2,aa]}})})}),[4,ia[b]()];case 2:f=z.aa();delete ia[b];if(["undefined","null","",null,void 0].includes(f))return[2,void 0];e=f.replace(".ttf","").replace(".otf","");if(!e.length)return[2,void 0];if(y[e])return[2,
3383
- y[e]];a=new FontFace(e,"url('".concat(h,"/").concat(f,"')"));document.fonts.add(a);return[4,a.load()];case 3:return z.aa(),y[e]=a,la(a),[2,a];case 4:return z.aa(),[2,void 0];case 5:return[2]}})})}r.d(va,"a",function(){return na});var ma=r(0),ja=r(31),ia={},ca=window,y={}},function(ya,va){ya=function(){function r(la,na){this.resources={};this.vx=this.xq=this.text=this.Ud=null;this.Da=la;this.bc=na}r.prototype.clone=function(){var la=new r(this.Da,this.bc);la.resources=JSON.parse(JSON.stringify(this.resources));
3384
- la.Ud=this.Ud.clone();la.vx=this.vx;return la};return r}();va.a=ya},function(ya,va,r){function la(ia,ca,y){return Object(ma.b)(this,void 0,void 0,function(){var x,n,h,b,f;return Object(ma.d)(this,function(e){switch(e.label){case 0:return x={cmd:"setTextReflow",textReflow:ia},[4,Object(ja.d)(ca,x)];case 1:return n=e.aa(),[4,n.promise];case 2:e.aa();if(!y.Ij())return[3,4];h=null===(f=y.ja.ia().cc()[0])||void 0===f?void 0:f.Va("contentEditBoxId");b=y.vd(h);(null===b||void 0===b?0:b.Gf())&&b.vB();y.iz();
3385
- return[4,y.px()];case 3:e.aa(),e.label=4;case 4:return[2]}})})}function na(ia){return Object(ma.b)(this,void 0,void 0,function(){var ca,y,x;return Object(ma.d)(this,function(n){switch(n.label){case 0:return ca={cmd:"getTextReflow"},[4,Object(ja.d)(ia,ca)];case 1:return y=n.aa(),[4,y.promise];case 2:return x=n.aa(),[2,x.textReflow]}})})}r.d(va,"b",function(){return la});r.d(va,"a",function(){return na});var ma=r(0),ja=r(13)},function(ya,va,r){var la=r(613),na=r(340),ma=r(614),ja=r(274),ia=r(615),ca=
3386
- r(341),y=r(439),x=r(396),n=Object.prototype.hasOwnProperty;ya.exports=function(h){if(null==h)return!0;if(ia(h)&&(ja(h)||"string"==typeof h||"function"==typeof h.splice||ca(h)||x(h)||ma(h)))return!h.length;var b=na(h);if("[object Map]"==b||"[object Set]"==b)return!h.size;if(y(h))return!la(h).length;for(var f in h)if(n.call(h,f))return!1;return!0}},function(ya,va,r){var la=r(39);ya=function(){function na(ma){this.rotation=ma.rotation;this.zoom=ma.zoom;this.width=ma.width;this.height=ma.height;this.gi=
3387
- this.canvas=null;this.Oo=this.VS=this.Mm=!1;this.Dia=!0;this.wg=this.iw=this.CB=this.request=null}na.prototype.AE=function(ma){return(this.canvas||ma?1:0)*this.width*this.height*this.zoom*this.zoom*(window.devicePixelRatio?window.devicePixelRatio*window.devicePixelRatio:1)*4};na.prototype.isValid=function(){return!!this.canvas||!Object(la.a)().useCache};na.prototype.update=function(ma){if(this.rotation!==ma.rotation||this.zoom!==ma.zoom)this.gi=this.canvas=null,this.Dia=!0;this.rotation=ma.rotation;
3388
- this.zoom=ma.zoom;this.width=ma.width;this.height=ma.height;this.jb=ma.jb};return na}();va.a=ya},function(ya,va,r){function la(ia){return function(ca){ia.forEach(function(y){var x=y.type,n=y.check,h=y.methods;Object.keys(h).forEach(function(b){var f=ca.prototype[b],e=x.message,a=x.severity;ca.prototype[b]=function(){for(var w=[],z=0;z<arguments.length;z++)w[z]=arguments[z];var aa=n(this);z=!aa&&a===ja.YB;if(!aa)switch(aa=e(h[b]),a){case ja.YB:throw Error(aa);default:Object(ma.i)(aa)}if(!z)return f.call.apply(f,
3389
- Object(na.f)([this],w,!1))}})});return ca}}var na=r(0),ma=r(2),ja;(function(ia){ia.ERROR="error";ia.WARN="warn"})(ja||(ja={}));la.Lna={kla:{message:function(ia){return"".concat(ia," was called before the 'documentLoaded' event")},severity:ja.YB},kWa:{message:function(ia){return"".concat(ia," requires the full API to be enabled. Please set the fullAPI option to true in your WebViewer constructor.")},severity:ja.UWa}};va.a=la},function(ya,va,r){function la(ha){var pa=new DOMParser,oa=pa.parseFromString(ha,
3390
- "text/xml");oa.querySelector("parsererror")&&(oa=pa.parseFromString("<Root>".concat(ha,"</Root>"),"text/xml"));oa.querySelectorAll("a").forEach(function(ka){var ra=ka.childNodes[0];Array.from(ka.querySelectorAll("*")).find(function(qa){return"u"===qa.tagName.toLowerCase()})||(ka=document.createElement("u"),ra.after(ka),ka.appendChild(ra))});return(new XMLSerializer).serializeToString(oa)}function na(ha){return Object(f.b)(this,void 0,void 0,function(){var pa,oa,ka,ra,qa,sa,ta,wa,za,Aa,Da,Fa,Ca,Ka,
3391
- La;return Object(f.d)(this,function(Ia){switch(Ia.label){case 0:pa=ha.Hc;oa=ha.Da;ka=ha.Ra;ra=ha.sca;qa=ha.Eda;sa=ha.bi;ta=ha.gja;wa=ha.ja;za=ha.OX;Ia=pa;var Qa=qa;Aa="\n <Commands>\n ".concat(a.a.am(Ia,null),"\n ").concat(a.a.Xy(Ia),"\n ").concat(a.a.nw(Ia,0,Qa.length),"\n ").concat(a.a.jX(Ia,null,Qa),"\n ").concat(a.a.hr(w.k),"\n </Commands>\n ").replace("<HTML>&lt;doc&gt;&lt;/doc&gt;</HTML>","<HTML></HTML>");Da=Object(f.a)(Object(f.a)({cmd:"updateDocumentContent",galleyId:pa,
3392
- pageNumber:oa,newContent:qa,outputFileName:w.k,isSearchReplace:ra,commandXML:Aa},ra&&{bi:sa}),ra&&{gja:ta});return[4,Object(w.d)(ka,Da)];case 1:return Fa=Ia.aa(),[4,Fa.promise];case 2:return Ca=Ia.aa(),[4,Object(w.g)(wa,{Da:oa,dl:Ca.pdfBuffer,OX:za})];case 3:return Ia.aa(),Ka=wa.Xf(),(La="performUndoRedo"===Ca.subCmd)||Ka.yf(Ca),[2]}})})}function ma(ha){return Object(f.b)(this,void 0,void 0,function(){var pa,oa,ka,ra,qa,sa,ta,wa,za,Aa,Da,Fa,Ca,Ka,La,Ia,Qa;return Object(f.d)(this,function(Sa){switch(Sa.label){case 0:pa=
3393
- ha.documentViewer;oa=ha.replaceWith;ka=ha.search;ra=ha.searchResults;if(pa){if(!ra&&!ka)throw Error('The "searchResults" parameter is missing in the options');if(void 0===oa)throw Error('The "replaceWith" parameter should not be undefined');}else throw Error('The "documentViewer" parameter is missing in the options');qa=1===ra.length;if(ka)sa=ka.dta,ta=ka.zVa;else{var Oa=pa.zV();wa=Array.isArray(Oa)?{regex:Oa.includes(z.f.Jx),wildcard:Oa.includes(z.f.Eu),wholeWord:Oa.includes(z.f.Mx),caseSensitive:Oa.includes(z.f.vu)}:
3394
- {regex:0!==(Oa&z.f.Jx),wildcard:0!==(Oa&z.f.Eu),wholeWord:0!==(Oa&z.f.Mx),caseSensitive:0!==(Oa&z.f.vu)};sa=wa.dta;ta=wa.zVa}za=ja(qa,ra);Aa=ra[0].resultStr;Da=n(Aa,ta,sa);Fa=0;e.a.trigger(aa.f.SEARCH_AND_REPLACE_STARTED);Ca=0;Ka=za;Sa.label=1;case 1:if(!(Ca<Ka.length))return[3,6];La=Ka[Ca];if(!qa)return[3,3];Ia=ra[0];if(!Ia)throw Error("searchResults should not be empty.");Sa=0;Oa=pa.ho();for(var Wa=-1,db=0,Ma=Oa.length;db<Ma;db++){var Pa=Oa[db];Pa.pageNum===Wa?Sa++:(Wa=Pa.pageNum,Sa=0);if(Object(fa.a)(Pa,
3395
- Pa))break}Qa=Sa;return[4,ia(ha,La,Da,Qa)];case 2:return Sa.aa(),[3,5];case 3:return[4,ca(ha,La,Da,Fa)];case 4:Sa.aa(),Sa.label=5;case 5:return Ca++,[3,1];case 6:return qa&&ra[0]?x(pa,za[0],Aa):(Sa=pa,Sa.t7(),Sa.getDocument().CG(),Sa.Yq(),Sa.sf(),e.a.trigger(aa.f.SEARCH_AND_REPLACE_ENDED)),[2]}})})}function ja(ha,pa){return ha?[pa[0].pageNum]:Object.keys(pa.reduce(function(oa,ka){oa[ka.pageNum]=ka.pageNum;return oa},{})).map(function(oa){return Number(oa)})}function ia(ha,pa,oa,ka){return Object(f.b)(this,
3396
- void 0,void 0,function(){var ra,qa,sa,ta,wa,za,Aa,Da,Fa,Ca,Ka,La,Ia,Qa,Sa;return Object(f.d)(this,function(Oa){switch(Oa.label){case 0:return ra=function(Wa){return((Wa||"").match(oa)||[]).length},qa=ha.documentViewer,sa=ha.replaceWith,ta=ha.searchResults,wa=ha.contentEditWorker,za=ha.pdfDocs,[4,Object(e.w)(pa,!1)];case 1:Oa.aa(),Da=Aa=0,Fa=za[pa].galleys.length,Oa.label=2;case 2:return Da<Fa?[4,y(pa,za)]:[3,7];case 3:Oa.aa();Ca=za[pa].galleys[Da];Ka=Object(ea.f)(Ca.contents);if(La=ra(Ka))Aa+=La;
3397
- else return[3,6];if(Aa<=ka)return[3,6];e.a.trigger(aa.f.SEARCH_AND_REPLACE_TEXT_FOUND,[[ta[0]]]);Ia=La-(Aa-ka);Qa=b(Ka,oa,Ia,sa);return[4,h(Ca,Qa,qa,wa)];case 4:return Sa=Oa.aa(),[4,na(Sa)];case 5:return Oa.aa(),e.a.trigger(aa.f.SEARCH_AND_REPLACE_TEXT_REPLACED),[2];case 6:return Da++,[3,2];case 7:return[2]}})})}function ca(ha,pa,oa,ka){return Object(f.b)(this,void 0,void 0,function(){var ra,qa,sa,ta,wa,za,Aa,Da,Fa,Ca,Ka,La,Ia,Qa,Sa;return Object(f.d)(this,function(Oa){switch(Oa.label){case 0:return ra=
3398
- ha.documentViewer,qa=ha.replaceWith,sa=ha.searchResults,ta=ha.contentEditWorker,wa=ha.pdfDocs,za=!0,[4,Object(e.w)(pa,!1)];case 1:Oa.aa(),Aa=[],Da=0,Fa=wa[pa].galleys.length,Oa.label=2;case 2:return Da<Fa?[4,y(pa,wa)]:[3,7];case 3:Oa.aa();Ca=wa[pa].galleys[Da];Ka=Object(ea.f)(Ca.contents);La=[];for(Ia=void 0;null!==(Ia=oa.exec(Ka));)La.push(Ia),Aa.push(sa[ka]),ka++;if(!La.length)return[3,6];e.a.trigger(aa.f.SEARCH_AND_REPLACE_TEXT_FOUND,[Aa]);Qa=Ka.replace(oa,qa);return[4,h(Ca,Qa,ra,ta,za)];case 4:return Sa=
3399
- Oa.aa(),[4,na(Sa)];case 5:Oa.aa(),e.a.trigger(aa.f.SEARCH_AND_REPLACE_TEXT_REPLACED),Oa.label=6;case 6:return Da++,[3,2];case 7:return[2]}})})}function y(ha,pa){return Object(f.b)(this,void 0,void 0,function(){var oa;return Object(f.d)(this,function(ka){switch(ka.label){case 0:return(null===(oa=pa[ha])||void 0===oa?0:oa.galleys)?[3,3]:[4,new Promise(function(ra){return setTimeout(ra,50)})];case 1:return ka.aa(),[4,y(ha,pa)];case 2:ka.aa(),ka.label=3;case 3:return[2]}})})}function x(ha,pa,oa){setTimeout(function(){var ka=
3400
- [];ha.AH(oa,ha.zV(),{startPage:pa,endPage:pa,fullSearch:!0,onDocumentEnd:function(){e.a.trigger(aa.f.SEARCH_AND_REPLACE_ENDED);ha.t1(pa-1,ka)},onResult:function(ra){ra.resultCode===z.e.Jr&&ka.push(ra)}})},200)}function n(ha,pa,oa){void 0===pa&&(pa=!1);void 0===oa&&(oa=!1);oa=oa?"mg":"mgi";ha=ha.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").split(/\s+/);pa&&(ha=ha.map(function(ka){return"\\b".concat(ka,"\\b")}));pa="(".concat("?:&lt;(?:[^&]|&[^l]|&l[^t]|&lt;[^>])*&gt;|&amp;lt;(?:[^&]|&[^a]|&a[^m]|&am[^p]|&amp[^;]|&amp;[^l]|&amp;l[^t]|&amp;lt;[^>])*&amp;gt;|\\s",
3401
- ")+?");pa=ha.join(pa);return new RegExp(pa,oa)}function h(ha,pa,oa,ka,ra){return Object(f.b)(this,void 0,void 0,function(){var qa,sa,ta,wa,za,Aa,Da;return Object(f.d)(this,function(Fa){switch(Fa.label){case 0:if(!ha)return[2];qa=Object(ea.g)(pa);sa=la(qa);ta=ha.oid;wa=ha.pagenum;return[4,Object(ba.e)(oa,wa)];case 1:return za=Fa.aa(),Aa=Object(w.e)(),Da={Hc:ta,Da:wa,Ra:ka,sca:!0,Eda:sa,bi:za,gja:Aa,ja:oa,OX:ra},[2,Da]}})})}function b(ha,pa,oa,ka){var ra=0;return ha.replace(pa,function(qa){if(ra===
3402
- oa)return ra++,ka;ra++;return qa})}r.d(va,"b",function(){return na});r.d(va,"a",function(){return ma});var f=r(0),e=r(26),a=r(23),w=r(13),z=r(33),aa=r(7),ea=r(100),ba=r(50),fa=r(165)},function(ya,va,r){function la(x){return Object(ja.b)(this,void 0,void 0,function(){var n,h,b,f,e,a,w,z,aa,ea,ba,fa,ha,pa,oa;return Object(ja.d)(this,function(ka){switch(ka.label){case 0:n=x.ja;h=x.Ra;b=x.Tta;f=x.Hc;e=x.Zi;a=x.iVa;w=e.Kd;z=e.jea;aa=null!==(oa=null===(pa=n.ia().cc()[0])||void 0===pa?void 0:pa.PageNumber)&&
3403
- void 0!==oa?oa:n.ld();ka=f;var ra=b,qa=a,sa=e.Yb,ta=e.textLength;ea="\n <Commands>\n ".concat(y.a.am(ka,e),"\n ").concat(y.a.YTa(ra,ka,sa,ta,qa),"\n </Commands>");ba={cmd:"editText",subCmd:b,galleyId:f,caretStart:z,caretEnd:w,resultsFile:ia.m,commandXML:ea,commandFile:ia.c,pageNumber:aa};return[4,Object(ia.d)(h,ba)];case 1:return fa=ka.aa(),[4,fa.promise];case 2:return ha=ka.aa(),[4,na(n,ha)];case 3:return ka.aa(),[2]}})})}function na(x,n){return Object(ja.b)(this,void 0,void 0,function(){var h,
3404
- b,f;return Object(ja.d)(this,function(e){switch(e.label){case 0:return h=x.Xc(),b=x.Xf(),f=h.vd(n.galleyId),f.lx(!0),ca["default"].uG(n),b.yf(n),f.Gf()?[4,ca["default"].nL()]:[3,2];case 1:e.aa(),e.label=2;case 2:return[2]}})})}function ma(x){return Object(ja.b)(this,void 0,void 0,function(){var n,h,b,f,e,a,w,z;return Object(ja.d)(this,function(aa){switch(aa.label){case 0:return n=x.DT,h=x.UK,b=x.Yza,f=n.editor,[4,f.AV()];case 1:return e=aa.aa(),(w=(a=e.endIndex-e.startIndex)&&0<a)?f.B9(h).catch(function(){console.warn("Unable to apply ".concat(h,
3405
- " decorator to the contents"))}):(z=b.LV(),b.Mha({UK:!z[h]})),[2]}})})}r.d(va,"a",function(){return la});r.d(va,"b",function(){return ma});var ja=r(0),ia=r(13),ca=r(124),y=r(23)},function(ya,va,r){function la(ma){if(!/^\d{4}-(0\d|1[0-2])-(0\d|[12]\d|3[01])\s(0\d|1\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(ma))throw Error("Invalid datetime format");}function na(ma){ma=ma.split(" ");var ja=ma[1],ia=ma[0].split("-").map(Number);ma=ia[0];var ca=ia[1];ia=ia[2];var y=ja.split(":").map(Number);ja=y[0];var x=y[1];
3406
- y=y[2];if(1900===ma&&1===ca&&0===ia)return(3600*ja+60*x+y)/86400;if(1900>ma||1900===ma&&1>ca||1900===ma&&1===ca&&0>ia)return null;if(1900===ma&&2>=ca)ma=1===ca?ia:31+ia;else{for(var n=0,h=1900;h<ma;h++)n+=0===h%4&&0!==h%100||0===h%400?366:365;for(h=1;h<ca;h++)n+=[0,31,0===ma%4&&0!==ma%100||0===ma%400?29:28,31,30,31,30,31,31,30,31,30,31][h];n+=ia;ma=1900<ma||1900===ma&&2<ca?n+1:n}return ma+=(3600*ja+60*x+y)/86400}r.d(va,"b",function(){return la});r.d(va,"a",function(){return na})},function(ya,va,r){var la=
3407
- r(0),na=r(141);ya=function(){function ma(ja){this.ha=ja;this.Dy=this.context=this.cursor=null;this.gY=new Date(0)}ma.prototype.zha=function(ja){this.cursor=ja};ma.prototype.Zs=function(){return this.cursor};ma.prototype.vca=function(){return this.context&&0<this.context.canvas.offsetWidth&&0<this.context.canvas.offsetHeight&&"hidden"!==window.getComputedStyle(this.context.canvas).visibility};ma.prototype.disable=function(){this.vL();this.context||this.NT();this.context.canvas.style.display="none"};
3408
- ma.prototype.enable=function(){this.context||this.NT();this.context.canvas.style.display="block"};ma.prototype.$Ga=function(){return null===this.Dy?!this.vca():!1};ma.prototype.EGa=function(){return null!==this.Dy};ma.prototype.jTa=function(){var ja=this;clearInterval(this.Dy);this.Dy=window.setInterval(function(){ja.blink()},500)};ma.prototype.vL=function(){clearInterval(this.Dy);this.Dy=null};ma.prototype.blink=function(){var ja=new Date;500<=ja.getTime()-this.gY.getTime()&&(this.ay()||this.C5(),
3409
- this.gY=ja)};ma.prototype.hide=function(){this.vL();this.ay()};ma.prototype.ay=function(){return this.vca()?(this.context.canvas.style.visibility="hidden",!0):!1};ma.prototype.force=function(){this.C5();this.gY=new Date};ma.prototype.freeze=function(){this.vL();this.force()};ma.prototype.show=function(){this.force();this.jTa()};ma.prototype.C5=function(){if(this.cursor)try{var ja=this.cursor.yj().Pa()+1,ia=this.ha.Ib().va().querySelector("#pageContainer".concat(ja));if(ia){var ca=this.ha.sa.P$(this.cursor.yj());
3410
- if(ca.isValid()){var y=Math.floor(ca.Dd)/na.a.Jn,x=Math.floor(ca.bottom())/na.a.Jn,n=Math.ceil(ca.top())/na.a.Jn;this.context||this.NT();ia.appendChild(this.context.canvas);this.context.canvas.style.visibility="hidden";this.context.canvas.height=n-x;var h=parseInt(ia.style.top,10)||0;this.context.canvas.style.left="".concat((parseInt(ia.style.left,10)||0)+y,"px");this.context.canvas.style.top="".concat(h+x,"px");this.context.beginPath();this.context.moveTo(.5,0);this.context.lineTo(.5,n-x);this.context.stroke();
3411
- this.context.canvas.style.visibility="visible"}}}catch(b){console.error("Attempting to draw unresolved cursor:",b,this.cursor),this.cursor.AA()}};ma.prototype.eH=function(ja){this.cursor.eH(ja)};ma.prototype.Pk=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.cursor.Pk()]})})};ma.prototype.oM=function(){return Object(la.b)(this,void 0,Promise,function(){var ja,ia;return Object(la.d)(this,function(ca){switch(ca.label){case 0:return ia=
3412
- (ja=this.ha).oM,[4,this.cursor.Jb()];case 1:return[2,ia.apply(ja,[ca.aa()])]}})})};ma.prototype.NT=function(){var ja=document.createElement("canvas");ja.style.position="absolute";ja.style.zIndex="500";ja.style.display="block";ja.style.top="0";ja.style.left="0";ja.width=1;ja.height=0;ja.id="mypointercanvas";this.context=ja.getContext("2d");this.context.lineWidth=1;this.context.strokeStyle="black"};return ma}();va.a=ya},function(ya,va){va.a=function(){Element.prototype.matches||(Element.prototype.matches=
3413
- Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.closest||(Element.prototype.closest=function(r){var la=this;do{if(la.matches(r))return la;la=la.parentElement||la.parentNode}while(null!==la&&1===la.nodeType);return null})}},function(ya,va,r){function la(ba){ba.Core.SpreadsheetEditor={};ba.Core.SpreadsheetEditor.setSpreadsheetEditorWorkerPath=z.c;ba.Core.SpreadsheetEditor.getSpreadsheetEditorWorkerPath=z.a;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager=
3414
- h.a;ba.Core.SpreadsheetEditor.SpreadsheetEditorEditMode=b.a;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.getEditMode=h.a.prototype.A$;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.getSelectedCellRange=h.a.prototype.xDa;ba.Core.SpreadsheetEditor.Types=ma.a;ba.Core.SpreadsheetEditor.Workbook=ja.a;ba.Core.SpreadsheetEditor.Workbook.prototype.getSheetAt=ja.a.prototype.mW;ba.Core.SpreadsheetEditor.Workbook.prototype.setActiveSheet=ja.a.prototype.EPa;ba.Core.SpreadsheetEditor.Sheet=
3415
- ia.a;ba.Core.SpreadsheetEditor.Cell=ca.a;ba.Core.SpreadsheetEditor.Cell.prototype.getDisplayStringValue=ca.a.prototype.yBa;ba.Core.SpreadsheetEditor.SelectionChangedEvent=x.a;ba.Core.SpreadsheetEditor.SelectionChangedEvent.prototype.getCellRange=x.a.prototype.wV;ba.Core.SpreadsheetEditor.SelectionChangedEvent.prototype.getBoundingCells=x.a.prototype.LAa;ba.Core.SpreadsheetEditor.SelectionChangedEvent.prototype.getSelectionRangeDisplayValue=x.a.prototype.ADa;ba.Core.SpreadsheetEditor.ActiveSheetChangedEvent=
3416
- n.a;ba.Core.SpreadsheetEditor.ActiveSheetChangedEvent.prototype.getSheetIndex=n.a.prototype.CDa;ba.Core.SpreadsheetEditor.CellRange=y.a;ba.Core.SpreadsheetEditor.CellRange.parseRangeString=y.a.fLa;ba.Core.SpreadsheetEditor.CellRange.prototype.equals=y.a.prototype.Ak;ba.Core.SpreadsheetEditor.CellRange.prototype.isSingleCellRange=y.a.prototype.RX;ba.Core.SpreadsheetEditor.CellRange.prototype.getCellsFromRange=y.a.prototype.UAa}function na(ba){ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.setEditMode=
3299
+ r.d(va,"a",function(){return ma});var ja=r(30)},function(ya,va,r){function la(ma){if(!ma)return"";var ja=0===ma.length,ia=["http:","https:","ftp:","mailto:","tel:"];if(2048<ma.length||ja)return"";var ca=ma.trim();ma=-1!==ca.indexOf("://")&&ia.some(function(x){return ca.startsWith(x)});ja=-1!==ca.indexOf("mailto:");ia=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/.test(ca);var y=/^[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}(\/.*)?$/.test(ca);if(ma)return ca;!ma&&y?ca="http://".concat(ca):ia&&!ja&&(ca="mailto:".concat(ca));
3300
+ return ca}function na(ma,ja){ma=la(ma);if(ja){if(ja=window.open(ma))ja.opener=null}else window.location=ma}r.d(va,"a",function(){return na})},function(ya,va){var r;ya=r||(r={});ya[ya.GENERAL=0]="GENERAL";ya[ya.LEFT=1]="LEFT";ya[ya.CENTER=2]="CENTER";ya[ya.RIGHT=3]="RIGHT";va.a=r},function(ya,va){var r;ya=r||(r={});ya[ya.NONE=0]="NONE";ya[ya.TOP=1]="TOP";ya[ya.CENTER=2]="CENTER";ya[ya.BOTTOM=3]="BOTTOM";va.a=r},function(ya,va){var r;ya=r||(r={});ya[ya.UTO=0]="UTO";ya[ya.OVERFLOW=1]="OVERFLOW";ya[ya.WRAP=
3301
+ 2]="WRAP";ya[ya.CLIP=3]="CLIP";va.a=r},function(ya,va){va.a=function(){return function(r,la){this.ltEvent=r;this.ltSpreadsheetEditor=la}}()},function(ya,va){(function na(la){function ma(ea){var ba={},fa;for(fa in ea)if(ea.hasOwnProperty(fa)){var ha=ea[fa];ba[fa]="object"===typeof ha&&null!==ha?ma(ha):ha}return ba}function ja(ea,ba){var fa;var ha=ea.length;for(fa=0;ha;){var pa=ha>>>1;var oa=fa+pa;ba(ea[oa])?ha=pa:(fa=oa+1,ha-=pa+1)}return fa}function ia(ea,ba){this.parent=ea;this.key=ba}function ca(ea,
3302
+ ba,fa,ha){this.node=ea;this.path=ba;this.wrap=fa;this.ref=ha}function y(){}function x(ea){return null==ea?!1:"object"===typeof ea&&"string"===typeof ea.type}function n(ea,ba){for(var fa=ea.length-1;0<=fa;--fa)if(ea[fa].node===ba)return!0;return!1}function h(ea,ba){return(new y).traverse(ea,ba)}function b(ea,ba){var fa=ja(ba,function(ha){return ha.range[0]>ea.range[0]});ea.extendedRange=[ea.range[0],ea.range[1]];fa!==ba.length&&(ea.extendedRange[1]=ba[fa].range[0]);--fa;0<=fa&&(ea.extendedRange[0]=
3303
+ ba[fa].range[1]);return ea}var f={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",
3304
+ ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",
3305
+ ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",
3306
+ Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",
3307
+ SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",
3308
+ YieldExpression:"YieldExpression"};var e={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id",
3309
+ "superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init",
3310
+ "test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label",
3311
+ "body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant",
3312
+ "cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};var a={};var w={};var z={};var aa={Break:a,Skip:w,
3313
+ Remove:z};ia.prototype.replace=function(ea){this.parent[this.key]=ea};ia.prototype.remove=function(){if(Array.isArray(this.parent))return this.parent.splice(this.key,1),!0;this.replace(null);return!1};y.prototype.path=function(){function ea(ra,qa){if(Array.isArray(qa))for(fa=0,ha=qa.length;fa<ha;++fa)ra.push(qa[fa]);else ra.push(qa)}var ba,fa,ha;if(!this.__current.path)return null;var pa=[];var oa=2;for(ba=this.__leavelist.length;oa<ba;++oa){var ka=this.__leavelist[oa];ea(pa,ka.path)}ea(pa,this.__current.path);
3314
+ return pa};y.prototype.type=function(){return this.current().type||this.__current.wrap};y.prototype.parents=function(){var ea;var ba=[];var fa=1;for(ea=this.__leavelist.length;fa<ea;++fa)ba.push(this.__leavelist[fa].node);return ba};y.prototype.current=function(){return this.__current.node};y.prototype.__execute=function(ea,ba){var fa=void 0;var ha=this.__current;this.__current=ba;this.__state=null;ea&&(fa=ea.call(this,ba.node,this.__leavelist[this.__leavelist.length-1].node));this.__current=ha;return fa};
3315
+ y.prototype.notify=function(ea){this.__state=ea};y.prototype.skip=function(){this.notify(w)};y.prototype["break"]=function(){this.notify(a)};y.prototype.remove=function(){this.notify(z)};y.prototype.__initialize=function(ea,ba){this.visitor=ba;this.root=ea;this.__worklist=[];this.__leavelist=[];this.__fallback=this.__state=this.__current=null;"iteration"===ba.fallback?this.__fallback=Object.keys:"function"===typeof ba.fallback&&(this.__fallback=ba.fallback);this.__keys=e;ba.keys&&(this.__keys=Object.assign(Object.create(this.__keys),
3316
+ ba.keys))};y.prototype.traverse=function(ea,ba){var fa,ha,pa;this.__initialize(ea,ba);var oa={};var ka=this.__worklist;var ra=this.__leavelist;ka.push(new ca(ea,null,null,null));for(ra.push(new ca(null,null,null,null));ka.length;)if(ea=ka.pop(),ea===oa){ea=ra.pop();var qa=this.__execute(ba.leave,ea);if(this.__state===a||qa===a)break}else if(ea.node){qa=this.__execute(ba.enter,ea);if(this.__state===a||qa===a)break;ka.push(oa);ra.push(ea);if(this.__state!==w&&qa!==w){qa=ea.node;var sa=qa.type||ea.wrap;
3317
+ var ta=this.__keys[sa];if(!ta)if(this.__fallback)ta=this.__fallback(qa);else throw Error("Unknown node type "+sa+".");for(fa=ta.length;0<=--fa;){var wa=ta[fa];if(pa=qa[wa])if(Array.isArray(pa))for(ha=pa.length;0<=--ha;){if(pa[ha]&&!n(ra,pa[ha])){if(sa!==f.ObjectExpression&&sa!==f.ObjectPattern||"properties"!==ta[fa])if(x(pa[ha]))ea=new ca(pa[ha],[wa,ha],null,null);else continue;else ea=new ca(pa[ha],[wa,ha],"Property",null);ka.push(ea)}}else x(pa)&&!n(ra,pa)&&ka.push(new ca(pa,wa,null,null))}}}};
3318
+ y.prototype.replace=function(ea,ba){function fa(Da){if(Da.ref.remove()){var Fa=Da.ref.key;var Ca=Da.ref.parent;for(Da=ra.length;Da--;){var Ka=ra[Da];if(Ka.ref&&Ka.ref.parent===Ca){if(Ka.ref.key<Fa)break;--Ka.ref.key}}}}var ha,pa,oa;this.__initialize(ea,ba);var ka={};var ra=this.__worklist;var qa=this.__leavelist;var sa={root:ea};var ta=new ca(ea,null,null,new ia(sa,"root"));ra.push(ta);for(qa.push(ta);ra.length;)if(ta=ra.pop(),ta===ka){ta=qa.pop();var wa=this.__execute(ba.leave,ta);void 0!==wa&&wa!==
3319
+ a&&wa!==w&&wa!==z&&ta.ref.replace(wa);this.__state!==z&&wa!==z||fa(ta);if(this.__state===a||wa===a)break}else{wa=this.__execute(ba.enter,ta);void 0!==wa&&wa!==a&&wa!==w&&wa!==z&&(ta.ref.replace(wa),ta.node=wa);if(this.__state===z||wa===z)fa(ta),ta.node=null;if(this.__state===a||wa===a)break;if(ea=ta.node)if(ra.push(ka),qa.push(ta),this.__state!==w&&wa!==w){wa=ea.type||ta.wrap;var za=this.__keys[wa];if(!za)if(this.__fallback)za=this.__fallback(ea);else throw Error("Unknown node type "+wa+".");for(ha=
3320
+ za.length;0<=--ha;){var Aa=za[ha];if(oa=ea[Aa])if(Array.isArray(oa))for(pa=oa.length;0<=--pa;){if(oa[pa]){if(wa!==f.ObjectExpression&&wa!==f.ObjectPattern||"properties"!==za[ha])if(x(oa[pa]))ta=new ca(oa[pa],[Aa,pa],null,new ia(oa,pa));else continue;else ta=new ca(oa[pa],[Aa,pa],"Property",new ia(oa,pa));ra.push(ta)}}else x(oa)&&ra.push(new ca(oa,Aa,null,new ia(ea,Aa)))}}}return sa.root};la.Syntax=f;la.traverse=h;la.replace=function(ea,ba){return(new y).replace(ea,ba)};la.attachComments=function(ea,
3321
+ ba,fa){var ha=[],pa;if(!ea.range)throw Error("attachComments needs range information");if(!fa.length){if(ba.length){var oa=0;for(pa=ba.length;oa<pa;oa+=1)fa=ma(ba[oa]),fa.extendedRange=[0,ea.range[0]],ha.push(fa);ea.leadingComments=ha}return ea}oa=0;for(pa=ba.length;oa<pa;oa+=1)ha.push(b(ma(ba[oa]),fa));var ka=0;h(ea,{enter:function(ra){for(var qa;ka<ha.length;){qa=ha[ka];if(qa.extendedRange[1]>ra.range[0])break;qa.extendedRange[1]===ra.range[0]?(ra.leadingComments||(ra.leadingComments=[]),ra.leadingComments.push(qa),
3322
+ ha.splice(ka,1)):ka+=1}if(ka===ha.length)return aa.Break;if(ha[ka].extendedRange[0]>ra.range[1])return aa.Skip}});ka=0;h(ea,{leave:function(ra){for(var qa;ka<ha.length;){qa=ha[ka];if(ra.range[1]<qa.extendedRange[0])break;ra.range[1]===qa.extendedRange[0]?(ra.trailingComments||(ra.trailingComments=[]),ra.trailingComments.push(qa),ha.splice(ka,1)):ka+=1}if(ka===ha.length)return aa.Break;if(ha[ka].extendedRange[0]>ra.range[1])return aa.Skip}});return ea};la.VisitorKeys=e;la.VisitorOption=aa;la.Controller=
3323
+ y;la.cloneEnvironment=function(){return na({})};return la})(va)},function(ya,va,r){function la(){return vb.rd(function(ja){return ja.return(WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])))})}function na(){return vb.rd(function(ja){return ja.return(WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,6,64,25,11,11])))})}function ma(){return vb.rd(function(ja){return ja.return(WebAssembly.validate(new Uint8Array([0,
3324
+ 97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,3,1,0,1,10,14,1,12,0,65,0,65,0,65,0,252,10,0,0,11])))})}r.d(va,"a",function(){return ma});r.d(va,"b",function(){return na});r.d(va,"c",function(){return la})},function(ya,va,r){function la(){return function(){}}r.d(va,"a",function(){return la});r(460)},function(ya,va,r){function la(ca,y,x,n){return na(ca,y,x,n,!!WebAssembly.instantiateStreaming,void 0,void 0).then(function(h){Object(ma.b)("load","WASM compilation took ".concat(Date.now()-NaN," ms"));return h})}
3325
+ function na(ca,y,x,n,h,b,f){b=b||Date.now();if(h&&!n)return Object(ma.b)("load","Try instantiateStreaming"),fetch(Object(ja.a)(ca)).then(function(e){return WebAssembly.instantiateStreaming(e,y)}).catch(function(e){Object(ma.b)("load","instantiateStreaming Failed ".concat(ca," message ").concat(e.message));return na(ca,y,x,n,!1,b,f)});h=n?n.map(function(e,a){return"".concat(e,"PDFNetCWasm-chunk-").concat(a,".wasm")}):ca;return Object(ja.b)(h,x,!0,!0).then(function(e){f=Date.now();Object(ma.b)("load",
3326
+ "Request took ".concat(f-b," ms"));return WebAssembly.instantiate(e,y)})}r.d(va,"a",function(){return la});var ma=r(2),ja=r(201),ia=r(149);r.d(va,"b",function(){return ia.a})},function(ya,va,r){r.d(va,"a",function(){return ja});var la=r(40),na=r(130),ma=r(28),ja=960;ya=function(){function ia(){this.fG=this.xq=null;this.zoom=0;this.HFa=!0;this.QN=0;this.EA=this.bp=null}ia.prototype.create=function(ca,y,x,n,h){this.xq=y;this.fG=x;this.Lb=ca;this.DH=n;this.DF=h;this.EA=this.bp;this.QN=this.zoom;this.yw=
3327
+ this.bp=null;this.rw=!1};ia.prototype.iSa=function(ca){this.bp=ca};ia.prototype.Uj=function(ca,y){var x=this;if(x.rw)return!0;this.zoom=Math.sqrt(y.m_a*y.m_a+y.m_c*y.m_c);var n=0,h=this.zoom.toFixed(5)===this.QN.toFixed(5);if(!x.bp){n=Object(ma.b)();ca.S();ca.xVa=!0;ca.yJa=!0;ca.zJa=!0;ca.imageSmoothingQuality="high";ca.imageSmoothingEnabled=!0;ca.I(n[this.xq],0,0,this.fG.width,this.fG.height);ca.r();if(this.EA)for(n=0;n<this.EA.length;n++)this.EA[n].W8(ca,y,h?"rgba(0, 0, 255, 0.5)":"rgba(255, 0, 0, 0.5)");
3328
+ if(h=this.DH&&this.DF){n=new la.a;var b=1/this.zoom;n.Hb(y.m_a*b,y.m_b*b,y.m_c*b,y.m_d*b,y.m_h,y.m_v);n=n.inverse();y=new na.a;y.Hb(0,0,ca.canvas.width,ca.canvas.height);n.Eja(y);ca=[y.x1,y.y1,y.x2,y.y2];var f=x.DF;y=x.DH;x.DF=null;x.DH=null;this.yw=window.createPromiseCapability();var e=function(){x.rw||x.yw&&x.yw.resolve()};y(x.Lb,x.zoom,ca,ja).then(function(a){!x.rw&&a&&f(a,x,e)})}return!h}if(this.bp&&this.bp.length)for(n=0;n<this.bp.length;n++)this.bp[n].W8(ca,y,"rgba(0, 255, 0, 0.5)");return!0};
3329
+ ia.prototype.clone=function(){var ca=new ia;ca.xq=this.xq;ca.fG=this.fG;ca.Lb=this.Lb;ca.DH=this.DH;ca.DF=this.DF;ca.bp=this.bp;ca.EA=this.EA;ca.zoom=this.zoom;ca.QN=this.QN;return ca};ia.prototype.GA=function(){return this.yw?this.yw.promise:Promise.resolve()};ia.prototype.cancel=function(){this.rw=!0;this.yw&&this.yw.resolve()};return ia}();va.b=ya},function(ya,va){ya=function(){function r(la,na){this.sn=!la;this.height=this.width=0;this.Ee=null;la&&(this.width=na.width,this.height=na.height,this.rotation=
3330
+ na.rotation,this.Da=na.jb,this.It=la,this.zoom=na.zoom,this.Sg=na.Sg,this.di=na.di)}r.K7=function(la,na){var ma=new r(null,{});ma.Da="b".concat(la+1);ma.width=0;ma.height=0;ma.zoom=na.zoom;ma.rotation=0;ma.Sg=null;ma.di=null;ma.tFa=na.width;ma.lZa=na.height;return ma};r.prototype.et=function(){return this.Ee};r.prototype.Uaa=function(){return this.zoom};r.prototype.lf=function(){return this.rotation};r.prototype.qa=function(){return this.width*this.zoom};r.prototype.NV=function(){var la=this.width;
3331
+ this.sn&&(la=this.tFa);return la*this.zoom};r.prototype.na=function(){return Math.floor(this.height*this.zoom)};r.prototype.Ma=function(){return this.It};r.prototype.EQa=function(la){this.It=la};r.prototype.FHa=function(la){return this.sn&&la.sn||this.Ma()===la.Ma()};r.prototype.CX=function(la){return this.sn!==la.sn||!this.sn&&(this.Ma()!==la.Ma()||this.qa()!==la.qa()||this.na()!==la.na()||this.Uaa()!==la.Uaa()||this.lf()!==la.lf())};return r}();va.a=ya},function(ya,va,r){(function(la){function na(ia,
3332
+ ca){this.jj=ia;this.Doa=ca}var ma="undefined"!==typeof la&&la||"undefined"!==typeof self&&self||window,ja=Function.prototype.apply;va.setTimeout=function(){return new na(ja.call(setTimeout,ma,arguments),clearTimeout)};va.setInterval=function(){return new na(ja.call(setInterval,ma,arguments),clearInterval)};va.clearTimeout=va.clearInterval=function(ia){ia&&ia.close()};na.prototype.ref=function(){};na.prototype.close=function(){this.Doa.call(ma,this.jj)};va.OYa=function(ia,ca){clearTimeout(ia.AR);ia.B4=
3333
+ ca};va.S_a=function(ia){clearTimeout(ia.AR);ia.B4=-1};va.JXa=va.active=function(ia){clearTimeout(ia.AR);var ca=ia.B4;0<=ca&&(ia.AR=setTimeout(function(){ia.Upa&&ia.Upa()},ca))};r(552);va.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof la&&la.setImmediate||this&&this.setImmediate;va.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof la&&la.clearImmediate||this&&this.clearImmediate}).call(this,r(157))},function(ya,va,r){r.d(va,"a",function(){return na});
3334
+ r.d(va,"b",function(){return ma});var la=r(0),na=function(ja){function ia(ca,y,x,n){ca=ja.call(this,ca,y)||this;ca.kc=x;ca.offset=n;return ca}Object(la.c)(ia,ja);ia.create=function(ca,y,x,n,h){return new ia(y,x,ca.EE(n,y),h)};ia.copy=function(ca){return new ia(ca.Lb,ca.stream,ca.kc,ca.offset)};ia.prototype.ct=function(ca){return ca.aW(this.kc,this.Lb)};ia.prototype.isEqual=function(ca){return this.Lb===ca.Lb&&this.stream===ca.stream&&this.kc===ca.kc&&this.offset===ca.offset};ia.prototype.compare=
3335
+ function(ca,y){return this.Lb!==ca.Lb?this.Lb-ca.Lb:this.stream!==ca.stream?this.stream-ca.stream:this.kc!==ca.kc?y.aW(this.kc,this.Lb)-y.aW(ca.kc,ca.Lb):this.offset-ca.offset};ia.prototype.isBefore=function(ca,y){return 0>this.compare(ca,y)};ia.prototype.isAfter=function(ca,y){return 0<this.compare(ca,y)};return ia}(r(185).a),ma=function(){function ja(ia,ca){this.start=ia;this.end=ca}ja.prototype.contains=function(ia,ca){return 0>=this.start.compare(ia,ca)&&0<=this.end.compare(ia,ca)};return ja}()},
3336
+ function(ya,va){va.a={}},function(ya){var va=Object.prototype.toString;ya.exports=function(r){return va.call(r)}},function(ya){ya.exports=function(){return!1}},function(ya){ya.exports=function(va){var r=typeof va;return null!=va&&("object"==r||"function"==r)}},function(ya,va,r){var la=r(0),na=r(1);r.n(na);ya=r(10);ya=Object(ya.a)(window);ya.la=ya.la||{};ya.la.bd=ya.la.bd||{};ya=ya.la.bd;ya.ic={};var ma=ya.ic,ja=function(){return function(a){this.rc=!0;Object(na.isObject)(a)&&(Object(na.isString)(a.name)&&
3337
+ Object.defineProperty(this,"name",{value:a.name,enumerable:!0}),Object(na.isString)(a.type)&&Object.defineProperty(this,"type",{value:a.type,enumerable:!0}))}}();ma.Event=ja;ma.hq=function(a){if(Object(na.isNull)(a.value))return null;if(Array.isArray(a.value))return a.value;var w=String(a.value),z=a.change,aa=w.slice(0,a.selStart),ea=w.slice(a.selEnd);if(Object(na.isObject)(a.change)){var ba=a.selStart;a=a.selEnd;ba===a&&("backspace"===z.type?aa=w.slice(0,ba-1):"delete"===z.type&&(ea=w.slice(a+1)));
3338
+ z=""}return aa+z+ea};ya=function(a){function w(z){var aa=a.call(this,z)||this,ea;Object(na.isObject)(z)&&(ea=z.value);Object.defineProperty(aa,"value",{value:ea,writable:!0,enumerable:!0});return aa}Object(la.c)(w,a);return w}(ja);va=function(a){function w(z){var aa=a.call(this,z)||this;if(Object(na.isObject)(z)){var ea=z.value;var ba=z.source}Object.defineProperties(aa,{value:{value:ea,writable:!0,enumerable:!0},source:{value:ba,enumerable:!0}});return aa}Object(la.c)(w,a);return w}(ja);r=function(a){function w(z){var aa=
3339
+ a.call(this,z)||this,ea;Object(na.isObject)(z)&&(ea=z.value);Object.defineProperty(aa,"value",{value:ea,writable:!0,enumerable:!0});return aa}Object(la.c)(w,a);return w}(ja);var ia=function(a){function w(z){var aa=a.call(this,z)||this;ma.Event.call(aa,z);if(Object(na.isObject)(z)){var ea=z.value;var ba=z.change;var fa=z.changeEx;var ha=z.selStart;var pa=z.selEnd;var oa=z.willCommit}ea="undefined"!==typeof ea?ea:"";ba="undefined"!==typeof ba||Object(na.isString)(ba)?ba:"";fa="undefined"!==typeof fa||
3340
+ Object(na.isString)(fa)?fa:"";pa="undefined"!==typeof pa?pa:(null===ea||void 0===ea?void 0:ea.length)||0;Object.defineProperties(aa,{value:{value:ea,writable:!0,enumerable:!0},change:{value:ba,writable:!0,enumerable:!0},changeEx:{value:fa,writable:!0,enumerable:!0},selStart:{value:"undefined"!==typeof ha?ha:0,writable:!0,enumerable:!0},selEnd:{value:pa,writable:!0,enumerable:!0},willCommit:{value:oa||!1,enumerable:!0}});return aa}Object(la.c)(w,a);return w}(ja),ca=function(a){function w(z){return a.call(this,
3341
+ z)||this}Object(la.c)(w,a);return w}(ja),y=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja),x=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja),n=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja),h=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja),b=function(a){function w(z){var aa=a.call(this,z)||this,ea;Object(na.isObject)(z)&&(ea=z.value);Object.defineProperty(aa,
3342
+ "value",{value:ea,writable:!0,enumerable:!0});return aa}Object(la.c)(w,a);return w}(ja),f=function(a){function w(z){var aa=a.call(this,z)||this;ma.Event.call(aa,z);var ea;Object(na.isObject)(z)&&(ea=z.targetName);Object.defineProperty(aa,"targetName",{value:ea||"",writable:!0,enumerable:!0});return aa}Object(la.c)(w,a);return w}(ja);ja=function(a){function w(z){return a.call(this,z)||this}Object(la.c)(w,a);return w}(ja);var e={Validate:ya,Calculate:va,Format:r,Keystroke:ia,"Mouse Enter":ca,"Mouse Leave":y,
3343
+ "Mouse Up":x,"Mouse Down":n,Focus:h,Blur:b,Open:f,Close:ja};ma.create=function(a,w){return e[a]?new e[a](w):null};ma.xa={create:function(a,w,z){z=Object.assign({name:a,type:"Field",value:w.vc()},z);return(a=ma.create(a,z))?(Object.defineProperties(a,{target:{value:w,writable:!0,enumerable:!0},targetName:{value:w.name,enumerable:!0},modifier:{value:null,enumerable:!0},shift:{value:null,enumerable:!0}}),a):null}};ma.d2={create:function(a,w,z){z=Object.assign({name:a,type:"Doc",targetName:""},z);return(a=
3344
+ ma.create(a,z))?(Object.defineProperty(a,"target",{value:w,writable:!0,enumerable:!0}),a):null}};ma.yI={create:function(a,w,z){z=Object.assign({name:a,type:"Page"},z);return(a=ma.create(a,z))?(Object.defineProperty(a,"target",{value:w,writable:!0,enumerable:!0}),a):null}};ma.se={create:function(a,w){return ma.create(a,w)}}},function(ya,va,r){var la=r(0);ya=r(10);r=r(86);var na=window.da.Annotations||{},ma=function(ja){function ia(ca){var y=ja.call(this,ca)||this;y.LR=!1;y.Id=null;y.Printable=!0;y.Ox=
3345
+ !0;y.Nx=!0;y.DateModified=null;y.Ge(ca);return y}Object(la.c)(ia,ja);ia.prototype.mca=function(){return this.LR};ia.prototype.open=function(){this.LR=!0};ia.prototype.close=function(){this.LR=!1};ia.prototype.serialize=function(ca){ca=na.Annotation.prototype.serialize.apply(this,arguments);this.mca()&&ca.setAttribute("open","yes");return ca};ia.prototype.deserialize=function(ca){this.Printable=!1;na.Annotation.prototype.deserialize.apply(this,arguments);var y=ca.getAttribute("open");y&&"yes"===y?
3346
+ this.open():this.close()};return ia}(r.b);ma.prototype.elementName="popup";ma.prototype=Object.assign(new r.b,ma.prototype);va.a=ma;Object(ya.a)(window).zI=ma},function(ya,va,r){var la=r(0),na=r(4),ma=r(36);ya=r(101);var ja=r(54),ia=r(20);r=r(10);var ca=function(y){function x(n){var h=y.call(this,n)||this;h["_xsi:type"]="Caret";h.Subject=ia.a.Wd("caret");h.StrokeThickness=0;h.hn=null;h.Ge(n);return h}Object(la.c)(x,y);x.prototype.draw=function(n,h){this.ad(n,h);var b=this.Width;h=this.Height;var f=
3347
+ Number(this.Rotation);if(90===f||270===f)f=b,b=h,h=f;n.translate(this.X,this.Y);n.rotate(-this.Rotation*Math.PI/180);f=Object(ma.f)((360-this.Rotation)%360,this.Width,this.Height);n.translate(-f.dx,-f.dy);n.translate(-this.X,-this.Y);n.beginPath();n.fillStyle=this.StrokeColor.toString();b=new na.d(this.X,this.Y,this.X+b,this.Y+h);f=(b.x1+b.x2)/2;h=b.y1+3*h/4;n.moveTo(f,b.y1);n.quadraticCurveTo(f,h,b.x1,b.y2);n.lineTo(b.x2,b.y2);n.quadraticCurveTo(f,h,f,b.y1);n.closePath();n.fill();n.stroke()};x.prototype.deserialize=
3348
+ function(n,h,b){y.prototype.deserialize.call(this,n,h,b);h=Number(this.Rotation);if(90===h||270===h)h=this.Width,this.Width=this.Height,this.Height=h;this.StrokeThickness=0;this.Sm(n,"symbol")};x.prototype.serialize=function(n,h){if(this.Kb)return this.Kb;var b=Number(this.Rotation);if(90===b||270===b){var f=this.Width;this.Width=this.Height;this.Height=f}y.prototype.serialize.call(this,n,h);if(90===b||270===b)f=this.Width,this.Width=this.Height,this.Height=f;this.Wg(n,"symbol");n.removeAttribute("width");
3349
+ return n};return x}(ja.a);ca.prototype.elementName="caret";ca.prototype.selectionModel=ya.a;ca.prototype=Object.assign(new ja.a,ca.prototype);va.a=ca;Object(r.a)(window).dI=ca},function(ya,va,r){var la=r(0),na=r(1);r.n(na);var ma=r(11),ja=r(175);ya=r(297);var ia=r(2),ca=r(44),y=r(54),x=r(20),n=r(4);r=r(10);var h,b=(h={},h.Graph={width:31,height:31},h.Paperclip={width:14,height:34},h.PushPin={width:26,height:32},h.Tag={width:32,height:28},h.Outlook={width:10,height:24},h);h=function(f){function e(a){var w=
3350
+ f.call(this,a)||this;w.padding=0;w["_xsi:type"]="fileattachment";w.Subject=x.a.Wd("fileattachment");w.ul="Paperclip";w.kn=null;w.fC=!0;w.KI=!0;w.Ox=!0;w.Nx=!0;var z=b[w.ul],aa=z.height;w.Width=z.width;w.Height=aa;w.StrokeColor=new ma.a("#000000");w.bJ=null;w.fv=null;w.mimeType=null;w.filename=null;w.encoding=null;w.filter="FlateDecode";w.fv=null;w.Ge(a);return w}Object(la.c)(e,f);e.prototype.draw=function(a){a.globalAlpha=0===this.Opacity?0:this.Opacity||1;a.translate(this.X,this.Y);switch(this.Icon){case "Paperclip":this.U8(a);
3351
+ break;case "Outlook":this.U8(a);break;case "Graph":this.zxa(a);break;case "Tag":this.cya(a);break;default:this.Rxa(a)}};e.prototype.Rxa=function(a){var w=this.Width,z=w/10,aa=w/12,ea=w-z,ba=2*aa;a.fillStyle=this.Color;a.lineWidth=0;a.beginPath();a.moveTo(z+z,ba);a.lineTo(ea-z,ba);a.lineTo(ea-z,ba+.8*aa);w/=2;var fa=1*z,ha=ba+2*aa;a.lineTo(w+fa,ha);var pa=3*aa;a.lineTo(w+fa,ha+pa);var oa=ha+pa;a.lineTo(ea-.5*z,oa+1.5*z);a.lineTo(ea-.5*z,oa+2*z);a.lineTo(z+.5*z,oa+2*z);a.lineTo(z+.5*z,oa+1.5*z);a.lineTo(w-
3352
+ fa,ha+pa);a.lineTo(w-fa,ha);a.lineTo(z+z,ba+.8*aa);a.closePath();a.fill();ea=oa+2*z;z*=.5;a.beginPath();a.fillStyle="grey";a.moveTo(w+z,ea);a.lineTo(w,ea+4*aa);a.lineTo(w-z,ea);a.closePath();a.fill();a.stroke()};e.prototype.zxa=function(a){var w=this.Width,z=this.Height,aa=w/10,ea=z/10,ba=z-ea,fa=1.4*aa,ha=fa/2,pa=this.Color;a.strokeRect(0,z,w,-z);w=3*ea;z=5*ea;var oa=7*ea,ka=aa+fa+ha,ra=ka+fa+ha;ha=ra+fa+ha;a.fillStyle=pa;a.fillRect(aa,ba,fa,-(7*ea));a.fillRect(ka,ba,fa,-w);a.fillRect(ra,ba,fa,-z);
3353
+ a.fillRect(ha,ba,fa,-oa)};e.prototype.U8=function(a){var w=this.Width,z=this.Height,aa=w/6,ea=z/8,ba=aa/2;z-=ea;w-=2*aa;var fa=1*Math.PI;a.lineWidth=2.25*(this.StrokeThickness||2);a.strokeStyle="black";a.lineCap="round";a.beginPath();a.moveTo(ba+1.5*aa,ea+3*ea);a.lineTo(ba+1.5*aa,ea+4.5*ea);a.arc(w/2+ba+.5*aa,z-1.5*ea,aa,fa,0,!0);a.lineTo(w/2+4*ba,ea+ea);a.arc(w/2+ba,ea+ea,1.5*aa,0,fa,!0);a.lineTo(w/2-2*ba,z-ea);a.arc(w/2+ba+.5*aa,z-ea,2*aa,fa,0,!0);a.lineTo(w+2*ba,z-2*ea);a.stroke();a.lineWidth=
3354
+ this.StrokeThickness||2;a.strokeStyle=this.StrokeColor.wx();a.stroke()};e.prototype.cya=function(a){var w=this.Width,z=this.Height,aa=w/10,ea=z/10;w-=aa;var ba=z-ea;a.fillStyle=this.Color;a.lineJoin="round";a.lineWidth=1;a.beginPath();a.moveTo(aa,z/2);a.lineTo(aa+2*aa,ea);a.lineTo(w,ea);a.lineTo(w,ba);a.lineTo(aa+2*aa,ba);a.lineTo(aa,z/2);a.closePath();a.stroke();a.fill();z=aa+2*aa;a.beginPath();a.moveTo(z+aa,3*ea);a.lineTo(w-aa,3*ea);a.moveTo(z,5*ea);a.lineTo(w-aa,5*ea);a.moveTo(z+aa,7*ea);a.lineTo(w-
3355
+ aa,7*ea);a.stroke()};e.prototype.F$=function(){return{mimeType:this.mimeType,filename:this.filename,fileName:this.filename}};e.prototype.sE=function(){return this.filename};e.prototype.iP=function(a){this.filename=a};e.prototype.ZQa=function(a){this.mimeType=a};e.prototype.getFileData=function(){return Object(la.b)(this,void 0,Promise,function(){var a,w,z,aa,ea;return Object(la.d)(this,function(ba){switch(ba.label){case 0:a=this.bJ;w=this.filter;z=null;if("raw"!==this.mode)return[2,new Blob([z],{type:"text/plain"})];
3356
+ if(!w)return ia.i("No compression method was defined for the ".concat(this.filename," file attachment")),[2];aa=w.split(",").map(function(fa){return fa.trim()});if(1<aa.length)return ia.i("Multi-pass fileattachment compression is not supported at this time"),[2];ea=a.match(/[a-fA-F0-9]{2}/g).map(function(fa){return parseInt(fa,16)});z=new Uint8Array(ea);return[4,Object(ja.b)(aa[0],z)];case 1:return z=ba.aa(),[2,new Blob([z],{type:this.mimeType})]}})})};e.prototype.Hha=function(a,w,z){return Object(la.b)(this,
3357
+ void 0,Promise,function(){var aa;return Object(la.d)(this,function(ea){switch(ea.label){case 0:return this.fv=a.byteLength,aa=this,[4,Object(ja.a)(a)];case 1:return aa.bJ=ea.aa(),this.iP(z),this.ZQa(w),this.encoding="hex",this.filter="FlateDecode",this.mode="raw",[2]}})})};e.prototype.K$=function(){return Object(la.b)(this,void 0,Promise,function(){var a,w,z,aa,ea,ba;return Object(la.d)(this,function(fa){switch(fa.label){case 0:return[4,this.getFileData()];case 1:return a=fa.aa(),w=this.F$(),z=w.mimeType,
3358
+ aa=w.filename,ea=/[^\\\/]+$/g,ba=aa.match(ea)[0],[2,{annotation:this,fileData:a,filename:ba,mimeType:z,fileName:ba}]}})})};e.prototype.serialize=function(a,w){a=f.prototype.serialize.call(this,a,w);a.setAttribute("icon",this.Icon);w=this.bJ;var z=document.createElementNS("","data");a.setAttribute("mimetype",this.mimeType);a.setAttribute("file",this.sE());w&&(this.mode&&z.setAttributeNS("","mode",this.mode),this.filter&&z.setAttributeNS("","filter",this.filter),this.encoding&&z.setAttributeNS("","encoding",
3359
+ this.encoding),this.fv&&z.setAttributeNS("","length",this.fv.toString()),z.textContent=w,a.appendChild(z));return a};e.prototype.deserialize=function(a){var w;y.a.prototype.deserialize.apply(this,arguments);var z=a.getAttribute("icon")||"PushPin";this.Icon=z;b[z].width=this.Width;b[z].height=this.Height;"Outlook"!==z&&(z=null===(w=a.getAttribute("flags"))||void 0===w?void 0:w.split(",").includes("nozoom"),this.NoZoom&&z||(w=new n.d(a.getAttribute("rect").split(",").map(Number)),this.Width=w.qa(),
3360
+ this.Height=w.na()));w=a.getElementsByTagName("data")[0];Object(na.isUndefined)(w)||(this.bJ=w.textContent,this.mimeType=a.getAttribute("mimetype"),this.filename=a.getAttribute("file"),this.encoding=w.getAttribute("encoding"),this.mode=w.getAttribute("MODE")||w.getAttribute("mode")||null,this.filter=w.getAttribute("filter")||"FlateDecode",this.fv=Number(w.getAttribute("length")))};return e}(y.a);h.prototype.elementName="fileattachment";h.prototype.selectionModel=ya.a;h.prototype=Object.assign(new y.a,
3361
+ h.prototype);Object(ca.a)(h.prototype,{Icon:{get:function(){return this.ul},set:function(f){this.ul=f;this.Width=b[this.ul].width;this.Height=b[this.ul].height;this.Ia()}}});va.a=h;Object(r.a)(window).yu=h},function(ya,va,r){var la=r(0),na=r(1);r.n(na);var ma=r(11),ja=r(36);ya=r(117);var ia=r(20);r=r(10);var ca=function(y){function x(n){var h=y.call(this,n)||this;h.vl=new ma.a(255,255,0);h["_xsi:type"]="Highlight";h.Subject=ia.a.Wd("highlight");h.Opacity=1;h.BlendMode="multiply";h.Ge(n);return h}
3362
+ Object(la.c)(x,y);x.prototype.draw=function(n,h){this.ad(n,h);Object(ja.i)("multiply")&&this.BlendMode||!(Object(na.isUndefined)(this.Opacity)||Object(na.isNull)(this.Opacity)||this.Opacity>x.opacityCap)||(n.globalAlpha=x.opacityCap);n.fillStyle=this.StrokeColor.toString();n.beginPath();for(var b=0;b<this.Quads.length;b++)h=this.Quads[b],n.moveTo(h.x1,h.y1),n.lineTo(h.x2,h.y2),n.lineTo(h.x3,h.y3),n.lineTo(h.x4,h.y4);n.fill()};x.opacityCap=.3;return x}(ya.a);ca.prototype.elementName="highlight";ca.prototype=
3363
+ Object.assign(new ya.a,ca.prototype);va.a=ca;Object(r.a)(window).MQ=ca},function(ya,va,r){var la=r(0);ya=r(117);var na=r(20);r=r(10);ya=function(ma){function ja(ia){var ca=ma.call(this,ia)||this;ca["_xsi:type"]="Strikeout";ca.Subject=na.a.Wd("strikeout");ca.Ge(ia);return ca}Object(la.c)(ja,ma);ja.prototype.draw=function(ia,ca){this.ad(ia,ca);0===this.StrokeThickness&&(ia.lineWidth=1);for(ca=0;ca<this.yi.length;ca++){var y=this.yi[ca];var x=(y.x1+y.x4)/2,n=(y.y1+y.y4)/2,h=(y.x2+y.x3)/2;y=(y.y2+y.y3)/
3364
+ 2;ia.beginPath();ia.moveTo(x,n);ia.lineTo(h,y);ia.stroke()}};return ja}(ya.a);ya.prototype.elementName="strikeout";va.a=ya;Object(r.a)(window).EI=ya},function(ya,va,r){var la=r(0),na=r(2);ya=r(176);var ma=r(104),ja=r(39),ia=r(3),ca=r(519),y=r(33),x=r(9),n=r(27),h=!1;r=function(b){function f(){var e=null!==b&&b.apply(this,arguments)||this;e.Oi=!0;e.uqa={};e.OR={};e.kka=window.createPromiseCapability();e.j5=[];e.vR=!1;return e}Object(la.c)(f,b);f.prototype.loadAsync=function(e,a,w){return Object(la.b)(this,
3365
+ void 0,void 0,function(){var z,aa,ea,ba,fa,ha,pa,oa,ka,ra,qa,sa,ta,wa,za,Aa,Da=this;return Object(la.d)(this,function(Fa){switch(Fa.label){case 0:z=!1;aa=function(){z||(z=!0,Da.Ri=a())};ea=function(Ca){z||(z=!0,Da.Ri=a(Ca));var Ka=Da.Oi;setTimeout(function(){Da.kka.resolve();var La=Da.Ri.Ib();Ka&&La&&La.getDocument()&&(La.Fb.Jp(),La.sf())},0);Da.Oi=!1;h=Da.Fpa=!0};h||(this.transport={mD:function(){},addEventListener:function(){},q7:function(){},uV:function(){return{XXa:"",promise:Promise.resolve({})}},
3366
+ $s:function(){return[]},WK:function(){}});h&&(this.Oi=!1);b.prototype.loadAsync.call(this,e,ea,w);if(!e.url)return[3,9];this.yg=new ca.a(e.url,e.Sf);return[4,this.yg.init()];case 1:return Fa.aa(),[4,e.getFile()];case 2:ba=Fa.aa(),fa=void 0,ba&&"string"===typeof ba?fa={url:ba}:ba&&"string"!==typeof ba&&ba.url&&(fa=ba),Fa.label=3;case 3:return Fa.hd.push([3,7,,8]),fa?[4,this.R$(fa,e.withCredentials)]:[3,5];case 4:return ha=Fa.aa(),ha.tG&&ha.size===ha.VLa&&(this.tG=ha.tG,this.HZ=ha.HZ),[3,6];case 5:this.Oi=
3367
+ !1,Fa.label=6;case 6:return[3,8];case 7:return pa=Fa.aa(),Object(na.i)(pa),this.Oi=!1,[3,8];case 8:return[3,10];case 9:this.Oi=!1,Fa.label=10;case 10:if(!this.tG)return[3,15];oa=void 0;Fa.label=11;case 11:return Fa.hd.push([11,13,,14]),[4,this.yg.$Ka(e.url,this.tG,this.HZ)];case 12:return oa=Fa.aa(),this.j5=Object.keys(oa.thumbs).map(function(Ca){return parseInt(Ca,10)-1}),[3,14];case 13:return ka=Fa.aa(),Object(na.i)(ka),this.Oi=!1,[2];case 14:this.xS(oa.pages);ra={};qa=oa.thumbs;sa=0;for(ta=this.ea.length;sa<
3368
+ ta;sa++)wa=sa+1,za=qa[wa],Aa=void 0,Aa=za&&za.page_objnum?"".concat(za.page_objnum,"-0"):sa,ra[wa]=this.ea[sa],ra[wa].id=Aa;this.iJ=!0;this.NS({pageDimensions:ra});this.yg.LLa(this.Qq);aa();return[3,16];case 15:this.Oi=!1,Fa.label=16;case 16:return[2]}})})};f.prototype.loadCanvasAsync=function(e){var a=e.pageNumber-1,w=this.ea[a];if(w){var z=e.getZoom(),aa=e.getPageRotation(),ea=e.renderRect,ba=e.getPageTransform(),fa=e.canvasNum,ha=e.multiplier||Object(n.k)(),pa="undefined"===typeof ea,oa=aa===ia.f.MYa||
3369
+ aa===ia.f.LYa;if(pa){var ka=(oa?this.ea[a].height:this.ea[a].width)*z;oa=(oa?this.ea[a].width:this.ea[a].height)*z}else ka=(oa?ea.y2-ea.y1:ea.x2-ea.x1)*z,oa=(oa?ea.x2-ea.x1:ea.y2-ea.y1)*z;ka=Math.round(ka);oa=Math.round(oa);var ra=Math.floor(ka*ha),qa=Math.floor(oa*ha),sa=!1,ta=!0;this.yg&&this.yg.PM(w)&&(sa=!0,ta=null===this.Fa||this.yg.Wsa(w,Math.max(ra,qa))&&pa);this.vR&&(sa=!1);w=e.isInternalRender||e.allowUseOfOptimizedThumbnail;return sa&&ta&&w&&!this.ex?(ka=Math.round(ka),oa=Math.round(oa),
3370
+ e.fca&&(z=ha),this.L3({pL:e.drawProgressive,mL:function(wa,za){e.fca&&wa.classList.add("embedded-thumb");e.drawComplete(wa,a+1,za)},hO:ka,eO:oa,iO:z,Kt:aa,page:this.ea[a],Bd:ea},!0,fa,ba,e.pageCanvas,ha),z="ppid-".concat(a),this.OR[z]=!0,z):this.Ig(b.prototype.loadCanvasAsync,[e])}};f.prototype.extractXFDF=function(){return this.Ig(b.prototype.extractXFDF,arguments)};f.prototype.getLayersArray=function(){return this.Ig(b.prototype.getLayersArray,arguments)};f.prototype.getBookmarks=function(){return this.Ig(b.prototype.getBookmarks,
3371
+ arguments)};f.prototype.loadTextData=function(){return this.Ig(b.prototype.loadTextData,arguments)};f.prototype.textSearch=function(){return this.Ig(b.prototype.textSearch,arguments)};f.prototype.getFileData=function(){return this.Ig(b.prototype.getFileData,arguments)};f.prototype.Uk=function(){return this.Ig(b.prototype.Uk,arguments)};f.prototype.Ui=function(){return this.Ig(b.prototype.Ui,arguments)};f.prototype.ir=function(){return this.Ig(b.prototype.ir,arguments)};f.prototype.al=function(){return this.Ig(b.prototype.al,
3372
+ arguments)};f.prototype.qf=function(){return this.Ig(b.prototype.qf,arguments)};f.prototype.Vh=function(){return this.Ig(b.prototype.Vh,arguments)};f.prototype.yh=function(){return this.Ig(b.prototype.yh,arguments)};f.prototype.kf=function(){return this.Ig(b.prototype.kf,arguments)};f.prototype.Po=function(){return this.Ig(b.prototype.Po,arguments)};f.prototype.bu=function(){return this.iJ?!0:b.prototype.bu.call(this)};f.prototype.unloadResources=function(){this.uqa={};this.yg&&this.yg.clear();if(!this.Oi)return b.prototype.unloadResources.call(this)};
3373
+ f.prototype.JM=function(){return this.Oi||this.iJ};f.prototype.qo=function(){return this.Oi?this.iJ:b.prototype.qo.call(this)};f.prototype.ZL=function(){return this.j5};f.prototype.loadThumbnailAsync=function(e,a,w){var z=this.ea[e-1];if(!this.vR&&this.yg&&this.yg.PM(z)){var aa=this.yg.ew(z.id,{width:z.width,height:z.height,rotation:z.rotation},function(ea,ba){if(ea)Object(na.f)(ea.toString());else{var fa=new Image;fa.onload=function(){fa.classList.add("embedded-thumb");a(fa);fa=fa.onload=null};fa.src=
3374
+ ba}});this.OR[aa]=!0}else"embedded"!==w&&(aa=b.prototype.loadThumbnailAsync.call(this,e,a,w));return aa};f.prototype.L3=function(e,a,w,z,aa,ea){var ba=this,fa=e.FU?e.FU:Object(ja.a)().setUpCanvas(e.page,e.iO,e.Kt,z,w,e.Bd,aa,ea).canvas,ha=fa.getContext("2d"),pa=e.page.pageNum;this.yg.ew(e.page.id,{width:e.page.width,height:e.page.height,rotation:e.page.rotation},function(oa,ka){if(oa)Object(na.f)(oa.toString());else{var ra=new Image;ra.onload=function(){z?1===e.Kt||3===e.Kt?ha.drawImage(ra,0,0,z.height,
3375
+ z.width):ha.drawImage(ra,0,0,z.width,z.height):ha.drawImage(ra,0,0,e.page.width,e.page.height);e.page&&ba.drawWatermark(fa,e.page.XV());if(ba.ea[pa-1])var qa=ba.ea[pa-1].id;e.pL(fa,qa);a&&e.mL(fa);a&&delete ba.po[e.id];ra=ra.onload=null;ba.oe({type:x.a.Events.EMBEDDED_THUMBNAIL_COMPLETE,data:pa})};ra.src=ka}})};f.prototype.wK=function(e,a,w,z,aa,ea,ba,fa,ha){if(this.Oi&&this.yg&&this.yg.PM(z.page))return this.L3(z,aa,ea,ba,fa,ha);if(!this.Oi)return this.$I&&(z.page=this.ea[z.page.XV()-1]),this.Ig(b.prototype.wK,
3376
+ [e,a,w,z,aa,ea,ba,fa,ha])};f.prototype.xk=function(e){this.OR[e]?this.yg.oT(e):b.prototype.xk.call(this,e)};f.prototype.fI=function(e){var a=new ma.a(e.w,e.h),w=e.mtx;a.matrix=new y.a;a.matrix.Hb(w[0],w[1],w[2],w[3],w[4],w[5]);var z=this.ts(a.matrix);a.matrix=this.OG(w,{w:e.w,h:e.h});a.rotation=z/90;return a};f.prototype.xS=function(e){if(0!==e.length)for(var a=0,w=e.length;a<w;++a)for(var z=e[a],aa=Math.min(this.ea.length,z.i-1),ea=z.i+z.n-2;ea>=aa;--ea)this.ea[ea]=this.fI(z)};f.prototype.OG=function(e,
3377
+ a){return this.Oi&&!Array.isArray(e)||e instanceof y.a?e:b.prototype.OG.call(this,e,a)};f.prototype.Ig=function(e,a){var w=this;return this.Fpa?e.apply(this,a):this.kka.promise.then(function(){var z=e.apply(w,a);if(z&&z.then)return z})};f.prototype.WD=function(e,a){if(this.iJ&&!this.$I){for(var w=Object.keys(e),z={},aa=0,ea=w.length;aa<ea;aa++)e.hasOwnProperty(w[aa])&&(z[parseInt(w[aa],10)-1]=e[w[aa]].id);this.lZ=!1;this.oe({type:"changePageIds",data:z});this.$I=!0}return b.prototype.WD.call(this,
3378
+ e,a)};f.prototype.eF=function(e){var a=this;e.forEach(function(w){a.yg&&a.yg.PM(w)&&a.yg.eOa(w)});this.Ri.Ib().va().querySelectorAll(".pageContainer .embedded-thumb").forEach(function(w){w.parentNode.removeChild(w)})};f.prototype.updateRasterizerOptions=function(e){this.vR=!0;b.prototype.updateRasterizerOptions.call(this,e)};return f}(ya.a);va.a=r},function(ya,va,r){var la=r(351);va.a=function(na,ma,ja){for(var ia=[],ca=0;16>ca;++ca){ia[ca]=ca;ca<ma.length&&(ia[ca]|=ma.charCodeAt(ca));var y=ja.length+
3379
+ ca-16;0<=y&&(ia[ca]|=ja.charCodeAt(y))}ma=[];for(ja=0;16>ja;++ja)ma.push(na.charCodeAt(ja));na=na.slice(16);ia=la.a.ks.lTa(ia,ma);ia.update(la.a.yx.createBuffer(na));return ia.finish()?ia.output.data:{error:"Bad password or file corrupt"}}},function(ya,va,r){ya=r(461);va.a=ya.a},function(ya,va,r){r.d(va,"a",function(){return la});var la="optimized/"},function(ya){var va;(function(){function r(la,na,ma,ja,ia){for(var ca=ja,y,x=na+1;x<ma;x++){var n=la[x];var h=la[na],b=la[ma],f=h.x;h=h.y;var e=b.x-
3380
+ f,a=b.y-h;if(0!==e||0!==a){var w=((n.x-f)*e+(n.y-h)*a)/(e*e+a*a);1<w?(f=b.x,h=b.y):0<w&&(f+=e*w,h+=a*w)}e=n.x-f;a=n.y-h;n=e*e+a*a;n>ca&&(y=x,ca=n)}ca>ja&&(1<y-na&&r(la,na,y,ja,ia),ia.push(la[y]),1<ma-y&&r(la,y,ma,ja,ia))}!(va=function(la,na,ma){if(2>=la.length)return la;na=void 0!==na?na*na:1;if(ma)var ja=la;else{ma=la[0];for(var ia=[ma],ca=1,y=la.length;ca<y;ca++){ja=la[ca];var x=ja.x-ma.x,n=ja.y-ma.y;x*x+n*n>na&&(ia.push(ja),ma=ja)}ma!==ja&&ia.push(ja);ja=ia}ja=la=ja;la=ja.length-1;ma=[ja[0]];r(ja,
3381
+ 0,la,na,ma);ma.push(ja[la]);return la=ma},void 0!==va&&(ya.exports=va))})()},function(ya,va,r){function la(x){var n=document.createElement("style");n.textContent="\n .ql-editor .ql-font-".concat(x.family," {\n font-family: ").concat(x.family,", serif, sans-serif !important;\n }\n ");document.head.appendChild(n)}function na(x,n){return Object(ma.b)(this,void 0,Promise,function(){var h,b,f,e,a,w=this;return Object(ma.d)(this,function(z){switch(z.label){case 0:h=Object(ja.c)()||"https://www.pdftron.com/webfonts/v2";
3382
+ if(!x||!n)return[2,void 0];z.label=1;case 1:return z.hd.push([1,4,,5]),b="".concat(x,":").concat(n),ia[b]||(ia[b]=function(){return Object(ma.b)(w,void 0,Promise,function(){var aa;return Object(ma.d)(this,function(ea){switch(ea.label){case 0:return[4,ca.Core.PDFNet.initialize()];case 1:return ea.aa(),[4,ca.Core.PDFNet.runWithCleanup(function(){return Object(ma.b)(this,void 0,void 0,function(){var ba,fa;return Object(ma.d)(this,function(){ba='{"family": "'.concat(x,'"}');fa=ca.Core.PDFNet.WebFontDownloader.selectWebFont(ba,
3383
+ n.trim());return[2,fa]})})})];case 2:return aa=ea.aa(),[2,aa]}})})}),[4,ia[b]()];case 2:f=z.aa();delete ia[b];if(["undefined","null","",null,void 0].includes(f))return[2,void 0];e=f.replace(".ttf","").replace(".otf","");if(!e.length)return[2,void 0];if(y[e])return[2,y[e]];a=new FontFace(e,"url('".concat(h,"/").concat(f,"')"));document.fonts.add(a);return[4,a.load()];case 3:return z.aa(),y[e]=a,la(a),[2,a];case 4:return z.aa(),[2,void 0];case 5:return[2]}})})}r.d(va,"a",function(){return na});var ma=
3384
+ r(0),ja=r(31),ia={},ca=window,y={}},function(ya,va){ya=function(){function r(la,na){this.resources={};this.vx=this.xq=this.text=this.Ud=null;this.Da=la;this.bc=na}r.prototype.clone=function(){var la=new r(this.Da,this.bc);la.resources=JSON.parse(JSON.stringify(this.resources));la.Ud=this.Ud.clone();la.vx=this.vx;return la};return r}();va.a=ya},function(ya,va,r){function la(ia,ca,y){return Object(ma.b)(this,void 0,void 0,function(){var x,n,h,b,f;return Object(ma.d)(this,function(e){switch(e.label){case 0:return x=
3385
+ {cmd:"setTextReflow",textReflow:ia},[4,Object(ja.d)(ca,x)];case 1:return n=e.aa(),[4,n.promise];case 2:e.aa();if(!y.Ij())return[3,4];h=null===(f=y.ja.ia().cc()[0])||void 0===f?void 0:f.Va("contentEditBoxId");b=y.vd(h);(null===b||void 0===b?0:b.Gf())&&b.vB();y.iz();return[4,y.px()];case 3:e.aa(),e.label=4;case 4:return[2]}})})}function na(ia){return Object(ma.b)(this,void 0,void 0,function(){var ca,y,x;return Object(ma.d)(this,function(n){switch(n.label){case 0:return ca={cmd:"getTextReflow"},[4,Object(ja.d)(ia,
3386
+ ca)];case 1:return y=n.aa(),[4,y.promise];case 2:return x=n.aa(),[2,x.textReflow]}})})}r.d(va,"b",function(){return la});r.d(va,"a",function(){return na});var ma=r(0),ja=r(13)},function(ya,va,r){var la=r(613),na=r(340),ma=r(614),ja=r(274),ia=r(615),ca=r(341),y=r(439),x=r(396),n=Object.prototype.hasOwnProperty;ya.exports=function(h){if(null==h)return!0;if(ia(h)&&(ja(h)||"string"==typeof h||"function"==typeof h.splice||ca(h)||x(h)||ma(h)))return!h.length;var b=na(h);if("[object Map]"==b||"[object Set]"==
3387
+ b)return!h.size;if(y(h))return!la(h).length;for(var f in h)if(n.call(h,f))return!1;return!0}},function(ya,va,r){var la=r(39);ya=function(){function na(ma){this.rotation=ma.rotation;this.zoom=ma.zoom;this.width=ma.width;this.height=ma.height;this.gi=this.canvas=null;this.Oo=this.VS=this.Mm=!1;this.Dia=!0;this.wg=this.iw=this.CB=this.request=null}na.prototype.AE=function(ma){return(this.canvas||ma?1:0)*this.width*this.height*this.zoom*this.zoom*(window.devicePixelRatio?window.devicePixelRatio*window.devicePixelRatio:
3388
+ 1)*4};na.prototype.isValid=function(){return!!this.canvas||!Object(la.a)().useCache};na.prototype.update=function(ma){if(this.rotation!==ma.rotation||this.zoom!==ma.zoom)this.gi=this.canvas=null,this.Dia=!0;this.rotation=ma.rotation;this.zoom=ma.zoom;this.width=ma.width;this.height=ma.height;this.jb=ma.jb};return na}();va.a=ya},function(ya,va,r){function la(ia){return function(ca){ia.forEach(function(y){var x=y.type,n=y.check,h=y.methods;Object.keys(h).forEach(function(b){var f=ca.prototype[b],e=
3389
+ x.message,a=x.severity;ca.prototype[b]=function(){for(var w=[],z=0;z<arguments.length;z++)w[z]=arguments[z];var aa=n(this);z=!aa&&a===ja.YB;if(!aa)switch(aa=e(h[b]),a){case ja.YB:throw Error(aa);default:Object(ma.i)(aa)}if(!z)return f.call.apply(f,Object(na.f)([this],w,!1))}})});return ca}}var na=r(0),ma=r(2),ja;(function(ia){ia.ERROR="error";ia.WARN="warn"})(ja||(ja={}));la.Lna={kla:{message:function(ia){return"".concat(ia," was called before the 'documentLoaded' event")},severity:ja.YB},kWa:{message:function(ia){return"".concat(ia,
3390
+ " requires the full API to be enabled. Please set the fullAPI option to true in your WebViewer constructor.")},severity:ja.UWa}};va.a=la},function(ya,va,r){function la(ha){var pa=new DOMParser,oa=pa.parseFromString(ha,"text/xml");oa.querySelector("parsererror")&&(oa=pa.parseFromString("<Root>".concat(ha,"</Root>"),"text/xml"));oa.querySelectorAll("a").forEach(function(ka){var ra=ka.childNodes[0];Array.from(ka.querySelectorAll("*")).find(function(qa){return"u"===qa.tagName.toLowerCase()})||(ka=document.createElement("u"),
3391
+ ra.after(ka),ka.appendChild(ra))});return(new XMLSerializer).serializeToString(oa)}function na(ha){return Object(f.b)(this,void 0,void 0,function(){var pa,oa,ka,ra,qa,sa,ta,wa,za,Aa,Da,Fa,Ca,Ka,La;return Object(f.d)(this,function(Ia){switch(Ia.label){case 0:pa=ha.Hc;oa=ha.Da;ka=ha.Ra;ra=ha.sca;qa=ha.Eda;sa=ha.bi;ta=ha.gja;wa=ha.ja;za=ha.OX;Ia=pa;var Qa=qa;Aa="\n <Commands>\n ".concat(a.a.am(Ia,null),"\n ").concat(a.a.Xy(Ia),"\n ").concat(a.a.nw(Ia,0,Qa.length),"\n ").concat(a.a.jX(Ia,
3392
+ null,Qa),"\n ").concat(a.a.hr(w.k),"\n </Commands>\n ").replace("<HTML>&lt;doc&gt;&lt;/doc&gt;</HTML>","<HTML></HTML>");Da=Object(f.a)(Object(f.a)({cmd:"updateDocumentContent",galleyId:pa,pageNumber:oa,newContent:qa,outputFileName:w.k,isSearchReplace:ra,commandXML:Aa},ra&&{bi:sa}),ra&&{gja:ta});return[4,Object(w.d)(ka,Da)];case 1:return Fa=Ia.aa(),[4,Fa.promise];case 2:return Ca=Ia.aa(),[4,Object(w.g)(wa,{Da:oa,dl:Ca.pdfBuffer,OX:za})];case 3:return Ia.aa(),Ka=wa.Xf(),(La="performUndoRedo"===
3393
+ Ca.subCmd)||Ka.yf(Ca),[2]}})})}function ma(ha){return Object(f.b)(this,void 0,void 0,function(){var pa,oa,ka,ra,qa,sa,ta,wa,za,Aa,Da,Fa,Ca,Ka,La,Ia,Qa;return Object(f.d)(this,function(Sa){switch(Sa.label){case 0:pa=ha.documentViewer;oa=ha.replaceWith;ka=ha.search;ra=ha.searchResults;if(pa){if(!ra&&!ka)throw Error('The "searchResults" parameter is missing in the options');if(void 0===oa)throw Error('The "replaceWith" parameter should not be undefined');}else throw Error('The "documentViewer" parameter is missing in the options');
3394
+ qa=1===ra.length;if(ka)sa=ka.dta,ta=ka.zVa;else{var Oa=pa.zV();wa=Array.isArray(Oa)?{regex:Oa.includes(z.f.Jx),wildcard:Oa.includes(z.f.Eu),wholeWord:Oa.includes(z.f.Mx),caseSensitive:Oa.includes(z.f.vu)}:{regex:0!==(Oa&z.f.Jx),wildcard:0!==(Oa&z.f.Eu),wholeWord:0!==(Oa&z.f.Mx),caseSensitive:0!==(Oa&z.f.vu)};sa=wa.dta;ta=wa.zVa}za=ja(qa,ra);Aa=ra[0].resultStr;Da=n(Aa,ta,sa);Fa=0;e.a.trigger(aa.f.SEARCH_AND_REPLACE_STARTED);Ca=0;Ka=za;Sa.label=1;case 1:if(!(Ca<Ka.length))return[3,6];La=Ka[Ca];if(!qa)return[3,
3395
+ 3];Ia=ra[0];if(!Ia)throw Error("searchResults should not be empty.");Sa=0;Oa=pa.ho();for(var Wa=-1,db=0,Ma=Oa.length;db<Ma;db++){var Pa=Oa[db];Pa.pageNum===Wa?Sa++:(Wa=Pa.pageNum,Sa=0);if(Object(fa.a)(Pa,Pa))break}Qa=Sa;return[4,ia(ha,La,Da,Qa)];case 2:return Sa.aa(),[3,5];case 3:return[4,ca(ha,La,Da,Fa)];case 4:Sa.aa(),Sa.label=5;case 5:return Ca++,[3,1];case 6:return qa&&ra[0]?x(pa,za[0],Aa):(Sa=pa,Sa.t7(),Sa.getDocument().CG(),Sa.Yq(),Sa.sf(),e.a.trigger(aa.f.SEARCH_AND_REPLACE_ENDED)),[2]}})})}
3396
+ function ja(ha,pa){return ha?[pa[0].pageNum]:Object.keys(pa.reduce(function(oa,ka){oa[ka.pageNum]=ka.pageNum;return oa},{})).map(function(oa){return Number(oa)})}function ia(ha,pa,oa,ka){return Object(f.b)(this,void 0,void 0,function(){var ra,qa,sa,ta,wa,za,Aa,Da,Fa,Ca,Ka,La,Ia,Qa,Sa;return Object(f.d)(this,function(Oa){switch(Oa.label){case 0:return ra=function(Wa){return((Wa||"").match(oa)||[]).length},qa=ha.documentViewer,sa=ha.replaceWith,ta=ha.searchResults,wa=ha.contentEditWorker,za=ha.pdfDocs,
3397
+ [4,Object(e.w)(pa,!1)];case 1:Oa.aa(),Da=Aa=0,Fa=za[pa].galleys.length,Oa.label=2;case 2:return Da<Fa?[4,y(pa,za)]:[3,7];case 3:Oa.aa();Ca=za[pa].galleys[Da];Ka=Object(ea.f)(Ca.contents);if(La=ra(Ka))Aa+=La;else return[3,6];if(Aa<=ka)return[3,6];e.a.trigger(aa.f.SEARCH_AND_REPLACE_TEXT_FOUND,[[ta[0]]]);Ia=La-(Aa-ka);Qa=b(Ka,oa,Ia,sa);return[4,h(Ca,Qa,qa,wa)];case 4:return Sa=Oa.aa(),[4,na(Sa)];case 5:return Oa.aa(),e.a.trigger(aa.f.SEARCH_AND_REPLACE_TEXT_REPLACED),[2];case 6:return Da++,[3,2];case 7:return[2]}})})}
3398
+ function ca(ha,pa,oa,ka){return Object(f.b)(this,void 0,void 0,function(){var ra,qa,sa,ta,wa,za,Aa,Da,Fa,Ca,Ka,La,Ia,Qa,Sa;return Object(f.d)(this,function(Oa){switch(Oa.label){case 0:return ra=ha.documentViewer,qa=ha.replaceWith,sa=ha.searchResults,ta=ha.contentEditWorker,wa=ha.pdfDocs,za=!0,[4,Object(e.w)(pa,!1)];case 1:Oa.aa(),Aa=[],Da=0,Fa=wa[pa].galleys.length,Oa.label=2;case 2:return Da<Fa?[4,y(pa,wa)]:[3,7];case 3:Oa.aa();Ca=wa[pa].galleys[Da];Ka=Object(ea.f)(Ca.contents);La=[];for(Ia=void 0;null!==
3399
+ (Ia=oa.exec(Ka));)La.push(Ia),Aa.push(sa[ka]),ka++;if(!La.length)return[3,6];e.a.trigger(aa.f.SEARCH_AND_REPLACE_TEXT_FOUND,[Aa]);Qa=Ka.replace(oa,qa);return[4,h(Ca,Qa,ra,ta,za)];case 4:return Sa=Oa.aa(),[4,na(Sa)];case 5:Oa.aa(),e.a.trigger(aa.f.SEARCH_AND_REPLACE_TEXT_REPLACED),Oa.label=6;case 6:return Da++,[3,2];case 7:return[2]}})})}function y(ha,pa){return Object(f.b)(this,void 0,void 0,function(){var oa;return Object(f.d)(this,function(ka){switch(ka.label){case 0:return(null===(oa=pa[ha])||
3400
+ void 0===oa?0:oa.galleys)?[3,3]:[4,new Promise(function(ra){return setTimeout(ra,50)})];case 1:return ka.aa(),[4,y(ha,pa)];case 2:ka.aa(),ka.label=3;case 3:return[2]}})})}function x(ha,pa,oa){setTimeout(function(){var ka=[];ha.AH(oa,ha.zV(),{startPage:pa,endPage:pa,fullSearch:!0,onDocumentEnd:function(){e.a.trigger(aa.f.SEARCH_AND_REPLACE_ENDED);ha.t1(pa-1,ka)},onResult:function(ra){ra.resultCode===z.e.Jr&&ka.push(ra)}})},200)}function n(ha,pa,oa){void 0===pa&&(pa=!1);void 0===oa&&(oa=!1);oa=oa?"mg":
3401
+ "mgi";ha=ha.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").split(/\s+/);pa&&(ha=ha.map(function(ka){return"\\b".concat(ka,"\\b")}));pa="(".concat("?:&lt;(?:[^&]|&[^l]|&l[^t]|&lt;[^>])*&gt;|&amp;lt;(?:[^&]|&[^a]|&a[^m]|&am[^p]|&amp[^;]|&amp;[^l]|&amp;l[^t]|&amp;lt;[^>])*&amp;gt;|\\s",")+?");pa=ha.join(pa);return new RegExp(pa,oa)}function h(ha,pa,oa,ka,ra){return Object(f.b)(this,void 0,void 0,function(){var qa,sa,ta,wa,za,Aa,Da;return Object(f.d)(this,function(Fa){switch(Fa.label){case 0:if(!ha)return[2];
3402
+ qa=Object(ea.g)(pa);sa=la(qa);ta=ha.oid;wa=ha.pagenum;return[4,Object(ba.e)(oa,wa)];case 1:return za=Fa.aa(),Aa=Object(w.e)(),Da={Hc:ta,Da:wa,Ra:ka,sca:!0,Eda:sa,bi:za,gja:Aa,ja:oa,OX:ra},[2,Da]}})})}function b(ha,pa,oa,ka){var ra=0;return ha.replace(pa,function(qa){if(ra===oa)return ra++,ka;ra++;return qa})}r.d(va,"b",function(){return na});r.d(va,"a",function(){return ma});var f=r(0),e=r(26),a=r(23),w=r(13),z=r(33),aa=r(7),ea=r(100),ba=r(50),fa=r(165)},function(ya,va,r){function la(x){return Object(ja.b)(this,
3403
+ void 0,void 0,function(){var n,h,b,f,e,a,w,z,aa,ea,ba,fa,ha,pa,oa;return Object(ja.d)(this,function(ka){switch(ka.label){case 0:n=x.ja;h=x.Ra;b=x.Tta;f=x.Hc;e=x.Zi;a=x.iVa;w=e.Kd;z=e.jea;aa=null!==(oa=null===(pa=n.ia().cc()[0])||void 0===pa?void 0:pa.PageNumber)&&void 0!==oa?oa:n.ld();ka=f;var ra=b,qa=a,sa=e.Yb,ta=e.textLength;ea="\n <Commands>\n ".concat(y.a.am(ka,e),"\n ").concat(y.a.YTa(ra,ka,sa,ta,qa),"\n </Commands>");ba={cmd:"editText",subCmd:b,galleyId:f,caretStart:z,caretEnd:w,resultsFile:ia.m,
3404
+ commandXML:ea,commandFile:ia.c,pageNumber:aa};return[4,Object(ia.d)(h,ba)];case 1:return fa=ka.aa(),[4,fa.promise];case 2:return ha=ka.aa(),[4,na(n,ha)];case 3:return ka.aa(),[2]}})})}function na(x,n){return Object(ja.b)(this,void 0,void 0,function(){var h,b,f;return Object(ja.d)(this,function(e){switch(e.label){case 0:return h=x.Xc(),b=x.Xf(),f=h.vd(n.galleyId),f.lx(!0),ca["default"].uG(n),b.yf(n),f.Gf()?[4,ca["default"].nL()]:[3,2];case 1:e.aa(),e.label=2;case 2:return[2]}})})}function ma(x){return Object(ja.b)(this,
3405
+ void 0,void 0,function(){var n,h,b,f,e,a,w,z;return Object(ja.d)(this,function(aa){switch(aa.label){case 0:return n=x.DT,h=x.UK,b=x.Yza,f=n.editor,[4,f.AV()];case 1:return e=aa.aa(),(w=(a=e.endIndex-e.startIndex)&&0<a)?f.B9(h).catch(function(){console.warn("Unable to apply ".concat(h," decorator to the contents"))}):(z=b.LV(),b.Mha({UK:!z[h]})),[2]}})})}r.d(va,"a",function(){return la});r.d(va,"b",function(){return ma});var ja=r(0),ia=r(13),ca=r(124),y=r(23)},function(ya,va,r){function la(ma){if(!/^\d{4}-(0\d|1[0-2])-(0\d|[12]\d|3[01])\s(0\d|1\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(ma))throw Error("Invalid datetime format");
3406
+ }function na(ma){ma=ma.split(" ");var ja=ma[1],ia=ma[0].split("-").map(Number);ma=ia[0];var ca=ia[1];ia=ia[2];var y=ja.split(":").map(Number);ja=y[0];var x=y[1];y=y[2];if(1900===ma&&1===ca&&0===ia)return(3600*ja+60*x+y)/86400;if(1900>ma||1900===ma&&1>ca||1900===ma&&1===ca&&0>ia)return null;if(1900===ma&&2>=ca)ma=1===ca?ia:31+ia;else{for(var n=0,h=1900;h<ma;h++)n+=0===h%4&&0!==h%100||0===h%400?366:365;for(h=1;h<ca;h++)n+=[0,31,0===ma%4&&0!==ma%100||0===ma%400?29:28,31,30,31,30,31,31,30,31,30,31][h];
3407
+ n+=ia;ma=1900<ma||1900===ma&&2<ca?n+1:n}return ma+=(3600*ja+60*x+y)/86400}r.d(va,"b",function(){return la});r.d(va,"a",function(){return na})},function(ya,va,r){var la=r(0),na=r(141);ya=function(){function ma(ja){this.ha=ja;this.Dy=this.context=this.cursor=null;this.gY=new Date(0)}ma.prototype.zha=function(ja){this.cursor=ja};ma.prototype.Zs=function(){return this.cursor};ma.prototype.vca=function(){return this.context&&0<this.context.canvas.offsetWidth&&0<this.context.canvas.offsetHeight&&"hidden"!==
3408
+ window.getComputedStyle(this.context.canvas).visibility};ma.prototype.disable=function(){this.vL();this.context||this.NT();this.context.canvas.style.display="none"};ma.prototype.enable=function(){this.context||this.NT();this.context.canvas.style.display="block"};ma.prototype.$Ga=function(){return null===this.Dy?!this.vca():!1};ma.prototype.EGa=function(){return null!==this.Dy};ma.prototype.jTa=function(){var ja=this;clearInterval(this.Dy);this.Dy=window.setInterval(function(){ja.blink()},500)};ma.prototype.vL=
3409
+ function(){clearInterval(this.Dy);this.Dy=null};ma.prototype.blink=function(){var ja=new Date;500<=ja.getTime()-this.gY.getTime()&&(this.ay()||this.C5(),this.gY=ja)};ma.prototype.hide=function(){this.vL();this.ay()};ma.prototype.ay=function(){return this.vca()?(this.context.canvas.style.visibility="hidden",!0):!1};ma.prototype.force=function(){this.C5();this.gY=new Date};ma.prototype.freeze=function(){this.vL();this.force()};ma.prototype.show=function(){this.force();this.jTa()};ma.prototype.C5=function(){if(this.cursor)try{var ja=
3410
+ this.cursor.yj().Pa()+1,ia=this.ha.Ib().va().querySelector("#pageContainer".concat(ja));if(ia){var ca=this.ha.sa.P$(this.cursor.yj());if(ca.isValid()){var y=Math.floor(ca.Dd)/na.a.Jn,x=Math.floor(ca.bottom())/na.a.Jn,n=Math.ceil(ca.top())/na.a.Jn;this.context||this.NT();ia.appendChild(this.context.canvas);this.context.canvas.style.visibility="hidden";this.context.canvas.height=n-x;var h=parseInt(ia.style.top,10)||0;this.context.canvas.style.left="".concat((parseInt(ia.style.left,10)||0)+y,"px");this.context.canvas.style.top=
3411
+ "".concat(h+x,"px");this.context.beginPath();this.context.moveTo(.5,0);this.context.lineTo(.5,n-x);this.context.stroke();this.context.canvas.style.visibility="visible"}}}catch(b){console.error("Attempting to draw unresolved cursor:",b,this.cursor),this.cursor.AA()}};ma.prototype.eH=function(ja){this.cursor.eH(ja)};ma.prototype.Pk=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(){return[2,this.cursor.Pk()]})})};ma.prototype.oM=function(){return Object(la.b)(this,
3412
+ void 0,Promise,function(){var ja,ia;return Object(la.d)(this,function(ca){switch(ca.label){case 0:return ia=(ja=this.ha).oM,[4,this.cursor.Jb()];case 1:return[2,ia.apply(ja,[ca.aa()])]}})})};ma.prototype.NT=function(){var ja=document.createElement("canvas");ja.style.position="absolute";ja.style.zIndex="500";ja.style.display="block";ja.style.top="0";ja.style.left="0";ja.width=1;ja.height=0;ja.id="mypointercanvas";this.context=ja.getContext("2d");this.context.lineWidth=1;this.context.strokeStyle="black"};
3413
+ return ma}();va.a=ya},function(ya,va){va.a=function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.closest||(Element.prototype.closest=function(r){var la=this;do{if(la.matches(r))return la;la=la.parentElement||la.parentNode}while(null!==la&&1===la.nodeType);return null})}},function(ya,va,r){function la(ba){ba.Core.SpreadsheetEditor={};ba.Core.SpreadsheetEditor.setSpreadsheetEditorWorkerPath=z.c;
3414
+ ba.Core.SpreadsheetEditor.getSpreadsheetEditorWorkerPath=z.a;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager=h.a;ba.Core.SpreadsheetEditor.SpreadsheetEditorEditMode=b.a;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.getEditMode=h.a.prototype.A$;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.getSelectedCellRange=h.a.prototype.xDa;ba.Core.SpreadsheetEditor.Types=ma.a;ba.Core.SpreadsheetEditor.Workbook=ja.a;ba.Core.SpreadsheetEditor.Workbook.prototype.getSheetAt=ja.a.prototype.mW;
3415
+ ba.Core.SpreadsheetEditor.Workbook.prototype.setActiveSheet=ja.a.prototype.EPa;ba.Core.SpreadsheetEditor.Sheet=ia.a;ba.Core.SpreadsheetEditor.Cell=ca.a;ba.Core.SpreadsheetEditor.Cell.prototype.getDisplayStringValue=ca.a.prototype.yBa;ba.Core.SpreadsheetEditor.SelectionChangedEvent=x.a;ba.Core.SpreadsheetEditor.SelectionChangedEvent.prototype.getCellRange=x.a.prototype.wV;ba.Core.SpreadsheetEditor.SelectionChangedEvent.prototype.getBoundingCells=x.a.prototype.LAa;ba.Core.SpreadsheetEditor.SelectionChangedEvent.prototype.getSelectionRangeDisplayValue=
3416
+ x.a.prototype.ADa;ba.Core.SpreadsheetEditor.ActiveSheetChangedEvent=n.a;ba.Core.SpreadsheetEditor.ActiveSheetChangedEvent.prototype.getSheetIndex=n.a.prototype.CDa;ba.Core.SpreadsheetEditor.CellRange=y.a;ba.Core.SpreadsheetEditor.CellRange.parseRangeString=y.a.fLa;ba.Core.SpreadsheetEditor.CellRange.prototype.equals=y.a.prototype.Ak;ba.Core.SpreadsheetEditor.CellRange.prototype.isSingleCellRange=y.a.prototype.RX;ba.Core.SpreadsheetEditor.CellRange.prototype.getCellsFromRange=y.a.prototype.UAa}function na(ba){ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.setEditMode=
3417
3417
  h.a.prototype.$_;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.startSpreadsheetEditorEngine=h.a.prototype.Wia;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.stopSpreadsheetEditorEngine=h.a.prototype.rTa;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.setDocument=h.a.prototype.Dha;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.getSpreadsheetEditorSearchManager=h.a.prototype.LDa;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.getCellsFromSelectedCellRange=
3418
3418
  h.a.prototype.xV;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.prototype.setSelectedCellRangeStyle=h.a.prototype.gia;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.SpreadsheetEditorSearchManager=aa.a;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.SpreadsheetEditorSearchManager.prototype.searchSheet=aa.a.prototype.Zga;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.SpreadsheetEditorSearchManager.prototype.searchSheetRegExp=aa.a.prototype.$ga;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.SpreadsheetEditorSearchManager.prototype.searchOnActiveSheet=
3419
3419
  aa.a.prototype.iPa;ba.Core.SpreadsheetEditor.SpreadsheetEditorManager.SpreadsheetEditorSearchManager.prototype.searchOnActiveSheetRegExp=aa.a.prototype.jPa;ba.Core.SpreadsheetEditor.Workbook.prototype.getSheet=ja.a.prototype.waa;ba.Core.SpreadsheetEditor.Workbook.prototype.createSheet=ja.a.prototype.cva;ba.Core.SpreadsheetEditor.Workbook.prototype.isSheetHidden=ja.a.prototype.tca;ba.Core.SpreadsheetEditor.Workbook.prototype.hideSheet=ja.a.prototype.zFa;ba.Core.SpreadsheetEditor.Workbook.prototype.unhideSheet=
@@ -4160,7 +4160,7 @@ case 1:fa=za.aa();if(!this.Ea.sm())return[3,3];this.yk();return[4,this.MY(fa)];c
4160
4160
  case 1:return ra.aa()?[2]:this.Ea.Tb()?[3,6]:[4,this.ua().Jb()];case 2:return fa=ra.aa(),this.ha.dN(fa)?[4,this.VP(ba)]:[3,4];case 3:return ra.aa(),[2];case 4:return[4,this.ha.insertText(this.ua(),"\t")];case 5:return ra.aa(),[2];case 6:return[4,this.xb.start().Jb()];case 7:return ha=ra.aa(),[4,this.xb.end().Jb()];case 8:return pa=ra.aa(),oa=ha.kc!==pa.kc,ka=ha.kc===pa.kc,oa||ka&&this.ha.dN(ha)?[4,this.VP(ba)]:[3,10];case 9:return ra.aa(),[2];case 10:return[4,this.tga("\t")];case 11:return ra.aa(),
4161
4161
  [2]}})})};ea.prototype.HEa=function(){return Object(la.b)(this,void 0,Promise,function(){var ba,fa,ha,pa,oa,ka,ra;return Object(la.d)(this,function(qa){switch(qa.label){case 0:return this.Ea.sm()?[4,this.DO(!1)]:[3,2];case 1:return qa.aa(),[3,11];case 2:return ba=this.ua(),fa=new ja.a(ba,ba),[4,this.ha.Fk(fa)];case 3:return ha=qa.aa(),pa=this.kE(ha),[4,ba.gM()];case 4:return ra=oa=qa.aa().dD.offset,[4,ba.Jb()];case 5:return ka=ra===qa.aa().offset&&"none"!==pa,this.ZS("backspace"),ka?[4,this.V0(pa)]:
4162
4162
  [3,7];case 6:return qa.aa(),[3,11];case 7:return[4,this.ha.Gm(this.xb,ba)];case 8:return qa.aa(),[4,this.xb.start().FN()];case 9:return qa.aa(),[4,this.ha.fU(this.xb,!1,this.S$())];case 10:qa.aa(),qa.label=11;case 11:return this.BS(),[2]}})})};ea.prototype.LEa=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ba){switch(ba.label){case 0:return this.ZS("delete"),this.Ea.sm()?[4,this.DO()]:[3,2];case 1:return ba.aa(),[3,6];case 2:return[4,this.ha.Gm(this.xb,
4163
- this.ua())];case 3:return ba.aa(),[4,this.xb.end().JF()];case 4:return ba.aa(),[4,this.ha.fU(this.xb,!1,this.S$())];case 5:ba.aa(),ba.label=6;case 6:return this.BS(),[2]}})})};ea.prototype.PEa=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ba){switch(ba.label){case 0:if(this.Ea.Ji().yt())return[2];this.Ea.Ji().oz();this.yk();return[4,this.ua().AA()];case 1:return ba.aa(),this.RO(),[2]}})})};ea.prototype.IEa=function(){return Object(la.b)(this,void 0,
4163
+ this.ua())];case 3:return ba.aa(),[4,this.xb.end().JF()];case 4:return ba.aa(),[4,this.ha.fU(this.xb,!0,this.S$())];case 5:ba.aa(),ba.label=6;case 6:return this.BS(),[2]}})})};ea.prototype.PEa=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ba){switch(ba.label){case 0:if(this.Ea.Ji().yt())return[2];this.Ea.Ji().oz();this.yk();return[4,this.ua().AA()];case 1:return ba.aa(),this.RO(),[2]}})})};ea.prototype.IEa=function(){return Object(la.b)(this,void 0,
4164
4164
  Promise,function(){return Object(la.d)(this,function(ba){switch(ba.label){case 0:return this.Ea.Tb()?[4,this.R0()]:[3,2];case 1:return ba.aa(),[3,4];case 2:return[4,this.EH("bold")];case 3:ba.aa(),ba.label=4;case 4:return[2]}})})};ea.prototype.UEa=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ba){switch(ba.label){case 0:return this.Ea.Tb()?[4,this.U0()]:[3,2];case 1:return ba.aa(),[3,4];case 2:return[4,this.EH("italic")];case 3:ba.aa(),ba.label=4;
4165
4165
  case 4:return[2]}})})};ea.prototype.USa=function(){return Object(la.b)(this,void 0,Promise,function(){var ba,fa;return Object(la.d)(this,function(ha){switch(ha.label){case 0:return[4,this.ua().Pa()];case 1:return ba=ha.aa(),fa=this.ha.TV(ba),this.ha.sa.render(fa.getContext("2d"),ba),[2]}})})};ea.prototype.cFa=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ba){switch(ba.label){case 0:return this.Ea.Tb()?[4,this.ZTa()]:[3,2];case 1:return ba.aa(),[3,
4166
4166
  4];case 2:return[4,this.EH("strikethrough")];case 3:ba.aa(),ba.label=4;case 4:return[2]}})})};ea.prototype.eFa=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(ba){switch(ba.label){case 0:return this.Ea.Tb()?[4,this.X0()]:[3,2];case 1:return ba.aa(),[3,4];case 2:return[4,this.EH("underline")];case 3:ba.aa(),ba.label=4;case 4:return[2]}})})};ea.prototype.fsa=function(){return this.aU};ea.prototype.XMa=function(){var ba=this;clearTimeout(this.sUa);this.ha.kx(!0);