filesbox/web/dist/pdfjs/build/pdf.worker.js
2024-07-26 14:10:54 +08:00

125 lines
1.4 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(Ra,sa){typeof exports=="object"&&typeof module=="object"?module.exports=sa():typeof define=="function"&&define.amd?define("pdfjs-dist/build/pdf.worker",[],sa):typeof exports=="object"?exports["pdfjs-dist/build/pdf.worker"]=sa():Ra["pdfjs-dist/build/pdf.worker"]=Ra.pdfjsWorker=sa()})(this,function(){return(()=>{var Za=[,(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.WorkerTask=P.WorkerMessageHandler=void 0;var T=xe(D(2)),b=D(4),t=D(135),e=D(137),ge=D(201),le=D(6),V=D(229),ye=D(230),be=D(139);function xe(s){return s&&s.__esModule?s:{default:s}}function ae(s,g){var l=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(!l){if(Array.isArray(s)||(l=X(s))||g&&s&&typeof s.length=="number"){l&&(s=l);var a=0,i=function(){};return{s:i,n:function(){return a>=s.length?{done:!0}:{done:!1,value:s[a++]}},e:function(A){throw A},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m=!0,o=!1,c;return{s:function(){l=l.call(s)},n:function(){var A=l.next();return m=A.done,A},e:function(A){o=!0,c=A},f:function(){try{!m&&l.return!=null&&l.return()}finally{if(o)throw c}}}}function d(s){return n(s)||ce(s)||X(s)||re()}function ce(s){if(typeof Symbol!="undefined"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function q(s,g){return n(s)||k(s,g)||X(s,g)||re()}function re(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function X(s,g){if(!!s){if(typeof s=="string")return y(s,g);var l=Object.prototype.toString.call(s).slice(8,-1);if(l==="Object"&&s.constructor&&(l=s.constructor.name),l==="Map"||l==="Set")return Array.from(s);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return y(s,g)}}function y(s,g){(g==null||g>s.length)&&(g=s.length);for(var l=0,a=new Array(g);l<g;l++)a[l]=s[l];return a}function k(s,g){var l=s==null?null:typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(l!=null){var a=[],i=!0,m=!1,o,c;try{for(l=l.call(s);!(i=(o=l.next()).done)&&(a.push(o.value),!(g&&a.length===g));i=!0);}catch(v){m=!0,c=v}finally{try{!i&&l.return!=null&&l.return()}finally{if(m)throw c}}return a}}function n(s){if(Array.isArray(s))return s}function S(s,g,l,a,i,m,o){try{var c=s[m](o),v=c.value}catch(A){l(A);return}c.done?g(v):Promise.resolve(v).then(a,i)}function O(s){return function(){var g=this,l=arguments;return new Promise(function(a,i){var m=s.apply(g,l);function o(v){S(m,a,i,o,c,"next",v)}function c(v){S(m,a,i,o,c,"throw",v)}o(void 0)})}}function w(s,g){if(!(s instanceof g))throw new TypeError("Cannot call a class as a function")}function p(s,g){for(var l=0;l<g.length;l++){var a=g[l];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}function x(s,g,l){return g&&p(s.prototype,g),l&&p(s,l),s}var f=function(){function s(g){w(this,s),this.name=g,this.terminated=!1,this._capability=(0,b.createPromiseCapability)()}return x(s,[{key:"finished",get:function(){return this._capability.promise}},{key:"finish",value:function(){this._capability.resolve()}},{key:"terminate",value:function(){this.terminated=!0}},{key:"ensureNotTerminated",value:function(){if(this.terminated)throw new Error("Worker task was terminated")}}]),s}();P.WorkerTask=f;var h=function(){function s(){w(this,s)}return x(s,null,[{key:"setup",value:function(l,a){var i=!1;l.on("test",function(o){i||(i=!0,l.send("test",o instanceof Uint8Array&&o[0]===255))}),l.on("configure",function(o){(0,b.setVerbosityLevel)(o.verbosity)}),l.on("GetDocRequest",function(o){return s.createDocumentHandler(o,a)})}},{key:"createDocumentHandler",value:function(l,a){var i,m=!1,o=null,c=[],v=(0,b.getVerbosityLevel)(),A=l.apiVersion,u="2.12.313";if(A!==u)throw new Error('The API version "'.concat(A,'" does not match ')+'the Worker version "'.concat(u,'".'));var C=[];for(var I in[])C.push(I);if(C.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+C.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");var E=l.docId,N=l.docBaseUrl,_=l.docId+"_worker",Y=new V.MessageHandler(_,E,a);function H(){if(m)throw new Error("Worker was terminated")}function Z($){c.push($)}function ne($){$.finish();var j=c.indexOf($);c.splice(j,1)}function he($){return Se.apply(this,arguments)}function Se(){return Se=O(T.default.mark(function $(j){var G,M,W,z,J,Q,K;return T.default.wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return oe.next=2,i.ensureDoc("checkHeader");case 2:return oe.next=4,i.ensureDoc("parseStartXRef");case 4:return oe.next=6,i.ensureDoc("parse",[j]);case 6:return oe.next=8,i.ensureDoc("checkFirstPage",[j]);case 8:return oe.next=10,i.ensureDoc("checkLastPage",[j]);case 10:return oe.next=12,i.ensureDoc("isPureXfa");case 12:if(G=oe.sent,!G){oe.next=18;break}return M=new f("loadXfaFonts"),Z(M),oe.next=18,Promise.all([i.loadXfaFonts(Y,M).catch(function(pe){}).then(function(){return ne(M)}),i.loadXfaImages()]);case 18:return oe.next=20,Promise.all([i.ensureDoc("numPages"),i.ensureDoc("fingerprints")]);case 20:if(W=oe.sent,z=q(W,2),J=z[0],Q=z[1],!G){oe.next=30;break}return oe.next=27,i.ensureDoc("htmlForXfa");case 27:oe.t0=oe.sent,oe.next=31;break;case 30:oe.t0=null;case 31:return K=oe.t0,oe.abrupt("return",{numPages:J,fingerprints:Q,htmlForXfa:K});case 33:case"end":return oe.stop()}},$)})),Se.apply(this,arguments)}function ue($,j,G){var M=(0,b.createPromiseCapability)(),W,z=$.source;if(z.data){try{W=new e.LocalPdfManager(E,z.data,z.password,Y,j,G,N),M.resolve(W)}catch(fe){M.reject(fe)}return M.promise}var J,Q=[];try{J=new ye.PDFWorkerStream(Y)}catch(fe){return M.reject(fe),M.promise}var K=J.getFullReader();K.headersReady.then(function(){if(!!K.isRangeSupported){var fe=z.disableAutoFetch||K.isStreamingSupported;W=new e.NetworkPdfManager(E,J,{msgHandler:Y,password:z.password,length:K.contentLength,disableAutoFetch:fe,rangeChunkSize:z.rangeChunkSize},j,G,N);for(var ke=0;ke<Q.length;ke++)W.sendProgressiveData(Q[ke]);Q=[],M.resolve(W),o=null}}).catch(function(fe){M.reject(fe),o=null});var de=0,oe=function(){var ke=(0,b.arraysToBytes)(Q);z.length&&ke.length!==z.length&&(0,b.warn)("reported HTTP length is different from actual");try{W=new e.LocalPdfManager(E,ke,z.password,Y,j,G,N),M.resolve(W)}catch(Re){M.reject(Re)}Q=[]},pe=new Promise(function(fe,ke){var Re=function ve(we){var se=we.value,me=we.done;try{if(H(),me){W||oe(),o=null;return}de+=(0,b.arrayByteLength)(se),K.isStreamingSupported||Y.send("DocProgress",{loaded:de,total:Math.max(de,K.contentLength||0)}),W?W.sendProgressiveData(se):Q.push(se),K.read().then(ve,ke)}catch(ee){ke(ee)}};K.read().then(Re,ke)});return pe.catch(function(fe){M.reject(fe),o=null}),o=function(ke){J.cancelAllRequests(ke)},M.promise}function te($){function j(z){H(),Y.send("GetDoc",{pdfInfo:z})}function G(z){if(H(),z instanceof b.PasswordException){var J=new f("PasswordException: response ".concat(z.code));Z(J),Y.sendWithPromise("PasswordRequest",z).then(function(Q){var K=Q.password;ne(J),i.updatePassword(K),M()}).catch(function(){ne(J),Y.send("DocException",z)})}else z instanceof b.InvalidPDFException||z instanceof b.MissingPDFException||z instanceof b.UnexpectedResponseException||z instanceof b.UnknownErrorException?Y.send("DocException",z):Y.send("DocException",new b.UnknownErrorException(z.message,z.toString()))}function M(){H(),he(!1).then(j,function(z){if(H(),!(z instanceof be.XRefParseException)){G(z);return}i.requestLoadedStream(),i.onLoadedStream().then(function(){H(),he(!0).then(j,G)})})}H();var W={maxImageSize:$.maxImageSize,disableFontFace:$.disableFontFace,ignoreErrors:$.ignoreErrors,isEvalSupported:$.isEvalSupported,fontExtraProperties:$.fontExtraProperties,useSystemFonts:$.useSystemFonts,cMapUrl:$.cMapUrl,standardFontDataUrl:$.standardFontDataUrl};ue($,W,$.enableXfa).then(function(z){if(m)throw z.terminate(new b.AbortException("Worker was terminated.")),new Error("Worker was terminated");i=z,i.onLoadedStream().then(function(J){Y.send("DataLoaded",{length:J.bytes.byteLength})})}).then(M,G)}return Y.on("GetPage",function(j){return i.getPage(j.pageIndex).then(function(G){return Promise.all([i.ensure(G,"rotate"),i.ensure(G,"ref"),i.ensure(G,"userUnit"),i.ensure(G,"view")]).then(function(M){var W=q(M,4),z=W[0],J=W[1],Q=W[2],K=W[3];return{rotate:z,ref:J,userUnit:Q,view:K}})})}),Y.on("GetPageIndex",function(j){var G=j.ref,M=t.Ref.get(G.num,G.gen);return i.ensureCatalog("getPageIndex",[M])}),Y.on("GetDestinations",function(j){return i.ensureCatalog("destinations")}),Y.on("GetDestination",function(j){return i.ensureCatalog("getDestination",[j.id])}),Y.on("GetPageLabels",function(j){return i.ensureCatalog("pageLabels")}),Y.on("GetPageLayout",function(j){return i.ensureCatalog("pageLayout")}),Y.on("GetPageMode",function(j){return i.ensureCatalog("pageMode")}),Y.on("GetViewerPreferences",function($){return i.ensureCatalog("viewerPreferences")}),Y.on("GetOpenAction",function($){return i.ensureCatalog("openAction")}),Y.on("GetAttachments",function(j){return i.ensureCatalog("attachments")}),Y.on("GetJavaScript",function(j){return i.ensureCatalog("javaScript")}),Y.on("GetDocJSActions",function(j){return i.ensureCatalog("jsActions")}),Y.on("GetPageJSActions",function($){var j=$.pageIndex;return i.getPage(j).then(function(G){return i.ensure(G,"jsActions")})}),Y.on("GetOutline",function(j){return i.ensureCatalog("documentOutline")}),Y.on("GetOptionalContentConfig",function($){return i.ensureCatalog("optionalContentConfig")}),Y.on("GetPermissions",function($){return i.ensureCatalog("permissions")}),Y.on("GetMetadata",function(j){return Promise.all([i.ensureDoc("documentInfo"),i.ensureCatalog("metadata")])}),Y.on("GetMarkInfo",function(j){return i.ensureCatalog("markInfo")}),Y.on("GetData",function(j){return i.requestLoadedStream(),i.onLoadedStream().then(function(G){return G.bytes})}),Y.on("GetAnnotations",function($){var j=$.pageIndex,G=$.intent;return i.getPage(j).then(function(M){return M.getAnnotationsData(G)})}),Y.on("GetFieldObjects",function($){return i.ensureDoc("fieldObjects")}),Y.on("HasJSActions",function($){return i.ensureDoc("hasJSActions")}),Y.on("GetCalculationOrderIds",function($){return i.ensureDoc("calculationOrderIds")}),Y.on("SaveDocument",function($){var j=$.isPureXfa,G=$.numPages,M=$.annotationStorage,W=$.filename;i.requestLoadedStream();var z=[i.onLoadedStream(),i.ensureCatalog("acroForm"),i.ensureCatalog("acroFormRef"),i.ensureDoc("xref"),i.ensureDoc("startXRef")];if(j)z.push(i.serializeXfaData(M));else for(var J=function(de){z.push(i.getPage(de).then(function(oe){var pe=new f("Save: page ".concat(de));return oe.save(Y,pe,M).finally(function(){ne(pe)})}))},Q=0;Q<G;Q++)J(Q);return Promise.all(z).then(function(K){var de=d(K),oe=de[0],pe=de[1],fe=de[2],ke=de[3],Re=de[4],ve=de.slice(5),we=[],se=null;if(j){if(se=ve[0],!se)return oe.bytes}else{var me=ae(ve),ee;try{for(me.s();!(ee=me.n()).done;){var Fe=ee.value;we=Fe.filter(function(Ke){return Ke!==null}).reduce(function(Ke,Qe){return Ke.concat(Qe)},we)}}catch(Ke){me.e(Ke)}finally{me.f()}if(we.length===0)return oe.bytes}var Ee=pe instanceof t.Dict&&pe.get("XFA")||null,Ce=null,De=!1;if(Array.isArray(Ee)){for(var _e=0,Ne=Ee.length;_e<Ne;_e+=2)Ee[_e]==="datasets"&&(Ce=Ee[_e+1],fe=null,De=!0);Ce===null&&(Ce=ke.getNewRef())}else Ee&&(fe=null,(0,b.warn)("Unsupported XFA type."));var $e=Object.create(null);if(ke.trailer){var je=Object.create(null),Ve=ke.trailer.get("Info")||null;Ve instanceof t.Dict&&Ve.forEach(function(Ke,Qe){(0,b.isString)(Ke)&&(0,b.isString)(Qe)&&(je[Ke]=(0,b.stringToPDFString)(Qe))}),$e={rootRef:ke.trailer.getRaw("Root")||null,encryptRef:ke.trailer.getRaw("Encrypt")||null,newRef:ke.getNewRef(),infoRef:ke.trailer.getRaw("Info")||null,info:je,fileIds:ke.trailer.get("ID")||null,startXRef:Re,filename:W}}return ke.resetNewRef(),(0,ge.incrementalUpdate)({originalData:oe.bytes,xrefInfo:$e,newRefs:we,xref:ke,hasXfa:!!Ee,xfaDatasetsRef:Ce,hasXfaDatasetsEntry:De,acroFormRef:fe,acroForm:pe,xfaData:se})})}),Y.on("GetOperatorList",function(j,G){var M=j.pageIndex;i.getPage(M).then(function(W){var z=new f("GetOperatorList: page ".concat(M));Z(z);var J=v>=b.VerbosityLevel.INFOS?Date.now():0;W.getOperatorList({handler:Y,sink:G,task:z,intent:j.intent,cacheKey:j.cacheKey,annotationStorage:j.annotationStorage}).then(function(Q){ne(z),J&&(0,b.info)("page=".concat(M+1," - getOperatorList: time=")+"".concat(Date.now()-J,"ms, len=").concat(Q.length)),G.close()},function(Q){ne(z),!z.terminated&&(Y.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorOperatorList}),G.error(Q))})})}),Y.on("GetTextContent",function(j,G){var M=j.pageIndex;i.getPage(M).then(function(W){var z=new f("GetTextContent: page "+M);Z(z);var J=v>=b.VerbosityLevel.INFOS?Date.now():0;W.extractTextContent({handler:Y,task:z,sink:G,normalizeWhitespace:j.normalizeWhitespace,includeMarkedContent:j.includeMarkedContent,combineTextItems:j.combineTextItems}).then(function(){ne(z),J&&(0,b.info)("page=".concat(M+1," - getTextContent: time=")+"".concat(Date.now()-J,"ms")),G.close()},function(Q){ne(z),!z.terminated&&G.error(Q)})})}),Y.on("GetStructTree",function(j){return i.getPage(j.pageIndex).then(function(G){return i.ensure(G,"getStructTree")})}),Y.on("FontFallback",function($){return i.fontFallback($.id,Y)}),Y.on("Cleanup",function(j){return i.cleanup(!0)}),Y.on("Terminate",function(j){m=!0;var G=[];if(i){i.terminate(new b.AbortException("Worker was terminated."));var M=i.cleanup();G.push(M),i=null}else(0,t.clearPrimitiveCaches)();o&&o(new b.AbortException("Worker was terminated."));var W=ae(c),z;try{for(W.s();!(z=W.n()).done;){var J=z.value;G.push(J.finished),J.terminate()}}catch(Q){W.e(Q)}finally{W.f()}return Promise.all(G).then(function(){Y.destroy(),Y=null})}),Y.on("Ready",function(j){te(l),l=null}),_}},{key:"initializeFromPort",value:function(l){var a=new V.MessageHandler("worker","main",l);s.setup(a,l),a.send("ready",null)}}]),s}();P.WorkerMessageHandler=h;function F(s){return typeof s.postMessage=="function"&&"onmessage"in s}typeof window=="undefined"&&!le.isNodeJS&&typeof self!="undefined"&&F(self)&&h.initializeFromPort(self)},(Me,P,D)=>{"use strict";Me.exports=D(3)},(Me,P,D)=>{"use strict";Me=D.nmd(Me);function T(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(ge){return typeof ge}:T=function(ge){return ge&&typeof Symbol=="function"&&ge.constructor===Symbol&&ge!==Symbol.prototype?"symbol":typeof ge},T(t)}var b=function(t){"use strict";var e=Object.prototype,ge=e.hasOwnProperty,le,V=typeof Symbol=="function"?Symbol:{},ye=V.iterator||"@@iterator",be=V.asyncIterator||"@@asyncIterator",xe=V.toStringTag||"@@toStringTag";function ae(c,v,A){return Object.defineProperty(c,v,{value:A,enumerable:!0,configurable:!0,writable:!0}),c[v]}try{ae({},"")}catch(c){ae=function(A,u,C){return A[u]=C}}function d(c,v,A,u){var C=v&&v.prototype instanceof n?v:n,I=Object.create(C.prototype),E=new i(u||[]);return I._invoke=s(c,A,E),I}t.wrap=d;function ce(c,v,A){try{return{type:"normal",arg:c.call(v,A)}}catch(u){return{type:"throw",arg:u}}}var q="suspendedStart",re="suspendedYield",X="executing",y="completed",k={};function n(){}function S(){}function O(){}var w={};ae(w,ye,function(){return this});var p=Object.getPrototypeOf,x=p&&p(p(m([])));x&&x!==e&&ge.call(x,ye)&&(w=x);var f=O.prototype=n.prototype=Object.create(w);S.prototype=O,ae(f,"constructor",O),ae(O,"constructor",S),S.displayName=ae(O,xe,"GeneratorFunction");function h(c){["next","throw","return"].forEach(function(v){ae(c,v,function(A){return this._invoke(v,A)})})}t.isGeneratorFunction=function(c){var v=typeof c=="function"&&c.constructor;return v?v===S||(v.displayName||v.name)==="GeneratorFunction":!1},t.mark=function(c){return Object.setPrototypeOf?Object.setPrototypeOf(c,O):(c.__proto__=O,ae(c,xe,"GeneratorFunction")),c.prototype=Object.create(f),c},t.awrap=function(c){return{__await:c}};function F(c,v){function A(I,E,N,_){var Y=ce(c[I],c,E);if(Y.type==="throw")_(Y.arg);else{var H=Y.arg,Z=H.value;return Z&&T(Z)==="object"&&ge.call(Z,"__await")?v.resolve(Z.__await).then(function(ne){A("next",ne,N,_)},function(ne){A("throw",ne,N,_)}):v.resolve(Z).then(function(ne){H.value=ne,N(H)},function(ne){return A("throw",ne,N,_)})}}var u;function C(I,E){function N(){return new v(function(_,Y){A(I,E,_,Y)})}return u=u?u.then(N,N):N()}this._invoke=C}h(F.prototype),ae(F.prototype,be,function(){return this}),t.AsyncIterator=F,t.async=function(c,v,A,u,C){C===void 0&&(C=Promise);var I=new F(d(c,v,A,u),C);return t.isGeneratorFunction(v)?I:I.next().then(function(E){return E.done?E.value:I.next()})};function s(c,v,A){var u=q;return function(I,E){if(u===X)throw new Error("Generator is already running");if(u===y){if(I==="throw")throw E;return o()}for(A.method=I,A.arg=E;;){var N=A.delegate;if(N){var _=g(N,A);if(_){if(_===k)continue;return _}}if(A.method==="next")A.sent=A._sent=A.arg;else if(A.method==="throw"){if(u===q)throw u=y,A.arg;A.dispatchException(A.arg)}else A.method==="return"&&A.abrupt("return",A.arg);u=X;var Y=ce(c,v,A);if(Y.type==="normal"){if(u=A.done?y:re,Y.arg===k)continue;return{value:Y.arg,done:A.done}}else Y.type==="throw"&&(u=y,A.method="throw",A.arg=Y.arg)}}}function g(c,v){var A=c.iterator[v.method];if(A===le){if(v.delegate=null,v.method==="throw"){if(c.iterator.return&&(v.method="return",v.arg=le,g(c,v),v.method==="throw"))return k;v.method="throw",v.arg=new TypeError("The iterator does not provide a 'throw' method")}return k}var u=ce(A,c.iterator,v.arg);if(u.type==="throw")return v.method="throw",v.arg=u.arg,v.delegate=null,k;var C=u.arg;if(!C)return v.method="throw",v.arg=new TypeError("iterator result is not an object"),v.delegate=null,k;if(C.done)v[c.resultName]=C.value,v.next=c.nextLoc,v.method!=="return"&&(v.method="next",v.arg=le);else return C;return v.delegate=null,k}h(f),ae(f,xe,"Generator"),ae(f,ye,function(){return this}),ae(f,"toString",function(){return"[object Generator]"});function l(c){var v={tryLoc:c[0]};1 in c&&(v.catchLoc=c[1]),2 in c&&(v.finallyLoc=c[2],v.afterLoc=c[3]),this.tryEntries.push(v)}function a(c){var v=c.completion||{};v.type="normal",delete v.arg,c.completion=v}function i(c){this.tryEntries=[{tryLoc:"root"}],c.forEach(l,this),this.reset(!0)}t.keys=function(c){var v=[];for(var A in c)v.push(A);return v.reverse(),function u(){for(;v.length;){var C=v.pop();if(C in c)return u.value=C,u.done=!1,u}return u.done=!0,u}};function m(c){if(c){var v=c[ye];if(v)return v.call(c);if(typeof c.next=="function")return c;if(!isNaN(c.length)){var A=-1,u=function C(){for(;++A<c.length;)if(ge.call(c,A))return C.value=c[A],C.done=!1,C;return C.value=le,C.done=!0,C};return u.next=u}}return{next:o}}t.values=m;function o(){return{value:le,done:!0}}return i.prototype={constructor:i,reset:function(v){if(this.prev=0,this.next=0,this.sent=this._sent=le,this.done=!1,this.delegate=null,this.method="next",this.arg=le,this.tryEntries.forEach(a),!v)for(var A in this)A.charAt(0)==="t"&&ge.call(this,A)&&!isNaN(+A.slice(1))&&(this[A]=le)},stop:function(){this.done=!0;var v=this.tryEntries[0],A=v.completion;if(A.type==="throw")throw A.arg;return this.rval},dispatchException:function(v){if(this.done)throw v;var A=this;function u(Y,H){return E.type="throw",E.arg=v,A.next=Y,H&&(A.method="next",A.arg=le),!!H}for(var C=this.tryEntries.length-1;C>=0;--C){var I=this.tryEntries[C],E=I.completion;if(I.tryLoc==="root")return u("end");if(I.tryLoc<=this.prev){var N=ge.call(I,"catchLoc"),_=ge.call(I,"finallyLoc");if(N&&_){if(this.prev<I.catchLoc)return u(I.catchLoc,!0);if(this.prev<I.finallyLoc)return u(I.finallyLoc)}else if(N){if(this.prev<I.catchLoc)return u(I.catchLoc,!0)}else if(_){if(this.prev<I.finallyLoc)return u(I.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(v,A){for(var u=this.tryEntries.length-1;u>=0;--u){var C=this.tryEntries[u];if(C.tryLoc<=this.prev&&ge.call(C,"finallyLoc")&&this.prev<C.finallyLoc){var I=C;break}}I&&(v==="break"||v==="continue")&&I.tryLoc<=A&&A<=I.finallyLoc&&(I=null);var E=I?I.completion:{};return E.type=v,E.arg=A,I?(this.method="next",this.next=I.finallyLoc,k):this.complete(E)},complete:function(v,A){if(v.type==="throw")throw v.arg;return v.type==="break"||v.type==="continue"?this.next=v.arg:v.type==="return"?(this.rval=this.arg=v.arg,this.method="return",this.next="end"):v.type==="normal"&&A&&(this.next=A),k},finish:function(v){for(var A=this.tryEntries.length-1;A>=0;--A){var u=this.tryEntries[A];if(u.finallyLoc===v)return this.complete(u.completion,u.afterLoc),a(u),k}},catch:function(v){for(var A=this.tryEntries.length-1;A>=0;--A){var u=this.tryEntries[A];if(u.tryLoc===v){var C=u.completion;if(C.type==="throw"){var I=C.arg;a(u)}return I}}throw new Error("illegal catch attempt")},delegateYield:function(v,A,u){return this.delegate={iterator:m(v),resultName:A,nextLoc:u},this.method==="next"&&(this.arg=le),k}},t}(T(Me)==="object"?Me.exports:{});try{regeneratorRuntime=b}catch(t){(typeof globalThis=="undefined"?"undefined":T(globalThis))==="object"?globalThis.regeneratorRuntime=b:Function("r","regeneratorRuntime = r")(b)}},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.VerbosityLevel=P.Util=P.UnknownErrorException=P.UnexpectedResponseException=P.UNSUPPORTED_FEATURES=P.TextRenderingMode=P.StreamType=P.RenderingIntentFlag=P.PermissionFlag=P.PasswordResponses=P.PasswordException=P.PageActionEventType=P.OPS=P.MissingPDFException=P.IsLittleEndianCached=P.IsEvalSupportedCached=P.InvalidPDFException=P.ImageKind=P.IDENTITY_MATRIX=P.FormatError=P.FontType=P.FONT_IDENTITY_MATRIX=P.DocumentActionEventType=P.CMapCompressionType=P.BaseException=P.AnnotationType=P.AnnotationStateModelType=P.AnnotationReviewState=P.AnnotationReplyType=P.AnnotationMode=P.AnnotationMarkedState=P.AnnotationFlag=P.AnnotationFieldFlag=P.AnnotationBorderStyleType=P.AnnotationActionEventType=P.AbortException=void 0,P.arrayByteLength=Fe,P.arraysToBytes=Ee,P.assert=G,P.bytesToString=me,P.createObjectURL=Qt,P.createPromiseCapability=ar,P.createValidAbsoluteUrl=z,P.escapeString=ct,P.getModificationDate=Nt,P.getVerbosityLevel=ue,P.info=te,P.isArrayBuffer=Ut,P.isArrayEqual=kt,P.isAscii=Je,P.isBool=yt,P.isNum=It,P.isSameOrigin=M,P.isString=ft,P.objectFromMap=_e,P.objectSize=De,P.removeNullCharacters=se,P.setVerbosityLevel=Se,P.shadow=J,P.string32=Ce,P.stringToBytes=ee,P.stringToPDFString=ze,P.stringToUTF16BEString=gt,P.stringToUTF8String=xt,P.unreachable=j,P.utf8StringToString=tt,P.warn=$,D(5);function T(He,et){for(var Ue=0;Ue<et.length;Ue++){var qe=et[Ue];qe.enumerable=qe.enumerable||!1,qe.configurable=!0,"value"in qe&&(qe.writable=!0),Object.defineProperty(He,qe.key,qe)}}function b(He,et,Ue){return et&&T(He.prototype,et),Ue&&T(He,Ue),He}function t(He){return le(He)||ge(He)||d(He)||e()}function e(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ge(He){if(typeof Symbol!="undefined"&&He[Symbol.iterator]!=null||He["@@iterator"]!=null)return Array.from(He)}function le(He){if(Array.isArray(He))return ce(He)}function V(He,et){return xe(He)||be(He,et)||d(He,et)||ye()}function ye(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function be(He,et){var Ue=He==null?null:typeof Symbol!="undefined"&&He[Symbol.iterator]||He["@@iterator"];if(Ue!=null){var qe=[],ot=!0,nt=!1,Pt,Lt;try{for(Ue=Ue.call(He);!(ot=(Pt=Ue.next()).done)&&(qe.push(Pt.value),!(et&&qe.length===et));ot=!0);}catch(bt){nt=!0,Lt=bt}finally{try{!ot&&Ue.return!=null&&Ue.return()}finally{if(nt)throw Lt}}return qe}}function xe(He){if(Array.isArray(He))return He}function ae(He,et){var Ue=typeof Symbol!="undefined"&&He[Symbol.iterator]||He["@@iterator"];if(!Ue){if(Array.isArray(He)||(Ue=d(He))||et&&He&&typeof He.length=="number"){Ue&&(He=Ue);var qe=0,ot=function(){};return{s:ot,n:function(){return qe>=He.length?{done:!0}:{done:!1,value:He[qe++]}},e:function(Kt){throw Kt},f:ot}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var nt=!0,Pt=!1,Lt;return{s:function(){Ue=Ue.call(He)},n:function(){var Kt=Ue.next();return nt=Kt.done,Kt},e:function(Kt){Pt=!0,Lt=Kt},f:function(){try{!nt&&Ue.return!=null&&Ue.return()}finally{if(Pt)throw Lt}}}}function d(He,et){if(!!He){if(typeof He=="string")return ce(He,et);var Ue=Object.prototype.toString.call(He).slice(8,-1);if(Ue==="Object"&&He.constructor&&(Ue=He.constructor.name),Ue==="Map"||Ue==="Set")return Array.from(He);if(Ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ue))return ce(He,et)}}function ce(He,et){(et==null||et>He.length)&&(et=He.length);for(var Ue=0,qe=new Array(et);Ue<et;Ue++)qe[Ue]=He[Ue];return qe}function q(He){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?q=function(Ue){return typeof Ue}:q=function(Ue){return Ue&&typeof Symbol=="function"&&Ue.constructor===Symbol&&Ue!==Symbol.prototype?"symbol":typeof Ue},q(He)}function re(He,et){if(!(He instanceof et))throw new TypeError("Cannot call a class as a function")}function X(He,et){if(typeof et!="function"&&et!==null)throw new TypeError("Super expression must either be null or a function");He.prototype=Object.create(et&&et.prototype,{constructor:{value:He,writable:!0,configurable:!0}}),et&&y(He,et)}function y(He,et){return y=Object.setPrototypeOf||function(qe,ot){return qe.__proto__=ot,qe},y(He,et)}function k(He){var et=O();return function(){var qe=w(He),ot;if(et){var nt=w(this).constructor;ot=Reflect.construct(qe,arguments,nt)}else ot=qe.apply(this,arguments);return n(this,ot)}}function n(He,et){if(et&&(q(et)==="object"||typeof et=="function"))return et;if(et!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(He)}function S(He){if(He===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return He}function O(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(He){return!1}}function w(He){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(Ue){return Ue.__proto__||Object.getPrototypeOf(Ue)},w(He)}var p=[1,0,0,1,0,0];P.IDENTITY_MATRIX=p;var x=[.001,0,0,.001,0,0];P.FONT_IDENTITY_MATRIX=x;var f={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};P.RenderingIntentFlag=f;var h={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};P.AnnotationMode=h;var F={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};P.PermissionFlag=F;var s={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};P.TextRenderingMode=s;var g={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};P.ImageKind=g;var l={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};P.AnnotationType=l;var a={MARKED:"Marked",REVIEW:"Review"};P.AnnotationStateModelType=a;var i={MARKED:"Marked",UNMARKED:"Unmarked"};P.AnnotationMarkedState=i;var m={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};P.AnnotationReviewState=m;var o={GROUP:"Group",REPLY:"R"};P.AnnotationReplyType=o;var c={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};P.AnnotationFlag=c;var v={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};P.AnnotationFieldFlag=v;var A={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};P.AnnotationBorderStyleType=A;var u={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};P.AnnotationActionEventType=u;var C={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};P.DocumentActionEventType=C;var I={O:"PageOpen",C:"PageClose"};P.PageActionEventType=I;var E={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};P.StreamType=E;var N={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};P.FontType=N;var _={ERRORS:0,WARNINGS:1,INFOS:5};P.VerbosityLevel=_;var Y={NONE:0,BINARY:1,STREAM:2};P.CMapCompressionType=Y;var H={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};P.OPS=H;var Z={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"};P.UNSUPPORTED_FEATURES=Z;var ne={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};P.PasswordResponses=ne;var he=_.WARNINGS;function Se(He){Number.isInteger(He)&&(he=He)}function ue(){return he}function te(He){he>=_.INFOS&&console.log("Info: ".concat(He))}function $(He){he>=_.WARNINGS&&console.log("Warning: ".concat(He))}function j(He){throw new Error(He)}function G(He,et){He||j(et)}function M(He,et){var Ue;try{if(Ue=new URL(He),!Ue.origin||Ue.origin==="null")return!1}catch(ot){return!1}var qe=new URL(et,Ue);return Ue.origin===qe.origin}function W(He){if(!He)return!1;switch(He.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function z(He){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!He)return null;try{if(Ue&&typeof He=="string"){if(Ue.addDefaultProtocol&&He.startsWith("www.")){var qe=He.match(/\./g);qe&&qe.length>=2&&(He="http://".concat(He))}if(Ue.tryConvertEncoding)try{He=xt(He)}catch(nt){}}var ot=et?new URL(He,et):new URL(He);if(W(ot))return ot}catch(nt){}return null}function J(He,et,Ue){return Object.defineProperty(He,et,{value:Ue,enumerable:!0,configurable:!0,writable:!1}),Ue}var Q=function(){function et(Ue,qe){this.constructor===et&&j("Cannot initialize BaseException."),this.message=Ue,this.name=qe}return et.prototype=new Error,et.constructor=et,et}();P.BaseException=Q;var K=function(He){X(Ue,He);var et=k(Ue);function Ue(qe,ot){var nt;return re(this,Ue),nt=et.call(this,qe,"PasswordException"),nt.code=ot,nt}return Ue}(Q);P.PasswordException=K;var de=function(He){X(Ue,He);var et=k(Ue);function Ue(qe,ot){var nt;return re(this,Ue),nt=et.call(this,qe,"UnknownErrorException"),nt.details=ot,nt}return Ue}(Q);P.UnknownErrorException=de;var oe=function(He){X(Ue,He);var et=k(Ue);function Ue(qe){return re(this,Ue),et.call(this,qe,"InvalidPDFException")}return Ue}(Q);P.InvalidPDFException=oe;var pe=function(He){X(Ue,He);var et=k(Ue);function Ue(qe){return re(this,Ue),et.call(this,qe,"MissingPDFException")}return Ue}(Q);P.MissingPDFException=pe;var fe=function(He){X(Ue,He);var et=k(Ue);function Ue(qe,ot){var nt;return re(this,Ue),nt=et.call(this,qe,"UnexpectedResponseException"),nt.status=ot,nt}return Ue}(Q);P.UnexpectedResponseException=fe;var ke=function(He){X(Ue,He);var et=k(Ue);function Ue(qe){return re(this,Ue),et.call(this,qe,"FormatError")}return Ue}(Q);P.FormatError=ke;var Re=function(He){X(Ue,He);var et=k(Ue);function Ue(qe){return re(this,Ue),et.call(this,qe,"AbortException")}return Ue}(Q);P.AbortException=Re;var ve=/\x00+/g,we=/[\x01-\x1F]/g;function se(He){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return typeof He!="string"?($("The argument for removeNullCharacters must be a string."),He):(et&&(He=He.replace(we," ")),He.replace(ve,""))}function me(He){G(He!==null&&q(He)==="object"&&He.length!==void 0,"Invalid argument for bytesToString");var et=He.length,Ue=8192;if(et<Ue)return String.fromCharCode.apply(null,He);for(var qe=[],ot=0;ot<et;ot+=Ue){var nt=Math.min(ot+Ue,et),Pt=He.subarray(ot,nt);qe.push(String.fromCharCode.apply(null,Pt))}return qe.join("")}function ee(He){G(typeof He=="string","Invalid argument for stringToBytes");for(var et=He.length,Ue=new Uint8Array(et),qe=0;qe<et;++qe)Ue[qe]=He.charCodeAt(qe)&255;return Ue}function Fe(He){return He.length!==void 0?He.length:(G(He.byteLength!==void 0,"arrayByteLength - invalid argument."),He.byteLength)}function Ee(He){var et=He.length;if(et===1&&He[0]instanceof Uint8Array)return He[0];for(var Ue=0,qe=0;qe<et;qe++)Ue+=Fe(He[qe]);for(var ot=0,nt=new Uint8Array(Ue),Pt=0;Pt<et;Pt++){var Lt=He[Pt];Lt instanceof Uint8Array||(typeof Lt=="string"?Lt=ee(Lt):Lt=new Uint8Array(Lt));var bt=Lt.byteLength;nt.set(Lt,ot),ot+=bt}return nt}function Ce(He){return String.fromCharCode(He>>24&255,He>>16&255,He>>8&255,He&255)}function De(He){return Object.keys(He).length}function _e(He){var et=Object.create(null),Ue=ae(He),qe;try{for(Ue.s();!(qe=Ue.n()).done;){var ot=V(qe.value,2),nt=ot[0],Pt=ot[1];et[nt]=Pt}}catch(Lt){Ue.e(Lt)}finally{Ue.f()}return et}function Ne(){var He=new Uint8Array(4);He[0]=1;var et=new Uint32Array(He.buffer,0,1);return et[0]===1}var $e={get value(){return J(this,"value",Ne())}};P.IsLittleEndianCached=$e;function je(){try{return new Function(""),!0}catch(He){return!1}}var Ve={get value(){return J(this,"value",je())}};P.IsEvalSupportedCached=Ve;var Ke=t(Array(256).keys()).map(function(He){return He.toString(16).padStart(2,"0")}),Qe=function(){function He(){re(this,He)}return b(He,null,[{key:"makeHexColor",value:function(Ue,qe,ot){return"#".concat(Ke[Ue]).concat(Ke[qe]).concat(Ke[ot])}},{key:"transform",value:function(Ue,qe){return[Ue[0]*qe[0]+Ue[2]*qe[1],Ue[1]*qe[0]+Ue[3]*qe[1],Ue[0]*qe[2]+Ue[2]*qe[3],Ue[1]*qe[2]+Ue[3]*qe[3],Ue[0]*qe[4]+Ue[2]*qe[5]+Ue[4],Ue[1]*qe[4]+Ue[3]*qe[5]+Ue[5]]}},{key:"applyTransform",value:function(Ue,qe){var ot=Ue[0]*qe[0]+Ue[1]*qe[2]+qe[4],nt=Ue[0]*qe[1]+Ue[1]*qe[3]+qe[5];return[ot,nt]}},{key:"applyInverseTransform",value:function(Ue,qe){var ot=qe[0]*qe[3]-qe[1]*qe[2],nt=(Ue[0]*qe[3]-Ue[1]*qe[2]+qe[2]*qe[5]-qe[4]*qe[3])/ot,Pt=(-Ue[0]*qe[1]+Ue[1]*qe[0]+qe[4]*qe[1]-qe[5]*qe[0])/ot;return[nt,Pt]}},{key:"getAxialAlignedBoundingBox",value:function(Ue,qe){var ot=He.applyTransform(Ue,qe),nt=He.applyTransform(Ue.slice(2,4),qe),Pt=He.applyTransform([Ue[0],Ue[3]],qe),Lt=He.applyTransform([Ue[2],Ue[1]],qe);return[Math.min(ot[0],nt[0],Pt[0],Lt[0]),Math.min(ot[1],nt[1],Pt[1],Lt[1]),Math.max(ot[0],nt[0],Pt[0],Lt[0]),Math.max(ot[1],nt[1],Pt[1],Lt[1])]}},{key:"inverseTransform",value:function(Ue){var qe=Ue[0]*Ue[3]-Ue[1]*Ue[2];return[Ue[3]/qe,-Ue[1]/qe,-Ue[2]/qe,Ue[0]/qe,(Ue[2]*Ue[5]-Ue[4]*Ue[3])/qe,(Ue[4]*Ue[1]-Ue[5]*Ue[0])/qe]}},{key:"apply3dTransform",value:function(Ue,qe){return[Ue[0]*qe[0]+Ue[1]*qe[1]+Ue[2]*qe[2],Ue[3]*qe[0]+Ue[4]*qe[1]+Ue[5]*qe[2],Ue[6]*qe[0]+Ue[7]*qe[1]+Ue[8]*qe[2]]}},{key:"singularValueDecompose2dScale",value:function(Ue){var qe=[Ue[0],Ue[2],Ue[1],Ue[3]],ot=Ue[0]*qe[0]+Ue[1]*qe[2],nt=Ue[0]*qe[1]+Ue[1]*qe[3],Pt=Ue[2]*qe[0]+Ue[3]*qe[2],Lt=Ue[2]*qe[1]+Ue[3]*qe[3],bt=(ot+Lt)/2,Kt=Math.sqrt(Math.pow(ot+Lt,2)-4*(ot*Lt-Pt*nt))/2,Jt=bt+Kt||1,nr=bt-Kt||1;return[Math.sqrt(Jt),Math.sqrt(nr)]}},{key:"normalizeRect",value:function(Ue){var qe=Ue.slice(0);return Ue[0]>Ue[2]&&(qe[0]=Ue[2],qe[2]=Ue[0]),Ue[1]>Ue[3]&&(qe[1]=Ue[3],qe[3]=Ue[1]),qe}},{key:"intersect",value:function(Ue,qe){function ot(bt,Kt){return bt-Kt}var nt=[Ue[0],Ue[2],qe[0],qe[2]].sort(ot),Pt=[Ue[1],Ue[3],qe[1],qe[3]].sort(ot),Lt=[];if(Ue=He.normalizeRect(Ue),qe=He.normalizeRect(qe),nt[0]===Ue[0]&&nt[1]===qe[0]||nt[0]===qe[0]&&nt[1]===Ue[0])Lt[0]=nt[1],Lt[2]=nt[2];else return null;if(Pt[0]===Ue[1]&&Pt[1]===qe[1]||Pt[0]===qe[1]&&Pt[1]===Ue[1])Lt[1]=Pt[1],Lt[3]=Pt[2];else return null;return Lt}},{key:"bezierBoundingBox",value:function(Ue,qe,ot,nt,Pt,Lt,bt,Kt){for(var Jt=[],nr=[[],[]],pr,ur,yr,Xt,fr,Dr,Hr,Kr,Br=0;Br<2;++Br){if(Br===0?(ur=6*Ue-12*ot+6*Pt,pr=-3*Ue+9*ot-9*Pt+3*bt,yr=3*ot-3*Ue):(ur=6*qe-12*nt+6*Lt,pr=-3*qe+9*nt-9*Lt+3*Kt,yr=3*nt-3*qe),Math.abs(pr)<1e-12){if(Math.abs(ur)<1e-12)continue;Xt=-yr/ur,0<Xt&&Xt<1&&Jt.push(Xt);continue}Hr=ur*ur-4*yr*pr,Kr=Math.sqrt(Hr),!(Hr<0)&&(fr=(-ur+Kr)/(2*pr),0<fr&&fr<1&&Jt.push(fr),Dr=(-ur-Kr)/(2*pr),0<Dr&&Dr<1&&Jt.push(Dr))}for(var Sr=Jt.length,hr,vr=Sr;Sr--;)Xt=Jt[Sr],hr=1-Xt,nr[0][Sr]=hr*hr*hr*Ue+3*hr*hr*Xt*ot+3*hr*Xt*Xt*Pt+Xt*Xt*Xt*bt,nr[1][Sr]=hr*hr*hr*qe+3*hr*hr*Xt*nt+3*hr*Xt*Xt*Lt+Xt*Xt*Xt*Kt;return nr[0][vr]=Ue,nr[1][vr]=qe,nr[0][vr+1]=bt,nr[1][vr+1]=Kt,nr[0].length=nr[1].length=vr+2,[Math.min.apply(Math,t(nr[0])),Math.min.apply(Math,t(nr[1])),Math.max.apply(Math,t(nr[0])),Math.max.apply(Math,t(nr[1]))]}}]),He}();P.Util=Qe;var Ze=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function ze(He){var et=He.length,Ue=[];if(He[0]==="\xFE"&&He[1]==="\xFF")for(var qe=2;qe<et;qe+=2)Ue.push(String.fromCharCode(He.charCodeAt(qe)<<8|He.charCodeAt(qe+1)));else if(He[0]==="\xFF"&&He[1]==="\xFE")for(var ot=2;ot<et;ot+=2)Ue.push(String.fromCharCode(He.charCodeAt(ot+1)<<8|He.charCodeAt(ot)));else for(var nt=0;nt<et;++nt){var Pt=Ze[He.charCodeAt(nt)];Ue.push(Pt?String.fromCharCode(Pt):He.charAt(nt))}return Ue.join("")}function ct(He){return He.replace(/([()\\\n\r])/g,function(et){return et===`
`?"\\n":et==="\r"?"\\r":"\\".concat(et)})}function Je(He){return/^[\x00-\x7F]*$/.test(He)}function gt(He){for(var et=["\xFE\xFF"],Ue=0,qe=He.length;Ue<qe;Ue++){var ot=He.charCodeAt(Ue);et.push(String.fromCharCode(ot>>8&255),String.fromCharCode(ot&255))}return et.join("")}function xt(He){return decodeURIComponent(escape(He))}function tt(He){return unescape(encodeURIComponent(He))}function yt(He){return typeof He=="boolean"}function It(He){return typeof He=="number"}function ft(He){return typeof He=="string"}function Ut(He){return q(He)==="object"&&He!==null&&He.byteLength!==void 0}function kt(He,et){if(He.length!==et.length)return!1;for(var Ue=0,qe=He.length;Ue<qe;Ue++)if(He[Ue]!==et[Ue])return!1;return!0}function Nt(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Date,et=[He.getUTCFullYear().toString(),(He.getUTCMonth()+1).toString().padStart(2,"0"),He.getUTCDate().toString().padStart(2,"0"),He.getUTCHours().toString().padStart(2,"0"),He.getUTCMinutes().toString().padStart(2,"0"),He.getUTCSeconds().toString().padStart(2,"0")];return et.join("")}function ar(){var He=Object.create(null),et=!1;return Object.defineProperty(He,"settled",{get:function(){return et}}),He.promise=new Promise(function(Ue,qe){He.resolve=function(ot){et=!0,Ue(ot)},He.reject=function(ot){et=!0,qe(ot)}}),He}function Qt(He){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(URL.createObjectURL&&typeof Blob!="undefined"&&!Ue)return URL.createObjectURL(new Blob([He],{type:et}));for(var qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ot="data:".concat(et,";base64,"),nt=0,Pt=He.length;nt<Pt;nt+=3){var Lt=He[nt]&255,bt=He[nt+1]&255,Kt=He[nt+2]&255,Jt=Lt>>2,nr=(Lt&3)<<4|bt>>4,pr=nt+1<Pt?(bt&15)<<2|Kt>>6:64,ur=nt+2<Pt?Kt&63:64;ot+=qe[Jt]+qe[nr]+qe[pr]+qe[ur]}return ot}},(Me,P,D)=>{"use strict";var T=D(6);(typeof globalThis=="undefined"||!globalThis._pdfjsCompatibilityChecked)&&((typeof globalThis=="undefined"||globalThis.Math!==Math)&&(globalThis=D(7)),globalThis._pdfjsCompatibilityChecked=!0,function(){globalThis.btoa||!T.isNodeJS||(globalThis.btoa=function(t){return Buffer.from(t,"binary").toString("base64")})}(),function(){globalThis.atob||!T.isNodeJS||(globalThis.atob=function(t){return Buffer.from(t,"base64").toString("binary")})}(),function(){globalThis.DOMMatrix||!T.isNodeJS||(globalThis.DOMMatrix=D(69))}(),function(){Object.fromEntries||D(70)}(),function(){globalThis.Promise.allSettled||(globalThis.Promise=D(97))}(),function(){globalThis.ReadableStream||!T.isNodeJS||(globalThis.ReadableStream=D(134).ReadableStream)}())},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.isNodeJS=void 0;function D(b){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D=function(e){return typeof e}:D=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(b)}var T=(typeof process=="undefined"?"undefined":D(process))==="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser");P.isNodeJS=T},(Me,P,D)=>{D(8),Me.exports=D(10)},(Me,P,D)=>{var T=D(9),b=D(10);T({global:!0},{globalThis:b})},(Me,P,D)=>{var T=D(10),b=D(11).f,t=D(47),e=D(50),ge=D(41),le=D(57),V=D(68);Me.exports=function(ye,be){var xe=ye.target,ae=ye.global,d=ye.stat,ce,q,re,X,y,k;if(ae?q=T:d?q=T[xe]||ge(xe,{}):q=(T[xe]||{}).prototype,q)for(re in be){if(y=be[re],ye.noTargetGet?(k=b(q,re),X=k&&k.value):X=q[re],ce=V(ae?re:xe+(d?".":"#")+re,ye.forced),!ce&&X!==void 0){if(typeof y==typeof X)continue;le(y,X)}(ye.sham||X&&X.sham)&&t(y,"sham",!0),e(q,re,y,ye)}}},Me=>{var P=function(D){return D&&D.Math==Math&&D};Me.exports=P(typeof globalThis=="object"&&globalThis)||P(typeof window=="object"&&window)||P(typeof self=="object"&&self)||P(typeof global=="object"&&global)||function(){return this}()||Function("return this")()},(Me,P,D)=>{var T=D(12),b=D(14),t=D(15),e=D(16),ge=D(17),le=D(22),V=D(42),ye=D(45),be=Object.getOwnPropertyDescriptor;P.f=T?be:function(ae,d){if(ae=ge(ae),d=le(d),ye)try{return be(ae,d)}catch(ce){}if(V(ae,d))return e(!b(t.f,ae,d),ae[d])}},(Me,P,D)=>{var T=D(13);Me.exports=!T(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},Me=>{Me.exports=function(P){try{return!!P()}catch(D){return!0}}},Me=>{var P=Function.prototype.call;Me.exports=P.bind?P.bind(P):function(){return P.apply(P,arguments)}},(Me,P)=>{"use strict";var D={}.propertyIsEnumerable,T=Object.getOwnPropertyDescriptor,b=T&&!D.call({1:2},1);P.f=b?function(e){var ge=T(this,e);return!!ge&&ge.enumerable}:D},Me=>{Me.exports=function(P,D){return{enumerable:!(P&1),configurable:!(P&2),writable:!(P&4),value:D}}},(Me,P,D)=>{var T=D(18),b=D(21);Me.exports=function(t){return T(b(t))}},(Me,P,D)=>{var T=D(10),b=D(19),t=D(13),e=D(20),ge=T.Object,le=b("".split);Me.exports=t(function(){return!ge("z").propertyIsEnumerable(0)})?function(V){return e(V)=="String"?le(V,""):ge(V)}:ge},Me=>{var P=Function.prototype,D=P.bind,T=P.call,b=D&&D.bind(T);Me.exports=D?function(t){return t&&b(T,t)}:function(t){return t&&function(){return T.apply(t,arguments)}}},(Me,P,D)=>{var T=D(19),b=T({}.toString),t=T("".slice);Me.exports=function(e){return t(b(e),8,-1)}},(Me,P,D)=>{var T=D(10),b=T.TypeError;Me.exports=function(t){if(t==null)throw b("Can't call method on "+t);return t}},(Me,P,D)=>{var T=D(23),b=D(26);Me.exports=function(t){var e=T(t,"string");return b(e)?e:e+""}},(Me,P,D)=>{var T=D(10),b=D(14),t=D(24),e=D(26),ge=D(33),le=D(36),V=D(37),ye=T.TypeError,be=V("toPrimitive");Me.exports=function(xe,ae){if(!t(xe)||e(xe))return xe;var d=ge(xe,be),ce;if(d){if(ae===void 0&&(ae="default"),ce=b(d,xe,ae),!t(ce)||e(ce))return ce;throw ye("Can't convert object to primitive value")}return ae===void 0&&(ae="number"),le(xe,ae)}},(Me,P,D)=>{var T=D(25);Me.exports=function(b){return typeof b=="object"?b!==null:T(b)}},Me=>{Me.exports=function(P){return typeof P=="function"}},(Me,P,D)=>{var T=D(10),b=D(27),t=D(25),e=D(28),ge=D(29),le=T.Object;Me.exports=ge?function(V){return typeof V=="symbol"}:function(V){var ye=b("Symbol");return t(ye)&&e(ye.prototype,le(V))}},(Me,P,D)=>{var T=D(10),b=D(25),t=function(e){return b(e)?e:void 0};Me.exports=function(e,ge){return arguments.length<2?t(T[e]):T[e]&&T[e][ge]}},(Me,P,D)=>{var T=D(19);Me.exports=T({}.isPrototypeOf)},(Me,P,D)=>{var T=D(30);Me.exports=T&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},(Me,P,D)=>{var T=D(31),b=D(13);Me.exports=!!Object.getOwnPropertySymbols&&!b(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&T&&T<41})},(Me,P,D)=>{var T=D(10),b=D(32),t=T.process,e=T.Deno,ge=t&&t.versions||e&&e.version,le=ge&&ge.v8,V,ye;le&&(V=le.split("."),ye=V[0]>0&&V[0]<4?1:+(V[0]+V[1])),!ye&&b&&(V=b.match(/Edge\/(\d+)/),(!V||V[1]>=74)&&(V=b.match(/Chrome\/(\d+)/),V&&(ye=+V[1]))),Me.exports=ye},(Me,P,D)=>{var T=D(27);Me.exports=T("navigator","userAgent")||""},(Me,P,D)=>{var T=D(34);Me.exports=function(b,t){var e=b[t];return e==null?void 0:T(e)}},(Me,P,D)=>{var T=D(10),b=D(25),t=D(35),e=T.TypeError;Me.exports=function(ge){if(b(ge))return ge;throw e(t(ge)+" is not a function")}},(Me,P,D)=>{var T=D(10),b=T.String;Me.exports=function(t){try{return b(t)}catch(e){return"Object"}}},(Me,P,D)=>{var T=D(10),b=D(14),t=D(25),e=D(24),ge=T.TypeError;Me.exports=function(le,V){var ye,be;if(V==="string"&&t(ye=le.toString)&&!e(be=b(ye,le))||t(ye=le.valueOf)&&!e(be=b(ye,le))||V!=="string"&&t(ye=le.toString)&&!e(be=b(ye,le)))return be;throw ge("Can't convert object to primitive value")}},(Me,P,D)=>{var T=D(10),b=D(38),t=D(42),e=D(44),ge=D(30),le=D(29),V=b("wks"),ye=T.Symbol,be=ye&&ye.for,xe=le?ye:ye&&ye.withoutSetter||e;Me.exports=function(ae){if(!t(V,ae)||!(ge||typeof V[ae]=="string")){var d="Symbol."+ae;ge&&t(ye,ae)?V[ae]=ye[ae]:le&&be?V[ae]=be(d):V[ae]=xe(d)}return V[ae]}},(Me,P,D)=>{var T=D(39),b=D(40);(Me.exports=function(t,e){return b[t]||(b[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.19.3",mode:T?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},Me=>{Me.exports=!1},(Me,P,D)=>{var T=D(10),b=D(41),t="__core-js_shared__",e=T[t]||b(t,{});Me.exports=e},(Me,P,D)=>{var T=D(10),b=Object.defineProperty;Me.exports=function(t,e){try{b(T,t,{value:e,configurable:!0,writable:!0})}catch(ge){T[t]=e}return e}},(Me,P,D)=>{var T=D(19),b=D(43),t=T({}.hasOwnProperty);Me.exports=Object.hasOwn||function(ge,le){return t(b(ge),le)}},(Me,P,D)=>{var T=D(10),b=D(21),t=T.Object;Me.exports=function(e){return t(b(e))}},(Me,P,D)=>{var T=D(19),b=0,t=Math.random(),e=T(1 .toString);Me.exports=function(ge){return"Symbol("+(ge===void 0?"":ge)+")_"+e(++b+t,36)}},(Me,P,D)=>{var T=D(12),b=D(13),t=D(46);Me.exports=!T&&!b(function(){return Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a!=7})},(Me,P,D)=>{var T=D(10),b=D(24),t=T.document,e=b(t)&&b(t.createElement);Me.exports=function(ge){return e?t.createElement(ge):{}}},(Me,P,D)=>{var T=D(12),b=D(48),t=D(16);Me.exports=T?function(e,ge,le){return b.f(e,ge,t(1,le))}:function(e,ge,le){return e[ge]=le,e}},(Me,P,D)=>{var T=D(10),b=D(12),t=D(45),e=D(49),ge=D(22),le=T.TypeError,V=Object.defineProperty;P.f=b?V:function(be,xe,ae){if(e(be),xe=ge(xe),e(ae),t)try{return V(be,xe,ae)}catch(d){}if("get"in ae||"set"in ae)throw le("Accessors not supported");return"value"in ae&&(be[xe]=ae.value),be}},(Me,P,D)=>{var T=D(10),b=D(24),t=T.String,e=T.TypeError;Me.exports=function(ge){if(b(ge))return ge;throw e(t(ge)+" is not an object")}},(Me,P,D)=>{var T=D(10),b=D(25),t=D(42),e=D(47),ge=D(41),le=D(51),V=D(52),ye=D(56).CONFIGURABLE,be=V.get,xe=V.enforce,ae=String(String).split("String");(Me.exports=function(d,ce,q,re){var X=re?!!re.unsafe:!1,y=re?!!re.enumerable:!1,k=re?!!re.noTargetGet:!1,n=re&&re.name!==void 0?re.name:ce,S;if(b(q)&&(String(n).slice(0,7)==="Symbol("&&(n="["+String(n).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!t(q,"name")||ye&&q.name!==n)&&e(q,"name",n),S=xe(q),S.source||(S.source=ae.join(typeof n=="string"?n:""))),d===T){y?d[ce]=q:ge(ce,q);return}else X?!k&&d[ce]&&(y=!0):delete d[ce];y?d[ce]=q:e(d,ce,q)})(Function.prototype,"toString",function(){return b(this)&&be(this).source||le(this)})},(Me,P,D)=>{var T=D(19),b=D(25),t=D(40),e=T(Function.toString);b(t.inspectSource)||(t.inspectSource=function(ge){return e(ge)}),Me.exports=t.inspectSource},(Me,P,D)=>{var T=D(53),b=D(10),t=D(19),e=D(24),ge=D(47),le=D(42),V=D(40),ye=D(54),be=D(55),xe="Object already initialized",ae=b.TypeError,d=b.WeakMap,ce,q,re,X=function(p){return re(p)?q(p):ce(p,{})},y=function(p){return function(x){var f;if(!e(x)||(f=q(x)).type!==p)throw ae("Incompatible receiver, "+p+" required");return f}};if(T||V.state){var k=V.state||(V.state=new d),n=t(k.get),S=t(k.has),O=t(k.set);ce=function(p,x){if(S(k,p))throw new ae(xe);return x.facade=p,O(k,p,x),x},q=function(p){return n(k,p)||{}},re=function(p){return S(k,p)}}else{var w=ye("state");be[w]=!0,ce=function(p,x){if(le(p,w))throw new ae(xe);return x.facade=p,ge(p,w,x),x},q=function(p){return le(p,w)?p[w]:{}},re=function(p){return le(p,w)}}Me.exports={set:ce,get:q,has:re,enforce:X,getterFor:y}},(Me,P,D)=>{var T=D(10),b=D(25),t=D(51),e=T.WeakMap;Me.exports=b(e)&&/native code/.test(t(e))},(Me,P,D)=>{var T=D(38),b=D(44),t=T("keys");Me.exports=function(e){return t[e]||(t[e]=b(e))}},Me=>{Me.exports={}},(Me,P,D)=>{var T=D(12),b=D(42),t=Function.prototype,e=T&&Object.getOwnPropertyDescriptor,ge=b(t,"name"),le=ge&&function(){}.name==="something",V=ge&&(!T||T&&e(t,"name").configurable);Me.exports={EXISTS:ge,PROPER:le,CONFIGURABLE:V}},(Me,P,D)=>{var T=D(42),b=D(58),t=D(11),e=D(48);Me.exports=function(ge,le){for(var V=b(le),ye=e.f,be=t.f,xe=0;xe<V.length;xe++){var ae=V[xe];T(ge,ae)||ye(ge,ae,be(le,ae))}}},(Me,P,D)=>{var T=D(27),b=D(19),t=D(59),e=D(67),ge=D(49),le=b([].concat);Me.exports=T("Reflect","ownKeys")||function(ye){var be=t.f(ge(ye)),xe=e.f;return xe?le(be,xe(ye)):be}},(Me,P,D)=>{var T=D(60),b=D(66),t=b.concat("length","prototype");P.f=Object.getOwnPropertyNames||function(ge){return T(ge,t)}},(Me,P,D)=>{var T=D(19),b=D(42),t=D(17),e=D(61).indexOf,ge=D(55),le=T([].push);Me.exports=function(V,ye){var be=t(V),xe=0,ae=[],d;for(d in be)!b(ge,d)&&b(be,d)&&le(ae,d);for(;ye.length>xe;)b(be,d=ye[xe++])&&(~e(ae,d)||le(ae,d));return ae}},(Me,P,D)=>{var T=D(17),b=D(62),t=D(64),e=function(ge){return function(le,V,ye){var be=T(le),xe=t(be),ae=b(ye,xe),d;if(ge&&V!=V){for(;xe>ae;)if(d=be[ae++],d!=d)return!0}else for(;xe>ae;ae++)if((ge||ae in be)&&be[ae]===V)return ge||ae||0;return!ge&&-1}};Me.exports={includes:e(!0),indexOf:e(!1)}},(Me,P,D)=>{var T=D(63),b=Math.max,t=Math.min;Me.exports=function(e,ge){var le=T(e);return le<0?b(le+ge,0):t(le,ge)}},Me=>{var P=Math.ceil,D=Math.floor;Me.exports=function(T){var b=+T;return b!==b||b===0?0:(b>0?D:P)(b)}},(Me,P,D)=>{var T=D(65);Me.exports=function(b){return T(b.length)}},(Me,P,D)=>{var T=D(63),b=Math.min;Me.exports=function(t){return t>0?b(T(t),9007199254740991):0}},Me=>{Me.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(Me,P)=>{P.f=Object.getOwnPropertySymbols},(Me,P,D)=>{var T=D(13),b=D(25),t=/#|\.prototype\./,e=function(be,xe){var ae=le[ge(be)];return ae==ye?!0:ae==V?!1:b(xe)?T(xe):!!xe},ge=e.normalize=function(be){return String(be).replace(t,".").toLowerCase()},le=e.data={},V=e.NATIVE="N",ye=e.POLYFILL="P";Me.exports=e},(Me,P,D)=>{"use strict";var T,b;function t(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(le){return typeof le}:t=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},t(e)}(function(e,ge){t(P)==="object"?Me.exports=ge():(T=ge,b=typeof T=="function"?T.call(P,D,P,Me):T,b!==void 0&&(Me.exports=b))})(void 0,function(){"use strict";function e(k){var n=new q,S=Array.from(k);if(!S.every(function(_){return!Number.isNaN(_)}))throw TypeError('CSSMatrix: "'+k+'" must only have numbers.');if(S.length===16){var O=S[0],w=S[1],p=S[2],x=S[3],f=S[4],h=S[5],F=S[6],s=S[7],g=S[8],l=S[9],a=S[10],i=S[11],m=S[12],o=S[13],c=S[14],v=S[15];n.m11=O,n.a=O,n.m21=f,n.c=f,n.m31=g,n.m41=m,n.e=m,n.m12=w,n.b=w,n.m22=h,n.d=h,n.m32=l,n.m42=o,n.f=o,n.m13=p,n.m23=F,n.m33=a,n.m43=c,n.m14=x,n.m24=s,n.m34=i,n.m44=v}else if(S.length===6){var A=S[0],u=S[1],C=S[2],I=S[3],E=S[4],N=S[5];n.m11=A,n.a=A,n.m12=u,n.b=u,n.m21=C,n.c=C,n.m22=I,n.d=I,n.m41=E,n.e=E,n.m42=N,n.f=N}else throw new TypeError("CSSMatrix: expecting an Array of 6/16 values.");return n}function ge(k){var n=Object.keys(new q);if(t(k)==="object"&&n.every(function(S){return S in k}))return e([k.m11,k.m12,k.m13,k.m14,k.m21,k.m22,k.m23,k.m24,k.m31,k.m32,k.m33,k.m34,k.m41,k.m42,k.m43,k.m44]);throw TypeError('CSSMatrix: "'+k+'" is not a DOMMatrix / CSSMatrix / JSON compatible object.')}function le(k){if(typeof k!="string")throw TypeError('CSSMatrix: "'+k+'" is not a string.');var n=String(k).replace(/\s/g,""),S=new q,O='CSSMatrix: invalid transform string "'+k+'"';return n.split(")").filter(function(w){return w}).forEach(function(w){var p=w.split("("),x=p[0],f=p[1];if(!f)throw TypeError(O);var h=f.split(",").map(function(I){return I.includes("rad")?parseFloat(I)*(180/Math.PI):parseFloat(I)}),F=h[0],s=h[1],g=h[2],l=h[3],a=[F,s,g],i=[F,s,g,l];if(x==="perspective"&&F&&[s,g].every(function(I){return I===void 0}))S.m34=-1/F;else if(x.includes("matrix")&&[6,16].includes(h.length)&&h.every(function(I){return!Number.isNaN(+I)})){var m=h.map(function(I){return Math.abs(I)<1e-6?0:I});S=S.multiply(e(m))}else if(x==="translate3d"&&a.every(function(I){return!Number.isNaN(+I)}))S=S.translate(F,s,g);else if(x==="translate"&&F&&g===void 0)S=S.translate(F,s||0,0);else if(x==="rotate3d"&&i.every(function(I){return!Number.isNaN(+I)})&&l)S=S.rotateAxisAngle(F,s,g,l);else if(x==="rotate"&&F&&[s,g].every(function(I){return I===void 0}))S=S.rotate(0,0,F);else if(x==="scale3d"&&a.every(function(I){return!Number.isNaN(+I)})&&a.some(function(I){return I!==1}))S=S.scale(F,s,g);else if(x==="scale"&&!Number.isNaN(F)&&F!==1&&g===void 0){var o=Number.isNaN(+s),c=o?F:s;S=S.scale(F,c,1)}else if(x==="skew"&&F&&g===void 0)S=S.skewX(F),S=s?S.skewY(s):S;else if(/[XYZ]/.test(x)&&F&&[s,g].every(function(I){return I===void 0})&&["translate","rotate","scale","skew"].some(function(I){return x.includes(I)}))if(["skewX","skewY"].includes(x))S=S[x](F);else{var v=x.replace(/[XYZ]/,""),A=x.replace(v,""),u=["X","Y","Z"].indexOf(A),C=[u===0?F:0,u===1?F:0,u===2?F:0];S=S[v].apply(S,C)}else throw TypeError(O)}),S}function V(k,n,S){var O=new q;return O.m41=k,O.e=k,O.m42=n,O.f=n,O.m43=S,O}function ye(k,n,S){var O=new q,w=Math.PI/180,p=k*w,x=n*w,f=S*w,h=Math.cos(p),F=-Math.sin(p),s=Math.cos(x),g=-Math.sin(x),l=Math.cos(f),a=-Math.sin(f),i=s*l,m=-s*a;O.m11=i,O.a=i,O.m12=m,O.b=m,O.m13=g;var o=F*g*l+h*a;O.m21=o,O.c=o;var c=h*l-F*g*a;return O.m22=c,O.d=c,O.m23=-F*s,O.m31=F*a-h*g*l,O.m32=F*l+h*g*a,O.m33=h*s,O}function be(k,n,S,O){var w=new q,p=O*(Math.PI/360),x=Math.sin(p),f=Math.cos(p),h=x*x,F=Math.sqrt(k*k+n*n+S*S),s=k,g=n,l=S;F===0?(s=0,g=0,l=1):(s/=F,g/=F,l/=F);var a=s*s,i=g*g,m=l*l,o=1-2*(i+m)*h;w.m11=o,w.a=o;var c=2*(s*g*h+l*x*f);w.m12=c,w.b=c,w.m13=2*(s*l*h-g*x*f);var v=2*(g*s*h-l*x*f);w.m21=v,w.c=v;var A=1-2*(m+a)*h;return w.m22=A,w.d=A,w.m23=2*(g*l*h+s*x*f),w.m31=2*(l*s*h+g*x*f),w.m32=2*(l*g*h-s*x*f),w.m33=1-2*(a+i)*h,w}function xe(k,n,S){var O=new q;return O.m11=k,O.a=k,O.m22=n,O.d=n,O.m33=S,O}function ae(k){var n=new q,S=k*Math.PI/180,O=Math.tan(S);return n.m21=O,n.c=O,n}function d(k){var n=new q,S=k*Math.PI/180,O=Math.tan(S);return n.m12=O,n.b=O,n}function ce(k,n){var S=n.m11*k.m11+n.m12*k.m21+n.m13*k.m31+n.m14*k.m41,O=n.m11*k.m12+n.m12*k.m22+n.m13*k.m32+n.m14*k.m42,w=n.m11*k.m13+n.m12*k.m23+n.m13*k.m33+n.m14*k.m43,p=n.m11*k.m14+n.m12*k.m24+n.m13*k.m34+n.m14*k.m44,x=n.m21*k.m11+n.m22*k.m21+n.m23*k.m31+n.m24*k.m41,f=n.m21*k.m12+n.m22*k.m22+n.m23*k.m32+n.m24*k.m42,h=n.m21*k.m13+n.m22*k.m23+n.m23*k.m33+n.m24*k.m43,F=n.m21*k.m14+n.m22*k.m24+n.m23*k.m34+n.m24*k.m44,s=n.m31*k.m11+n.m32*k.m21+n.m33*k.m31+n.m34*k.m41,g=n.m31*k.m12+n.m32*k.m22+n.m33*k.m32+n.m34*k.m42,l=n.m31*k.m13+n.m32*k.m23+n.m33*k.m33+n.m34*k.m43,a=n.m31*k.m14+n.m32*k.m24+n.m33*k.m34+n.m34*k.m44,i=n.m41*k.m11+n.m42*k.m21+n.m43*k.m31+n.m44*k.m41,m=n.m41*k.m12+n.m42*k.m22+n.m43*k.m32+n.m44*k.m42,o=n.m41*k.m13+n.m42*k.m23+n.m43*k.m33+n.m44*k.m43,c=n.m41*k.m14+n.m42*k.m24+n.m43*k.m34+n.m44*k.m44;return e([S,O,w,p,x,f,h,F,s,g,l,a,i,m,o,c])}var q=function(){for(var n=[],S=arguments.length;S--;)n[S]=arguments[S];var O=this;if(O.a=1,O.b=0,O.c=0,O.d=1,O.e=0,O.f=0,O.m11=1,O.m12=0,O.m13=0,O.m14=0,O.m21=0,O.m22=1,O.m23=0,O.m24=0,O.m31=0,O.m32=0,O.m33=1,O.m34=0,O.m41=0,O.m42=0,O.m43=0,O.m44=1,n&&n.length){var w=[16,6].some(function(p){return p===n.length})?n:n[0];return O.setMatrixValue(w)}return O},re={isIdentity:{configurable:!0},is2D:{configurable:!0}};re.isIdentity.set=function(k){this.isIdentity=k},re.isIdentity.get=function(){var k=this;return k.m11===1&&k.m12===0&&k.m13===0&&k.m14===0&&k.m21===0&&k.m22===1&&k.m23===0&&k.m24===0&&k.m31===0&&k.m32===0&&k.m33===1&&k.m34===0&&k.m41===0&&k.m42===0&&k.m43===0&&k.m44===1},re.is2D.get=function(){var k=this;return k.m31===0&&k.m32===0&&k.m33===1&&k.m34===0&&k.m43===0&&k.m44===1},re.is2D.set=function(k){this.is2D=k},q.prototype.setMatrixValue=function(n){var S=this;return[Array,Float64Array,Float32Array].some(function(O){return n instanceof O})?e(n):typeof n=="string"&&n.length&&n!=="none"?le(n):t(n)==="object"?ge(n):S},q.prototype.toArray=function(){var n=this,S=Math.pow(10,6),O;return n.is2D?O=[n.a,n.b,n.c,n.d,n.e,n.f]:O=[n.m11,n.m12,n.m13,n.m14,n.m21,n.m22,n.m23,n.m24,n.m31,n.m32,n.m33,n.m34,n.m41,n.m42,n.m43,n.m44],O.map(function(w){return Math.abs(w)<1e-6?0:(w*S>>0)/S})},q.prototype.toString=function(){var n=this,S=n.toArray(),O=n.is2D?"matrix":"matrix3d";return O+"("+S+")"},q.prototype.toJSON=function(){var n=this,S=n.is2D,O=n.isIdentity;return Object.assign({},n,{is2D:S,isIdentity:O})},q.prototype.multiply=function(n){return ce(this,n)},q.prototype.translate=function(n,S,O){var w=n,p=S,x=O;return x===void 0&&(x=0),p===void 0&&(p=0),ce(this,V(w,p,x))},q.prototype.scale=function(n,S,O){var w=n,p=S,x=O;return p===void 0&&(p=n),x===void 0&&(x=1),ce(this,xe(w,p,x))},q.prototype.rotate=function(n,S,O){var w=n,p=S,x=O;return p===void 0&&(p=0),x===void 0&&(x=w,w=0),ce(this,ye(w,p,x))},q.prototype.rotateAxisAngle=function(n,S,O,w){if([n,S,O,w].some(function(p){return Number.isNaN(p)}))throw new TypeError("CSSMatrix: expecting 4 values");return ce(this,be(n,S,O,w))},q.prototype.skewX=function(n){return ce(this,ae(n))},q.prototype.skewY=function(n){return ce(this,d(n))},q.prototype.transformPoint=function(n){var S=this,O=V(n.x,n.y,n.z);return O.m44=n.w||1,O=S.multiply(O),{x:O.m41,y:O.m42,z:O.m43,w:O.m44}},q.prototype.transform=function(n){var S=this,O=S.m11*n.x+S.m12*n.y+S.m13*n.z+S.m14*n.w,w=S.m21*n.x+S.m22*n.y+S.m23*n.z+S.m24*n.w,p=S.m31*n.x+S.m32*n.y+S.m33*n.z+S.m34*n.w,x=S.m41*n.x+S.m42*n.y+S.m43*n.z+S.m44*n.w;return{x:O/x,y:w/x,z:p/x,w:x}},Object.defineProperties(q.prototype,re),Object.assign(q,{Translate:V,Rotate:ye,RotateAxisAngle:be,Scale:xe,SkewX:ae,SkewY:d,Multiply:ce,fromArray:e,fromMatrix:ge,fromString:le});var X="0.0.24",y=X;return Object.assign(q,{Version:y}),q})},(Me,P,D)=>{D(71),D(86);var T=D(96);Me.exports=T.Object.fromEntries},(Me,P,D)=>{"use strict";var T=D(17),b=D(72),t=D(77),e=D(52),ge=D(78),le="Array Iterator",V=e.set,ye=e.getterFor(le);Me.exports=ge(Array,"Array",function(be,xe){V(this,{type:le,target:T(be),index:0,kind:xe})},function(){var be=ye(this),xe=be.target,ae=be.kind,d=be.index++;return!xe||d>=xe.length?(be.target=void 0,{value:void 0,done:!0}):ae=="keys"?{value:d,done:!1}:ae=="values"?{value:xe[d],done:!1}:{value:[d,xe[d]],done:!1}},"values"),t.Arguments=t.Array,b("keys"),b("values"),b("entries")},(Me,P,D)=>{var T=D(37),b=D(73),t=D(48),e=T("unscopables"),ge=Array.prototype;ge[e]==null&&t.f(ge,e,{configurable:!0,value:b(null)}),Me.exports=function(le){ge[e][le]=!0}},(Me,P,D)=>{var T=D(49),b=D(74),t=D(66),e=D(55),ge=D(76),le=D(46),V=D(54),ye=">",be="<",xe="prototype",ae="script",d=V("IE_PROTO"),ce=function(){},q=function(n){return be+ae+ye+n+be+"/"+ae+ye},re=function(n){n.write(q("")),n.close();var S=n.parentWindow.Object;return n=null,S},X=function(){var n=le("iframe"),S="java"+ae+":",O;return n.style.display="none",ge.appendChild(n),n.src=String(S),O=n.contentWindow.document,O.open(),O.write(q("document.F=Object")),O.close(),O.F},y,k=function(){try{y=new ActiveXObject("htmlfile")}catch(S){}k=typeof document!="undefined"?document.domain&&y?re(y):X():re(y);for(var n=t.length;n--;)delete k[xe][t[n]];return k()};e[d]=!0,Me.exports=Object.create||function(S,O){var w;return S!==null?(ce[xe]=T(S),w=new ce,ce[xe]=null,w[d]=S):w=k(),O===void 0?w:b(w,O)}},(Me,P,D)=>{var T=D(12),b=D(48),t=D(49),e=D(17),ge=D(75);Me.exports=T?Object.defineProperties:function(V,ye){t(V);for(var be=e(ye),xe=ge(ye),ae=xe.length,d=0,ce;ae>d;)b.f(V,ce=xe[d++],be[ce]);return V}},(Me,P,D)=>{var T=D(60),b=D(66);Me.exports=Object.keys||function(e){return T(e,b)}},(Me,P,D)=>{var T=D(27);Me.exports=T("document","documentElement")},Me=>{Me.exports={}},(Me,P,D)=>{"use strict";var T=D(9),b=D(14),t=D(39),e=D(56),ge=D(25),le=D(79),V=D(81),ye=D(84),be=D(83),xe=D(47),ae=D(50),d=D(37),ce=D(77),q=D(80),re=e.PROPER,X=e.CONFIGURABLE,y=q.IteratorPrototype,k=q.BUGGY_SAFARI_ITERATORS,n=d("iterator"),S="keys",O="values",w="entries",p=function(){return this};Me.exports=function(x,f,h,F,s,g,l){le(h,f,F);var a=function(E){if(E===s&&v)return v;if(!k&&E in o)return o[E];switch(E){case S:return function(){return new h(this,E)};case O:return function(){return new h(this,E)};case w:return function(){return new h(this,E)}}return function(){return new h(this)}},i=f+" Iterator",m=!1,o=x.prototype,c=o[n]||o["@@iterator"]||s&&o[s],v=!k&&c||a(s),A=f=="Array"&&o.entries||c,u,C,I;if(A&&(u=V(A.call(new x)),u!==Object.prototype&&u.next&&(!t&&V(u)!==y&&(ye?ye(u,y):ge(u[n])||ae(u,n,p)),be(u,i,!0,!0),t&&(ce[i]=p))),re&&s==O&&c&&c.name!==O&&(!t&&X?xe(o,"name",O):(m=!0,v=function(){return b(c,this)})),s)if(C={values:a(O),keys:g?v:a(S),entries:a(w)},l)for(I in C)(k||m||!(I in o))&&ae(o,I,C[I]);else T({target:f,proto:!0,forced:k||m},C);return(!t||l)&&o[n]!==v&&ae(o,n,v,{name:s}),ce[f]=v,C}},(Me,P,D)=>{"use strict";var T=D(80).IteratorPrototype,b=D(73),t=D(16),e=D(83),ge=D(77),le=function(){return this};Me.exports=function(V,ye,be,xe){var ae=ye+" Iterator";return V.prototype=b(T,{next:t(+!xe,be)}),e(V,ae,!1,!0),ge[ae]=le,V}},(Me,P,D)=>{"use strict";var T=D(13),b=D(25),t=D(73),e=D(81),ge=D(50),le=D(37),V=D(39),ye=le("iterator"),be=!1,xe,ae,d;[].keys&&(d=[].keys(),"next"in d?(ae=e(e(d)),ae!==Object.prototype&&(xe=ae)):be=!0);var ce=xe==null||T(function(){var q={};return xe[ye].call(q)!==q});ce?xe={}:V&&(xe=t(xe)),b(xe[ye])||ge(xe,ye,function(){return this}),Me.exports={IteratorPrototype:xe,BUGGY_SAFARI_ITERATORS:be}},(Me,P,D)=>{var T=D(10),b=D(42),t=D(25),e=D(43),ge=D(54),le=D(82),V=ge("IE_PROTO"),ye=T.Object,be=ye.prototype;Me.exports=le?ye.getPrototypeOf:function(xe){var ae=e(xe);if(b(ae,V))return ae[V];var d=ae.constructor;return t(d)&&ae instanceof d?d.prototype:ae instanceof ye?be:null}},(Me,P,D)=>{var T=D(13);Me.exports=!T(function(){function b(){}return b.prototype.constructor=null,Object.getPrototypeOf(new b)!==b.prototype})},(Me,P,D)=>{var T=D(48).f,b=D(42),t=D(37),e=t("toStringTag");Me.exports=function(ge,le,V){ge&&!b(ge=V?ge:ge.prototype,e)&&T(ge,e,{configurable:!0,value:le})}},(Me,P,D)=>{var T=D(19),b=D(49),t=D(85);Me.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,ge={},le;try{le=T(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),le(ge,[]),e=ge instanceof Array}catch(V){}return function(ye,be){return b(ye),t(be),e?le(ye,be):ye.__proto__=be,ye}}():void 0)},(Me,P,D)=>{var T=D(10),b=D(25),t=T.String,e=T.TypeError;Me.exports=function(ge){if(typeof ge=="object"||b(ge))return ge;throw e("Can't set "+t(ge)+" as a prototype")}},(Me,P,D)=>{var T=D(9),b=D(87),t=D(95);T({target:"Object",stat:!0},{fromEntries:function(ge){var le={};return b(ge,function(V,ye){t(le,V,ye)},{AS_ENTRIES:!0}),le}})},(Me,P,D)=>{var T=D(10),b=D(88),t=D(14),e=D(49),ge=D(35),le=D(89),V=D(64),ye=D(28),be=D(90),xe=D(91),ae=D(94),d=T.TypeError,ce=function(re,X){this.stopped=re,this.result=X},q=ce.prototype;Me.exports=function(re,X,y){var k=y&&y.that,n=!!(y&&y.AS_ENTRIES),S=!!(y&&y.IS_ITERATOR),O=!!(y&&y.INTERRUPTED),w=b(X,k),p,x,f,h,F,s,g,l=function(i){return p&&ae(p,"normal",i),new ce(!0,i)},a=function(i){return n?(e(i),O?w(i[0],i[1],l):w(i[0],i[1])):O?w(i,l):w(i)};if(S)p=re;else{if(x=xe(re),!x)throw d(ge(re)+" is not iterable");if(le(x)){for(f=0,h=V(re);h>f;f++)if(F=a(re[f]),F&&ye(q,F))return F;return new ce(!1)}p=be(re,x)}for(s=p.next;!(g=t(s,p)).done;){try{F=a(g.value)}catch(i){ae(p,"throw",i)}if(typeof F=="object"&&F&&ye(q,F))return F}return new ce(!1)}},(Me,P,D)=>{var T=D(19),b=D(34),t=T(T.bind);Me.exports=function(e,ge){return b(e),ge===void 0?e:t?t(e,ge):function(){return e.apply(ge,arguments)}}},(Me,P,D)=>{var T=D(37),b=D(77),t=T("iterator"),e=Array.prototype;Me.exports=function(ge){return ge!==void 0&&(b.Array===ge||e[t]===ge)}},(Me,P,D)=>{var T=D(10),b=D(14),t=D(34),e=D(49),ge=D(35),le=D(91),V=T.TypeError;Me.exports=function(ye,be){var xe=arguments.length<2?le(ye):be;if(t(xe))return e(b(xe,ye));throw V(ge(ye)+" is not iterable")}},(Me,P,D)=>{var T=D(92),b=D(33),t=D(77),e=D(37),ge=e("iterator");Me.exports=function(le){if(le!=null)return b(le,ge)||b(le,"@@iterator")||t[T(le)]}},(Me,P,D)=>{var T=D(10),b=D(93),t=D(25),e=D(20),ge=D(37),le=ge("toStringTag"),V=T.Object,ye=e(function(){return arguments}())=="Arguments",be=function(xe,ae){try{return xe[ae]}catch(d){}};Me.exports=b?e:function(xe){var ae,d,ce;return xe===void 0?"Undefined":xe===null?"Null":typeof(d=be(ae=V(xe),le))=="string"?d:ye?e(ae):(ce=e(ae))=="Object"&&t(ae.callee)?"Arguments":ce}},(Me,P,D)=>{var T=D(37),b=T("toStringTag"),t={};t[b]="z",Me.exports=String(t)==="[object z]"},(Me,P,D)=>{var T=D(14),b=D(49),t=D(33);Me.exports=function(e,ge,le){var V,ye;b(e);try{if(V=t(e,"return"),!V){if(ge==="throw")throw le;return le}V=T(V,e)}catch(be){ye=!0,V=be}if(ge==="throw")throw le;if(ye)throw V;return b(V),le}},(Me,P,D)=>{"use strict";var T=D(22),b=D(48),t=D(16);Me.exports=function(e,ge,le){var V=T(ge);V in e?b.f(e,V,t(0,le)):e[V]=le}},(Me,P,D)=>{var T=D(10);Me.exports=T},(Me,P,D)=>{D(98),D(71),D(105),D(107),D(129),D(130),D(131),D(132);var T=D(96);Me.exports=T.Promise},(Me,P,D)=>{"use strict";var T=D(9),b=D(10),t=D(28),e=D(81),ge=D(84),le=D(57),V=D(73),ye=D(47),be=D(16),xe=D(99),ae=D(101),d=D(87),ce=D(102),q=D(37),re=D(104),X=q("toStringTag"),y=b.Error,k=[].push,n=function(w,p){var x=arguments.length>2?arguments[2]:void 0,f=t(S,this),h;ge?h=ge(new y(void 0),f?e(this):S):(h=f?this:V(S),ye(h,X,"Error")),ye(h,"message",ce(p,"")),re&&ye(h,"stack",xe(h.stack,1)),ae(h,x);var F=[];return d(w,k,{that:F}),ye(h,"errors",F),h};ge?ge(n,y):le(n,y);var S=n.prototype=V(y.prototype,{constructor:be(1,n),message:be(1,""),name:be(1,"AggregateError")});T({global:!0},{AggregateError:n})},(Me,P,D)=>{var T=D(19),b=D(100),t=T("".replace),e=T("".split),ge=T([].join),le=function(xe){return String(Error(xe).stack)}("zxcasd"),V=/\n\s*at [^:]*:[^\n]*/,ye=V.test(le),be=/@[^\n]*\n/.test(le)&&!/zxcasd/.test(le);Me.exports=function(xe,ae){if(typeof xe!="string")return xe;if(ye)for(;ae--;)xe=t(xe,V,"");else if(be)return ge(b(e(xe,`
`),ae),`
`);return xe}},(Me,P,D)=>{var T=D(10),b=D(62),t=D(64),e=D(95),ge=T.Array,le=Math.max;Me.exports=function(V,ye,be){for(var xe=t(V),ae=b(ye,xe),d=b(be===void 0?xe:be,xe),ce=ge(le(d-ae,0)),q=0;ae<d;ae++,q++)e(ce,q,V[ae]);return ce.length=q,ce}},(Me,P,D)=>{var T=D(24),b=D(47);Me.exports=function(t,e){T(e)&&"cause"in e&&b(t,"cause",e.cause)}},(Me,P,D)=>{var T=D(103);Me.exports=function(b,t){return b===void 0?arguments.length<2?"":t:T(b)}},(Me,P,D)=>{var T=D(10),b=D(92),t=T.String;Me.exports=function(e){if(b(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return t(e)}},(Me,P,D)=>{var T=D(13),b=D(16);Me.exports=!T(function(){var t=Error("a");return"stack"in t?(Object.defineProperty(t,"stack",b(1,7)),t.stack!==7):!0})},(Me,P,D)=>{var T=D(93),b=D(50),t=D(106);T||b(Object.prototype,"toString",t,{unsafe:!0})},(Me,P,D)=>{"use strict";var T=D(93),b=D(92);Me.exports=T?{}.toString:function(){return"[object "+b(this)+"]"}},(Me,P,D)=>{"use strict";var T=D(9),b=D(39),t=D(10),e=D(27),ge=D(14),le=D(108),V=D(50),ye=D(109),be=D(84),xe=D(83),ae=D(110),d=D(34),ce=D(25),q=D(24),re=D(111),X=D(51),y=D(87),k=D(112),n=D(113),S=D(116).set,O=D(121),w=D(124),p=D(126),x=D(125),f=D(127),h=D(52),F=D(68),s=D(37),g=D(128),l=D(120),a=D(31),i=s("species"),m="Promise",o=h.getterFor(m),c=h.set,v=h.getterFor(m),A=le&&le.prototype,u=le,C=A,I=t.TypeError,E=t.document,N=t.process,_=x.f,Y=_,H=!!(E&&E.createEvent&&t.dispatchEvent),Z=ce(t.PromiseRejectionEvent),ne="unhandledrejection",he="rejectionhandled",Se=0,ue=1,te=2,$=1,j=2,G=!1,M,W,z,J,Q=F(m,function(){var me=X(u),ee=me!==String(u);if(!ee&&a===66||b&&!C.finally)return!0;if(a>=51&&/native code/.test(me))return!1;var Fe=new u(function(De){De(1)}),Ee=function(De){De(function(){},function(){})},Ce=Fe.constructor={};return Ce[i]=Ee,G=Fe.then(function(){})instanceof Ee,G?!ee&&g&&!Z:!0}),K=Q||!k(function(me){u.all(me).catch(function(){})}),de=function(me){var ee;return q(me)&&ce(ee=me.then)?ee:!1},oe=function(me,ee){if(!me.notified){me.notified=!0;var Fe=me.reactions;O(function(){for(var Ee=me.value,Ce=me.state==ue,De=0;Fe.length>De;){var _e=Fe[De++],Ne=Ce?_e.ok:_e.fail,$e=_e.resolve,je=_e.reject,Ve=_e.domain,Ke,Qe,Ze;try{Ne?(Ce||(me.rejection===j&&Re(me),me.rejection=$),Ne===!0?Ke=Ee:(Ve&&Ve.enter(),Ke=Ne(Ee),Ve&&(Ve.exit(),Ze=!0)),Ke===_e.promise?je(I("Promise-chain cycle")):(Qe=de(Ke))?ge(Qe,Ke,$e,je):$e(Ke)):je(Ee)}catch(ze){Ve&&!Ze&&Ve.exit(),je(ze)}}me.reactions=[],me.notified=!1,ee&&!me.rejection&&fe(me)})}},pe=function(me,ee,Fe){var Ee,Ce;H?(Ee=E.createEvent("Event"),Ee.promise=ee,Ee.reason=Fe,Ee.initEvent(me,!1,!0),t.dispatchEvent(Ee)):Ee={promise:ee,reason:Fe},!Z&&(Ce=t["on"+me])?Ce(Ee):me===ne&&p("Unhandled promise rejection",Fe)},fe=function(me){ge(S,t,function(){var ee=me.facade,Fe=me.value,Ee=ke(me),Ce;if(Ee&&(Ce=f(function(){l?N.emit("unhandledRejection",Fe,ee):pe(ne,ee,Fe)}),me.rejection=l||ke(me)?j:$,Ce.error))throw Ce.value})},ke=function(me){return me.rejection!==$&&!me.parent},Re=function(me){ge(S,t,function(){var ee=me.facade;l?N.emit("rejectionHandled",ee):pe(he,ee,me.value)})},ve=function(me,ee,Fe){return function(Ee){me(ee,Ee,Fe)}},we=function(me,ee,Fe){me.done||(me.done=!0,Fe&&(me=Fe),me.value=ee,me.state=te,oe(me,!0))},se=function(me,ee,Fe){if(!me.done){me.done=!0,Fe&&(me=Fe);try{if(me.facade===ee)throw I("Promise can't be resolved itself");var Ee=de(ee);Ee?O(function(){var Ce={done:!1};try{ge(Ee,ee,ve(se,Ce,me),ve(we,Ce,me))}catch(De){we(Ce,De,me)}}):(me.value=ee,me.state=ue,oe(me,!1))}catch(Ce){we({done:!1},Ce,me)}}};if(Q&&(u=function(ee){re(this,C),d(ee),ge(M,this);var Fe=o(this);try{ee(ve(se,Fe),ve(we,Fe))}catch(Ee){we(Fe,Ee)}},C=u.prototype,M=function(ee){c(this,{type:m,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Se,value:void 0})},M.prototype=ye(C,{then:function(ee,Fe){var Ee=v(this),Ce=Ee.reactions,De=_(n(this,u));return De.ok=ce(ee)?ee:!0,De.fail=ce(Fe)&&Fe,De.domain=l?N.domain:void 0,Ee.parent=!0,Ce[Ce.length]=De,Ee.state!=Se&&oe(Ee,!1),De.promise},catch:function(me){return this.then(void 0,me)}}),W=function(){var me=new M,ee=o(me);this.promise=me,this.resolve=ve(se,ee),this.reject=ve(we,ee)},x.f=_=function(me){return me===u||me===z?new W(me):Y(me)},!b&&ce(le)&&A!==Object.prototype)){J=A.then,G||(V(A,"then",function(ee,Fe){var Ee=this;return new u(function(Ce,De){ge(J,Ee,Ce,De)}).then(ee,Fe)},{unsafe:!0}),V(A,"catch",C.catch,{unsafe:!0}));try{delete A.constructor}catch(me){}be&&be(A,C)}T({global:!0,wrap:!0,forced:Q},{Promise:u}),xe(u,m,!1,!0),ae(m),z=e(m),T({target:m,stat:!0,forced:Q},{reject:function(ee){var Fe=_(this);return ge(Fe.reject,void 0,ee),Fe.promise}}),T({target:m,stat:!0,forced:b||Q},{resolve:function(ee){return w(b&&this===z?u:this,ee)}}),T({target:m,stat:!0,forced:K},{all:function(ee){var Fe=this,Ee=_(Fe),Ce=Ee.resolve,De=Ee.reject,_e=f(function(){var Ne=d(Fe.resolve),$e=[],je=0,Ve=1;y(ee,function(Ke){var Qe=je++,Ze=!1;Ve++,ge(Ne,Fe,Ke).then(function(ze){Ze||(Ze=!0,$e[Qe]=ze,--Ve||Ce($e))},De)}),--Ve||Ce($e)});return _e.error&&De(_e.value),Ee.promise},race:function(ee){var Fe=this,Ee=_(Fe),Ce=Ee.reject,De=f(function(){var _e=d(Fe.resolve);y(ee,function(Ne){ge(_e,Fe,Ne).then(Ee.resolve,Ce)})});return De.error&&Ce(De.value),Ee.promise}})},(Me,P,D)=>{var T=D(10);Me.exports=T.Promise},(Me,P,D)=>{var T=D(50);Me.exports=function(b,t,e){for(var ge in t)T(b,ge,t[ge],e);return b}},(Me,P,D)=>{"use strict";var T=D(27),b=D(48),t=D(37),e=D(12),ge=t("species");Me.exports=function(le){var V=T(le),ye=b.f;e&&V&&!V[ge]&&ye(V,ge,{configurable:!0,get:function(){return this}})}},(Me,P,D)=>{var T=D(10),b=D(28),t=T.TypeError;Me.exports=function(e,ge){if(b(ge,e))return e;throw t("Incorrect invocation")}},(Me,P,D)=>{var T=D(37),b=T("iterator"),t=!1;try{var e=0,ge={next:function(){return{done:!!e++}},return:function(){t=!0}};ge[b]=function(){return this},Array.from(ge,function(){throw 2})}catch(le){}Me.exports=function(le,V){if(!V&&!t)return!1;var ye=!1;try{var be={};be[b]=function(){return{next:function(){return{done:ye=!0}}}},le(be)}catch(xe){}return ye}},(Me,P,D)=>{var T=D(49),b=D(114),t=D(37),e=t("species");Me.exports=function(ge,le){var V=T(ge).constructor,ye;return V===void 0||(ye=T(V)[e])==null?le:b(ye)}},(Me,P,D)=>{var T=D(10),b=D(115),t=D(35),e=T.TypeError;Me.exports=function(ge){if(b(ge))return ge;throw e(t(ge)+" is not a constructor")}},(Me,P,D)=>{var T=D(19),b=D(13),t=D(25),e=D(92),ge=D(27),le=D(51),V=function(){},ye=[],be=ge("Reflect","construct"),xe=/^\s*(?:class|function)\b/,ae=T(xe.exec),d=!xe.exec(V),ce=function(re){if(!t(re))return!1;try{return be(V,ye,re),!0}catch(X){return!1}},q=function(re){if(!t(re))return!1;switch(e(re)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!ae(xe,le(re))};Me.exports=!be||b(function(){var re;return ce(ce.call)||!ce(Object)||!ce(function(){re=!0})||re})?q:ce},(Me,P,D)=>{var T=D(10),b=D(117),t=D(88),e=D(25),ge=D(42),le=D(13),V=D(76),ye=D(118),be=D(46),xe=D(119),ae=D(120),d=T.setImmediate,ce=T.clearImmediate,q=T.process,re=T.Dispatch,X=T.Function,y=T.MessageChannel,k=T.String,n=0,S={},O="onreadystatechange",w,p,x,f;try{w=T.location}catch(l){}var h=function(l){if(ge(S,l)){var a=S[l];delete S[l],a()}},F=function(l){return function(){h(l)}},s=function(l){h(l.data)},g=function(l){T.postMessage(k(l),w.protocol+"//"+w.host)};(!d||!ce)&&(d=function(a){var i=ye(arguments,1);return S[++n]=function(){b(e(a)?a:X(a),void 0,i)},p(n),n},ce=function(a){delete S[a]},ae?p=function(l){q.nextTick(F(l))}:re&&re.now?p=function(l){re.now(F(l))}:y&&!xe?(x=new y,f=x.port2,x.port1.onmessage=s,p=t(f.postMessage,f)):T.addEventListener&&e(T.postMessage)&&!T.importScripts&&w&&w.protocol!=="file:"&&!le(g)?(p=g,T.addEventListener("message",s,!1)):O in be("script")?p=function(l){V.appendChild(be("script"))[O]=function(){V.removeChild(this),h(l)}}:p=function(l){setTimeout(F(l),0)}),Me.exports={set:d,clear:ce}},Me=>{var P=Function.prototype,D=P.apply,T=P.bind,b=P.call;Me.exports=typeof Reflect=="object"&&Reflect.apply||(T?b.bind(D):function(){return b.apply(D,arguments)})},(Me,P,D)=>{var T=D(19);Me.exports=T([].slice)},(Me,P,D)=>{var T=D(32);Me.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(T)},(Me,P,D)=>{var T=D(20),b=D(10);Me.exports=T(b.process)=="process"},(Me,P,D)=>{var T=D(10),b=D(88),t=D(11).f,e=D(116).set,ge=D(119),le=D(122),V=D(123),ye=D(120),be=T.MutationObserver||T.WebKitMutationObserver,xe=T.document,ae=T.process,d=T.Promise,ce=t(T,"queueMicrotask"),q=ce&&ce.value,re,X,y,k,n,S,O,w;q||(re=function(){var p,x;for(ye&&(p=ae.domain)&&p.exit();X;){x=X.fn,X=X.next;try{x()}catch(f){throw X?k():y=void 0,f}}y=void 0,p&&p.enter()},!ge&&!ye&&!V&&be&&xe?(n=!0,S=xe.createTextNode(""),new be(re).observe(S,{characterData:!0}),k=function(){S.data=n=!n}):!le&&d&&d.resolve?(O=d.resolve(void 0),O.constructor=d,w=b(O.then,O),k=function(){w(re)}):ye?k=function(){ae.nextTick(re)}:(e=b(e,T),k=function(){e(re)})),Me.exports=q||function(p){var x={fn:p,next:void 0};y&&(y.next=x),X||(X=x,k()),y=x}},(Me,P,D)=>{var T=D(32),b=D(10);Me.exports=/ipad|iphone|ipod/i.test(T)&&b.Pebble!==void 0},(Me,P,D)=>{var T=D(32);Me.exports=/web0s(?!.*chrome)/i.test(T)},(Me,P,D)=>{var T=D(49),b=D(24),t=D(125);Me.exports=function(e,ge){if(T(e),b(ge)&&ge.constructor===e)return ge;var le=t.f(e),V=le.resolve;return V(ge),le.promise}},(Me,P,D)=>{"use strict";var T=D(34),b=function(t){var e,ge;this.promise=new t(function(le,V){if(e!==void 0||ge!==void 0)throw TypeError("Bad Promise constructor");e=le,ge=V}),this.resolve=T(e),this.reject=T(ge)};Me.exports.f=function(t){return new b(t)}},(Me,P,D)=>{var T=D(10);Me.exports=function(b,t){var e=T.console;e&&e.error&&(arguments.length==1?e.error(b):e.error(b,t))}},Me=>{Me.exports=function(P){try{return{error:!1,value:P()}}catch(D){return{error:!0,value:D}}}},Me=>{Me.exports=typeof window=="object"},(Me,P,D)=>{"use strict";var T=D(9),b=D(14),t=D(34),e=D(125),ge=D(127),le=D(87);T({target:"Promise",stat:!0},{allSettled:function(ye){var be=this,xe=e.f(be),ae=xe.resolve,d=xe.reject,ce=ge(function(){var q=t(be.resolve),re=[],X=0,y=1;le(ye,function(k){var n=X++,S=!1;y++,b(q,be,k).then(function(O){S||(S=!0,re[n]={status:"fulfilled",value:O},--y||ae(re))},function(O){S||(S=!0,re[n]={status:"rejected",reason:O},--y||ae(re))})}),--y||ae(re)});return ce.error&&d(ce.value),xe.promise}})},(Me,P,D)=>{"use strict";var T=D(9),b=D(34),t=D(27),e=D(14),ge=D(125),le=D(127),V=D(87),ye="No one promise resolved";T({target:"Promise",stat:!0},{any:function(xe){var ae=this,d=t("AggregateError"),ce=ge.f(ae),q=ce.resolve,re=ce.reject,X=le(function(){var y=b(ae.resolve),k=[],n=0,S=1,O=!1;V(xe,function(w){var p=n++,x=!1;S++,e(y,ae,w).then(function(f){x||O||(O=!0,q(f))},function(f){x||O||(x=!0,k[p]=f,--S||re(new d(k,ye)))})}),--S||re(new d(k,ye))});return X.error&&re(X.value),ce.promise}})},(Me,P,D)=>{"use strict";var T=D(9),b=D(39),t=D(108),e=D(13),ge=D(27),le=D(25),V=D(113),ye=D(124),be=D(50),xe=!!t&&e(function(){t.prototype.finally.call({then:function(){}},function(){})});if(T({target:"Promise",proto:!0,real:!0,forced:xe},{finally:function(d){var ce=V(this,ge("Promise")),q=le(d);return this.then(q?function(re){return ye(ce,d()).then(function(){return re})}:d,q?function(re){return ye(ce,d()).then(function(){throw re})}:d)}}),!b&&le(t)){var ae=ge("Promise").prototype.finally;t.prototype.finally!==ae&&be(t.prototype,"finally",ae,{unsafe:!0})}},(Me,P,D)=>{"use strict";var T=D(133).charAt,b=D(103),t=D(52),e=D(78),ge="String Iterator",le=t.set,V=t.getterFor(ge);e(String,"String",function(ye){le(this,{type:ge,string:b(ye),index:0})},function(){var be=V(this),xe=be.string,ae=be.index,d;return ae>=xe.length?{value:void 0,done:!0}:(d=T(xe,ae),be.index+=d.length,{value:d,done:!1})})},(Me,P,D)=>{var T=D(19),b=D(63),t=D(103),e=D(21),ge=T("".charAt),le=T("".charCodeAt),V=T("".slice),ye=function(be){return function(xe,ae){var d=t(e(xe)),ce=b(ae),q=d.length,re,X;return ce<0||ce>=q?be?"":void 0:(re=le(d,ce),re<55296||re>56319||ce+1===q||(X=le(d,ce+1))<56320||X>57343?be?ge(d,ce):re:be?V(d,ce,ce+2):(re-55296<<10)+(X-56320)+65536)}};Me.exports={codeAt:ye(!1),charAt:ye(!0)}},function(Me,P){(function(D,T){T(P)})(this,function(D){"use strict";var T=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:function(B){return"Symbol("+B+")"};function b(){}function t(){if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global}var e=t();function ge(B){return typeof B=="object"&&B!==null||typeof B=="function"}var le=b,V=Promise,ye=Promise.prototype.then,be=Promise.resolve.bind(V),xe=Promise.reject.bind(V);function ae(B){return new V(B)}function d(B){return be(B)}function ce(B){return xe(B)}function q(B,ie,Ie){return ye.call(B,ie,Ie)}function re(B,ie,Ie){q(q(B,ie,Ie),void 0,le)}function X(B,ie){re(B,ie)}function y(B,ie){re(B,void 0,ie)}function k(B,ie,Ie){return q(B,ie,Ie)}function n(B){q(B,void 0,le)}var S=function(){var B=e&&e.queueMicrotask;if(typeof B=="function")return B;var ie=d(void 0);return function(Ie){return q(ie,Ie)}}();function O(B,ie,Ie){if(typeof B!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(B,ie,Ie)}function w(B,ie,Ie){try{return d(O(B,ie,Ie))}catch(Ge){return ce(Ge)}}var p=16384,x=function(){function B(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(B.prototype,"length",{get:function(){return this._size},enumerable:!1,configurable:!0}),B.prototype.push=function(ie){var Ie=this._back,Ge=Ie;Ie._elements.length===p-1&&(Ge={_elements:[],_next:void 0}),Ie._elements.push(ie),Ge!==Ie&&(this._back=Ge,Ie._next=Ge),++this._size},B.prototype.shift=function(){var ie=this._front,Ie=ie,Ge=this._cursor,rt=Ge+1,mt=ie._elements,Ft=mt[Ge];return rt===p&&(Ie=ie._next,rt=0),--this._size,this._cursor=rt,ie!==Ie&&(this._front=Ie),mt[Ge]=void 0,Ft},B.prototype.forEach=function(ie){for(var Ie=this._cursor,Ge=this._front,rt=Ge._elements;(Ie!==rt.length||Ge._next!==void 0)&&!(Ie===rt.length&&(Ge=Ge._next,rt=Ge._elements,Ie=0,rt.length===0));)ie(rt[Ie]),++Ie},B.prototype.peek=function(){var ie=this._front,Ie=this._cursor;return ie._elements[Ie]},B}();function f(B,ie){B._ownerReadableStream=ie,ie._reader=B,ie._state==="readable"?g(B):ie._state==="closed"?a(B):l(B,ie._storedError)}function h(B,ie){var Ie=B._ownerReadableStream;return ha(Ie,ie)}function F(B){B._ownerReadableStream._state==="readable"?i(B,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):m(B,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),B._ownerReadableStream._reader=void 0,B._ownerReadableStream=void 0}function s(B){return new TypeError("Cannot "+B+" a stream using a released reader")}function g(B){B._closedPromise=ae(function(ie,Ie){B._closedPromise_resolve=ie,B._closedPromise_reject=Ie})}function l(B,ie){g(B),i(B,ie)}function a(B){g(B),o(B)}function i(B,ie){B._closedPromise_reject!==void 0&&(n(B._closedPromise),B._closedPromise_reject(ie),B._closedPromise_resolve=void 0,B._closedPromise_reject=void 0)}function m(B,ie){l(B,ie)}function o(B){B._closedPromise_resolve!==void 0&&(B._closedPromise_resolve(void 0),B._closedPromise_resolve=void 0,B._closedPromise_reject=void 0)}var c=T("[[AbortSteps]]"),v=T("[[ErrorSteps]]"),A=T("[[CancelSteps]]"),u=T("[[PullSteps]]"),C=Number.isFinite||function(B){return typeof B=="number"&&isFinite(B)},I=Math.trunc||function(B){return B<0?Math.ceil(B):Math.floor(B)};function E(B){return typeof B=="object"||typeof B=="function"}function N(B,ie){if(B!==void 0&&!E(B))throw new TypeError(ie+" is not an object.")}function _(B,ie){if(typeof B!="function")throw new TypeError(ie+" is not a function.")}function Y(B){return typeof B=="object"&&B!==null||typeof B=="function"}function H(B,ie){if(!Y(B))throw new TypeError(ie+" is not an object.")}function Z(B,ie,Ie){if(B===void 0)throw new TypeError("Parameter "+ie+" is required in '"+Ie+"'.")}function ne(B,ie,Ie){if(B===void 0)throw new TypeError(ie+" is required in '"+Ie+"'.")}function he(B){return Number(B)}function Se(B){return B===0?0:B}function ue(B){return Se(I(B))}function te(B,ie){var Ie=0,Ge=Number.MAX_SAFE_INTEGER,rt=Number(B);if(rt=Se(rt),!C(rt))throw new TypeError(ie+" is not a finite number");if(rt=ue(rt),rt<Ie||rt>Ge)throw new TypeError(ie+" is outside the accepted range of "+Ie+" to "+Ge+", inclusive");return!C(rt)||rt===0?0:rt}function $(B,ie){if(!wa(B))throw new TypeError(ie+" is not a ReadableStream.")}function j(B){return new J(B)}function G(B,ie){B._reader._readRequests.push(ie)}function M(B,ie,Ie){var Ge=B._reader,rt=Ge._readRequests.shift();Ie?rt._closeSteps():rt._chunkSteps(ie)}function W(B){return B._reader._readRequests.length}function z(B){var ie=B._reader;return!(ie===void 0||!Q(ie))}var J=function(){function B(ie){if(Z(ie,1,"ReadableStreamDefaultReader"),$(ie,"First parameter"),ka(ie))throw new TypeError("This stream has already been locked for exclusive reading by another reader");f(this,ie),this._readRequests=new x}return Object.defineProperty(B.prototype,"closed",{get:function(){return Q(this)?this._closedPromise:ce(de("closed"))},enumerable:!1,configurable:!0}),B.prototype.cancel=function(ie){return ie===void 0&&(ie=void 0),Q(this)?this._ownerReadableStream===void 0?ce(s("cancel")):h(this,ie):ce(de("cancel"))},B.prototype.read=function(){if(!Q(this))return ce(de("read"));if(this._ownerReadableStream===void 0)return ce(s("read from"));var ie,Ie,Ge=ae(function(mt,Ft){ie=mt,Ie=Ft}),rt={_chunkSteps:function(mt){return ie({value:mt,done:!1})},_closeSteps:function(){return ie({value:void 0,done:!0})},_errorSteps:function(mt){return Ie(mt)}};return K(this,rt),Ge},B.prototype.releaseLock=function(){if(!Q(this))throw de("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");F(this)}},B}();Object.defineProperties(J.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(J.prototype,T.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});function Q(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_readRequests")?!1:B instanceof J}function K(B,ie){var Ie=B._ownerReadableStream;Ie._disturbed=!0,Ie._state==="closed"?ie._closeSteps():Ie._state==="errored"?ie._errorSteps(Ie._storedError):Ie._readableStreamController[u](ie)}function de(B){return new TypeError("ReadableStreamDefaultReader.prototype."+B+" can only be used on a ReadableStreamDefaultReader")}var oe,pe;typeof T.asyncIterator=="symbol"&&(pe=(oe={},oe[T.asyncIterator]=function(){return this},oe),Object.defineProperty(pe,T.asyncIterator,{enumerable:!1}));var fe=function(){function B(ie,Ie){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=ie,this._preventCancel=Ie}return B.prototype.next=function(){var ie=this,Ie=function(){return ie._nextSteps()};return this._ongoingPromise=this._ongoingPromise?k(this._ongoingPromise,Ie,Ie):Ie(),this._ongoingPromise},B.prototype.return=function(ie){var Ie=this,Ge=function(){return Ie._returnSteps(ie)};return this._ongoingPromise?k(this._ongoingPromise,Ge,Ge):Ge()},B.prototype._nextSteps=function(){var ie=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var Ie=this._reader;if(Ie._ownerReadableStream===void 0)return ce(s("iterate"));var Ge,rt,mt=ae(function($t,mr){Ge=$t,rt=mr}),Ft={_chunkSteps:function($t){ie._ongoingPromise=void 0,S(function(){return Ge({value:$t,done:!1})})},_closeSteps:function(){ie._ongoingPromise=void 0,ie._isFinished=!0,F(Ie),Ge({value:void 0,done:!0})},_errorSteps:function($t){ie._ongoingPromise=void 0,ie._isFinished=!0,F(Ie),rt($t)}};return K(Ie,Ft),mt},B.prototype._returnSteps=function(ie){if(this._isFinished)return Promise.resolve({value:ie,done:!0});this._isFinished=!0;var Ie=this._reader;if(Ie._ownerReadableStream===void 0)return ce(s("finish iterating"));if(!this._preventCancel){var Ge=h(Ie,ie);return F(Ie),k(Ge,function(){return{value:ie,done:!0}})}return F(Ie),d({value:ie,done:!0})},B}(),ke={next:function(){return ve(this)?this._asyncIteratorImpl.next():ce(we("next"))},return:function(B){return ve(this)?this._asyncIteratorImpl.return(B):ce(we("return"))}};pe!==void 0&&Object.setPrototypeOf(ke,pe);function Re(B,ie){var Ie=j(B),Ge=new fe(Ie,ie),rt=Object.create(ke);return rt._asyncIteratorImpl=Ge,rt}function ve(B){if(!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_asyncIteratorImpl"))return!1;try{return B._asyncIteratorImpl instanceof fe}catch(ie){return!1}}function we(B){return new TypeError("ReadableStreamAsyncIterator."+B+" can only be used on a ReadableSteamAsyncIterator")}var se=Number.isNaN||function(B){return B!==B};function me(B){return B.slice()}function ee(B,ie,Ie,Ge,rt){new Uint8Array(B).set(new Uint8Array(Ie,Ge,rt),ie)}function Fe(B){return B}function Ee(B){return!1}function Ce(B,ie,Ie){if(B.slice)return B.slice(ie,Ie);var Ge=Ie-ie,rt=new ArrayBuffer(Ge);return ee(rt,0,B,ie,Ge),rt}function De(B){return!(typeof B!="number"||se(B)||B<0)}function _e(B){var ie=Ce(B.buffer,B.byteOffset,B.byteOffset+B.byteLength);return new Uint8Array(ie)}function Ne(B){var ie=B._queue.shift();return B._queueTotalSize-=ie.size,B._queueTotalSize<0&&(B._queueTotalSize=0),ie.value}function $e(B,ie,Ie){if(!De(Ie)||Ie===Infinity)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");B._queue.push({value:ie,size:Ie}),B._queueTotalSize+=Ie}function je(B){var ie=B._queue.peek();return ie.value}function Ve(B){B._queue=new x,B._queueTotalSize=0}var Ke=function(){function B(){throw new TypeError("Illegal constructor")}return Object.defineProperty(B.prototype,"view",{get:function(){if(!ze(this))throw yr("view");return this._view},enumerable:!1,configurable:!0}),B.prototype.respond=function(ie){if(!ze(this))throw yr("respond");if(Z(ie,1,"respond"),ie=te(ie,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");Ee(this._view.buffer),Kt(this._associatedReadableByteStreamController,ie)},B.prototype.respondWithNewView=function(ie){if(!ze(this))throw yr("respondWithNewView");if(Z(ie,1,"respondWithNewView"),!ArrayBuffer.isView(ie))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");Ee(ie.buffer),Jt(this._associatedReadableByteStreamController,ie)},B}();Object.defineProperties(Ke.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(Ke.prototype,T.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var Qe=function(){function B(){throw new TypeError("Illegal constructor")}return Object.defineProperty(B.prototype,"byobRequest",{get:function(){if(!Ze(this))throw Xt("byobRequest");return Lt(this)},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"desiredSize",{get:function(){if(!Ze(this))throw Xt("desiredSize");return bt(this)},enumerable:!1,configurable:!0}),B.prototype.close=function(){if(!Ze(this))throw Xt("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var ie=this._controlledReadableByteStream._state;if(ie!=="readable")throw new TypeError("The stream (in "+ie+" state) is not in the readable state and cannot be closed");ot(this)},B.prototype.enqueue=function(ie){if(!Ze(this))throw Xt("enqueue");if(Z(ie,1,"enqueue"),!ArrayBuffer.isView(ie))throw new TypeError("chunk must be an array buffer view");if(ie.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(ie.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");var Ie=this._controlledReadableByteStream._state;if(Ie!=="readable")throw new TypeError("The stream (in "+Ie+" state) is not in the readable state and cannot be enqueued to");nt(this,ie)},B.prototype.error=function(ie){if(ie===void 0&&(ie=void 0),!Ze(this))throw Xt("error");Pt(this,ie)},B.prototype[A]=function(ie){Je(this),Ve(this);var Ie=this._cancelAlgorithm(ie);return qe(this),Ie},B.prototype[u]=function(ie){var Ie=this._controlledReadableByteStream;if(this._queueTotalSize>0){var Ge=this._queue.shift();this._queueTotalSize-=Ge.byteLength,ft(this);var rt=new Uint8Array(Ge.buffer,Ge.byteOffset,Ge.byteLength);ie._chunkSteps(rt);return}var mt=this._autoAllocateChunkSize;if(mt!==void 0){var Ft=void 0;try{Ft=new ArrayBuffer(mt)}catch(mr){ie._errorSteps(mr);return}var $t={buffer:Ft,bufferByteLength:mt,byteOffset:0,byteLength:mt,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push($t)}G(Ie,ie),ct(this)},B}();Object.defineProperties(Qe.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(Qe.prototype,T.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function Ze(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_controlledReadableByteStream")?!1:B instanceof Qe}function ze(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_associatedReadableByteStreamController")?!1:B instanceof Ke}function ct(B){var ie=Ue(B);if(!!ie){if(B._pulling){B._pullAgain=!0;return}B._pulling=!0;var Ie=B._pullAlgorithm();re(Ie,function(){B._pulling=!1,B._pullAgain&&(B._pullAgain=!1,ct(B))},function(Ge){Pt(B,Ge)})}}function Je(B){Ut(B),B._pendingPullIntos=new x}function gt(B,ie){var Ie=!1;B._state==="closed"&&(Ie=!0);var Ge=xt(ie);ie.readerType==="default"?M(B,Ge,Ie):Hr(B,Ge,Ie)}function xt(B){var ie=B.bytesFilled,Ie=B.elementSize;return new B.viewConstructor(B.buffer,B.byteOffset,ie/Ie)}function tt(B,ie,Ie,Ge){B._queue.push({buffer:ie,byteOffset:Ie,byteLength:Ge}),B._queueTotalSize+=Ge}function yt(B,ie){var Ie=ie.elementSize,Ge=ie.bytesFilled-ie.bytesFilled%Ie,rt=Math.min(B._queueTotalSize,ie.byteLength-ie.bytesFilled),mt=ie.bytesFilled+rt,Ft=mt-mt%Ie,$t=rt,mr=!1;Ft>Ge&&($t=Ft-ie.bytesFilled,mr=!0);for(var xr=B._queue;$t>0;){var wr=xr.peek(),Cr=Math.min($t,wr.byteLength),Vr=ie.byteOffset+ie.bytesFilled;ee(ie.buffer,Vr,wr.buffer,wr.byteOffset,Cr),wr.byteLength===Cr?xr.shift():(wr.byteOffset+=Cr,wr.byteLength-=Cr),B._queueTotalSize-=Cr,It(B,Cr,ie),$t-=Cr}return mr}function It(B,ie,Ie){Ie.bytesFilled+=ie}function ft(B){B._queueTotalSize===0&&B._closeRequested?(qe(B),Ma(B._controlledReadableByteStream)):ct(B)}function Ut(B){B._byobRequest!==null&&(B._byobRequest._associatedReadableByteStreamController=void 0,B._byobRequest._view=null,B._byobRequest=null)}function kt(B){for(;B._pendingPullIntos.length>0;){if(B._queueTotalSize===0)return;var ie=B._pendingPullIntos.peek();yt(B,ie)&&(et(B),gt(B._controlledReadableByteStream,ie))}}function Nt(B,ie,Ie){var Ge=B._controlledReadableByteStream,rt=1;ie.constructor!==DataView&&(rt=ie.constructor.BYTES_PER_ELEMENT);var mt=ie.constructor,Ft=Fe(ie.buffer),$t={buffer:Ft,bufferByteLength:Ft.byteLength,byteOffset:ie.byteOffset,byteLength:ie.byteLength,bytesFilled:0,elementSize:rt,viewConstructor:mt,readerType:"byob"};if(B._pendingPullIntos.length>0){B._pendingPullIntos.push($t),Dr(Ge,Ie);return}if(Ge._state==="closed"){var mr=new mt($t.buffer,$t.byteOffset,0);Ie._closeSteps(mr);return}if(B._queueTotalSize>0){if(yt(B,$t)){var xr=xt($t);ft(B),Ie._chunkSteps(xr);return}if(B._closeRequested){var wr=new TypeError("Insufficient bytes to fill elements in the given buffer");Pt(B,wr),Ie._errorSteps(wr);return}}B._pendingPullIntos.push($t),Dr(Ge,Ie),ct(B)}function ar(B,ie){var Ie=B._controlledReadableByteStream;if(Br(Ie))for(;Kr(Ie)>0;){var Ge=et(B);gt(Ie,Ge)}}function Qt(B,ie,Ie){if(It(B,ie,Ie),!(Ie.bytesFilled<Ie.elementSize)){et(B);var Ge=Ie.bytesFilled%Ie.elementSize;if(Ge>0){var rt=Ie.byteOffset+Ie.bytesFilled,mt=Ce(Ie.buffer,rt-Ge,rt);tt(B,mt,0,mt.byteLength)}Ie.bytesFilled-=Ge,gt(B._controlledReadableByteStream,Ie),kt(B)}}function He(B,ie){var Ie=B._pendingPullIntos.peek();Ut(B);var Ge=B._controlledReadableByteStream._state;Ge==="closed"?ar(B):Qt(B,ie,Ie),ct(B)}function et(B){var ie=B._pendingPullIntos.shift();return ie}function Ue(B){var ie=B._controlledReadableByteStream;if(ie._state!=="readable"||B._closeRequested||!B._started)return!1;if(z(ie)&&W(ie)>0||Br(ie)&&Kr(ie)>0)return!0;var Ie=bt(B);return Ie>0}function qe(B){B._pullAlgorithm=void 0,B._cancelAlgorithm=void 0}function ot(B){var ie=B._controlledReadableByteStream;if(!(B._closeRequested||ie._state!=="readable")){if(B._queueTotalSize>0){B._closeRequested=!0;return}if(B._pendingPullIntos.length>0){var Ie=B._pendingPullIntos.peek();if(Ie.bytesFilled>0){var Ge=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Pt(B,Ge),Ge}}qe(B),Ma(ie)}}function nt(B,ie){var Ie=B._controlledReadableByteStream;if(!(B._closeRequested||Ie._state!=="readable")){var Ge=ie.buffer,rt=ie.byteOffset,mt=ie.byteLength,Ft=Fe(Ge);if(B._pendingPullIntos.length>0){var $t=B._pendingPullIntos.peek();Ee($t.buffer),$t.buffer=Fe($t.buffer)}if(Ut(B),z(Ie))if(W(Ie)===0)tt(B,Ft,rt,mt);else{B._pendingPullIntos.length>0&&et(B);var mr=new Uint8Array(Ft,rt,mt);M(Ie,mr,!1)}else Br(Ie)?(tt(B,Ft,rt,mt),kt(B)):tt(B,Ft,rt,mt);ct(B)}}function Pt(B,ie){var Ie=B._controlledReadableByteStream;Ie._state==="readable"&&(Je(B),Ve(B),qe(B),an(Ie,ie))}function Lt(B){if(B._byobRequest===null&&B._pendingPullIntos.length>0){var ie=B._pendingPullIntos.peek(),Ie=new Uint8Array(ie.buffer,ie.byteOffset+ie.bytesFilled,ie.byteLength-ie.bytesFilled),Ge=Object.create(Ke.prototype);ur(Ge,B,Ie),B._byobRequest=Ge}return B._byobRequest}function bt(B){var ie=B._controlledReadableByteStream._state;return ie==="errored"?null:ie==="closed"?0:B._strategyHWM-B._queueTotalSize}function Kt(B,ie){var Ie=B._pendingPullIntos.peek(),Ge=B._controlledReadableByteStream._state;if(Ge==="closed"){if(ie!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(ie===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(Ie.bytesFilled+ie>Ie.byteLength)throw new RangeError("bytesWritten out of range")}Ie.buffer=Fe(Ie.buffer),He(B,ie)}function Jt(B,ie){var Ie=B._pendingPullIntos.peek(),Ge=B._controlledReadableByteStream._state;if(Ge==="closed"){if(ie.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(ie.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(Ie.byteOffset+Ie.bytesFilled!==ie.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(Ie.bufferByteLength!==ie.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(Ie.bytesFilled+ie.byteLength>Ie.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");var rt=ie.byteLength;Ie.buffer=Fe(ie.buffer),He(B,rt)}function nr(B,ie,Ie,Ge,rt,mt,Ft){ie._controlledReadableByteStream=B,ie._pullAgain=!1,ie._pulling=!1,ie._byobRequest=null,ie._queue=ie._queueTotalSize=void 0,Ve(ie),ie._closeRequested=!1,ie._started=!1,ie._strategyHWM=mt,ie._pullAlgorithm=Ge,ie._cancelAlgorithm=rt,ie._autoAllocateChunkSize=Ft,ie._pendingPullIntos=new x,B._readableStreamController=ie;var $t=Ie();re(d($t),function(){ie._started=!0,ct(ie)},function(mr){Pt(ie,mr)})}function pr(B,ie,Ie){var Ge=Object.create(Qe.prototype),rt=function(){},mt=function(){return d(void 0)},Ft=function(){return d(void 0)};ie.start!==void 0&&(rt=function(){return ie.start(Ge)}),ie.pull!==void 0&&(mt=function(){return ie.pull(Ge)}),ie.cancel!==void 0&&(Ft=function(mr){return ie.cancel(mr)});var $t=ie.autoAllocateChunkSize;if($t===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");nr(B,Ge,rt,mt,Ft,Ie,$t)}function ur(B,ie,Ie){B._associatedReadableByteStreamController=ie,B._view=Ie}function yr(B){return new TypeError("ReadableStreamBYOBRequest.prototype."+B+" can only be used on a ReadableStreamBYOBRequest")}function Xt(B){return new TypeError("ReadableByteStreamController.prototype."+B+" can only be used on a ReadableByteStreamController")}function fr(B){return new Sr(B)}function Dr(B,ie){B._reader._readIntoRequests.push(ie)}function Hr(B,ie,Ie){var Ge=B._reader,rt=Ge._readIntoRequests.shift();Ie?rt._closeSteps(ie):rt._chunkSteps(ie)}function Kr(B){return B._reader._readIntoRequests.length}function Br(B){var ie=B._reader;return!(ie===void 0||!hr(ie))}var Sr=function(){function B(ie){if(Z(ie,1,"ReadableStreamBYOBReader"),$(ie,"First parameter"),ka(ie))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Ze(ie._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");f(this,ie),this._readIntoRequests=new x}return Object.defineProperty(B.prototype,"closed",{get:function(){return hr(this)?this._closedPromise:ce(zr("closed"))},enumerable:!1,configurable:!0}),B.prototype.cancel=function(ie){return ie===void 0&&(ie=void 0),hr(this)?this._ownerReadableStream===void 0?ce(s("cancel")):h(this,ie):ce(zr("cancel"))},B.prototype.read=function(ie){if(!hr(this))return ce(zr("read"));if(!ArrayBuffer.isView(ie))return ce(new TypeError("view must be an array buffer view"));if(ie.byteLength===0)return ce(new TypeError("view must have non-zero byteLength"));if(ie.buffer.byteLength===0)return ce(new TypeError("view's buffer must have non-zero byteLength"));if(Ee(ie.buffer),this._ownerReadableStream===void 0)return ce(s("read from"));var Ie,Ge,rt=ae(function(Ft,$t){Ie=Ft,Ge=$t}),mt={_chunkSteps:function(Ft){return Ie({value:Ft,done:!1})},_closeSteps:function(Ft){return Ie({value:Ft,done:!0})},_errorSteps:function(Ft){return Ge(Ft)}};return vr(this,ie,mt),rt},B.prototype.releaseLock=function(){if(!hr(this))throw zr("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");F(this)}},B}();Object.defineProperties(Sr.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(Sr.prototype,T.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function hr(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_readIntoRequests")?!1:B instanceof Sr}function vr(B,ie,Ie){var Ge=B._ownerReadableStream;Ge._disturbed=!0,Ge._state==="errored"?Ie._errorSteps(Ge._storedError):Nt(Ge._readableStreamController,ie,Ie)}function zr(B){return new TypeError("ReadableStreamBYOBReader.prototype."+B+" can only be used on a ReadableStreamBYOBReader")}function br(B,ie){var Ie=B.highWaterMark;if(Ie===void 0)return ie;if(se(Ie)||Ie<0)throw new RangeError("Invalid highWaterMark");return Ie}function qr(B){var ie=B.size;return ie||function(){return 1}}function Gr(B,ie){N(B,ie);var Ie=B==null?void 0:B.highWaterMark,Ge=B==null?void 0:B.size;return{highWaterMark:Ie===void 0?void 0:he(Ie),size:Ge===void 0?void 0:Ur(Ge,ie+" has member 'size' that")}}function Ur(B,ie){return _(B,ie),function(Ie){return he(B(Ie))}}function Qr(B,ie){N(B,ie);var Ie=B==null?void 0:B.abort,Ge=B==null?void 0:B.close,rt=B==null?void 0:B.start,mt=B==null?void 0:B.type,Ft=B==null?void 0:B.write;return{abort:Ie===void 0?void 0:na(Ie,B,ie+" has member 'abort' that"),close:Ge===void 0?void 0:ht(Ge,B,ie+" has member 'close' that"),start:rt===void 0?void 0:ut(rt,B,ie+" has member 'start' that"),write:Ft===void 0?void 0:We(Ft,B,ie+" has member 'write' that"),type:mt}}function na(B,ie,Ie){return _(B,Ie),function(Ge){return w(B,ie,[Ge])}}function ht(B,ie,Ie){return _(B,Ie),function(){return w(B,ie,[])}}function ut(B,ie,Ie){return _(B,Ie),function(Ge){return O(B,ie,[Ge])}}function We(B,ie,Ie){return _(B,Ie),function(Ge,rt){return w(B,ie,[Ge,rt])}}function it(B,ie){if(!Rt(B))throw new TypeError(ie+" is not a WritableStream.")}function st(B){if(typeof B!="object"||B===null)return!1;try{return typeof B.aborted=="boolean"}catch(ie){return!1}}var dt=typeof AbortController=="function";function pt(){if(dt)return new AbortController}var Dt=function(){function B(ie,Ie){ie===void 0&&(ie={}),Ie===void 0&&(Ie={}),ie===void 0?ie=null:H(ie,"First parameter");var Ge=Gr(Ie,"Second parameter"),rt=Qr(ie,"First parameter");Bt(this);var mt=rt.type;if(mt!==void 0)throw new RangeError("Invalid type is specified");var Ft=qr(Ge),$t=br(Ge,1);r(this,rt,$t,Ft)}return Object.defineProperty(B.prototype,"locked",{get:function(){if(!Rt(this))throw or("locked");return Or(this)},enumerable:!1,configurable:!0}),B.prototype.abort=function(ie){return ie===void 0&&(ie=void 0),Rt(this)?Or(this)?ce(new TypeError("Cannot abort a stream that already has a writer")):Tr(this,ie):ce(or("abort"))},B.prototype.close=function(){return Rt(this)?Or(this)?ce(new TypeError("Cannot close a stream that already has a writer")):Tt(this)?ce(new TypeError("Cannot close an already-closing stream")):Er(this):ce(or("close"))},B.prototype.getWriter=function(){if(!Rt(this))throw or("getWriter");return _t(this)},B}();Object.defineProperties(Dt.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(Dt.prototype,T.toStringTag,{value:"WritableStream",configurable:!0});function _t(B){return new dr(B)}function qt(B,ie,Ie,Ge,rt,mt){rt===void 0&&(rt=1),mt===void 0&&(mt=function(){return 1});var Ft=Object.create(Dt.prototype);Bt(Ft);var $t=Object.create(Oe.prototype);return L(Ft,$t,B,ie,Ie,Ge,rt,mt),Ft}function Bt(B){B._state="writable",B._storedError=void 0,B._writer=void 0,B._writableStreamController=void 0,B._writeRequests=new x,B._inFlightWriteRequest=void 0,B._closeRequest=void 0,B._inFlightCloseRequest=void 0,B._pendingAbortRequest=void 0,B._backpressure=!1}function Rt(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_writableStreamController")?!1:B instanceof Dt}function Or(B){return B._writer!==void 0}function Tr(B,ie){var Ie;if(B._state==="closed"||B._state==="errored")return d(void 0);B._writableStreamController._abortReason=ie,(Ie=B._writableStreamController._abortController)===null||Ie===void 0||Ie.abort();var Ge=B._state;if(Ge==="closed"||Ge==="errored")return d(void 0);if(B._pendingAbortRequest!==void 0)return B._pendingAbortRequest._promise;var rt=!1;Ge==="erroring"&&(rt=!0,ie=void 0);var mt=ae(function(Ft,$t){B._pendingAbortRequest={_promise:void 0,_resolve:Ft,_reject:$t,_reason:ie,_wasAlreadyErroring:rt}});return B._pendingAbortRequest._promise=mt,rt||vt(B,ie),mt}function Er(B){var ie=B._state;if(ie==="closed"||ie==="errored")return ce(new TypeError("The stream (in "+ie+" state) is not in the writable state and cannot be closed"));var Ie=ae(function(rt,mt){var Ft={_resolve:rt,_reject:mt};B._closeRequest=Ft}),Ge=B._writer;return Ge!==void 0&&B._backpressure&&ie==="writable"&&ua(Ge),Xe(B._writableStreamController),Ie}function $r(B){var ie=ae(function(Ie,Ge){var rt={_resolve:Ie,_reject:Ge};B._writeRequests.push(rt)});return ie}function wt(B,ie){var Ie=B._state;if(Ie==="writable"){vt(B,ie);return}St(B)}function vt(B,ie){var Ie=B._writableStreamController;B._state="erroring",B._storedError=ie;var Ge=B._writer;Ge!==void 0&&Te(Ge,ie),!sr(B)&&Ie._started&&St(B)}function St(B){B._state="errored",B._writableStreamController[v]();var ie=B._storedError;if(B._writeRequests.forEach(function(rt){rt._reject(ie)}),B._writeRequests=new x,B._pendingAbortRequest===void 0){Ht(B);return}var Ie=B._pendingAbortRequest;if(B._pendingAbortRequest=void 0,Ie._wasAlreadyErroring){Ie._reject(ie),Ht(B);return}var Ge=B._writableStreamController[c](Ie._reason);re(Ge,function(){Ie._resolve(),Ht(B)},function(rt){Ie._reject(rt),Ht(B)})}function Et(B){B._inFlightWriteRequest._resolve(void 0),B._inFlightWriteRequest=void 0}function Mt(B,ie){B._inFlightWriteRequest._reject(ie),B._inFlightWriteRequest=void 0,wt(B,ie)}function jt(B){B._inFlightCloseRequest._resolve(void 0),B._inFlightCloseRequest=void 0;var ie=B._state;ie==="erroring"&&(B._storedError=void 0,B._pendingAbortRequest!==void 0&&(B._pendingAbortRequest._resolve(),B._pendingAbortRequest=void 0)),B._state="closed";var Ie=B._writer;Ie!==void 0&&ia(Ie)}function Gt(B,ie){B._inFlightCloseRequest._reject(ie),B._inFlightCloseRequest=void 0,B._pendingAbortRequest!==void 0&&(B._pendingAbortRequest._reject(ie),B._pendingAbortRequest=void 0),wt(B,ie)}function Tt(B){return!(B._closeRequest===void 0&&B._inFlightCloseRequest===void 0)}function sr(B){return!(B._inFlightWriteRequest===void 0&&B._inFlightCloseRequest===void 0)}function tr(B){B._inFlightCloseRequest=B._closeRequest,B._closeRequest=void 0}function rr(B){B._inFlightWriteRequest=B._writeRequests.shift()}function Ht(B){B._closeRequest!==void 0&&(B._closeRequest._reject(B._storedError),B._closeRequest=void 0);var ie=B._writer;ie!==void 0&&_r(ie,B._storedError)}function Ar(B,ie){var Ie=B._writer;Ie!==void 0&&ie!==B._backpressure&&(ie?gr(Ie):ua(Ie)),B._backpressure=ie}var dr=function(){function B(ie){if(Z(ie,1,"WritableStreamDefaultWriter"),it(ie,"First parameter"),Or(ie))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=ie,ie._writer=this;var Ie=ie._state;if(Ie==="writable")!Tt(ie)&&ie._backpressure?ea(this):Rr(this),Xr(this);else if(Ie==="erroring")Jr(this,ie._storedError),Xr(this);else if(Ie==="closed")Rr(this),Wr(this);else{var Ge=ie._storedError;Jr(this,Ge),jr(this,Ge)}}return Object.defineProperty(B.prototype,"closed",{get:function(){return lr(this)?this._closedPromise:ce(kr("closed"))},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"desiredSize",{get:function(){if(!lr(this))throw kr("desiredSize");if(this._ownerWritableStream===void 0)throw Mr("desiredSize");return zt(this)},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"ready",{get:function(){return lr(this)?this._readyPromise:ce(kr("ready"))},enumerable:!1,configurable:!0}),B.prototype.abort=function(ie){return ie===void 0&&(ie=void 0),lr(this)?this._ownerWritableStream===void 0?ce(Mr("abort")):Be(this,ie):ce(kr("abort"))},B.prototype.close=function(){if(!lr(this))return ce(kr("close"));var ie=this._ownerWritableStream;return ie===void 0?ce(Mr("close")):Tt(ie)?ce(new TypeError("Cannot close an already-closing stream")):Ae(this)},B.prototype.releaseLock=function(){if(!lr(this))throw kr("releaseLock");var ie=this._ownerWritableStream;ie!==void 0&&Yt(this)},B.prototype.write=function(ie){return ie===void 0&&(ie=void 0),lr(this)?this._ownerWritableStream===void 0?ce(Mr("write to")):cr(this,ie):ce(kr("write"))},B}();Object.defineProperties(dr.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(dr.prototype,T.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function lr(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_ownerWritableStream")?!1:B instanceof dr}function Be(B,ie){var Ie=B._ownerWritableStream;return Tr(Ie,ie)}function Ae(B){var ie=B._ownerWritableStream;return Er(ie)}function R(B){var ie=B._ownerWritableStream,Ie=ie._state;return Tt(ie)||Ie==="closed"?d(void 0):Ie==="errored"?ce(ie._storedError):Ae(B)}function Ye(B,ie){B._closedPromiseState==="pending"?_r(B,ie):aa(B,ie)}function Te(B,ie){B._readyPromiseState==="pending"?fa(B,ie):la(B,ie)}function zt(B){var ie=B._ownerWritableStream,Ie=ie._state;return Ie==="errored"||Ie==="erroring"?null:Ie==="closed"?0:lt(ie._writableStreamController)}function Yt(B){var ie=B._ownerWritableStream,Ie=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Te(B,Ie),Ye(B,Ie),ie._writer=void 0,B._ownerWritableStream=void 0}function cr(B,ie){var Ie=B._ownerWritableStream,Ge=Ie._writableStreamController,rt=at(Ge,ie);if(Ie!==B._ownerWritableStream)return ce(Mr("write to"));var mt=Ie._state;if(mt==="errored")return ce(Ie._storedError);if(Tt(Ie)||mt==="closed")return ce(new TypeError("The stream is closing or closed and cannot be written to"));if(mt==="erroring")return ce(Ie._storedError);var Ft=$r(Ie);return Ot(Ge,ie,rt),Ft}var Pe={},Oe=function(){function B(){throw new TypeError("Illegal constructor")}return Object.defineProperty(B.prototype,"abortReason",{get:function(){if(!U(this))throw Ir("abortReason");return this._abortReason},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"signal",{get:function(){if(!U(this))throw Ir("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal},enumerable:!1,configurable:!0}),B.prototype.error=function(ie){if(ie===void 0&&(ie=void 0),!U(this))throw Ir("error");var Ie=this._controlledWritableStream._state;Ie==="writable"&&er(this,ie)},B.prototype[c]=function(ie){var Ie=this._abortAlgorithm(ie);return Le(this),Ie},B.prototype[v]=function(){Ve(this)},B}();Object.defineProperties(Oe.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(Oe.prototype,T.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function U(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_controlledWritableStream")?!1:B instanceof Oe}function L(B,ie,Ie,Ge,rt,mt,Ft,$t){ie._controlledWritableStream=B,B._writableStreamController=ie,ie._queue=void 0,ie._queueTotalSize=void 0,Ve(ie),ie._abortReason=void 0,ie._abortController=pt(),ie._started=!1,ie._strategySizeAlgorithm=$t,ie._strategyHWM=Ft,ie._writeAlgorithm=Ge,ie._closeAlgorithm=rt,ie._abortAlgorithm=mt;var mr=Zt(ie);Ar(B,mr);var xr=Ie(),wr=d(xr);re(wr,function(){ie._started=!0,Ct(ie)},function(Cr){ie._started=!0,wt(B,Cr)})}function r(B,ie,Ie,Ge){var rt=Object.create(Oe.prototype),mt=function(){},Ft=function(){return d(void 0)},$t=function(){return d(void 0)},mr=function(){return d(void 0)};ie.start!==void 0&&(mt=function(){return ie.start(rt)}),ie.write!==void 0&&(Ft=function(xr){return ie.write(xr,rt)}),ie.close!==void 0&&($t=function(){return ie.close()}),ie.abort!==void 0&&(mr=function(xr){return ie.abort(xr)}),L(B,rt,mt,Ft,$t,mr,Ie,Ge)}function Le(B){B._writeAlgorithm=void 0,B._closeAlgorithm=void 0,B._abortAlgorithm=void 0,B._strategySizeAlgorithm=void 0}function Xe(B){$e(B,Pe,0),Ct(B)}function at(B,ie){try{return B._strategySizeAlgorithm(ie)}catch(Ie){return At(B,Ie),1}}function lt(B){return B._strategyHWM-B._queueTotalSize}function Ot(B,ie,Ie){try{$e(B,ie,Ie)}catch(mt){At(B,mt);return}var Ge=B._controlledWritableStream;if(!Tt(Ge)&&Ge._state==="writable"){var rt=Zt(B);Ar(Ge,rt)}Ct(B)}function Ct(B){var ie=B._controlledWritableStream;if(!!B._started&&ie._inFlightWriteRequest===void 0){var Ie=ie._state;if(Ie==="erroring"){St(ie);return}if(B._queue.length!==0){var Ge=je(B);Ge===Pe?Vt(B):Wt(B,Ge)}}}function At(B,ie){B._controlledWritableStream._state==="writable"&&er(B,ie)}function Vt(B){var ie=B._controlledWritableStream;tr(ie),Ne(B);var Ie=B._closeAlgorithm();Le(B),re(Ie,function(){jt(ie)},function(Ge){Gt(ie,Ge)})}function Wt(B,ie){var Ie=B._controlledWritableStream;rr(Ie);var Ge=B._writeAlgorithm(ie);re(Ge,function(){Et(Ie);var rt=Ie._state;if(Ne(B),!Tt(Ie)&&rt==="writable"){var mt=Zt(B);Ar(Ie,mt)}Ct(B)},function(rt){Ie._state==="writable"&&Le(B),Mt(Ie,rt)})}function Zt(B){var ie=lt(B);return ie<=0}function er(B,ie){var Ie=B._controlledWritableStream;Le(B),vt(Ie,ie)}function or(B){return new TypeError("WritableStream.prototype."+B+" can only be used on a WritableStream")}function Ir(B){return new TypeError("WritableStreamDefaultController.prototype."+B+" can only be used on a WritableStreamDefaultController")}function kr(B){return new TypeError("WritableStreamDefaultWriter.prototype."+B+" can only be used on a WritableStreamDefaultWriter")}function Mr(B){return new TypeError("Cannot "+B+" a stream using a released writer")}function Xr(B){B._closedPromise=ae(function(ie,Ie){B._closedPromise_resolve=ie,B._closedPromise_reject=Ie,B._closedPromiseState="pending"})}function jr(B,ie){Xr(B),_r(B,ie)}function Wr(B){Xr(B),ia(B)}function _r(B,ie){B._closedPromise_reject!==void 0&&(n(B._closedPromise),B._closedPromise_reject(ie),B._closedPromise_resolve=void 0,B._closedPromise_reject=void 0,B._closedPromiseState="rejected")}function aa(B,ie){jr(B,ie)}function ia(B){B._closedPromise_resolve!==void 0&&(B._closedPromise_resolve(void 0),B._closedPromise_resolve=void 0,B._closedPromise_reject=void 0,B._closedPromiseState="resolved")}function ea(B){B._readyPromise=ae(function(ie,Ie){B._readyPromise_resolve=ie,B._readyPromise_reject=Ie}),B._readyPromiseState="pending"}function Jr(B,ie){ea(B),fa(B,ie)}function Rr(B){ea(B),ua(B)}function fa(B,ie){B._readyPromise_reject!==void 0&&(n(B._readyPromise),B._readyPromise_reject(ie),B._readyPromise_resolve=void 0,B._readyPromise_reject=void 0,B._readyPromiseState="rejected")}function gr(B){ea(B)}function la(B,ie){Jr(B,ie)}function ua(B){B._readyPromise_resolve!==void 0&&(B._readyPromise_resolve(void 0),B._readyPromise_resolve=void 0,B._readyPromise_reject=void 0,B._readyPromiseState="fulfilled")}var Yr=typeof DOMException!="undefined"?DOMException:void 0;function ta(B){if(!(typeof B=="function"||typeof B=="object"))return!1;try{return new B,!0}catch(ie){return!1}}function Da(){var B=function(Ie,Ge){this.message=Ie||"",this.name=Ge||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return B.prototype=Object.create(Error.prototype),Object.defineProperty(B.prototype,"constructor",{value:B,writable:!0,configurable:!0}),B}var Pr=ta(Yr)?Yr:Da();function pa(B,ie,Ie,Ge,rt,mt){var Ft=j(B),$t=_t(ie);B._disturbed=!0;var mr=!1,xr=d(void 0);return ae(function(wr,Cr){var Vr;if(mt!==void 0){if(Vr=function(){var ir=new Pr("Aborted","AbortError"),Fr=[];Ge||Fr.push(function(){return ie._state==="writable"?Tr(ie,ir):d(void 0)}),rt||Fr.push(function(){return B._state==="readable"?ha(B,ir):d(void 0)}),ca(function(){return Promise.all(Fr.map(function(Lr){return Lr()}))},!0,ir)},mt.aborted){Vr();return}mt.addEventListener("abort",Vr)}function da(){return ae(function(ir,Fr){function Lr(ma){ma?ir():q(Ia(),Lr,Fr)}Lr(!1)})}function Ia(){return mr?d(!0):q($t._readyPromise,function(){return ae(function(ir,Fr){K(Ft,{_chunkSteps:function(Lr){xr=q(cr($t,Lr),void 0,b),ir(!1)},_closeSteps:function(){return ir(!0)},_errorSteps:Fr})})})}if(Zr(B,Ft._closedPromise,function(ir){Ge?ya(!0,ir):ca(function(){return Tr(ie,ir)},!0,ir)}),Zr(ie,$t._closedPromise,function(ir){rt?ya(!0,ir):ca(function(){return ha(B,ir)},!0,ir)}),ga(B,Ft._closedPromise,function(){Ie?ya():ca(function(){return R($t)})}),Tt(ie)||ie._state==="closed"){var Aa=new TypeError("the destination writable stream closed before all data could be piped to it");rt?ya(!0,Aa):ca(function(){return ha(B,Aa)},!0,Aa)}n(da());function va(){var ir=xr;return q(xr,function(){return ir!==xr?va():void 0})}function Zr(ir,Fr,Lr){ir._state==="errored"?Lr(ir._storedError):y(Fr,Lr)}function ga(ir,Fr,Lr){ir._state==="closed"?Lr():X(Fr,Lr)}function ca(ir,Fr,Lr){if(mr)return;mr=!0,ie._state==="writable"&&!Tt(ie)?X(va(),ma):ma();function ma(){re(ir(),function(){return Nr(Fr,Lr)},function(Ca){return Nr(!0,Ca)})}}function ya(ir,Fr){mr||(mr=!0,ie._state==="writable"&&!Tt(ie)?X(va(),function(){return Nr(ir,Fr)}):Nr(ir,Fr))}function Nr(ir,Fr){Yt($t),F(Ft),mt!==void 0&&mt.removeEventListener("abort",Vr),ir?Cr(Fr):wr(void 0)}})}var oa=function(){function B(){throw new TypeError("Illegal constructor")}return Object.defineProperty(B.prototype,"desiredSize",{get:function(){if(!ra(this))throw Ua("desiredSize");return qa(this)},enumerable:!1,configurable:!0}),B.prototype.close=function(){if(!ra(this))throw Ua("close");if(!Ea(this))throw new TypeError("The stream is not in a state that permits close");Ba(this)},B.prototype.enqueue=function(ie){if(ie===void 0&&(ie=void 0),!ra(this))throw Ua("enqueue");if(!Ea(this))throw new TypeError("The stream is not in a state that permits enqueue");return _a(this,ie)},B.prototype.error=function(ie){if(ie===void 0&&(ie=void 0),!ra(this))throw Ua("error");xa(this,ie)},B.prototype[A]=function(ie){Ve(this);var Ie=this._cancelAlgorithm(ie);return ba(this),Ie},B.prototype[u]=function(ie){var Ie=this._controlledReadableStream;if(this._queue.length>0){var Ge=Ne(this);this._closeRequested&&this._queue.length===0?(ba(this),Ma(Ie)):Fa(this),ie._chunkSteps(Ge)}else G(Ie,ie),Fa(this)},B}();Object.defineProperties(oa.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(oa.prototype,T.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function ra(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_controlledReadableStream")?!1:B instanceof oa}function Fa(B){var ie=Oa(B);if(!!ie){if(B._pulling){B._pullAgain=!0;return}B._pulling=!0;var Ie=B._pullAlgorithm();re(Ie,function(){B._pulling=!1,B._pullAgain&&(B._pullAgain=!1,Fa(B))},function(Ge){xa(B,Ge)})}}function Oa(B){var ie=B._controlledReadableStream;if(!Ea(B)||!B._started)return!1;if(ka(ie)&&W(ie)>0)return!0;var Ie=qa(B);return Ie>0}function ba(B){B._pullAlgorithm=void 0,B._cancelAlgorithm=void 0,B._strategySizeAlgorithm=void 0}function Ba(B){if(!!Ea(B)){var ie=B._controlledReadableStream;B._closeRequested=!0,B._queue.length===0&&(ba(B),Ma(ie))}}function _a(B,ie){if(!!Ea(B)){var Ie=B._controlledReadableStream;if(ka(Ie)&&W(Ie)>0)M(Ie,ie,!1);else{var Ge=void 0;try{Ge=B._strategySizeAlgorithm(ie)}catch(rt){throw xa(B,rt),rt}try{$e(B,ie,Ge)}catch(rt){throw xa(B,rt),rt}}Fa(B)}}function xa(B,ie){var Ie=B._controlledReadableStream;Ie._state==="readable"&&(Ve(B),ba(B),an(Ie,ie))}function qa(B){var ie=B._controlledReadableStream._state;return ie==="errored"?null:ie==="closed"?0:B._strategyHWM-B._queueTotalSize}function yn(B){return!Oa(B)}function Ea(B){var ie=B._controlledReadableStream._state;return!B._closeRequested&&ie==="readable"}function en(B,ie,Ie,Ge,rt,mt,Ft){ie._controlledReadableStream=B,ie._queue=void 0,ie._queueTotalSize=void 0,Ve(ie),ie._started=!1,ie._closeRequested=!1,ie._pullAgain=!1,ie._pulling=!1,ie._strategySizeAlgorithm=Ft,ie._strategyHWM=mt,ie._pullAlgorithm=Ge,ie._cancelAlgorithm=rt,B._readableStreamController=ie;var $t=Ie();re(d($t),function(){ie._started=!0,Fa(ie)},function(mr){xa(ie,mr)})}function bn(B,ie,Ie,Ge){var rt=Object.create(oa.prototype),mt=function(){},Ft=function(){return d(void 0)},$t=function(){return d(void 0)};ie.start!==void 0&&(mt=function(){return ie.start(rt)}),ie.pull!==void 0&&(Ft=function(){return ie.pull(rt)}),ie.cancel!==void 0&&($t=function(mr){return ie.cancel(mr)}),en(B,rt,mt,Ft,$t,Ie,Ge)}function Ua(B){return new TypeError("ReadableStreamDefaultController.prototype."+B+" can only be used on a ReadableStreamDefaultController")}function xn(B,ie){return Ze(B._readableStreamController)?wn(B):Sn(B)}function Sn(B,ie){var Ie=j(B),Ge=!1,rt=!1,mt=!1,Ft=!1,$t,mr,xr,wr,Cr,Vr=ae(function(Zr){Cr=Zr});function da(){if(Ge)return rt=!0,d(void 0);Ge=!0;var Zr={_chunkSteps:function(ga){S(function(){rt=!1;var ca=ga,ya=ga;mt||_a(xr._readableStreamController,ca),Ft||_a(wr._readableStreamController,ya),Ge=!1,rt&&da()})},_closeSteps:function(){Ge=!1,mt||Ba(xr._readableStreamController),Ft||Ba(wr._readableStreamController),(!mt||!Ft)&&Cr(void 0)},_errorSteps:function(){Ge=!1}};return K(Ie,Zr),d(void 0)}function Ia(Zr){if(mt=!0,$t=Zr,Ft){var ga=me([$t,mr]),ca=ha(B,ga);Cr(ca)}return Vr}function Aa(Zr){if(Ft=!0,mr=Zr,mt){var ga=me([$t,mr]),ca=ha(B,ga);Cr(ca)}return Vr}function va(){}return xr=Ya(va,da,Ia),wr=Ya(va,da,Aa),y(Ie._closedPromise,function(Zr){xa(xr._readableStreamController,Zr),xa(wr._readableStreamController,Zr),(!mt||!Ft)&&Cr(void 0)}),[xr,wr]}function wn(B){var ie=j(B),Ie=!1,Ge=!1,rt=!1,mt=!1,Ft=!1,$t,mr,xr,wr,Cr,Vr=ae(function(Nr){Cr=Nr});function da(Nr){y(Nr._closedPromise,function(ir){Nr===ie&&(Pt(xr._readableStreamController,ir),Pt(wr._readableStreamController,ir),(!mt||!Ft)&&Cr(void 0))})}function Ia(){hr(ie)&&(F(ie),ie=j(B),da(ie));var Nr={_chunkSteps:function(ir){S(function(){Ge=!1,rt=!1;var Fr=ir,Lr=ir;if(!mt&&!Ft)try{Lr=_e(ir)}catch(ma){Pt(xr._readableStreamController,ma),Pt(wr._readableStreamController,ma),Cr(ha(B,ma));return}mt||nt(xr._readableStreamController,Fr),Ft||nt(wr._readableStreamController,Lr),Ie=!1,Ge?va():rt&&Zr()})},_closeSteps:function(){Ie=!1,mt||ot(xr._readableStreamController),Ft||ot(wr._readableStreamController),xr._readableStreamController._pendingPullIntos.length>0&&Kt(xr._readableStreamController,0),wr._readableStreamController._pendingPullIntos.length>0&&Kt(wr._readableStreamController,0),(!mt||!Ft)&&Cr(void 0)},_errorSteps:function(){Ie=!1}};K(ie,Nr)}function Aa(Nr,ir){Q(ie)&&(F(ie),ie=fr(B),da(ie));var Fr=ir?wr:xr,Lr=ir?xr:wr,ma={_chunkSteps:function(Ca){S(function(){Ge=!1,rt=!1;var Pa=ir?Ft:mt,La=ir?mt:Ft;if(La)Pa||Jt(Fr._readableStreamController,Ca);else{var pn=void 0;try{pn=_e(Ca)}catch(Ja){Pt(Fr._readableStreamController,Ja),Pt(Lr._readableStreamController,Ja),Cr(ha(B,Ja));return}Pa||Jt(Fr._readableStreamController,Ca),nt(Lr._readableStreamController,pn)}Ie=!1,Ge?va():rt&&Zr()})},_closeSteps:function(Ca){Ie=!1;var Pa=ir?Ft:mt,La=ir?mt:Ft;Pa||ot(Fr._readableStreamController),La||ot(Lr._readableStreamController),Ca!==void 0&&(Pa||Jt(Fr._readableStreamController,Ca),!La&&Lr._readableStreamController._pendingPullIntos.length>0&&Kt(Lr._readableStreamController,0)),(!Pa||!La)&&Cr(void 0)},_errorSteps:function(){Ie=!1}};vr(ie,Nr,ma)}function va(){if(Ie)return Ge=!0,d(void 0);Ie=!0;var Nr=Lt(xr._readableStreamController);return Nr===null?Ia():Aa(Nr._view,!1),d(void 0)}function Zr(){if(Ie)return rt=!0,d(void 0);Ie=!0;var Nr=Lt(wr._readableStreamController);return Nr===null?Ia():Aa(Nr._view,!0),d(void 0)}function ga(Nr){if(mt=!0,$t=Nr,Ft){var ir=me([$t,mr]),Fr=ha(B,ir);Cr(Fr)}return Vr}function ca(Nr){if(Ft=!0,mr=Nr,mt){var ir=me([$t,mr]),Fr=ha(B,ir);Cr(Fr)}return Vr}function ya(){}return xr=rn(ya,va,ga),wr=rn(ya,Zr,ca),da(ie),[xr,wr]}function kn(B,ie){N(B,ie);var Ie=B,Ge=Ie==null?void 0:Ie.autoAllocateChunkSize,rt=Ie==null?void 0:Ie.cancel,mt=Ie==null?void 0:Ie.pull,Ft=Ie==null?void 0:Ie.start,$t=Ie==null?void 0:Ie.type;return{autoAllocateChunkSize:Ge===void 0?void 0:te(Ge,ie+" has member 'autoAllocateChunkSize' that"),cancel:rt===void 0?void 0:An(rt,Ie,ie+" has member 'cancel' that"),pull:mt===void 0?void 0:Cn(mt,Ie,ie+" has member 'pull' that"),start:Ft===void 0?void 0:Fn(Ft,Ie,ie+" has member 'start' that"),type:$t===void 0?void 0:On($t,ie+" has member 'type' that")}}function An(B,ie,Ie){return _(B,Ie),function(Ge){return w(B,ie,[Ge])}}function Cn(B,ie,Ie){return _(B,Ie),function(Ge){return w(B,ie,[Ge])}}function Fn(B,ie,Ie){return _(B,Ie),function(Ge){return O(B,ie,[Ge])}}function On(B,ie){if(B=""+B,B!=="bytes")throw new TypeError(ie+" '"+B+"' is not a valid enumeration value for ReadableStreamType");return B}function Tn(B,ie){N(B,ie);var Ie=B==null?void 0:B.mode;return{mode:Ie===void 0?void 0:En(Ie,ie+" has member 'mode' that")}}function En(B,ie){if(B=""+B,B!=="byob")throw new TypeError(ie+" '"+B+"' is not a valid enumeration value for ReadableStreamReaderMode");return B}function In(B,ie){N(B,ie);var Ie=B==null?void 0:B.preventCancel;return{preventCancel:Boolean(Ie)}}function tn(B,ie){N(B,ie);var Ie=B==null?void 0:B.preventAbort,Ge=B==null?void 0:B.preventCancel,rt=B==null?void 0:B.preventClose,mt=B==null?void 0:B.signal;return mt!==void 0&&Pn(mt,ie+" has member 'signal' that"),{preventAbort:Boolean(Ie),preventCancel:Boolean(Ge),preventClose:Boolean(rt),signal:mt}}function Pn(B,ie){if(!st(B))throw new TypeError(ie+" is not an AbortSignal.")}function Rn(B,ie){N(B,ie);var Ie=B==null?void 0:B.readable;ne(Ie,"readable","ReadableWritablePair"),$(Ie,ie+" has member 'readable' that");var Ge=B==null?void 0:B.writable;return ne(Ge,"writable","ReadableWritablePair"),it(Ge,ie+" has member 'writable' that"),{readable:Ie,writable:Ge}}var Sa=function(){function B(ie,Ie){ie===void 0&&(ie={}),Ie===void 0&&(Ie={}),ie===void 0?ie=null:H(ie,"First parameter");var Ge=Gr(Ie,"Second parameter"),rt=kn(ie,"First parameter");if(Ka(this),rt.type==="bytes"){if(Ge.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");var mt=br(Ge,0);pr(this,rt,mt)}else{var Ft=qr(Ge),mt=br(Ge,1);bn(this,rt,mt,Ft)}}return Object.defineProperty(B.prototype,"locked",{get:function(){if(!wa(this))throw Ta("locked");return ka(this)},enumerable:!1,configurable:!0}),B.prototype.cancel=function(ie){return ie===void 0&&(ie=void 0),wa(this)?ka(this)?ce(new TypeError("Cannot cancel a stream that already has a reader")):ha(this,ie):ce(Ta("cancel"))},B.prototype.getReader=function(ie){if(ie===void 0&&(ie=void 0),!wa(this))throw Ta("getReader");var Ie=Tn(ie,"First parameter");return Ie.mode===void 0?j(this):fr(this)},B.prototype.pipeThrough=function(ie,Ie){if(Ie===void 0&&(Ie={}),!wa(this))throw Ta("pipeThrough");Z(ie,1,"pipeThrough");var Ge=Rn(ie,"First parameter"),rt=tn(Ie,"Second parameter");if(ka(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(Or(Ge.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");var mt=pa(this,Ge.writable,rt.preventClose,rt.preventAbort,rt.preventCancel,rt.signal);return n(mt),Ge.readable},B.prototype.pipeTo=function(ie,Ie){if(Ie===void 0&&(Ie={}),!wa(this))return ce(Ta("pipeTo"));if(ie===void 0)return ce("Parameter 1 is required in 'pipeTo'.");if(!Rt(ie))return ce(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));var Ge;try{Ge=tn(Ie,"Second parameter")}catch(rt){return ce(rt)}return ka(this)?ce(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):Or(ie)?ce(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):pa(this,ie,Ge.preventClose,Ge.preventAbort,Ge.preventCancel,Ge.signal)},B.prototype.tee=function(){if(!wa(this))throw Ta("tee");var ie=xn(this);return me(ie)},B.prototype.values=function(ie){if(ie===void 0&&(ie=void 0),!wa(this))throw Ta("values");var Ie=In(ie,"First parameter");return Re(this,Ie.preventCancel)},B}();Object.defineProperties(Sa.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(Sa.prototype,T.toStringTag,{value:"ReadableStream",configurable:!0}),typeof T.asyncIterator=="symbol"&&Object.defineProperty(Sa.prototype,T.asyncIterator,{value:Sa.prototype.values,writable:!0,configurable:!0});function Ya(B,ie,Ie,Ge,rt){Ge===void 0&&(Ge=1),rt===void 0&&(rt=function(){return 1});var mt=Object.create(Sa.prototype);Ka(mt);var Ft=Object.create(oa.prototype);return en(mt,Ft,B,ie,Ie,Ge,rt),mt}function rn(B,ie,Ie){var Ge=Object.create(Sa.prototype);Ka(Ge);var rt=Object.create(Qe.prototype);return nr(Ge,rt,B,ie,Ie,0,void 0),Ge}function Ka(B){B._state="readable",B._reader=void 0,B._storedError=void 0,B._disturbed=!1}function wa(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_readableStreamController")?!1:B instanceof Sa}function ka(B){return B._reader!==void 0}function ha(B,ie){if(B._disturbed=!0,B._state==="closed")return d(void 0);if(B._state==="errored")return ce(B._storedError);Ma(B);var Ie=B._reader;Ie!==void 0&&hr(Ie)&&(Ie._readIntoRequests.forEach(function(rt){rt._closeSteps(void 0)}),Ie._readIntoRequests=new x);var Ge=B._readableStreamController[A](ie);return k(Ge,b)}function Ma(B){B._state="closed";var ie=B._reader;ie!==void 0&&(o(ie),Q(ie)&&(ie._readRequests.forEach(function(Ie){Ie._closeSteps()}),ie._readRequests=new x))}function an(B,ie){B._state="errored",B._storedError=ie;var Ie=B._reader;Ie!==void 0&&(i(Ie,ie),Q(Ie)?(Ie._readRequests.forEach(function(Ge){Ge._errorSteps(ie)}),Ie._readRequests=new x):(Ie._readIntoRequests.forEach(function(Ge){Ge._errorSteps(ie)}),Ie._readIntoRequests=new x))}function Ta(B){return new TypeError("ReadableStream.prototype."+B+" can only be used on a ReadableStream")}function nn(B,ie){N(B,ie);var Ie=B==null?void 0:B.highWaterMark;return ne(Ie,"highWaterMark","QueuingStrategyInit"),{highWaterMark:he(Ie)}}var un=function(B){return B.byteLength};Object.defineProperty(un,"name",{value:"size",configurable:!0});var $a=function(){function B(ie){Z(ie,1,"ByteLengthQueuingStrategy"),ie=nn(ie,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=ie.highWaterMark}return Object.defineProperty(B.prototype,"highWaterMark",{get:function(){if(!sn(this))throw on("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"size",{get:function(){if(!sn(this))throw on("size");return un},enumerable:!1,configurable:!0}),B}();Object.defineProperties($a.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty($a.prototype,T.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function on(B){return new TypeError("ByteLengthQueuingStrategy.prototype."+B+" can only be used on a ByteLengthQueuingStrategy")}function sn(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_byteLengthQueuingStrategyHighWaterMark")?!1:B instanceof $a}var ln=function(){return 1};Object.defineProperty(ln,"name",{value:"size",configurable:!0});var Xa=function(){function B(ie){Z(ie,1,"CountQueuingStrategy"),ie=nn(ie,"First parameter"),this._countQueuingStrategyHighWaterMark=ie.highWaterMark}return Object.defineProperty(B.prototype,"highWaterMark",{get:function(){if(!fn(this))throw cn("highWaterMark");return this._countQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"size",{get:function(){if(!fn(this))throw cn("size");return ln},enumerable:!1,configurable:!0}),B}();Object.defineProperties(Xa.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(Xa.prototype,T.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function cn(B){return new TypeError("CountQueuingStrategy.prototype."+B+" can only be used on a CountQueuingStrategy")}function fn(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_countQueuingStrategyHighWaterMark")?!1:B instanceof Xa}function Dn(B,ie){N(B,ie);var Ie=B==null?void 0:B.flush,Ge=B==null?void 0:B.readableType,rt=B==null?void 0:B.start,mt=B==null?void 0:B.transform,Ft=B==null?void 0:B.writableType;return{flush:Ie===void 0?void 0:Bn(Ie,B,ie+" has member 'flush' that"),readableType:Ge,start:rt===void 0?void 0:Mn(rt,B,ie+" has member 'start' that"),transform:mt===void 0?void 0:Nn(mt,B,ie+" has member 'transform' that"),writableType:Ft}}function Bn(B,ie,Ie){return _(B,Ie),function(Ge){return w(B,ie,[Ge])}}function Mn(B,ie,Ie){return _(B,Ie),function(Ge){return O(B,ie,[Ge])}}function Nn(B,ie,Ie){return _(B,Ie),function(Ge,rt){return w(B,ie,[Ge,rt])}}var ja=function(){function B(ie,Ie,Ge){ie===void 0&&(ie={}),Ie===void 0&&(Ie={}),Ge===void 0&&(Ge={}),ie===void 0&&(ie=null);var rt=Gr(Ie,"Second parameter"),mt=Gr(Ge,"Third parameter"),Ft=Dn(ie,"First parameter");if(Ft.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(Ft.writableType!==void 0)throw new RangeError("Invalid writableType specified");var $t=br(mt,0),mr=qr(mt),xr=br(rt,1),wr=qr(rt),Cr,Vr=ae(function(da){Cr=da});Ln(this,Vr,xr,wr,$t,mr),Un(this,Ft),Ft.start!==void 0?Cr(Ft.start(this._transformStreamController)):Cr(void 0)}return Object.defineProperty(B.prototype,"readable",{get:function(){if(!hn(this))throw mn("readable");return this._readable},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"writable",{get:function(){if(!hn(this))throw mn("writable");return this._writable},enumerable:!1,configurable:!0}),B}();Object.defineProperties(ja.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(ja.prototype,T.toStringTag,{value:"TransformStream",configurable:!0});function Ln(B,ie,Ie,Ge,rt,mt){function Ft(){return ie}function $t(Vr){return jn(B,Vr)}function mr(Vr){return Hn(B,Vr)}function xr(){return zn(B)}B._writable=qt(Ft,$t,xr,mr,Ie,Ge);function wr(){return Gn(B)}function Cr(Vr){return za(B,Vr),d(void 0)}B._readable=Ya(Ft,wr,Cr,rt,mt),B._backpressure=void 0,B._backpressureChangePromise=void 0,B._backpressureChangePromise_resolve=void 0,Ga(B,!0),B._transformStreamController=void 0}function hn(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_transformStreamController")?!1:B instanceof ja}function Ha(B,ie){xa(B._readable._readableStreamController,ie),za(B,ie)}function za(B,ie){dn(B._transformStreamController),At(B._writable._writableStreamController,ie),B._backpressure&&Ga(B,!1)}function Ga(B,ie){B._backpressureChangePromise!==void 0&&B._backpressureChangePromise_resolve(),B._backpressureChangePromise=ae(function(Ie){B._backpressureChangePromise_resolve=Ie}),B._backpressure=ie}var Na=function(){function B(){throw new TypeError("Illegal constructor")}return Object.defineProperty(B.prototype,"desiredSize",{get:function(){if(!Wa(this))throw Va("desiredSize");var ie=this._controlledTransformStream._readable._readableStreamController;return qa(ie)},enumerable:!1,configurable:!0}),B.prototype.enqueue=function(ie){if(ie===void 0&&(ie=void 0),!Wa(this))throw Va("enqueue");vn(this,ie)},B.prototype.error=function(ie){if(ie===void 0&&(ie=void 0),!Wa(this))throw Va("error");$n(this,ie)},B.prototype.terminate=function(){if(!Wa(this))throw Va("terminate");Xn(this)},B}();Object.defineProperties(Na.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),typeof T.toStringTag=="symbol"&&Object.defineProperty(Na.prototype,T.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function Wa(B){return!ge(B)||!Object.prototype.hasOwnProperty.call(B,"_controlledTransformStream")?!1:B instanceof Na}function _n(B,ie,Ie,Ge){ie._controlledTransformStream=B,B._transformStreamController=ie,ie._transformAlgorithm=Ie,ie._flushAlgorithm=Ge}function Un(B,ie){var Ie=Object.create(Na.prototype),Ge=function(mt){try{return vn(Ie,mt),d(void 0)}catch(Ft){return ce(Ft)}},rt=function(){return d(void 0)};ie.transform!==void 0&&(Ge=function(mt){return ie.transform(mt,Ie)}),ie.flush!==void 0&&(rt=function(){return ie.flush(Ie)}),_n(B,Ie,Ge,rt)}function dn(B){B._transformAlgorithm=void 0,B._flushAlgorithm=void 0}function vn(B,ie){var Ie=B._controlledTransformStream,Ge=Ie._readable._readableStreamController;if(!Ea(Ge))throw new TypeError("Readable side is not in a state that permits enqueue");try{_a(Ge,ie)}catch(mt){throw za(Ie,mt),Ie._readable._storedError}var rt=yn(Ge);rt!==Ie._backpressure&&Ga(Ie,!0)}function $n(B,ie){Ha(B._controlledTransformStream,ie)}function gn(B,ie){var Ie=B._transformAlgorithm(ie);return k(Ie,void 0,function(Ge){throw Ha(B._controlledTransformStream,Ge),Ge})}function Xn(B){var ie=B._controlledTransformStream,Ie=ie._readable._readableStreamController;Ba(Ie);var Ge=new TypeError("TransformStream terminated");za(ie,Ge)}function jn(B,ie){var Ie=B._transformStreamController;if(B._backpressure){var Ge=B._backpressureChangePromise;return k(Ge,function(){var rt=B._writable,mt=rt._state;if(mt==="erroring")throw rt._storedError;return gn(Ie,ie)})}return gn(Ie,ie)}function Hn(B,ie){return Ha(B,ie),d(void 0)}function zn(B){var ie=B._readable,Ie=B._transformStreamController,Ge=Ie._flushAlgorithm();return dn(Ie),k(Ge,function(){if(ie._state==="errored")throw ie._storedError;Ba(ie._readableStreamController)},function(rt){throw Ha(B,rt),ie._storedError})}function Gn(B){return Ga(B,!1),B._backpressureChangePromise}function Va(B){return new TypeError("TransformStreamDefaultController.prototype."+B+" can only be used on a TransformStreamDefaultController")}function mn(B){return new TypeError("TransformStream.prototype."+B+" can only be used on a TransformStream")}D.ByteLengthQueuingStrategy=$a,D.CountQueuingStrategy=Xa,D.ReadableByteStreamController=Qe,D.ReadableStream=Sa,D.ReadableStreamBYOBReader=Sr,D.ReadableStreamBYOBRequest=Ke,D.ReadableStreamDefaultController=oa,D.ReadableStreamDefaultReader=J,D.TransformStream=ja,D.TransformStreamDefaultController=Na,D.WritableStream=Dt,D.WritableStreamDefaultController=Oe,D.WritableStreamDefaultWriter=dr,Object.defineProperty(D,"__esModule",{value:!0})})},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.RefSetCache=P.RefSet=P.Ref=P.Name=P.EOF=P.Dict=P.Cmd=P.CIRCULAR_REF=void 0,P.clearPrimitiveCaches=i,P.isCmd=F,P.isDict=s,P.isName=h,P.isRef=g,P.isRefsEqual=l,P.isStream=a;var T=e(D(2)),b=D(4),t=D(136);function e(m){return m&&m.__esModule?m:{default:m}}function ge(m,o){return ye(m)||V(m,o)||xe(m,o)||le()}function le(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V(m,o){var c=m==null?null:typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(c!=null){var v=[],A=!0,u=!1,C,I;try{for(c=c.call(m);!(A=(C=c.next()).done)&&(v.push(C.value),!(o&&v.length===o));A=!0);}catch(E){u=!0,I=E}finally{try{!A&&c.return!=null&&c.return()}finally{if(u)throw I}}return v}}function ye(m){if(Array.isArray(m))return m}function be(m,o){var c=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(!c){if(Array.isArray(m)||(c=xe(m))||o&&m&&typeof m.length=="number"){c&&(m=c);var v=0,A=function(){};return{s:A,n:function(){return v>=m.length?{done:!0}:{done:!1,value:m[v++]}},e:function(N){throw N},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,C=!1,I;return{s:function(){c=c.call(m)},n:function(){var N=c.next();return u=N.done,N},e:function(N){C=!0,I=N},f:function(){try{!u&&c.return!=null&&c.return()}finally{if(C)throw I}}}}function xe(m,o){if(!!m){if(typeof m=="string")return ae(m,o);var c=Object.prototype.toString.call(m).slice(8,-1);if(c==="Object"&&m.constructor&&(c=m.constructor.name),c==="Map"||c==="Set")return Array.from(m);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return ae(m,o)}}function ae(m,o){(o==null||o>m.length)&&(o=m.length);for(var c=0,v=new Array(o);c<o;c++)v[c]=m[c];return v}function d(m,o,c,v,A,u,C){try{var I=m[u](C),E=I.value}catch(N){c(N);return}I.done?o(E):Promise.resolve(E).then(v,A)}function ce(m){return function(){var o=this,c=arguments;return new Promise(function(v,A){var u=m.apply(o,c);function C(E){d(u,v,A,C,I,"next",E)}function I(E){d(u,v,A,C,I,"throw",E)}C(void 0)})}}function q(m,o){if(!(m instanceof o))throw new TypeError("Cannot call a class as a function")}function re(m,o){for(var c=0;c<o.length;c++){var v=o[c];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(m,v.key,v)}}function X(m,o,c){return o&&re(m.prototype,o),c&&re(m,c),m}var y=Symbol("CIRCULAR_REF");P.CIRCULAR_REF=y;var k=Symbol("EOF");P.EOF=k;var n=function(){var o=Object.create(null),c=function(){function v(A){q(this,v),this.name=A}return X(v,null,[{key:"get",value:function(u){var C=o[u];return C||(o[u]=new v(u))}},{key:"_clearCache",value:function(){o=Object.create(null)}}]),v}();return c}();P.Name=n;var S=function(){var o=Object.create(null),c=function(){function v(A){q(this,v),this.cmd=A}return X(v,null,[{key:"get",value:function(u){var C=o[u];return C||(o[u]=new v(u))}},{key:"_clearCache",value:function(){o=Object.create(null)}}]),v}();return c}();P.Cmd=S;var O=function(){return O},w=function(){function m(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;q(this,m),this._map=Object.create(null),this.xref=o,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=O}return X(m,[{key:"assignXref",value:function(c){this.xref=c}},{key:"size",get:function(){return Object.keys(this._map).length}},{key:"get",value:function(c,v,A){var u=this._map[c];return u===void 0&&v!==void 0&&(u=this._map[v],u===void 0&&A!==void 0&&(u=this._map[A])),u instanceof p&&this.xref?this.xref.fetch(u,this.suppressEncryption):u}},{key:"getAsync",value:function(){var o=ce(T.default.mark(function v(A,u,C){var I;return T.default.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(I=this._map[A],I===void 0&&u!==void 0&&(I=this._map[u],I===void 0&&C!==void 0&&(I=this._map[C])),!(I instanceof p&&this.xref)){N.next=4;break}return N.abrupt("return",this.xref.fetchAsync(I,this.suppressEncryption));case 4:return N.abrupt("return",I);case 5:case"end":return N.stop()}},v,this)}));function c(v,A,u){return o.apply(this,arguments)}return c}()},{key:"getArray",value:function(c,v,A){var u=this._map[c];if(u===void 0&&v!==void 0&&(u=this._map[v],u===void 0&&A!==void 0&&(u=this._map[A])),u instanceof p&&this.xref&&(u=this.xref.fetch(u,this.suppressEncryption)),Array.isArray(u)){u=u.slice();for(var C=0,I=u.length;C<I;C++)u[C]instanceof p&&this.xref&&(u[C]=this.xref.fetch(u[C],this.suppressEncryption))}return u}},{key:"getRaw",value:function(c){return this._map[c]}},{key:"getKeys",value:function(){return Object.keys(this._map)}},{key:"getRawValues",value:function(){return Object.values(this._map)}},{key:"set",value:function(c,v){this._map[c]=v}},{key:"has",value:function(c){return this._map[c]!==void 0}},{key:"forEach",value:function(c){for(var v in this._map)c(v,this.get(v))}}],[{key:"empty",get:function(){var c=new m(null);return c.set=function(v,A){(0,b.unreachable)("Should not call `set` on the empty dictionary.")},(0,b.shadow)(this,"empty",c)}},{key:"merge",value:function(c){var v=c.xref,A=c.dictArray,u=c.mergeSubDicts,C=u===void 0?!1:u,I=new m(v),E=new Map,N=be(A),_;try{for(N.s();!(_=N.n()).done;){var Y=_.value;if(Y instanceof m)for(var H=0,Z=Object.entries(Y._map);H<Z.length;H++){var ne=ge(Z[H],2),he=ne[0],Se=ne[1],ue=E.get(he);if(ue===void 0)ue=[],E.set(he,ue);else if(!C||!(Se instanceof m))continue;ue.push(Se)}}}catch(ke){N.e(ke)}finally{N.f()}var te=be(E),$;try{for(te.s();!($=te.n()).done;){var j=ge($.value,2),G=j[0],M=j[1];if(M.length===1||!(M[0]instanceof m)){I._map[G]=M[0];continue}var W=new m(v),z=be(M),J;try{for(z.s();!(J=z.n()).done;)for(var Q=J.value,K=0,de=Object.entries(Q._map);K<de.length;K++){var oe=ge(de[K],2),pe=oe[0],fe=oe[1];W._map[pe]===void 0&&(W._map[pe]=fe)}}catch(ke){z.e(ke)}finally{z.f()}W.size>0&&(I._map[G]=W)}}catch(ke){te.e(ke)}finally{te.f()}return E.clear(),I.size>0?I:m.empty}}]),m}();P.Dict=w;var p=function(){var o=Object.create(null),c=function(){function v(A,u){q(this,v),this.num=A,this.gen=u}return X(v,[{key:"toString",value:function(){return this.gen===0?"".concat(this.num,"R"):"".concat(this.num,"R").concat(this.gen)}}],[{key:"get",value:function(u,C){var I=C===0?"".concat(u,"R"):"".concat(u,"R").concat(C),E=o[I];return E||(o[I]=new v(u,C))}},{key:"_clearCache",value:function(){o=Object.create(null)}}]),v}();return c}();P.Ref=p;var x=function(){function m(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;q(this,m),this._set=new Set(o&&o._set)}return X(m,[{key:"has",value:function(c){return this._set.has(c.toString())}},{key:"put",value:function(c){this._set.add(c.toString())}},{key:"remove",value:function(c){this._set.delete(c.toString())}},{key:"forEach",value:function(c){var v=be(this._set.values()),A;try{for(v.s();!(A=v.n()).done;){var u=A.value;c(u)}}catch(C){v.e(C)}finally{v.f()}}},{key:"clear",value:function(){this._set.clear()}}]),m}();P.RefSet=x;var f=function(){function m(){q(this,m),this._map=new Map}return X(m,[{key:"size",get:function(){return this._map.size}},{key:"get",value:function(c){return this._map.get(c.toString())}},{key:"has",value:function(c){return this._map.has(c.toString())}},{key:"put",value:function(c,v){this._map.set(c.toString(),v)}},{key:"putAlias",value:function(c,v){this._map.set(c.toString(),this.get(v))}},{key:"forEach",value:function(c){var v=be(this._map.values()),A;try{for(v.s();!(A=v.n()).done;){var u=A.value;c(u)}}catch(C){v.e(C)}finally{v.f()}}},{key:"clear",value:function(){this._map.clear()}}]),m}();P.RefSetCache=f;function h(m,o){return m instanceof n&&(o===void 0||m.name===o)}function F(m,o){return m instanceof S&&(o===void 0||m.cmd===o)}function s(m,o){return m instanceof w&&(o===void 0||h(m.get("Type"),o))}function g(m){return m instanceof p}function l(m,o){return m.num===o.num&&m.gen===o.gen}function a(m){return m instanceof t.BaseStream}function i(){S._clearCache(),n._clearCache(),p._clearCache()}},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.BaseStream=void 0;var T=D(4);function b(le,V){if(!(le instanceof V))throw new TypeError("Cannot call a class as a function")}function t(le,V){for(var ye=0;ye<V.length;ye++){var be=V[ye];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(le,be.key,be)}}function e(le,V,ye){return V&&t(le.prototype,V),ye&&t(le,ye),le}var ge=function(){function le(){b(this,le),this.constructor===le&&(0,T.unreachable)("Cannot initialize BaseStream.")}return e(le,[{key:"length",get:function(){(0,T.unreachable)("Abstract getter `length` accessed")}},{key:"isEmpty",get:function(){(0,T.unreachable)("Abstract getter `isEmpty` accessed")}},{key:"isDataLoaded",get:function(){return(0,T.shadow)(this,"isDataLoaded",!0)}},{key:"getByte",value:function(){(0,T.unreachable)("Abstract method `getByte` called")}},{key:"getBytes",value:function(ye){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,T.unreachable)("Abstract method `getBytes` called")}},{key:"peekByte",value:function(){var ye=this.getByte();return ye!==-1&&this.pos--,ye}},{key:"peekBytes",value:function(ye){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xe=this.getBytes(ye,be);return this.pos-=xe.length,xe}},{key:"getUint16",value:function(){var ye=this.getByte(),be=this.getByte();return ye===-1||be===-1?-1:(ye<<8)+be}},{key:"getInt32",value:function(){var ye=this.getByte(),be=this.getByte(),xe=this.getByte(),ae=this.getByte();return(ye<<24)+(be<<16)+(xe<<8)+ae}},{key:"getByteRange",value:function(ye,be){(0,T.unreachable)("Abstract method `getByteRange` called")}},{key:"getString",value:function(ye){return(0,T.bytesToString)(this.getBytes(ye,!1))}},{key:"skip",value:function(ye){this.pos+=ye||1}},{key:"reset",value:function(){(0,T.unreachable)("Abstract method `reset` called")}},{key:"moveStart",value:function(){(0,T.unreachable)("Abstract method `moveStart` called")}},{key:"makeSubStream",value:function(ye,be){var xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;(0,T.unreachable)("Abstract method `makeSubStream` called")}},{key:"getBaseStreams",value:function(){return null}}]),le}();P.BaseStream=ge},(Me,P,D)=>{"use strict";function T(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(F){return typeof F}:T=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},T(f)}Object.defineProperty(P,"__esModule",{value:!0}),P.NetworkPdfManager=P.LocalPdfManager=void 0;var b=ye(D(2)),t=D(4),e=D(138),ge=D(139),le=D(141),V=D(140);function ye(f){return f&&f.__esModule?f:{default:f}}function be(f,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(h&&h.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),h&&xe(f,h)}function xe(f,h){return xe=Object.setPrototypeOf||function(s,g){return s.__proto__=g,s},xe(f,h)}function ae(f){var h=q();return function(){var s=re(f),g;if(h){var l=re(this).constructor;g=Reflect.construct(s,arguments,l)}else g=s.apply(this,arguments);return d(this,g)}}function d(f,h){if(h&&(T(h)==="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ce(f)}function ce(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(f){return!1}}function re(f){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)},re(f)}function X(f,h,F,s,g,l,a){try{var i=f[l](a),m=i.value}catch(o){F(o);return}i.done?h(m):Promise.resolve(m).then(s,g)}function y(f){return function(){var h=this,F=arguments;return new Promise(function(s,g){var l=f.apply(h,F);function a(m){X(l,s,g,a,i,"next",m)}function i(m){X(l,s,g,a,i,"throw",m)}a(void 0)})}}function k(f,h){if(!(f instanceof h))throw new TypeError("Cannot call a class as a function")}function n(f,h){for(var F=0;F<h.length;F++){var s=h[F];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,s.key,s)}}function S(f,h,F){return h&&n(f.prototype,h),F&&n(f,F),f}function O(f){if(f){var h=(0,t.createValidAbsoluteUrl)(f);if(h)return h.href;(0,t.warn)('Invalid absolute docBaseUrl: "'.concat(f,'".'))}return null}var w=function(){function f(){k(this,f),this.constructor===f&&(0,t.unreachable)("Cannot initialize BasePdfManager.")}return S(f,[{key:"docId",get:function(){return this._docId}},{key:"password",get:function(){return this._password}},{key:"docBaseUrl",get:function(){return this._docBaseUrl}},{key:"onLoadedStream",value:function(){(0,t.unreachable)("Abstract method `onLoadedStream` called")}},{key:"ensureDoc",value:function(F,s){return this.ensure(this.pdfDocument,F,s)}},{key:"ensureXRef",value:function(F,s){return this.ensure(this.pdfDocument.xref,F,s)}},{key:"ensureCatalog",value:function(F,s){return this.ensure(this.pdfDocument.catalog,F,s)}},{key:"getPage",value:function(F){return this.pdfDocument.getPage(F)}},{key:"fontFallback",value:function(F,s){return this.pdfDocument.fontFallback(F,s)}},{key:"loadXfaFonts",value:function(F,s){return this.pdfDocument.loadXfaFonts(F,s)}},{key:"loadXfaImages",value:function(){return this.pdfDocument.loadXfaImages()}},{key:"serializeXfaData",value:function(F){return this.pdfDocument.serializeXfaData(F)}},{key:"cleanup",value:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.pdfDocument.cleanup(F)}},{key:"ensure",value:function(){var h=y(b.default.mark(function s(g,l,a){return b.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:(0,t.unreachable)("Abstract method `ensure` called");case 1:case"end":return m.stop()}},s)}));function F(s,g,l){return h.apply(this,arguments)}return F}()},{key:"requestRange",value:function(F,s){(0,t.unreachable)("Abstract method `requestRange` called")}},{key:"requestLoadedStream",value:function(){(0,t.unreachable)("Abstract method `requestLoadedStream` called")}},{key:"sendProgressiveData",value:function(F){(0,t.unreachable)("Abstract method `sendProgressiveData` called")}},{key:"updatePassword",value:function(F){this._password=F}},{key:"terminate",value:function(F){(0,t.unreachable)("Abstract method `terminate` called")}}]),f}(),p=function(f){be(F,f);var h=ae(F);function F(s,g,l,a,i,m,o){var c;k(this,F),c=h.call(this),c._docId=s,c._password=l,c._docBaseUrl=O(o),c.msgHandler=a,c.evaluatorOptions=i,c.enableXfa=m;var v=new V.Stream(g);return c.pdfDocument=new le.PDFDocument(ce(c),v),c._loadedStreamPromise=Promise.resolve(v),c}return S(F,[{key:"ensure",value:function(){var s=y(b.default.mark(function l(a,i,m){var o;return b.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(o=a[i],typeof o!="function"){v.next=3;break}return v.abrupt("return",o.apply(a,m));case 3:return v.abrupt("return",o);case 4:case"end":return v.stop()}},l)}));function g(l,a,i){return s.apply(this,arguments)}return g}()},{key:"requestRange",value:function(g,l){return Promise.resolve()}},{key:"requestLoadedStream",value:function(){}},{key:"onLoadedStream",value:function(){return this._loadedStreamPromise}},{key:"terminate",value:function(g){}}]),F}(w);P.LocalPdfManager=p;var x=function(f){be(F,f);var h=ae(F);function F(s,g,l,a,i,m){var o;return k(this,F),o=h.call(this),o._docId=s,o._password=l.password,o._docBaseUrl=O(m),o.msgHandler=l.msgHandler,o.evaluatorOptions=a,o.enableXfa=i,o.streamManager=new e.ChunkedStreamManager(g,{msgHandler:l.msgHandler,length:l.length,disableAutoFetch:l.disableAutoFetch,rangeChunkSize:l.rangeChunkSize}),o.pdfDocument=new le.PDFDocument(ce(o),o.streamManager.getStream()),o}return S(F,[{key:"ensure",value:function(){var s=y(b.default.mark(function l(a,i,m){var o;return b.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(v.prev=0,o=a[i],typeof o!="function"){v.next=4;break}return v.abrupt("return",o.apply(a,m));case 4:return v.abrupt("return",o);case 7:if(v.prev=7,v.t0=v.catch(0),v.t0 instanceof ge.MissingDataException){v.next=11;break}throw v.t0;case 11:return v.next=13,this.requestRange(v.t0.begin,v.t0.end);case 13:return v.abrupt("return",this.ensure(a,i,m));case 14:case"end":return v.stop()}},l,this,[[0,7]])}));function g(l,a,i){return s.apply(this,arguments)}return g}()},{key:"requestRange",value:function(g,l){return this.streamManager.requestRange(g,l)}},{key:"requestLoadedStream",value:function(){this.streamManager.requestAllChunks()}},{key:"sendProgressiveData",value:function(g){this.streamManager.onReceiveData({chunk:g})}},{key:"onLoadedStream",value:function(){return this.streamManager.onLoadedStream()}},{key:"terminate",value:function(g){this.streamManager.abort(g)}}]),F}(w);P.NetworkPdfManager=x},(Me,P,D)=>{"use strict";function T(S){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(w){return typeof w}:T=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},T(S)}Object.defineProperty(P,"__esModule",{value:!0}),P.ChunkedStreamManager=P.ChunkedStream=void 0;var b=D(4),t=D(139),e=D(140);function ge(S,O){var w=typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(!w){if(Array.isArray(S)||(w=le(S))||O&&S&&typeof S.length=="number"){w&&(S=w);var p=0,x=function(){};return{s:x,n:function(){return p>=S.length?{done:!0}:{done:!1,value:S[p++]}},e:function(g){throw g},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,h=!1,F;return{s:function(){w=w.call(S)},n:function(){var g=w.next();return f=g.done,g},e:function(g){h=!0,F=g},f:function(){try{!f&&w.return!=null&&w.return()}finally{if(h)throw F}}}}function le(S,O){if(!!S){if(typeof S=="string")return V(S,O);var w=Object.prototype.toString.call(S).slice(8,-1);if(w==="Object"&&S.constructor&&(w=S.constructor.name),w==="Map"||w==="Set")return Array.from(S);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return V(S,O)}}function V(S,O){(O==null||O>S.length)&&(O=S.length);for(var w=0,p=new Array(O);w<O;w++)p[w]=S[w];return p}function ye(S,O){if(!(S instanceof O))throw new TypeError("Cannot call a class as a function")}function be(S,O){for(var w=0;w<O.length;w++){var p=O[w];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(S,p.key,p)}}function xe(S,O,w){return O&&be(S.prototype,O),w&&be(S,w),S}function ae(S,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");S.prototype=Object.create(O&&O.prototype,{constructor:{value:S,writable:!0,configurable:!0}}),O&&d(S,O)}function d(S,O){return d=Object.setPrototypeOf||function(p,x){return p.__proto__=x,p},d(S,O)}function ce(S){var O=X();return function(){var p=y(S),x;if(O){var f=y(this).constructor;x=Reflect.construct(p,arguments,f)}else x=p.apply(this,arguments);return q(this,x)}}function q(S,O){if(O&&(T(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return re(S)}function re(S){if(S===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S}function X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(S){return!1}}function y(S){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},y(S)}var k=function(S){ae(w,S);var O=ce(w);function w(p,x,f){var h;return ye(this,w),h=O.call(this,new Uint8Array(p),0,p,null),h.chunkSize=x,h._loadedChunks=new Set,h.numChunks=Math.ceil(p/x),h.manager=f,h.progressiveDataLength=0,h.lastSuccessfulEnsureByteChunk=-1,h}return xe(w,[{key:"getMissingChunks",value:function(){for(var x=[],f=0,h=this.numChunks;f<h;++f)this._loadedChunks.has(f)||x.push(f);return x}},{key:"numChunksLoaded",get:function(){return this._loadedChunks.size}},{key:"isDataLoaded",get:function(){return this.numChunksLoaded===this.numChunks}},{key:"onReceiveData",value:function(x,f){var h=this.chunkSize;if(x%h!=0)throw new Error("Bad begin offset: ".concat(x));var F=x+f.byteLength;if(F%h!=0&&F!==this.bytes.length)throw new Error("Bad end offset: ".concat(F));this.bytes.set(new Uint8Array(f),x);for(var s=Math.floor(x/h),g=Math.floor((F-1)/h)+1,l=s;l<g;++l)this._loadedChunks.add(l)}},{key:"onReceiveProgressiveData",value:function(x){var f=this.progressiveDataLength,h=Math.floor(f/this.chunkSize);this.bytes.set(new Uint8Array(x),f),f+=x.byteLength,this.progressiveDataLength=f;for(var F=f>=this.end?this.numChunks:Math.floor(f/this.chunkSize),s=h;s<F;++s)this._loadedChunks.add(s)}},{key:"ensureByte",value:function(x){if(!(x<this.progressiveDataLength)){var f=Math.floor(x/this.chunkSize);if(!(f>this.numChunks)&&f!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(f))throw new t.MissingDataException(x,x+1);this.lastSuccessfulEnsureByteChunk=f}}}},{key:"ensureRange",value:function(x,f){if(!(x>=f)&&!(f<=this.progressiveDataLength)){var h=Math.floor(x/this.chunkSize);if(!(h>this.numChunks)){for(var F=Math.min(Math.floor((f-1)/this.chunkSize)+1,this.numChunks),s=h;s<F;++s)if(!this._loadedChunks.has(s))throw new t.MissingDataException(x,f)}}}},{key:"nextEmptyChunk",value:function(x){for(var f=this.numChunks,h=0;h<f;++h){var F=(x+h)%f;if(!this._loadedChunks.has(F))return F}return null}},{key:"hasChunk",value:function(x){return this._loadedChunks.has(x)}},{key:"getByte",value:function(){var x=this.pos;return x>=this.end?-1:(x>=this.progressiveDataLength&&this.ensureByte(x),this.bytes[this.pos++])}},{key:"getBytes",value:function(x){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=this.bytes,F=this.pos,s=this.end;if(!x){s>this.progressiveDataLength&&this.ensureRange(F,s);var g=h.subarray(F,s);return f?new Uint8ClampedArray(g):g}var l=F+x;l>s&&(l=s),l>this.progressiveDataLength&&this.ensureRange(F,l),this.pos=l;var a=h.subarray(F,l);return f?new Uint8ClampedArray(a):a}},{key:"getByteRange",value:function(x,f){return x<0&&(x=0),f>this.end&&(f=this.end),f>this.progressiveDataLength&&this.ensureRange(x,f),this.bytes.subarray(x,f)}},{key:"makeSubStream",value:function(x,f){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;f?x+f>this.progressiveDataLength&&this.ensureRange(x,x+f):x>=this.progressiveDataLength&&this.ensureByte(x);function F(){}F.prototype=Object.create(this),F.prototype.getMissingChunks=function(){for(var g=this.chunkSize,l=Math.floor(this.start/g),a=Math.floor((this.end-1)/g)+1,i=[],m=l;m<a;++m)this._loadedChunks.has(m)||i.push(m);return i},Object.defineProperty(F.prototype,"isDataLoaded",{get:function(){return this.numChunksLoaded===this.numChunks?!0:this.getMissingChunks().length===0},configurable:!0});var s=new F;return s.pos=s.start=x,s.end=x+f||this.end,s.dict=h,s}},{key:"getBaseStreams",value:function(){return[this]}}]),w}(e.Stream);P.ChunkedStream=k;var n=function(){function S(O,w){ye(this,S),this.length=w.length,this.chunkSize=w.rangeChunkSize,this.stream=new k(this.length,this.chunkSize,this),this.pdfNetworkStream=O,this.disableAutoFetch=w.disableAutoFetch,this.msgHandler=w.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=(0,b.createPromiseCapability)()}return xe(S,[{key:"onLoadedStream",value:function(){return this._loadedStreamCapability.promise}},{key:"sendRequest",value:function(w,p){var x=this,f=this.pdfNetworkStream.getRangeReader(w,p);f.isStreamingSupported||(f.onProgress=this.onProgress.bind(this));var h=[],F=0;return new Promise(function(s,g){var l=function a(i){try{if(!i.done){var m=i.value;h.push(m),F+=(0,b.arrayByteLength)(m),f.isStreamingSupported&&x.onProgress({loaded:F}),f.read().then(a,g);return}var o=(0,b.arraysToBytes)(h);h=null,s(o)}catch(c){g(c)}};f.read().then(l,g)}).then(function(s){x.aborted||x.onReceiveData({chunk:s,begin:w})})}},{key:"requestAllChunks",value:function(){var w=this.stream.getMissingChunks();return this._requestChunks(w),this._loadedStreamCapability.promise}},{key:"_requestChunks",value:function(w){var p=this,x=this.currRequestId++,f=new Set;this._chunksNeededByRequest.set(x,f);var h=ge(w),F;try{for(h.s();!(F=h.n()).done;){var s=F.value;this.stream.hasChunk(s)||f.add(s)}}catch(E){h.e(E)}finally{h.f()}if(f.size===0)return Promise.resolve();var g=(0,b.createPromiseCapability)();this._promisesByRequest.set(x,g);var l=[],a=ge(f),i;try{for(a.s();!(i=a.n()).done;){var m=i.value,o=this._requestsByChunk.get(m);o||(o=[],this._requestsByChunk.set(m,o),l.push(m)),o.push(x)}}catch(E){a.e(E)}finally{a.f()}if(l.length>0){var c=this.groupChunks(l),v=ge(c),A;try{for(v.s();!(A=v.n()).done;){var u=A.value,C=u.beginChunk*this.chunkSize,I=Math.min(u.endChunk*this.chunkSize,this.length);this.sendRequest(C,I).catch(g.reject)}}catch(E){v.e(E)}finally{v.f()}}return g.promise.catch(function(E){if(!p.aborted)throw E})}},{key:"getStream",value:function(){return this.stream}},{key:"requestRange",value:function(w,p){p=Math.min(p,this.length);for(var x=this.getBeginChunk(w),f=this.getEndChunk(p),h=[],F=x;F<f;++F)h.push(F);return this._requestChunks(h)}},{key:"requestRanges",value:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],p=[],x=ge(w),f;try{for(x.s();!(f=x.n()).done;)for(var h=f.value,F=this.getBeginChunk(h.begin),s=this.getEndChunk(h.end),g=F;g<s;++g)p.includes(g)||p.push(g)}catch(l){x.e(l)}finally{x.f()}return p.sort(function(l,a){return l-a}),this._requestChunks(p)}},{key:"groupChunks",value:function(w){for(var p=[],x=-1,f=-1,h=0,F=w.length;h<F;++h){var s=w[h];x<0&&(x=s),f>=0&&f+1!==s&&(p.push({beginChunk:x,endChunk:f+1}),x=s),h+1===w.length&&p.push({beginChunk:x,endChunk:s+1}),f=s}return p}},{key:"onProgress",value:function(w){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+w.loaded,total:this.length})}},{key:"onReceiveData",value:function(w){var p=w.chunk,x=w.begin===void 0,f=x?this.progressiveDataLength:w.begin,h=f+p.byteLength,F=Math.floor(f/this.chunkSize),s=h<this.length?Math.floor(h/this.chunkSize):Math.ceil(h/this.chunkSize);x?(this.stream.onReceiveProgressiveData(p),this.progressiveDataLength=h):this.stream.onReceiveData(f,p),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);for(var g=[],l=F;l<s;++l){var a=this._requestsByChunk.get(l);if(!!a){this._requestsByChunk.delete(l);var i=ge(a),m;try{for(i.s();!(m=i.n()).done;){var o=m.value,c=this._chunksNeededByRequest.get(o);c.has(l)&&c.delete(l),!(c.size>0)&&g.push(o)}}catch(N){i.e(N)}finally{i.f()}}}if(!this.disableAutoFetch&&this._requestsByChunk.size===0){var v;if(this.stream.numChunksLoaded===1){var A=this.stream.numChunks-1;this.stream.hasChunk(A)||(v=A)}else v=this.stream.nextEmptyChunk(s);Number.isInteger(v)&&this._requestChunks([v])}for(var u=0,C=g;u<C.length;u++){var I=C[u],E=this._promisesByRequest.get(I);this._promisesByRequest.delete(I),E.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}},{key:"onError",value:function(w){this._loadedStreamCapability.reject(w)}},{key:"getBeginChunk",value:function(w){return Math.floor(w/this.chunkSize)}},{key:"getEndChunk",value:function(w){return Math.floor((w-1)/this.chunkSize)+1}},{key:"abort",value:function(w){this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(w);var p=ge(this._promisesByRequest.values()),x;try{for(p.s();!(x=p.n()).done;){var f=x.value;f.reject(w)}}catch(h){p.e(h)}finally{p.f()}}}]),S}();P.ChunkedStreamManager=n},(Me,P,D)=>{"use strict";function T(I){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(N){return typeof N}:T=function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},T(I)}Object.defineProperty(P,"__esModule",{value:!0}),P.XRefParseException=P.XRefEntryException=P.ParserEOFException=P.MissingDataException=P.DocStats=void 0,P.collectActions=c,P.encodeToXmlString=A,P.escapePDFName=m,P.getArrayLookupTableFactory=k,P.getInheritableProperty=x,P.getLookupTableFactory=y,P.isWhiteSpace=a,P.log2=F,P.parseXFAPath=i,P.readInt8=s,P.readUint16=g,P.readUint32=l,P.recoverJsURL=C,P.toRomanNumerals=h,P.validateCSSFont=u;var b=D(4),t=D(135);function e(I,E){var N=typeof Symbol!="undefined"&&I[Symbol.iterator]||I["@@iterator"];if(!N){if(Array.isArray(I)||(N=ge(I))||E&&I&&typeof I.length=="number"){N&&(I=N);var _=0,Y=function(){};return{s:Y,n:function(){return _>=I.length?{done:!0}:{done:!1,value:I[_++]}},e:function(Se){throw Se},f:Y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var H=!0,Z=!1,ne;return{s:function(){N=N.call(I)},n:function(){var Se=N.next();return H=Se.done,Se},e:function(Se){Z=!0,ne=Se},f:function(){try{!H&&N.return!=null&&N.return()}finally{if(Z)throw ne}}}}function ge(I,E){if(!!I){if(typeof I=="string")return le(I,E);var N=Object.prototype.toString.call(I).slice(8,-1);if(N==="Object"&&I.constructor&&(N=I.constructor.name),N==="Map"||N==="Set")return Array.from(I);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return le(I,E)}}function le(I,E){(E==null||E>I.length)&&(E=I.length);for(var N=0,_=new Array(E);N<E;N++)_[N]=I[N];return _}function V(I,E){for(var N=0;N<E.length;N++){var _=E[N];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(I,_.key,_)}}function ye(I,E,N){return E&&V(I.prototype,E),N&&V(I,N),I}function be(I,E){if(!(I instanceof E))throw new TypeError("Cannot call a class as a function")}function xe(I,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(E&&E.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),E&&ae(I,E)}function ae(I,E){return ae=Object.setPrototypeOf||function(_,Y){return _.__proto__=Y,_},ae(I,E)}function d(I){var E=re();return function(){var _=X(I),Y;if(E){var H=X(this).constructor;Y=Reflect.construct(_,arguments,H)}else Y=_.apply(this,arguments);return ce(this,Y)}}function ce(I,E){if(E&&(T(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return q(I)}function q(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function re(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(I){return!1}}function X(I){return X=Object.setPrototypeOf?Object.getPrototypeOf:function(N){return N.__proto__||Object.getPrototypeOf(N)},X(I)}function y(I){var E;return function(){return I&&(E=Object.create(null),I(E),I=null),E}}function k(I){var E;return function(){if(I){var N=I();I=null,E=Object.create(null);for(var _=0,Y=N.length;_<Y;_+=2)E[N[_]]=N[_+1];N=null}return E}}var n=function(I){xe(N,I);var E=d(N);function N(_,Y){var H;return be(this,N),H=E.call(this,"Missing data [".concat(_,", ").concat(Y,")"),"MissingDataException"),H.begin=_,H.end=Y,H}return N}(b.BaseException);P.MissingDataException=n;var S=function(I){xe(N,I);var E=d(N);function N(_){return be(this,N),E.call(this,_,"ParserEOFException")}return N}(b.BaseException);P.ParserEOFException=S;var O=function(I){xe(N,I);var E=d(N);function N(_){return be(this,N),E.call(this,_,"XRefEntryException")}return N}(b.BaseException);P.XRefEntryException=O;var w=function(I){xe(N,I);var E=d(N);function N(_){return be(this,N),E.call(this,_,"XRefParseException")}return N}(b.BaseException);P.XRefParseException=w;var p=function(){function I(E){be(this,I),this._handler=E,this._streamTypes=new Set,this._fontTypes=new Set}return ye(I,[{key:"_send",value:function(){var N=Object.create(null),_=Object.create(null),Y=e(this._streamTypes),H;try{for(Y.s();!(H=Y.n()).done;){var Z=H.value;N[Z]=!0}}catch(ue){Y.e(ue)}finally{Y.f()}var ne=e(this._fontTypes),he;try{for(ne.s();!(he=ne.n()).done;){var Se=he.value;_[Se]=!0}}catch(ue){ne.e(ue)}finally{ne.f()}this._handler.send("DocStats",{streamTypes:N,fontTypes:_})}},{key:"addStreamType",value:function(N){this._streamTypes.has(N)||(this._streamTypes.add(N),this._send())}},{key:"addFontType",value:function(N){this._fontTypes.has(N)||(this._fontTypes.add(N),this._send())}}]),I}();P.DocStats=p;function x(I){for(var E=I.dict,N=I.key,_=I.getArray,Y=_===void 0?!1:_,H=I.stopWhenFound,Z=H===void 0?!0:H,ne,he=new t.RefSet;E instanceof t.Dict&&!(E.objId&&he.has(E.objId));){E.objId&&he.put(E.objId);var Se=Y?E.getArray(N):E.get(N);if(Se!==void 0){if(Z)return Se;ne||(ne=[]),ne.push(Se)}E=E.get("Parent")}return ne}var f=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function h(I){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,b.assert)(Number.isInteger(I)&&I>0,"The number should be a positive integer.");for(var N=[],_;I>=1e3;)I-=1e3,N.push("M");_=I/100|0,I%=100,N.push(f[_]),_=I/10|0,I%=10,N.push(f[10+_]),N.push(f[20+I]);var Y=N.join("");return E?Y.toLowerCase():Y}function F(I){return I<=0?0:Math.ceil(Math.log2(I))}function s(I,E){return I[E]<<24>>24}function g(I,E){return I[E]<<8|I[E+1]}function l(I,E){return(I[E]<<24|I[E+1]<<16|I[E+2]<<8|I[E+3])>>>0}function a(I){return I===32||I===9||I===13||I===10}function i(I){var E=/(.+)\[(\d+)\]$/;return I.split(".").map(function(N){var _=N.match(E);return _?{name:_[1],pos:parseInt(_[2],10)}:{name:N,pos:0}})}function m(I){for(var E=[],N=0,_=0,Y=I.length;_<Y;_++){var H=I.charCodeAt(_);(H<33||H>126||H===35||H===40||H===41||H===60||H===62||H===91||H===93||H===123||H===125||H===47||H===37)&&(N<_&&E.push(I.substring(N,_)),E.push("#".concat(H.toString(16))),N=_+1)}return E.length===0?I:(N<I.length&&E.push(I.substring(N,I.length)),E.join(""))}function o(I,E,N,_){if(!!I){var Y=null;if((0,t.isRef)(I)){if(_.has(I))return;Y=I,_.put(Y),I=E.fetch(I)}if(Array.isArray(I)){var H=e(I),Z;try{for(H.s();!(Z=H.n()).done;){var ne=Z.value;o(ne,E,N,_)}}catch(ue){H.e(ue)}finally{H.f()}}else if(I instanceof t.Dict){if((0,t.isName)(I.get("S"),"JavaScript")&&I.has("JS")){var he=I.get("JS"),Se;(0,t.isStream)(he)?Se=he.getString():Se=he,Se=(0,b.stringToPDFString)(Se),Se&&N.push(Se)}o(I.getRaw("Next"),E,N,_)}Y&&_.remove(Y)}}function c(I,E,N){var _=Object.create(null),Y=x({dict:E,key:"AA",stopWhenFound:!1});if(Y)for(var H=Y.length-1;H>=0;H--){var Z=Y[H];if(Z instanceof t.Dict){var ne=e(Z.getKeys()),he;try{for(ne.s();!(he=ne.n()).done;){var Se=he.value,ue=N[Se];if(!!ue){var te=Z.getRaw(Se),$=new t.RefSet,j=[];o(te,I,j,$),j.length>0&&(_[ue]=j)}}}catch(z){ne.e(z)}finally{ne.f()}}}if(E.has("A")){var G=E.get("A"),M=new t.RefSet,W=[];o(G,I,W,M),W.length>0&&(_.Action=W)}return(0,b.objectSize)(_)>0?_:null}var v={60:"&lt;",62:"&gt;",38:"&amp;",34:"&quot;",39:"&apos;"};function A(I){for(var E=[],N=0,_=0,Y=I.length;_<Y;_++){var H=I.codePointAt(_);if(32<=H&&H<=126){var Z=v[H];Z&&(N<_&&E.push(I.substring(N,_)),E.push(Z),N=_+1)}else N<_&&E.push(I.substring(N,_)),E.push("&#x".concat(H.toString(16).toUpperCase(),";")),H>55295&&(H<57344||H>65533)&&_++,N=_+1}return E.length===0?I:(N<I.length&&E.push(I.substring(N,I.length)),E.join(""))}function u(I){var E="14",N="400",_=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),Y=I.fontFamily,H=I.fontWeight,Z=I.italicAngle;if(/^".*"$/.test(Y)){if(/[^\\]"/.test(Y.slice(1,Y.length-1)))return(0,b.warn)('XFA - FontFamily contains some unescaped ": '.concat(Y,".")),!1}else if(/^'.*'$/.test(Y)){if(/[^\\]'/.test(Y.slice(1,Y.length-1)))return(0,b.warn)("XFA - FontFamily contains some unescaped ': ".concat(Y,".")),!1}else{var ne=e(Y.split(/[ \t]+/)),he;try{for(ne.s();!(he=ne.n()).done;){var Se=he.value;if(/^(\d|(-(\d|-)))/.test(Se)||!/^[\w-\\]+$/.test(Se))return(0,b.warn)("XFA - FontFamily contains some invalid <custom-ident>: ".concat(Y,".")),!1}}catch($){ne.e($)}finally{ne.f()}}var ue=H?H.toString():"";I.fontWeight=_.has(ue)?ue:N;var te=parseFloat(Z);return I.italicAngle=isNaN(te)||te<-90||te>90?E:Z.toString(),!0}function C(I){var E=["app.launchURL","window.open","xfa.host.gotoURL"],N=new RegExp("^\\s*("+E.join("|").split(".").join("\\.")+`)\\((?:'|")([^'"]*)(?:'|")(?:,\\s*(\\w+)\\)|\\))`,"i"),_=N.exec(I);if(_&&_[2]){var Y=_[2],H=!1;return _[3]==="true"&&_[1]==="app.launchURL"&&(H=!0),{url:Y,newWindow:H}}return null}},(Me,P,D)=>{"use strict";function T(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(n){return typeof n}:T=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T(y)}Object.defineProperty(P,"__esModule",{value:!0}),P.StringStream=P.Stream=P.NullStream=void 0;var b=D(136),t=D(4);function e(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function ge(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function le(y,k,n){return k&&ge(y.prototype,k),n&&ge(y,n),y}function V(y,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(k&&k.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),k&&ye(y,k)}function ye(y,k){return ye=Object.setPrototypeOf||function(S,O){return S.__proto__=O,S},ye(y,k)}function be(y){var k=d();return function(){var S=ce(y),O;if(k){var w=ce(this).constructor;O=Reflect.construct(S,arguments,w)}else O=S.apply(this,arguments);return xe(this,O)}}function xe(y,k){if(k&&(T(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(y)}function ae(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}function ce(y){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ce(y)}var q=function(y){V(n,y);var k=be(n);function n(S,O,w,p){var x;return e(this,n),x=k.call(this),x.bytes=S instanceof Uint8Array?S:new Uint8Array(S),x.start=O||0,x.pos=x.start,x.end=O+w||x.bytes.length,x.dict=p,x}return le(n,[{key:"length",get:function(){return this.end-this.start}},{key:"isEmpty",get:function(){return this.length===0}},{key:"getByte",value:function(){return this.pos>=this.end?-1:this.bytes[this.pos++]}},{key:"getBytes",value:function(O){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p=this.bytes,x=this.pos,f=this.end;if(!O){var h=p.subarray(x,f);return w?new Uint8ClampedArray(h):h}var F=x+O;F>f&&(F=f),this.pos=F;var s=p.subarray(x,F);return w?new Uint8ClampedArray(s):s}},{key:"getByteRange",value:function(O,w){return O<0&&(O=0),w>this.end&&(w=this.end),this.bytes.subarray(O,w)}},{key:"reset",value:function(){this.pos=this.start}},{key:"moveStart",value:function(){this.start=this.pos}},{key:"makeSubStream",value:function(O,w){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return new n(this.bytes.buffer,O,w,p)}}]),n}(b.BaseStream);P.Stream=q;var re=function(y){V(n,y);var k=be(n);function n(S){return e(this,n),k.call(this,(0,t.stringToBytes)(S))}return n}(q);P.StringStream=re;var X=function(y){V(n,y);var k=be(n);function n(){return e(this,n),k.call(this,new Uint8Array(0))}return n}(q);P.NullStream=X},(Me,P,D)=>{"use strict";function T(te){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(j){return typeof j}:T=function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},T(te)}Object.defineProperty(P,"__esModule",{value:!0}),P.Page=P.PDFDocument=void 0;var b=S(D(2)),t=D(4),e=D(135),ge=D(139),le=D(142),V=D(140),ye=D(152),be=D(136),xe=D(202),ae=D(194),d=D(157),ce=D(200),q=D(192),re=D(155),X=D(159),y=D(199),k=D(204),n=D(228);function S(te){return te&&te.__esModule?te:{default:te}}function O(te,$,j,G,M,W,z){try{var J=te[W](z),Q=J.value}catch(K){j(K);return}J.done?$(Q):Promise.resolve(Q).then(G,M)}function w(te){return function(){var $=this,j=arguments;return new Promise(function(G,M){var W=te.apply($,j);function z(Q){O(W,G,M,z,J,"next",Q)}function J(Q){O(W,G,M,z,J,"throw",Q)}z(void 0)})}}function p(te,$){return h(te)||f(te,$)||s(te,$)||x()}function x(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(te,$){var j=te==null?null:typeof Symbol!="undefined"&&te[Symbol.iterator]||te["@@iterator"];if(j!=null){var G=[],M=!0,W=!1,z,J;try{for(j=j.call(te);!(M=(z=j.next()).done)&&(G.push(z.value),!($&&G.length===$));M=!0);}catch(Q){W=!0,J=Q}finally{try{!M&&j.return!=null&&j.return()}finally{if(W)throw J}}return G}}function h(te){if(Array.isArray(te))return te}function F(te,$){var j=typeof Symbol!="undefined"&&te[Symbol.iterator]||te["@@iterator"];if(!j){if(Array.isArray(te)||(j=s(te))||$&&te&&typeof te.length=="number"){j&&(te=j);var G=0,M=function(){};return{s:M,n:function(){return G>=te.length?{done:!0}:{done:!1,value:te[G++]}},e:function(K){throw K},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var W=!0,z=!1,J;return{s:function(){j=j.call(te)},n:function(){var K=j.next();return W=K.done,K},e:function(K){z=!0,J=K},f:function(){try{!W&&j.return!=null&&j.return()}finally{if(z)throw J}}}}function s(te,$){if(!!te){if(typeof te=="string")return g(te,$);var j=Object.prototype.toString.call(te).slice(8,-1);if(j==="Object"&&te.constructor&&(j=te.constructor.name),j==="Map"||j==="Set")return Array.from(te);if(j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return g(te,$)}}function g(te,$){($==null||$>te.length)&&($=te.length);for(var j=0,G=new Array($);j<$;j++)G[j]=te[j];return G}function l(te,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function");te.prototype=Object.create($&&$.prototype,{constructor:{value:te,writable:!0,configurable:!0}}),$&&a(te,$)}function a(te,$){return a=Object.setPrototypeOf||function(G,M){return G.__proto__=M,G},a(te,$)}function i(te){var $=c();return function(){var G=v(te),M;if($){var W=v(this).constructor;M=Reflect.construct(G,arguments,W)}else M=G.apply(this,arguments);return m(this,M)}}function m(te,$){if($&&(T($)==="object"||typeof $=="function"))return $;if($!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return o(te)}function o(te){if(te===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te}function c(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(te){return!1}}function v(te){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(j){return j.__proto__||Object.getPrototypeOf(j)},v(te)}function A(te,$){if(!(te instanceof $))throw new TypeError("Cannot call a class as a function")}function u(te,$){for(var j=0;j<$.length;j++){var G=$[j];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(te,G.key,G)}}function C(te,$,j){return $&&u(te.prototype,$),j&&u(te,j),te}var I=1,E=[0,0,612,792],N=function(){function te($){var j=$.pdfManager,G=$.xref,M=$.pageIndex,W=$.pageDict,z=$.ref,J=$.globalIdFactory,Q=$.fontCache,K=$.builtInCMapCache,de=$.standardFontDataCache,oe=$.globalImageCache,pe=$.nonBlendModesSet,fe=$.xfaFactory;A(this,te),this.pdfManager=j,this.pageIndex=M,this.pageDict=W,this.xref=G,this.ref=z,this.fontCache=Q,this.builtInCMapCache=K,this.standardFontDataCache=de,this.globalImageCache=oe,this.nonBlendModesSet=pe,this.evaluatorOptions=j.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=fe;var ke={obj:0};this._localIdFactory=function(Re){l(we,Re);var ve=i(we);function we(){return A(this,we),ve.apply(this,arguments)}return C(we,null,[{key:"createObjId",value:function(){return"p".concat(M,"_").concat(++ke.obj)}},{key:"getPageObjId",value:function(){return"page".concat(z.toString())}}]),we}(J)}return C(te,[{key:"_getInheritableProperty",value:function(j){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,M=(0,ge.getInheritableProperty)({dict:this.pageDict,key:j,getArray:G,stopWhenFound:!1});return Array.isArray(M)?M.length===1||!(0,e.isDict)(M[0])?M[0]:e.Dict.merge({xref:this.xref,dictArray:M}):M}},{key:"content",get:function(){return this.pageDict.getArray("Contents")}},{key:"resources",get:function(){return(0,t.shadow)(this,"resources",this._getInheritableProperty("Resources")||e.Dict.empty)}},{key:"_getBoundingBox",value:function(j){if(this.xfaData)return this.xfaData.bbox;var G=this._getInheritableProperty(j,!0);if(Array.isArray(G)&&G.length===4){if(G[2]-G[0]!=0&&G[3]-G[1]!=0)return G;(0,t.warn)("Empty /".concat(j," entry."))}return null}},{key:"mediaBox",get:function(){return(0,t.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||E)}},{key:"cropBox",get:function(){return(0,t.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}},{key:"userUnit",get:function(){var j=this.pageDict.get("UserUnit");return(!(0,t.isNum)(j)||j<=0)&&(j=I),(0,t.shadow)(this,"userUnit",j)}},{key:"view",get:function(){var j=this.cropBox,G=this.mediaBox,M;if(j===G||(0,t.isArrayEqual)(j,G))M=G;else{var W=t.Util.intersect(j,G);W&&W[2]-W[0]!=0&&W[3]-W[1]!=0?M=W:(0,t.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,t.shadow)(this,"view",M||G)}},{key:"rotate",get:function(){var j=this._getInheritableProperty("Rotate")||0;return j%90!=0?j=0:j>=360?j%=360:j<0&&(j=(j%360+360)%360),(0,t.shadow)(this,"rotate",j)}},{key:"_onSubStreamError",value:function(j,G,M){if(this.evaluatorOptions.ignoreErrors){j.send("UnsupportedFeature",{featureId:t.UNSUPPORTED_FEATURES.errorContentSubStream}),(0,t.warn)("getContentStream - ignoring sub-stream (".concat(M,'): "').concat(G,'".'));return}throw G}},{key:"getContentStream",value:function(j){var G=this;return this.pdfManager.ensure(this,"content").then(function(M){return M instanceof be.BaseStream?M:Array.isArray(M)?new X.StreamsSequenceStream(M,G._onSubStreamError.bind(G,j)):new V.NullStream})}},{key:"xfaData",get:function(){return(0,t.shadow)(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}},{key:"save",value:function(j,G,M){var W=new re.PartialEvaluator({xref:this.xref,handler:j,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions});return this._parsedAnnotations.then(function(z){var J=[],Q=F(z),K;try{for(Q.s();!(K=Q.n()).done;){var de=K.value;!de.mustBePrinted(M)||J.push(de.save(W,G,M).catch(function(oe){return(0,t.warn)("save - ignoring annotation data during "+'"'.concat(G.name,'" task: "').concat(oe,'".')),null}))}}catch(oe){Q.e(oe)}finally{Q.f()}return Promise.all(J)})}},{key:"loadResources",value:function(j){var G=this;return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then(function(){var M=new ce.ObjectLoader(G.resources,j,G.xref);return M.load()})}},{key:"getOperatorList",value:function(j){var G=this,M=j.handler,W=j.sink,z=j.task,J=j.intent,Q=j.cacheKey,K=j.annotationStorage,de=K===void 0?null:K,oe=this.getContentStream(M),pe=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),fe=new re.PartialEvaluator({xref:this.xref,handler:M,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),ke=Promise.all([oe,pe]),Re=ke.then(function(ve){var we=p(ve,1),se=we[0],me=new q.OperatorList(J,W);return M.send("StartRenderPage",{transparency:fe.hasBlendModes(G.resources,G.nonBlendModesSet),pageIndex:G.pageIndex,cacheKey:Q}),fe.getOperatorList({stream:se,task:z,resources:G.resources,operatorList:me}).then(function(){return me})});return Promise.all([Re,this._parsedAnnotations]).then(function(ve){var we=p(ve,2),se=we[0],me=we[1];if(me.length===0||J&t.RenderingIntentFlag.ANNOTATIONS_DISABLE)return se.flush(!0),{length:se.totalLength};var ee=!!(J&t.RenderingIntentFlag.ANNOTATIONS_FORMS),Fe=!!(J&t.RenderingIntentFlag.ANY),Ee=!!(J&t.RenderingIntentFlag.DISPLAY),Ce=!!(J&t.RenderingIntentFlag.PRINT),De=[],_e=F(me),Ne;try{for(_e.s();!(Ne=_e.n()).done;){var $e=Ne.value;(Fe||Ee&&$e.mustBeViewed(de)||Ce&&$e.mustBePrinted(de))&&De.push($e.getOperatorList(fe,z,J,ee,de).catch(function(je){return(0,t.warn)("getOperatorList - ignoring annotation data during "+'"'.concat(z.name,'" task: "').concat(je,'".')),null}))}}catch(je){_e.e(je)}finally{_e.f()}return Promise.all(De).then(function(je){se.addOp(t.OPS.beginAnnotations,[]);var Ve=F(je),Ke;try{for(Ve.s();!(Ke=Ve.n()).done;){var Qe=Ke.value;se.addOpList(Qe)}}catch(Ze){Ve.e(Ze)}finally{Ve.f()}return se.addOp(t.OPS.endAnnotations,[]),se.flush(!0),{length:se.totalLength}})})}},{key:"extractTextContent",value:function(j){var G=this,M=j.handler,W=j.task,z=j.normalizeWhitespace,J=j.includeMarkedContent,Q=j.sink,K=j.combineTextItems,de=this.getContentStream(M),oe=this.loadResources(["ExtGState","Font","Properties","XObject"]),pe=Promise.all([de,oe]);return pe.then(function(fe){var ke=p(fe,1),Re=ke[0],ve=new re.PartialEvaluator({xref:G.xref,handler:M,pageIndex:G.pageIndex,idFactory:G._localIdFactory,fontCache:G.fontCache,builtInCMapCache:G.builtInCMapCache,standardFontDataCache:G.standardFontDataCache,globalImageCache:G.globalImageCache,options:G.evaluatorOptions});return ve.getTextContent({stream:Re,task:W,resources:G.resources,normalizeWhitespace:z,includeMarkedContent:J,combineTextItems:K,sink:Q})})}},{key:"getStructTree",value:function(){var $=w(b.default.mark(function G(){var M,W;return b.default.wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.next=2,this.pdfManager.ensureCatalog("structTreeRoot");case 2:if(M=J.sent,M){J.next=5;break}return J.abrupt("return",null);case 5:return J.next=7,this.pdfManager.ensure(this,"_parseStructTree",[M]);case 7:return W=J.sent,J.abrupt("return",W.serializable);case 9:case"end":return J.stop()}},G,this)}));function j(){return $.apply(this,arguments)}return j}()},{key:"_parseStructTree",value:function(j){var G=new y.StructTreePage(j,this.pageDict);return G.parse(),G}},{key:"getAnnotationsData",value:function(j){return this._parsedAnnotations.then(function(G){var M=[];if(G.length===0)return M;var W=!!(j&t.RenderingIntentFlag.ANY),z=!!(j&t.RenderingIntentFlag.DISPLAY),J=!!(j&t.RenderingIntentFlag.PRINT),Q=F(G),K;try{for(Q.s();!(K=Q.n()).done;){var de=K.value;(W||z&&de.viewable||J&&de.printable)&&M.push(de.data)}}catch(oe){Q.e(oe)}finally{Q.f()}return M})}},{key:"annotations",get:function(){var j=this._getInheritableProperty("Annots");return(0,t.shadow)(this,"annotations",Array.isArray(j)?j:[])}},{key:"_parsedAnnotations",get:function(){var j=this,G=this.pdfManager.ensure(this,"annotations").then(function(){var M=[],W=F(j.annotations),z;try{for(W.s();!(z=W.n()).done;){var J=z.value;M.push(ye.AnnotationFactory.create(j.xref,J,j.pdfManager,j._localIdFactory,!1).catch(function(Q){return(0,t.warn)('_parsedAnnotations: "'.concat(Q,'".')),null}))}}catch(Q){W.e(Q)}finally{W.f()}return Promise.all(M).then(function(Q){return Q.filter(function(K){return!!K})})});return(0,t.shadow)(this,"_parsedAnnotations",G)}},{key:"jsActions",get:function(){var j=(0,ge.collectActions)(this.xref,this.pageDict,t.PageActionEventType);return(0,t.shadow)(this,"jsActions",j)}}]),te}();P.Page=N;var _=new Uint8Array([37,80,68,70,45]),Y=new Uint8Array([115,116,97,114,116,120,114,101,102]),H=new Uint8Array([101,110,100,111,98,106]),Z=1024,ne="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",he=/^[1-9]\.\d$/;function Se(te,$){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1024,G=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,M=$.length,W=te.peekBytes(j),z=W.length-M;if(z<=0)return!1;if(G)for(var J=M-1,Q=W.length-1;Q>=J;){for(var K=0;K<M&&W[Q-K]===$[J-K];)K++;if(K>=M)return te.pos+=Q-J,!0;Q--}else for(var de=0;de<=z;){for(var oe=0;oe<M&&W[de+oe]===$[oe];)oe++;if(oe>=M)return te.pos+=de,!0;de++}return!1}var ue=function(){function te($,j){A(this,te);var G;if((0,e.isStream)(j))G=j;else if((0,t.isArrayBuffer)(j))G=new V.Stream(j);else throw new Error("PDFDocument: Unknown argument type");if(G.length<=0)throw new t.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=$,this.stream=G,this.xref=new n.XRef(G,$),this._pagePromises=new Map,this._version=null;var M={font:0};this._globalIdFactory=function(){function W(){A(this,W)}return C(W,null,[{key:"getDocId",value:function(){return"g_".concat($.docId)}},{key:"createFontId",value:function(){return"f".concat(++M.font)}},{key:"createObjId",value:function(){(0,t.unreachable)("Abstract method `createObjId` called.")}},{key:"getPageObjId",value:function(){(0,t.unreachable)("Abstract method `getPageObjId` called.")}}]),W}()}return C(te,[{key:"parse",value:function(j){this.xref.parse(j),this.catalog=new ae.Catalog(this.pdfManager,this.xref),this.catalog.version&&(this._version=this.catalog.version)}},{key:"linearization",get:function(){var j=null;try{j=d.Linearization.create(this.stream)}catch(G){if(G instanceof ge.MissingDataException)throw G;(0,t.info)(G)}return(0,t.shadow)(this,"linearization",j)}},{key:"startXRef",get:function(){var j=this.stream,G=0;if(this.linearization)j.reset(),Se(j,H)&&(G=j.pos+6-j.start);else{for(var M=1024,W=Y.length,z=!1,J=j.end;!z&&J>0;)J-=M-W,J<0&&(J=0),j.pos=J,z=Se(j,Y,M,!0);if(z){j.skip(9);var Q;do Q=j.getByte();while((0,ge.isWhiteSpace)(Q));for(var K="";Q>=32&&Q<=57;)K+=String.fromCharCode(Q),Q=j.getByte();G=parseInt(K,10),isNaN(G)&&(G=0)}}return(0,t.shadow)(this,"startXRef",G)}},{key:"checkHeader",value:function(){var j=this.stream;if(j.reset(),!!Se(j,_)){j.moveStart();for(var G=12,M="",W;(W=j.getByte())>32&&!(M.length>=G);)M+=String.fromCharCode(W);this._version||(this._version=M.substring(5))}}},{key:"parseStartXRef",value:function(){this.xref.setStartXRef(this.startXRef)}},{key:"numPages",get:function(){var j=0;return this.catalog.hasActualNumPages?j=this.catalog.numPages:this.xfaFactory?j=this.xfaFactory.getNumPages():this.linearization?j=this.linearization.numPages:j=this.catalog.numPages,(0,t.shadow)(this,"numPages",j)}},{key:"_hasOnlyDocumentSignatures",value:function(j){var G=this,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,W=10;return Array.isArray(j)?j.every(function(z){if(z=G.xref.fetchIfRef(z),!(z instanceof e.Dict))return!1;if(z.has("Kids"))return++M>W?((0,t.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):G._hasOnlyDocumentSignatures(z.get("Kids"),M);var J=(0,e.isName)(z.get("FT"),"Sig"),Q=z.get("Rect"),K=Array.isArray(Q)&&Q.every(function(de){return de===0});return J&&K}):!1}},{key:"xfaData",get:function(){var j=this.catalog.acroForm;if(!j)return null;var G=j.get("XFA"),M={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if((0,e.isStream)(G)&&!G.isEmpty)try{return M["xdp:xdp"]=(0,t.stringToUTF8String)(G.getString()),M}catch(K){return(0,t.warn)("XFA - Invalid utf-8 string."),null}if(!Array.isArray(G)||G.length===0)return null;for(var W=0,z=G.length;W<z;W+=2){var J=void 0;if(W===0?J="xdp:xdp":W===z-2?J="/xdp:xdp":J=G[W],!!M.hasOwnProperty(J)){var Q=this.xref.fetchIfRef(G[W+1]);if(!(!(0,e.isStream)(Q)||Q.isEmpty))try{M[J]=(0,t.stringToUTF8String)(Q.getString())}catch(K){return(0,t.warn)("XFA - Invalid utf-8 string."),null}}}return M}},{key:"xfaFactory",get:function(){var j;return this.pdfManager.enableXfa&&this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm&&(j=this.xfaData),(0,t.shadow)(this,"xfaFactory",j?new k.XFAFactory(j):null)}},{key:"isPureXfa",get:function(){return this.xfaFactory?this.xfaFactory.isValid():!1}},{key:"htmlForXfa",get:function(){return this.xfaFactory?this.xfaFactory.getPages():null}},{key:"loadXfaImages",value:function(){var $=w(b.default.mark(function G(){var M,W,z,J,Q,K,de,oe;return b.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return fe.next=2,this.pdfManager.ensureCatalog("xfaImages");case 2:if(M=fe.sent,M){fe.next=5;break}return fe.abrupt("return");case 5:return W=M.getKeys(),z=new ce.ObjectLoader(M,W,this.xref),fe.next=9,z.load();case 9:J=new Map,Q=F(W),fe.prev=11,Q.s();case 13:if((K=Q.n()).done){fe.next=21;break}if(de=K.value,oe=M.get(de),(0,e.isStream)(oe)){fe.next=18;break}return fe.abrupt("continue",19);case 18:J.set(de,oe.getBytes());case 19:fe.next=13;break;case 21:fe.next=26;break;case 23:fe.prev=23,fe.t0=fe.catch(11),Q.e(fe.t0);case 26:return fe.prev=26,Q.f(),fe.finish(26);case 29:this.xfaFactory.setImages(J);case 30:case"end":return fe.stop()}},G,this,[[11,23,26,29]])}));function j(){return $.apply(this,arguments)}return j}()},{key:"loadXfaFonts",value:function(){var $=w(b.default.mark(function G(M,W){var z,J,Q,K,de,oe,pe,fe,ke,Re,ve,we,se,me,ee,Fe,Ee,Ce,De,_e,Ne,$e,je,Ve,Ke,Qe,Ze,ze,ct,Je,gt,xt,tt,yt;return b.default.wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:return ft.next=2,this.pdfManager.ensureCatalog("acroForm");case 2:if(z=ft.sent,z){ft.next=5;break}return ft.abrupt("return");case 5:return ft.next=7,z.getAsync("DR");case 7:if(J=ft.sent,J instanceof e.Dict){ft.next=10;break}return ft.abrupt("return");case 10:return Q=new ce.ObjectLoader(J,["Font"],this.xref),ft.next=13,Q.load();case 13:if(K=J.get("Font"),K instanceof e.Dict){ft.next=16;break}return ft.abrupt("return");case 16:de=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions),de.useSystemFonts=!1,oe=new re.PartialEvaluator({xref:this.xref,handler:M,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:this.catalog.fontCache,builtInCMapCache:this.catalog.builtInCMapCache,standardFontDataCache:this.catalog.standardFontDataCache,options:de}),pe=new q.OperatorList,fe=[],ft.t0=function(){return this},ke={get font(){return fe[fe.length-1]},set font(Ut){fe.push(Ut)},clone:ft.t0},Re=new Map,K.forEach(function(Ut,kt){Re.set(Ut,kt)}),ve=[],we=F(Re),ft.prev=27,we.s();case 29:if((se=we.n()).done){ft.next=44;break}if(me=p(se.value,2),ee=me[0],Fe=me[1],Ee=Fe.get("FontDescriptor"),Ee instanceof e.Dict){ft.next=34;break}return ft.abrupt("continue",42);case 34:if(Ce=Ee.get("FontFamily"),Ce=Ce.replace(/[ ]+(\d)/g,"$1"),De=Ee.get("FontWeight"),_e=-Ee.get("ItalicAngle"),Ne={fontFamily:Ce,fontWeight:De,italicAngle:_e},(0,ge.validateCSSFont)(Ne)){ft.next=41;break}return ft.abrupt("continue",42);case 41:ve.push(oe.handleSetFont(J,[e.Name.get(ee),1],null,pe,W,ke,null,Ne).catch(function(Ut){return(0,t.warn)('loadXfaFonts: "'.concat(Ut,'".')),null}));case 42:ft.next=29;break;case 44:ft.next=49;break;case 46:ft.prev=46,ft.t1=ft.catch(27),we.e(ft.t1);case 49:return ft.prev=49,we.f(),ft.finish(49);case 52:return ft.next=54,Promise.all(ve);case 54:if($e=this.xfaFactory.setFonts(fe),$e){ft.next=57;break}return ft.abrupt("return");case 57:de.ignoreErrors=!0,ve.length=0,fe.length=0,je=new Set,Ve=F($e);try{for(Ve.s();!(Ke=Ve.n()).done;)Qe=Ke.value,(0,le.getXfaFontName)("".concat(Qe,"-Regular"))||je.add(Qe)}catch(Ut){Ve.e(Ut)}finally{Ve.f()}je.size&&$e.push("PdfJS-Fallback"),Ze=F($e),ft.prev=65,Ze.s();case 67:if((ze=Ze.n()).done){ft.next=74;break}if(ct=ze.value,!je.has(ct)){ft.next=71;break}return ft.abrupt("continue",72);case 71:for(Je=0,gt=[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}];Je<gt.length;Je++)xt=gt[Je],tt="".concat(ct,"-").concat(xt.name),yt=(0,le.getXfaFontDict)(tt),ve.push(oe.handleSetFont(J,[e.Name.get(tt),1],null,pe,W,ke,yt,{fontFamily:ct,fontWeight:xt.fontWeight,italicAngle:xt.italicAngle}).catch(function(Ut){return(0,t.warn)('loadXfaFonts: "'.concat(Ut,'".')),null}));case 72:ft.next=67;break;case 74:ft.next=79;break;case 76:ft.prev=76,ft.t2=ft.catch(65),Ze.e(ft.t2);case 79:return ft.prev=79,Ze.f(),ft.finish(79);case 82:return ft.next=84,Promise.all(ve);case 84:this.xfaFactory.appendFonts(fe,je);case 85:case"end":return ft.stop()}},G,this,[[27,46,49,52],[65,76,79,82]])}));function j(G,M){return $.apply(this,arguments)}return j}()},{key:"serializeXfaData",value:function(){var $=w(b.default.mark(function G(M){return b.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.abrupt("return",this.xfaFactory?this.xfaFactory.serializeData(M):null);case 1:case"end":return z.stop()}},G,this)}));function j(G){return $.apply(this,arguments)}return j}()},{key:"formInfo",get:function(){var j={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},G=this.catalog.acroForm;if(!G)return(0,t.shadow)(this,"formInfo",j);try{var M=G.get("Fields"),W=Array.isArray(M)&&M.length>0;j.hasFields=W;var z=G.get("XFA");j.hasXfa=Array.isArray(z)&&z.length>0||(0,e.isStream)(z)&&!z.isEmpty;var J=G.get("SigFlags"),Q=!!(J&1),K=Q&&this._hasOnlyDocumentSignatures(M);j.hasAcroForm=W&&!K,j.hasSignatures=Q}catch(de){if(de instanceof ge.MissingDataException)throw de;(0,t.warn)('Cannot fetch form information: "'.concat(de,'".'))}return(0,t.shadow)(this,"formInfo",j)}},{key:"documentInfo",get:function(){var j={Title:t.isString,Author:t.isString,Subject:t.isString,Keywords:t.isString,Creator:t.isString,Producer:t.isString,CreationDate:t.isString,ModDate:t.isString,Trapped:e.isName},G=this._version;(typeof G!="string"||!he.test(G))&&((0,t.warn)("Invalid PDF header version number: ".concat(G)),G=null);var M={PDFFormatVersion:G,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures},W;try{W=this.xref.trailer.get("Info")}catch(oe){if(oe instanceof ge.MissingDataException)throw oe;(0,t.info)("The document information dictionary is invalid.")}if((0,e.isDict)(W)){var z=F(W.getKeys()),J;try{for(z.s();!(J=z.n()).done;){var Q=J.value,K=W.get(Q);if(j[Q])j[Q](K)?M[Q]=typeof K!="string"?K:(0,t.stringToPDFString)(K):(0,t.info)('Bad value in document info for "'.concat(Q,'".'));else if(typeof Q=="string"){var de=void 0;if((0,t.isString)(K))de=(0,t.stringToPDFString)(K);else if((0,e.isName)(K)||(0,t.isNum)(K)||(0,t.isBool)(K))de=K;else{(0,t.info)('Unsupported value in document info for (custom) "'.concat(Q,'".'));continue}M.Custom||(M.Custom=Object.create(null)),M.Custom[Q]=de}}}catch(oe){z.e(oe)}finally{z.f()}}return(0,t.shadow)(this,"documentInfo",M)}},{key:"fingerprints",get:function(){function j(J){return typeof J=="string"&&J.length>0&&J!==ne}function G(J){for(var Q=[],K=0,de=J.length;K<de;K++){var oe=J[K].toString(16);Q.push(oe.padStart(2,"0"))}return Q.join("")}var M=this.xref.trailer.get("ID"),W,z;return Array.isArray(M)&&j(M[0])?(W=(0,t.stringToBytes)(M[0]),M[1]!==M[0]&&j(M[1])&&(z=(0,t.stringToBytes)(M[1]))):W=(0,xe.calculateMD5)(this.stream.getByteRange(0,Z),0,Z),(0,t.shadow)(this,"fingerprints",[G(W),z?G(z):null])}},{key:"_getLinearizationPage",value:function(){var $=w(b.default.mark(function G(M){var W,z,J,Q;return b.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return W=this.catalog,z=this.linearization,J=e.Ref.get(z.objectNumberFirst,0),de.prev=2,de.next=5,this.xref.fetchAsync(J);case 5:if(Q=de.sent,!((0,e.isDict)(Q,"Page")||(0,e.isDict)(Q)&&!Q.has("Type")&&Q.has("Contents"))){de.next=9;break}return J&&!W.pageKidsCountCache.has(J)&&W.pageKidsCountCache.put(J,1),de.abrupt("return",[Q,J]);case 9:throw new t.FormatError("The Linearization dictionary doesn't point to a valid Page dictionary.");case 12:return de.prev=12,de.t0=de.catch(2),(0,t.info)(de.t0),de.abrupt("return",W.getPageDict(M));case 16:case"end":return de.stop()}},G,this,[[2,12]])}));function j(G){return $.apply(this,arguments)}return j}()},{key:"getPage",value:function(j){var G=this,M=this._pagePromises.get(j);if(M)return M;var W=this.catalog,z=this.linearization,J=this.xfaFactory,Q;return J?Q=Promise.resolve([e.Dict.empty,null]):z&&z.pageFirst===j?Q=this._getLinearizationPage(j):Q=W.getPageDict(j),Q=Q.then(function(K){var de=p(K,2),oe=de[0],pe=de[1];return new N({pdfManager:G.pdfManager,xref:G.xref,pageIndex:j,pageDict:oe,ref:pe,globalIdFactory:G._globalIdFactory,fontCache:W.fontCache,builtInCMapCache:W.builtInCMapCache,standardFontDataCache:W.standardFontDataCache,globalImageCache:W.globalImageCache,nonBlendModesSet:W.nonBlendModesSet,xfaFactory:J})}),this._pagePromises.set(j,Q),Q}},{key:"checkFirstPage",value:function(){var $=w(b.default.mark(function G(){var M,W=arguments;return b.default.wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(M=W.length>0&&W[0]!==void 0?W[0]:!1,!M){J.next=3;break}return J.abrupt("return");case 3:return J.prev=3,J.next=6,this.getPage(0);case 6:J.next=15;break;case 8:if(J.prev=8,J.t0=J.catch(3),!(J.t0 instanceof ge.XRefEntryException)){J.next=15;break}return this._pagePromises.delete(0),J.next=14,this.cleanup();case 14:throw new ge.XRefParseException;case 15:case"end":return J.stop()}},G,this,[[3,8]])}));function j(){return $.apply(this,arguments)}return j}()},{key:"checkLastPage",value:function(){var $=w(b.default.mark(function G(){var M,W,z,J,Q,K,de,oe,pe,fe,ke,Re,ve,we=arguments;return b.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return M=we.length>0&&we[0]!==void 0?we[0]:!1,W=this.catalog,z=this.pdfManager,W.setActualNumPages(),me.prev=3,me.next=6,Promise.all([z.ensureDoc("xfaFactory"),z.ensureDoc("linearization"),z.ensureCatalog("numPages")]);case 6:if(!this.xfaFactory){me.next=10;break}return me.abrupt("return");case 10:this.linearization?J=this.linearization.numPages:J=W.numPages;case 11:if(Number.isInteger(J)){me.next=15;break}throw new t.FormatError("Page count is not an integer.");case 15:if(!(J<=1)){me.next=17;break}return me.abrupt("return");case 17:return me.next=19,this.getPage(J-1);case 19:me.next=44;break;case 21:return me.prev=21,me.t0=me.catch(3),this._pagePromises.delete(J-1),me.next=26,this.cleanup();case 26:if(!(me.t0 instanceof ge.XRefEntryException&&!M)){me.next=28;break}throw new ge.XRefParseException;case 28:return(0,t.warn)("checkLastPage - invalid /Pages tree /Count: ".concat(J,".")),me.prev=29,me.next=32,z.ensureCatalog("getAllPageDicts",[M]);case 32:Q=me.sent,me.next=41;break;case 35:if(me.prev=35,me.t1=me.catch(29),!(me.t1 instanceof ge.XRefEntryException&&!M)){me.next=39;break}throw new ge.XRefParseException;case 39:return W.setActualNumPages(1),me.abrupt("return");case 41:K=F(Q);try{for(K.s();!(de=K.n()).done;)oe=p(de.value,2),pe=oe[0],fe=p(oe[1],2),ke=fe[0],Re=fe[1],ve=void 0,ke instanceof Error?(ve=Promise.reject(ke),ve.catch(function(){})):ve=Promise.resolve(new N({pdfManager:z,xref:this.xref,pageIndex:pe,pageDict:ke,ref:Re,globalIdFactory:this._globalIdFactory,fontCache:W.fontCache,builtInCMapCache:W.builtInCMapCache,standardFontDataCache:W.standardFontDataCache,globalImageCache:W.globalImageCache,nonBlendModesSet:W.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(pe,ve)}catch(ee){K.e(ee)}finally{K.f()}W.setActualNumPages(Q.size);case 44:case"end":return me.stop()}},G,this,[[3,21],[29,35]])}));function j(){return $.apply(this,arguments)}return j}()},{key:"fontFallback",value:function(j,G){return this.catalog.fontFallback(j,G)}},{key:"cleanup",value:function(){var $=w(b.default.mark(function G(){var M,W=arguments;return b.default.wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return M=W.length>0&&W[0]!==void 0?W[0]:!1,J.abrupt("return",this.catalog?this.catalog.cleanup(M):(0,e.clearPrimitiveCaches)());case 2:case"end":return J.stop()}},G,this)}));function j(){return $.apply(this,arguments)}return j}()},{key:"_collectFieldObjects",value:function(j,G,M){var W=this.xref.fetchIfRef(G);if(W.has("T")){var z=(0,t.stringToPDFString)(W.get("T"));j===""?j=z:j="".concat(j,".").concat(z)}if(M.has(j)||M.set(j,[]),M.get(j).push(ye.AnnotationFactory.create(this.xref,G,this.pdfManager,this._localIdFactory,!0).then(function(oe){return oe&&oe.getFieldObject()}).catch(function(oe){return(0,t.warn)('_collectFieldObjects: "'.concat(oe,'".')),null})),W.has("Kids")){var J=W.get("Kids"),Q=F(J),K;try{for(Q.s();!(K=Q.n()).done;){var de=K.value;this._collectFieldObjects(j,de,M)}}catch(oe){Q.e(oe)}finally{Q.f()}}}},{key:"fieldObjects",get:function(){if(!this.formInfo.hasFields)return(0,t.shadow)(this,"fieldObjects",Promise.resolve(null));var j=Object.create(null),G=new Map,M=F(this.catalog.acroForm.get("Fields")),W;try{for(M.s();!(W=M.n()).done;){var z=W.value;this._collectFieldObjects("",z,G)}}catch(oe){M.e(oe)}finally{M.f()}var J=[],Q=F(G),K;try{var de=function(){var pe=p(K.value,2),fe=pe[0],ke=pe[1];J.push(Promise.all(ke).then(function(Re){Re=Re.filter(function(ve){return!!ve}),Re.length>0&&(j[fe]=Re)}))};for(Q.s();!(K=Q.n()).done;)de()}catch(oe){Q.e(oe)}finally{Q.f()}return(0,t.shadow)(this,"fieldObjects",Promise.all(J).then(function(){return j}))}},{key:"hasJSActions",get:function(){var j=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,t.shadow)(this,"hasJSActions",j)}},{key:"_parseHasJSActions",value:function(){var $=w(b.default.mark(function G(){var M,W,z,J;return b.default.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);case 2:if(M=K.sent,W=p(M,2),z=W[0],J=W[1],!z){K.next=8;break}return K.abrupt("return",!0);case 8:if(!J){K.next=10;break}return K.abrupt("return",Object.values(J).some(function(de){return de.some(function(oe){return oe.actions!==null})}));case 10:return K.abrupt("return",!1);case 11:case"end":return K.stop()}},G,this)}));function j(){return $.apply(this,arguments)}return j}()},{key:"calculationOrderIds",get:function(){var j=this.catalog.acroForm;if(!j||!j.has("CO"))return(0,t.shadow)(this,"calculationOrderIds",null);var G=j.get("CO");if(!Array.isArray(G)||G.length===0)return(0,t.shadow)(this,"calculationOrderIds",null);var M=G.filter(e.isRef).map(function(W){return W.toString()});return M.length===0?(0,t.shadow)(this,"calculationOrderIds",null):(0,t.shadow)(this,"calculationOrderIds",M)}}]),te}();P.PDFDocument=ue},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.getXfaFontDict=n,P.getXfaFontName=y;var T=D(143),b=D(135),t=D(144),e=D(145),ge=D(146),le=D(147),V=D(139),ye=D(148);function be(S,O){return d(S)||ae(S,O)||q(S,O)||xe()}function xe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ae(S,O){var w=S==null?null:typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(w!=null){var p=[],x=!0,f=!1,h,F;try{for(w=w.call(S);!(x=(h=w.next()).done)&&(p.push(h.value),!(O&&p.length===O));x=!0);}catch(s){f=!0,F=s}finally{try{!x&&w.return!=null&&w.return()}finally{if(f)throw F}}return p}}function d(S){if(Array.isArray(S))return S}function ce(S,O){var w=typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(!w){if(Array.isArray(S)||(w=q(S))||O&&S&&typeof S.length=="number"){w&&(S=w);var p=0,x=function(){};return{s:x,n:function(){return p>=S.length?{done:!0}:{done:!1,value:S[p++]}},e:function(g){throw g},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,h=!1,F;return{s:function(){w=w.call(S)},n:function(){var g=w.next();return f=g.done,g},e:function(g){h=!0,F=g},f:function(){try{!f&&w.return!=null&&w.return()}finally{if(h)throw F}}}}function q(S,O){if(!!S){if(typeof S=="string")return re(S,O);var w=Object.prototype.toString.call(S).slice(8,-1);if(w==="Object"&&S.constructor&&(w=S.constructor.name),w==="Map"||w==="Set")return Array.from(S);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return re(S,O)}}function re(S,O){(O==null||O>S.length)&&(O=S.length);for(var w=0,p=new Array(O);w<O;w++)p[w]=S[w];return p}var X=(0,V.getLookupTableFactory)(function(S){S["MyriadPro-Regular"]=S["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:ge.MyriadProRegularFactors,baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping,metrics:ge.MyriadProRegularMetrics},S["MyriadPro-Bold"]=S["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:ge.MyriadProBoldFactors,baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping,metrics:ge.MyriadProBoldMetrics},S["MyriadPro-It"]=S["MyriadPro-Italic"]=S["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:ge.MyriadProItalicFactors,baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping,metrics:ge.MyriadProItalicMetrics},S["MyriadPro-BoldIt"]=S["MyriadPro-BoldItalic"]=S["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:ge.MyriadProBoldItalicFactors,baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping,metrics:ge.MyriadProBoldItalicMetrics},S.ArialMT=S.Arial=S["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping},S["Arial-BoldMT"]=S["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping},S["Arial-ItalicMT"]=S["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping},S["Arial-BoldItalicMT"]=S["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping},S["Calibri-Regular"]={name:"LiberationSans-Regular",factors:T.CalibriRegularFactors,baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping,metrics:T.CalibriRegularMetrics},S["Calibri-Bold"]={name:"LiberationSans-Bold",factors:T.CalibriBoldFactors,baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping,metrics:T.CalibriBoldMetrics},S["Calibri-Italic"]={name:"LiberationSans-Italic",factors:T.CalibriItalicFactors,baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping,metrics:T.CalibriItalicMetrics},S["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:T.CalibriBoldItalicFactors,baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping,metrics:T.CalibriBoldItalicMetrics},S["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:le.SegoeuiRegularFactors,baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping,metrics:le.SegoeuiRegularMetrics},S["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:le.SegoeuiBoldFactors,baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping,metrics:le.SegoeuiBoldMetrics},S["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:le.SegoeuiItalicFactors,baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping,metrics:le.SegoeuiItalicMetrics},S["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:le.SegoeuiBoldItalicFactors,baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping,metrics:le.SegoeuiBoldItalicMetrics},S["Helvetica-Regular"]=S.Helvetica={name:"LiberationSans-Regular",factors:t.HelveticaRegularFactors,baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping,metrics:t.HelveticaRegularMetrics},S["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:t.HelveticaBoldFactors,baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping,metrics:t.HelveticaBoldMetrics},S["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:t.HelveticaItalicFactors,baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping,metrics:t.HelveticaItalicMetrics},S["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:t.HelveticaBoldItalicFactors,baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping,metrics:t.HelveticaBoldItalicMetrics}});function y(S){var O=(0,ye.normalizeFontName)(S),w=X();return w[O]}function k(S){var O=y(S);if(!O)return null;var w=O.baseWidths,p=O.baseMapping,x=O.factors,f;x?f=w.map(function(o,c){return o*x[c]}):f=w;var h=-2,F,s=[],g=ce(p.map(function(o,c){return[o,c]}).sort(function(o,c){var v=be(o,1),A=v[0],u=be(c,1),C=u[0];return A-C})),l;try{for(g.s();!(l=g.n()).done;){var a=be(l.value,2),i=a[0],m=a[1];i!==-1&&(i===h+1?(F.push(f[m]),h+=1):(h=i,F=[f[m]],s.push(i,F)))}}catch(o){g.e(o)}finally{g.f()}return s}function n(S){var O=k(S),w=new b.Dict(null);w.set("BaseFont",b.Name.get(S)),w.set("Type",b.Name.get("Font")),w.set("Subtype",b.Name.get("CIDFontType2")),w.set("Encoding",b.Name.get("Identity-H")),w.set("CIDToGIDMap",b.Name.get("Identity")),w.set("W",O),w.set("FirstChar",O[0]),w.set("LastChar",O[O.length-2]+O[O.length-1].length-1);var p=new b.Dict(null);w.set("FontDescriptor",p);var x=new b.Dict(null);return x.set("Ordering","Identity"),x.set("Registry","Adobe"),x.set("Supplement",0),w.set("CIDSystemInfo",x),w}},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.CalibriRegularMetrics=P.CalibriRegularFactors=P.CalibriItalicMetrics=P.CalibriItalicFactors=P.CalibriBoldMetrics=P.CalibriBoldItalicMetrics=P.CalibriBoldItalicFactors=P.CalibriBoldFactors=void 0;var D=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.CalibriBoldFactors=D;var T={lineHeight:1.2207,lineGap:.2207};P.CalibriBoldMetrics=T;var b=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.CalibriBoldItalicFactors=b;var t={lineHeight:1.2207,lineGap:.2207};P.CalibriBoldItalicMetrics=t;var e=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.CalibriItalicFactors=e;var ge={lineHeight:1.2207,lineGap:.2207};P.CalibriItalicMetrics=ge;var le=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1];P.CalibriRegularFactors=le;var V={lineHeight:1.2207,lineGap:.2207};P.CalibriRegularMetrics=V},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.HelveticaRegularMetrics=P.HelveticaRegularFactors=P.HelveticaItalicMetrics=P.HelveticaItalicFactors=P.HelveticaBoldMetrics=P.HelveticaBoldItalicMetrics=P.HelveticaBoldItalicFactors=P.HelveticaBoldFactors=void 0;var D=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];P.HelveticaBoldFactors=D;var T={lineHeight:1.2,lineGap:.2};P.HelveticaBoldMetrics=T;var b=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];P.HelveticaBoldItalicFactors=b;var t={lineHeight:1.35,lineGap:.2};P.HelveticaBoldItalicMetrics=t;var e=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];P.HelveticaItalicFactors=e;var ge={lineHeight:1.35,lineGap:.2};P.HelveticaItalicMetrics=ge;var le=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.HelveticaRegularFactors=le;var V={lineHeight:1.2,lineGap:.2};P.HelveticaRegularMetrics=V},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.LiberationSansRegularWidths=P.LiberationSansRegularMapping=P.LiberationSansItalicWidths=P.LiberationSansItalicMapping=P.LiberationSansBoldWidths=P.LiberationSansBoldMapping=P.LiberationSansBoldItalicWidths=P.LiberationSansBoldItalicMapping=void 0;var D=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333];P.LiberationSansBoldWidths=D;var T=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];P.LiberationSansBoldMapping=T;var b=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333];P.LiberationSansBoldItalicWidths=b;var t=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];P.LiberationSansBoldItalicMapping=t;var e=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285];P.LiberationSansItalicWidths=e;var ge=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];P.LiberationSansItalicMapping=ge;var le=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285];P.LiberationSansRegularWidths=le;var V=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];P.LiberationSansRegularMapping=V},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.MyriadProRegularMetrics=P.MyriadProRegularFactors=P.MyriadProItalicMetrics=P.MyriadProItalicFactors=P.MyriadProBoldMetrics=P.MyriadProBoldItalicMetrics=P.MyriadProBoldItalicFactors=P.MyriadProBoldFactors=void 0;var D=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.MyriadProBoldFactors=D;var T={lineHeight:1.2,lineGap:.2};P.MyriadProBoldMetrics=T;var b=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.MyriadProBoldItalicFactors=b;var t={lineHeight:1.2,lineGap:.2};P.MyriadProBoldItalicMetrics=t;var e=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.MyriadProItalicFactors=e;var ge={lineHeight:1.2,lineGap:.2};P.MyriadProItalicMetrics=ge;var le=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.MyriadProRegularFactors=le;var V={lineHeight:1.2,lineGap:.2};P.MyriadProRegularMetrics=V},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.SegoeuiRegularMetrics=P.SegoeuiRegularFactors=P.SegoeuiItalicMetrics=P.SegoeuiItalicFactors=P.SegoeuiBoldMetrics=P.SegoeuiBoldItalicMetrics=P.SegoeuiBoldItalicFactors=P.SegoeuiBoldFactors=void 0;var D=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.SegoeuiBoldFactors=D;var T={lineHeight:1.33008,lineGap:0};P.SegoeuiBoldMetrics=T;var b=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.SegoeuiBoldItalicFactors=b;var t={lineHeight:1.33008,lineGap:0};P.SegoeuiBoldItalicMetrics=t;var e=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];P.SegoeuiItalicFactors=e;var ge={lineHeight:1.33008,lineGap:0};P.SegoeuiItalicMetrics=ge;var le=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1];P.SegoeuiRegularFactors=le;var V={lineHeight:1.33008,lineGap:0};P.SegoeuiRegularMetrics=V},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.SEAC_ANALYSIS_ENABLED=P.MacStandardGlyphOrdering=P.FontFlags=void 0,P.getFontType=ye,P.normalizeFontName=ae,P.recoverGlyphName=be,P.type1FontGlyphMapping=xe;var T=D(4),b=D(149),t=D(150),e=D(151),ge=!0;P.SEAC_ANALYSIS_ENABLED=ge;var le={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};P.FontFlags=le;var V=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];P.MacStandardGlyphOrdering=V;function ye(d,ce){var q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;switch(d){case"Type1":return q?T.FontType.TYPE1STANDARD:ce==="Type1C"?T.FontType.TYPE1C:T.FontType.TYPE1;case"CIDFontType0":return ce==="CIDFontType0C"?T.FontType.CIDFONTTYPE0C:T.FontType.CIDFONTTYPE0;case"OpenType":return T.FontType.OPENTYPE;case"TrueType":return T.FontType.TRUETYPE;case"CIDFontType2":return T.FontType.CIDFONTTYPE2;case"MMType1":return T.FontType.MMTYPE1;case"Type0":return T.FontType.TYPE0;default:return T.FontType.UNKNOWN}}function be(d,ce){if(ce[d]!==void 0)return d;var q=(0,e.getUnicodeForGlyph)(d,ce);if(q!==-1){for(var re in ce)if(ce[re]===q)return re}return(0,T.info)("Unable to recover a standard glyph name for: "+d),d}function xe(d,ce,q){var re=Object.create(null),X,y,k,n=!!(d.flags&le.Symbolic);if(d.isInternalFont)for(k=ce,y=0;y<k.length;y++)X=q.indexOf(k[y]),X>=0?re[y]=X:re[y]=0;else if(d.baseEncodingName)for(k=(0,b.getEncoding)(d.baseEncodingName),y=0;y<k.length;y++)X=q.indexOf(k[y]),X>=0?re[y]=X:re[y]=0;else if(n)for(y in ce)re[y]=ce[y];else for(k=b.StandardEncoding,y=0;y<k.length;y++)X=q.indexOf(k[y]),X>=0?re[y]=X:re[y]=0;var S=d.differences,O;if(S)for(y in S){var w=S[y];if(X=q.indexOf(w),X===-1){O||(O=(0,t.getGlyphsUnicode)());var p=be(w,O);p!==w&&(X=q.indexOf(p))}X>=0?re[y]=X:re[y]=0}return re}function ae(d){return d.replace(/[,_]/g,"-").replace(/\s/g,"")}},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.ZapfDingbatsEncoding=P.WinAnsiEncoding=P.SymbolSetEncoding=P.StandardEncoding=P.MacRomanEncoding=P.ExpertEncoding=void 0,P.getEncoding=V;var D=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];P.ExpertEncoding=D;var T=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""],b=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"];P.MacRomanEncoding=b;var t=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""];P.StandardEncoding=t;var e=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"];P.WinAnsiEncoding=e;var ge=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""];P.SymbolSetEncoding=ge;var le=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];P.ZapfDingbatsEncoding=le;function V(ye){switch(ye){case"WinAnsiEncoding":return e;case"StandardEncoding":return t;case"MacRomanEncoding":return b;case"SymbolSetEncoding":return ge;case"ZapfDingbatsEncoding":return le;case"ExpertEncoding":return D;case"MacExpertEncoding":return T;default:return null}}},(Me,P,D)=>{"use strict";D.r(P),D.d(P,{getDingbatsGlyphsUnicode:()=>t,getGlyphsUnicode:()=>b});var T=D(139);const b=(0,T.getArrayLookupTableFactory)(function(){return["A",65,"AE",198,"AEacute",508,"AEmacron",482,"AEsmall",63462,"Aacute",193,"Aacutesmall",63457,"Abreve",258,"Abreveacute",7854,"Abrevecyrillic",1232,"Abrevedotbelow",7862,"Abrevegrave",7856,"Abrevehookabove",7858,"Abrevetilde",7860,"Acaron",461,"Acircle",9398,"Acircumflex",194,"Acircumflexacute",7844,"Acircumflexdotbelow",7852,"Acircumflexgrave",7846,"Acircumflexhookabove",7848,"Acircumflexsmall",63458,"Acircumflextilde",7850,"Acute",63177,"Acutesmall",63412,"Acyrillic",1040,"Adblgrave",512,"Adieresis",196,"Adieresiscyrillic",1234,"Adieresismacron",478,"Adieresissmall",63460,"Adotbelow",7840,"Adotmacron",480,"Agrave",192,"Agravesmall",63456,"Ahookabove",7842,"Aiecyrillic",1236,"Ainvertedbreve",514,"Alpha",913,"Alphatonos",902,"Amacron",256,"Amonospace",65313,"Aogonek",260,"Aring",197,"Aringacute",506,"Aringbelow",7680,"Aringsmall",63461,"Asmall",63329,"Atilde",195,"Atildesmall",63459,"Aybarmenian",1329,"B",66,"Bcircle",9399,"Bdotaccent",7682,"Bdotbelow",7684,"Becyrillic",1041,"Benarmenian",1330,"Beta",914,"Bhook",385,"Blinebelow",7686,"Bmonospace",65314,"Brevesmall",63220,"Bsmall",63330,"Btopbar",386,"C",67,"Caarmenian",1342,"Cacute",262,"Caron",63178,"Caronsmall",63221,"Ccaron",268,"Ccedilla",199,"Ccedillaacute",7688,"Ccedillasmall",63463,"Ccircle",9400,"Ccircumflex",264,"Cdot",266,"Cdotaccent",266,"Cedillasmall",63416,"Chaarmenian",1353,"Cheabkhasiancyrillic",1212,"Checyrillic",1063,"Chedescenderabkhasiancyrillic",1214,"Chedescendercyrillic",1206,"Chedieresiscyrillic",1268,"Cheharmenian",1347,"Chekhakassiancyrillic",1227,"Cheverticalstrokecyrillic",1208,"Chi",935,"Chook",391,"Circumflexsmall",63222,"Cmonospace",65315,"Coarmenian",1361,"Csmall",63331,"D",68,"DZ",497,"DZcaron",452,"Daarmenian",1332,"Dafrican",393,"Dcaron",270,"Dcedilla",7696,"Dcircle",9401,"Dcircumflexbelow",7698,"Dcroat",272,"Ddotaccent",7690,"Ddotbelow",7692,"Decyrillic",1044,"Deicoptic",1006,"Delta",8710,"Deltagreek",916,"Dhook",394,"Dieresis",63179,"DieresisAcute",63180,"DieresisGrave",63181,"Dieresissmall",63400,"Digammagreek",988,"Djecyrillic",1026,"Dlinebelow",7694,"Dmonospace",65316,"Dotaccentsmall",63223,"Dslash",272,"Dsmall",63332,"Dtopbar",395,"Dz",498,"Dzcaron",453,"Dzeabkhasiancyrillic",1248,"Dzecyrillic",1029,"Dzhecyrillic",1039,"E",69,"Eacute",201,"Eacutesmall",63465,"Ebreve",276,"Ecaron",282,"Ecedillabreve",7708,"Echarmenian",1333,"Ecircle",9402,"Ecircumflex",202,"Ecircumflexacute",7870,"Ecircumflexbelow",7704,"Ecircumflexdotbelow",7878,"Ecircumflexgrave",7872,"Ecircumflexhookabove",7874,"Ecircumflexsmall",63466,"Ecircumflextilde",7876,"Ecyrillic",1028,"Edblgrave",516,"Edieresis",203,"Edieresissmall",63467,"Edot",278,"Edotaccent",278,"Edotbelow",7864,"Efcyrillic",1060,"Egrave",200,"Egravesmall",63464,"Eharmenian",1335,"Ehookabove",7866,"Eightroman",8551,"Einvertedbreve",518,"Eiotifiedcyrillic",1124,"Elcyrillic",1051,"Elevenroman",8554,"Emacron",274,"Emacronacute",7702,"Emacrongrave",7700,"Emcyrillic",1052,"Emonospace",65317,"Encyrillic",1053,"Endescendercyrillic",1186,"Eng",330,"Enghecyrillic",1188,"Enhookcyrillic",1223,"Eogonek",280,"Eopen",400,"Epsilon",917,"Epsilontonos",904,"Ercyrillic",1056,"Ereversed",398,"Ereversedcyrillic",1069,"Escyrillic",1057,"Esdescendercyrillic",1194,"Esh",425,"Esmall",63333,"Eta",919,"Etarmenian",1336,"Etatonos",905,"Eth",208,"Ethsmall",63472,"Etilde",7868,"Etildebelow",7706,"Euro",8364,"Ezh",439,"Ezhcaron",494,"Ezhreversed",440,"F",70,"Fcircle",9403,"Fdotaccent",7710,"Feharmenian",1366,"Feicoptic",996,"Fhook",401,"Fitacyrillic",1138,"Fiveroman",8548,"Fmonospace",65318,"Fourroman",8547,"Fsmall",63334,"G",71,"GBsquare",13191,"Gacute",500,"Gamma",915,"Gammaafrican",404,"Gangiacoptic",1002,"Gbreve",286,"Gcaron",486,"Gcedilla",290,"Gcircle",9404,"Gcircumflex",284,"Gcommaaccent",290,"Gdot",288,"Gdotaccent",288,"Gecyrillic",1043,"Ghadarmenian",1346,"Ghemiddlehookcyrillic",1172,"Ghestrokecyrillic",1170,"Gheupturncyrillic",1168,"Ghook",403,"Gimarmenian",1331,"Gjecyrillic",1027,"Gmacron",7712,"Gmonospace",65319,"Grave",63182,"Gravesmall",63328,"Gsmall",63335,"Gsmallhook",667,"Gstroke",484,"H",72,"H18533",9679,"H18543",9642,"H18551",9643,"H22073",9633,"HPsquare",13259,"Haabkhasiancyrillic",1192,"Hadescendercyrillic",1202,"Hardsigncyrillic",1066,"Hbar",294,"Hbrevebelow",7722,"Hcedilla",7720,"Hcircle",9405,"Hcircumflex",292,"Hdieresis",7718,"Hdotaccent",7714,"Hdotbelow",7716,"Hmonospace",65320,"Hoarmenian",1344,"Horicoptic",1e3,"Hsmall",63336,"Hungarumlaut",63183,"Hungarumlautsmall",63224,"Hzsquare",13200,"I",73,"IAcyrillic",1071,"IJ",306,"IUcyrillic",1070,"Iacute",205,"Iacutesmall",63469,"Ibreve",300,"Icaron",463,"Icircle",9406,"Icircumflex",206,"Icircumflexsmall",63470,"Icyrillic",1030,"Idblgrave",520,"Idieresis",207,"Idieresisacute",7726,"Idieresiscyrillic",1252,"Idieresissmall",63471,"Idot",304,"Idotaccent",304,"Idotbelow",7882,"Iebrevecyrillic",1238,"Iecyrillic",1045,"Ifraktur",8465,"Igrave",204,"Igravesmall",63468,"Ihookabove",7880,"Iicyrillic",1048,"Iinvertedbreve",522,"Iishortcyrillic",1049,"Imacron",298,"Imacroncyrillic",1250,"Imonospace",65321,"Iniarmenian",1339,"Iocyrillic",1025,"Iogonek",302,"Iota",921,"Iotaafrican",406,"Iotadieresis",938,"Iotatonos",906,"Ismall",63337,"Istroke",407,"Itilde",296,"Itildebelow",7724,"Izhitsacyrillic",1140,"Izhitsadblgravecyrillic",1142,"J",74,"Jaarmenian",1345,"Jcircle",9407,"Jcircumflex",308,"Jecyrillic",1032,"Jheharmenian",1355,"Jmonospace",65322,"Jsmall",63338,"K",75,"KBsquare",13189,"KKsquare",13261,"Kabashkircyrillic",1184,"Kacute",7728,"Kacyrillic",1050,"Kadescendercyrillic",1178,"Kahookcyrillic",1219,"Kappa",922,"Kastrokecyrillic",1182,"Kaverticalstrokecyrillic",1180,"Kcaron",488,"Kcedilla",310,"Kcircle",9408,"Kcommaaccent",310,"Kdotbelow",7730,"Keharmenian",1364,"Kenarmenian",1343,"Khacyrillic",1061,"Kheicoptic",998,"Khook",408,"Kjecyrillic",1036,"Klinebelow",7732,"Kmonospace",65323,"Koppacyrillic",1152,"Koppagreek",990,"Ksicyrillic",1134,"Ksmall",63339,"L",76,"LJ",455,"LL",63167,"Lacute",313,"Lambda",923,"Lcaron",317,"Lcedilla",315,"Lcircle",9409,"Lcircumflexbelow",7740,"Lcommaaccent",315,"Ldot",319,"Ldotaccent",319,"Ldotbelow",7734,"Ldotbelowmacron",7736,"Liwnarmenian",1340,"Lj",456,"Ljecyrillic",1033,"Llinebelow",7738,"Lmonospace",65324,"Lslash",321,"Lslashsmall",63225,"Lsmall",63340,"M",77,"MBsquare",13190,"Macron",63184,"Macronsmall",63407,"Macute",7742,"Mcircle",9410,"Mdotaccent",7744,"Mdotbelow",7746,"Menarmenian",1348,"Mmonospace",65325,"Msmall",63341,"Mturned",412,"Mu",924,"N",78,"NJ",458,"Nacute",323,"Ncaron",327,"Ncedilla",325,"Ncircle",9411,"Ncircumflexbelow",7754,"Ncommaaccent",325,"Ndotaccent",7748,"Ndotbelow",7750,"Nhookleft",413,"Nineroman",8552,"Nj",459,"Njecyrillic",1034,"Nlinebelow",7752,"Nmonospace",65326,"Nowarmenian",1350,"Nsmall",63342,"Ntilde",209,"Ntildesmall",63473,"Nu",925,"O",79,"OE",338,"OEsmall",63226,"Oacute",211,"Oacutesmall",63475,"Obarredcyrillic",1256,"Obarreddieresiscyrillic",1258,"Obreve",334,"Ocaron",465,"Ocenteredtilde",415,"Ocircle",9412,"Ocircumflex",212,"Ocircumflexacute",7888,"Ocircumflexdotbelow",7896,"Ocircumflexgrave",7890,"Ocircumflexhookabove",7892,"Ocircumflexsmall",63476,"Ocircumflextilde",7894,"Ocyrillic",1054,"Odblacute",336,"Odblgrave",524,"Odieresis",214,"Odieresiscyrillic",1254,"Odieresissmall",63478,"Odotbelow",7884,"Ogoneksmall",63227,"Ograve",210,"Ogravesmall",63474,"Oharmenian",1365,"Ohm",8486,"Ohookabove",7886,"Ohorn",416,"Ohornacute",7898,"Ohorndotbelow",7906,"Ohorngrave",7900,"Ohornhookabove",7902,"Ohorntilde",7904,"Ohungarumlaut",336,"Oi",418,"Oinvertedbreve",526,"Omacron",332,"Omacronacute",7762,"Omacrongrave",7760,"Omega",8486,"Omegacyrillic",1120,"Omegagreek",937,"Omegaroundcyrillic",1146,"Omegatitlocyrillic",1148,"Omegatonos",911,"Omicron",927,"Omicrontonos",908,"Omonospace",65327,"Oneroman",8544,"Oogonek",490,"Oogonekmacron",492,"Oopen",390,"Oslash",216,"Oslashacute",510,"Oslashsmall",63480,"Osmall",63343,"Ostrokeacute",510,"Otcyrillic",1150,"Otilde",213,"Otildeacute",7756,"Otildedieresis",7758,"Otildesmall",63477,"P",80,"Pacute",7764,"Pcircle",9413,"Pdotaccent",7766,"Pecyrillic",1055,"Peharmenian",1354,"Pemiddlehookcyrillic",1190,"Phi",934,"Phook",420,"Pi",928,"Piwrarmenian",1363,"Pmonospace",65328,"Psi",936,"Psicyrillic",1136,"Psmall",63344,"Q",81,"Qcircle",9414,"Qmonospace",65329,"Qsmall",63345,"R",82,"Raarmenian",1356,"Racute",340,"Rcaron",344,"Rcedilla",342,"Rcircle",9415,"Rcommaaccent",342,"Rdblgrave",528,"Rdotaccent",7768,"Rdotbelow",7770,"Rdotbelowmacron",7772,"Reharmenian",1360,"Rfraktur",8476,"Rho",929,"Ringsmall",63228,"Rinvertedbreve",530,"Rlinebelow",7774,"Rmonospace",65330,"Rsmall",63346,"Rsmallinverted",641,"Rsmallinvertedsuperior",694,"S",83,"SF010000",9484,"SF020000",9492,"SF030000",9488,"SF040000",9496,"SF050000",9532,"SF060000",9516,"SF070000",9524,"SF080000",9500,"SF090000",9508,"SF100000",9472,"SF110000",9474,"SF190000",9569,"SF200000",9570,"SF210000",9558,"SF220000",9557,"SF230000",9571,"SF240000",9553,"SF250000",9559,"SF260000",9565,"SF270000",9564,"SF280000",9563,"SF360000",9566,"SF370000",9567,"SF380000",9562,"SF390000",9556,"SF400000",9577,"SF410000",9574,"SF420000",9568,"SF430000",9552,"SF440000",9580,"SF450000",9575,"SF460000",9576,"SF470000",9572,"SF480000",9573,"SF490000",9561,"SF500000",9560,"SF510000",9554,"SF520000",9555,"SF530000",9579,"SF540000",9578,"Sacute",346,"Sacutedotaccent",7780,"Sampigreek",992,"Scaron",352,"Scarondotaccent",7782,"Scaronsmall",63229,"Scedilla",350,"Schwa",399,"Schwacyrillic",1240,"Schwadieresiscyrillic",1242,"Scircle",9416,"Scircumflex",348,"Scommaaccent",536,"Sdotaccent",7776,"Sdotbelow",7778,"Sdotbelowdotaccent",7784,"Seharmenian",1357,"Sevenroman",8550,"Shaarmenian",1351,"Shacyrillic",1064,"Shchacyrillic",1065,"Sheicoptic",994,"Shhacyrillic",1210,"Shimacoptic",1004,"Sigma",931,"Sixroman",8549,"Smonospace",65331,"Softsigncyrillic",1068,"Ssmall",63347,"Stigmagreek",986,"T",84,"Tau",932,"Tbar",358,"Tcaron",356,"Tcedilla",354,"Tcircle",9417,"Tcircumflexbelow",7792,"Tcommaaccent",354,"Tdotaccent",7786,"Tdotbelow",7788,"Tecyrillic",1058,"Tedescendercyrillic",1196,"Tenroman",8553,"Tetsecyrillic",1204,"Theta",920,"Thook",428,"Thorn",222,"Thornsmall",63486,"Threeroman",8546,"Tildesmall",63230,"Tiwnarmenian",1359,"Tlinebelow",7790,"Tmonospace",65332,"Toarmenian",1337,"Tonefive",444,"Tonesix",388,"Tonetwo",423,"Tretroflexhook",430,"Tsecyrillic",1062,"Tshecyrillic",1035,"Tsmall",63348,"Twelveroman",8555,"Tworoman",8545,"U",85,"Uacute",218,"Uacutesmall",63482,"Ubreve",364,"Ucaron",467,"Ucircle",9418,"Ucircumflex",219,"Ucircumflexbelow",7798,"Ucircumflexsmall",63483,"Ucyrillic",1059,"Udblacute",368,"Udblgrave",532,"Udieresis",220,"Udieresisacute",471,"Udieresisbelow",7794,"Udieresiscaron",473,"Udieresiscyrillic",1264,"Udieresisgrave",475,"Udieresismacron",469,"Udieresissmall",63484,"Udotbelow",7908,"Ugrave",217,"Ugravesmall",63481,"Uhookabove",7910,"Uhorn",431,"Uhornacute",7912,"Uhorndotbelow",7920,"Uhorngrave",7914,"Uhornhookabove",7916,"Uhorntilde",7918,"Uhungarumlaut",368,"Uhungarumlautcyrillic",1266,"Uinvertedbreve",534,"Ukcyrillic",1144,"Umacron",362,"Umacroncyrillic",1262,"Umacrondieresis",7802,"Umonospace",65333,"Uogonek",370,"Upsilon",933,"Upsilon1",978,"Upsilonacutehooksymbolgreek",979,"Upsilonafrican",433,"Upsilondieresis",939,"Upsilondieresishooksymbolgreek",980,"Upsilonhooksymbol",978,"Upsilontonos",910,"Uring",366,"Ushortcyrillic",1038,"Usmall",63349,"Ustraightcyrillic",1198,"Ustraightstrokecyrillic",1200,"Utilde",360,"Utildeacute",7800,"Utildebelow",7796,"V",86,"Vcircle",9419,"Vdotbelow",7806,"Vecyrillic",1042,"Vewarmenian",1358,"Vhook",434,"Vmonospace",65334,"Voarmenian",1352,"Vsmall",63350,"Vtilde",7804,"W",87,"Wacute",7810,"Wcircle",9420,"Wcircumflex",372,"Wdieresis",7812,"Wdotaccent",7814,"Wdotbelow",7816,"Wgrave",7808,"Wmonospace",65335,"Wsmall",63351,"X",88,"Xcircle",9421,"Xdieresis",7820,"Xdotaccent",7818,"Xeharmenian",1341,"Xi",926,"Xmonospace",65336,"Xsmall",63352,"Y",89,"Yacute",221,"Yacutesmall",63485,"Yatcyrillic",1122,"Ycircle",9422,"Ycircumflex",374,"Ydieresis",376,"Ydieresissmall",63487,"Ydotaccent",7822,"Ydotbelow",7924,"Yericyrillic",1067,"Yerudieresiscyrillic",1272,"Ygrave",7922,"Yhook",435,"Yhookabove",7926,"Yiarmenian",1349,"Yicyrillic",1031,"Yiwnarmenian",1362,"Ymonospace",65337,"Ysmall",63353,"Ytilde",7928,"Yusbigcyrillic",1130,"Yusbigiotifiedcyrillic",1132,"Yuslittlecyrillic",1126,"Yuslittleiotifiedcyrillic",1128,"Z",90,"Zaarmenian",1334,"Zacute",377,"Zcaron",381,"Zcaronsmall",63231,"Zcircle",9423,"Zcircumflex",7824,"Zdot",379,"Zdotaccent",379,"Zdotbelow",7826,"Zecyrillic",1047,"Zedescendercyrillic",1176,"Zedieresiscyrillic",1246,"Zeta",918,"Zhearmenian",1338,"Zhebrevecyrillic",1217,"Zhecyrillic",1046,"Zhedescendercyrillic",1174,"Zhedieresiscyrillic",1244,"Zlinebelow",7828,"Zmonospace",65338,"Zsmall",63354,"Zstroke",437,"a",97,"aabengali",2438,"aacute",225,"aadeva",2310,"aagujarati",2694,"aagurmukhi",2566,"aamatragurmukhi",2622,"aarusquare",13059,"aavowelsignbengali",2494,"aavowelsigndeva",2366,"aavowelsigngujarati",2750,"abbreviationmarkarmenian",1375,"abbreviationsigndeva",2416,"abengali",2437,"abopomofo",12570,"abreve",259,"abreveacute",7855,"abrevecyrillic",1233,"abrevedotbelow",7863,"abrevegrave",7857,"abrevehookabove",7859,"abrevetilde",7861,"acaron",462,"acircle",9424,"acircumflex",226,"acircumflexacute",7845,"acircumflexdotbelow",7853,"acircumflexgrave",7847,"acircumflexhookabove",7849,"acircumflextilde",7851,"acute",180,"acutebelowcmb",791,"acutecmb",769,"acutecomb",769,"acutedeva",2388,"acutelowmod",719,"acutetonecmb",833,"acyrillic",1072,"adblgrave",513,"addakgurmukhi",2673,"adeva",2309,"adieresis",228,"adieresiscyrillic",1235,"adieresismacron",479,"adotbelow",7841,"adotmacron",481,"ae",230,"aeacute",509,"aekorean",12624,"aemacron",483,"afii00208",8213,"afii08941",8356,"afii10017",1040,"afii10018",1041,"afii10019",1042,"afii10020",1043,"afii10021",1044,"afii10022",1045,"afii10023",1025,"afii10024",1046,"afii10025",1047,"afii10026",1048,"afii10027",1049,"afii10028",1050,"afii10029",1051,"afii10030",1052,"afii10031",1053,"afii10032",1054,"afii10033",1055,"afii10034",1056,"afii10035",1057,"afii10036",1058,"afii10037",1059,"afii10038",1060,"afii10039",1061,"afii10040",1062,"afii10041",1063,"afii10042",1064,"afii10043",1065,"afii10044",1066,"afii10045",1067,"afii10046",1068,"afii10047",1069,"afii10048",1070,"afii10049",1071,"afii10050",1168,"afii10051",1026,"afii10052",1027,"afii10053",1028,"afii10054",1029,"afii10055",1030,"afii10056",1031,"afii10057",1032,"afii10058",1033,"afii10059",1034,"afii10060",1035,"afii10061",1036,"afii10062",1038,"afii10063",63172,"afii10064",63173,"afii10065",1072,"afii10066",1073,"afii10067",1074,"afii10068",1075,"afii10069",1076,"afii10070",1077,"afii10071",1105,"afii10072",1078,"afii10073",1079,"afii10074",1080,"afii10075",1081,"afii10076",1082,"afii10077",1083,"afii10078",1084,"afii10079",1085,"afii10080",1086,"afii10081",1087,"afii10082",1088,"afii10083",1089,"afii10084",1090,"afii10085",1091,"afii10086",1092,"afii10087",1093,"afii10088",1094,"afii10089",1095,"afii10090",1096,"afii10091",1097,"afii10092",1098,"afii10093",1099,"afii10094",1100,"afii10095",1101,"afii10096",1102,"afii10097",1103,"afii10098",1169,"afii10099",1106,"afii10100",1107,"afii10101",1108,"afii10102",1109,"afii10103",1110,"afii10104",1111,"afii10105",1112,"afii10106",1113,"afii10107",1114,"afii10108",1115,"afii10109",1116,"afii10110",1118,"afii10145",1039,"afii10146",1122,"afii10147",1138,"afii10148",1140,"afii10192",63174,"afii10193",1119,"afii10194",1123,"afii10195",1139,"afii10196",1141,"afii10831",63175,"afii10832",63176,"afii10846",1241,"afii299",8206,"afii300",8207,"afii301",8205,"afii57381",1642,"afii57388",1548,"afii57392",1632,"afii57393",1633,"afii57394",1634,"afii57395",1635,"afii57396",1636,"afii57397",1637,"afii57398",1638,"afii57399",1639,"afii57400",1640,"afii57401",1641,"afii57403",1563,"afii57407",1567,"afii57409",1569,"afii57410",1570,"afii57411",1571,"afii57412",1572,"afii57413",1573,"afii57414",1574,"afii57415",1575,"afii57416",1576,"afii57417",1577,"afii57418",1578,"afii57419",1579,"afii57420",1580,"afii57421",1581,"afii57422",1582,"afii57423",1583,"afii57424",1584,"afii57425",1585,"afii57426",1586,"afii57427",1587,"afii57428",1588,"afii57429",1589,"afii57430",1590,"afii57431",1591,"afii57432",1592,"afii57433",1593,"afii57434",1594,"afii57440",1600,"afii57441",1601,"afii57442",1602,"afii57443",1603,"afii57444",1604,"afii57445",1605,"afii57446",1606,"afii57448",1608,"afii57449",1609,"afii57450",1610,"afii57451",1611,"afii57452",1612,"afii57453",1613,"afii57454",1614,"afii57455",1615,"afii57456",1616,"afii57457",1617,"afii57458",1618,"afii57470",1607,"afii57505",1700,"afii57506",1662,"afii57507",1670,"afii57508",1688,"afii57509",1711,"afii57511",1657,"afii57512",1672,"afii57513",1681,"afii57514",1722,"afii57519",1746,"afii57534",1749,"afii57636",8362,"afii57645",1470,"afii57658",1475,"afii57664",1488,"afii57665",1489,"afii57666",1490,"afii57667",1491,"afii57668",1492,"afii57669",1493,"afii57670",1494,"afii57671",1495,"afii57672",1496,"afii57673",1497,"afii57674",1498,"afii57675",1499,"afii57676",1500,"afii57677",1501,"afii57678",1502,"afii57679",1503,"afii57680",1504,"afii57681",1505,"afii57682",1506,"afii57683",1507,"afii57684",1508,"afii57685",1509,"afii57686",1510,"afii57687",1511,"afii57688",1512,"afii57689",1513,"afii57690",1514,"afii57694",64298,"afii57695",64299,"afii57700",64331,"afii57705",64287,"afii57716",1520,"afii57717",1521,"afii57718",1522,"afii57723",64309,"afii57793",1460,"afii57794",1461,"afii57795",1462,"afii57796",1467,"afii57797",1464,"afii57798",1463,"afii57799",1456,"afii57800",1458,"afii57801",1457,"afii57802",1459,"afii57803",1474,"afii57804",1473,"afii57806",1465,"afii57807",1468,"afii57839",1469,"afii57841",1471,"afii57842",1472,"afii57929",700,"afii61248",8453,"afii61289",8467,"afii61352",8470,"afii61573",8236,"afii61574",8237,"afii61575",8238,"afii61664",8204,"afii63167",1645,"afii64937",701,"agrave",224,"agujarati",2693,"agurmukhi",2565,"ahiragana",12354,"ahookabove",7843,"aibengali",2448,"aibopomofo",12574,"aideva",2320,"aiecyrillic",1237,"aigujarati",2704,"aigurmukhi",2576,"aimatragurmukhi",2632,"ainarabic",1593,"ainfinalarabic",65226,"aininitialarabic",65227,"ainmedialarabic",65228,"ainvertedbreve",515,"aivowelsignbengali",2504,"aivowelsigndeva",2376,"aivowelsigngujarati",2760,"akatakana",12450,"akatakanahalfwidth",65393,"akorean",12623,"alef",1488,"alefarabic",1575,"alefdageshhebrew",64304,"aleffinalarabic",65166,"alefhamzaabovearabic",1571,"alefhamzaabovefinalarabic",65156,"alefhamzabelowarabic",1573,"alefhamzabelowfinalarabic",65160,"alefhebrew",1488,"aleflamedhebrew",64335,"alefmaddaabovearabic",1570,"alefmaddaabovefinalarabic",65154,"alefmaksuraarabic",1609,"alefmaksurafinalarabic",65264,"alefmaksurainitialarabic",65267,"alefmaksuramedialarabic",65268,"alefpatahhebrew",64302,"alefqamatshebrew",64303,"aleph",8501,"allequal",8780,"alpha",945,"alphatonos",940,"amacron",257,"amonospace",65345,"ampersand",38,"ampersandmonospace",65286,"ampersandsmall",63270,"amsquare",13250,"anbopomofo",12578,"angbopomofo",12580,"angbracketleft",12296,"angbracketright",12297,"angkhankhuthai",3674,"angle",8736,"anglebracketleft",12296,"anglebracketleftvertical",65087,"anglebracketright",12297,"anglebracketrightvertical",65088,"angleleft",9001,"angleright",9002,"angstrom",8491,"anoteleia",903,"anudattadeva",2386,"anusvarabengali",2434,"anusvaradeva",2306,"anusvaragujarati",2690,"aogonek",261,"apaatosquare",13056,"aparen",9372,"apostrophearmenian",1370,"apostrophemod",700,"apple",63743,"approaches",8784,"approxequal",8776,"approxequalorimage",8786,"approximatelyequal",8773,"araeaekorean",12686,"araeakorean",12685,"arc",8978,"arighthalfring",7834,"aring",229,"aringacute",507,"aringbelow",7681,"arrowboth",8596,"arrowdashdown",8675,"arrowdashleft",8672,"arrowdashright",8674,"arrowdashup",8673,"arrowdblboth",8660,"arrowdbldown",8659,"arrowdblleft",8656,"arrowdblright",8658,"arrowdblup",8657,"arrowdown",8595,"arrowdownleft",8601,"arrowdownright",8600,"arrowdownwhite",8681,"arrowheaddownmod",709,"arrowheadleftmod",706,"arrowheadrightmod",707,"arrowheadupmod",708,"arrowhorizex",63719,"arrowleft",8592,"arrowleftdbl",8656,"arrowleftdblstroke",8653,"arrowleftoverright",8646,"arrowleftwhite",8678,"arrowright",8594,"arrowrightdblstroke",8655,"arrowrightheavy",10142,"arrowrightoverleft",8644,"arrowrightwhite",8680,"arrowtableft",8676,"arrowtabright",8677,"arrowup",8593,"arrowupdn",8597,"arrowupdnbse",8616,"arrowupdownbase",8616,"arrowupleft",8598,"arrowupleftofdown",8645,"arrowupright",8599,"arrowupwhite",8679,"arrowvertex",63718,"asciicircum",94,"asciicircummonospace",65342,"asciitilde",126,"asciitildemonospace",65374,"ascript",593,"ascriptturned",594,"asmallhiragana",12353,"asmallkatakana",12449,"asmallkatakanahalfwidth",65383,"asterisk",42,"asteriskaltonearabic",1645,"asteriskarabic",1645,"asteriskmath",8727,"asteriskmonospace",65290,"asterisksmall",65121,"asterism",8258,"asuperior",63209,"asymptoticallyequal",8771,"at",64,"atilde",227,"atmonospace",65312,"atsmall",65131,"aturned",592,"aubengali",2452,"aubopomofo",12576,"audeva",2324,"augujarati",2708,"augurmukhi",2580,"aulengthmarkbengali",2519,"aumatragurmukhi",2636,"auvowelsignbengali",2508,"auvowelsigndeva",2380,"auvowelsigngujarati",2764,"avagrahadeva",2365,"aybarmenian",1377,"ayin",1506,"ayinaltonehebrew",64288,"ayinhebrew",1506,"b",98,"babengali",2476,"backslash",92,"backslashmonospace",65340,"badeva",2348,"bagujarati",2732,"bagurmukhi",2604,"bahiragana",12400,"bahtthai",3647,"bakatakana",12496,"bar",124,"barmonospace",65372,"bbopomofo",12549,"bcircle",9425,"bdotaccent",7683,"bdotbelow",7685,"beamedsixteenthnotes",9836,"because",8757,"becyrillic",1073,"beharabic",1576,"behfinalarabic",65168,"behinitialarabic",65169,"behiragana",12409,"behmedialarabic",65170,"behmeeminitialarabic",64671,"behmeemisolatedarabic",64520,"behnoonfinalarabic",64621,"bekatakana",12505,"benarmenian",1378,"bet",1489,"beta",946,"betasymbolgreek",976,"betdagesh",64305,"betdageshhebrew",64305,"bethebrew",1489,"betrafehebrew",64332,"bhabengali",2477,"bhadeva",2349,"bhagujarati",2733,"bhagurmukhi",2605,"bhook",595,"bihiragana",12403,"bikatakana",12499,"bilabialclick",664,"bindigurmukhi",2562,"birusquare",13105,"blackcircle",9679,"blackdiamond",9670,"blackdownpointingtriangle",9660,"blackleftpointingpointer",9668,"blackleftpointingtriangle",9664,"blacklenticularbracketleft",12304,"blacklenticularbracketleftvertical",65083,"blacklenticularbracketright",12305,"blacklenticularbracketrightvertical",65084,"blacklowerlefttriangle",9699,"blacklowerrighttriangle",9698,"blackrectangle",9644,"blackrightpointingpointer",9658,"blackrightpointingtriangle",9654,"blacksmallsquare",9642,"blacksmilingface",9787,"blacksquare",9632,"blackstar",9733,"blackupperlefttriangle",9700,"blackupperrighttriangle",9701,"blackuppointingsmalltriangle",9652,"blackuppointingtriangle",9650,"blank",9251,"blinebelow",7687,"block",9608,"bmonospace",65346,"bobaimaithai",3610,"bohiragana",12412,"bokatakana",12508,"bparen",9373,"bqsquare",13251,"braceex",63732,"braceleft",123,"braceleftbt",63731,"braceleftmid",63730,"braceleftmonospace",65371,"braceleftsmall",65115,"bracelefttp",63729,"braceleftvertical",65079,"braceright",125,"bracerightbt",63742,"bracerightmid",63741,"bracerightmonospace",65373,"bracerightsmall",65116,"bracerighttp",63740,"bracerightvertical",65080,"bracketleft",91,"bracketleftbt",63728,"bracketleftex",63727,"bracketleftmonospace",65339,"bracketlefttp",63726,"bracketright",93,"bracketrightbt",63739,"bracketrightex",63738,"bracketrightmonospace",65341,"bracketrighttp",63737,"breve",728,"brevebelowcmb",814,"brevecmb",774,"breveinvertedbelowcmb",815,"breveinvertedcmb",785,"breveinverteddoublecmb",865,"bridgebelowcmb",810,"bridgeinvertedbelowcmb",826,"brokenbar",166,"bstroke",384,"bsuperior",63210,"btopbar",387,"buhiragana",12406,"bukatakana",12502,"bullet",8226,"bulletinverse",9688,"bulletoperator",8729,"bullseye",9678,"c",99,"caarmenian",1390,"cabengali",2458,"cacute",263,"cadeva",2330,"cagujarati",2714,"cagurmukhi",2586,"calsquare",13192,"candrabindubengali",2433,"candrabinducmb",784,"candrabindudeva",2305,"candrabindugujarati",2689,"capslock",8682,"careof",8453,"caron",711,"caronbelowcmb",812,"caroncmb",780,"carriagereturn",8629,"cbopomofo",12568,"ccaron",269,"ccedilla",231,"ccedillaacute",7689,"ccircle",9426,"ccircumflex",265,"ccurl",597,"cdot",267,"cdotaccent",267,"cdsquare",13253,"cedilla",184,"cedillacmb",807,"cent",162,"centigrade",8451,"centinferior",63199,"centmonospace",65504,"centoldstyle",63394,"centsuperior",63200,"chaarmenian",1401,"chabengali",2459,"chadeva",2331,"chagujarati",2715,"chagurmukhi",2587,"chbopomofo",12564,"cheabkhasiancyrillic",1213,"checkmark",10003,"checyrillic",1095,"chedescenderabkhasiancyrillic",1215,"chedescendercyrillic",1207,"chedieresiscyrillic",1269,"cheharmenian",1395,"chekhakassiancyrillic",1228,"cheverticalstrokecyrillic",1209,"chi",967,"chieuchacirclekorean",12919,"chieuchaparenkorean",12823,"chieuchcirclekorean",12905,"chieuchkorean",12618,"chieuchparenkorean",12809,"chochangthai",3594,"chochanthai",3592,"chochingthai",3593,"chochoethai",3596,"chook",392,"cieucacirclekorean",12918,"cieucaparenkorean",12822,"cieuccirclekorean",12904,"cieuckorean",12616,"cieucparenkorean",12808,"cieucuparenkorean",12828,"circle",9675,"circlecopyrt",169,"circlemultiply",8855,"circleot",8857,"circleplus",8853,"circlepostalmark",12342,"circlewithlefthalfblack",9680,"circlewithrighthalfblack",9681,"circumflex",710,"circumflexbelowcmb",813,"circumflexcmb",770,"clear",8999,"clickalveolar",450,"clickdental",448,"clicklateral",449,"clickretroflex",451,"club",9827,"clubsuitblack",9827,"clubsuitwhite",9831,"cmcubedsquare",13220,"cmonospace",65347,"cmsquaredsquare",13216,"coarmenian",1409,"colon",58,"colonmonetary",8353,"colonmonospace",65306,"colonsign",8353,"colonsmall",65109,"colontriangularhalfmod",721,"colontriangularmod",720,"comma",44,"commaabovecmb",787,"commaaboverightcmb",789,"commaaccent",63171,"commaarabic",1548,"commaarmenian",1373,"commainferior",63201,"commamonospace",65292,"commareversedabovecmb",788,"commareversedmod",701,"commasmall",65104,"commasuperior",63202,"commaturnedabovecmb",786,"commaturnedmod",699,"compass",9788,"congruent",8773,"contourintegral",8750,"control",8963,"controlACK",6,"controlBEL",7,"controlBS",8,"controlCAN",24,"controlCR",13,"controlDC1",17,"controlDC2",18,"controlDC3",19,"controlDC4",20,"controlDEL",127,"controlDLE",16,"controlEM",25,"controlENQ",5,"controlEOT",4,"controlESC",27,"controlETB",23,"controlETX",3,"controlFF",12,"controlFS",28,"controlGS",29,"controlHT",9,"controlLF",10,"controlNAK",21,"controlNULL",0,"controlRS",30,"controlSI",15,"controlSO",14,"controlSOT",2,"controlSTX",1,"controlSUB",26,"controlSYN",22,"controlUS",31,"controlVT",11,"copyright",169,"copyrightsans",63721,"copyrightserif",63193,"cornerbracketleft",12300,"cornerbracketlefthalfwidth",65378,"cornerbracketleftvertical",65089,"cornerbracketright",12301,"cornerbracketrighthalfwidth",65379,"cornerbracketrightvertical",65090,"corporationsquare",13183,"cosquare",13255,"coverkgsquare",13254,"cparen",9374,"cruzeiro",8354,"cstretched",663,"curlyand",8911,"curlyor",8910,"currency",164,"cyrBreve",63185,"cyrFlex",63186,"cyrbreve",63188,"cyrflex",63189,"d",100,"daarmenian",1380,"dabengali",2470,"dadarabic",1590,"dadeva",2342,"dadfinalarabic",65214,"dadinitialarabic",65215,"dadmedialarabic",65216,"dagesh",1468,"dageshhebrew",1468,"dagger",8224,"daggerdbl",8225,"dagujarati",2726,"dagurmukhi",2598,"dahiragana",12384,"dakatakana",12480,"dalarabic",1583,"dalet",1491,"daletdagesh",64307,"daletdageshhebrew",64307,"dalethebrew",1491,"dalfinalarabic",65194,"dammaarabic",1615,"dammalowarabic",1615,"dammatanaltonearabic",1612,"dammatanarabic",1612,"danda",2404,"dargahebrew",1447,"dargalefthebrew",1447,"dasiapneumatacyrilliccmb",1157,"dblGrave",63187,"dblanglebracketleft",12298,"dblanglebracketleftvertical",65085,"dblanglebracketright",12299,"dblanglebracketrightvertical",65086,"dblarchinvertedbelowcmb",811,"dblarrowleft",8660,"dblarrowright",8658,"dbldanda",2405,"dblgrave",63190,"dblgravecmb",783,"dblintegral",8748,"dbllowline",8215,"dbllowlinecmb",819,"dbloverlinecmb",831,"dblprimemod",698,"dblverticalbar",8214,"dblverticallineabovecmb",782,"dbopomofo",12553,"dbsquare",13256,"dcaron",271,"dcedilla",7697,"dcircle",9427,"dcircumflexbelow",7699,"dcroat",273,"ddabengali",2465,"ddadeva",2337,"ddagujarati",2721,"ddagurmukhi",2593,"ddalarabic",1672,"ddalfinalarabic",64393,"dddhadeva",2396,"ddhabengali",2466,"ddhadeva",2338,"ddhagujarati",2722,"ddhagurmukhi",2594,"ddotaccent",7691,"ddotbelow",7693,"decimalseparatorarabic",1643,"decimalseparatorpersian",1643,"decyrillic",1076,"degree",176,"dehihebrew",1453,"dehiragana",12391,"deicoptic",1007,"dekatakana",12487,"deleteleft",9003,"deleteright",8998,"delta",948,"deltaturned",397,"denominatorminusonenumeratorbengali",2552,"dezh",676,"dhabengali",2471,"dhadeva",2343,"dhagujarati",2727,"dhagurmukhi",2599,"dhook",599,"dialytikatonos",901,"dialytikatonoscmb",836,"diamond",9830,"diamondsuitwhite",9826,"dieresis",168,"dieresisacute",63191,"dieresisbelowcmb",804,"dieresiscmb",776,"dieresisgrave",63192,"dieresistonos",901,"dihiragana",12386,"dikatakana",12482,"dittomark",12291,"divide",247,"divides",8739,"divisionslash",8725,"djecyrillic",1106,"dkshade",9619,"dlinebelow",7695,"dlsquare",13207,"dmacron",273,"dmonospace",65348,"dnblock",9604,"dochadathai",3598,"dodekthai",3604,"dohiragana",12393,"dokatakana",12489,"dollar",36,"dollarinferior",63203,"dollarmonospace",65284,"dollaroldstyle",63268,"dollarsmall",65129,"dollarsuperior",63204,"dong",8363,"dorusquare",13094,"dotaccent",729,"dotaccentcmb",775,"dotbelowcmb",803,"dotbelowcomb",803,"dotkatakana",12539,"dotlessi",305,"dotlessj",63166,"dotlessjstrokehook",644,"dotmath",8901,"dottedcircle",9676,"doubleyodpatah",64287,"doubleyodpatahhebrew",64287,"downtackbelowcmb",798,"downtackmod",725,"dparen",9375,"dsuperior",63211,"dtail",598,"dtopbar",396,"duhiragana",12389,"dukatakana",12485,"dz",499,"dzaltone",675,"dzcaron",454,"dzcurl",677,"dzeabkhasiancyrillic",1249,"dzecyrillic",1109,"dzhecyrillic",1119,"e",101,"eacute",233,"earth",9793,"ebengali",2447,"ebopomofo",12572,"ebreve",277,"ecandradeva",2317,"ecandragujarati",2701,"ecandravowelsigndeva",2373,"ecandravowelsigngujarati",2757,"ecaron",283,"ecedillabreve",7709,"echarmenian",1381,"echyiwnarmenian",1415,"ecircle",9428,"ecircumflex",234,"ecircumflexacute",7871,"ecircumflexbelow",7705,"ecircumflexdotbelow",7879,"ecircumflexgrave",7873,"ecircumflexhookabove",7875,"ecircumflextilde",7877,"ecyrillic",1108,"edblgrave",517,"edeva",2319,"edieresis",235,"edot",279,"edotaccent",279,"edotbelow",7865,"eegurmukhi",2575,"eematragurmukhi",2631,"efcyrillic",1092,"egrave",232,"egujarati",2703,"eharmenian",1383,"ehbopomofo",12573,"ehiragana",12360,"ehookabove",7867,"eibopomofo",12575,"eight",56,"eightarabic",1640,"eightbengali",2542,"eightcircle",9319,"eightcircleinversesansserif",10129,"eightdeva",2414,"eighteencircle",9329,"eighteenparen",9349,"eighteenperiod",9369,"eightgujarati",2798,"eightgurmukhi",2670,"eighthackarabic",1640,"eighthangzhou",12328,"eighthnotebeamed",9835,"eightideographicparen",12839,"eightinferior",8328,"eightmonospace",65304,"eightoldstyle",63288,"eightparen",9339,"eightperiod",9359,"eightpersian",1784,"eightroman",8567,"eightsuperior",8312,"eightthai",3672,"einvertedbreve",519,"eiotifiedcyrillic",1125,"ekatakana",12456,"ekatakanahalfwidth",65396,"ekonkargurmukhi",2676,"ekorean",12628,"elcyrillic",1083,"element",8712,"elevencircle",9322,"elevenparen",9342,"elevenperiod",9362,"elevenroman",8570,"ellipsis",8230,"ellipsisvertical",8942,"emacron",275,"emacronacute",7703,"emacrongrave",7701,"emcyrillic",1084,"emdash",8212,"emdashvertical",65073,"emonospace",65349,"emphasismarkarmenian",1371,"emptyset",8709,"enbopomofo",12579,"encyrillic",1085,"endash",8211,"endashvertical",65074,"endescendercyrillic",1187,"eng",331,"engbopomofo",12581,"enghecyrillic",1189,"enhookcyrillic",1224,"enspace",8194,"eogonek",281,"eokorean",12627,"eopen",603,"eopenclosed",666,"eopenreversed",604,"eopenreversedclosed",606,"eopenreversedhook",605,"eparen",9376,"epsilon",949,"epsilontonos",941,"equal",61,"equalmonospace",65309,"equalsmall",65126,"equalsuperior",8316,"equivalence",8801,"erbopomofo",12582,"ercyrillic",1088,"ereversed",600,"ereversedcyrillic",1101,"escyrillic",1089,"esdescendercyrillic",1195,"esh",643,"eshcurl",646,"eshortdeva",2318,"eshortvowelsigndeva",2374,"eshreversedloop",426,"eshsquatreversed",645,"esmallhiragana",12359,"esmallkatakana",12455,"esmallkatakanahalfwidth",65386,"estimated",8494,"esuperior",63212,"eta",951,"etarmenian",1384,"etatonos",942,"eth",240,"etilde",7869,"etildebelow",7707,"etnahtafoukhhebrew",1425,"etnahtafoukhlefthebrew",1425,"etnahtahebrew",1425,"etnahtalefthebrew",1425,"eturned",477,"eukorean",12641,"euro",8364,"evowelsignbengali",2503,"evowelsigndeva",2375,"evowelsigngujarati",2759,"exclam",33,"exclamarmenian",1372,"exclamdbl",8252,"exclamdown",161,"exclamdownsmall",63393,"exclammonospace",65281,"exclamsmall",63265,"existential",8707,"ezh",658,"ezhcaron",495,"ezhcurl",659,"ezhreversed",441,"ezhtail",442,"f",102,"fadeva",2398,"fagurmukhi",2654,"fahrenheit",8457,"fathaarabic",1614,"fathalowarabic",1614,"fathatanarabic",1611,"fbopomofo",12552,"fcircle",9429,"fdotaccent",7711,"feharabic",1601,"feharmenian",1414,"fehfinalarabic",65234,"fehinitialarabic",65235,"fehmedialarabic",65236,"feicoptic",997,"female",9792,"ff",64256,"f_f",64256,"ffi",64259,"ffl",64260,"fi",64257,"fifteencircle",9326,"fifteenparen",9346,"fifteenperiod",9366,"figuredash",8210,"filledbox",9632,"filledrect",9644,"finalkaf",1498,"finalkafdagesh",64314,"finalkafdageshhebrew",64314,"finalkafhebrew",1498,"finalmem",1501,"finalmemhebrew",1501,"finalnun",1503,"finalnunhebrew",1503,"finalpe",1507,"finalpehebrew",1507,"finaltsadi",1509,"finaltsadihebrew",1509,"firsttonechinese",713,"fisheye",9673,"fitacyrillic",1139,"five",53,"fivearabic",1637,"fivebengali",2539,"fivecircle",9316,"fivecircleinversesansserif",10126,"fivedeva",2411,"fiveeighths",8541,"fivegujarati",2795,"fivegurmukhi",2667,"fivehackarabic",1637,"fivehangzhou",12325,"fiveideographicparen",12836,"fiveinferior",8325,"fivemonospace",65301,"fiveoldstyle",63285,"fiveparen",9336,"fiveperiod",9356,"fivepersian",1781,"fiveroman",8564,"fivesuperior",8309,"fivethai",3669,"fl",64258,"florin",402,"fmonospace",65350,"fmsquare",13209,"fofanthai",3615,"fofathai",3613,"fongmanthai",3663,"forall",8704,"four",52,"fourarabic",1636,"fourbengali",2538,"fourcircle",9315,"fourcircleinversesansserif",10125,"fourdeva",2410,"fourgujarati",2794,"fourgurmukhi",2666,"fourhackarabic",1636,"fourhangzhou",12324,"fourideographicparen",12835,"fourinferior",8324,"fourmonospace",65300,"fournumeratorbengali",2551,"fouroldstyle",63284,"fourparen",9335,"fourperiod",9355,"fourpersian",1780,"fourroman",8563,"foursuperior",8308,"fourteencircle",9325,"fourteenparen",9345,"fourteenperiod",9365,"fourthai",3668,"fourthtonechinese",715,"fparen",9377,"fraction",8260,"franc",8355,"g",103,"gabengali",2455,"gacute",501,"gadeva",2327,"gafarabic",1711,"gaffinalarabic",64403,"gafinitialarabic",64404,"gafmedialarabic",64405,"gagujarati",2711,"gagurmukhi",2583,"gahiragana",12364,"gakatakana",12460,"gamma",947,"gammalatinsmall",611,"gammasuperior",736,"gangiacoptic",1003,"gbopomofo",12557,"gbreve",287,"gcaron",487,"gcedilla",291,"gcircle",9430,"gcircumflex",285,"gcommaaccent",291,"gdot",289,"gdotaccent",289,"gecyrillic",1075,"gehiragana",12370,"gekatakana",12466,"geometricallyequal",8785,"gereshaccenthebrew",1436,"gereshhebrew",1523,"gereshmuqdamhebrew",1437,"germandbls",223,"gershayimaccenthebrew",1438,"gershayimhebrew",1524,"getamark",12307,"ghabengali",2456,"ghadarmenian",1394,"ghadeva",2328,"ghagujarati",2712,"ghagurmukhi",2584,"ghainarabic",1594,"ghainfinalarabic",65230,"ghaininitialarabic",65231,"ghainmedialarabic",65232,"ghemiddlehookcyrillic",1173,"ghestrokecyrillic",1171,"gheupturncyrillic",1169,"ghhadeva",2394,"ghhagurmukhi",2650,"ghook",608,"ghzsquare",13203,"gihiragana",12366,"gikatakana",12462,"gimarmenian",1379,"gimel",1490,"gimeldagesh",64306,"gimeldageshhebrew",64306,"gimelhebrew",1490,"gjecyrillic",1107,"glottalinvertedstroke",446,"glottalstop",660,"glottalstopinverted",662,"glottalstopmod",704,"glottalstopreversed",661,"glottalstopreversedmod",705,"glottalstopreversedsuperior",740,"glottalstopstroke",673,"glottalstopstrokereversed",674,"gmacron",7713,"gmonospace",65351,"gohiragana",12372,"gokatakana",12468,"gparen",9378,"gpasquare",13228,"gradient",8711,"grave",96,"gravebelowcmb",790,"gravecmb",768,"gravecomb",768,"gravedeva",2387,"gravelowmod",718,"gravemonospace",65344,"gravetonecmb",832,"greater",62,"greaterequal",8805,"greaterequalorless",8923,"greatermonospace",65310,"greaterorequivalent",8819,"greaterorless",8823,"greateroverequal",8807,"greatersmall",65125,"gscript",609,"gstroke",485,"guhiragana",12368,"guillemotleft",171,"guillemotright",187,"guilsinglleft",8249,"guilsinglright",8250,"gukatakana",12464,"guramusquare",13080,"gysquare",13257,"h",104,"haabkhasiancyrillic",1193,"haaltonearabic",1729,"habengali",2489,"hadescendercyrillic",1203,"hadeva",2361,"hagujarati",2745,"hagurmukhi",2617,"haharabic",1581,"hahfinalarabic",65186,"hahinitialarabic",65187,"hahiragana",12399,"hahmedialarabic",65188,"haitusquare",13098,"hakatakana",12495,"hakatakanahalfwidth",65418,"halantgurmukhi",2637,"hamzaarabic",1569,"hamzalowarabic",1569,"hangulfiller",12644,"hardsigncyrillic",1098,"harpoonleftbarbup",8636,"harpoonrightbarbup",8640,"hasquare",13258,"hatafpatah",1458,"hatafpatah16",1458,"hatafpatah23",1458,"hatafpatah2f",1458,"hatafpatahhebrew",1458,"hatafpatahnarrowhebrew",1458,"hatafpatahquarterhebrew",1458,"hatafpatahwidehebrew",1458,"hatafqamats",1459,"hatafqamats1b",1459,"hatafqamats28",1459,"hatafqamats34",1459,"hatafqamatshebrew",1459,"hatafqamatsnarrowhebrew",1459,"hatafqamatsquarterhebrew",1459,"hatafqamatswidehebrew",1459,"hatafsegol",1457,"hatafsegol17",1457,"hatafsegol24",1457,"hatafsegol30",1457,"hatafsegolhebrew",1457,"hatafsegolnarrowhebrew",1457,"hatafsegolquarterhebrew",1457,"hatafsegolwidehebrew",1457,"hbar",295,"hbopomofo",12559,"hbrevebelow",7723,"hcedilla",7721,"hcircle",9431,"hcircumflex",293,"hdieresis",7719,"hdotaccent",7715,"hdotbelow",7717,"he",1492,"heart",9829,"heartsuitblack",9829,"heartsuitwhite",9825,"hedagesh",64308,"hedageshhebrew",64308,"hehaltonearabic",1729,"heharabic",1607,"hehebrew",1492,"hehfinalaltonearabic",64423,"hehfinalalttwoarabic",65258,"hehfinalarabic",65258,"hehhamzaabovefinalarabic",64421,"hehhamzaaboveisolatedarabic",64420,"hehinitialaltonearabic",64424,"hehinitialarabic",65259,"hehiragana",12408,"hehmedialaltonearabic",64425,"hehmedialarabic",65260,"heiseierasquare",13179,"hekatakana",12504,"hekatakanahalfwidth",65421,"hekutaarusquare",13110,"henghook",615,"herutusquare",13113,"het",1495,"hethebrew",1495,"hhook",614,"hhooksuperior",689,"hieuhacirclekorean",12923,"hieuhaparenkorean",12827,"hieuhcirclekorean",12909,"hieuhkorean",12622,"hieuhparenkorean",12813,"hihiragana",12402,"hikatakana",12498,"hikatakanahalfwidth",65419,"hiriq",1460,"hiriq14",1460,"hiriq21",1460,"hiriq2d",1460,"hiriqhebrew",1460,"hiriqnarrowhebrew",1460,"hiriqquarterhebrew",1460,"hiriqwidehebrew",1460,"hlinebelow",7830,"hmonospace",65352,"hoarmenian",1392,"hohipthai",3627,"hohiragana",12411,"hokatakana",12507,"hokatakanahalfwidth",65422,"holam",1465,"holam19",1465,"holam26",1465,"holam32",1465,"holamhebrew",1465,"holamnarrowhebrew",1465,"holamquarterhebrew",1465,"holamwidehebrew",1465,"honokhukthai",3630,"hookabovecomb",777,"hookcmb",777,"hookpalatalizedbelowcmb",801,"hookretroflexbelowcmb",802,"hoonsquare",13122,"horicoptic",1001,"horizontalbar",8213,"horncmb",795,"hotsprings",9832,"house",8962,"hparen",9379,"hsuperior",688,"hturned",613,"huhiragana",12405,"huiitosquare",13107,"hukatakana",12501,"hukatakanahalfwidth",65420,"hungarumlaut",733,"hungarumlautcmb",779,"hv",405,"hyphen",45,"hypheninferior",63205,"hyphenmonospace",65293,"hyphensmall",65123,"hyphensuperior",63206,"hyphentwo",8208,"i",105,"iacute",237,"iacyrillic",1103,"ibengali",2439,"ibopomofo",12583,"ibreve",301,"icaron",464,"icircle",9432,"icircumflex",238,"icyrillic",1110,"idblgrave",521,"ideographearthcircle",12943,"ideographfirecircle",12939,"ideographicallianceparen",12863,"ideographiccallparen",12858,"ideographiccentrecircle",12965,"ideographicclose",12294,"ideographiccomma",12289,"ideographiccommaleft",65380,"ideographiccongratulationparen",12855,"ideographiccorrectcircle",12963,"ideographicearthparen",12847,"ideographicenterpriseparen",12861,"ideographicexcellentcircle",12957,"ideographicfestivalparen",12864,"ideographicfinancialcircle",12950,"ideographicfinancialparen",12854,"ideographicfireparen",12843,"ideographichaveparen",12850,"ideographichighcircle",12964,"ideographiciterationmark",12293,"ideographiclaborcircle",12952,"ideographiclaborparen",12856,"ideographicleftcircle",12967,"ideographiclowcircle",12966,"ideographicmedicinecircle",12969,"ideographicmetalparen",12846,"ideographicmoonparen",12842,"ideographicnameparen",12852,"ideographicperiod",12290,"ideographicprintcircle",12958,"ideographicreachparen",12867,"ideographicrepresentparen",12857,"ideographicresourceparen",12862,"ideographicrightcircle",12968,"ideographicsecretcircle",12953,"ideographicselfparen",12866,"ideographicsocietyparen",12851,"ideographicspace",12288,"ideographicspecialparen",12853,"ideographicstockparen",12849,"ideographicstudyparen",12859,"ideographicsunparen",12848,"ideographicsuperviseparen",12860,"ideographicwaterparen",12844,"ideographicwoodparen",12845,"ideographiczero",12295,"ideographmetalcircle",12942,"ideographmooncircle",12938,"ideographnamecircle",12948,"ideographsuncircle",12944,"ideographwatercircle",12940,"ideographwoodcircle",12941,"ideva",2311,"idieresis",239,"idieresisacute",7727,"idieresiscyrillic",1253,"idotbelow",7883,"iebrevecyrillic",1239,"iecyrillic",1077,"ieungacirclekorean",12917,"ieungaparenkorean",12821,"ieungcirclekorean",12903,"ieungkorean",12615,"ieungparenkorean",12807,"igrave",236,"igujarati",2695,"igurmukhi",2567,"ihiragana",12356,"ihookabove",7881,"iibengali",2440,"iicyrillic",1080,"iideva",2312,"iigujarati",2696,"iigurmukhi",2568,"iimatragurmukhi",2624,"iinvertedbreve",523,"iishortcyrillic",1081,"iivowelsignbengali",2496,"iivowelsigndeva",2368,"iivowelsigngujarati",2752,"ij",307,"ikatakana",12452,"ikatakanahalfwidth",65394,"ikorean",12643,"ilde",732,"iluyhebrew",1452,"imacron",299,"imacroncyrillic",1251,"imageorapproximatelyequal",8787,"imatragurmukhi",2623,"imonospace",65353,"increment",8710,"infinity",8734,"iniarmenian",1387,"integral",8747,"integralbottom",8993,"integralbt",8993,"integralex",63733,"integraltop",8992,"integraltp",8992,"intersection",8745,"intisquare",13061,"invbullet",9688,"invcircle",9689,"invsmileface",9787,"iocyrillic",1105,"iogonek",303,"iota",953,"iotadieresis",970,"iotadieresistonos",912,"iotalatin",617,"iotatonos",943,"iparen",9380,"irigurmukhi",2674,"ismallhiragana",12355,"ismallkatakana",12451,"ismallkatakanahalfwidth",65384,"issharbengali",2554,"istroke",616,"isuperior",63213,"iterationhiragana",12445,"iterationkatakana",12541,"itilde",297,"itildebelow",7725,"iubopomofo",12585,"iucyrillic",1102,"ivowelsignbengali",2495,"ivowelsigndeva",2367,"ivowelsigngujarati",2751,"izhitsacyrillic",1141,"izhitsadblgravecyrillic",1143,"j",106,"jaarmenian",1393,"jabengali",2460,"jadeva",2332,"jagujarati",2716,"jagurmukhi",2588,"jbopomofo",12560,"jcaron",496,"jcircle",9433,"jcircumflex",309,"jcrossedtail",669,"jdotlessstroke",607,"jecyrillic",1112,"jeemarabic",1580,"jeemfinalarabic",65182,"jeeminitialarabic",65183,"jeemmedialarabic",65184,"jeharabic",1688,"jehfinalarabic",64395,"jhabengali",2461,"jhadeva",2333,"jhagujarati",2717,"jhagurmukhi",2589,"jheharmenian",1403,"jis",12292,"jmonospace",65354,"jparen",9381,"jsuperior",690,"k",107,"kabashkircyrillic",1185,"kabengali",2453,"kacute",7729,"kacyrillic",1082,"kadescendercyrillic",1179,"kadeva",2325,"kaf",1499,"kafarabic",1603,"kafdagesh",64315,"kafdageshhebrew",64315,"kaffinalarabic",65242,"kafhebrew",1499,"kafinitialarabic",65243,"kafmedialarabic",65244,"kafrafehebrew",64333,"kagujarati",2709,"kagurmukhi",2581,"kahiragana",12363,"kahookcyrillic",1220,"kakatakana",12459,"kakatakanahalfwidth",65398,"kappa",954,"kappasymbolgreek",1008,"kapyeounmieumkorean",12657,"kapyeounphieuphkorean",12676,"kapyeounpieupkorean",12664,"kapyeounssangpieupkorean",12665,"karoriisquare",13069,"kashidaautoarabic",1600,"kashidaautonosidebearingarabic",1600,"kasmallkatakana",12533,"kasquare",13188,"kasraarabic",1616,"kasratanarabic",1613,"kastrokecyrillic",1183,"katahiraprolongmarkhalfwidth",65392,"kaverticalstrokecyrillic",1181,"kbopomofo",12558,"kcalsquare",13193,"kcaron",489,"kcedilla",311,"kcircle",9434,"kcommaaccent",311,"kdotbelow",7731,"keharmenian",1412,"kehiragana",12369,"kekatakana",12465,"kekatakanahalfwidth",65401,"kenarmenian",1391,"kesmallkatakana",12534,"kgreenlandic",312,"khabengali",2454,"khacyrillic",1093,"khadeva",2326,"khagujarati",2710,"khagurmukhi",2582,"khaharabic",1582,"khahfinalarabic",65190,"khahinitialarabic",65191,"khahmedialarabic",65192,"kheicoptic",999,"khhadeva",2393,"khhagurmukhi",2649,"khieukhacirclekorean",12920,"khieukhaparenkorean",12824,"khieukhcirclekorean",12906,"khieukhkorean",12619,"khieukhparenkorean",12810,"khokhaithai",3586,"khokhonthai",3589,"khokhuatthai",3587,"khokhwaithai",3588,"khomutthai",3675,"khook",409,"khorakhangthai",3590,"khzsquare",13201,"kihiragana",12365,"kikatakana",12461,"kikatakanahalfwidth",65399,"kiroguramusquare",13077,"kiromeetorusquare",13078,"kirosquare",13076,"kiyeokacirclekorean",12910,"kiyeokaparenkorean",12814,"kiyeokcirclekorean",12896,"kiyeokkorean",12593,"kiyeokparenkorean",12800,"kiyeoksioskorean",12595,"kjecyrillic",1116,"klinebelow",7733,"klsquare",13208,"kmcubedsquare",13222,"kmonospace",65355,"kmsquaredsquare",13218,"kohiragana",12371,"kohmsquare",13248,"kokaithai",3585,"kokatakana",12467,"kokatakanahalfwidth",65402,"kooposquare",13086,"koppacyrillic",1153,"koreanstandardsymbol",12927,"koroniscmb",835,"kparen",9382,"kpasquare",13226,"ksicyrillic",1135,"ktsquare",13263,"kturned",670,"kuhiragana",12367,"kukatakana",12463,"kukatakanahalfwidth",65400,"kvsquare",13240,"kwsquare",13246,"l",108,"labengali",2482,"lacute",314,"ladeva",2354,"lagujarati",2738,"lagurmukhi",2610,"lakkhangyaothai",3653,"lamaleffinalarabic",65276,"lamalefhamzaabovefinalarabic",65272,"lamalefhamzaaboveisolatedarabic",65271,"lamalefhamzabelowfinalarabic",65274,"lamalefhamzabelowisolatedarabic",65273,"lamalefisolatedarabic",65275,"lamalefmaddaabovefinalarabic",65270,"lamalefmaddaaboveisolatedarabic",65269,"lamarabic",1604,"lambda",955,"lambdastroke",411,"lamed",1500,"lameddagesh",64316,"lameddageshhebrew",64316,"lamedhebrew",1500,"lamfinalarabic",65246,"lamhahinitialarabic",64714,"laminitialarabic",65247,"lamjeeminitialarabic",64713,"lamkhahinitialarabic",64715,"lamlamhehisolatedarabic",65010,"lammedialarabic",65248,"lammeemhahinitialarabic",64904,"lammeeminitialarabic",64716,"largecircle",9711,"lbar",410,"lbelt",620,"lbopomofo",12556,"lcaron",318,"lcedilla",316,"lcircle",9435,"lcircumflexbelow",7741,"lcommaaccent",316,"ldot",320,"ldotaccent",320,"ldotbelow",7735,"ldotbelowmacron",7737,"leftangleabovecmb",794,"lefttackbelowcmb",792,"less",60,"lessequal",8804,"lessequalorgreater",8922,"lessmonospace",65308,"lessorequivalent",8818,"lessorgreater",8822,"lessoverequal",8806,"lesssmall",65124,"lezh",622,"lfblock",9612,"lhookretroflex",621,"lira",8356,"liwnarmenian",1388,"lj",457,"ljecyrillic",1113,"ll",63168,"lladeva",2355,"llagujarati",2739,"llinebelow",7739,"llladeva",2356,"llvocalicbengali",2529,"llvocalicdeva",2401,"llvocalicvowelsignbengali",2531,"llvocalicvowelsigndeva",2403,"lmiddletilde",619,"lmonospace",65356,"lmsquare",13264,"lochulathai",3628,"logicaland",8743,"logicalnot",172,"logicalnotreversed",8976,"logicalor",8744,"lolingthai",3621,"longs",383,"lowlinecenterline",65102,"lowlinecmb",818,"lowlinedashed",65101,"lozenge",9674,"lparen",9383,"lslash",322,"lsquare",8467,"lsuperior",63214,"ltshade",9617,"luthai",3622,"lvocalicbengali",2444,"lvocalicdeva",2316,"lvocalicvowelsignbengali",2530,"lvocalicvowelsigndeva",2402,"lxsquare",13267,"m",109,"mabengali",2478,"macron",175,"macronbelowcmb",817,"macroncmb",772,"macronlowmod",717,"macronmonospace",65507,"macute",7743,"madeva",2350,"magujarati",2734,"magurmukhi",2606,"mahapakhhebrew",1444,"mahapakhlefthebrew",1444,"mahiragana",12414,"maichattawalowleftthai",63637,"maichattawalowrightthai",63636,"maichattawathai",3659,"maichattawaupperleftthai",63635,"maieklowleftthai",63628,"maieklowrightthai",63627,"maiekthai",3656,"maiekupperleftthai",63626,"maihanakatleftthai",63620,"maihanakatthai",3633,"maitaikhuleftthai",63625,"maitaikhuthai",3655,"maitholowleftthai",63631,"maitholowrightthai",63630,"maithothai",3657,"maithoupperleftthai",63629,"maitrilowleftthai",63634,"maitrilowrightthai",63633,"maitrithai",3658,"maitriupperleftthai",63632,"maiyamokthai",3654,"makatakana",12510,"makatakanahalfwidth",65423,"male",9794,"mansyonsquare",13127,"maqafhebrew",1470,"mars",9794,"masoracirclehebrew",1455,"masquare",13187,"mbopomofo",12551,"mbsquare",13268,"mcircle",9436,"mcubedsquare",13221,"mdotaccent",7745,"mdotbelow",7747,"meemarabic",1605,"meemfinalarabic",65250,"meeminitialarabic",65251,"meemmedialarabic",65252,"meemmeeminitialarabic",64721,"meemmeemisolatedarabic",64584,"meetorusquare",13133,"mehiragana",12417,"meizierasquare",13182,"mekatakana",12513,"mekatakanahalfwidth",65426,"mem",1502,"memdagesh",64318,"memdageshhebrew",64318,"memhebrew",1502,"menarmenian",1396,"merkhahebrew",1445,"merkhakefulahebrew",1446,"merkhakefulalefthebrew",1446,"merkhalefthebrew",1445,"mhook",625,"mhzsquare",13202,"middledotkatakanahalfwidth",65381,"middot",183,"mieumacirclekorean",12914,"mieumaparenkorean",12818,"mieumcirclekorean",12900,"mieumkorean",12609,"mieumpansioskorean",12656,"mieumparenkorean",12804,"mieumpieupkorean",12654,"mieumsioskorean",12655,"mihiragana",12415,"mikatakana",12511,"mikatakanahalfwidth",65424,"minus",8722,"minusbelowcmb",800,"minuscircle",8854,"minusmod",727,"minusplus",8723,"minute",8242,"miribaarusquare",13130,"mirisquare",13129,"mlonglegturned",624,"mlsquare",13206,"mmcubedsquare",13219,"mmonospace",65357,"mmsquaredsquare",13215,"mohiragana",12418,"mohmsquare",13249,"mokatakana",12514,"mokatakanahalfwidth",65427,"molsquare",13270,"momathai",3617,"moverssquare",13223,"moverssquaredsquare",13224,"mparen",9384,"mpasquare",13227,"mssquare",13235,"msuperior",63215,"mturned",623,"mu",181,"mu1",181,"muasquare",13186,"muchgreater",8811,"muchless",8810,"mufsquare",13196,"mugreek",956,"mugsquare",13197,"muhiragana",12416,"mukatakana",12512,"mukatakanahalfwidth",65425,"mulsquare",13205,"multiply",215,"mumsquare",13211,"munahhebrew",1443,"munahlefthebrew",1443,"musicalnote",9834,"musicalnotedbl",9835,"musicflatsign",9837,"musicsharpsign",9839,"mussquare",13234,"muvsquare",13238,"muwsquare",13244,"mvmegasquare",13241,"mvsquare",13239,"mwmegasquare",13247,"mwsquare",13245,"n",110,"nabengali",2472,"nabla",8711,"nacute",324,"nadeva",2344,"nagujarati",2728,"nagurmukhi",2600,"nahiragana",12394,"nakatakana",12490,"nakatakanahalfwidth",65413,"napostrophe",329,"nasquare",13185,"nbopomofo",12555,"nbspace",160,"ncaron",328,"ncedilla",326,"ncircle",9437,"ncircumflexbelow",7755,"ncommaaccent",326,"ndotaccent",7749,"ndotbelow",7751,"nehiragana",12397,"nekatakana",12493,"nekatakanahalfwidth",65416,"newsheqelsign",8362,"nfsquare",13195,"ngabengali",2457,"ngadeva",2329,"ngagujarati",2713,"ngagurmukhi",2585,"ngonguthai",3591,"nhiragana",12435,"nhookleft",626,"nhookretroflex",627,"nieunacirclekorean",12911,"nieunaparenkorean",12815,"nieuncieuckorean",12597,"nieuncirclekorean",12897,"nieunhieuhkorean",12598,"nieunkorean",12596,"nieunpansioskorean",12648,"nieunparenkorean",12801,"nieunsioskorean",12647,"nieuntikeutkorean",12646,"nihiragana",12395,"nikatakana",12491,"nikatakanahalfwidth",65414,"nikhahitleftthai",63641,"nikhahitthai",3661,"nine",57,"ninearabic",1641,"ninebengali",2543,"ninecircle",9320,"ninecircleinversesansserif",10130,"ninedeva",2415,"ninegujarati",2799,"ninegurmukhi",2671,"ninehackarabic",1641,"ninehangzhou",12329,"nineideographicparen",12840,"nineinferior",8329,"ninemonospace",65305,"nineoldstyle",63289,"nineparen",9340,"nineperiod",9360,"ninepersian",1785,"nineroman",8568,"ninesuperior",8313,"nineteencircle",9330,"nineteenparen",9350,"nineteenperiod",9370,"ninethai",3673,"nj",460,"njecyrillic",1114,"nkatakana",12531,"nkatakanahalfwidth",65437,"nlegrightlong",414,"nlinebelow",7753,"nmonospace",65358,"nmsquare",13210,"nnabengali",2467,"nnadeva",2339,"nnagujarati",2723,"nnagurmukhi",2595,"nnnadeva",2345,"nohiragana",12398,"nokatakana",12494,"nokatakanahalfwidth",65417,"nonbreakingspace",160,"nonenthai",3603,"nonuthai",3609,"noonarabic",1606,"noonfinalarabic",65254,"noonghunnaarabic",1722,"noonghunnafinalarabic",64415,"nooninitialarabic",65255,"noonjeeminitialarabic",64722,"noonjeemisolatedarabic",64587,"noonmedialarabic",65256,"noonmeeminitialarabic",64725,"noonmeemisolatedarabic",64590,"noonnoonfinalarabic",64653,"notcontains",8716,"notelement",8713,"notelementof",8713,"notequal",8800,"notgreater",8815,"notgreaternorequal",8817,"notgreaternorless",8825,"notidentical",8802,"notless",8814,"notlessnorequal",8816,"notparallel",8742,"notprecedes",8832,"notsubset",8836,"notsucceeds",8833,"notsuperset",8837,"nowarmenian",1398,"nparen",9385,"nssquare",13233,"nsuperior",8319,"ntilde",241,"nu",957,"nuhiragana",12396,"nukatakana",12492,"nukatakanahalfwidth",65415,"nuktabengali",2492,"nuktadeva",2364,"nuktagujarati",2748,"nuktagurmukhi",2620,"numbersign",35,"numbersignmonospace",65283,"numbersignsmall",65119,"numeralsigngreek",884,"numeralsignlowergreek",885,"numero",8470,"nun",1504,"nundagesh",64320,"nundageshhebrew",64320,"nunhebrew",1504,"nvsquare",13237,"nwsquare",13243,"nyabengali",2462,"nyadeva",2334,"nyagujarati",2718,"nyagurmukhi",2590,"o",111,"oacute",243,"oangthai",3629,"obarred",629,"obarredcyrillic",1257,"obarreddieresiscyrillic",1259,"obengali",2451,"obopomofo",12571,"obreve",335,"ocandradeva",2321,"ocandragujarati",2705,"ocandravowelsigndeva",2377,"ocandravowelsigngujarati",2761,"ocaron",466,"ocircle",9438,"ocircumflex",244,"ocircumflexacute",7889,"ocircumflexdotbelow",7897,"ocircumflexgrave",7891,"ocircumflexhookabove",7893,"ocircumflextilde",7895,"ocyrillic",1086,"odblacute",337,"odblgrave",525,"odeva",2323,"odieresis",246,"odieresiscyrillic",1255,"odotbelow",7885,"oe",339,"oekorean",12634,"ogonek",731,"ogonekcmb",808,"ograve",242,"ogujarati",2707,"oharmenian",1413,"ohiragana",12362,"ohookabove",7887,"ohorn",417,"ohornacute",7899,"ohorndotbelow",7907,"ohorngrave",7901,"ohornhookabove",7903,"ohorntilde",7905,"ohungarumlaut",337,"oi",419,"oinvertedbreve",527,"okatakana",12458,"okatakanahalfwidth",65397,"okorean",12631,"olehebrew",1451,"omacron",333,"omacronacute",7763,"omacrongrave",7761,"omdeva",2384,"omega",969,"omega1",982,"omegacyrillic",1121,"omegalatinclosed",631,"omegaroundcyrillic",1147,"omegatitlocyrillic",1149,"omegatonos",974,"omgujarati",2768,"omicron",959,"omicrontonos",972,"omonospace",65359,"one",49,"onearabic",1633,"onebengali",2535,"onecircle",9312,"onecircleinversesansserif",10122,"onedeva",2407,"onedotenleader",8228,"oneeighth",8539,"onefitted",63196,"onegujarati",2791,"onegurmukhi",2663,"onehackarabic",1633,"onehalf",189,"onehangzhou",12321,"oneideographicparen",12832,"oneinferior",8321,"onemonospace",65297,"onenumeratorbengali",2548,"oneoldstyle",63281,"oneparen",9332,"oneperiod",9352,"onepersian",1777,"onequarter",188,"oneroman",8560,"onesuperior",185,"onethai",3665,"onethird",8531,"oogonek",491,"oogonekmacron",493,"oogurmukhi",2579,"oomatragurmukhi",2635,"oopen",596,"oparen",9386,"openbullet",9702,"option",8997,"ordfeminine",170,"ordmasculine",186,"orthogonal",8735,"oshortdeva",2322,"oshortvowelsigndeva",2378,"oslash",248,"oslashacute",511,"osmallhiragana",12361,"osmallkatakana",12457,"osmallkatakanahalfwidth",65387,"ostrokeacute",511,"osuperior",63216,"otcyrillic",1151,"otilde",245,"otildeacute",7757,"otildedieresis",7759,"oubopomofo",12577,"overline",8254,"overlinecenterline",65098,"overlinecmb",773,"overlinedashed",65097,"overlinedblwavy",65100,"overlinewavy",65099,"overscore",175,"ovowelsignbengali",2507,"ovowelsigndeva",2379,"ovowelsigngujarati",2763,"p",112,"paampssquare",13184,"paasentosquare",13099,"pabengali",2474,"pacute",7765,"padeva",2346,"pagedown",8671,"pageup",8670,"pagujarati",2730,"pagurmukhi",2602,"pahiragana",12401,"paiyannoithai",3631,"pakatakana",12497,"palatalizationcyrilliccmb",1156,"palochkacyrillic",1216,"pansioskorean",12671,"paragraph",182,"parallel",8741,"parenleft",40,"parenleftaltonearabic",64830,"parenleftbt",63725,"parenleftex",63724,"parenleftinferior",8333,"parenleftmonospace",65288,"parenleftsmall",65113,"parenleftsuperior",8317,"parenlefttp",63723,"parenleftvertical",65077,"parenright",41,"parenrightaltonearabic",64831,"parenrightbt",63736,"parenrightex",63735,"parenrightinferior",8334,"parenrightmonospace",65289,"parenrightsmall",65114,"parenrightsuperior",8318,"parenrighttp",63734,"parenrightvertical",65078,"partialdiff",8706,"paseqhebrew",1472,"pashtahebrew",1433,"pasquare",13225,"patah",1463,"patah11",1463,"patah1d",1463,"patah2a",1463,"patahhebrew",1463,"patahnarrowhebrew",1463,"patahquarterhebrew",1463,"patahwidehebrew",1463,"pazerhebrew",1441,"pbopomofo",12550,"pcircle",9439,"pdotaccent",7767,"pe",1508,"pecyrillic",1087,"pedagesh",64324,"pedageshhebrew",64324,"peezisquare",13115,"pefinaldageshhebrew",64323,"peharabic",1662,"peharmenian",1402,"pehebrew",1508,"pehfinalarabic",64343,"pehinitialarabic",64344,"pehiragana",12410,"pehmedialarabic",64345,"pekatakana",12506,"pemiddlehookcyrillic",1191,"perafehebrew",64334,"percent",37,"percentarabic",1642,"percentmonospace",65285,"percentsmall",65130,"period",46,"periodarmenian",1417,"periodcentered",183,"periodhalfwidth",65377,"periodinferior",63207,"periodmonospace",65294,"periodsmall",65106,"periodsuperior",63208,"perispomenigreekcmb",834,"perpendicular",8869,"perthousand",8240,"peseta",8359,"pfsquare",13194,"phabengali",2475,"phadeva",2347,"phagujarati",2731,"phagurmukhi",2603,"phi",966,"phi1",981,"phieuphacirclekorean",12922,"phieuphaparenkorean",12826,"phieuphcirclekorean",12908,"phieuphkorean",12621,"phieuphparenkorean",12812,"philatin",632,"phinthuthai",3642,"phisymbolgreek",981,"phook",421,"phophanthai",3614,"phophungthai",3612,"phosamphaothai",3616,"pi",960,"pieupacirclekorean",12915,"pieupaparenkorean",12819,"pieupcieuckorean",12662,"pieupcirclekorean",12901,"pieupkiyeokkorean",12658,"pieupkorean",12610,"pieupparenkorean",12805,"pieupsioskiyeokkorean",12660,"pieupsioskorean",12612,"pieupsiostikeutkorean",12661,"pieupthieuthkorean",12663,"pieuptikeutkorean",12659,"pihiragana",12404,"pikatakana",12500,"pisymbolgreek",982,"piwrarmenian",1411,"plus",43,"plusbelowcmb",799,"pluscircle",8853,"plusminus",177,"plusmod",726,"plusmonospace",65291,"plussmall",65122,"plussuperior",8314,"pmonospace",65360,"pmsquare",13272,"pohiragana",12413,"pointingindexdownwhite",9759,"pointingindexleftwhite",9756,"pointingindexrightwhite",9758,"pointingindexupwhite",9757,"pokatakana",12509,"poplathai",3611,"postalmark",12306,"postalmarkface",12320,"pparen",9387,"precedes",8826,"prescription",8478,"primemod",697,"primereversed",8245,"product",8719,"projective",8965,"prolongedkana",12540,"propellor",8984,"propersubset",8834,"propersuperset",8835,"proportion",8759,"proportional",8733,"psi",968,"psicyrillic",1137,"psilipneumatacyrilliccmb",1158,"pssquare",13232,"puhiragana",12407,"pukatakana",12503,"pvsquare",13236,"pwsquare",13242,"q",113,"qadeva",2392,"qadmahebrew",1448,"qafarabic",1602,"qaffinalarabic",65238,"qafinitialarabic",65239,"qafmedialarabic",65240,"qamats",1464,"qamats10",1464,"qamats1a",1464,"qamats1c",1464,"qamats27",1464,"qamats29",1464,"qamats33",1464,"qamatsde",1464,"qamatshebrew",1464,"qamatsnarrowhebrew",1464,"qamatsqatanhebrew",1464,"qamatsqatannarrowhebrew",1464,"qamatsqatanquarterhebrew",1464,"qamatsqatanwidehebrew",1464,"qamatsquarterhebrew",1464,"qamatswidehebrew",1464,"qarneyparahebrew",1439,"qbopomofo",12561,"qcircle",9440,"qhook",672,"qmonospace",65361,"qof",1511,"qofdagesh",64327,"qofdageshhebrew",64327,"qofhebrew",1511,"qparen",9388,"quarternote",9833,"qubuts",1467,"qubuts18",1467,"qubuts25",1467,"qubuts31",1467,"qubutshebrew",1467,"qubutsnarrowhebrew",1467,"qubutsquarterhebrew",1467,"qubutswidehebrew",1467,"question",63,"questionarabic",1567,"questionarmenian",1374,"questiondown",191,"questiondownsmall",63423,"questiongreek",894,"questionmonospace",65311,"questionsmall",63295,"quotedbl",34,"quotedblbase",8222,"quotedblleft",8220,"quotedblmonospace",65282,"quotedblprime",12318,"quotedblprimereversed",12317,"quotedblright",8221,"quoteleft",8216,"quoteleftreversed",8219,"quotereversed",8219,"quoteright",8217,"quoterightn",329,"quotesinglbase",8218,"quotesingle",39,"quotesinglemonospace",65287,"r",114,"raarmenian",1404,"rabengali",2480,"racute",341,"radeva",2352,"radical",8730,"radicalex",63717,"radoverssquare",13230,"radoverssquaredsquare",13231,"radsquare",13229,"rafe",1471,"rafehebrew",1471,"ragujarati",2736,"ragurmukhi",2608,"rahiragana",12425,"rakatakana",12521,"rakatakanahalfwidth",65431,"ralowerdiagonalbengali",2545,"ramiddlediagonalbengali",2544,"ramshorn",612,"ratio",8758,"rbopomofo",12566,"rcaron",345,"rcedilla",343,"rcircle",9441,"rcommaaccent",343,"rdblgrave",529,"rdotaccent",7769,"rdotbelow",7771,"rdotbelowmacron",7773,"referencemark",8251,"reflexsubset",8838,"reflexsuperset",8839,"registered",174,"registersans",63720,"registerserif",63194,"reharabic",1585,"reharmenian",1408,"rehfinalarabic",65198,"rehiragana",12428,"rekatakana",12524,"rekatakanahalfwidth",65434,"resh",1512,"reshdageshhebrew",64328,"reshhebrew",1512,"reversedtilde",8765,"reviahebrew",1431,"reviamugrashhebrew",1431,"revlogicalnot",8976,"rfishhook",638,"rfishhookreversed",639,"rhabengali",2525,"rhadeva",2397,"rho",961,"rhook",637,"rhookturned",635,"rhookturnedsuperior",693,"rhosymbolgreek",1009,"rhotichookmod",734,"rieulacirclekorean",12913,"rieulaparenkorean",12817,"rieulcirclekorean",12899,"rieulhieuhkorean",12608,"rieulkiyeokkorean",12602,"rieulkiyeoksioskorean",12649,"rieulkorean",12601,"rieulmieumkorean",12603,"rieulpansioskorean",12652,"rieulparenkorean",12803,"rieulphieuphkorean",12607,"rieulpieupkorean",12604,"rieulpieupsioskorean",12651,"rieulsioskorean",12605,"rieulthieuthkorean",12606,"rieultikeutkorean",12650,"rieulyeorinhieuhkorean",12653,"rightangle",8735,"righttackbelowcmb",793,"righttriangle",8895,"rihiragana",12426,"rikatakana",12522,"rikatakanahalfwidth",65432,"ring",730,"ringbelowcmb",805,"ringcmb",778,"ringhalfleft",703,"ringhalfleftarmenian",1369,"ringhalfleftbelowcmb",796,"ringhalfleftcentered",723,"ringhalfright",702,"ringhalfrightbelowcmb",825,"ringhalfrightcentered",722,"rinvertedbreve",531,"rittorusquare",13137,"rlinebelow",7775,"rlongleg",636,"rlonglegturned",634,"rmonospace",65362,"rohiragana",12429,"rokatakana",12525,"rokatakanahalfwidth",65435,"roruathai",3619,"rparen",9389,"rrabengali",2524,"rradeva",2353,"rragurmukhi",2652,"rreharabic",1681,"rrehfinalarabic",64397,"rrvocalicbengali",2528,"rrvocalicdeva",2400,"rrvocalicgujarati",2784,"rrvocalicvowelsignbengali",2500,"rrvocalicvowelsigndeva",2372,"rrvocalicvowelsigngujarati",2756,"rsuperior",63217,"rtblock",9616,"rturned",633,"rturnedsuperior",692,"ruhiragana",12427,"rukatakana",12523,"rukatakanahalfwidth",65433,"rupeemarkbengali",2546,"rupeesignbengali",2547,"rupiah",63197,"ruthai",3620,"rvocalicbengali",2443,"rvocalicdeva",2315,"rvocalicgujarati",2699,"rvocalicvowelsignbengali",2499,"rvocalicvowelsigndeva",2371,"rvocalicvowelsigngujarati",2755,"s",115,"sabengali",2488,"sacute",347,"sacutedotaccent",7781,"sadarabic",1589,"sadeva",2360,"sadfinalarabic",65210,"sadinitialarabic",65211,"sadmedialarabic",65212,"sagujarati",2744,"sagurmukhi",2616,"sahiragana",12373,"sakatakana",12469,"sakatakanahalfwidth",65403,"sallallahoualayhewasallamarabic",65018,"samekh",1505,"samekhdagesh",64321,"samekhdageshhebrew",64321,"samekhhebrew",1505,"saraaathai",3634,"saraaethai",3649,"saraaimaimalaithai",3652,"saraaimaimuanthai",3651,"saraamthai",3635,"saraathai",3632,"saraethai",3648,"saraiileftthai",63622,"saraiithai",3637,"saraileftthai",63621,"saraithai",3636,"saraothai",3650,"saraueeleftthai",63624,"saraueethai",3639,"saraueleftthai",63623,"sarauethai",3638,"sarauthai",3640,"sarauuthai",3641,"sbopomofo",12569,"scaron",353,"scarondotaccent",7783,"scedilla",351,"schwa",601,"schwacyrillic",1241,"schwadieresiscyrillic",1243,"schwahook",602,"scircle",9442,"scircumflex",349,"scommaaccent",537,"sdotaccent",7777,"sdotbelow",7779,"sdotbelowdotaccent",7785,"seagullbelowcmb",828,"second",8243,"secondtonechinese",714,"section",167,"seenarabic",1587,"seenfinalarabic",65202,"seeninitialarabic",65203,"seenmedialarabic",65204,"segol",1462,"segol13",1462,"segol1f",1462,"segol2c",1462,"segolhebrew",1462,"segolnarrowhebrew",1462,"segolquarterhebrew",1462,"segoltahebrew",1426,"segolwidehebrew",1462,"seharmenian",1405,"sehiragana",12379,"sekatakana",12475,"sekatakanahalfwidth",65406,"semicolon",59,"semicolonarabic",1563,"semicolonmonospace",65307,"semicolonsmall",65108,"semivoicedmarkkana",12444,"semivoicedmarkkanahalfwidth",65439,"sentisquare",13090,"sentosquare",13091,"seven",55,"sevenarabic",1639,"sevenbengali",2541,"sevencircle",9318,"sevencircleinversesansserif",10128,"sevendeva",2413,"seveneighths",8542,"sevengujarati",2797,"sevengurmukhi",2669,"sevenhackarabic",1639,"sevenhangzhou",12327,"sevenideographicparen",12838,"seveninferior",8327,"sevenmonospace",65303,"sevenoldstyle",63287,"sevenparen",9338,"sevenperiod",9358,"sevenpersian",1783,"sevenroman",8566,"sevensuperior",8311,"seventeencircle",9328,"seventeenparen",9348,"seventeenperiod",9368,"seventhai",3671,"sfthyphen",173,"shaarmenian",1399,"shabengali",2486,"shacyrillic",1096,"shaddaarabic",1617,"shaddadammaarabic",64609,"shaddadammatanarabic",64606,"shaddafathaarabic",64608,"shaddakasraarabic",64610,"shaddakasratanarabic",64607,"shade",9618,"shadedark",9619,"shadelight",9617,"shademedium",9618,"shadeva",2358,"shagujarati",2742,"shagurmukhi",2614,"shalshelethebrew",1427,"shbopomofo",12565,"shchacyrillic",1097,"sheenarabic",1588,"sheenfinalarabic",65206,"sheeninitialarabic",65207,"sheenmedialarabic",65208,"sheicoptic",995,"sheqel",8362,"sheqelhebrew",8362,"sheva",1456,"sheva115",1456,"sheva15",1456,"sheva22",1456,"sheva2e",1456,"shevahebrew",1456,"shevanarrowhebrew",1456,"shevaquarterhebrew",1456,"shevawidehebrew",1456,"shhacyrillic",1211,"shimacoptic",1005,"shin",1513,"shindagesh",64329,"shindageshhebrew",64329,"shindageshshindot",64300,"shindageshshindothebrew",64300,"shindageshsindot",64301,"shindageshsindothebrew",64301,"shindothebrew",1473,"shinhebrew",1513,"shinshindot",64298,"shinshindothebrew",64298,"shinsindot",64299,"shinsindothebrew",64299,"shook",642,"sigma",963,"sigma1",962,"sigmafinal",962,"sigmalunatesymbolgreek",1010,"sihiragana",12375,"sikatakana",12471,"sikatakanahalfwidth",65404,"siluqhebrew",1469,"siluqlefthebrew",1469,"similar",8764,"sindothebrew",1474,"siosacirclekorean",12916,"siosaparenkorean",12820,"sioscieuckorean",12670,"sioscirclekorean",12902,"sioskiyeokkorean",12666,"sioskorean",12613,"siosnieunkorean",12667,"siosparenkorean",12806,"siospieupkorean",12669,"siostikeutkorean",12668,"six",54,"sixarabic",1638,"sixbengali",2540,"sixcircle",9317,"sixcircleinversesansserif",10127,"sixdeva",2412,"sixgujarati",2796,"sixgurmukhi",2668,"sixhackarabic",1638,"sixhangzhou",12326,"sixideographicparen",12837,"sixinferior",8326,"sixmonospace",65302,"sixoldstyle",63286,"sixparen",9337,"sixperiod",9357,"sixpersian",1782,"sixroman",8565,"sixsuperior",8310,"sixteencircle",9327,"sixteencurrencydenominatorbengali",2553,"sixteenparen",9347,"sixteenperiod",9367,"sixthai",3670,"slash",47,"slashmonospace",65295,"slong",383,"slongdotaccent",7835,"smileface",9786,"smonospace",65363,"sofpasuqhebrew",1475,"softhyphen",173,"softsigncyrillic",1100,"sohiragana",12381,"sokatakana",12477,"sokatakanahalfwidth",65407,"soliduslongoverlaycmb",824,"solidusshortoverlaycmb",823,"sorusithai",3625,"sosalathai",3624,"sosothai",3595,"sosuathai",3626,"space",32,"spacehackarabic",32,"spade",9824,"spadesuitblack",9824,"spadesuitwhite",9828,"sparen",9390,"squarebelowcmb",827,"squarecc",13252,"squarecm",13213,"squarediagonalcrosshatchfill",9641,"squarehorizontalfill",9636,"squarekg",13199,"squarekm",13214,"squarekmcapital",13262,"squareln",13265,"squarelog",13266,"squaremg",13198,"squaremil",13269,"squaremm",13212,"squaremsquared",13217,"squareorthogonalcrosshatchfill",9638,"squareupperlefttolowerrightfill",9639,"squareupperrighttolowerleftfill",9640,"squareverticalfill",9637,"squarewhitewithsmallblack",9635,"srsquare",13275,"ssabengali",2487,"ssadeva",2359,"ssagujarati",2743,"ssangcieuckorean",12617,"ssanghieuhkorean",12677,"ssangieungkorean",12672,"ssangkiyeokkorean",12594,"ssangnieunkorean",12645,"ssangpieupkorean",12611,"ssangsioskorean",12614,"ssangtikeutkorean",12600,"ssuperior",63218,"sterling",163,"sterlingmonospace",65505,"strokelongoverlaycmb",822,"strokeshortoverlaycmb",821,"subset",8834,"subsetnotequal",8842,"subsetorequal",8838,"succeeds",8827,"suchthat",8715,"suhiragana",12377,"sukatakana",12473,"sukatakanahalfwidth",65405,"sukunarabic",1618,"summation",8721,"sun",9788,"superset",8835,"supersetnotequal",8843,"supersetorequal",8839,"svsquare",13276,"syouwaerasquare",13180,"t",116,"tabengali",2468,"tackdown",8868,"tackleft",8867,"tadeva",2340,"tagujarati",2724,"tagurmukhi",2596,"taharabic",1591,"tahfinalarabic",65218,"tahinitialarabic",65219,"tahiragana",12383,"tahmedialarabic",65220,"taisyouerasquare",13181,"takatakana",12479,"takatakanahalfwidth",65408,"tatweelarabic",1600,"tau",964,"tav",1514,"tavdages",64330,"tavdagesh",64330,"tavdageshhebrew",64330,"tavhebrew",1514,"tbar",359,"tbopomofo",12554,"tcaron",357,"tccurl",680,"tcedilla",355,"tcheharabic",1670,"tchehfinalarabic",64379,"tchehinitialarabic",64380,"tchehmedialarabic",64381,"tcircle",9443,"tcircumflexbelow",7793,"tcommaaccent",355,"tdieresis",7831,"tdotaccent",7787,"tdotbelow",7789,"tecyrillic",1090,"tedescendercyrillic",1197,"teharabic",1578,"tehfinalarabic",65174,"tehhahinitialarabic",64674,"tehhahisolatedarabic",64524,"tehinitialarabic",65175,"tehiragana",12390,"tehjeeminitialarabic",64673,"tehjeemisolatedarabic",64523,"tehmarbutaarabic",1577,"tehmarbutafinalarabic",65172,"tehmedialarabic",65176,"tehmeeminitialarabic",64676,"tehmeemisolatedarabic",64526,"tehnoonfinalarabic",64627,"tekatakana",12486,"tekatakanahalfwidth",65411,"telephone",8481,"telephoneblack",9742,"telishagedolahebrew",1440,"telishaqetanahebrew",1449,"tencircle",9321,"tenideographicparen",12841,"tenparen",9341,"tenperiod",9361,"tenroman",8569,"tesh",679,"tet",1496,"tetdagesh",64312,"tetdageshhebrew",64312,"tethebrew",1496,"tetsecyrillic",1205,"tevirhebrew",1435,"tevirlefthebrew",1435,"thabengali",2469,"thadeva",2341,"thagujarati",2725,"thagurmukhi",2597,"thalarabic",1584,"thalfinalarabic",65196,"thanthakhatlowleftthai",63640,"thanthakhatlowrightthai",63639,"thanthakhatthai",3660,"thanthakhatupperleftthai",63638,"theharabic",1579,"thehfinalarabic",65178,"thehinitialarabic",65179,"thehmedialarabic",65180,"thereexists",8707,"therefore",8756,"theta",952,"theta1",977,"thetasymbolgreek",977,"thieuthacirclekorean",12921,"thieuthaparenkorean",12825,"thieuthcirclekorean",12907,"thieuthkorean",12620,"thieuthparenkorean",12811,"thirteencircle",9324,"thirteenparen",9344,"thirteenperiod",9364,"thonangmonthothai",3601,"thook",429,"thophuthaothai",3602,"thorn",254,"thothahanthai",3607,"thothanthai",3600,"thothongthai",3608,"thothungthai",3606,"thousandcyrillic",1154,"thousandsseparatorarabic",1644,"thousandsseparatorpersian",1644,"three",51,"threearabic",1635,"threebengali",2537,"threecircle",9314,"threecircleinversesansserif",10124,"threedeva",2409,"threeeighths",8540,"threegujarati",2793,"threegurmukhi",2665,"threehackarabic",1635,"threehangzhou",12323,"threeideographicparen",12834,"threeinferior",8323,"threemonospace",65299,"threenumeratorbengali",2550,"threeoldstyle",63283,"threeparen",9334,"threeperiod",9354,"threepersian",1779,"threequarters",190,"threequartersemdash",63198,"threeroman",8562,"threesuperior",179,"threethai",3667,"thzsquare",13204,"tihiragana",12385,"tikatakana",12481,"tikatakanahalfwidth",65409,"tikeutacirclekorean",12912,"tikeutaparenkorean",12816,"tikeutcirclekorean",12898,"tikeutkorean",12599,"tikeutparenkorean",12802,"tilde",732,"tildebelowcmb",816,"tildecmb",771,"tildecomb",771,"tildedoublecmb",864,"tildeoperator",8764,"tildeoverlaycmb",820,"tildeverticalcmb",830,"timescircle",8855,"tipehahebrew",1430,"tipehalefthebrew",1430,"tippigurmukhi",2672,"titlocyrilliccmb",1155,"tiwnarmenian",1407,"tlinebelow",7791,"tmonospace",65364,"toarmenian",1385,"tohiragana",12392,"tokatakana",12488,"tokatakanahalfwidth",65412,"tonebarextrahighmod",741,"tonebarextralowmod",745,"tonebarhighmod",742,"tonebarlowmod",744,"tonebarmidmod",743,"tonefive",445,"tonesix",389,"tonetwo",424,"tonos",900,"tonsquare",13095,"topatakthai",3599,"tortoiseshellbracketleft",12308,"tortoiseshellbracketleftsmall",65117,"tortoiseshellbracketleftvertical",65081,"tortoiseshellbracketright",12309,"tortoiseshellbracketrightsmall",65118,"tortoiseshellbracketrightvertical",65082,"totaothai",3605,"tpalatalhook",427,"tparen",9391,"trademark",8482,"trademarksans",63722,"trademarkserif",63195,"tretroflexhook",648,"triagdn",9660,"triaglf",9668,"triagrt",9658,"triagup",9650,"ts",678,"tsadi",1510,"tsadidagesh",64326,"tsadidageshhebrew",64326,"tsadihebrew",1510,"tsecyrillic",1094,"tsere",1461,"tsere12",1461,"tsere1e",1461,"tsere2b",1461,"tserehebrew",1461,"tserenarrowhebrew",1461,"tserequarterhebrew",1461,"tserewidehebrew",1461,"tshecyrillic",1115,"tsuperior",63219,"ttabengali",2463,"ttadeva",2335,"ttagujarati",2719,"ttagurmukhi",2591,"tteharabic",1657,"ttehfinalarabic",64359,"ttehinitialarabic",64360,"ttehmedialarabic",64361,"tthabengali",2464,"tthadeva",2336,"tthagujarati",2720,"tthagurmukhi",2592,"tturned",647,"tuhiragana",12388,"tukatakana",12484,"tukatakanahalfwidth",65410,"tusmallhiragana",12387,"tusmallkatakana",12483,"tusmallkatakanahalfwidth",65391,"twelvecircle",9323,"twelveparen",9343,"twelveperiod",9363,"twelveroman",8571,"twentycircle",9331,"twentyhangzhou",21316,"twentyparen",9351,"twentyperiod",9371,"two",50,"twoarabic",1634,"twobengali",2536,"twocircle",9313,"twocircleinversesansserif",10123,"twodeva",2408,"twodotenleader",8229,"twodotleader",8229,"twodotleadervertical",65072,"twogujarati",2792,"twogurmukhi",2664,"twohackarabic",1634,"twohangzhou",12322,"twoideographicparen",12833,"twoinferior",8322,"twomonospace",65298,"twonumeratorbengali",2549,"twooldstyle",63282,"twoparen",9333,"twoperiod",9353,"twopersian",1778,"tworoman",8561,"twostroke",443,"twosuperior",178,"twothai",3666,"twothirds",8532,"u",117,"uacute",250,"ubar",649,"ubengali",2441,"ubopomofo",12584,"ubreve",365,"ucaron",468,"ucircle",9444,"ucircumflex",251,"ucircumflexbelow",7799,"ucyrillic",1091,"udattadeva",2385,"udblacute",369,"udblgrave",533,"udeva",2313,"udieresis",252,"udieresisacute",472,"udieresisbelow",7795,"udieresiscaron",474,"udieresiscyrillic",1265,"udieresisgrave",476,"udieresismacron",470,"udotbelow",7909,"ugrave",249,"ugujarati",2697,"ugurmukhi",2569,"uhiragana",12358,"uhookabove",7911,"uhorn",432,"uhornacute",7913,"uhorndotbelow",7921,"uhorngrave",7915,"uhornhookabove",7917,"uhorntilde",7919,"uhungarumlaut",369,"uhungarumlautcyrillic",1267,"uinvertedbreve",535,"ukatakana",12454,"ukatakanahalfwidth",65395,"ukcyrillic",1145,"ukorean",12636,"umacron",363,"umacroncyrillic",1263,"umacrondieresis",7803,"umatragurmukhi",2625,"umonospace",65365,"underscore",95,"underscoredbl",8215,"underscoremonospace",65343,"underscorevertical",65075,"underscorewavy",65103,"union",8746,"universal",8704,"uogonek",371,"uparen",9392,"upblock",9600,"upperdothebrew",1476,"upsilon",965,"upsilondieresis",971,"upsilondieresistonos",944,"upsilonlatin",650,"upsilontonos",973,"uptackbelowcmb",797,"uptackmod",724,"uragurmukhi",2675,"uring",367,"ushortcyrillic",1118,"usmallhiragana",12357,"usmallkatakana",12453,"usmallkatakanahalfwidth",65385,"ustraightcyrillic",1199,"ustraightstrokecyrillic",1201,"utilde",361,"utildeacute",7801,"utildebelow",7797,"uubengali",2442,"uudeva",2314,"uugujarati",2698,"uugurmukhi",2570,"uumatragurmukhi",2626,"uuvowelsignbengali",2498,"uuvowelsigndeva",2370,"uuvowelsigngujarati",2754,"uvowelsignbengali",2497,"uvowelsigndeva",2369,"uvowelsigngujarati",2753,"v",118,"vadeva",2357,"vagujarati",2741,"vagurmukhi",2613,"vakatakana",12535,"vav",1493,"vavdagesh",64309,"vavdagesh65",64309,"vavdageshhebrew",64309,"vavhebrew",1493,"vavholam",64331,"vavholamhebrew",64331,"vavvavhebrew",1520,"vavyodhebrew",1521,"vcircle",9445,"vdotbelow",7807,"vecyrillic",1074,"veharabic",1700,"vehfinalarabic",64363,"vehinitialarabic",64364,"vehmedialarabic",64365,"vekatakana",12537,"venus",9792,"verticalbar",124,"verticallineabovecmb",781,"verticallinebelowcmb",809,"verticallinelowmod",716,"verticallinemod",712,"vewarmenian",1406,"vhook",651,"vikatakana",12536,"viramabengali",2509,"viramadeva",2381,"viramagujarati",2765,"visargabengali",2435,"visargadeva",2307,"visargagujarati",2691,"vmonospace",65366,"voarmenian",1400,"voicediterationhiragana",12446,"voicediterationkatakana",12542,"voicedmarkkana",12443,"voicedmarkkanahalfwidth",65438,"vokatakana",12538,"vparen",9393,"vtilde",7805,"vturned",652,"vuhiragana",12436,"vukatakana",12532,"w",119,"wacute",7811,"waekorean",12633,"wahiragana",12431,"wakatakana",12527,"wakatakanahalfwidth",65436,"wakorean",12632,"wasmallhiragana",12430,"wasmallkatakana",12526,"wattosquare",13143,"wavedash",12316,"wavyunderscorevertical",65076,"wawarabic",1608,"wawfinalarabic",65262,"wawhamzaabovearabic",1572,"wawhamzaabovefinalarabic",65158,"wbsquare",13277,"wcircle",9446,"wcircumflex",373,"wdieresis",7813,"wdotaccent",7815,"wdotbelow",7817,"wehiragana",12433,"weierstrass",8472,"wekatakana",12529,"wekorean",12638,"weokorean",12637,"wgrave",7809,"whitebullet",9702,"whitecircle",9675,"whitecircleinverse",9689,"whitecornerbracketleft",12302,"whitecornerbracketleftvertical",65091,"whitecornerbracketright",12303,"whitecornerbracketrightvertical",65092,"whitediamond",9671,"whitediamondcontainingblacksmalldiamond",9672,"whitedownpointingsmalltriangle",9663,"whitedownpointingtriangle",9661,"whiteleftpointingsmalltriangle",9667,"whiteleftpointingtriangle",9665,"whitelenticularbracketleft",12310,"whitelenticularbracketright",12311,"whiterightpointingsmalltriangle",9657,"whiterightpointingtriangle",9655,"whitesmallsquare",9643,"whitesmilingface",9786,"whitesquare",9633,"whitestar",9734,"whitetelephone",9743,"whitetortoiseshellbracketleft",12312,"whitetortoiseshellbracketright",12313,"whiteuppointingsmalltriangle",9653,"whiteuppointingtriangle",9651,"wihiragana",12432,"wikatakana",12528,"wikorean",12639,"wmonospace",65367,"wohiragana",12434,"wokatakana",12530,"wokatakanahalfwidth",65382,"won",8361,"wonmonospace",65510,"wowaenthai",3623,"wparen",9394,"wring",7832,"wsuperior",695,"wturned",653,"wynn",447,"x",120,"xabovecmb",829,"xbopomofo",12562,"xcircle",9447,"xdieresis",7821,"xdotaccent",7819,"xeharmenian",1389,"xi",958,"xmonospace",65368,"xparen",9395,"xsuperior",739,"y",121,"yaadosquare",13134,"yabengali",2479,"yacute",253,"yadeva",2351,"yaekorean",12626,"yagujarati",2735,"yagurmukhi",2607,"yahiragana",12420,"yakatakana",12516,"yakatakanahalfwidth",65428,"yakorean",12625,"yamakkanthai",3662,"yasmallhiragana",12419,"yasmallkatakana",12515,"yasmallkatakanahalfwidth",65388,"yatcyrillic",1123,"ycircle",9448,"ycircumflex",375,"ydieresis",255,"ydotaccent",7823,"ydotbelow",7925,"yeharabic",1610,"yehbarreearabic",1746,"yehbarreefinalarabic",64431,"yehfinalarabic",65266,"yehhamzaabovearabic",1574,"yehhamzaabovefinalarabic",65162,"yehhamzaaboveinitialarabic",65163,"yehhamzaabovemedialarabic",65164,"yehinitialarabic",65267,"yehmedialarabic",65268,"yehmeeminitialarabic",64733,"yehmeemisolatedarabic",64600,"yehnoonfinalarabic",64660,"yehthreedotsbelowarabic",1745,"yekorean",12630,"yen",165,"yenmonospace",65509,"yeokorean",12629,"yeorinhieuhkorean",12678,"yerahbenyomohebrew",1450,"yerahbenyomolefthebrew",1450,"yericyrillic",1099,"yerudieresiscyrillic",1273,"yesieungkorean",12673,"yesieungpansioskorean",12675,"yesieungsioskorean",12674,"yetivhebrew",1434,"ygrave",7923,"yhook",436,"yhookabove",7927,"yiarmenian",1397,"yicyrillic",1111,"yikorean",12642,"yinyang",9775,"yiwnarmenian",1410,"ymonospace",65369,"yod",1497,"yoddagesh",64313,"yoddageshhebrew",64313,"yodhebrew",1497,"yodyodhebrew",1522,"yodyodpatahhebrew",64287,"yohiragana",12424,"yoikorean",12681,"yokatakana",12520,"yokatakanahalfwidth",65430,"yokorean",12635,"yosmallhiragana",12423,"yosmallkatakana",12519,"yosmallkatakanahalfwidth",65390,"yotgreek",1011,"yoyaekorean",12680,"yoyakorean",12679,"yoyakthai",3618,"yoyingthai",3597,"yparen",9396,"ypogegrammeni",890,"ypogegrammenigreekcmb",837,"yr",422,"yring",7833,"ysuperior",696,"ytilde",7929,"yturned",654,"yuhiragana",12422,"yuikorean",12684,"yukatakana",12518,"yukatakanahalfwidth",65429,"yukorean",12640,"yusbigcyrillic",1131,"yusbigiotifiedcyrillic",1133,"yuslittlecyrillic",1127,"yuslittleiotifiedcyrillic",1129,"yusmallhiragana",12421,"yusmallkatakana",12517,"yusmallkatakanahalfwidth",65389,"yuyekorean",12683,"yuyeokorean",12682,"yyabengali",2527,"yyadeva",2399,"z",122,"zaarmenian",1382,"zacute",378,"zadeva",2395,"zagurmukhi",2651,"zaharabic",1592,"zahfinalarabic",65222,"zahinitialarabic",65223,"zahiragana",12374,"zahmedialarabic",65224,"zainarabic",1586,"zainfinalarabic",65200,"zakatakana",12470,"zaqefgadolhebrew",1429,"zaqefqatanhebrew",1428,"zarqahebrew",1432,"zayin",1494,"zayindagesh",64310,"zayindageshhebrew",64310,"zayinhebrew",1494,"zbopomofo",12567,"zcaron",382,"zcircle",9449,"zcircumflex",7825,"zcurl",657,"zdot",380,"zdotaccent",380,"zdotbelow",7827,"zecyrillic",1079,"zedescendercyrillic",1177,"zedieresiscyrillic",1247,"zehiragana",12380,"zekatakana",12476,"zero",48,"zeroarabic",1632,"zerobengali",2534,"zerodeva",2406,"zerogujarati",2790,"zerogurmukhi",2662,"zerohackarabic",1632,"zeroinferior",8320,"zeromonospace",65296,"zerooldstyle",63280,"zeropersian",1776,"zerosuperior",8304,"zerothai",3664,"zerowidthjoiner",65279,"zerowidthnonjoiner",8204,"zerowidthspace",8203,"zeta",950,"zhbopomofo",12563,"zhearmenian",1386,"zhebrevecyrillic",1218,"zhecyrillic",1078,"zhedescendercyrillic",1175,"zhedieresiscyrillic",1245,"zihiragana",12376,"zikatakana",12472,"zinorhebrew",1454,"zlinebelow",7829,"zmonospace",65370,"zohiragana",12382,"zokatakana",12478,"zparen",9397,"zretroflexhook",656,"zstroke",438,"zuhiragana",12378,"zukatakana",12474,".notdef",0,"angbracketleftbig",9001,"angbracketleftBig",9001,"angbracketleftbigg",9001,"angbracketleftBigg",9001,"angbracketrightBig",9002,"angbracketrightbig",9002,"angbracketrightBigg",9002,"angbracketrightbigg",9002,"arrowhookleft",8618,"arrowhookright",8617,"arrowlefttophalf",8636,"arrowleftbothalf",8637,"arrownortheast",8599,"arrownorthwest",8598,"arrowrighttophalf",8640,"arrowrightbothalf",8641,"arrowsoutheast",8600,"arrowsouthwest",8601,"backslashbig",8726,"backslashBig",8726,"backslashBigg",8726,"backslashbigg",8726,"bardbl",8214,"bracehtipdownleft",65079,"bracehtipdownright",65079,"bracehtipupleft",65080,"bracehtipupright",65080,"braceleftBig",123,"braceleftbig",123,"braceleftbigg",123,"braceleftBigg",123,"bracerightBig",125,"bracerightbig",125,"bracerightbigg",125,"bracerightBigg",125,"bracketleftbig",91,"bracketleftBig",91,"bracketleftbigg",91,"bracketleftBigg",91,"bracketrightBig",93,"bracketrightbig",93,"bracketrightbigg",93,"bracketrightBigg",93,"ceilingleftbig",8968,"ceilingleftBig",8968,"ceilingleftBigg",8968,"ceilingleftbigg",8968,"ceilingrightbig",8969,"ceilingrightBig",8969,"ceilingrightbigg",8969,"ceilingrightBigg",8969,"circledotdisplay",8857,"circledottext",8857,"circlemultiplydisplay",8855,"circlemultiplytext",8855,"circleplusdisplay",8853,"circleplustext",8853,"contintegraldisplay",8750,"contintegraltext",8750,"coproductdisplay",8720,"coproducttext",8720,"floorleftBig",8970,"floorleftbig",8970,"floorleftbigg",8970,"floorleftBigg",8970,"floorrightbig",8971,"floorrightBig",8971,"floorrightBigg",8971,"floorrightbigg",8971,"hatwide",770,"hatwider",770,"hatwidest",770,"intercal",7488,"integraldisplay",8747,"integraltext",8747,"intersectiondisplay",8898,"intersectiontext",8898,"logicalanddisplay",8743,"logicalandtext",8743,"logicalordisplay",8744,"logicalortext",8744,"parenleftBig",40,"parenleftbig",40,"parenleftBigg",40,"parenleftbigg",40,"parenrightBig",41,"parenrightbig",41,"parenrightBigg",41,"parenrightbigg",41,"prime",8242,"productdisplay",8719,"producttext",8719,"radicalbig",8730,"radicalBig",8730,"radicalBigg",8730,"radicalbigg",8730,"radicalbt",8730,"radicaltp",8730,"radicalvertex",8730,"slashbig",47,"slashBig",47,"slashBigg",47,"slashbigg",47,"summationdisplay",8721,"summationtext",8721,"tildewide",732,"tildewider",732,"tildewidest",732,"uniondisplay",8899,"unionmultidisplay",8846,"unionmultitext",8846,"unionsqdisplay",8852,"unionsqtext",8852,"uniontext",8899,"vextenddouble",8741,"vextendsingle",8739]}),t=(0,T.getArrayLookupTableFactory)(function(){return["space",32,"a1",9985,"a2",9986,"a202",9987,"a3",9988,"a4",9742,"a5",9990,"a119",9991,"a118",9992,"a117",9993,"a11",9755,"a12",9758,"a13",9996,"a14",9997,"a15",9998,"a16",9999,"a105",1e4,"a17",10001,"a18",10002,"a19",10003,"a20",10004,"a21",10005,"a22",10006,"a23",10007,"a24",10008,"a25",10009,"a26",10010,"a27",10011,"a28",10012,"a6",10013,"a7",10014,"a8",10015,"a9",10016,"a10",10017,"a29",10018,"a30",10019,"a31",10020,"a32",10021,"a33",10022,"a34",10023,"a35",9733,"a36",10025,"a37",10026,"a38",10027,"a39",10028,"a40",10029,"a41",10030,"a42",10031,"a43",10032,"a44",10033,"a45",10034,"a46",10035,"a47",10036,"a48",10037,"a49",10038,"a50",10039,"a51",10040,"a52",10041,"a53",10042,"a54",10043,"a55",10044,"a56",10045,"a57",10046,"a58",10047,"a59",10048,"a60",10049,"a61",10050,"a62",10051,"a63",10052,"a64",10053,"a65",10054,"a66",10055,"a67",10056,"a68",10057,"a69",10058,"a70",10059,"a71",9679,"a72",10061,"a73",9632,"a74",10063,"a203",10064,"a75",10065,"a204",10066,"a76",9650,"a77",9660,"a78",9670,"a79",10070,"a81",9687,"a82",10072,"a83",10073,"a84",10074,"a97",10075,"a98",10076,"a99",10077,"a100",10078,"a101",10081,"a102",10082,"a103",10083,"a104",10084,"a106",10085,"a107",10086,"a108",10087,"a112",9827,"a111",9830,"a110",9829,"a109",9824,"a120",9312,"a121",9313,"a122",9314,"a123",9315,"a124",9316,"a125",9317,"a126",9318,"a127",9319,"a128",9320,"a129",9321,"a130",10102,"a131",10103,"a132",10104,"a133",10105,"a134",10106,"a135",10107,"a136",10108,"a137",10109,"a138",10110,"a139",10111,"a140",10112,"a141",10113,"a142",10114,"a143",10115,"a144",10116,"a145",10117,"a146",10118,"a147",10119,"a148",10120,"a149",10121,"a150",10122,"a151",10123,"a152",10124,"a153",10125,"a154",10126,"a155",10127,"a156",10128,"a157",10129,"a158",10130,"a159",10131,"a160",10132,"a161",8594,"a163",8596,"a164",8597,"a196",10136,"a165",10137,"a192",10138,"a166",10139,"a167",10140,"a168",10141,"a169",10142,"a170",10143,"a171",10144,"a172",10145,"a173",10146,"a162",10147,"a174",10148,"a175",10149,"a176",10150,"a177",10151,"a178",10152,"a179",10153,"a193",10154,"a180",10155,"a199",10156,"a181",10157,"a200",10158,"a182",10159,"a201",10161,"a183",10162,"a184",10163,"a197",10164,"a185",10165,"a194",10166,"a198",10167,"a186",10168,"a195",10169,"a187",10170,"a188",10171,"a189",10172,"a190",10173,"a191",10174,"a89",10088,"a90",10089,"a93",10090,"a94",10091,"a91",10092,"a92",10093,"a205",10094,"a85",10095,"a206",10096,"a86",10097,"a87",10098,"a88",10099,"a95",10100,"a96",10101,".notdef",0]})},(Me,P,D)=>{"use strict";D.r(P),D.d(P,{getNormalizedUnicodes:()=>ye,getUnicodeForGlyph:()=>e,getUnicodeRangeFor:()=>le,mapSpecialUnicodeValues:()=>t,reverseIfRtl:()=>be});var T=D(139);const b=(0,T.getLookupTableFactory)(function(xe){xe[63721]=169,xe[63193]=169,xe[63720]=174,xe[63194]=174,xe[63722]=8482,xe[63195]=8482,xe[63729]=9127,xe[63730]=9128,xe[63731]=9129,xe[63740]=9131,xe[63741]=9132,xe[63742]=9133,xe[63726]=9121,xe[63727]=9122,xe[63728]=9123,xe[63737]=9124,xe[63738]=9125,xe[63739]=9126,xe[63723]=9115,xe[63724]=9116,xe[63725]=9117,xe[63734]=9118,xe[63735]=9119,xe[63736]=9120});function t(xe){return xe>=65520&&xe<=65535?0:xe>=62976&&xe<=63743?b()[xe]||xe:xe===173?45:xe}function e(xe,ae){let d=ae[xe];if(d!==void 0)return d;if(!xe)return-1;if(xe[0]==="u"){const ce=xe.length;let q;if(ce===7&&xe[1]==="n"&&xe[2]==="i")q=xe.substring(3);else if(ce>=5&&ce<=7)q=xe.substring(1);else return-1;if(q===q.toUpperCase()&&(d=parseInt(q,16),d>=0))return d}return-1}const ge=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];function le(xe){for(let ae=0,d=ge.length;ae<d;ae++){const ce=ge[ae];if(xe>=ce.begin&&xe<ce.end)return ae}return-1}function V(xe){let ae=ge[13];return!!(xe>=ae.begin&&xe<ae.end||(ae=ge[11],xe>=ae.begin&&xe<ae.end))}const ye=(0,T.getArrayLookupTableFactory)(function(){return["\xA8"," \u0308","\xAF"," \u0304","\xB4"," \u0301","\xB5","\u03BC","\xB8"," \u0327","\u0132","IJ","\u0133","ij","\u013F","L\xB7","\u0140","l\xB7","\u0149","\u02BCn","\u017F","s","\u01C4","D\u017D","\u01C5","D\u017E","\u01C6","d\u017E","\u01C7","LJ","\u01C8","Lj","\u01C9","lj","\u01CA","NJ","\u01CB","Nj","\u01CC","nj","\u01F1","DZ","\u01F2","Dz","\u01F3","dz","\u02D8"," \u0306","\u02D9"," \u0307","\u02DA"," \u030A","\u02DB"," \u0328","\u02DC"," \u0303","\u02DD"," \u030B","\u037A"," \u0345","\u0384"," \u0301","\u03D0","\u03B2","\u03D1","\u03B8","\u03D2","\u03A5","\u03D5","\u03C6","\u03D6","\u03C0","\u03F0","\u03BA","\u03F1","\u03C1","\u03F2","\u03C2","\u03F4","\u0398","\u03F5","\u03B5","\u03F9","\u03A3","\u0587","\u0565\u0582","\u0675","\u0627\u0674","\u0676","\u0648\u0674","\u0677","\u06C7\u0674","\u0678","\u064A\u0674","\u0E33","\u0E4D\u0E32","\u0EB3","\u0ECD\u0EB2","\u0EDC","\u0EAB\u0E99","\u0EDD","\u0EAB\u0EA1","\u0F77","\u0FB2\u0F81","\u0F79","\u0FB3\u0F81","\u1E9A","a\u02BE","\u1FBD"," \u0313","\u1FBF"," \u0313","\u1FC0"," \u0342","\u1FFE"," \u0314","\u2002"," ","\u2003"," ","\u2004"," ","\u2005"," ","\u2006"," ","\u2008"," ","\u2009"," ","\u200A"," ","\u2017"," \u0333","\u2024",".","\u2025","..","\u2026","...","\u2033","\u2032\u2032","\u2034","\u2032\u2032\u2032","\u2036","\u2035\u2035","\u2037","\u2035\u2035\u2035","\u203C","!!","\u203E"," \u0305","\u2047","??","\u2048","?!","\u2049","!?","\u2057","\u2032\u2032\u2032\u2032","\u205F"," ","\u20A8","Rs","\u2100","a/c","\u2101","a/s","\u2103","\xB0C","\u2105","c/o","\u2106","c/u","\u2107","\u0190","\u2109","\xB0F","\u2116","No","\u2121","TEL","\u2135","\u05D0","\u2136","\u05D1","\u2137","\u05D2","\u2138","\u05D3","\u213B","FAX","\u2160","I","\u2161","II","\u2162","III","\u2163","IV","\u2164","V","\u2165","VI","\u2166","VII","\u2167","VIII","\u2168","IX","\u2169","X","\u216A","XI","\u216B","XII","\u216C","L","\u216D","C","\u216E","D","\u216F","M","\u2170","i","\u2171","ii","\u2172","iii","\u2173","iv","\u2174","v","\u2175","vi","\u2176","vii","\u2177","viii","\u2178","ix","\u2179","x","\u217A","xi","\u217B","xii","\u217C","l","\u217D","c","\u217E","d","\u217F","m","\u222C","\u222B\u222B","\u222D","\u222B\u222B\u222B","\u222F","\u222E\u222E","\u2230","\u222E\u222E\u222E","\u2474","(1)","\u2475","(2)","\u2476","(3)","\u2477","(4)","\u2478","(5)","\u2479","(6)","\u247A","(7)","\u247B","(8)","\u247C","(9)","\u247D","(10)","\u247E","(11)","\u247F","(12)","\u2480","(13)","\u2481","(14)","\u2482","(15)","\u2483","(16)","\u2484","(17)","\u2485","(18)","\u2486","(19)","\u2487","(20)","\u2488","1.","\u2489","2.","\u248A","3.","\u248B","4.","\u248C","5.","\u248D","6.","\u248E","7.","\u248F","8.","\u2490","9.","\u2491","10.","\u2492","11.","\u2493","12.","\u2494","13.","\u2495","14.","\u2496","15.","\u2497","16.","\u2498","17.","\u2499","18.","\u249A","19.","\u249B","20.","\u249C","(a)","\u249D","(b)","\u249E","(c)","\u249F","(d)","\u24A0","(e)","\u24A1","(f)","\u24A2","(g)","\u24A3","(h)","\u24A4","(i)","\u24A5","(j)","\u24A6","(k)","\u24A7","(l)","\u24A8","(m)","\u24A9","(n)","\u24AA","(o)","\u24AB","(p)","\u24AC","(q)","\u24AD","(r)","\u24AE","(s)","\u24AF","(t)","\u24B0","(u)","\u24B1","(v)","\u24B2","(w)","\u24B3","(x)","\u24B4","(y)","\u24B5","(z)","\u2A0C","\u222B\u222B\u222B\u222B","\u2A74","::=","\u2A75","==","\u2A76","===","\u2E9F","\u6BCD","\u2EF3","\u9F9F","\u2F00","\u4E00","\u2F01","\u4E28","\u2F02","\u4E36","\u2F03","\u4E3F","\u2F04","\u4E59","\u2F05","\u4E85","\u2F06","\u4E8C","\u2F07","\u4EA0","\u2F08","\u4EBA","\u2F09","\u513F","\u2F0A","\u5165","\u2F0B","\u516B","\u2F0C","\u5182","\u2F0D","\u5196","\u2F0E","\u51AB","\u2F0F","\u51E0","\u2F10","\u51F5","\u2F11","\u5200","\u2F12","\u529B","\u2F13","\u52F9","\u2F14","\u5315","\u2F15","\u531A","\u2F16","\u5338","\u2F17","\u5341","\u2F18","\u535C","\u2F19","\u5369","\u2F1A","\u5382","\u2F1B","\u53B6","\u2F1C","\u53C8","\u2F1D","\u53E3","\u2F1E","\u56D7","\u2F1F","\u571F","\u2F20","\u58EB","\u2F21","\u5902","\u2F22","\u590A","\u2F23","\u5915","\u2F24","\u5927","\u2F25","\u5973","\u2F26","\u5B50","\u2F27","\u5B80","\u2F28","\u5BF8","\u2F29","\u5C0F","\u2F2A","\u5C22","\u2F2B","\u5C38","\u2F2C","\u5C6E","\u2F2D","\u5C71","\u2F2E","\u5DDB","\u2F2F","\u5DE5","\u2F30","\u5DF1","\u2F31","\u5DFE","\u2F32","\u5E72","\u2F33","\u5E7A","\u2F34","\u5E7F","\u2F35","\u5EF4","\u2F36","\u5EFE","\u2F37","\u5F0B","\u2F38","\u5F13","\u2F39","\u5F50","\u2F3A","\u5F61","\u2F3B","\u5F73","\u2F3C","\u5FC3","\u2F3D","\u6208","\u2F3E","\u6236","\u2F3F","\u624B","\u2F40","\u652F","\u2F41","\u6534","\u2F42","\u6587","\u2F43","\u6597","\u2F44","\u65A4","\u2F45","\u65B9","\u2F46","\u65E0","\u2F47","\u65E5","\u2F48","\u66F0","\u2F49","\u6708","\u2F4A","\u6728","\u2F4B","\u6B20","\u2F4C","\u6B62","\u2F4D","\u6B79","\u2F4E","\u6BB3","\u2F4F","\u6BCB","\u2F50","\u6BD4","\u2F51","\u6BDB","\u2F52","\u6C0F","\u2F53","\u6C14","\u2F54","\u6C34","\u2F55","\u706B","\u2F56","\u722A","\u2F57","\u7236","\u2F58","\u723B","\u2F59","\u723F","\u2F5A","\u7247","\u2F5B","\u7259","\u2F5C","\u725B","\u2F5D","\u72AC","\u2F5E","\u7384","\u2F5F","\u7389","\u2F60","\u74DC","\u2F61","\u74E6","\u2F62","\u7518","\u2F63","\u751F","\u2F64","\u7528","\u2F65","\u7530","\u2F66","\u758B","\u2F67","\u7592","\u2F68","\u7676","\u2F69","\u767D","\u2F6A","\u76AE","\u2F6B","\u76BF","\u2F6C","\u76EE","\u2F6D","\u77DB","\u2F6E","\u77E2","\u2F6F","\u77F3","\u2F70","\u793A","\u2F71","\u79B8","\u2F72","\u79BE","\u2F73","\u7A74","\u2F74","\u7ACB","\u2F75","\u7AF9","\u2F76","\u7C73","\u2F77","\u7CF8","\u2F78","\u7F36","\u2F79","\u7F51","\u2F7A","\u7F8A","\u2F7B","\u7FBD","\u2F7C","\u8001","\u2F7D","\u800C","\u2F7E","\u8012","\u2F7F","\u8033","\u2F80","\u807F","\u2F81","\u8089","\u2F82","\u81E3","\u2F83","\u81EA","\u2F84","\u81F3","\u2F85","\u81FC","\u2F86","\u820C","\u2F87","\u821B","\u2F88","\u821F","\u2F89","\u826E","\u2F8A","\u8272","\u2F8B","\u8278","\u2F8C","\u864D","\u2F8D","\u866B","\u2F8E","\u8840","\u2F8F","\u884C","\u2F90","\u8863","\u2F91","\u897E","\u2F92","\u898B","\u2F93","\u89D2","\u2F94","\u8A00","\u2F95","\u8C37","\u2F96","\u8C46","\u2F97","\u8C55","\u2F98","\u8C78","\u2F99","\u8C9D","\u2F9A","\u8D64","\u2F9B","\u8D70","\u2F9C","\u8DB3","\u2F9D","\u8EAB","\u2F9E","\u8ECA","\u2F9F","\u8F9B","\u2FA0","\u8FB0","\u2FA1","\u8FB5","\u2FA2","\u9091","\u2FA3","\u9149","\u2FA4","\u91C6","\u2FA5","\u91CC","\u2FA6","\u91D1","\u2FA7","\u9577","\u2FA8","\u9580","\u2FA9","\u961C","\u2FAA","\u96B6","\u2FAB","\u96B9","\u2FAC","\u96E8","\u2FAD","\u9751","\u2FAE","\u975E","\u2FAF","\u9762","\u2FB0","\u9769","\u2FB1","\u97CB","\u2FB2","\u97ED","\u2FB3","\u97F3","\u2FB4","\u9801","\u2FB5","\u98A8","\u2FB6","\u98DB","\u2FB7","\u98DF","\u2FB8","\u9996","\u2FB9","\u9999","\u2FBA","\u99AC","\u2FBB","\u9AA8","\u2FBC","\u9AD8","\u2FBD","\u9ADF","\u2FBE","\u9B25","\u2FBF","\u9B2F","\u2FC0","\u9B32","\u2FC1","\u9B3C","\u2FC2","\u9B5A","\u2FC3","\u9CE5","\u2FC4","\u9E75","\u2FC5","\u9E7F","\u2FC6","\u9EA5","\u2FC7","\u9EBB","\u2FC8","\u9EC3","\u2FC9","\u9ECD","\u2FCA","\u9ED1","\u2FCB","\u9EF9","\u2FCC","\u9EFD","\u2FCD","\u9F0E","\u2FCE","\u9F13","\u2FCF","\u9F20","\u2FD0","\u9F3B","\u2FD1","\u9F4A","\u2FD2","\u9F52","\u2FD3","\u9F8D","\u2FD4","\u9F9C","\u2FD5","\u9FA0","\u3036","\u3012","\u3038","\u5341","\u3039","\u5344","\u303A","\u5345","\u309B"," \u3099","\u309C"," \u309A","\u3131","\u1100","\u3132","\u1101","\u3133","\u11AA","\u3134","\u1102","\u3135","\u11AC","\u3136","\u11AD","\u3137","\u1103","\u3138","\u1104","\u3139","\u1105","\u313A","\u11B0","\u313B","\u11B1","\u313C","\u11B2","\u313D","\u11B3","\u313E","\u11B4","\u313F","\u11B5","\u3140","\u111A","\u3141","\u1106","\u3142","\u1107","\u3143","\u1108","\u3144","\u1121","\u3145","\u1109","\u3146","\u110A","\u3147","\u110B","\u3148","\u110C","\u3149","\u110D","\u314A","\u110E","\u314B","\u110F","\u314C","\u1110","\u314D","\u1111","\u314E","\u1112","\u314F","\u1161","\u3150","\u1162","\u3151","\u1163","\u3152","\u1164","\u3153","\u1165","\u3154","\u1166","\u3155","\u1167","\u3156","\u1168","\u3157","\u1169","\u3158","\u116A","\u3159","\u116B","\u315A","\u116C","\u315B","\u116D","\u315C","\u116E","\u315D","\u116F","\u315E","\u1170","\u315F","\u1171","\u3160","\u1172","\u3161","\u1173","\u3162","\u1174","\u3163","\u1175","\u3164","\u1160","\u3165","\u1114","\u3166","\u1115","\u3167","\u11C7","\u3168","\u11C8","\u3169","\u11CC","\u316A","\u11CE","\u316B","\u11D3","\u316C","\u11D7","\u316D","\u11D9","\u316E","\u111C","\u316F","\u11DD","\u3170","\u11DF","\u3171","\u111D","\u3172","\u111E","\u3173","\u1120","\u3174","\u1122","\u3175","\u1123","\u3176","\u1127","\u3177","\u1129","\u3178","\u112B","\u3179","\u112C","\u317A","\u112D","\u317B","\u112E","\u317C","\u112F","\u317D","\u1132","\u317E","\u1136","\u317F","\u1140","\u3180","\u1147","\u3181","\u114C","\u3182","\u11F1","\u3183","\u11F2","\u3184","\u1157","\u3185","\u1158","\u3186","\u1159","\u3187","\u1184","\u3188","\u1185","\u3189","\u1188","\u318A","\u1191","\u318B","\u1192","\u318C","\u1194","\u318D","\u119E","\u318E","\u11A1","\u3200","(\u1100)","\u3201","(\u1102)","\u3202","(\u1103)","\u3203","(\u1105)","\u3204","(\u1106)","\u3205","(\u1107)","\u3206","(\u1109)","\u3207","(\u110B)","\u3208","(\u110C)","\u3209","(\u110E)","\u320A","(\u110F)","\u320B","(\u1110)","\u320C","(\u1111)","\u320D","(\u1112)","\u320E","(\u1100\u1161)","\u320F","(\u1102\u1161)","\u3210","(\u1103\u1161)","\u3211","(\u1105\u1161)","\u3212","(\u1106\u1161)","\u3213","(\u1107\u1161)","\u3214","(\u1109\u1161)","\u3215","(\u110B\u1161)","\u3216","(\u110C\u1161)","\u3217","(\u110E\u1161)","\u3218","(\u110F\u1161)","\u3219","(\u1110\u1161)","\u321A","(\u1111\u1161)","\u321B","(\u1112\u1161)","\u321C","(\u110C\u116E)","\u321D","(\u110B\u1169\u110C\u1165\u11AB)","\u321E","(\u110B\u1169\u1112\u116E)","\u3220","(\u4E00)","\u3221","(\u4E8C)","\u3222","(\u4E09)","\u3223","(\u56DB)","\u3224","(\u4E94)","\u3225","(\u516D)","\u3226","(\u4E03)","\u3227","(\u516B)","\u3228","(\u4E5D)","\u3229","(\u5341)","\u322A","(\u6708)","\u322B","(\u706B)","\u322C","(\u6C34)","\u322D","(\u6728)","\u322E","(\u91D1)","\u322F","(\u571F)","\u3230","(\u65E5)","\u3231","(\u682A)","\u3232","(\u6709)","\u3233","(\u793E)","\u3234","(\u540D)","\u3235","(\u7279)","\u3236","(\u8CA1)","\u3237","(\u795D)","\u3238","(\u52B4)","\u3239","(\u4EE3)","\u323A","(\u547C)","\u323B","(\u5B66)","\u323C","(\u76E3)","\u323D","(\u4F01)","\u323E","(\u8CC7)","\u323F","(\u5354)","\u3240","(\u796D)","\u3241","(\u4F11)","\u3242","(\u81EA)","\u3243","(\u81F3)","\u32C0","1\u6708","\u32C1","2\u6708","\u32C2","3\u6708","\u32C3","4\u6708","\u32C4","5\u6708","\u32C5","6\u6708","\u32C6","7\u6708","\u32C7","8\u6708","\u32C8","9\u6708","\u32C9","10\u6708","\u32CA","11\u6708","\u32CB","12\u6708","\u3358","0\u70B9","\u3359","1\u70B9","\u335A","2\u70B9","\u335B","3\u70B9","\u335C","4\u70B9","\u335D","5\u70B9","\u335E","6\u70B9","\u335F","7\u70B9","\u3360","8\u70B9","\u3361","9\u70B9","\u3362","10\u70B9","\u3363","11\u70B9","\u3364","12\u70B9","\u3365","13\u70B9","\u3366","14\u70B9","\u3367","15\u70B9","\u3368","16\u70B9","\u3369","17\u70B9","\u336A","18\u70B9","\u336B","19\u70B9","\u336C","20\u70B9","\u336D","21\u70B9","\u336E","22\u70B9","\u336F","23\u70B9","\u3370","24\u70B9","\u33E0","1\u65E5","\u33E1","2\u65E5","\u33E2","3\u65E5","\u33E3","4\u65E5","\u33E4","5\u65E5","\u33E5","6\u65E5","\u33E6","7\u65E5","\u33E7","8\u65E5","\u33E8","9\u65E5","\u33E9","10\u65E5","\u33EA","11\u65E5","\u33EB","12\u65E5","\u33EC","13\u65E5","\u33ED","14\u65E5","\u33EE","15\u65E5","\u33EF","16\u65E5","\u33F0","17\u65E5","\u33F1","18\u65E5","\u33F2","19\u65E5","\u33F3","20\u65E5","\u33F4","21\u65E5","\u33F5","22\u65E5","\u33F6","23\u65E5","\u33F7","24\u65E5","\u33F8","25\u65E5","\u33F9","26\u65E5","\u33FA","27\u65E5","\u33FB","28\u65E5","\u33FC","29\u65E5","\u33FD","30\u65E5","\u33FE","31\u65E5","\uFB00","ff","\uFB01","fi","\uFB02","fl","\uFB03","ffi","\uFB04","ffl","\uFB05","\u017Ft","\uFB06","st","\uFB13","\u0574\u0576","\uFB14","\u0574\u0565","\uFB15","\u0574\u056B","\uFB16","\u057E\u0576","\uFB17","\u0574\u056D","\uFB4F","\u05D0\u05DC","\uFB50","\u0671","\uFB51","\u0671","\uFB52","\u067B","\uFB53","\u067B","\uFB54","\u067B","\uFB55","\u067B","\uFB56","\u067E","\uFB57","\u067E","\uFB58","\u067E","\uFB59","\u067E","\uFB5A","\u0680","\uFB5B","\u0680","\uFB5C","\u0680","\uFB5D","\u0680","\uFB5E","\u067A","\uFB5F","\u067A","\uFB60","\u067A","\uFB61","\u067A","\uFB62","\u067F","\uFB63","\u067F","\uFB64","\u067F","\uFB65","\u067F","\uFB66","\u0679","\uFB67","\u0679","\uFB68","\u0679","\uFB69","\u0679","\uFB6A","\u06A4","\uFB6B","\u06A4","\uFB6C","\u06A4","\uFB6D","\u06A4","\uFB6E","\u06A6","\uFB6F","\u06A6","\uFB70","\u06A6","\uFB71","\u06A6","\uFB72","\u0684","\uFB73","\u0684","\uFB74","\u0684","\uFB75","\u0684","\uFB76","\u0683","\uFB77","\u0683","\uFB78","\u0683","\uFB79","\u0683","\uFB7A","\u0686","\uFB7B","\u0686","\uFB7C","\u0686","\uFB7D","\u0686","\uFB7E","\u0687","\uFB7F","\u0687","\uFB80","\u0687","\uFB81","\u0687","\uFB82","\u068D","\uFB83","\u068D","\uFB84","\u068C","\uFB85","\u068C","\uFB86","\u068E","\uFB87","\u068E","\uFB88","\u0688","\uFB89","\u0688","\uFB8A","\u0698","\uFB8B","\u0698","\uFB8C","\u0691","\uFB8D","\u0691","\uFB8E","\u06A9","\uFB8F","\u06A9","\uFB90","\u06A9","\uFB91","\u06A9","\uFB92","\u06AF","\uFB93","\u06AF","\uFB94","\u06AF","\uFB95","\u06AF","\uFB96","\u06B3","\uFB97","\u06B3","\uFB98","\u06B3","\uFB99","\u06B3","\uFB9A","\u06B1","\uFB9B","\u06B1","\uFB9C","\u06B1","\uFB9D","\u06B1","\uFB9E","\u06BA","\uFB9F","\u06BA","\uFBA0","\u06BB","\uFBA1","\u06BB","\uFBA2","\u06BB","\uFBA3","\u06BB","\uFBA4","\u06C0","\uFBA5","\u06C0","\uFBA6","\u06C1","\uFBA7","\u06C1","\uFBA8","\u06C1","\uFBA9","\u06C1","\uFBAA","\u06BE","\uFBAB","\u06BE","\uFBAC","\u06BE","\uFBAD","\u06BE","\uFBAE","\u06D2","\uFBAF","\u06D2","\uFBB0","\u06D3","\uFBB1","\u06D3","\uFBD3","\u06AD","\uFBD4","\u06AD","\uFBD5","\u06AD","\uFBD6","\u06AD","\uFBD7","\u06C7","\uFBD8","\u06C7","\uFBD9","\u06C6","\uFBDA","\u06C6","\uFBDB","\u06C8","\uFBDC","\u06C8","\uFBDD","\u0677","\uFBDE","\u06CB","\uFBDF","\u06CB","\uFBE0","\u06C5","\uFBE1","\u06C5","\uFBE2","\u06C9","\uFBE3","\u06C9","\uFBE4","\u06D0","\uFBE5","\u06D0","\uFBE6","\u06D0","\uFBE7","\u06D0","\uFBE8","\u0649","\uFBE9","\u0649","\uFBEA","\u0626\u0627","\uFBEB","\u0626\u0627","\uFBEC","\u0626\u06D5","\uFBED","\u0626\u06D5","\uFBEE","\u0626\u0648","\uFBEF","\u0626\u0648","\uFBF0","\u0626\u06C7","\uFBF1","\u0626\u06C7","\uFBF2","\u0626\u06C6","\uFBF3","\u0626\u06C6","\uFBF4","\u0626\u06C8","\uFBF5","\u0626\u06C8","\uFBF6","\u0626\u06D0","\uFBF7","\u0626\u06D0","\uFBF8","\u0626\u06D0","\uFBF9","\u0626\u0649","\uFBFA","\u0626\u0649","\uFBFB","\u0626\u0649","\uFBFC","\u06CC","\uFBFD","\u06CC","\uFBFE","\u06CC","\uFBFF","\u06CC","\uFC00","\u0626\u062C","\uFC01","\u0626\u062D","\uFC02","\u0626\u0645","\uFC03","\u0626\u0649","\uFC04","\u0626\u064A","\uFC05","\u0628\u062C","\uFC06","\u0628\u062D","\uFC07","\u0628\u062E","\uFC08","\u0628\u0645","\uFC09","\u0628\u0649","\uFC0A","\u0628\u064A","\uFC0B","\u062A\u062C","\uFC0C","\u062A\u062D","\uFC0D","\u062A\u062E","\uFC0E","\u062A\u0645","\uFC0F","\u062A\u0649","\uFC10","\u062A\u064A","\uFC11","\u062B\u062C","\uFC12","\u062B\u0645","\uFC13","\u062B\u0649","\uFC14","\u062B\u064A","\uFC15","\u062C\u062D","\uFC16","\u062C\u0645","\uFC17","\u062D\u062C","\uFC18","\u062D\u0645","\uFC19","\u062E\u062C","\uFC1A","\u062E\u062D","\uFC1B","\u062E\u0645","\uFC1C","\u0633\u062C","\uFC1D","\u0633\u062D","\uFC1E","\u0633\u062E","\uFC1F","\u0633\u0645","\uFC20","\u0635\u062D","\uFC21","\u0635\u0645","\uFC22","\u0636\u062C","\uFC23","\u0636\u062D","\uFC24","\u0636\u062E","\uFC25","\u0636\u0645","\uFC26","\u0637\u062D","\uFC27","\u0637\u0645","\uFC28","\u0638\u0645","\uFC29","\u0639\u062C","\uFC2A","\u0639\u0645","\uFC2B","\u063A\u062C","\uFC2C","\u063A\u0645","\uFC2D","\u0641\u062C","\uFC2E","\u0641\u062D","\uFC2F","\u0641\u062E","\uFC30","\u0641\u0645","\uFC31","\u0641\u0649","\uFC32","\u0641\u064A","\uFC33","\u0642\u062D","\uFC34","\u0642\u0645","\uFC35","\u0642\u0649","\uFC36","\u0642\u064A","\uFC37","\u0643\u0627","\uFC38","\u0643\u062C","\uFC39","\u0643\u062D","\uFC3A","\u0643\u062E","\uFC3B","\u0643\u0644","\uFC3C","\u0643\u0645","\uFC3D","\u0643\u0649","\uFC3E","\u0643\u064A","\uFC3F","\u0644\u062C","\uFC40","\u0644\u062D","\uFC41","\u0644\u062E","\uFC42","\u0644\u0645","\uFC43","\u0644\u0649","\uFC44","\u0644\u064A","\uFC45","\u0645\u062C","\uFC46","\u0645\u062D","\uFC47","\u0645\u062E","\uFC48","\u0645\u0645","\uFC49","\u0645\u0649","\uFC4A","\u0645\u064A","\uFC4B","\u0646\u062C","\uFC4C","\u0646\u062D","\uFC4D","\u0646\u062E","\uFC4E","\u0646\u0645","\uFC4F","\u0646\u0649","\uFC50","\u0646\u064A","\uFC51","\u0647\u062C","\uFC52","\u0647\u0645","\uFC53","\u0647\u0649","\uFC54","\u0647\u064A","\uFC55","\u064A\u062C","\uFC56","\u064A\u062D","\uFC57","\u064A\u062E","\uFC58","\u064A\u0645","\uFC59","\u064A\u0649","\uFC5A","\u064A\u064A","\uFC5B","\u0630\u0670","\uFC5C","\u0631\u0670","\uFC5D","\u0649\u0670","\uFC5E"," \u064C\u0651","\uFC5F"," \u064D\u0651","\uFC60"," \u064E\u0651","\uFC61"," \u064F\u0651","\uFC62"," \u0650\u0651","\uFC63"," \u0651\u0670","\uFC64","\u0626\u0631","\uFC65","\u0626\u0632","\uFC66","\u0626\u0645","\uFC67","\u0626\u0646","\uFC68","\u0626\u0649","\uFC69","\u0626\u064A","\uFC6A","\u0628\u0631","\uFC6B","\u0628\u0632","\uFC6C","\u0628\u0645","\uFC6D","\u0628\u0646","\uFC6E","\u0628\u0649","\uFC6F","\u0628\u064A","\uFC70","\u062A\u0631","\uFC71","\u062A\u0632","\uFC72","\u062A\u0645","\uFC73","\u062A\u0646","\uFC74","\u062A\u0649","\uFC75","\u062A\u064A","\uFC76","\u062B\u0631","\uFC77","\u062B\u0632","\uFC78","\u062B\u0645","\uFC79","\u062B\u0646","\uFC7A","\u062B\u0649","\uFC7B","\u062B\u064A","\uFC7C","\u0641\u0649","\uFC7D","\u0641\u064A","\uFC7E","\u0642\u0649","\uFC7F","\u0642\u064A","\uFC80","\u0643\u0627","\uFC81","\u0643\u0644","\uFC82","\u0643\u0645","\uFC83","\u0643\u0649","\uFC84","\u0643\u064A","\uFC85","\u0644\u0645","\uFC86","\u0644\u0649","\uFC87","\u0644\u064A","\uFC88","\u0645\u0627","\uFC89","\u0645\u0645","\uFC8A","\u0646\u0631","\uFC8B","\u0646\u0632","\uFC8C","\u0646\u0645","\uFC8D","\u0646\u0646","\uFC8E","\u0646\u0649","\uFC8F","\u0646\u064A","\uFC90","\u0649\u0670","\uFC91","\u064A\u0631","\uFC92","\u064A\u0632","\uFC93","\u064A\u0645","\uFC94","\u064A\u0646","\uFC95","\u064A\u0649","\uFC96","\u064A\u064A","\uFC97","\u0626\u062C","\uFC98","\u0626\u062D","\uFC99","\u0626\u062E","\uFC9A","\u0626\u0645","\uFC9B","\u0626\u0647","\uFC9C","\u0628\u062C","\uFC9D","\u0628\u062D","\uFC9E","\u0628\u062E","\uFC9F","\u0628\u0645","\uFCA0","\u0628\u0647","\uFCA1","\u062A\u062C","\uFCA2","\u062A\u062D","\uFCA3","\u062A\u062E","\uFCA4","\u062A\u0645","\uFCA5","\u062A\u0647","\uFCA6","\u062B\u0645","\uFCA7","\u062C\u062D","\uFCA8","\u062C\u0645","\uFCA9","\u062D\u062C","\uFCAA","\u062D\u0645","\uFCAB","\u062E\u062C","\uFCAC","\u062E\u0645","\uFCAD","\u0633\u062C","\uFCAE","\u0633\u062D","\uFCAF","\u0633\u062E","\uFCB0","\u0633\u0645","\uFCB1","\u0635\u062D","\uFCB2","\u0635\u062E","\uFCB3","\u0635\u0645","\uFCB4","\u0636\u062C","\uFCB5","\u0636\u062D","\uFCB6","\u0636\u062E","\uFCB7","\u0636\u0645","\uFCB8","\u0637\u062D","\uFCB9","\u0638\u0645","\uFCBA","\u0639\u062C","\uFCBB","\u0639\u0645","\uFCBC","\u063A\u062C","\uFCBD","\u063A\u0645","\uFCBE","\u0641\u062C","\uFCBF","\u0641\u062D","\uFCC0","\u0641\u062E","\uFCC1","\u0641\u0645","\uFCC2","\u0642\u062D","\uFCC3","\u0642\u0645","\uFCC4","\u0643\u062C","\uFCC5","\u0643\u062D","\uFCC6","\u0643\u062E","\uFCC7","\u0643\u0644","\uFCC8","\u0643\u0645","\uFCC9","\u0644\u062C","\uFCCA","\u0644\u062D","\uFCCB","\u0644\u062E","\uFCCC","\u0644\u0645","\uFCCD","\u0644\u0647","\uFCCE","\u0645\u062C","\uFCCF","\u0645\u062D","\uFCD0","\u0645\u062E","\uFCD1","\u0645\u0645","\uFCD2","\u0646\u062C","\uFCD3","\u0646\u062D","\uFCD4","\u0646\u062E","\uFCD5","\u0646\u0645","\uFCD6","\u0646\u0647","\uFCD7","\u0647\u062C","\uFCD8","\u0647\u0645","\uFCD9","\u0647\u0670","\uFCDA","\u064A\u062C","\uFCDB","\u064A\u062D","\uFCDC","\u064A\u062E","\uFCDD","\u064A\u0645","\uFCDE","\u064A\u0647","\uFCDF","\u0626\u0645","\uFCE0","\u0626\u0647","\uFCE1","\u0628\u0645","\uFCE2","\u0628\u0647","\uFCE3","\u062A\u0645","\uFCE4","\u062A\u0647","\uFCE5","\u062B\u0645","\uFCE6","\u062B\u0647","\uFCE7","\u0633\u0645","\uFCE8","\u0633\u0647","\uFCE9","\u0634\u0645","\uFCEA","\u0634\u0647","\uFCEB","\u0643\u0644","\uFCEC","\u0643\u0645","\uFCED","\u0644\u0645","\uFCEE","\u0646\u0645","\uFCEF","\u0646\u0647","\uFCF0","\u064A\u0645","\uFCF1","\u064A\u0647","\uFCF2","\u0640\u064E\u0651","\uFCF3","\u0640\u064F\u0651","\uFCF4","\u0640\u0650\u0651","\uFCF5","\u0637\u0649","\uFCF6","\u0637\u064A","\uFCF7","\u0639\u0649","\uFCF8","\u0639\u064A","\uFCF9","\u063A\u0649","\uFCFA","\u063A\u064A","\uFCFB","\u0633\u0649","\uFCFC","\u0633\u064A","\uFCFD","\u0634\u0649","\uFCFE","\u0634\u064A","\uFCFF","\u062D\u0649","\uFD00","\u062D\u064A","\uFD01","\u062C\u0649","\uFD02","\u062C\u064A","\uFD03","\u062E\u0649","\uFD04","\u062E\u064A","\uFD05","\u0635\u0649","\uFD06","\u0635\u064A","\uFD07","\u0636\u0649","\uFD08","\u0636\u064A","\uFD09","\u0634\u062C","\uFD0A","\u0634\u062D","\uFD0B","\u0634\u062E","\uFD0C","\u0634\u0645","\uFD0D","\u0634\u0631","\uFD0E","\u0633\u0631","\uFD0F","\u0635\u0631","\uFD10","\u0636\u0631","\uFD11","\u0637\u0649","\uFD12","\u0637\u064A","\uFD13","\u0639\u0649","\uFD14","\u0639\u064A","\uFD15","\u063A\u0649","\uFD16","\u063A\u064A","\uFD17","\u0633\u0649","\uFD18","\u0633\u064A","\uFD19","\u0634\u0649","\uFD1A","\u0634\u064A","\uFD1B","\u062D\u0649","\uFD1C","\u062D\u064A","\uFD1D","\u062C\u0649","\uFD1E","\u062C\u064A","\uFD1F","\u062E\u0649","\uFD20","\u062E\u064A","\uFD21","\u0635\u0649","\uFD22","\u0635\u064A","\uFD23","\u0636\u0649","\uFD24","\u0636\u064A","\uFD25","\u0634\u062C","\uFD26","\u0634\u062D","\uFD27","\u0634\u062E","\uFD28","\u0634\u0645","\uFD29","\u0634\u0631","\uFD2A","\u0633\u0631","\uFD2B","\u0635\u0631","\uFD2C","\u0636\u0631","\uFD2D","\u0634\u062C","\uFD2E","\u0634\u062D","\uFD2F","\u0634\u062E","\uFD30","\u0634\u0645","\uFD31","\u0633\u0647","\uFD32","\u0634\u0647","\uFD33","\u0637\u0645","\uFD34","\u0633\u062C","\uFD35","\u0633\u062D","\uFD36","\u0633\u062E","\uFD37","\u0634\u062C","\uFD38","\u0634\u062D","\uFD39","\u0634\u062E","\uFD3A","\u0637\u0645","\uFD3B","\u0638\u0645","\uFD3C","\u0627\u064B","\uFD3D","\u0627\u064B","\uFD50","\u062A\u062C\u0645","\uFD51","\u062A\u062D\u062C","\uFD52","\u062A\u062D\u062C","\uFD53","\u062A\u062D\u0645","\uFD54","\u062A\u062E\u0645","\uFD55","\u062A\u0645\u062C","\uFD56","\u062A\u0645\u062D","\uFD57","\u062A\u0645\u062E","\uFD58","\u062C\u0645\u062D","\uFD59","\u062C\u0645\u062D","\uFD5A","\u062D\u0645\u064A","\uFD5B","\u062D\u0645\u0649","\uFD5C","\u0633\u062D\u062C","\uFD5D","\u0633\u062C\u062D","\uFD5E","\u0633\u062C\u0649","\uFD5F","\u0633\u0645\u062D","\uFD60","\u0633\u0645\u062D","\uFD61","\u0633\u0645\u062C","\uFD62","\u0633\u0645\u0645","\uFD63","\u0633\u0645\u0645","\uFD64","\u0635\u062D\u062D","\uFD65","\u0635\u062D\u062D","\uFD66","\u0635\u0645\u0645","\uFD67","\u0634\u062D\u0645","\uFD68","\u0634\u062D\u0645","\uFD69","\u0634\u062C\u064A","\uFD6A","\u0634\u0645\u062E","\uFD6B","\u0634\u0645\u062E","\uFD6C","\u0634\u0645\u0645","\uFD6D","\u0634\u0645\u0645","\uFD6E","\u0636\u062D\u0649","\uFD6F","\u0636\u062E\u0645","\uFD70","\u0636\u062E\u0645","\uFD71","\u0637\u0645\u062D","\uFD72","\u0637\u0645\u062D","\uFD73","\u0637\u0645\u0645","\uFD74","\u0637\u0645\u064A","\uFD75","\u0639\u062C\u0645","\uFD76","\u0639\u0645\u0645","\uFD77","\u0639\u0645\u0645","\uFD78","\u0639\u0645\u0649","\uFD79","\u063A\u0645\u0645","\uFD7A","\u063A\u0645\u064A","\uFD7B","\u063A\u0645\u0649","\uFD7C","\u0641\u062E\u0645","\uFD7D","\u0641\u062E\u0645","\uFD7E","\u0642\u0645\u062D","\uFD7F","\u0642\u0645\u0645","\uFD80","\u0644\u062D\u0645","\uFD81","\u0644\u062D\u064A","\uFD82","\u0644\u062D\u0649","\uFD83","\u0644\u062C\u062C","\uFD84","\u0644\u062C\u062C","\uFD85","\u0644\u062E\u0645","\uFD86","\u0644\u062E\u0645","\uFD87","\u0644\u0645\u062D","\uFD88","\u0644\u0645\u062D","\uFD89","\u0645\u062D\u062C","\uFD8A","\u0645\u062D\u0645","\uFD8B","\u0645\u062D\u064A","\uFD8C","\u0645\u062C\u062D","\uFD8D","\u0645\u062C\u0645","\uFD8E","\u0645\u062E\u062C","\uFD8F","\u0645\u062E\u0645","\uFD92","\u0645\u062C\u062E","\uFD93","\u0647\u0645\u062C","\uFD94","\u0647\u0645\u0645","\uFD95","\u0646\u062D\u0645","\uFD96","\u0646\u062D\u0649","\uFD97","\u0646\u062C\u0645","\uFD98","\u0646\u062C\u0645","\uFD99","\u0646\u062C\u0649","\uFD9A","\u0646\u0645\u064A","\uFD9B","\u0646\u0645\u0649","\uFD9C","\u064A\u0645\u0645","\uFD9D","\u064A\u0645\u0645","\uFD9E","\u0628\u062E\u064A","\uFD9F","\u062A\u062C\u064A","\uFDA0","\u062A\u062C\u0649","\uFDA1","\u062A\u062E\u064A","\uFDA2","\u062A\u062E\u0649","\uFDA3","\u062A\u0645\u064A","\uFDA4","\u062A\u0645\u0649","\uFDA5","\u062C\u0645\u064A","\uFDA6","\u062C\u062D\u0649","\uFDA7","\u062C\u0645\u0649","\uFDA8","\u0633\u062E\u0649","\uFDA9","\u0635\u062D\u064A","\uFDAA","\u0634\u062D\u064A","\uFDAB","\u0636\u062D\u064A","\uFDAC","\u0644\u062C\u064A","\uFDAD","\u0644\u0645\u064A","\uFDAE","\u064A\u062D\u064A","\uFDAF","\u064A\u062C\u064A","\uFDB0","\u064A\u0645\u064A","\uFDB1","\u0645\u0645\u064A","\uFDB2","\u0642\u0645\u064A","\uFDB3","\u0646\u062D\u064A","\uFDB4","\u0642\u0645\u062D","\uFDB5","\u0644\u062D\u0645","\uFDB6","\u0639\u0645\u064A","\uFDB7","\u0643\u0645\u064A","\uFDB8","\u0646\u062C\u062D","\uFDB9","\u0645\u062E\u064A","\uFDBA","\u0644\u062C\u0645","\uFDBB","\u0643\u0645\u0645","\uFDBC","\u0644\u062C\u0645","\uFDBD","\u0646\u062C\u062D","\uFDBE","\u062C\u062D\u064A","\uFDBF","\u062D\u062C\u064A","\uFDC0","\u0645\u062C\u064A","\uFDC1","\u0641\u0645\u064A","\uFDC2","\u0628\u062D\u064A","\uFDC3","\u0643\u0645\u0645","\uFDC4","\u0639\u062C\u0645","\uFDC5","\u0635\u0645\u0645","\uFDC6","\u0633\u062E\u064A","\uFDC7","\u0646\u062C\u064A","\uFE49","\u203E","\uFE4A","\u203E","\uFE4B","\u203E","\uFE4C","\u203E","\uFE4D","_","\uFE4E","_","\uFE4F","_","\uFE80","\u0621","\uFE81","\u0622","\uFE82","\u0622","\uFE83","\u0623","\uFE84","\u0623","\uFE85","\u0624","\uFE86","\u0624","\uFE87","\u0625","\uFE88","\u0625","\uFE89","\u0626","\uFE8A","\u0626","\uFE8B","\u0626","\uFE8C","\u0626","\uFE8D","\u0627","\uFE8E","\u0627","\uFE8F","\u0628","\uFE90","\u0628","\uFE91","\u0628","\uFE92","\u0628","\uFE93","\u0629","\uFE94","\u0629","\uFE95","\u062A","\uFE96","\u062A","\uFE97","\u062A","\uFE98","\u062A","\uFE99","\u062B","\uFE9A","\u062B","\uFE9B","\u062B","\uFE9C","\u062B","\uFE9D","\u062C","\uFE9E","\u062C","\uFE9F","\u062C","\uFEA0","\u062C","\uFEA1","\u062D","\uFEA2","\u062D","\uFEA3","\u062D","\uFEA4","\u062D","\uFEA5","\u062E","\uFEA6","\u062E","\uFEA7","\u062E","\uFEA8","\u062E","\uFEA9","\u062F","\uFEAA","\u062F","\uFEAB","\u0630","\uFEAC","\u0630","\uFEAD","\u0631","\uFEAE","\u0631","\uFEAF","\u0632","\uFEB0","\u0632","\uFEB1","\u0633","\uFEB2","\u0633","\uFEB3","\u0633","\uFEB4","\u0633","\uFEB5","\u0634","\uFEB6","\u0634","\uFEB7","\u0634","\uFEB8","\u0634","\uFEB9","\u0635","\uFEBA","\u0635","\uFEBB","\u0635","\uFEBC","\u0635","\uFEBD","\u0636","\uFEBE","\u0636","\uFEBF","\u0636","\uFEC0","\u0636","\uFEC1","\u0637","\uFEC2","\u0637","\uFEC3","\u0637","\uFEC4","\u0637","\uFEC5","\u0638","\uFEC6","\u0638","\uFEC7","\u0638","\uFEC8","\u0638","\uFEC9","\u0639","\uFECA","\u0639","\uFECB","\u0639","\uFECC","\u0639","\uFECD","\u063A","\uFECE","\u063A","\uFECF","\u063A","\uFED0","\u063A","\uFED1","\u0641","\uFED2","\u0641","\uFED3","\u0641","\uFED4","\u0641","\uFED5","\u0642","\uFED6","\u0642","\uFED7","\u0642","\uFED8","\u0642","\uFED9","\u0643","\uFEDA","\u0643","\uFEDB","\u0643","\uFEDC","\u0643","\uFEDD","\u0644","\uFEDE","\u0644","\uFEDF","\u0644","\uFEE0","\u0644","\uFEE1","\u0645","\uFEE2","\u0645","\uFEE3","\u0645","\uFEE4","\u0645","\uFEE5","\u0646","\uFEE6","\u0646","\uFEE7","\u0646","\uFEE8","\u0646","\uFEE9","\u0647","\uFEEA","\u0647","\uFEEB","\u0647","\uFEEC","\u0647","\uFEED","\u0648","\uFEEE","\u0648","\uFEEF","\u0649","\uFEF0","\u0649","\uFEF1","\u064A","\uFEF2","\u064A","\uFEF3","\u064A","\uFEF4","\u064A","\uFEF5","\u0644\u0622","\uFEF6","\u0644\u0622","\uFEF7","\u0644\u0623","\uFEF8","\u0644\u0623","\uFEF9","\u0644\u0625","\uFEFA","\u0644\u0625","\uFEFB","\u0644\u0627","\uFEFC","\u0644\u0627"]});function be(xe){const ae=xe.length;if(ae<=1||!V(xe.charCodeAt(0)))return xe;const d=[];for(let ce=ae-1;ce>=0;ce--)d.push(xe[ce]);return d.join("")}},(Me,P,D)=>{"use strict";function T(ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(se){return typeof se}:T=function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},T(ve)}Object.defineProperty(P,"__esModule",{value:!0}),P.MarkupAnnotation=P.AnnotationFactory=P.AnnotationBorderStyle=P.Annotation=void 0,P.getQuadPoints=I;var b=X(D(2)),t=D(4),e=D(139),ge=D(153),le=D(135),V=D(189),ye=D(194),be=D(154),xe=D(196),ae=D(200),d=D(192),ce=D(140),q=D(201),re=D(204);function X(ve){return ve&&ve.__esModule?ve:{default:ve}}function y(ve,we,se){return typeof Reflect!="undefined"&&Reflect.get?y=Reflect.get:y=function(ee,Fe,Ee){var Ce=k(ee,Fe);if(!!Ce){var De=Object.getOwnPropertyDescriptor(Ce,Fe);return De.get?De.get.call(Ee):De.value}},y(ve,we,se||ve)}function k(ve,we){for(;!Object.prototype.hasOwnProperty.call(ve,we)&&(ve=f(ve),ve!==null););return ve}function n(ve,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function");ve.prototype=Object.create(we&&we.prototype,{constructor:{value:ve,writable:!0,configurable:!0}}),we&&S(ve,we)}function S(ve,we){return S=Object.setPrototypeOf||function(me,ee){return me.__proto__=ee,me},S(ve,we)}function O(ve){var we=x();return function(){var me=f(ve),ee;if(we){var Fe=f(this).constructor;ee=Reflect.construct(me,arguments,Fe)}else ee=me.apply(this,arguments);return w(this,ee)}}function w(ve,we){if(we&&(T(we)==="object"||typeof we=="function"))return we;if(we!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return p(ve)}function p(ve){if(ve===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ve){return!1}}function f(ve){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(se){return se.__proto__||Object.getPrototypeOf(se)},f(ve)}function h(ve,we){var se=typeof Symbol!="undefined"&&ve[Symbol.iterator]||ve["@@iterator"];if(!se){if(Array.isArray(ve)||(se=a(ve))||we&&ve&&typeof ve.length=="number"){se&&(ve=se);var me=0,ee=function(){};return{s:ee,n:function(){return me>=ve.length?{done:!0}:{done:!1,value:ve[me++]}},e:function(_e){throw _e},f:ee}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Fe=!0,Ee=!1,Ce;return{s:function(){se=se.call(ve)},n:function(){var _e=se.next();return Fe=_e.done,_e},e:function(_e){Ee=!0,Ce=_e},f:function(){try{!Fe&&se.return!=null&&se.return()}finally{if(Ee)throw Ce}}}}function F(ve,we,se,me,ee,Fe,Ee){try{var Ce=ve[Fe](Ee),De=Ce.value}catch(_e){se(_e);return}Ce.done?we(De):Promise.resolve(De).then(me,ee)}function s(ve){return function(){var we=this,se=arguments;return new Promise(function(me,ee){var Fe=ve.apply(we,se);function Ee(De){F(Fe,me,ee,Ee,Ce,"next",De)}function Ce(De){F(Fe,me,ee,Ee,Ce,"throw",De)}Ee(void 0)})}}function g(ve,we){return o(ve)||m(ve,we)||a(ve,we)||l()}function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(ve,we){if(!!ve){if(typeof ve=="string")return i(ve,we);var se=Object.prototype.toString.call(ve).slice(8,-1);if(se==="Object"&&ve.constructor&&(se=ve.constructor.name),se==="Map"||se==="Set")return Array.from(ve);if(se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se))return i(ve,we)}}function i(ve,we){(we==null||we>ve.length)&&(we=ve.length);for(var se=0,me=new Array(we);se<we;se++)me[se]=ve[se];return me}function m(ve,we){var se=ve==null?null:typeof Symbol!="undefined"&&ve[Symbol.iterator]||ve["@@iterator"];if(se!=null){var me=[],ee=!0,Fe=!1,Ee,Ce;try{for(se=se.call(ve);!(ee=(Ee=se.next()).done)&&(me.push(Ee.value),!(we&&me.length===we));ee=!0);}catch(De){Fe=!0,Ce=De}finally{try{!ee&&se.return!=null&&se.return()}finally{if(Fe)throw Ce}}return me}}function o(ve){if(Array.isArray(ve))return ve}function c(ve,we){if(!(ve instanceof we))throw new TypeError("Cannot call a class as a function")}function v(ve,we){for(var se=0;se<we.length;se++){var me=we[se];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(ve,me.key,me)}}function A(ve,we,se){return we&&v(ve.prototype,we),se&&v(ve,se),ve}var u=function(){function ve(){c(this,ve)}return A(ve,null,[{key:"create",value:function(se,me,ee,Fe,Ee){var Ce=this;return Promise.all([ee.ensureCatalog("acroForm"),Ee?this._getPageIndex(se,me,ee):-1]).then(function(De){var _e=g(De,2),Ne=_e[0],$e=_e[1];return ee.ensure(Ce,"_create",[se,me,ee,Fe,Ne,Ee,$e])})}},{key:"_create",value:function(se,me,ee,Fe,Ee,Ce){var De=arguments.length>6&&arguments[6]!==void 0?arguments[6]:-1,_e=se.fetchIfRef(me);if(!!(0,le.isDict)(_e)){var Ne=(0,le.isRef)(me)?me.toString():"annot_".concat(Fe.createObjId()),$e=_e.get("Subtype");$e=(0,le.isName)($e)?$e.name:null;var je={xref:se,ref:me,dict:_e,subtype:$e,id:Ne,pdfManager:ee,acroForm:Ee instanceof le.Dict?Ee:le.Dict.empty,collectFields:Ce,pageIndex:De};switch($e){case"Link":return new te(je);case"Text":return new ue(je);case"Widget":var Ve=(0,e.getInheritableProperty)({dict:_e,key:"FT"});switch(Ve=(0,le.isName)(Ve)?Ve.name:null,Ve){case"Tx":return new Z(je);case"Btn":return new ne(je);case"Ch":return new he(je);case"Sig":return new Se(je)}return(0,t.warn)('Unimplemented widget field type "'.concat(Ve,'", ')+"falling back to base field type."),new H(je);case"Popup":return new $(je);case"FreeText":return new j(je);case"Line":return new G(je);case"Square":return new M(je);case"Circle":return new W(je);case"PolyLine":return new z(je);case"Polygon":return new J(je);case"Caret":return new Q(je);case"Ink":return new K(je);case"Highlight":return new de(je);case"Underline":return new oe(je);case"Squiggly":return new pe(je);case"StrikeOut":return new fe(je);case"Stamp":return new ke(je);case"FileAttachment":return new Re(je);default:return Ce||($e?(0,t.warn)('Unimplemented annotation type "'.concat($e,'", ')+"falling back to base annotation."):(0,t.warn)("Annotation is missing the required /Subtype.")),new N(je)}}}},{key:"_getPageIndex",value:function(){var we=s(b.default.mark(function me(ee,Fe,Ee){var Ce,De,_e;return b.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:return $e.prev=0,$e.next=3,ee.fetchIfRefAsync(Fe);case 3:if(Ce=$e.sent,(0,le.isDict)(Ce)){$e.next=6;break}return $e.abrupt("return",-1);case 6:if(De=Ce.getRaw("P"),(0,le.isRef)(De)){$e.next=9;break}return $e.abrupt("return",-1);case 9:return $e.next=11,Ee.ensureCatalog("getPageIndex",[De]);case 11:return _e=$e.sent,$e.abrupt("return",_e);case 15:return $e.prev=15,$e.t0=$e.catch(0),(0,t.warn)('_getPageIndex: "'.concat($e.t0,'".')),$e.abrupt("return",-1);case 19:case"end":return $e.stop()}},me,null,[[0,15]])}));function se(me,ee,Fe){return we.apply(this,arguments)}return se}()}]),ve}();P.AnnotationFactory=u;function C(ve){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(ve))return we;var se=we||new Uint8ClampedArray(3);switch(ve.length){case 0:return null;case 1:return be.ColorSpace.singletons.gray.getRgbItem(ve,0,se,0),se;case 3:return be.ColorSpace.singletons.rgb.getRgbItem(ve,0,se,0),se;case 4:return be.ColorSpace.singletons.cmyk.getRgbItem(ve,0,se,0),se;default:return we}}function I(ve,we){if(!ve.has("QuadPoints"))return null;var se=ve.getArray("QuadPoints");if(!Array.isArray(se)||se.length===0||se.length%8>0)return null;for(var me=[],ee=0,Fe=se.length/8;ee<Fe;ee++){me.push([]);for(var Ee=ee*8,Ce=ee*8+8;Ee<Ce;Ee+=2){var De=se[Ee],_e=se[Ee+1];if(we!==null&&(De<we[0]||De>we[2]||_e<we[1]||_e>we[3]))return null;me[ee].push({x:De,y:_e})}}return me.map(function(Ne){var $e=Ne.reduce(function(ze,ct){var Je=g(ze,4),gt=Je[0],xt=Je[1],tt=Je[2],yt=Je[3];return[Math.min(gt,ct.x),Math.max(xt,ct.x),Math.min(tt,ct.y),Math.max(yt,ct.y)]},[Number.MAX_VALUE,Number.MIN_VALUE,Number.MAX_VALUE,Number.MIN_VALUE]),je=g($e,4),Ve=je[0],Ke=je[1],Qe=je[2],Ze=je[3];return[{x:Ve,y:Ze},{x:Ke,y:Ze},{x:Ve,y:Qe},{x:Ke,y:Qe}]})}function E(ve,we,se){var me=t.Util.getAxialAlignedBoundingBox(we,se),ee=g(me,4),Fe=ee[0],Ee=ee[1],Ce=ee[2],De=ee[3];if(Fe===Ce||Ee===De)return[1,0,0,1,ve[0],ve[1]];var _e=(ve[2]-ve[0])/(Ce-Fe),Ne=(ve[3]-ve[1])/(De-Ee);return[_e,0,0,Ne,ve[0]-Fe*_e,ve[1]-Ee*Ne]}var N=function(){function ve(we){c(this,ve);var se=we.dict;if(this.setTitle(se.get("T")),this.setContents(se.get("Contents")),this.setModificationDate(se.get("M")),this.setFlags(se.get("F")),this.setRectangle(se.getArray("Rect")),this.setColor(se.getArray("C")),this.setBorderStyle(se),this.setAppearance(se),this.setBorderAndBackgroundColors(se.get("MK")),this._streams=[],this.appearance&&this._streams.push(this.appearance),this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,contentsObj:this._contents,hasAppearance:!!this.appearance,id:we.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:we.subtype,hasOwnCanvas:!1},we.collectFields){var me=se.get("Kids");if(Array.isArray(me)){var ee=[],Fe=h(me),Ee;try{for(Fe.s();!(Ee=Fe.n()).done;){var Ce=Ee.value;(0,le.isRef)(Ce)&&ee.push(Ce.toString())}}catch(De){Fe.e(De)}finally{Fe.f()}ee.length!==0&&(this.data.kidIds=ee)}this.data.actions=(0,e.collectActions)(we.xref,se,t.AnnotationActionEventType),this.data.fieldName=this._constructFieldName(se),this.data.pageIndex=we.pageIndex}this._fallbackFontDict=null}return A(ve,[{key:"_hasFlag",value:function(se,me){return!!(se&me)}},{key:"_isViewable",value:function(se){return!this._hasFlag(se,t.AnnotationFlag.INVISIBLE)&&!this._hasFlag(se,t.AnnotationFlag.NOVIEW)}},{key:"_isPrintable",value:function(se){return this._hasFlag(se,t.AnnotationFlag.PRINT)&&!this._hasFlag(se,t.AnnotationFlag.INVISIBLE)}},{key:"mustBeViewed",value:function(se){var me=se&&se.get(this.data.id);return me&&me.hidden!==void 0?!me.hidden:this.viewable&&!this._hasFlag(this.flags,t.AnnotationFlag.HIDDEN)}},{key:"mustBePrinted",value:function(se){var me=se&&se.get(this.data.id);return me&&me.print!==void 0?me.print:this.printable}},{key:"viewable",get:function(){return this.data.quadPoints===null?!1:this.flags===0?!0:this._isViewable(this.flags)}},{key:"printable",get:function(){return this.data.quadPoints===null||this.flags===0?!1:this._isPrintable(this.flags)}},{key:"_parseStringHelper",value:function(se){var me=typeof se=="string"?(0,t.stringToPDFString)(se):"",ee=me&&(0,V.bidi)(me).dir==="rtl"?"rtl":"ltr";return{str:me,dir:ee}}},{key:"setTitle",value:function(se){this._title=this._parseStringHelper(se)}},{key:"setContents",value:function(se){this._contents=this._parseStringHelper(se)}},{key:"setModificationDate",value:function(se){this.modificationDate=(0,t.isString)(se)?se:null}},{key:"setFlags",value:function(se){this.flags=Number.isInteger(se)&&se>0?se:0}},{key:"hasFlag",value:function(se){return this._hasFlag(this.flags,se)}},{key:"setRectangle",value:function(se){Array.isArray(se)&&se.length===4?this.rectangle=t.Util.normalizeRect(se):this.rectangle=[0,0,0,0]}},{key:"setColor",value:function(se){this.color=C(se)}},{key:"setBorderAndBackgroundColors",value:function(se){se instanceof le.Dict?(this.borderColor=C(se.getArray("BC"),null),this.backgroundColor=C(se.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}},{key:"setBorderStyle",value:function(se){if(this.borderStyle=new _,!!(0,le.isDict)(se))if(se.has("BS")){var me=se.get("BS"),ee=me.get("Type");(!ee||(0,le.isName)(ee,"Border"))&&(this.borderStyle.setWidth(me.get("W"),this.rectangle),this.borderStyle.setStyle(me.get("S")),this.borderStyle.setDashArray(me.getArray("D")))}else if(se.has("Border")){var Fe=se.getArray("Border");Array.isArray(Fe)&&Fe.length>=3&&(this.borderStyle.setHorizontalCornerRadius(Fe[0]),this.borderStyle.setVerticalCornerRadius(Fe[1]),this.borderStyle.setWidth(Fe[2],this.rectangle),Fe.length===4&&this.borderStyle.setDashArray(Fe[3],!0))}else this.borderStyle.setWidth(0)}},{key:"setAppearance",value:function(se){this.appearance=null;var me=se.get("AP");if(!!(0,le.isDict)(me)){var ee=me.get("N");if((0,le.isStream)(ee)){this.appearance=ee;return}if(!!(0,le.isDict)(ee)){var Fe=se.get("AS");!(0,le.isName)(Fe)||!ee.has(Fe.name)||(this.appearance=ee.get(Fe.name))}}}},{key:"loadResources",value:function(se,me){return me.dict.getAsync("Resources").then(function(ee){if(!!ee){var Fe=new ae.ObjectLoader(ee,se,ee.xref);return Fe.load().then(function(){return ee})}})}},{key:"getOperatorList",value:function(se,me,ee,Fe,Ee){var Ce=this,De=this.data,_e=this.appearance,Ne=De.hasOwnCanvas&&ee&t.RenderingIntentFlag.DISPLAY;if(!_e){if(!Ne)return Promise.resolve(new d.OperatorList);_e=new ce.StringStream(""),_e.dict=new le.Dict}var $e=_e.dict,je=this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],_e),Ve=$e.getArray("BBox")||[0,0,1,1],Ke=$e.getArray("Matrix")||[1,0,0,1,0,0],Qe=E(De.rect,Ve,Ke);return je.then(function(Ze){var ze=new d.OperatorList;return ze.addOp(t.OPS.beginAnnotation,[De.id,De.rect,Qe,Ke,Ne]),se.getOperatorList({stream:_e,task:me,resources:Ze,operatorList:ze,fallbackFontDict:Ce._fallbackFontDict}).then(function(){return ze.addOp(t.OPS.endAnnotation,[]),Ce.reset(),ze})})}},{key:"save",value:function(){var we=s(b.default.mark(function me(ee,Fe,Ee){return b.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return De.abrupt("return",null);case 1:case"end":return De.stop()}},me)}));function se(me,ee,Fe){return we.apply(this,arguments)}return se}()},{key:"getFieldObject",value:function(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex}:null}},{key:"reset",value:function(){var se=h(this._streams),me;try{for(se.s();!(me=se.n()).done;){var ee=me.value;ee.reset()}}catch(Fe){se.e(Fe)}finally{se.f()}}},{key:"_constructFieldName",value:function(se){if(!se.has("T")&&!se.has("Parent"))return(0,t.warn)("Unknown field name, falling back to empty field name."),"";if(!se.has("Parent"))return(0,t.stringToPDFString)(se.get("T"));var me=[];se.has("T")&&me.unshift((0,t.stringToPDFString)(se.get("T")));var ee=se,Fe=new le.RefSet;for(se.objId&&Fe.put(se.objId);ee.has("Parent")&&(ee=ee.get("Parent"),!(!(ee instanceof le.Dict)||ee.objId&&Fe.has(ee.objId)));)ee.objId&&Fe.put(ee.objId),ee.has("T")&&me.unshift((0,t.stringToPDFString)(ee.get("T")));return me.join(".")}}]),ve}();P.Annotation=N;var _=function(){function ve(){c(this,ve),this.width=1,this.style=t.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}return A(ve,[{key:"setWidth",value:function(se){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0,0];if((0,le.isName)(se)){this.width=0;return}if(Number.isInteger(se)){if(se>0){var ee=(me[2]-me[0])/2,Fe=(me[3]-me[1])/2;ee>0&&Fe>0&&(se>ee||se>Fe)&&((0,t.warn)("AnnotationBorderStyle.setWidth - ignoring width: ".concat(se)),se=1)}this.width=se}}},{key:"setStyle",value:function(se){if(!!(0,le.isName)(se))switch(se.name){case"S":this.style=t.AnnotationBorderStyleType.SOLID;break;case"D":this.style=t.AnnotationBorderStyleType.DASHED;break;case"B":this.style=t.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=t.AnnotationBorderStyleType.INSET;break;case"U":this.style=t.AnnotationBorderStyleType.UNDERLINE;break;default:break}}},{key:"setDashArray",value:function(se){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray(se)&&se.length>0){var ee=!0,Fe=!0,Ee=h(se),Ce;try{for(Ee.s();!(Ce=Ee.n()).done;){var De=Ce.value,_e=+De>=0;if(_e)De>0&&(Fe=!1);else{ee=!1;break}}}catch(Ne){Ee.e(Ne)}finally{Ee.f()}ee&&!Fe?(this.dashArray=se,me&&this.setStyle(le.Name.get("D"))):this.width=0}else se&&(this.width=0)}},{key:"setHorizontalCornerRadius",value:function(se){Number.isInteger(se)&&(this.horizontalCornerRadius=se)}},{key:"setVerticalCornerRadius",value:function(se){Number.isInteger(se)&&(this.verticalCornerRadius=se)}}]),ve}();P.AnnotationBorderStyle=_;var Y=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me);var Fe=me.dict;if(Fe.has("IRT")){var Ee=Fe.getRaw("IRT");ee.data.inReplyTo=(0,le.isRef)(Ee)?Ee.toString():null;var Ce=Fe.get("RT");ee.data.replyType=(0,le.isName)(Ce)?Ce.name:t.AnnotationReplyType.REPLY}if(ee.data.replyType===t.AnnotationReplyType.GROUP){var De=Fe.get("IRT");ee.setTitle(De.get("T")),ee.data.titleObj=ee._title,ee.setContents(De.get("Contents")),ee.data.contentsObj=ee._contents,De.has("CreationDate")?(ee.setCreationDate(De.get("CreationDate")),ee.data.creationDate=ee.creationDate):ee.data.creationDate=null,De.has("M")?(ee.setModificationDate(De.get("M")),ee.data.modificationDate=ee.modificationDate):ee.data.modificationDate=null,ee.data.hasPopup=De.has("Popup"),De.has("C")?(ee.setColor(De.getArray("C")),ee.data.color=ee.color):ee.data.color=null}else ee.data.titleObj=ee._title,ee.setCreationDate(Fe.get("CreationDate")),ee.data.creationDate=ee.creationDate,ee.data.hasPopup=Fe.has("Popup"),Fe.has("C")||(ee.data.color=null);return Fe.has("RC")&&(ee.data.richText=re.XFAFactory.getRichTextAsHtml(Fe.get("RC"))),ee}return A(se,[{key:"setCreationDate",value:function(ee){this.creationDate=(0,t.isString)(ee)?ee:null}},{key:"_setDefaultAppearance",value:function(ee){var Fe=ee.xref,Ee=ee.extra,Ce=ee.strokeColor,De=ee.fillColor,_e=ee.blendMode,Ne=ee.strokeAlpha,$e=ee.fillAlpha,je=ee.pointsCallback,Ve=Number.MAX_VALUE,Ke=Number.MAX_VALUE,Qe=Number.MIN_VALUE,Ze=Number.MIN_VALUE,ze=["q"];Ee&&ze.push(Ee),Ce&&ze.push("".concat(Ce[0]," ").concat(Ce[1]," ").concat(Ce[2]," RG")),De&&ze.push("".concat(De[0]," ").concat(De[1]," ").concat(De[2]," rg"));var ct=this.data.quadPoints;ct||(ct=[[{x:this.rectangle[0],y:this.rectangle[3]},{x:this.rectangle[2],y:this.rectangle[3]},{x:this.rectangle[0],y:this.rectangle[1]},{x:this.rectangle[2],y:this.rectangle[1]}]]);var Je=h(ct),gt;try{for(Je.s();!(gt=Je.n()).done;){var xt=gt.value,tt=je(ze,xt),yt=g(tt,4),It=yt[0],ft=yt[1],Ut=yt[2],kt=yt[3];Ve=Math.min(Ve,It),Qe=Math.max(Qe,ft),Ke=Math.min(Ke,Ut),Ze=Math.max(Ze,kt)}}catch(nt){Je.e(nt)}finally{Je.f()}ze.push("Q");var Nt=new le.Dict(Fe),ar=new le.Dict(Fe);ar.set("Subtype",le.Name.get("Form"));var Qt=new ce.StringStream(ze.join(" "));Qt.dict=ar,Nt.set("Fm0",Qt);var He=new le.Dict(Fe);_e&&He.set("BM",le.Name.get(_e)),typeof Ne=="number"&&He.set("CA",Ne),typeof $e=="number"&&He.set("ca",$e);var et=new le.Dict(Fe);et.set("GS0",He);var Ue=new le.Dict(Fe);Ue.set("ExtGState",et),Ue.set("XObject",Nt);var qe=new le.Dict(Fe);qe.set("Resources",Ue);var ot=this.data.rect=[Ve,Ke,Qe,Ze];qe.set("BBox",ot),this.appearance=new ce.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=qe,this._streams.push(this.appearance,Qt)}}]),se}(N);P.MarkupAnnotation=Y;var H=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me);var Fe=me.dict,Ee=ee.data;ee.ref=me.ref,Ee.annotationType=t.AnnotationType.WIDGET,Ee.fieldName===void 0&&(Ee.fieldName=ee._constructFieldName(Fe)),Ee.actions===void 0&&(Ee.actions=(0,e.collectActions)(me.xref,Fe,t.AnnotationActionEventType));var Ce=(0,e.getInheritableProperty)({dict:Fe,key:"V",getArray:!0});Ee.fieldValue=ee._decodeFormValue(Ce);var De=(0,e.getInheritableProperty)({dict:Fe,key:"DV",getArray:!0});Ee.defaultFieldValue=ee._decodeFormValue(De),Ce===void 0&&Ee.defaultFieldValue!==null&&(Ee.fieldValue=Ee.defaultFieldValue),Ee.alternativeText=(0,t.stringToPDFString)(Fe.get("TU")||"");var _e=(0,e.getInheritableProperty)({dict:Fe,key:"DA"})||me.acroForm.get("DA");ee._defaultAppearance=(0,t.isString)(_e)?_e:"",Ee.defaultAppearanceData=(0,ge.parseDefaultAppearance)(ee._defaultAppearance);var Ne=(0,e.getInheritableProperty)({dict:Fe,key:"FT"});Ee.fieldType=(0,le.isName)(Ne)?Ne.name:null;var $e=(0,e.getInheritableProperty)({dict:Fe,key:"DR"}),je=me.acroForm.get("DR"),Ve=ee.appearance&&ee.appearance.dict.get("Resources");return ee._fieldResources={localResources:$e,acroFormResources:je,appearanceResources:Ve,mergedResources:le.Dict.merge({xref:me.xref,dictArray:[$e,Ve,je],mergeSubDicts:!0})},Ee.fieldFlags=(0,e.getInheritableProperty)({dict:Fe,key:"Ff"}),(!Number.isInteger(Ee.fieldFlags)||Ee.fieldFlags<0)&&(Ee.fieldFlags=0),Ee.readOnly=ee.hasFieldFlag(t.AnnotationFieldFlag.READONLY),Ee.hidden=ee._hasFlag(Ee.annotationFlags,t.AnnotationFlag.HIDDEN),ee}return A(se,[{key:"_decodeFormValue",value:function(ee){return Array.isArray(ee)?ee.filter(function(Fe){return(0,t.isString)(Fe)}).map(function(Fe){return(0,t.stringToPDFString)(Fe)}):(0,le.isName)(ee)?(0,t.stringToPDFString)(ee.name):(0,t.isString)(ee)?(0,t.stringToPDFString)(ee):null}},{key:"hasFieldFlag",value:function(ee){return!!(this.data.fieldFlags&ee)}},{key:"getOperatorList",value:function(ee,Fe,Ee,Ce,De){var _e=this;return Ce&&!(this instanceof Se)?Promise.resolve(new d.OperatorList):this._hasText?this._getAppearance(ee,Fe,De).then(function(Ne){if(_e.appearance&&Ne===null)return y(f(se.prototype),"getOperatorList",_e).call(_e,ee,Fe,Ee,Ce,De);var $e=new d.OperatorList;if(!_e._defaultAppearance||Ne===null)return $e;var je=[1,0,0,1,0,0],Ve=[0,0,_e.data.rect[2]-_e.data.rect[0],_e.data.rect[3]-_e.data.rect[1]],Ke=E(_e.data.rect,Ve,je);$e.addOp(t.OPS.beginAnnotation,[_e.data.id,_e.data.rect,Ke,je]);var Qe=new ce.StringStream(Ne);return ee.getOperatorList({stream:Qe,task:Fe,resources:_e._fieldResources.mergedResources,operatorList:$e}).then(function(){return $e.addOp(t.OPS.endAnnotation,[]),$e})}):y(f(se.prototype),"getOperatorList",this).call(this,ee,Fe,Ee,Ce,De)}},{key:"save",value:function(){var me=s(b.default.mark(function Fe(Ee,Ce,De){var _e,Ne,$e,je,Ve,Ke,Qe,Ze,ze,ct,Je,gt,xt,tt,yt;return b.default.wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:if(De){ft.next=2;break}return ft.abrupt("return",null);case 2:if(_e=De.get(this.data.id),Ne=_e&&_e.value,!(Ne===this.data.fieldValue||Ne===void 0)){ft.next=6;break}return ft.abrupt("return",null);case 6:return ft.next=8,this._getAppearance(Ee,Ce,De);case 8:if($e=ft.sent,$e!==null){ft.next=11;break}return ft.abrupt("return",null);case 11:if(je=Ee.xref,Ve=je.fetchIfRef(this.ref),(0,le.isDict)(Ve)){ft.next=15;break}return ft.abrupt("return",null);case 15:return Ke=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],Qe={path:(0,t.stringToPDFString)(Ve.get("T")||""),value:Ne},Ze=je.getNewRef(),ze=new le.Dict(je),ze.set("N",Ze),ct=je.encrypt,Je=null,gt=null,ct&&(Je=ct.createCipherTransform(this.ref.num,this.ref.gen),gt=ct.createCipherTransform(Ze.num,Ze.gen),$e=gt.encryptString($e)),Ve.set("V",(0,t.isAscii)(Ne)?Ne:(0,t.stringToUTF16BEString)(Ne)),Ve.set("AP",ze),Ve.set("M","D:".concat((0,t.getModificationDate)())),xt=new le.Dict(je),xt.set("Length",$e.length),xt.set("Subtype",le.Name.get("Form")),xt.set("Resources",this._getSaveFieldResources(je)),xt.set("BBox",Ke),tt=["".concat(this.ref.num," ").concat(this.ref.gen,` obj
`)],(0,q.writeDict)(Ve,tt,Je),tt.push(`
endobj
`),yt=["".concat(Ze.num," ").concat(Ze.gen,` obj
`)],(0,q.writeDict)(xt,yt,gt),yt.push(` stream
`,$e,`
endstream
endobj
`),ft.abrupt("return",[{ref:this.ref,data:tt.join(""),xfa:Qe},{ref:Ze,data:yt.join(""),xfa:null}]);case 39:case"end":return ft.stop()}},Fe,this)}));function ee(Fe,Ee,Ce){return me.apply(this,arguments)}return ee}()},{key:"_getAppearance",value:function(){var me=s(b.default.mark(function Fe(Ee,Ce,De){var _e,Ne,$e,je,Ve,Ke,Qe,Ze,ze,ct,Je,gt,xt,tt,yt,It,ft,Ut;return b.default.wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:if(_e=this.hasFieldFlag(t.AnnotationFieldFlag.PASSWORD),!(!De||_e)){Nt.next=3;break}return Nt.abrupt("return",null);case 3:if(Ne=De.get(this.data.id),$e=Ne&&Ne.value,$e!==void 0){Nt.next=7;break}return Nt.abrupt("return",null);case 7:if($e=$e.trim(),$e!==""){Nt.next=10;break}return Nt.abrupt("return","");case 10:return je=-1,this.data.multiLine&&(je=$e.split(/\r\n|\r|\n/).length),Ve=2,Ke=Ve,Qe=this.data.rect[3]-this.data.rect[1],Ze=this.data.rect[2]-this.data.rect[0],this._defaultAppearance||(this.data.defaultAppearanceData=(0,ge.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g")),ze=this._computeFontSize(Qe,je),ct=g(ze,2),Je=ct[0],gt=ct[1],Nt.next=20,this._getFontData(Ee,Ce);case 20:if(xt=Nt.sent,tt=xt.descent,isNaN(tt)&&(tt=0),yt=Ve+Math.abs(tt)*gt,It=this.data.textAlignment,!this.data.multiLine){Nt.next=27;break}return Nt.abrupt("return",this._getMultilineAppearance(Je,$e,xt,gt,Ze,Qe,It,Ke,yt));case 27:if(ft=xt.encodeString($e).join(""),!this.data.comb){Nt.next=30;break}return Nt.abrupt("return",this._getCombAppearance(Je,xt,ft,Ze,Ke,yt));case 30:if(!(It===0||It>2)){Nt.next=32;break}return Nt.abrupt("return","/Tx BMC q BT "+Je+" 1 0 0 1 ".concat(Ke," ").concat(yt," Tm (").concat((0,t.escapeString)(ft),") Tj")+" ET Q EMC");case 32:return Ut=this._renderText(ft,xt,gt,Ze,It,Ke,yt),Nt.abrupt("return","/Tx BMC q BT "+Je+" 1 0 0 1 0 0 Tm ".concat(Ut)+" ET Q EMC");case 34:case"end":return Nt.stop()}},Fe,this)}));function ee(Fe,Ee,Ce){return me.apply(this,arguments)}return ee}()},{key:"_getFontData",value:function(){var me=s(b.default.mark(function Fe(Ee,Ce){var De,_e,Ne,$e,je;return b.default.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return De=new d.OperatorList,_e={font:null,clone:function(){return this}},Ne=this.data.defaultAppearanceData,$e=Ne.fontName,je=Ne.fontSize,Ke.next=5,Ee.handleSetFont(this._fieldResources.mergedResources,[$e&&le.Name.get($e),je],null,De,Ce,_e,null);case 5:return Ke.abrupt("return",_e.font);case 6:case"end":return Ke.stop()}},Fe,this)}));function ee(Fe,Ee){return me.apply(this,arguments)}return ee}()},{key:"_computeFontSize",value:function(ee,Fe){var Ee=this.data.defaultAppearanceData.fontSize;if(!Ee){var Ce=function(Qe){return Math.round(Qe*10)/10},De=.8;if(Fe===-1)Ee=Ce(De*ee);else{Ee=10;var _e=Ee/De,Ne=Math.round(ee/_e);Ne=Math.max(Ne,Fe),_e=ee/Ne,Ee=Ce(De*_e)}var $e=this.data.defaultAppearanceData,je=$e.fontName,Ve=$e.fontColor;this._defaultAppearance=(0,ge.createDefaultAppearance)({fontSize:Ee,fontName:je,fontColor:Ve})}return[this._defaultAppearance,Ee]}},{key:"_renderText",value:function(ee,Fe,Ee,Ce,De,_e,Ne){var $e=Fe.charsToGlyphs(ee),je=Ee/1e3,Ve=0,Ke=h($e),Qe;try{for(Ke.s();!(Qe=Ke.n()).done;){var Ze=Qe.value;Ve+=Ze.width*je}}catch(ct){Ke.e(ct)}finally{Ke.f()}var ze;return De===1?ze=(Ce-Ve)/2:De===2?ze=Ce-Ve-_e:ze=_e,ze=ze.toFixed(2),Ne=Ne.toFixed(2),"".concat(ze," ").concat(Ne," Td (").concat((0,t.escapeString)(ee),") Tj")}},{key:"_getSaveFieldResources",value:function(ee){var Fe=this._fieldResources,Ee=Fe.localResources,Ce=Fe.appearanceResources,De=Fe.acroFormResources,_e=this.data.defaultAppearanceData&&this.data.defaultAppearanceData.fontName;if(!_e)return Ee||le.Dict.empty;for(var Ne=0,$e=[Ee,Ce];Ne<$e.length;Ne++){var je=$e[Ne];if(je instanceof le.Dict){var Ve=je.get("Font");if(Ve instanceof le.Dict&&Ve.has(_e))return je}}if(De instanceof le.Dict){var Ke=De.get("Font");if(Ke instanceof le.Dict&&Ke.has(_e)){var Qe=new le.Dict(ee);Qe.set(_e,Ke.getRaw(_e));var Ze=new le.Dict(ee);return Ze.set("Font",Qe),le.Dict.merge({xref:ee,dictArray:[Ze,Ee],mergeSubDicts:!0})}}return Ee||le.Dict.empty}},{key:"getFieldObject",value:function(){return null}}]),se}(N),Z=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee._hasText=!0;var Fe=me.dict;(0,t.isString)(ee.data.fieldValue)||(ee.data.fieldValue="");var Ee=(0,e.getInheritableProperty)({dict:Fe,key:"Q"});(!Number.isInteger(Ee)||Ee<0||Ee>2)&&(Ee=null),ee.data.textAlignment=Ee;var Ce=(0,e.getInheritableProperty)({dict:Fe,key:"MaxLen"});return(!Number.isInteger(Ce)||Ce<0)&&(Ce=null),ee.data.maxLen=Ce,ee.data.multiLine=ee.hasFieldFlag(t.AnnotationFieldFlag.MULTILINE),ee.data.comb=ee.hasFieldFlag(t.AnnotationFieldFlag.COMB)&&!ee.hasFieldFlag(t.AnnotationFieldFlag.MULTILINE)&&!ee.hasFieldFlag(t.AnnotationFieldFlag.PASSWORD)&&!ee.hasFieldFlag(t.AnnotationFieldFlag.FILESELECT)&&ee.data.maxLen!==null,ee}return A(se,[{key:"_getCombAppearance",value:function(ee,Fe,Ee,Ce,De,_e){var Ne=(Ce/this.data.maxLen).toFixed(2),$e=[],je=Fe.getCharPositions(Ee),Ve=h(je),Ke;try{for(Ve.s();!(Ke=Ve.n()).done;){var Qe=g(Ke.value,2),Ze=Qe[0],ze=Qe[1];$e.push("(".concat((0,t.escapeString)(Ee.substring(Ze,ze)),") Tj"))}}catch(Je){Ve.e(Je)}finally{Ve.f()}var ct=$e.join(" ".concat(Ne," 0 Td "));return"/Tx BMC q BT "+ee+" 1 0 0 1 ".concat(De," ").concat(_e," Tm ").concat(ct)+" ET Q EMC"}},{key:"_getMultilineAppearance",value:function(ee,Fe,Ee,Ce,De,_e,Ne,$e,je){var Ve=Fe.split(/\r\n|\r|\n/),Ke=[],Qe=De-2*$e,Ze=h(Ve),ze;try{for(Ze.s();!(ze=Ze.n()).done;){var ct=ze.value,Je=this._splitLine(ct,Ee,Ce,Qe),gt=h(Je),xt;try{for(gt.s();!(xt=gt.n()).done;){var tt=xt.value,yt=Ke.length===0?$e:0;Ke.push(this._renderText(tt,Ee,Ce,De,Ne,yt,-Ce))}}catch(ft){gt.e(ft)}finally{gt.f()}}}catch(ft){Ze.e(ft)}finally{Ze.f()}var It=Ke.join(`
`);return"/Tx BMC q BT "+ee+" 1 0 0 1 0 ".concat(_e," Tm ").concat(It)+" ET Q EMC"}},{key:"_splitLine",value:function(ee,Fe,Ee,Ce){ee=Fe.encodeString(ee).join("");var De=Fe.charsToGlyphs(ee);if(De.length<=1)return[ee];for(var _e=Fe.getCharPositions(ee),Ne=Ee/1e3,$e=[],je=-1,Ve=-1,Ke=-1,Qe=0,Ze=0,ze=0,ct=De.length;ze<ct;ze++){var Je=g(_e[ze],2),gt=Je[0],xt=Je[1],tt=De[ze],yt=tt.width*Ne;tt.unicode===" "?Ze+yt>Ce?($e.push(ee.substring(Qe,gt)),Qe=gt,Ze=yt,je=-1,Ke=-1):(Ze+=yt,je=gt,Ve=xt,Ke=ze):Ze+yt>Ce?je!==-1?($e.push(ee.substring(Qe,Ve)),Qe=Ve,ze=Ke+1,je=-1,Ze=0):($e.push(ee.substring(Qe,gt)),Qe=gt,Ze=yt):Ze+=yt}return Qe<ee.length&&$e.push(ee.substring(Qe,ee.length)),$e}},{key:"getFieldObject",value:function(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue,multiline:this.data.multiLine,password:this.hasFieldFlag(t.AnnotationFieldFlag.PASSWORD),charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"text"}}}]),se}(H),ne=function(ve){n(se,ve);var we=O(se);function se(me){var ee;return c(this,se),ee=we.call(this,me),ee.checkedAppearance=null,ee.uncheckedAppearance=null,ee.data.checkBox=!ee.hasFieldFlag(t.AnnotationFieldFlag.RADIO)&&!ee.hasFieldFlag(t.AnnotationFieldFlag.PUSHBUTTON),ee.data.radioButton=ee.hasFieldFlag(t.AnnotationFieldFlag.RADIO)&&!ee.hasFieldFlag(t.AnnotationFieldFlag.PUSHBUTTON),ee.data.pushButton=ee.hasFieldFlag(t.AnnotationFieldFlag.PUSHBUTTON),ee.data.isTooltipOnly=!1,ee.data.checkBox?ee._processCheckBox(me):ee.data.radioButton?ee._processRadioButton(me):ee.data.pushButton?(ee.data.hasOwnCanvas=!0,ee._processPushButton(me)):(0,t.warn)("Invalid field flags for button widget annotation"),ee}return A(se,[{key:"getOperatorList",value:function(){var me=s(b.default.mark(function Fe(Ee,Ce,De,_e,Ne){var $e,je,Ve,Ke,Qe;return b.default.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:if(!this.data.pushButton){ze.next=2;break}return ze.abrupt("return",y(f(se.prototype),"getOperatorList",this).call(this,Ee,Ce,De,!1,Ne));case 2:if($e=null,Ne&&(je=Ne.get(this.data.id),$e=je?je.value:null),$e!==null){ze.next=8;break}if(!this.appearance){ze.next=7;break}return ze.abrupt("return",y(f(se.prototype),"getOperatorList",this).call(this,Ee,Ce,De,_e,Ne));case 7:this.data.checkBox?$e=this.data.fieldValue===this.data.exportValue:$e=this.data.fieldValue===this.data.buttonValue;case 8:if(Ve=$e?this.checkedAppearance:this.uncheckedAppearance,!Ve){ze.next=15;break}return Ke=this.appearance,this.appearance=Ve,Qe=y(f(se.prototype),"getOperatorList",this).call(this,Ee,Ce,De,_e,Ne),this.appearance=Ke,ze.abrupt("return",Qe);case 15:return ze.abrupt("return",new d.OperatorList);case 16:case"end":return ze.stop()}},Fe,this)}));function ee(Fe,Ee,Ce,De,_e){return me.apply(this,arguments)}return ee}()},{key:"save",value:function(){var me=s(b.default.mark(function Fe(Ee,Ce,De){return b.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:if(!this.data.checkBox){Ne.next=2;break}return Ne.abrupt("return",this._saveCheckbox(Ee,Ce,De));case 2:if(!this.data.radioButton){Ne.next=4;break}return Ne.abrupt("return",this._saveRadioButton(Ee,Ce,De));case 4:return Ne.abrupt("return",null);case 5:case"end":return Ne.stop()}},Fe,this)}));function ee(Fe,Ee,Ce){return me.apply(this,arguments)}return ee}()},{key:"_saveCheckbox",value:function(){var me=s(b.default.mark(function Fe(Ee,Ce,De){var _e,Ne,$e,je,Ve,Ke,Qe,Ze,ze;return b.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(De){Je.next=2;break}return Je.abrupt("return",null);case 2:if(_e=De.get(this.data.id),Ne=_e&&_e.value,Ne!==void 0){Je.next=6;break}return Je.abrupt("return",null);case 6:if($e=this.data.fieldValue===this.data.exportValue,$e!==Ne){Je.next=9;break}return Je.abrupt("return",null);case 9:if(je=Ee.xref.fetchIfRef(this.ref),(0,le.isDict)(je)){Je.next=12;break}return Je.abrupt("return",null);case 12:return Ve={path:(0,t.stringToPDFString)(je.get("T")||""),value:Ne?this.data.exportValue:""},Ke=le.Name.get(Ne?this.data.exportValue:"Off"),je.set("V",Ke),je.set("AS",Ke),je.set("M","D:".concat((0,t.getModificationDate)())),Qe=Ee.xref.encrypt,Ze=null,Qe&&(Ze=Qe.createCipherTransform(this.ref.num,this.ref.gen)),ze=["".concat(this.ref.num," ").concat(this.ref.gen,` obj
`)],(0,q.writeDict)(je,ze,Ze),ze.push(`
endobj
`),Je.abrupt("return",[{ref:this.ref,data:ze.join(""),xfa:Ve}]);case 24:case"end":return Je.stop()}},Fe,this)}));function ee(Fe,Ee,Ce){return me.apply(this,arguments)}return ee}()},{key:"_saveRadioButton",value:function(){var me=s(b.default.mark(function Fe(Ee,Ce,De){var _e,Ne,$e,je,Ve,Ke,Qe,Ze,ze,ct,Je,gt,xt;return b.default.wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:if(De){yt.next=2;break}return yt.abrupt("return",null);case 2:if(_e=De.get(this.data.id),Ne=_e&&_e.value,Ne!==void 0){yt.next=6;break}return yt.abrupt("return",null);case 6:if($e=this.data.fieldValue===this.data.buttonValue,$e!==Ne){yt.next=9;break}return yt.abrupt("return",null);case 9:if(je=Ee.xref.fetchIfRef(this.ref),(0,le.isDict)(je)){yt.next=12;break}return yt.abrupt("return",null);case 12:return Ve={path:(0,t.stringToPDFString)(je.get("T")||""),value:Ne?this.data.buttonValue:""},Ke=le.Name.get(Ne?this.data.buttonValue:"Off"),Qe=null,Ze=Ee.xref.encrypt,Ne&&((0,le.isRef)(this.parent)?(ze=Ee.xref.fetch(this.parent),ct=null,Ze&&(ct=Ze.createCipherTransform(this.parent.num,this.parent.gen)),ze.set("V",Ke),Qe=["".concat(this.parent.num," ").concat(this.parent.gen,` obj
`)],(0,q.writeDict)(ze,Qe,ct),Qe.push(`
endobj
`)):(0,le.isDict)(this.parent)&&this.parent.set("V",Ke)),je.set("AS",Ke),je.set("M","D:".concat((0,t.getModificationDate)())),Je=null,Ze&&(Je=Ze.createCipherTransform(this.ref.num,this.ref.gen)),gt=["".concat(this.ref.num," ").concat(this.ref.gen,` obj
`)],(0,q.writeDict)(je,gt,Je),gt.push(`
endobj
`),xt=[{ref:this.ref,data:gt.join(""),xfa:Ve}],Qe!==null&&xt.push({ref:this.parent,data:Qe.join(""),xfa:null}),yt.abrupt("return",xt);case 27:case"end":return yt.stop()}},Fe,this)}));function ee(Fe,Ee,Ce){return me.apply(this,arguments)}return ee}()},{key:"_getDefaultCheckedAppearance",value:function(ee,Fe){var Ee=this.data.rect[2]-this.data.rect[0],Ce=this.data.rect[3]-this.data.rect[1],De=[0,0,Ee,Ce],_e=.8,Ne=Math.min(Ee,Ce)*_e,$e,je;Fe==="check"?($e={width:.755*Ne,height:.705*Ne},je="3"):Fe==="disc"?($e={width:.791*Ne,height:.705*Ne},je="l"):(0,t.unreachable)("_getDefaultCheckedAppearance - unsupported type: ".concat(Fe));var Ve=(Ee-$e.width)/2,Ke=(Ce-$e.height)/2,Qe="q BT /PdfJsZaDb ".concat(Ne," Tf 0 g ").concat(Ve," ").concat(Ke," Td (").concat(je,") Tj ET Q"),Ze=new le.Dict(ee.xref);Ze.set("FormType",1),Ze.set("Subtype",le.Name.get("Form")),Ze.set("Type",le.Name.get("XObject")),Ze.set("BBox",De),Ze.set("Matrix",[1,0,0,1,0,0]),Ze.set("Length",Qe.length);var ze=new le.Dict(ee.xref),ct=new le.Dict(ee.xref);ct.set("PdfJsZaDb",this.fallbackFontDict),ze.set("Font",ct),Ze.set("Resources",ze),this.checkedAppearance=new ce.StringStream(Qe),this.checkedAppearance.dict=Ze,this._streams.push(this.checkedAppearance)}},{key:"_processCheckBox",value:function(ee){var Fe=ee.dict.get("AP");if(!!(0,le.isDict)(Fe)){var Ee=Fe.get("N");if(!!(0,le.isDict)(Ee)){var Ce=this._decodeFormValue(ee.dict.get("AS"));typeof Ce=="string"&&(this.data.fieldValue=Ce);var De=this.data.fieldValue!==null&&this.data.fieldValue!=="Off"?this.data.fieldValue:"Yes",_e=Ee.getKeys();if(_e.length===0)_e.push("Off",De);else if(_e.length===1)_e[0]==="Off"?_e.push(De):_e.unshift("Off");else if(_e.includes(De))_e.length=0,_e.push("Off",De);else{var Ne=_e.find(function($e){return $e!=="Off"});_e.length=0,_e.push("Off",Ne)}_e.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=_e[1],this.checkedAppearance=Ee.get(this.data.exportValue)||null,this.uncheckedAppearance=Ee.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(ee,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}},{key:"_processRadioButton",value:function(ee){this.data.fieldValue=this.data.buttonValue=null;var Fe=ee.dict.get("Parent");if((0,le.isDict)(Fe)){this.parent=ee.dict.getRaw("Parent");var Ee=Fe.get("V");(0,le.isName)(Ee)&&(this.data.fieldValue=this._decodeFormValue(Ee))}var Ce=ee.dict.get("AP");if(!!(0,le.isDict)(Ce)){var De=Ce.get("N");if(!!(0,le.isDict)(De)){var _e=h(De.getKeys()),Ne;try{for(_e.s();!(Ne=_e.n()).done;){var $e=Ne.value;if($e!=="Off"){this.data.buttonValue=this._decodeFormValue($e);break}}}catch(je){_e.e(je)}finally{_e.f()}this.checkedAppearance=De.get(this.data.buttonValue)||null,this.uncheckedAppearance=De.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(ee,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}},{key:"_processPushButton",value:function(ee){if(!ee.dict.has("A")&&!ee.dict.has("AA")&&!this.data.alternativeText){(0,t.warn)("Push buttons without action dictionaries are not supported");return}this.data.isTooltipOnly=!ee.dict.has("A")&&!ee.dict.has("AA"),ye.Catalog.parseDestDictionary({destDict:ee.dict,resultObj:this.data,docBaseUrl:ee.pdfManager.docBaseUrl})}},{key:"getFieldObject",value:function(){var ee="button",Fe;return this.data.checkBox?(ee="checkbox",Fe=this.data.exportValue):this.data.radioButton&&(ee="radiobutton",Fe=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:Fe,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:ee}}},{key:"fallbackFontDict",get:function(){var ee=new le.Dict;return ee.set("BaseFont",le.Name.get("ZapfDingbats")),ee.set("Type",le.Name.get("FallbackType")),ee.set("Subtype",le.Name.get("FallbackType")),ee.set("Encoding",le.Name.get("ZapfDingbatsEncoding")),(0,t.shadow)(this,"fallbackFontDict",ee)}}]),se}(H),he=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.options=[];var Fe=(0,e.getInheritableProperty)({dict:me.dict,key:"Opt"});if(Array.isArray(Fe))for(var Ee=me.xref,Ce=0,De=Fe.length;Ce<De;Ce++){var _e=Ee.fetchIfRef(Fe[Ce]),Ne=Array.isArray(_e);ee.data.options[Ce]={exportValue:ee._decodeFormValue(Ne?Ee.fetchIfRef(_e[0]):_e),displayValue:ee._decodeFormValue(Ne?Ee.fetchIfRef(_e[1]):_e)}}return(0,t.isString)(ee.data.fieldValue)?ee.data.fieldValue=[ee.data.fieldValue]:ee.data.fieldValue||(ee.data.fieldValue=[]),ee.data.combo=ee.hasFieldFlag(t.AnnotationFieldFlag.COMBO),ee.data.multiSelect=ee.hasFieldFlag(t.AnnotationFieldFlag.MULTISELECT),ee._hasText=!0,ee}return A(se,[{key:"getFieldObject",value:function(){var ee=this.data.combo?"combobox":"listbox",Fe=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:Fe,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:ee}}}]),se}(H),Se=function(ve){n(se,ve);var we=O(se);function se(me){var ee;return c(this,se),ee=we.call(this,me),ee.data.fieldValue=null,ee}return A(se,[{key:"getFieldObject",value:function(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}]),se}(H),ue=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se);var Fe=22;ee=we.call(this,me);var Ee=me.dict;return ee.data.annotationType=t.AnnotationType.TEXT,ee.data.hasAppearance?ee.data.name="NoIcon":(ee.data.rect[1]=ee.data.rect[3]-Fe,ee.data.rect[2]=ee.data.rect[0]+Fe,ee.data.name=Ee.has("Name")?Ee.get("Name").name:"Note"),Ee.has("State")?(ee.data.state=Ee.get("State")||null,ee.data.stateModel=Ee.get("StateModel")||null):(ee.data.state=null,ee.data.stateModel=null),ee}return se}(Y),te=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.LINK;var Fe=I(me.dict,ee.rectangle);return Fe&&(ee.data.quadPoints=Fe),ye.Catalog.parseDestDictionary({destDict:me.dict,resultObj:ee.data,docBaseUrl:me.pdfManager.docBaseUrl}),ee}return se}(N),$=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.POPUP;var Fe=me.dict.get("Parent");if(!Fe)return(0,t.warn)("Popup annotation has a missing or invalid parent annotation."),w(ee);var Ee=Fe.get("Subtype");ee.data.parentType=(0,le.isName)(Ee)?Ee.name:null;var Ce=me.dict.getRaw("Parent");ee.data.parentId=(0,le.isRef)(Ce)?Ce.toString():null;var De=Fe.getArray("Rect");Array.isArray(De)&&De.length===4?ee.data.parentRect=t.Util.normalizeRect(De):ee.data.parentRect=[0,0,0,0];var _e=Fe.get("RT");if((0,le.isName)(_e,t.AnnotationReplyType.GROUP)&&(Fe=Fe.get("IRT")),Fe.has("M")?(ee.setModificationDate(Fe.get("M")),ee.data.modificationDate=ee.modificationDate):ee.data.modificationDate=null,Fe.has("C")?(ee.setColor(Fe.getArray("C")),ee.data.color=ee.color):ee.data.color=null,!ee.viewable){var Ne=Fe.get("F");ee._isViewable(Ne)&&ee.setFlags(Ne)}return ee.setTitle(Fe.get("T")),ee.data.titleObj=ee._title,ee.setContents(Fe.get("Contents")),ee.data.contentsObj=ee._contents,Fe.has("RC")&&(ee.data.richText=re.XFAFactory.getRichTextAsHtml(Fe.get("RC"))),ee}return se}(N),j=function(ve){n(se,ve);var we=O(se);function se(me){var ee;return c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.FREETEXT,ee}return se}(Y),G=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.LINE;var Fe=me.dict.getArray("L");if(ee.data.lineCoordinates=t.Util.normalizeRect(Fe),!ee.appearance){var Ee=ee.color?Array.from(ee.color).map(function(Ke){return Ke/255}):[0,0,0],Ce=me.dict.get("CA"),De=null,_e=me.dict.getArray("IC");_e&&(_e=C(_e,null),De=_e?Array.from(_e).map(function(Ke){return Ke/255}):null);var Ne=De?Ce:null,$e=ee.borderStyle.width||1,je=2*$e,Ve=[ee.data.lineCoordinates[0]-je,ee.data.lineCoordinates[1]-je,ee.data.lineCoordinates[2]+je,ee.data.lineCoordinates[3]+je];t.Util.intersect(ee.rectangle,Ve)||(ee.rectangle=Ve),ee._setDefaultAppearance({xref:me.xref,extra:"".concat($e," w"),strokeColor:Ee,fillColor:De,strokeAlpha:Ce,fillAlpha:Ne,pointsCallback:function(Qe,Ze){return Qe.push("".concat(Fe[0]," ").concat(Fe[1]," m"),"".concat(Fe[2]," ").concat(Fe[3]," l"),"S"),[Ze[0].x-$e,Ze[1].x+$e,Ze[3].y-$e,Ze[1].y+$e]}})}return ee}return se}(Y),M=function(ve){n(se,ve);var we=O(se);function se(me){var ee;if(c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.SQUARE,!ee.appearance){var Fe=ee.color?Array.from(ee.color).map(function(Ne){return Ne/255}):[0,0,0],Ee=me.dict.get("CA"),Ce=null,De=me.dict.getArray("IC");De&&(De=C(De,null),Ce=De?Array.from(De).map(function(Ne){return Ne/255}):null);var _e=Ce?Ee:null;if(ee.borderStyle.width===0&&!Ce)return w(ee);ee._setDefaultAppearance({xref:me.xref,extra:"".concat(ee.borderStyle.width," w"),strokeColor:Fe,fillColor:Ce,strokeAlpha:Ee,fillAlpha:_e,pointsCallback:function($e,je){var Ve=je[2].x+ee.borderStyle.width/2,Ke=je[2].y+ee.borderStyle.width/2,Qe=je[3].x-je[2].x-ee.borderStyle.width,Ze=je[1].y-je[3].y-ee.borderStyle.width;return $e.push("".concat(Ve," ").concat(Ke," ").concat(Qe," ").concat(Ze," re")),Ce?$e.push("B"):$e.push("S"),[je[0].x,je[1].x,je[3].y,je[1].y]}})}return ee}return se}(Y),W=function(ve){n(se,ve);var we=O(se);function se(me){var ee;if(c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.CIRCLE,!ee.appearance){var Fe=ee.color?Array.from(ee.color).map(function($e){return $e/255}):[0,0,0],Ee=me.dict.get("CA"),Ce=null,De=me.dict.getArray("IC");De&&(De=C(De,null),Ce=De?Array.from(De).map(function($e){return $e/255}):null);var _e=Ce?Ee:null;if(ee.borderStyle.width===0&&!Ce)return w(ee);var Ne=4/3*Math.tan(Math.PI/(2*4));ee._setDefaultAppearance({xref:me.xref,extra:"".concat(ee.borderStyle.width," w"),strokeColor:Fe,fillColor:Ce,strokeAlpha:Ee,fillAlpha:_e,pointsCallback:function(je,Ve){var Ke=Ve[0].x+ee.borderStyle.width/2,Qe=Ve[0].y-ee.borderStyle.width/2,Ze=Ve[3].x-ee.borderStyle.width/2,ze=Ve[3].y+ee.borderStyle.width/2,ct=Ke+(Ze-Ke)/2,Je=Qe+(ze-Qe)/2,gt=(Ze-Ke)/2*Ne,xt=(ze-Qe)/2*Ne;return je.push("".concat(ct," ").concat(ze," m"),"".concat(ct+gt," ").concat(ze," ").concat(Ze," ").concat(Je+xt," ").concat(Ze," ").concat(Je," c"),"".concat(Ze," ").concat(Je-xt," ").concat(ct+gt," ").concat(Qe," ").concat(ct," ").concat(Qe," c"),"".concat(ct-gt," ").concat(Qe," ").concat(Ke," ").concat(Je-xt," ").concat(Ke," ").concat(Je," c"),"".concat(Ke," ").concat(Je+xt," ").concat(ct-gt," ").concat(ze," ").concat(ct," ").concat(ze," c"),"h"),Ce?je.push("B"):je.push("S"),[Ve[0].x,Ve[1].x,Ve[3].y,Ve[1].y]}})}return ee}return se}(Y),z=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.POLYLINE,ee.data.vertices=[];var Fe=me.dict.getArray("Vertices");if(!Array.isArray(Fe))return w(ee);for(var Ee=0,Ce=Fe.length;Ee<Ce;Ee+=2)ee.data.vertices.push({x:Fe[Ee],y:Fe[Ee+1]});if(!ee.appearance){var De=ee.color?Array.from(ee.color).map(function(Ze){return Ze/255}):[0,0,0],_e=me.dict.get("CA"),Ne=ee.borderStyle.width||1,$e=2*Ne,je=[Infinity,Infinity,-Infinity,-Infinity],Ve=h(ee.data.vertices),Ke;try{for(Ve.s();!(Ke=Ve.n()).done;){var Qe=Ke.value;je[0]=Math.min(je[0],Qe.x-$e),je[1]=Math.min(je[1],Qe.y-$e),je[2]=Math.max(je[2],Qe.x+$e),je[3]=Math.max(je[3],Qe.y+$e)}}catch(Ze){Ve.e(Ze)}finally{Ve.f()}t.Util.intersect(ee.rectangle,je)||(ee.rectangle=je),ee._setDefaultAppearance({xref:me.xref,extra:"".concat(Ne," w"),strokeColor:De,strokeAlpha:_e,pointsCallback:function(ze,ct){for(var Je=ee.data.vertices,gt=0,xt=Je.length;gt<xt;gt++)ze.push("".concat(Je[gt].x," ").concat(Je[gt].y," ").concat(gt===0?"m":"l"));return ze.push("S"),[ct[0].x,ct[1].x,ct[3].y,ct[1].y]}})}return ee}return se}(Y),J=function(ve){n(se,ve);var we=O(se);function se(me){var ee;return c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.POLYGON,ee}return se}(z),Q=function(ve){n(se,ve);var we=O(se);function se(me){var ee;return c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.CARET,ee}return se}(Y),K=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.INK,ee.data.inkLists=[];var Fe=me.dict.getArray("InkList");if(!Array.isArray(Fe))return w(ee);for(var Ee=me.xref,Ce=0,De=Fe.length;Ce<De;++Ce){ee.data.inkLists.push([]);for(var _e=0,Ne=Fe[Ce].length;_e<Ne;_e+=2)ee.data.inkLists[Ce].push({x:Ee.fetchIfRef(Fe[Ce][_e]),y:Ee.fetchIfRef(Fe[Ce][_e+1])})}if(!ee.appearance){var $e=ee.color?Array.from(ee.color).map(function(tt){return tt/255}):[0,0,0],je=me.dict.get("CA"),Ve=ee.borderStyle.width||1,Ke=2*Ve,Qe=[Infinity,Infinity,-Infinity,-Infinity],Ze=h(ee.data.inkLists),ze;try{for(Ze.s();!(ze=Ze.n()).done;){var ct=ze.value,Je=h(ct),gt;try{for(Je.s();!(gt=Je.n()).done;){var xt=gt.value;Qe[0]=Math.min(Qe[0],xt.x-Ke),Qe[1]=Math.min(Qe[1],xt.y-Ke),Qe[2]=Math.max(Qe[2],xt.x+Ke),Qe[3]=Math.max(Qe[3],xt.y+Ke)}}catch(tt){Je.e(tt)}finally{Je.f()}}}catch(tt){Ze.e(tt)}finally{Ze.f()}t.Util.intersect(ee.rectangle,Qe)||(ee.rectangle=Qe),ee._setDefaultAppearance({xref:me.xref,extra:"".concat(Ve," w"),strokeColor:$e,strokeAlpha:je,pointsCallback:function(yt,It){var ft=h(ee.data.inkLists),Ut;try{for(ft.s();!(Ut=ft.n()).done;){for(var kt=Ut.value,Nt=0,ar=kt.length;Nt<ar;Nt++)yt.push("".concat(kt[Nt].x," ").concat(kt[Nt].y," ").concat(Nt===0?"m":"l"));yt.push("S")}}catch(Qt){ft.e(Qt)}finally{ft.f()}return[It[0].x,It[1].x,It[3].y,It[1].y]}})}return ee}return se}(Y),de=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.HIGHLIGHT;var Fe=ee.data.quadPoints=I(me.dict,null);if(Fe){var Ee=ee.appearance&&ee.appearance.dict.get("Resources");if(!ee.appearance||!(Ee&&Ee.has("ExtGState"))){ee.appearance&&(0,t.warn)("HighlightAnnotation - ignoring built-in appearance stream.");var Ce=ee.color?Array.from(ee.color).map(function(_e){return _e/255}):[1,1,0],De=me.dict.get("CA");ee._setDefaultAppearance({xref:me.xref,fillColor:Ce,blendMode:"Multiply",fillAlpha:De,pointsCallback:function(Ne,$e){return Ne.push("".concat($e[0].x," ").concat($e[0].y," m"),"".concat($e[1].x," ").concat($e[1].y," l"),"".concat($e[3].x," ").concat($e[3].y," l"),"".concat($e[2].x," ").concat($e[2].y," l"),"f"),[$e[0].x,$e[1].x,$e[3].y,$e[1].y]}})}}else ee.data.hasPopup=!1;return ee}return se}(Y),oe=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.UNDERLINE;var Fe=ee.data.quadPoints=I(me.dict,null);if(Fe){if(!ee.appearance){var Ee=ee.color?Array.from(ee.color).map(function(De){return De/255}):[0,0,0],Ce=me.dict.get("CA");ee._setDefaultAppearance({xref:me.xref,extra:"[] 0 d 1 w",strokeColor:Ee,strokeAlpha:Ce,pointsCallback:function(_e,Ne){return _e.push("".concat(Ne[2].x," ").concat(Ne[2].y," m"),"".concat(Ne[3].x," ").concat(Ne[3].y," l"),"S"),[Ne[0].x,Ne[1].x,Ne[3].y,Ne[1].y]}})}}else ee.data.hasPopup=!1;return ee}return se}(Y),pe=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.SQUIGGLY;var Fe=ee.data.quadPoints=I(me.dict,null);if(Fe){if(!ee.appearance){var Ee=ee.color?Array.from(ee.color).map(function(De){return De/255}):[0,0,0],Ce=me.dict.get("CA");ee._setDefaultAppearance({xref:me.xref,extra:"[] 0 d 1 w",strokeColor:Ee,strokeAlpha:Ce,pointsCallback:function(_e,Ne){var $e=(Ne[0].y-Ne[2].y)/6,je=$e,Ve=Ne[2].x,Ke=Ne[2].y,Qe=Ne[3].x;_e.push("".concat(Ve," ").concat(Ke+je," m"));do Ve+=2,je=je===0?$e:0,_e.push("".concat(Ve," ").concat(Ke+je," l"));while(Ve<Qe);return _e.push("S"),[Ne[2].x,Qe,Ke-2*$e,Ke+2*$e]}})}}else ee.data.hasPopup=!1;return ee}return se}(Y),fe=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.STRIKEOUT;var Fe=ee.data.quadPoints=I(me.dict,null);if(Fe){if(!ee.appearance){var Ee=ee.color?Array.from(ee.color).map(function(De){return De/255}):[0,0,0],Ce=me.dict.get("CA");ee._setDefaultAppearance({xref:me.xref,extra:"[] 0 d 1 w",strokeColor:Ee,strokeAlpha:Ce,pointsCallback:function(_e,Ne){return _e.push("".concat((Ne[0].x+Ne[2].x)/2," ")+"".concat((Ne[0].y+Ne[2].y)/2," m"),"".concat((Ne[1].x+Ne[3].x)/2," ")+"".concat((Ne[1].y+Ne[3].y)/2," l"),"S"),[Ne[0].x,Ne[1].x,Ne[3].y,Ne[1].y]}})}}else ee.data.hasPopup=!1;return ee}return se}(Y),ke=function(ve){n(se,ve);var we=O(se);function se(me){var ee;return c(this,se),ee=we.call(this,me),ee.data.annotationType=t.AnnotationType.STAMP,ee}return se}(Y),Re=function(ve){n(se,ve);var we=O(se);function se(me){var ee;c(this,se),ee=we.call(this,me);var Fe=new xe.FileSpec(me.dict.get("FS"),me.xref);return ee.data.annotationType=t.AnnotationType.FILEATTACHMENT,ee.data.file=Fe.serializable,ee}return se}(Y)},(Me,P,D)=>{"use strict";function T(F){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(g){return typeof g}:T=function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},T(F)}Object.defineProperty(P,"__esModule",{value:!0}),P.createDefaultAppearance=h,P.parseDefaultAppearance=f;var b=D(4),t=D(154),e=D(139),ge=D(155),le=D(135),V=D(140);function ye(F,s){return ce(F)||d(F,s)||xe(F,s)||be()}function be(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xe(F,s){if(!!F){if(typeof F=="string")return ae(F,s);var g=Object.prototype.toString.call(F).slice(8,-1);if(g==="Object"&&F.constructor&&(g=F.constructor.name),g==="Map"||g==="Set")return Array.from(F);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return ae(F,s)}}function ae(F,s){(s==null||s>F.length)&&(s=F.length);for(var g=0,l=new Array(s);g<s;g++)l[g]=F[g];return l}function d(F,s){var g=F==null?null:typeof Symbol!="undefined"&&F[Symbol.iterator]||F["@@iterator"];if(g!=null){var l=[],a=!0,i=!1,m,o;try{for(g=g.call(F);!(a=(m=g.next()).done)&&(l.push(m.value),!(s&&l.length===s));a=!0);}catch(c){i=!0,o=c}finally{try{!a&&g.return!=null&&g.return()}finally{if(i)throw o}}return l}}function ce(F){if(Array.isArray(F))return F}function q(F,s){if(!(F instanceof s))throw new TypeError("Cannot call a class as a function")}function re(F,s){for(var g=0;g<s.length;g++){var l=s[g];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(F,l.key,l)}}function X(F,s,g){return s&&re(F.prototype,s),g&&re(F,g),F}function y(F,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(s&&s.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),s&&k(F,s)}function k(F,s){return k=Object.setPrototypeOf||function(l,a){return l.__proto__=a,l},k(F,s)}function n(F){var s=w();return function(){var l=p(F),a;if(s){var i=p(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return S(this,a)}}function S(F,s){if(s&&(T(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O(F)}function O(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function w(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(F){return!1}}function p(F){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(g){return g.__proto__||Object.getPrototypeOf(g)},p(F)}var x=function(F){y(g,F);var s=n(g);function g(l){return q(this,g),s.call(this,new V.StringStream(l))}return X(g,[{key:"parse",value:function(){var a={fn:0,args:[]},i={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;a.args.length=0,!!this.read(a);)if(this.savedStatesDepth===0){var m=a.fn,o=a.args;switch(m|0){case b.OPS.setFont:var c=ye(o,2),v=c[0],A=c[1];v instanceof le.Name&&(i.fontName=v.name),typeof A=="number"&&A>0&&(i.fontSize=A);break;case b.OPS.setFillRGBColor:t.ColorSpace.singletons.rgb.getRgbItem(o,0,i.fontColor,0);break;case b.OPS.setFillGray:t.ColorSpace.singletons.gray.getRgbItem(o,0,i.fontColor,0);break;case b.OPS.setFillColorSpace:t.ColorSpace.singletons.cmyk.getRgbItem(o,0,i.fontColor,0);break}}}catch(u){(0,b.warn)('parseDefaultAppearance - ignoring errors: "'.concat(u,'".'))}return i}}]),g}(ge.EvaluatorPreprocessor);function f(F){return new x(F).parse()}function h(F){var s=F.fontSize,g=F.fontName,l=F.fontColor,a;return l.every(function(i){return i===0})?a="0 g":a=Array.from(l).map(function(i){return(i/255).toFixed(2)}).join(" ")+" rg","/".concat((0,e.escapePDFName)(g)," ").concat(s," Tf ").concat(a)}},(Me,P,D)=>{"use strict";function T(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(i){return typeof i}:T=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},T(l)}Object.defineProperty(P,"__esModule",{value:!0}),P.ColorSpace=void 0;var b=le(D(2)),t=D(4),e=D(135),ge=D(139);function le(l){return l&&l.__esModule?l:{default:l}}function V(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(a&&a.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),a&&ye(l,a)}function ye(l,a){return ye=Object.setPrototypeOf||function(m,o){return m.__proto__=o,m},ye(l,a)}function be(l){var a=d();return function(){var m=ce(l),o;if(a){var c=ce(this).constructor;o=Reflect.construct(m,arguments,c)}else o=m.apply(this,arguments);return xe(this,o)}}function xe(l,a){if(a&&(T(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(l)}function ae(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}function ce(l){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ce(l)}function q(l,a,i,m,o,c,v){try{var A=l[c](v),u=A.value}catch(C){i(C);return}A.done?a(u):Promise.resolve(u).then(m,o)}function re(l){return function(){var a=this,i=arguments;return new Promise(function(m,o){var c=l.apply(a,i);function v(u){q(c,m,o,v,A,"next",u)}function A(u){q(c,m,o,v,A,"throw",u)}v(void 0)})}}function X(l,a){if(!(l instanceof a))throw new TypeError("Cannot call a class as a function")}function y(l,a){for(var i=0;i<a.length;i++){var m=a[i];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(l,m.key,m)}}function k(l,a,i){return a&&y(l.prototype,a),i&&y(l,i),l}function n(l,a,i,m,o,c,v){var A=3;v=v!==1?0:v;for(var u=i/o,C=m/c,I=0,E,N=new Uint16Array(o),_=i*A,Y=0;Y<o;Y++)N[Y]=Math.floor(Y*u)*A;for(var H=0;H<c;H++)for(var Z=Math.floor(H*C)*_,ne=0;ne<o;ne++)E=Z+N[ne],a[I++]=l[E++],a[I++]=l[E++],a[I++]=l[E++],I+=v}var S=function(){function l(a,i){X(this,l),this.constructor===l&&(0,t.unreachable)("Cannot initialize ColorSpace."),this.name=a,this.numComps=i}return k(l,[{key:"getRgb",value:function(i,m){var o=new Uint8ClampedArray(3);return this.getRgbItem(i,m,o,0),o}},{key:"getRgbItem",value:function(i,m,o,c){(0,t.unreachable)("Should not call ColorSpace.getRgbItem")}},{key:"getRgbBuffer",value:function(i,m,o,c,v,A,u){(0,t.unreachable)("Should not call ColorSpace.getRgbBuffer")}},{key:"getOutputLength",value:function(i,m){(0,t.unreachable)("Should not call ColorSpace.getOutputLength")}},{key:"isPassthrough",value:function(i){return!1}},{key:"isDefaultDecode",value:function(i,m){return l.isDefaultDecode(i,this.numComps)}},{key:"fillRgb",value:function(i,m,o,c,v,A,u,C,I){var E=m*o,N=null,_=1<<u,Y=o!==v||m!==c;if(this.isPassthrough(u))N=C;else if(this.numComps===1&&E>_&&this.name!=="DeviceGray"&&this.name!=="DeviceRGB"){for(var H=u<=8?new Uint8Array(_):new Uint16Array(_),Z=0;Z<_;Z++)H[Z]=Z;var ne=new Uint8ClampedArray(_*3);if(this.getRgbBuffer(H,0,_,ne,0,u,0),Y){N=new Uint8Array(E*3);for(var te=0,$=0;$<E;++$){var j=C[$]*3;N[te++]=ne[j],N[te++]=ne[j+1],N[te++]=ne[j+2]}}else for(var he=0,Se=0;Se<E;++Se){var ue=C[Se]*3;i[he++]=ne[ue],i[he++]=ne[ue+1],i[he++]=ne[ue+2],he+=I}}else Y?(N=new Uint8ClampedArray(E*3),this.getRgbBuffer(C,0,E,N,0,u,0)):this.getRgbBuffer(C,0,c*A,i,0,u,I);if(N)if(Y)n(N,i,m,o,c,v,I);else for(var G=0,M=0,W=0,z=c*A;W<z;W++)i[G++]=N[M++],i[G++]=N[M++],i[G++]=N[M++],G+=I}},{key:"usesZeroToOneRange",get:function(){return(0,t.shadow)(this,"usesZeroToOneRange",!0)}}],[{key:"_cache",value:function(i,m,o,c){if(!o)throw new Error('ColorSpace._cache - expected "localColorSpaceCache" argument.');if(!c)throw new Error('ColorSpace._cache - expected "parsedColorSpace" argument.');var v,A;i instanceof e.Ref&&(A=i,i=m.fetch(i)),i instanceof e.Name&&(v=i.name),(v||A)&&o.set(v,A,c)}},{key:"getCached",value:function(i,m,o){if(!o)throw new Error('ColorSpace.getCached - expected "localColorSpaceCache" argument.');if(i instanceof e.Ref){var c=o.getByRef(i);if(c)return c;try{i=m.fetch(i)}catch(A){if(A instanceof ge.MissingDataException)throw A}}if(i instanceof e.Name){var v=o.getByName(i.name);if(v)return v}return null}},{key:"parseAsync",value:function(){var a=re(b.default.mark(function m(o){var c,v,A,u,C,I,E;return b.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return c=o.cs,v=o.xref,A=o.resources,u=A===void 0?null:A,C=o.pdfFunctionFactory,I=o.localColorSpaceCache,E=this._parse(c,v,u,C),this._cache(c,v,I,E),_.abrupt("return",E);case 4:case"end":return _.stop()}},m,this)}));function i(m){return a.apply(this,arguments)}return i}()},{key:"parse",value:function(i){var m=i.cs,o=i.xref,c=i.resources,v=c===void 0?null:c,A=i.pdfFunctionFactory,u=i.localColorSpaceCache,C=this.getCached(m,o,u);if(C)return C;var I=this._parse(m,o,v,A);return this._cache(m,o,u,I),I}},{key:"_parse",value:function(i,m){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,c=arguments.length>3?arguments[3]:void 0;if(i=m.fetchIfRef(i),(0,e.isName)(i))switch(i.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new w(null);default:if((0,e.isDict)(o)){var v=o.get("ColorSpace");if((0,e.isDict)(v)){var A=v.get(i.name);if(A){if((0,e.isName)(A))return this._parse(A,m,o,c);i=A;break}}}throw new t.FormatError("Unrecognized ColorSpace: ".concat(i.name))}if(Array.isArray(i)){var u=m.fetchIfRef(i[0]).name,C,I,E,N,_,Y;switch(u){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return C=m.fetchIfRef(i[1]),N=C.getArray("WhitePoint"),_=C.getArray("BlackPoint"),Y=C.get("Gamma"),new F(N,_,Y);case"CalRGB":C=m.fetchIfRef(i[1]),N=C.getArray("WhitePoint"),_=C.getArray("BlackPoint"),Y=C.getArray("Gamma");var H=C.getArray("Matrix");return new s(N,_,Y,H);case"ICCBased":var Z=m.fetchIfRef(i[1]),ne=Z.dict;I=ne.get("N");var he=ne.get("Alternate");if(he){var Se=this._parse(he,m,o,c);if(Se.numComps===I)return Se;(0,t.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(I===1)return this.singletons.gray;if(I===3)return this.singletons.rgb;if(I===4)return this.singletons.cmyk;break;case"Pattern":return E=i[1]||null,E&&(E=this._parse(E,m,o,c)),new w(E);case"I":case"Indexed":E=this._parse(i[1],m,o,c);var ue=m.fetchIfRef(i[2])+1,te=m.fetchIfRef(i[3]);return new p(E,ue,te);case"Separation":case"DeviceN":var $=m.fetchIfRef(i[1]);I=Array.isArray($)?$.length:1,E=this._parse(i[2],m,o,c);var j=c.create(i[3]);return new O(I,E,j);case"Lab":C=m.fetchIfRef(i[1]),N=C.getArray("WhitePoint"),_=C.getArray("BlackPoint");var G=C.getArray("Range");return new g(N,_,G);default:throw new t.FormatError("Unimplemented ColorSpace object: ".concat(u))}}throw new t.FormatError("Unrecognized ColorSpace object: ".concat(i))}},{key:"isDefaultDecode",value:function(i,m){if(!Array.isArray(i))return!0;if(m*2!==i.length)return(0,t.warn)("The decode map is not the correct length"),!0;for(var o=0,c=i.length;o<c;o+=2)if(i[o]!==0||i[o+1]!==1)return!1;return!0}},{key:"singletons",get:function(){return(0,t.shadow)(this,"singletons",{get gray(){return(0,t.shadow)(this,"gray",new x)},get rgb(){return(0,t.shadow)(this,"rgb",new f)},get cmyk(){return(0,t.shadow)(this,"cmyk",new h)}})}}]),l}();P.ColorSpace=S;var O=function(l){V(i,l);var a=be(i);function i(m,o,c){var v;return X(this,i),v=a.call(this,"Alternate",m),v.base=o,v.tintFn=c,v.tmpBuf=new Float32Array(o.numComps),v}return k(i,[{key:"getRgbItem",value:function(o,c,v,A){var u=this.tmpBuf;this.tintFn(o,c,u,0),this.base.getRgbItem(u,0,v,A)}},{key:"getRgbBuffer",value:function(o,c,v,A,u,C,I){var E=this.tintFn,N=this.base,_=1/((1<<C)-1),Y=N.numComps,H=N.usesZeroToOneRange,Z=(N.isPassthrough(8)||!H)&&I===0,ne=Z?u:0,he=Z?A:new Uint8ClampedArray(Y*v),Se=this.numComps,ue=new Float32Array(Se),te=new Float32Array(Y),$,j;for($=0;$<v;$++){for(j=0;j<Se;j++)ue[j]=o[c++]*_;if(E(ue,0,te,0),H)for(j=0;j<Y;j++)he[ne++]=te[j]*255;else N.getRgbItem(te,0,he,ne),ne+=Y}Z||N.getRgbBuffer(he,0,v,A,u,8,I)}},{key:"getOutputLength",value:function(o,c){return this.base.getOutputLength(o*this.base.numComps/this.numComps,c)}}]),i}(S),w=function(l){V(i,l);var a=be(i);function i(m){var o;return X(this,i),o=a.call(this,"Pattern",null),o.base=m,o}return k(i,[{key:"isDefaultDecode",value:function(o,c){(0,t.unreachable)("Should not call PatternCS.isDefaultDecode")}}]),i}(S),p=function(l){V(i,l);var a=be(i);function i(m,o,c){var v;X(this,i),v=a.call(this,"Indexed",1),v.base=m,v.highVal=o;var A=m.numComps*o;if(v.lookup=new Uint8Array(A),(0,e.isStream)(c)){var u=c.getBytes(A);v.lookup.set(u)}else if(typeof c=="string")for(var C=0;C<A;++C)v.lookup[C]=c.charCodeAt(C)&255;else throw new t.FormatError("IndexedCS - unrecognized lookup table: ".concat(c));return v}return k(i,[{key:"getRgbItem",value:function(o,c,v,A){var u=this.base.numComps,C=o[c]*u;this.base.getRgbBuffer(this.lookup,C,1,v,A,8,0)}},{key:"getRgbBuffer",value:function(o,c,v,A,u,C,I){for(var E=this.base,N=E.numComps,_=E.getOutputLength(N,I),Y=this.lookup,H=0;H<v;++H){var Z=o[c++]*N;E.getRgbBuffer(Y,Z,1,A,u,8,I),u+=_}}},{key:"getOutputLength",value:function(o,c){return this.base.getOutputLength(o*this.base.numComps,c)}},{key:"isDefaultDecode",value:function(o,c){return Array.isArray(o)?o.length!==2?((0,t.warn)("Decode map length is not correct"),!0):!Number.isInteger(c)||c<1?((0,t.warn)("Bits per component is not correct"),!0):o[0]===0&&o[1]===(1<<c)-1:!0}}]),i}(S),x=function(l){V(i,l);var a=be(i);function i(){return X(this,i),a.call(this,"DeviceGray",1)}return k(i,[{key:"getRgbItem",value:function(o,c,v,A){var u=o[c]*255;v[A]=v[A+1]=v[A+2]=u}},{key:"getRgbBuffer",value:function(o,c,v,A,u,C,I){for(var E=255/((1<<C)-1),N=c,_=u,Y=0;Y<v;++Y){var H=E*o[N++];A[_++]=H,A[_++]=H,A[_++]=H,_+=I}}},{key:"getOutputLength",value:function(o,c){return o*(3+c)}}]),i}(S),f=function(l){V(i,l);var a=be(i);function i(){return X(this,i),a.call(this,"DeviceRGB",3)}return k(i,[{key:"getRgbItem",value:function(o,c,v,A){v[A]=o[c]*255,v[A+1]=o[c+1]*255,v[A+2]=o[c+2]*255}},{key:"getRgbBuffer",value:function(o,c,v,A,u,C,I){if(C===8&&I===0){A.set(o.subarray(c,c+v*3),u);return}for(var E=255/((1<<C)-1),N=c,_=u,Y=0;Y<v;++Y)A[_++]=E*o[N++],A[_++]=E*o[N++],A[_++]=E*o[N++],_+=I}},{key:"getOutputLength",value:function(o,c){return o*(3+c)/3|0}},{key:"isPassthrough",value:function(o){return o===8}}]),i}(S),h=function(){function a(m,o,c,v,A){var u=m[o]*c,C=m[o+1]*c,I=m[o+2]*c,E=m[o+3]*c;v[A]=255+u*(-4.387332384609988*u+54.48615194189176*C+18.82290502165302*I+212.25662451639585*E+-285.2331026137004)+C*(1.7149763477362134*C-5.6096736904047315*I+-17.873870861415444*E-5.497006427196366)+I*(-2.5217340131683033*I-21.248923337353073*E+17.5119270841813)+E*(-21.86122147463605*E-189.48180835922747),v[A+1]=255+u*(8.841041422036149*u+60.118027045597366*C+6.871425592049007*I+31.159100130055922*E+-79.2970844816548)+C*(-15.310361306967817*C+17.575251261109482*I+131.35250912493976*E-190.9453302588951)+I*(4.444339102852739*I+9.8632861493405*E-24.86741582555878)+E*(-20.737325471181034*E-187.80453709719578),v[A+2]=255+u*(.8842522430003296*u+8.078677503112928*C+30.89978309703729*I-.23883238689178934*E+-14.183576799673286)+C*(10.49593273432072*C+63.02378494754052*I+50.606957656360734*E-112.23884253719248)+I*(.03296041114873217*I+115.60384449646641*E+-193.58209356861505)+E*(-22.33816807309886*E-180.12613974708367)}var i=function(m){V(c,m);var o=be(c);function c(){return X(this,c),o.call(this,"DeviceCMYK",4)}return k(c,[{key:"getRgbItem",value:function(A,u,C,I){a(A,u,1,C,I)}},{key:"getRgbBuffer",value:function(A,u,C,I,E,N,_){for(var Y=1/((1<<N)-1),H=0;H<C;H++)a(A,u,Y,I,E),u+=4,E+=3+_}},{key:"getOutputLength",value:function(A,u){return A/4*(3+u)|0}}]),c}(S);return i}(),F=function(){function a(m,o,c,v,A,u){var C=o[c]*u,I=Math.pow(C,m.G),E=m.YW*I,N=Math.max(295.8*Math.pow(E,.3333333333333333)-40.8,0);v[A]=N,v[A+1]=N,v[A+2]=N}var i=function(m){V(c,m);var o=be(c);function c(v,A,u){var C;if(X(this,c),C=o.call(this,"CalGray",1),!v)throw new t.FormatError("WhitePoint missing - required for color space CalGray");if(A=A||[0,0,0],u=u||1,C.XW=v[0],C.YW=v[1],C.ZW=v[2],C.XB=A[0],C.YB=A[1],C.ZB=A[2],C.G=u,C.XW<0||C.ZW<0||C.YW!==1)throw new t.FormatError("Invalid WhitePoint components for ".concat(C.name)+", no fallback available");return(C.XB<0||C.YB<0||C.ZB<0)&&((0,t.info)("Invalid BlackPoint for ".concat(C.name,", falling back to default.")),C.XB=C.YB=C.ZB=0),(C.XB!==0||C.YB!==0||C.ZB!==0)&&(0,t.warn)("".concat(C.name,", BlackPoint: XB: ").concat(C.XB,", YB: ").concat(C.YB,", ")+"ZB: ".concat(C.ZB,", only default values are supported.")),C.G<1&&((0,t.info)("Invalid Gamma: ".concat(C.G," for ").concat(C.name,", ")+"falling back to default."),C.G=1),C}return k(c,[{key:"getRgbItem",value:function(A,u,C,I){a(this,A,u,C,I,1)}},{key:"getRgbBuffer",value:function(A,u,C,I,E,N,_){for(var Y=1/((1<<N)-1),H=0;H<C;++H)a(this,A,u,I,E,Y),u+=1,E+=3+_}},{key:"getOutputLength",value:function(A,u){return A*(3+u)}}]),c}(S);return i}(),s=function(){var a=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),i=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),m=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]),o=new Float32Array([1,1,1]),c=new Float32Array(3),v=new Float32Array(3),A=new Float32Array(3),u=Math.pow((8+16)/116,3)/8;function C(ue,te,$){$[0]=ue[0]*te[0]+ue[1]*te[1]+ue[2]*te[2],$[1]=ue[3]*te[0]+ue[4]*te[1]+ue[5]*te[2],$[2]=ue[6]*te[0]+ue[7]*te[1]+ue[8]*te[2]}function I(ue,te,$){$[0]=te[0]*1/ue[0],$[1]=te[1]*1/ue[1],$[2]=te[2]*1/ue[2]}function E(ue,te,$){var j=.95047,G=1,M=1.08883;$[0]=te[0]*j/ue[0],$[1]=te[1]*G/ue[1],$[2]=te[2]*M/ue[2]}function N(ue){return ue<=.0031308?_(0,1,12.92*ue):ue>=.99554525?1:_(0,1,(1+.055)*Math.pow(ue,1/2.4)-.055)}function _(ue,te,$){return Math.max(ue,Math.min(te,$))}function Y(ue){return ue<0?-Y(-ue):ue>8?Math.pow((ue+16)/116,3):ue*u}function H(ue,te,$){if(ue[0]===0&&ue[1]===0&&ue[2]===0){$[0]=te[0],$[1]=te[1],$[2]=te[2];return}var j=Y(0),G=j,M=Y(ue[0]),W=j,z=Y(ue[1]),J=j,Q=Y(ue[2]),K=(1-G)/(1-M),de=1-K,oe=(1-W)/(1-z),pe=1-oe,fe=(1-J)/(1-Q),ke=1-fe;$[0]=te[0]*K+de,$[1]=te[1]*oe+pe,$[2]=te[2]*fe+ke}function Z(ue,te,$){if(ue[0]===1&&ue[2]===1){$[0]=te[0],$[1]=te[1],$[2]=te[2];return}var j=$;C(a,te,j);var G=c;I(ue,j,G),C(i,G,$)}function ne(ue,te,$){var j=$;C(a,te,j);var G=c;E(ue,j,G),C(i,G,$)}function he(ue,te,$,j,G,M){var W=_(0,1,te[$]*M),z=_(0,1,te[$+1]*M),J=_(0,1,te[$+2]*M),Q=W===1?1:Math.pow(W,ue.GR),K=z===1?1:Math.pow(z,ue.GG),de=J===1?1:Math.pow(J,ue.GB),oe=ue.MXA*Q+ue.MXB*K+ue.MXC*de,pe=ue.MYA*Q+ue.MYB*K+ue.MYC*de,fe=ue.MZA*Q+ue.MZB*K+ue.MZC*de,ke=v;ke[0]=oe,ke[1]=pe,ke[2]=fe;var Re=A;Z(ue.whitePoint,ke,Re);var ve=v;H(ue.blackPoint,Re,ve);var we=A;ne(o,ve,we);var se=v;C(m,we,se),j[G]=N(se[0])*255,j[G+1]=N(se[1])*255,j[G+2]=N(se[2])*255}var Se=function(ue){V($,ue);var te=be($);function $(j,G,M,W){var z;if(X(this,$),z=te.call(this,"CalRGB",3),!j)throw new t.FormatError("WhitePoint missing - required for color space CalRGB");G=G||new Float32Array(3),M=M||new Float32Array([1,1,1]),W=W||new Float32Array([1,0,0,0,1,0,0,0,1]);var J=j[0],Q=j[1],K=j[2];z.whitePoint=j;var de=G[0],oe=G[1],pe=G[2];if(z.blackPoint=G,z.GR=M[0],z.GG=M[1],z.GB=M[2],z.MXA=W[0],z.MYA=W[1],z.MZA=W[2],z.MXB=W[3],z.MYB=W[4],z.MZB=W[5],z.MXC=W[6],z.MYC=W[7],z.MZC=W[8],J<0||K<0||Q!==1)throw new t.FormatError("Invalid WhitePoint components for ".concat(z.name)+", no fallback available");return(de<0||oe<0||pe<0)&&((0,t.info)("Invalid BlackPoint for ".concat(z.name," [").concat(de,", ").concat(oe,", ").concat(pe,"], ")+"falling back to default."),z.blackPoint=new Float32Array(3)),(z.GR<0||z.GG<0||z.GB<0)&&((0,t.info)("Invalid Gamma [".concat(z.GR,", ").concat(z.GG,", ").concat(z.GB,"] for ")+"".concat(z.name,", falling back to default.")),z.GR=z.GG=z.GB=1),z}return k($,[{key:"getRgbItem",value:function(G,M,W,z){he(this,G,M,W,z,1)}},{key:"getRgbBuffer",value:function(G,M,W,z,J,Q,K){for(var de=1/((1<<Q)-1),oe=0;oe<W;++oe)he(this,G,M,z,J,de),M+=3,J+=3+K}},{key:"getOutputLength",value:function(G,M){return G*(3+M)/3|0}}]),$}(S);return Se}(),g=function(){function a(c){var v;return c>=6/29?v=Math.pow(c,3):v=108/841*(c-4/29),v}function i(c,v,A,u){return A+c*(u-A)/v}function m(c,v,A,u,C,I){var E=v[A],N=v[A+1],_=v[A+2];u!==!1&&(E=i(E,u,0,100),N=i(N,u,c.amin,c.amax),_=i(_,u,c.bmin,c.bmax)),N>c.amax?N=c.amax:N<c.amin&&(N=c.amin),_>c.bmax?_=c.bmax:_<c.bmin&&(_=c.bmin);var Y=(E+16)/116,H=Y+N/500,Z=Y-_/200,ne=c.XW*a(H),he=c.YW*a(Y),Se=c.ZW*a(Z),ue,te,$;c.ZW<1?(ue=ne*3.1339+he*-1.617+Se*-.4906,te=ne*-.9785+he*1.916+Se*.0333,$=ne*.072+he*-.229+Se*1.4057):(ue=ne*3.2406+he*-1.5372+Se*-.4986,te=ne*-.9689+he*1.8758+Se*.0415,$=ne*.0557+he*-.204+Se*1.057),C[I]=Math.sqrt(ue)*255,C[I+1]=Math.sqrt(te)*255,C[I+2]=Math.sqrt($)*255}var o=function(c){V(A,c);var v=be(A);function A(u,C,I){var E;if(X(this,A),E=v.call(this,"Lab",3),!u)throw new t.FormatError("WhitePoint missing - required for color space Lab");if(C=C||[0,0,0],I=I||[-100,100,-100,100],E.XW=u[0],E.YW=u[1],E.ZW=u[2],E.amin=I[0],E.amax=I[1],E.bmin=I[2],E.bmax=I[3],E.XB=C[0],E.YB=C[1],E.ZB=C[2],E.XW<0||E.ZW<0||E.YW!==1)throw new t.FormatError("Invalid WhitePoint components, no fallback available");return(E.XB<0||E.YB<0||E.ZB<0)&&((0,t.info)("Invalid BlackPoint, falling back to default"),E.XB=E.YB=E.ZB=0),(E.amin>E.amax||E.bmin>E.bmax)&&((0,t.info)("Invalid Range, falling back to defaults"),E.amin=-100,E.amax=100,E.bmin=-100,E.bmax=100),E}return k(A,[{key:"getRgbItem",value:function(C,I,E,N){m(this,C,I,!1,E,N)}},{key:"getRgbBuffer",value:function(C,I,E,N,_,Y,H){for(var Z=(1<<Y)-1,ne=0;ne<E;ne++)m(this,C,I,Z,N,_),I+=3,_+=3+H}},{key:"getOutputLength",value:function(C,I){return C*(3+I)/3|0}},{key:"isDefaultDecode",value:function(C,I){return!0}},{key:"usesZeroToOneRange",get:function(){return(0,t.shadow)(this,"usesZeroToOneRange",!1)}}]),A}(S);return o}()},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.PartialEvaluator=P.EvaluatorPreprocessor=void 0;var T=F(D(2)),b=D(4),t=D(156),e=D(135),ge=D(174),le=D(148),V=D(149),ye=D(177),be=D(151),xe=D(185),ae=D(142),d=D(178),ce=D(186),q=D(157),re=D(188),X=D(140),y=D(136),k=D(189),n=D(154),S=D(159),O=D(150),w=D(139),p=D(190),x=D(191),f=D(192),h=D(193);function F($){return $&&$.__esModule?$:{default:$}}function s($,j){return a($)||l($,j)||c($,j)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l($,j){var G=$==null?null:typeof Symbol!="undefined"&&$[Symbol.iterator]||$["@@iterator"];if(G!=null){var M=[],W=!0,z=!1,J,Q;try{for(G=G.call($);!(W=(J=G.next()).done)&&(M.push(J.value),!(j&&M.length===j));W=!0);}catch(K){z=!0,Q=K}finally{try{!W&&G.return!=null&&G.return()}finally{if(z)throw Q}}return M}}function a($){if(Array.isArray($))return $}function i($,j,G,M,W,z,J){try{var Q=$[z](J),K=Q.value}catch(de){G(de);return}Q.done?j(K):Promise.resolve(K).then(M,W)}function m($){return function(){var j=this,G=arguments;return new Promise(function(M,W){var z=$.apply(j,G);function J(K){i(z,M,W,J,Q,"next",K)}function Q(K){i(z,M,W,J,Q,"throw",K)}J(void 0)})}}function o($,j){var G=typeof Symbol!="undefined"&&$[Symbol.iterator]||$["@@iterator"];if(!G){if(Array.isArray($)||(G=c($))||j&&$&&typeof $.length=="number"){G&&($=G);var M=0,W=function(){};return{s:W,n:function(){return M>=$.length?{done:!0}:{done:!1,value:$[M++]}},e:function(de){throw de},f:W}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z=!0,J=!1,Q;return{s:function(){G=G.call($)},n:function(){var de=G.next();return z=de.done,de},e:function(de){J=!0,Q=de},f:function(){try{!z&&G.return!=null&&G.return()}finally{if(J)throw Q}}}}function c($,j){if(!!$){if(typeof $=="string")return v($,j);var G=Object.prototype.toString.call($).slice(8,-1);if(G==="Object"&&$.constructor&&(G=$.constructor.name),G==="Map"||G==="Set")return Array.from($);if(G==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G))return v($,j)}}function v($,j){(j==null||j>$.length)&&(j=$.length);for(var G=0,M=new Array(j);G<j;G++)M[G]=$[G];return M}function A($,j){if(!($ instanceof j))throw new TypeError("Cannot call a class as a function")}function u($,j){for(var G=0;G<j.length;G++){var M=j[G];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty($,M.key,M)}}function C($,j,G){return j&&u($.prototype,j),G&&u($,G),$}var I=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),E={TILING:1,SHADING:2},N=10,_=Promise.resolve();function Y($){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray($)){for(var G=0,M=$.length;G<M;G++){var W=Y($[G],!0);if(W)return W}return(0,b.warn)("Unsupported blend mode Array: ".concat($)),"source-over"}if(!(0,e.isName)($))return j?null:"source-over";switch($.name){case"Normal":case"Compatible":return"source-over";case"Multiply":return"multiply";case"Screen":return"screen";case"Overlay":return"overlay";case"Darken":return"darken";case"Lighten":return"lighten";case"ColorDodge":return"color-dodge";case"ColorBurn":return"color-burn";case"HardLight":return"hard-light";case"SoftLight":return"soft-light";case"Difference":return"difference";case"Exclusion":return"exclusion";case"Hue":return"hue";case"Saturation":return"saturation";case"Color":return"color";case"Luminosity":return"luminosity"}return j?null:((0,b.warn)("Unsupported blend mode: ".concat($.name)),"source-over")}var H=function(){function $(){A(this,$),this.reset()}return C($,[{key:"check",value:function(){return++this.checked<$.CHECK_TIME_EVERY?!1:(this.checked=0,this.endTime<=Date.now())}},{key:"reset",value:function(){this.endTime=Date.now()+$.TIME_SLOT_DURATION_MS,this.checked=0}}],[{key:"TIME_SLOT_DURATION_MS",get:function(){return(0,b.shadow)(this,"TIME_SLOT_DURATION_MS",20)}},{key:"CHECK_TIME_EVERY",get:function(){return(0,b.shadow)(this,"CHECK_TIME_EVERY",100)}}]),$}(),Z=function(){function $(j){var G=j.xref,M=j.handler,W=j.pageIndex,z=j.idFactory,J=j.fontCache,Q=j.builtInCMapCache,K=j.standardFontDataCache,de=j.globalImageCache,oe=j.options,pe=oe===void 0?null:oe;A(this,$),this.xref=G,this.handler=M,this.pageIndex=W,this.idFactory=z,this.fontCache=J,this.builtInCMapCache=Q,this.standardFontDataCache=K,this.globalImageCache=de,this.options=pe||I,this.parsingType3Font=!1,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this)}return C($,[{key:"_pdfFunctionFactory",get:function(){var G=new ce.PDFFunctionFactory({xref:this.xref,isEvalSupported:this.options.isEvalSupported});return(0,b.shadow)(this,"_pdfFunctionFactory",G)}},{key:"clone",value:function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,M=Object.create(this);return M.options=Object.assign(Object.create(null),this.options,G),M}},{key:"hasBlendModes",value:function(G,M){if(!(G instanceof e.Dict)||G.objId&&M.has(G.objId))return!1;var W=new e.RefSet(M);G.objId&&W.put(G.objId);for(var z=[G],J=this.xref;z.length;){var Q=z.shift(),K=Q.get("ExtGState");if(K instanceof e.Dict){var de=o(K.getRawValues()),oe;try{for(de.s();!(oe=de.n()).done;){var pe=oe.value;if(pe instanceof e.Ref){if(W.has(pe))continue;try{pe=J.fetch(pe)}catch(Ee){W.put(pe),(0,b.info)('hasBlendModes - ignoring ExtGState: "'.concat(Ee,'".'));continue}}if(pe instanceof e.Dict){pe.objId&&W.put(pe.objId);var fe=pe.get("BM");if(fe instanceof e.Name){if(fe.name!=="Normal")return!0;continue}if(fe!==void 0&&Array.isArray(fe)){var ke=o(fe),Re;try{for(ke.s();!(Re=ke.n()).done;){var ve=Re.value;if(ve instanceof e.Name&&ve.name!=="Normal")return!0}}catch(Ee){ke.e(Ee)}finally{ke.f()}}}}}catch(Ee){de.e(Ee)}finally{de.f()}}var we=Q.get("XObject");if(we instanceof e.Dict){var se=o(we.getRawValues()),me;try{for(se.s();!(me=se.n()).done;){var ee=me.value;if(ee instanceof e.Ref){if(W.has(ee))continue;try{ee=J.fetch(ee)}catch(Ee){W.put(ee),(0,b.info)('hasBlendModes - ignoring XObject: "'.concat(Ee,'".'));continue}}if(!!(0,e.isStream)(ee)){ee.dict.objId&&W.put(ee.dict.objId);var Fe=ee.dict.get("Resources");Fe instanceof e.Dict&&(Fe.objId&&W.has(Fe.objId)||(z.push(Fe),Fe.objId&&W.put(Fe.objId)))}}}catch(Ee){se.e(Ee)}finally{se.f()}}}return W.forEach(function(Ee){M.put(Ee)}),!1}},{key:"fetchBuiltInCMap",value:function(){var j=m(T.default.mark(function M(W){var z,J,Q,K;return T.default.wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(z=this.builtInCMapCache.get(W),!z){oe.next=3;break}return oe.abrupt("return",z);case 3:if(this.options.cMapUrl===null){oe.next=19;break}return Q="".concat(this.options.cMapUrl).concat(W,".bcmap"),oe.next=7,fetch(Q);case 7:if(K=oe.sent,K.ok){oe.next=10;break}throw new Error('fetchBuiltInCMap: failed to fetch file "'.concat(Q,'" with "').concat(K.statusText,'".'));case 10:return oe.t0=Uint8Array,oe.next=13,K.arrayBuffer();case 13:oe.t1=oe.sent,oe.t2=new oe.t0(oe.t1),oe.t3=b.CMapCompressionType.BINARY,J={cMapData:oe.t2,compressionType:oe.t3},oe.next=22;break;case 19:return oe.next=21,this.handler.sendWithPromise("FetchBuiltInCMap",{name:W});case 21:J=oe.sent;case 22:return J.compressionType!==b.CMapCompressionType.NONE&&this.builtInCMapCache.set(W,J),oe.abrupt("return",J);case 24:case"end":return oe.stop()}},M,this)}));function G(M){return j.apply(this,arguments)}return G}()},{key:"fetchStandardFontData",value:function(){var j=m(T.default.mark(function M(W){var z,J,Q,K,de,oe;return T.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(z=this.standardFontDataCache.get(W),!z){fe.next=3;break}return fe.abrupt("return",new X.Stream(z));case 3:if(!(this.options.useSystemFonts&&W!=="Symbol"&&W!=="ZapfDingbats")){fe.next=5;break}return fe.abrupt("return",null);case 5:if(J=(0,ye.getFontNameToFileMap)(),Q=J[W],this.options.standardFontDataUrl===null){fe.next=20;break}return de="".concat(this.options.standardFontDataUrl).concat(Q),fe.next=10,fetch(de);case 10:if(oe=fe.sent,oe.ok){fe.next=15;break}(0,b.warn)('fetchStandardFontData: failed to fetch file "'.concat(de,'" with "').concat(oe.statusText,'".')),fe.next=18;break;case 15:return fe.next=17,oe.arrayBuffer();case 17:K=fe.sent;case 18:fe.next=29;break;case 20:return fe.prev=20,fe.next=23,this.handler.sendWithPromise("FetchStandardFontData",{filename:Q});case 23:K=fe.sent,fe.next=29;break;case 26:fe.prev=26,fe.t0=fe.catch(20),(0,b.warn)('fetchStandardFontData: failed to fetch file "'.concat(Q,'" with "').concat(fe.t0,'".'));case 29:if(K){fe.next=31;break}return fe.abrupt("return",null);case 31:return this.standardFontDataCache.set(W,K),fe.abrupt("return",new X.Stream(K));case 33:case"end":return fe.stop()}},M,this,[[20,26]])}));function G(M){return j.apply(this,arguments)}return G}()},{key:"buildFormXObject",value:function(){var j=m(T.default.mark(function M(W,z,J,Q,K,de,oe){var pe,fe,ke,Re,ve,we,se,me,ee,Fe,Ee;return T.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(pe=z.dict,fe=pe.getArray("Matrix"),ke=pe.getArray("BBox"),Array.isArray(ke)&&ke.length===4?ke=b.Util.normalizeRect(ke):ke=null,!pe.has("OC")){De.next=8;break}return De.next=7,this.parseMarkedContentProps(pe.get("OC"),W);case 7:Re=De.sent;case 8:if(Re!==void 0&&Q.addOp(b.OPS.beginMarkedContentProps,["OC",Re]),we=pe.get("Group"),!we){De.next=29;break}if(ve={matrix:fe,bbox:ke,smask:J,isolated:!1,knockout:!1},se=we.get("S"),me=null,!(0,e.isName)(se,"Transparency")){De.next=27;break}if(ve.isolated=we.get("I")||!1,ve.knockout=we.get("K")||!1,!we.has("CS")){De.next=27;break}if(ee=we.getRaw("CS"),Fe=n.ColorSpace.getCached(ee,this.xref,oe),!Fe){De.next=24;break}me=Fe,De.next=27;break;case 24:return De.next=26,this.parseColorSpace({cs:ee,resources:W,localColorSpaceCache:oe});case 26:me=De.sent;case 27:J&&J.backdrop&&(me=me||n.ColorSpace.singletons.rgb,J.backdrop=me.getRgb(J.backdrop,0)),Q.addOp(b.OPS.beginGroup,[ve]);case 29:return Ee=we?[fe,null]:[fe,ke],Q.addOp(b.OPS.paintFormXObjectBegin,Ee),De.abrupt("return",this.getOperatorList({stream:z,task:K,resources:pe.get("Resources")||W,operatorList:Q,initialState:de}).then(function(){Q.addOp(b.OPS.paintFormXObjectEnd,[]),we&&Q.addOp(b.OPS.endGroup,[ve]),Re!==void 0&&Q.addOp(b.OPS.endMarkedContent,[])}));case 32:case"end":return De.stop()}},M,this)}));function G(M,W,z,J,Q,K,de){return j.apply(this,arguments)}return G}()},{key:"_sendImgData",value:function(G,M){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,z=M?[M.data.buffer]:null;return this.parsingType3Font||W?this.handler.send("commonobj",[G,"Image",M],z):this.handler.send("obj",[G,this.pageIndex,"Image",M],z)}},{key:"buildPaintImageXObject",value:function(){var j=m(T.default.mark(function M(W){var z=this,J,Q,K,de,oe,pe,fe,ke,Re,ve,we,se,me,ee,Fe,Ee,Ce,De,_e,Ne,$e,je,Ve,Ke,Qe,Ze,ze;return T.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(J=W.resources,Q=W.image,K=W.isInline,de=K===void 0?!1:K,oe=W.operatorList,pe=W.cacheKey,fe=W.localImageCache,ke=W.localColorSpaceCache,Re=Q.dict,ve=Re.objId,we=Re.get("W","Width"),se=Re.get("H","Height"),!(!(we&&(0,b.isNum)(we))||!(se&&(0,b.isNum)(se)))){Je.next=8;break}return(0,b.warn)("Image dimensions are missing, or not numbers."),Je.abrupt("return");case 8:if(me=this.options.maxImageSize,!(me!==-1&&we*se>me)){Je.next=12;break}return(0,b.warn)("Image exceeded maximum allowed size and was removed."),Je.abrupt("return");case 12:if(!Re.has("OC")){Je.next=16;break}return Je.next=15,this.parseMarkedContentProps(Re.get("OC"),J);case 15:ee=Je.sent;case 16:if(ee!==void 0&&oe.addOp(b.OPS.beginMarkedContentProps,["OC",ee]),Fe=Re.get("IM","ImageMask")||!1,Ee=Re.get("I","Interpolate"),!Fe){Je.next=30;break}return _e=we+7>>3,Ne=Q.getBytes(_e*se,!0),$e=Re.getArray("D","Decode"),Ce=h.PDFImage.createMask({imgArray:Ne,width:we,height:se,imageIsFromDecodeStream:Q instanceof S.DecodeStream,inverseDecode:!!$e&&$e[0]>0,interpolate:Ee}),Ce.cached=!!pe,De=[Ce],oe.addOp(b.OPS.paintImageMaskXObject,De),pe&&fe.set(pe,ve,{fn:b.OPS.paintImageMaskXObject,args:De}),ee!==void 0&&oe.addOp(b.OPS.endMarkedContent,[]),Je.abrupt("return");case 30:if(je=Re.get("SM","SMask")||!1,Ve=Re.get("Mask")||!1,Ke=200,!(de&&!je&&!Ve&&we+se<Ke)){Je.next=39;break}return Qe=new h.PDFImage({xref:this.xref,res:J,image:Q,isInline:de,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:ke}),Ce=Qe.createImageData(!0),oe.addOp(b.OPS.paintInlineImageXObject,[Ce]),ee!==void 0&&oe.addOp(b.OPS.endMarkedContent,[]),Je.abrupt("return");case 39:Ze="img_".concat(this.idFactory.createObjId()),ze=!1,this.parsingType3Font?Ze="".concat(this.idFactory.getDocId(),"_type3_").concat(Ze):ve&&(ze=this.globalImageCache.shouldCache(ve,this.pageIndex),ze&&(Ze="".concat(this.idFactory.getDocId(),"_").concat(Ze))),oe.addDependency(Ze),De=[Ze,we,se],h.PDFImage.buildImage({xref:this.xref,res:J,image:Q,isInline:de,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:ke}).then(function(gt){return Ce=gt.createImageData(!1),pe&&ve&&ze&&z.globalImageCache.addByteSize(ve,Ce.data.length),z._sendImgData(Ze,Ce,ze)}).catch(function(gt){return(0,b.warn)('Unable to decode image "'.concat(Ze,'": "').concat(gt,'".')),z._sendImgData(Ze,null,ze)}),oe.addOp(b.OPS.paintImageXObject,De),pe&&(fe.set(pe,ve,{fn:b.OPS.paintImageXObject,args:De}),ve&&((0,b.assert)(!de,"Cannot cache an inline image globally."),this.globalImageCache.addPageIndex(ve,this.pageIndex),ze&&this.globalImageCache.setData(ve,{objId:Ze,fn:b.OPS.paintImageXObject,args:De,byteSize:0}))),ee!==void 0&&oe.addOp(b.OPS.endMarkedContent,[]);case 47:case"end":return Je.stop()}},M,this)}));function G(M){return j.apply(this,arguments)}return G}()},{key:"handleSMask",value:function(G,M,W,z,J,Q){var K=G.get("G"),de={subtype:G.get("S").name,backdrop:G.get("BC")},oe=G.get("TR");if((0,ce.isPDFFunction)(oe)){for(var pe=this._pdfFunctionFactory.create(oe),fe=new Uint8Array(256),ke=new Float32Array(1),Re=0;Re<256;Re++)ke[0]=Re/255,pe(ke,0,ke,0),fe[Re]=ke[0]*255|0;de.transferMap=fe}return this.buildFormXObject(M,K,de,W,z,J.state.clone(),Q)}},{key:"handleTransferFunction",value:function(G){var M;if(Array.isArray(G))M=G;else if((0,ce.isPDFFunction)(G))M=[G];else return null;var W=[],z=0,J=0,Q=o(M),K;try{for(Q.s();!(K=Q.n()).done;){var de=K.value,oe=this.xref.fetchIfRef(de);if(z++,(0,e.isName)(oe,"Identity")){W.push(null);continue}else if(!(0,ce.isPDFFunction)(oe))return null;for(var pe=this._pdfFunctionFactory.create(oe),fe=new Uint8Array(256),ke=new Float32Array(1),Re=0;Re<256;Re++)ke[0]=Re/255,pe(ke,0,ke,0),fe[Re]=ke[0]*255|0;W.push(fe),J++}}catch(ve){Q.e(ve)}finally{Q.f()}return!(z===1||z===4)||J===0?null:W}},{key:"handleTilingType",value:function(G,M,W,z,J,Q,K,de){var oe=this,pe=new f.OperatorList,fe=e.Dict.merge({xref:this.xref,dictArray:[J.get("Resources"),W]});return this.getOperatorList({stream:z,task:K,resources:fe,operatorList:pe}).then(function(){var ke=pe.getIR(),Re=(0,xe.getTilingPatternIR)(ke,J,M);Q.addDependencies(pe.dependencies),Q.addOp(G,Re),J.objId&&de.set(null,J.objId,{operatorListIR:ke,dict:J})}).catch(function(ke){if(!(ke instanceof b.AbortException)){if(oe.options.ignoreErrors){oe.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorTilingPattern}),(0,b.warn)('handleTilingType - ignoring pattern: "'.concat(ke,'".'));return}throw ke}})}},{key:"handleSetFont",value:function(G,M,W,z,J,Q){var K=this,de=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,oe=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,pe=M&&M[0]instanceof e.Name?M[0].name:null;return this.loadFont(pe,W,G,de,oe).then(function(fe){return fe.font.isType3Font?fe.loadType3Data(K,G,J).then(function(){return z.addDependencies(fe.type3Dependencies),fe}).catch(function(ke){return K.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorFontLoadType3}),new ne({loadedName:"g_font_error",font:new ge.ErrorFont("Type3 font load error: ".concat(ke)),dict:fe.font,evaluatorOptions:K.options})}):fe}).then(function(fe){return Q.font=fe.font,fe.send(K.handler),fe.loadedName})}},{key:"handleText",value:function(G,M){var W=M.font,z=W.charsToGlyphs(G);if(W.data){var J=!!(M.textRenderingMode&b.TextRenderingMode.ADD_TO_PATH_FLAG);(J||M.fillColorSpace.name==="Pattern"||W.disableFontFace||this.options.disableFontFace)&&$.buildFontPaths(W,z,this.handler,this.options)}return z}},{key:"ensureStateFont",value:function(G){if(!G.font){var M=new b.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorFontState}),(0,b.warn)('ensureStateFont: "'.concat(M,'".'));return}throw M}}},{key:"setGState",value:function(){var j=m(T.default.mark(function M(W){var z=this,J,Q,K,de,oe,pe,fe,ke,Re,ve,we,se,me,ee,Fe,Ee;return T.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:for(J=W.resources,Q=W.gState,K=W.operatorList,de=W.cacheKey,oe=W.task,pe=W.stateManager,fe=W.localGStateCache,ke=W.localColorSpaceCache,Re=Q.objId,ve=!0,we=[],se=Q.getKeys(),me=Promise.resolve(),ee=function(Ne,$e){var je=se[Ne],Ve=Q.get(je);switch(je){case"Type":break;case"LW":case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":we.push([je,Ve]);break;case"Font":ve=!1,me=me.then(function(){return z.handleSetFont(J,null,Ve[0],K,oe,pe.state).then(function(Qe){K.addDependency(Qe),we.push([je,[Qe,Ve[1]]])})});break;case"BM":we.push([je,Y(Ve)]);break;case"SMask":if((0,e.isName)(Ve,"None")){we.push([je,!1]);break}(0,e.isDict)(Ve)?(ve=!1,me=me.then(function(){return z.handleSMask(Ve,J,K,oe,pe,ke)}),we.push([je,!0])):(0,b.warn)("Unsupported SMask type");break;case"TR":var Ke=z.handleTransferFunction(Ve);we.push([je,Ke]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,b.info)("graphic state operator "+je);break;default:(0,b.info)("Unknown graphic state operator "+je);break}},Fe=0,Ee=se.length;Fe<Ee;Fe++)ee(Fe,Ee);return De.abrupt("return",me.then(function(){we.length>0&&K.addOp(b.OPS.setGState,[we]),ve&&fe.set(de,Re,we)}));case 9:case"end":return De.stop()}},M)}));function G(M){return j.apply(this,arguments)}return G}()},{key:"loadFont",value:function(G,M,W){var z=this,J=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Q=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,K=function(){var Ce=m(T.default.mark(function De(){return T.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return Ne.abrupt("return",new ne({loadedName:"g_font_error",font:new ge.ErrorFont('Font "'.concat(G,'" is not available.')),dict:M,evaluatorOptions:z.options}));case 1:case"end":return Ne.stop()}},De)}));return function(){return Ce.apply(this,arguments)}}(),de=this.xref,oe;if(M){if(!(0,e.isRef)(M))throw new b.FormatError('The "font" object should be a reference.');oe=M}else{var pe=W.get("Font");pe&&(oe=pe.getRaw(G))}if(!oe){var fe='Font "'.concat(G||M&&M.toString(),'" is not available');if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,b.warn)("".concat(fe,".")),K();this.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorFontMissing}),(0,b.warn)("".concat(fe," -- attempting to fallback to a default font.")),J?oe=J:oe=$.fallbackFontDict}if(this.fontCache.has(oe))return this.fontCache.get(oe);if(M=de.fetchIfRef(oe),!(0,e.isDict)(M))return K();if(M.cacheKey&&this.fontCache.has(M.cacheKey))return this.fontCache.get(M.cacheKey);var ke=(0,b.createPromiseCapability)(),Re;try{Re=this.preEvaluateFont(M),Re.cssFontInfo=Q}catch(Ce){return(0,b.warn)('loadFont - preEvaluateFont failed: "'.concat(Ce,'".')),K()}var ve=Re,we=ve.descriptor,se=ve.hash,me=(0,e.isRef)(oe),ee;if(me&&(ee="f".concat(oe.toString())),se&&(0,e.isDict)(we)){we.fontAliases||(we.fontAliases=Object.create(null));var Fe=we.fontAliases;if(Fe[se]){var Ee=Fe[se].aliasRef;if(me&&Ee&&this.fontCache.has(Ee))return this.fontCache.putAlias(oe,Ee),this.fontCache.get(oe)}else Fe[se]={fontID:this.idFactory.createFontId()};me&&(Fe[se].aliasRef=oe),ee=Fe[se].fontID}return me?this.fontCache.put(oe,ke.promise):(ee||(ee=this.idFactory.createFontId()),M.cacheKey="cacheKey_".concat(ee),this.fontCache.put(M.cacheKey,ke.promise)),(0,b.assert)(ee&&ee.startsWith("f"),'The "fontID" must be (correctly) defined.'),M.loadedName="".concat(this.idFactory.getDocId(),"_").concat(ee),this.translateFont(Re).then(function(Ce){Ce.fontType!==void 0&&de.stats.addFontType(Ce.fontType),ke.resolve(new ne({loadedName:M.loadedName,font:Ce,dict:M,evaluatorOptions:z.options}))}).catch(function(Ce){z.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorFontTranslate}),(0,b.warn)('loadFont - translateFont failed: "'.concat(Ce,'".'));try{var De=we&&we.get("FontFile3"),_e=De&&De.get("Subtype"),Ne=(0,le.getFontType)(Re.type,_e&&_e.name);Ne!==void 0&&de.stats.addFontType(Ne)}catch($e){}ke.resolve(new ne({loadedName:M.loadedName,font:new ge.ErrorFont(Ce instanceof Error?Ce.message:Ce),dict:M,evaluatorOptions:z.options}))}),ke.promise}},{key:"buildPath",value:function(G,M,W){var z=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,J=G.length-1;if(W||(W=[]),J<0||G.fnArray[J]!==b.OPS.constructPath)z&&((0,b.warn)('Encountered path operator "'.concat(M,'" inside of a text object.')),G.addOp(b.OPS.save,null)),G.addOp(b.OPS.constructPath,[[M],W]),z&&G.addOp(b.OPS.restore,null);else{var Q=G.argsArray[J];Q[0].push(M),Array.prototype.push.apply(Q[1],W)}}},{key:"parseColorSpace",value:function(G){var M=this,W=G.cs,z=G.resources,J=G.localColorSpaceCache;return n.ColorSpace.parseAsync({cs:W,xref:this.xref,resources:z,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:J}).catch(function(Q){if(Q instanceof b.AbortException)return null;if(M.options.ignoreErrors)return M.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorColorSpace}),(0,b.warn)('parseColorSpace - ignoring ColorSpace: "'.concat(Q,'".')),null;throw Q})}},{key:"parseShading",value:function(G){var M=G.shading,W=G.resources,z=G.localColorSpaceCache,J=G.localShadingPatternCache,Q=J.get(M);if(!Q){var K=xe.Pattern.parseShading(M,this.xref,W,this.handler,this._pdfFunctionFactory,z),de=K.getIR();Q="pattern_".concat(this.idFactory.createObjId()),J.set(M,Q),this.handler.send("obj",[Q,this.pageIndex,"Pattern",de])}return Q}},{key:"handleColorN",value:function(G,M,W,z,J,Q,K,de,oe,pe){var fe=W.pop();if(fe instanceof e.Name){var ke=J.getRaw(fe.name),Re=ke instanceof e.Ref&&oe.getByRef(ke);if(Re)try{var ve=z.base?z.base.getRgb(W,0):null,we=(0,xe.getTilingPatternIR)(Re.operatorListIR,Re.dict,ve);G.addOp(M,we);return}catch(_e){}var se=this.xref.fetchIfRef(ke);if(se){var me=(0,e.isStream)(se)?se.dict:se,ee=me.get("PatternType");if(ee===E.TILING){var Fe=z.base?z.base.getRgb(W,0):null;return this.handleTilingType(M,Fe,Q,se,me,G,K,oe)}else if(ee===E.SHADING){var Ee=me.get("Shading"),Ce=me.getArray("Matrix"),De=this.parseShading({shading:Ee,resources:Q,localColorSpaceCache:de,localShadingPatternCache:pe});G.addOp(M,["Shading",De,Ce]);return}throw new b.FormatError("Unknown PatternType: ".concat(ee))}}throw new b.FormatError("Unknown PatternName: ".concat(fe))}},{key:"_parseVisibilityExpression",value:function(G,M,W){var z=10;if(++M>z){(0,b.warn)("Visibility expression is too deeply nested");return}var J=G.length,Q=this.xref.fetchIfRef(G[0]);if(J<2||!(0,e.isName)(Q)){(0,b.warn)("Invalid visibility expression");return}switch(Q.name){case"And":case"Or":case"Not":W.push(Q.name);break;default:(0,b.warn)("Invalid operator ".concat(Q.name," in visibility expression"));return}for(var K=1;K<J;K++){var de=G[K],oe=this.xref.fetchIfRef(de);if(Array.isArray(oe)){var pe=[];W.push(pe),this._parseVisibilityExpression(oe,M,pe)}else(0,e.isRef)(de)&&W.push(de.toString())}}},{key:"parseMarkedContentProps",value:function(){var j=m(T.default.mark(function M(W,z){var J,Q,K,de,oe,pe,fe,ke,Re,ve;return T.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:if(!(0,e.isName)(W)){se.next=5;break}Q=z.get("Properties"),J=Q.get(W.name),se.next=10;break;case 5:if(!(0,e.isDict)(W)){se.next=9;break}J=W,se.next=10;break;case 9:throw new b.FormatError("Optional content properties malformed.");case 10:if(K=J.get("Type").name,K!=="OCG"){se.next=15;break}return se.abrupt("return",{type:K,id:J.objId});case 15:if(K!=="OCMD"){se.next=31;break}if(de=J.get("VE"),!Array.isArray(de)){se.next=22;break}if(oe=[],this._parseVisibilityExpression(de,0,oe),!(oe.length>0)){se.next=22;break}return se.abrupt("return",{type:"OCMD",expression:oe});case 22:if(pe=J.get("OCGs"),!(Array.isArray(pe)||(0,e.isDict)(pe))){se.next=29;break}if(fe=[],Array.isArray(pe)){ke=o(pe);try{for(ke.s();!(Re=ke.n()).done;)ve=Re.value,fe.push(ve.toString())}catch(me){ke.e(me)}finally{ke.f()}}else fe.push(pe.objId);return se.abrupt("return",{type:K,ids:fe,policy:(0,e.isName)(J.get("P"))?J.get("P").name:null,expression:null});case 29:if(!(0,e.isRef)(pe)){se.next=31;break}return se.abrupt("return",{type:K,id:pe.toString()});case 31:return se.abrupt("return",null);case 32:case"end":return se.stop()}},M,this)}));function G(M,W){return j.apply(this,arguments)}return G}()},{key:"getOperatorList",value:function(G){var M=this,W=G.stream,z=G.task,J=G.resources,Q=G.operatorList,K=G.initialState,de=K===void 0?null:K,oe=G.fallbackFontDict,pe=oe===void 0?null:oe;if(J=J||e.Dict.empty,de=de||new ue,!Q)throw new Error('getOperatorList: missing "operatorList" parameter');var fe=this,ke=this.xref,Re=!1,ve=new re.LocalImageCache,we=new re.LocalColorSpaceCache,se=new re.LocalGStateCache,me=new re.LocalTilingPatternCache,ee=new Map,Fe=J.get("XObject")||e.Dict.empty,Ee=J.get("Pattern")||e.Dict.empty,Ce=new he(de),De=new te(W,ke,Ce),_e=new H;function Ne($e){for(var je=0,Ve=De.savedStatesDepth;je<Ve;je++)Q.addOp(b.OPS.restore,[])}return new Promise(function $e(je,Ve){var Ke=function(Kt){Promise.all([Kt,Q.ready]).then(function(){try{$e(je,Ve)}catch(Jt){Ve(Jt)}},Ve)};z.ensureNotTerminated(),_e.reset();for(var Qe={},Ze,ze,ct,Je,gt,xt;!(Ze=_e.check())&&(Qe.args=null,!!De.read(Qe));){var tt=Qe.args,yt=Qe.fn;switch(yt|0){case b.OPS.paintXObject:if(xt=tt[0]instanceof e.Name,gt=tt[0].name,xt){var It=ve.getByName(gt);if(It){Q.addOp(It.fn,It.args),tt=null;continue}}Ke(new Promise(function(bt,Kt){if(!xt)throw new b.FormatError("XObject must be referred to by name.");var Jt=Fe.getRaw(gt);if(Jt instanceof e.Ref){var nr=ve.getByRef(Jt);if(nr){Q.addOp(nr.fn,nr.args),bt();return}var pr=fe.globalImageCache.getData(Jt,fe.pageIndex);if(pr){Q.addDependency(pr.objId),Q.addOp(pr.fn,pr.args),bt();return}Jt=ke.fetch(Jt)}if(!(0,e.isStream)(Jt))throw new b.FormatError("XObject should be a stream");var ur=Jt.dict.get("Subtype");if(!(0,e.isName)(ur))throw new b.FormatError("XObject should have a Name subtype");if(ur.name==="Form"){Ce.save(),fe.buildFormXObject(J,Jt,null,Q,z,Ce.state.clone(),we).then(function(){Ce.restore(),bt()},Kt);return}else if(ur.name==="Image"){fe.buildPaintImageXObject({resources:J,image:Jt,operatorList:Q,cacheKey:gt,localImageCache:ve,localColorSpaceCache:we}).then(bt,Kt);return}else if(ur.name==="PS")(0,b.info)("Ignored XObject subtype PS");else throw new b.FormatError("Unhandled XObject subtype ".concat(ur.name));bt()}).catch(function(bt){if(!(bt instanceof b.AbortException)){if(fe.options.ignoreErrors){fe.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorXObject}),(0,b.warn)('getOperatorList - ignoring XObject: "'.concat(bt,'".'));return}throw bt}}));return;case b.OPS.setFont:var ft=tt[1];Ke(fe.handleSetFont(J,tt,null,Q,z,Ce.state,pe).then(function(bt){Q.addDependency(bt),Q.addOp(b.OPS.setFont,[bt,ft])}));return;case b.OPS.beginText:Re=!0;break;case b.OPS.endText:Re=!1;break;case b.OPS.endInlineImage:var Ut=tt[0].cacheKey;if(Ut){var kt=ve.getByName(Ut);if(kt){Q.addOp(kt.fn,kt.args),tt=null;continue}}Ke(fe.buildPaintImageXObject({resources:J,image:tt[0],isInline:!0,operatorList:Q,cacheKey:Ut,localImageCache:ve,localColorSpaceCache:we}));return;case b.OPS.showText:if(!Ce.state.font){fe.ensureStateFont(Ce.state);continue}tt[0]=fe.handleText(tt[0],Ce.state);break;case b.OPS.showSpacedText:if(!Ce.state.font){fe.ensureStateFont(Ce.state);continue}var Nt=tt[0],ar=[],Qt=Nt.length,He=Ce.state;for(ze=0;ze<Qt;++ze){var et=Nt[ze];(0,b.isString)(et)?Array.prototype.push.apply(ar,fe.handleText(et,He)):(0,b.isNum)(et)&&ar.push(et)}tt[0]=ar,yt=b.OPS.showText;break;case b.OPS.nextLineShowText:if(!Ce.state.font){fe.ensureStateFont(Ce.state);continue}Q.addOp(b.OPS.nextLine),tt[0]=fe.handleText(tt[0],Ce.state),yt=b.OPS.showText;break;case b.OPS.nextLineSetSpacingShowText:if(!Ce.state.font){fe.ensureStateFont(Ce.state);continue}Q.addOp(b.OPS.nextLine),Q.addOp(b.OPS.setWordSpacing,[tt.shift()]),Q.addOp(b.OPS.setCharSpacing,[tt.shift()]),tt[0]=fe.handleText(tt[0],Ce.state),yt=b.OPS.showText;break;case b.OPS.setTextRenderingMode:Ce.state.textRenderingMode=tt[0];break;case b.OPS.setFillColorSpace:{var Ue=n.ColorSpace.getCached(tt[0],ke,we);if(Ue){Ce.state.fillColorSpace=Ue;continue}Ke(fe.parseColorSpace({cs:tt[0],resources:J,localColorSpaceCache:we}).then(function(bt){bt&&(Ce.state.fillColorSpace=bt)}));return}case b.OPS.setStrokeColorSpace:{var qe=n.ColorSpace.getCached(tt[0],ke,we);if(qe){Ce.state.strokeColorSpace=qe;continue}Ke(fe.parseColorSpace({cs:tt[0],resources:J,localColorSpaceCache:we}).then(function(bt){bt&&(Ce.state.strokeColorSpace=bt)}));return}case b.OPS.setFillColor:Je=Ce.state.fillColorSpace,tt=Je.getRgb(tt,0),yt=b.OPS.setFillRGBColor;break;case b.OPS.setStrokeColor:Je=Ce.state.strokeColorSpace,tt=Je.getRgb(tt,0),yt=b.OPS.setStrokeRGBColor;break;case b.OPS.setFillGray:Ce.state.fillColorSpace=n.ColorSpace.singletons.gray,tt=n.ColorSpace.singletons.gray.getRgb(tt,0),yt=b.OPS.setFillRGBColor;break;case b.OPS.setStrokeGray:Ce.state.strokeColorSpace=n.ColorSpace.singletons.gray,tt=n.ColorSpace.singletons.gray.getRgb(tt,0),yt=b.OPS.setStrokeRGBColor;break;case b.OPS.setFillCMYKColor:Ce.state.fillColorSpace=n.ColorSpace.singletons.cmyk,tt=n.ColorSpace.singletons.cmyk.getRgb(tt,0),yt=b.OPS.setFillRGBColor;break;case b.OPS.setStrokeCMYKColor:Ce.state.strokeColorSpace=n.ColorSpace.singletons.cmyk,tt=n.ColorSpace.singletons.cmyk.getRgb(tt,0),yt=b.OPS.setStrokeRGBColor;break;case b.OPS.setFillRGBColor:Ce.state.fillColorSpace=n.ColorSpace.singletons.rgb,tt=n.ColorSpace.singletons.rgb.getRgb(tt,0);break;case b.OPS.setStrokeRGBColor:Ce.state.strokeColorSpace=n.ColorSpace.singletons.rgb,tt=n.ColorSpace.singletons.rgb.getRgb(tt,0);break;case b.OPS.setFillColorN:if(Je=Ce.state.fillColorSpace,Je.name==="Pattern"){Ke(fe.handleColorN(Q,b.OPS.setFillColorN,tt,Je,Ee,J,z,we,me,ee));return}tt=Je.getRgb(tt,0),yt=b.OPS.setFillRGBColor;break;case b.OPS.setStrokeColorN:if(Je=Ce.state.strokeColorSpace,Je.name==="Pattern"){Ke(fe.handleColorN(Q,b.OPS.setStrokeColorN,tt,Je,Ee,J,z,we,me,ee));return}tt=Je.getRgb(tt,0),yt=b.OPS.setStrokeRGBColor;break;case b.OPS.shadingFill:var ot=J.get("Shading");if(!ot)throw new b.FormatError("No shading resource found");var nt=ot.get(tt[0].name);if(!nt)throw new b.FormatError("No shading object found");var Pt=fe.parseShading({shading:nt,resources:J,localColorSpaceCache:we,localShadingPatternCache:ee});tt=[Pt],yt=b.OPS.shadingFill;break;case b.OPS.setGState:if(xt=tt[0]instanceof e.Name,gt=tt[0].name,xt){var Lt=se.getByName(gt);if(Lt){Lt.length>0&&Q.addOp(b.OPS.setGState,[Lt]),tt=null;continue}}Ke(new Promise(function(bt,Kt){if(!xt)throw new b.FormatError("GState must be referred to by name.");var Jt=J.get("ExtGState");if(!(Jt instanceof e.Dict))throw new b.FormatError("ExtGState should be a dictionary.");var nr=Jt.get(gt);if(!(nr instanceof e.Dict))throw new b.FormatError("GState should be a dictionary.");fe.setGState({resources:J,gState:nr,operatorList:Q,cacheKey:gt,task:z,stateManager:Ce,localGStateCache:se,localColorSpaceCache:we}).then(bt,Kt)}).catch(function(bt){if(!(bt instanceof b.AbortException)){if(fe.options.ignoreErrors){fe.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorExtGState}),(0,b.warn)('getOperatorList - ignoring ExtGState: "'.concat(bt,'".'));return}throw bt}}));return;case b.OPS.moveTo:case b.OPS.lineTo:case b.OPS.curveTo:case b.OPS.curveTo2:case b.OPS.curveTo3:case b.OPS.closePath:case b.OPS.rectangle:fe.buildPath(Q,yt,tt,Re);continue;case b.OPS.markPoint:case b.OPS.markPointProps:case b.OPS.beginCompat:case b.OPS.endCompat:continue;case b.OPS.beginMarkedContentProps:if(!(0,e.isName)(tt[0])){(0,b.warn)("Expected name for beginMarkedContentProps arg0=".concat(tt[0]));continue}if(tt[0].name==="OC"){Ke(fe.parseMarkedContentProps(tt[1],J).then(function(bt){Q.addOp(b.OPS.beginMarkedContentProps,["OC",bt])}).catch(function(bt){if(!(bt instanceof b.AbortException)){if(fe.options.ignoreErrors){fe.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorMarkedContent}),(0,b.warn)('getOperatorList - ignoring beginMarkedContentProps: "'.concat(bt,'".'));return}throw bt}}));return}tt=[tt[0].name,tt[1]instanceof e.Dict?tt[1].get("MCID"):null];break;case b.OPS.beginMarkedContent:case b.OPS.endMarkedContent:default:if(tt!==null){for(ze=0,ct=tt.length;ze<ct&&!(tt[ze]instanceof e.Dict);ze++);if(ze<ct){(0,b.warn)("getOperatorList - ignoring operator: "+yt);continue}}}Q.addOp(yt,tt)}if(Ze){Ke(_);return}Ne(),je()}).catch(function($e){if(!($e instanceof b.AbortException)){if(M.options.ignoreErrors){M.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorOperatorList}),(0,b.warn)('getOperatorList - ignoring errors during "'.concat(z.name,'" ')+'task: "'.concat($e,'".')),Ne();return}throw $e}})}},{key:"getTextContent",value:function(G){var M=this,W=G.stream,z=G.task,J=G.resources,Q=G.stateManager,K=Q===void 0?null:Q,de=G.normalizeWhitespace,oe=de===void 0?!1:de,pe=G.combineTextItems,fe=pe===void 0?!1:pe,ke=G.includeMarkedContent,Re=ke===void 0?!1:ke,ve=G.sink,we=G.seenStyles,se=we===void 0?new Set:we;J=J||e.Dict.empty,K=K||new he(new Se);var me=/\s/g,ee=navigator.userAgent.indexOf("UBrowser")>-1?/^p\{Mn\}$/u:new RegExp("^\\p{Mn}$","u"),Fe=(0,be.getNormalizedUnicodes)(),Ee={items:[],styles:Object.create(null)},Ce={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:Infinity,negativeSpaceMax:-Infinity,transform:null,fontName:null,hasEOL:!1},De=.1,_e=-.2,Ne=.1,$e=.6,je=this,Ve=this.xref,Ke=[],Qe=null,Ze=new re.LocalImageCache,ze=new re.LocalGStateCache,ct=new te(W,Ve,K),Je;function gt(){var Ue=Je.font,qe=[Je.fontSize*Je.textHScale,0,0,Je.fontSize,0,Je.textRise];if(Ue.isType3Font&&(Je.fontSize<=1||Ue.isCharBBox)&&!(0,b.isArrayEqual)(Je.fontMatrix,b.FONT_IDENTITY_MATRIX)){var ot=Ue.bbox[3]-Ue.bbox[1];ot>0&&(qe[3]*=ot*Je.fontMatrix[3])}return b.Util.transform(Je.ctm,b.Util.transform(Je.textMatrix,qe))}function xt(){if(Ce.initialized)return Ce;var Ue=Je.font,qe=Ue.loadedName;se.has(qe)||(se.add(qe),Ee.styles[qe]={fontFamily:Ue.fallbackName,ascent:Ue.ascent,descent:Ue.descent,vertical:Ue.vertical}),Ce.fontName=qe;var ot=Ce.transform=gt();Ue.vertical?(Ce.width=Ce.totalWidth=Math.hypot(ot[0],ot[1]),Ce.height=Ce.totalHeight=0,Ce.vertical=!0):(Ce.width=Ce.totalWidth=0,Ce.height=Ce.totalHeight=Math.hypot(ot[2],ot[3]),Ce.vertical=!1);var nt=Math.hypot(Je.textLineMatrix[0],Je.textLineMatrix[1]),Pt=Math.hypot(Je.ctm[0],Je.ctm[1]);return Ce.textAdvanceScale=Pt*nt,Ce.trackingSpaceMin=Je.fontSize*De,Ce.negativeSpaceMax=Je.fontSize*_e,Ce.spaceInFlowMin=Je.fontSize*Ne,Ce.spaceInFlowMax=Je.fontSize*$e,Ce.hasEOL=!1,Ce.initialized=!0,Ce}function tt(){if(!!Ce.initialized){var Ue=Math.hypot(Je.textLineMatrix[0],Je.textLineMatrix[1]),qe=Math.hypot(Je.ctm[0],Je.ctm[1]),ot=qe*Ue;ot!==Ce.textAdvanceScale&&(Ce.vertical?(Ce.totalHeight+=Ce.height*Ce.textAdvanceScale,Ce.height=0):(Ce.totalWidth+=Ce.width*Ce.textAdvanceScale,Ce.width=0),Ce.textAdvanceScale=ot)}}function yt(Ue){for(var qe=Ue.length,ot=0,nt;ot<qe&&(nt=Ue.charCodeAt(ot))>=32&&nt<=127;)ot++;return ot<qe?Ue.replace(me," "):Ue}function It(Ue){var qe=Ue.str.join(""),ot=(0,k.bidi)(qe,-1,Ue.vertical),nt=oe?yt(ot.str):ot.str;return{str:nt,dir:ot.dir,width:Ue.totalWidth,height:Ue.totalHeight,transform:Ue.transform,fontName:Ue.fontName,hasEOL:Ue.hasEOL}}function ft(Ue,qe){return je.loadFont(Ue,qe,J).then(function(ot){return ot.font.isType3Font?ot.loadType3Data(je,J,z).catch(function(){}).then(function(){return ot}):ot}).then(function(ot){Je.font=ot.font,Je.fontMatrix=ot.font.fontMatrix||b.FONT_IDENTITY_MATRIX})}function Ut(){if(!(!fe||!Je.font||!Ce.prevTransform)){var Ue=gt(),qe=Ue[4],ot=Ue[5],nt=Ce.prevTransform[4],Pt=Ce.prevTransform[5];if(!(nt===qe&&Pt===ot)){var Lt=0;if(Ue[0]&&Ue[1]===0&&Ue[2]===0?Lt=Ue[0]>0?0:180:Ue[1]&&Ue[0]===0&&Ue[3]===0&&(Lt+=Ue[1]>0?90:270),Lt!==0)switch(Lt){case 90:var bt=[ot,qe];qe=bt[0],ot=bt[1];var Kt=[Pt,nt];nt=Kt[0],Pt=Kt[1];break;case 180:var Jt=[-qe,-ot,-nt,-Pt];qe=Jt[0],ot=Jt[1],nt=Jt[2],Pt=Jt[3];break;case 270:var nr=[-ot,-qe];qe=nr[0],ot=nr[1];var pr=[-Pt,-nt];nt=pr[0],Pt=pr[1];break}if(Je.font.vertical){var ur=(Pt-ot)/Ce.textAdvanceScale,yr=qe-nt;if(ur<Ce.negativeSpaceMax){if(Math.abs(yr)>.5*Ce.width){Nt();return}Qt();return}if(Math.abs(yr)>Ce.height){Nt();return}ur<=Ce.trackingSpaceMin?Ce.height+=ur:ar(ur,Ce.prevTransform)||(Ce.str.length===0?Ee.items.push({str:" ",dir:"ltr",width:0,height:ur,transform:Ce.prevTransform,fontName:Ce.fontName,hasEOL:!1}):Ce.height+=ur);return}var Xt=(qe-nt)/Ce.textAdvanceScale,fr=ot-Pt;if(Xt<Ce.negativeSpaceMax){if(Math.abs(fr)>.5*Ce.height){Nt();return}Qt();return}if(Math.abs(fr)>Ce.height){Nt();return}Xt<=Ce.trackingSpaceMin?Ce.width+=Xt:ar(Xt,Ce.prevTransform)||(Ce.str.length===0?Ee.items.push({str:" ",dir:"ltr",width:Xt,height:0,transform:Ce.prevTransform,fontName:Ce.fontName,hasEOL:!1}):Ce.width+=Xt)}}}function kt(Ue){var qe=Ue.chars,ot=Ue.extraSpacing,nt=Je.font;if(!qe){var Pt=Je.charSpacing+ot;Pt&&(nt.vertical?Je.translateTextMatrix(0,-Pt):Je.translateTextMatrix(Pt*Je.textHScale,0));return}for(var Lt=nt.charsToGlyphs(qe),bt=Je.fontMatrix[0]*Je.fontSize,Kt=0,Jt=Lt.length;Kt<Jt;Kt++){var nr=Lt[Kt],pr=Je.charSpacing+(Kt+1===Jt?ot:0),ur=nr.width;nt.vertical&&(ur=nr.vmetric?nr.vmetric[0]:-ur);var yr=ur*bt,Xt=nr.unicode;if(Xt===" "&&(Kt===0||Kt+1===Jt||Lt[Kt-1].unicode===" "||Lt[Kt+1].unicode===" "||ot)){nt.vertical?(pr+=-yr+Je.wordSpacing,Je.translateTextMatrix(0,-pr)):(pr+=yr+Je.wordSpacing,Je.translateTextMatrix(pr*Je.textHScale,0));continue}Ut();var fr=xt();ee.test(nr.unicode)&&(yr=0),nt.vertical?(Je.translateTextMatrix(0,yr),yr=Math.abs(yr),fr.height+=yr):(yr*=Je.textHScale,Je.translateTextMatrix(yr,0),fr.width+=yr),yr&&(fr.prevTransform=gt()),Xt=Fe[Xt]||Xt,Xt=(0,be.reverseIfRtl)(Xt),fr.str.push(Xt),pr&&(nt.vertical?Je.translateTextMatrix(0,-pr):Je.translateTextMatrix(pr*Je.textHScale,0))}}function Nt(){Ce.initialized?(Ce.hasEOL=!0,Qt()):Ee.items.push({str:"",dir:"ltr",width:0,height:0,transform:gt(),fontName:Je.font.loadedName,hasEOL:!0})}function ar(Ue,qe){if(Ce.spaceInFlowMin<=Ue&&Ue<=Ce.spaceInFlowMax)return Ce.initialized&&Ce.str.push(" "),!1;var ot=Ce.fontName,nt=0;return Ce.vertical&&(nt=Ue,Ue=0),Qt(),Ee.items.push({str:" ",dir:"ltr",width:Ue,height:nt,transform:qe||gt(),fontName:ot,hasEOL:!1}),!0}function Qt(){!Ce.initialized||!Ce.str||(Ce.vertical?Ce.totalHeight+=Ce.height*Ce.textAdvanceScale:Ce.totalWidth+=Ce.width*Ce.textAdvanceScale,Ee.items.push(It(Ce)),Ce.initialized=!1,Ce.str.length=0)}function He(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,qe=Ee.items.length;qe!==0&&(Ue&&qe<N||(ve.enqueue(Ee,qe),Ee.items=[],Ee.styles=Object.create(null)))}var et=new H;return new Promise(function Ue(qe,ot){var nt=function(zr){He(!0),Promise.all([zr,ve.ready]).then(function(){try{Ue(qe,ot)}catch(br){ot(br)}},ot)};z.ensureNotTerminated(),et.reset();for(var Pt={},Lt,bt=[];!(Lt=et.check())&&(bt.length=0,Pt.args=bt,!!ct.read(Pt));){Je=K.state;var Kt=Pt.fn;switch(bt=Pt.args,Kt|0){case b.OPS.setFont:var Jt=bt[0].name,nr=bt[1];if(Je.font&&Jt===Je.fontName&&nr===Je.fontSize)break;Qt(),Je.fontName=Jt,Je.fontSize=nr,nt(ft(Jt,null));return;case b.OPS.setTextRise:Je.textRise=bt[0];break;case b.OPS.setHScale:Je.textHScale=bt[0]/100;break;case b.OPS.setLeading:Je.leading=bt[0];break;case b.OPS.moveText:Je.translateTextLineMatrix(bt[0],bt[1]),Je.textMatrix=Je.textLineMatrix.slice();break;case b.OPS.setLeadingMoveText:Je.leading=-bt[1],Je.translateTextLineMatrix(bt[0],bt[1]),Je.textMatrix=Je.textLineMatrix.slice();break;case b.OPS.nextLine:Je.carriageReturn();break;case b.OPS.setTextMatrix:Je.setTextMatrix(bt[0],bt[1],bt[2],bt[3],bt[4],bt[5]),Je.setTextLineMatrix(bt[0],bt[1],bt[2],bt[3],bt[4],bt[5]),tt();break;case b.OPS.setCharSpacing:Je.charSpacing=bt[0];break;case b.OPS.setWordSpacing:Je.wordSpacing=bt[0];break;case b.OPS.beginText:Je.textMatrix=b.IDENTITY_MATRIX.slice(),Je.textLineMatrix=b.IDENTITY_MATRIX.slice();break;case b.OPS.showSpacedText:if(!K.state.font){je.ensureStateFont(K.state);continue}for(var pr=(Je.font.vertical?1:-1)*Je.fontSize/1e3,ur=bt[0],yr=0,Xt=ur.length;yr<Xt-1;yr++){var fr=ur[yr];if(typeof fr=="string")Ke.push(fr);else if(typeof fr=="number"&&fr!==0){var Dr=Ke.join("");Ke.length=0,kt({chars:Dr,extraSpacing:fr*pr})}}var Hr=ur[ur.length-1];if(typeof Hr=="string"&&Ke.push(Hr),Ke.length>0){var Kr=Ke.join("");Ke.length=0,kt({chars:Kr,extraSpacing:0})}break;case b.OPS.showText:if(!K.state.font){je.ensureStateFont(K.state);continue}kt({chars:bt[0],extraSpacing:0});break;case b.OPS.nextLineShowText:if(!K.state.font){je.ensureStateFont(K.state);continue}Je.carriageReturn(),kt({chars:bt[0],extraSpacing:0});break;case b.OPS.nextLineSetSpacingShowText:if(!K.state.font){je.ensureStateFont(K.state);continue}Je.wordSpacing=bt[0],Je.charSpacing=bt[1],Je.carriageReturn(),kt({chars:bt[2],extraSpacing:0});break;case b.OPS.paintXObject:Qt(),Qe||(Qe=J.get("XObject")||e.Dict.empty);var Br=bt[0]instanceof e.Name,Sr=bt[0].name;if(Br&&Ze.getByName(Sr))break;nt(new Promise(function(vr,zr){if(!Br)throw new b.FormatError("XObject must be referred to by name.");var br=Qe.getRaw(Sr);if(br instanceof e.Ref){if(Ze.getByRef(br)){vr();return}var qr=je.globalImageCache.getData(br,je.pageIndex);if(qr){vr();return}br=Ve.fetch(br)}if(!(0,e.isStream)(br))throw new b.FormatError("XObject should be a stream");var Gr=br.dict.get("Subtype");if(!(0,e.isName)(Gr))throw new b.FormatError("XObject should have a Name subtype");if(Gr.name!=="Form"){Ze.set(Sr,br.dict.objId,!0),vr();return}var Ur=K.state.clone(),Qr=new he(Ur),na=br.dict.getArray("Matrix");Array.isArray(na)&&na.length===6&&Qr.transform(na),He();var ht={enqueueInvoked:!1,enqueue:function(We,it){this.enqueueInvoked=!0,ve.enqueue(We,it)},get desiredSize(){return ve.desiredSize},get ready(){return ve.ready}};je.getTextContent({stream:br,task:z,resources:br.dict.get("Resources")||J,stateManager:Qr,normalizeWhitespace:oe,combineTextItems:fe,includeMarkedContent:Re,sink:ht,seenStyles:se}).then(function(){ht.enqueueInvoked||Ze.set(Sr,br.dict.objId,!0),vr()},zr)}).catch(function(vr){if(!(vr instanceof b.AbortException)){if(je.options.ignoreErrors){(0,b.warn)('getTextContent - ignoring XObject: "'.concat(vr,'".'));return}throw vr}}));return;case b.OPS.setGState:if(Br=bt[0]instanceof e.Name,Sr=bt[0].name,Br&&ze.getByName(Sr))break;nt(new Promise(function(vr,zr){if(!Br)throw new b.FormatError("GState must be referred to by name.");var br=J.get("ExtGState");if(!(br instanceof e.Dict))throw new b.FormatError("ExtGState should be a dictionary.");var qr=br.get(Sr);if(!(qr instanceof e.Dict))throw new b.FormatError("GState should be a dictionary.");var Gr=qr.get("Font");if(!Gr){ze.set(Sr,qr.objId,!0),vr();return}Qt(),Je.fontName=null,Je.fontSize=Gr[1],ft(null,Gr[0]).then(vr,zr)}).catch(function(vr){if(!(vr instanceof b.AbortException)){if(je.options.ignoreErrors){(0,b.warn)('getTextContent - ignoring ExtGState: "'.concat(vr,'".'));return}throw vr}}));return;case b.OPS.beginMarkedContent:Re&&Ee.items.push({type:"beginMarkedContent",tag:(0,e.isName)(bt[0])?bt[0].name:null});break;case b.OPS.beginMarkedContentProps:if(Re){Qt();var hr=null;(0,e.isDict)(bt[1])&&(hr=bt[1].get("MCID")),Ee.items.push({type:"beginMarkedContentProps",id:Number.isInteger(hr)?"".concat(je.idFactory.getPageObjId(),"_mcid").concat(hr):null,tag:(0,e.isName)(bt[0])?bt[0].name:null})}break;case b.OPS.endMarkedContent:Re&&(Qt(),Ee.items.push({type:"endMarkedContent"}));break}if(Ee.items.length>=ve.desiredSize){Lt=!0;break}}if(Lt){nt(_);return}Qt(),He(),qe()}).catch(function(Ue){if(!(Ue instanceof b.AbortException)){if(M.options.ignoreErrors){(0,b.warn)('getTextContent - ignoring errors during "'.concat(z.name,'" ')+'task: "'.concat(Ue,'".')),Qt(),He();return}throw Ue}})}},{key:"extractDataStructures",value:function(G,M,W){var z=this,J=this.xref,Q,K=this.readToUnicode(W.toUnicode||G.get("ToUnicode")||M.get("ToUnicode"));if(W.composite){var de=G.get("CIDSystemInfo");(0,e.isDict)(de)&&(W.cidSystemInfo={registry:(0,b.stringToPDFString)(de.get("Registry")),ordering:(0,b.stringToPDFString)(de.get("Ordering")),supplement:de.get("Supplement")});var oe=G.get("CIDToGIDMap");oe instanceof y.BaseStream&&(Q=oe.getBytes())}var pe=[],fe=null,ke;if(G.has("Encoding")){if(ke=G.get("Encoding"),(0,e.isDict)(ke)){if(fe=ke.get("BaseEncoding"),fe=(0,e.isName)(fe)?fe.name:null,ke.has("Differences"))for(var Re=ke.get("Differences"),ve=0,we=0,se=Re.length;we<se;we++){var me=J.fetchIfRef(Re[we]);if((0,b.isNum)(me))ve=me;else if((0,e.isName)(me))pe[ve++]=me.name;else throw new b.FormatError("Invalid entry in 'Differences' array: ".concat(me))}}else if((0,e.isName)(ke))fe=ke.name;else throw new b.FormatError("Encoding is not a Name nor a Dict");fe!=="MacRomanEncoding"&&fe!=="MacExpertEncoding"&&fe!=="WinAnsiEncoding"&&(fe=null)}if(fe)W.defaultEncoding=(0,V.getEncoding)(fe);else{var ee=!!(W.flags&le.FontFlags.Symbolic),Fe=!!(W.flags&le.FontFlags.Nonsymbolic);ke=V.StandardEncoding,W.type==="TrueType"&&!Fe&&(ke=V.WinAnsiEncoding),ee&&(ke=V.MacRomanEncoding,(!W.file||W.isInternalFont)&&(/Symbol/i.test(W.name)?ke=V.SymbolSetEncoding:/Dingbats|Wingdings/i.test(W.name)&&(ke=V.ZapfDingbatsEncoding))),W.defaultEncoding=ke}return W.differences=pe,W.baseEncodingName=fe,W.hasEncoding=!!fe||pe.length>0,W.dict=G,K.then(function(Ee){return W.toUnicode=Ee,z.buildToUnicode(W)}).then(function(Ee){return W.toUnicode=Ee,Q&&(W.cidToGidMap=z.readCidToGidMap(Q,Ee)),W})}},{key:"_simpleFontToUnicode",value:function(G){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,b.assert)(!G.composite,"Must be a simple font.");var W=[],z=G.defaultEncoding.slice(),J=G.baseEncodingName,Q=G.differences;for(var K in Q){var de=Q[K];de!==".notdef"&&(z[K]=de)}var oe=(0,O.getGlyphsUnicode)();for(var pe in z){var fe=z[pe];if(fe!==""){if(oe[fe]===void 0){var ke=0;switch(fe[0]){case"G":fe.length===3&&(ke=parseInt(fe.substring(1),16));break;case"g":fe.length===5&&(ke=parseInt(fe.substring(1),16));break;case"C":case"c":if(fe.length>=3&&fe.length<=4){var Re=fe.substring(1);if(M){ke=parseInt(Re,16);break}if(ke=+Re,Number.isNaN(ke)&&Number.isInteger(parseInt(Re,16)))return this._simpleFontToUnicode(G,!0)}break;default:var ve=(0,be.getUnicodeForGlyph)(fe,oe);ve!==-1&&(ke=ve)}if(ke>0&&ke<=1114111&&Number.isInteger(ke)){if(J&&ke===+pe){var we=(0,V.getEncoding)(J);if(we&&(fe=we[pe])){W[pe]=String.fromCharCode(oe[fe]);continue}}W[pe]=String.fromCodePoint(ke)}continue}W[pe]=String.fromCharCode(oe[fe])}}return W}},{key:"buildToUnicode",value:function(){var j=m(T.default.mark(function M(W){var z,J,Q,K,de,oe;return T.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(W.hasIncludedToUnicodeMap=!!W.toUnicode&&W.toUnicode.length>0,!W.hasIncludedToUnicodeMap){fe.next=4;break}return!W.composite&&W.hasEncoding&&(W.fallbackToUnicode=this._simpleFontToUnicode(W)),fe.abrupt("return",W.toUnicode);case 4:if(W.composite){fe.next=6;break}return fe.abrupt("return",new d.ToUnicodeMap(this._simpleFontToUnicode(W)));case 6:if(!(W.composite&&(W.cMap.builtInCMap&&!(W.cMap instanceof t.IdentityCMap)||W.cidSystemInfo.registry==="Adobe"&&(W.cidSystemInfo.ordering==="GB1"||W.cidSystemInfo.ordering==="CNS1"||W.cidSystemInfo.ordering==="Japan1"||W.cidSystemInfo.ordering==="Korea1")))){fe.next=15;break}return z=W.cidSystemInfo,J=z.registry,Q=z.ordering,K=e.Name.get("".concat(J,"-").concat(Q,"-UCS2")),fe.next=11,t.CMapFactory.create({encoding:K,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 11:return de=fe.sent,oe=[],W.cMap.forEach(function(ke,Re){if(Re>65535)throw new b.FormatError("Max size of CID is 65,535");var ve=de.lookup(Re);ve&&(oe[ke]=String.fromCharCode((ve.charCodeAt(0)<<8)+ve.charCodeAt(1)))}),fe.abrupt("return",new d.ToUnicodeMap(oe));case 15:return fe.abrupt("return",new d.IdentityToUnicodeMap(W.firstChar,W.lastChar));case 16:case"end":return fe.stop()}},M,this)}));function G(M){return j.apply(this,arguments)}return G}()},{key:"readToUnicode",value:function(G){var M=this;return G?(0,e.isName)(G)?t.CMapFactory.create({encoding:G,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(W){return W instanceof t.IdentityCMap?new d.IdentityToUnicodeMap(0,65535):new d.ToUnicodeMap(W.getMap())}):(0,e.isStream)(G)?t.CMapFactory.create({encoding:G,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(W){if(W instanceof t.IdentityCMap)return new d.IdentityToUnicodeMap(0,65535);var z=new Array(W.length);return W.forEach(function(J,Q){if(typeof Q=="number"){z[J]=String.fromCodePoint(Q);return}for(var K=[],de=0;de<Q.length;de+=2){var oe=Q.charCodeAt(de)<<8|Q.charCodeAt(de+1);if((oe&63488)!=55296){K.push(oe);continue}de+=2;var pe=Q.charCodeAt(de)<<8|Q.charCodeAt(de+1);K.push(((oe&1023)<<10)+(pe&1023)+65536)}z[J]=String.fromCodePoint.apply(String,K)}),new d.ToUnicodeMap(z)},function(W){if(W instanceof b.AbortException)return null;if(M.options.ignoreErrors)return M.handler.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorFontToUnicode}),(0,b.warn)('readToUnicode - ignoring ToUnicode data: "'.concat(W,'".')),null;throw W}):Promise.resolve(null):Promise.resolve(null)}},{key:"readCidToGidMap",value:function(G,M){for(var W=[],z=0,J=G.length;z<J;z++){var Q=G[z++]<<8|G[z],K=z>>1;Q===0&&!M.has(K)||(W[K]=Q)}return W}},{key:"extractWidths",value:function(G,M,W){var z=this.xref,J=[],Q=0,K=[],de,oe,pe,fe,ke,Re,ve,we;if(W.composite){if(Q=G.has("DW")?G.get("DW"):1e3,we=G.get("W"),we)for(oe=0,pe=we.length;oe<pe;oe++)if(Re=z.fetchIfRef(we[oe++]),ve=z.fetchIfRef(we[oe]),Array.isArray(ve))for(fe=0,ke=ve.length;fe<ke;fe++)J[Re++]=z.fetchIfRef(ve[fe]);else{var se=z.fetchIfRef(we[++oe]);for(fe=Re;fe<=ve;fe++)J[fe]=se}if(W.vertical){var me=G.getArray("DW2")||[880,-1e3];if(de=[me[1],Q*.5,me[0]],me=G.get("W2"),me)for(oe=0,pe=me.length;oe<pe;oe++)if(Re=z.fetchIfRef(me[oe++]),ve=z.fetchIfRef(me[oe]),Array.isArray(ve))for(fe=0,ke=ve.length;fe<ke;fe++)K[Re++]=[z.fetchIfRef(ve[fe++]),z.fetchIfRef(ve[fe++]),z.fetchIfRef(ve[fe])];else{var ee=[z.fetchIfRef(me[++oe]),z.fetchIfRef(me[++oe]),z.fetchIfRef(me[++oe])];for(fe=Re;fe<=ve;fe++)K[fe]=ee}}}else{var Fe=W.firstChar;if(we=G.get("Widths"),we){for(fe=Fe,oe=0,pe=we.length;oe<pe;oe++)J[fe++]=z.fetchIfRef(we[oe]);Q=parseFloat(M.get("MissingWidth"))||0}else{var Ee=G.get("BaseFont");if((0,e.isName)(Ee)){var Ce=this.getBaseFontMetrics(Ee.name);J=this.buildCharCodeToWidth(Ce.widths,W),Q=Ce.defaultWidth}}}var De=!0,_e=Q;for(var Ne in J){var $e=J[Ne];if(!!$e){if(!_e){_e=$e;continue}if(_e!==$e){De=!1;break}}}De&&(W.flags|=le.FontFlags.FixedPitch),W.defaultWidth=Q,W.widths=J,W.defaultVMetrics=de,W.vmetrics=K}},{key:"isSerifFont",value:function(G){var M=G.split("-")[0];return M in(0,ye.getSerifFonts)()||M.search(/serif/gi)!==-1}},{key:"getBaseFontMetrics",value:function(G){var M=0,W=Object.create(null),z=!1,J=(0,ye.getStdFontMap)(),Q=J[G]||G,K=(0,p.getMetrics)();Q in K||(this.isSerifFont(G)?Q="Times-Roman":Q="Helvetica");var de=K[Q];return(0,b.isNum)(de)?(M=de,z=!0):W=de(),{defaultWidth:M,monospace:z,widths:W}}},{key:"buildCharCodeToWidth",value:function(G,M){for(var W=Object.create(null),z=M.differences,J=M.defaultEncoding,Q=0;Q<256;Q++){if(Q in z&&G[z[Q]]){W[Q]=G[z[Q]];continue}if(Q in J&&G[J[Q]]){W[Q]=G[J[Q]];continue}}return W}},{key:"preEvaluateFont",value:function(G){var M=G,W=G.get("Subtype");if(!(0,e.isName)(W))throw new b.FormatError("invalid font Subtype");var z=!1,J,Q;if(W.name==="Type0"){var K=G.get("DescendantFonts");if(!K)throw new b.FormatError("Descendant fonts are not specified");if(G=Array.isArray(K)?this.xref.fetchIfRef(K[0]):K,!(G instanceof e.Dict))throw new b.FormatError("Descendant font is not a dictionary.");if(W=G.get("Subtype"),!(0,e.isName)(W))throw new b.FormatError("invalid font Subtype");z=!0}var de=G.get("FirstChar")||0,oe=G.get("LastChar")||(z?65535:255),pe=G.get("FontDescriptor");if(pe){J=new x.MurmurHash3_64;var fe=M.getRaw("Encoding");if((0,e.isName)(fe))J.update(fe.name);else if((0,e.isRef)(fe))J.update(fe.toString());else if((0,e.isDict)(fe)){var ke=o(fe.getRawValues()),Re;try{for(ke.s();!(Re=ke.n()).done;){var ve=Re.value;if((0,e.isName)(ve))J.update(ve.name);else if((0,e.isRef)(ve))J.update(ve.toString());else if(Array.isArray(ve)){for(var we=ve.length,se=new Array(we),me=0;me<we;me++){var ee=ve[me];(0,e.isName)(ee)?se[me]=ee.name:((0,b.isNum)(ee)||(0,e.isRef)(ee))&&(se[me]=ee.toString())}J.update(se.join())}}}catch(tt){ke.e(tt)}finally{ke.f()}}if(J.update("".concat(de,"-").concat(oe)),Q=G.get("ToUnicode")||M.get("ToUnicode"),(0,e.isStream)(Q)){var Fe=Q.str||Q,Ee=Fe.buffer?new Uint8Array(Fe.buffer.buffer,0,Fe.bufferLength):new Uint8Array(Fe.bytes.buffer,Fe.start,Fe.end-Fe.start);J.update(Ee)}else(0,e.isName)(Q)&&J.update(Q.name);var Ce=G.get("Widths")||M.get("Widths");if(Array.isArray(Ce)){var De=[],_e=o(Ce),Ne;try{for(_e.s();!(Ne=_e.n()).done;){var $e=Ne.value;((0,b.isNum)($e)||(0,e.isRef)($e))&&De.push($e.toString())}}catch(tt){_e.e(tt)}finally{_e.f()}J.update(De.join())}if(z){J.update("compositeFont");var je=G.get("W")||M.get("W");if(Array.isArray(je)){var Ve=[],Ke=o(je),Qe;try{for(Ke.s();!(Qe=Ke.n()).done;){var Ze=Qe.value;if((0,b.isNum)(Ze)||(0,e.isRef)(Ze))Ve.push(Ze.toString());else if(Array.isArray(Ze)){var ze=[],ct=o(Ze),Je;try{for(ct.s();!(Je=ct.n()).done;){var gt=Je.value;((0,b.isNum)(gt)||(0,e.isRef)(gt))&&ze.push(gt.toString())}}catch(tt){ct.e(tt)}finally{ct.f()}Ve.push("[".concat(ze.join(),"]"))}}}catch(tt){Ke.e(tt)}finally{Ke.f()}J.update(Ve.join())}var xt=G.getRaw("CIDToGIDMap")||M.getRaw("CIDToGIDMap");xt instanceof e.Name?J.update(xt.name):xt instanceof e.Ref?J.update(xt.toString()):xt instanceof y.BaseStream&&J.update(xt.peekBytes())}}return{descriptor:pe,dict:G,baseDict:M,composite:z,type:W.name,firstChar:de,lastChar:oe,toUnicode:Q,hash:J?J.hexdigest():""}}},{key:"translateFont",value:function(){var j=m(T.default.mark(function M(W){var z=this,J,Q,K,de,oe,pe,fe,ke,Re,ve,we,se,me,ee,Fe,Ee,Ce,De,_e,Ne,$e,je,Ve,Ke,Qe,Ze,ze,ct,Je,gt,xt,tt,yt,It,ft;return T.default.wrap(function(kt){for(;;)switch(kt.prev=kt.next){case 0:if(J=W.descriptor,Q=W.dict,K=W.baseDict,de=W.composite,oe=W.type,pe=W.firstChar,fe=W.lastChar,ke=W.toUnicode,Re=W.cssFontInfo,ve=oe==="Type3",J){kt.next=27;break}if(!ve){kt.next=9;break}J=new e.Dict(null),J.set("FontName",e.Name.get(oe)),J.set("FontBBox",Q.getArray("FontBBox")||[0,0,0,0]),kt.next=27;break;case 9:if(se=Q.get("BaseFont"),(0,e.isName)(se)){kt.next=12;break}throw new b.FormatError("Base font is not specified");case 12:if(se=se.name.replace(/[,_]/g,"-"),me=this.getBaseFontMetrics(se),ee=se.split("-")[0],Fe=(this.isSerifFont(ee)?le.FontFlags.Serif:0)|(me.monospace?le.FontFlags.FixedPitch:0)|((0,ye.getSymbolsFonts)()[ee]?le.FontFlags.Symbolic:le.FontFlags.Nonsymbolic),we={type:oe,name:se,loadedName:K.loadedName,widths:me.widths,defaultWidth:me.defaultWidth,isSimulatedFlags:!0,flags:Fe,firstChar:pe,lastChar:fe,toUnicode:ke,xHeight:0,capHeight:0,italicAngle:0,isType3Font:ve},Ee=Q.get("Widths"),Ce=(0,ye.getStandardFontName)(se),De=null,!Ce){kt.next=26;break}return we.isStandardFont=!0,kt.next=24,this.fetchStandardFontData(Ce);case 24:De=kt.sent,we.isInternalFont=!!De;case 26:return kt.abrupt("return",this.extractDataStructures(Q,Q,we).then(function(Nt){if(Ee){for(var ar=[],Qt=pe,He=0,et=Ee.length;He<et;He++)ar[Qt++]=z.xref.fetchIfRef(Ee[He]);Nt.widths=ar}else Nt.widths=z.buildCharCodeToWidth(me.widths,Nt);return new ge.Font(se,De,Nt)}));case 27:if(_e=J.get("FontName"),Ne=Q.get("BaseFont"),(0,b.isString)(_e)&&(_e=e.Name.get(_e)),(0,b.isString)(Ne)&&(Ne=e.Name.get(Ne)),ve||($e=_e&&_e.name,je=Ne&&Ne.name,$e!==je&&((0,b.info)(`The FontDescriptor's FontName is "`.concat($e,'" but ')+`should be the same as the Font's BaseFont "`.concat(je,'".')),$e&&je&&je.startsWith($e)&&(_e=Ne))),_e=_e||Ne,(0,e.isName)(_e)){kt.next=35;break}throw new b.FormatError("invalid font name");case 35:kt.prev=35,Ve=J.get("FontFile","FontFile2","FontFile3"),kt.next=45;break;case 39:if(kt.prev=39,kt.t0=kt.catch(35),this.options.ignoreErrors){kt.next=43;break}throw kt.t0;case 43:(0,b.warn)('translateFont - fetching "'.concat(_e.name,'" font file: "').concat(kt.t0,'".')),Ve=new X.NullStream;case 45:if(ct=!1,Je=!1,gt=null,!Ve){kt.next=52;break}Ve.dict&&(xt=Ve.dict.get("Subtype"),xt instanceof e.Name&&(Ke=xt.name),Qe=Ve.dict.get("Length1"),Ze=Ve.dict.get("Length2"),ze=Ve.dict.get("Length3")),kt.next=74;break;case 52:if(!Re){kt.next=66;break}if(tt=(0,ae.getXfaFontName)(_e.name),!tt){kt.next=64;break}return Re.fontFamily="".concat(Re.fontFamily,"-PdfJS-XFA"),Re.metrics=tt.metrics||null,gt=tt.factors||null,kt.next=60,this.fetchStandardFontData(tt.name);case 60:Ve=kt.sent,Je=!!Ve,K=Q=(0,ae.getXfaFontDict)(_e.name),de=!0;case 64:kt.next=74;break;case 66:if(ve){kt.next=74;break}if(yt=(0,ye.getStandardFontName)(_e.name),!yt){kt.next=74;break}return ct=!0,kt.next=72,this.fetchStandardFontData(yt);case 72:Ve=kt.sent,Je=!!Ve;case 74:if(we={type:oe,name:_e.name,subtype:Ke,file:Ve,length1:Qe,length2:Ze,length3:ze,isStandardFont:ct,isInternalFont:Je,loadedName:K.loadedName,composite:de,fixedPitch:!1,fontMatrix:Q.getArray("FontMatrix")||b.FONT_IDENTITY_MATRIX,firstChar:pe,lastChar:fe,toUnicode:ke,bbox:J.getArray("FontBBox")||Q.getArray("FontBBox"),ascent:J.get("Ascent"),descent:J.get("Descent"),xHeight:J.get("XHeight")||0,capHeight:J.get("CapHeight")||0,flags:J.get("Flags"),italicAngle:J.get("ItalicAngle")||0,isType3Font:ve,cssFontInfo:Re,scaleFactors:gt},!de){kt.next=83;break}return It=K.get("Encoding"),(0,e.isName)(It)&&(we.cidEncoding=It.name),kt.next=80,t.CMapFactory.create({encoding:It,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 80:ft=kt.sent,we.cMap=ft,we.vertical=we.cMap.vertical;case 83:return kt.abrupt("return",this.extractDataStructures(Q,K,we).then(function(Nt){return z.extractWidths(Q,J,Nt),new ge.Font(_e.name,Ve,Nt)}));case 84:case"end":return kt.stop()}},M,this,[[35,39]])}));function G(M){return j.apply(this,arguments)}return G}()}],[{key:"buildFontPaths",value:function(G,M,W,z){function J(pe){var fe="".concat(G.loadedName,"_path_").concat(pe);try{if(G.renderer.hasBuiltPath(pe))return;W.send("commonobj",[fe,"FontPath",G.renderer.getPathJs(pe)])}catch(ke){if(z.ignoreErrors){W.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.errorFontBuildPath}),(0,b.warn)("buildFontPaths - ignoring ".concat(fe,' glyph: "').concat(ke,'".'));return}throw ke}}var Q=o(M),K;try{for(Q.s();!(K=Q.n()).done;){var de=K.value;J(de.fontChar);var oe=de.accent;oe&&oe.fontChar&&J(oe.fontChar)}}catch(pe){Q.e(pe)}finally{Q.f()}}},{key:"fallbackFontDict",get:function(){var G=new e.Dict;return G.set("BaseFont",e.Name.get("PDFJS-FallbackFont")),G.set("Type",e.Name.get("FallbackType")),G.set("Subtype",e.Name.get("FallbackType")),G.set("Encoding",e.Name.get("WinAnsiEncoding")),(0,b.shadow)(this,"fallbackFontDict",G)}}]),$}();P.PartialEvaluator=Z;var ne=function(){function $(j){var G=j.loadedName,M=j.font,W=j.dict,z=j.evaluatorOptions;A(this,$),this.loadedName=G,this.font=M,this.dict=W,this._evaluatorOptions=z||I,this.type3Loaded=null,this.type3Dependencies=M.isType3Font?new Set:null,this.sent=!1}return C($,[{key:"send",value:function(G){this.sent||(this.sent=!0,G.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}},{key:"fallback",value:function(G){!this.font.data||(this.font.disableFontFace=!0,Z.buildFontPaths(this.font,this.font.glyphCacheValues,G,this._evaluatorOptions))}},{key:"loadType3Data",value:function(G,M,W){var z=this;if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");var J=G.clone({ignoreErrors:!1});J.parsingType3Font=!0;var Q=this.font,K=this.type3Dependencies,de=Promise.resolve(),oe=this.dict.get("CharProcs"),pe=this.dict.get("Resources")||M,fe=Object.create(null),ke=!Q.bbox||(0,b.isArrayEqual)(Q.bbox,[0,0,0,0]),Re=o(oe.getKeys()),ve;try{var we=function(){var me=ve.value;de=de.then(function(){var ee=oe.get(me),Fe=new f.OperatorList;return J.getOperatorList({stream:ee,task:W,resources:pe,operatorList:Fe}).then(function(){Fe.fnArray[0]===b.OPS.setCharWidthAndBounds&&z._removeType3ColorOperators(Fe,ke),fe[me]=Fe.getIR();var Ee=o(Fe.dependencies),Ce;try{for(Ee.s();!(Ce=Ee.n()).done;){var De=Ce.value;K.add(De)}}catch(_e){Ee.e(_e)}finally{Ee.f()}}).catch(function(Ee){(0,b.warn)('Type3 font resource "'.concat(me,'" is not available.'));var Ce=new f.OperatorList;fe[me]=Ce.getIR()})})};for(Re.s();!(ve=Re.n()).done;)we()}catch(se){Re.e(se)}finally{Re.f()}return this.type3Loaded=de.then(function(){Q.charProcOperatorList=fe,z._bbox&&(Q.isCharBBox=!0,Q.bbox=z._bbox)}),this.type3Loaded}},{key:"_removeType3ColorOperators",value:function(G){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(M){this._bbox||(this._bbox=[Infinity,Infinity,-Infinity,-Infinity]);var W=b.Util.normalizeRect(G.argsArray[0].slice(2));this._bbox[0]=Math.min(this._bbox[0],W[0]),this._bbox[1]=Math.min(this._bbox[1],W[1]),this._bbox[2]=Math.max(this._bbox[2],W[2]),this._bbox[3]=Math.max(this._bbox[3],W[3])}for(var z=1,J=G.length;z<J;){switch(G.fnArray[z]){case b.OPS.setStrokeColorSpace:case b.OPS.setFillColorSpace:case b.OPS.setStrokeColor:case b.OPS.setStrokeColorN:case b.OPS.setFillColor:case b.OPS.setFillColorN:case b.OPS.setStrokeGray:case b.OPS.setFillGray:case b.OPS.setStrokeRGBColor:case b.OPS.setFillRGBColor:case b.OPS.setStrokeCMYKColor:case b.OPS.setFillCMYKColor:case b.OPS.shadingFill:case b.OPS.setRenderingIntent:G.fnArray.splice(z,1),G.argsArray.splice(z,1),J--;continue;case b.OPS.setGState:for(var Q=s(G.argsArray[z],1),K=Q[0],de=0,oe=K.length;de<oe;){var pe=s(K[de],1),fe=pe[0];switch(fe){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":K.splice(de,1),oe--;continue}de++}break}z++}}}]),$}(),he=function(){function $(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new ue;A(this,$),this.state=j,this.stateStack=[]}return C($,[{key:"save",value:function(){var G=this.state;this.stateStack.push(this.state),this.state=G.clone()}},{key:"restore",value:function(){var G=this.stateStack.pop();G&&(this.state=G)}},{key:"transform",value:function(G){this.state.ctm=b.Util.transform(this.state.ctm,G)}}]),$}(),Se=function(){function $(){A(this,$),this.ctm=new Float32Array(b.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.font=null,this.fontMatrix=b.FONT_IDENTITY_MATRIX,this.textMatrix=b.IDENTITY_MATRIX.slice(),this.textLineMatrix=b.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}return C($,[{key:"setTextMatrix",value:function(G,M,W,z,J,Q){var K=this.textMatrix;K[0]=G,K[1]=M,K[2]=W,K[3]=z,K[4]=J,K[5]=Q}},{key:"setTextLineMatrix",value:function(G,M,W,z,J,Q){var K=this.textLineMatrix;K[0]=G,K[1]=M,K[2]=W,K[3]=z,K[4]=J,K[5]=Q}},{key:"translateTextMatrix",value:function(G,M){var W=this.textMatrix;W[4]=W[0]*G+W[2]*M+W[4],W[5]=W[1]*G+W[3]*M+W[5]}},{key:"translateTextLineMatrix",value:function(G,M){var W=this.textLineMatrix;W[4]=W[0]*G+W[2]*M+W[4],W[5]=W[1]*G+W[3]*M+W[5]}},{key:"carriageReturn",value:function(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}},{key:"clone",value:function(){var G=Object.create(this);return G.textMatrix=this.textMatrix.slice(),G.textLineMatrix=this.textLineMatrix.slice(),G.fontMatrix=this.fontMatrix.slice(),G}}]),$}(),ue=function(){function $(){A(this,$),this.ctm=new Float32Array(b.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=b.TextRenderingMode.FILL,this.fillColorSpace=n.ColorSpace.singletons.gray,this.strokeColorSpace=n.ColorSpace.singletons.gray}return C($,[{key:"clone",value:function(){return Object.create(this)}}]),$}(),te=function(){function $(j,G){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new he;A(this,$),this.parser=new q.Parser({lexer:new q.Lexer(j,$.opMap),xref:G}),this.stateManager=M,this.nonProcessedArgs=[],this._numInvalidPathOPS=0}return C($,[{key:"savedStatesDepth",get:function(){return this.stateManager.stateStack.length}},{key:"read",value:function(G){for(var M=G.args;;){var W=this.parser.getObj();if(W instanceof e.Cmd){var z=W.cmd,J=$.opMap[z];if(!J){(0,b.warn)('Unknown command "'.concat(z,'".'));continue}var Q=J.id,K=J.numArgs,de=M!==null?M.length:0;if(J.variableArgs)de>K&&(0,b.info)("Command ".concat(z,": expected [0, ").concat(K,"] args, ")+"but received ".concat(de," args."));else{if(de!==K){for(var oe=this.nonProcessedArgs;de>K;)oe.push(M.shift()),de--;for(;de<K&&oe.length!==0;)M===null&&(M=[]),M.unshift(oe.pop()),de++}if(de<K){var pe="command ".concat(z,": expected ").concat(K," args, ")+"but received ".concat(de," args.");if(Q>=b.OPS.moveTo&&Q<=b.OPS.endPath&&++this._numInvalidPathOPS>$.MAX_INVALID_PATH_OPS)throw new b.FormatError("Invalid ".concat(pe));(0,b.warn)("Skipping ".concat(pe)),M!==null&&(M.length=0);continue}}return this.preprocessCommand(Q,M),G.fn=Q,G.args=M,!0}if(W===e.EOF)return!1;if(W!==null&&(M===null&&(M=[]),M.push(W),M.length>33))throw new b.FormatError("Too many arguments")}}},{key:"preprocessCommand",value:function(G,M){switch(G|0){case b.OPS.save:this.stateManager.save();break;case b.OPS.restore:this.stateManager.restore();break;case b.OPS.transform:this.stateManager.transform(M);break}}}],[{key:"opMap",get:function(){var G=(0,w.getLookupTableFactory)(function(M){M.w={id:b.OPS.setLineWidth,numArgs:1,variableArgs:!1},M.J={id:b.OPS.setLineCap,numArgs:1,variableArgs:!1},M.j={id:b.OPS.setLineJoin,numArgs:1,variableArgs:!1},M.M={id:b.OPS.setMiterLimit,numArgs:1,variableArgs:!1},M.d={id:b.OPS.setDash,numArgs:2,variableArgs:!1},M.ri={id:b.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},M.i={id:b.OPS.setFlatness,numArgs:1,variableArgs:!1},M.gs={id:b.OPS.setGState,numArgs:1,variableArgs:!1},M.q={id:b.OPS.save,numArgs:0,variableArgs:!1},M.Q={id:b.OPS.restore,numArgs:0,variableArgs:!1},M.cm={id:b.OPS.transform,numArgs:6,variableArgs:!1},M.m={id:b.OPS.moveTo,numArgs:2,variableArgs:!1},M.l={id:b.OPS.lineTo,numArgs:2,variableArgs:!1},M.c={id:b.OPS.curveTo,numArgs:6,variableArgs:!1},M.v={id:b.OPS.curveTo2,numArgs:4,variableArgs:!1},M.y={id:b.OPS.curveTo3,numArgs:4,variableArgs:!1},M.h={id:b.OPS.closePath,numArgs:0,variableArgs:!1},M.re={id:b.OPS.rectangle,numArgs:4,variableArgs:!1},M.S={id:b.OPS.stroke,numArgs:0,variableArgs:!1},M.s={id:b.OPS.closeStroke,numArgs:0,variableArgs:!1},M.f={id:b.OPS.fill,numArgs:0,variableArgs:!1},M.F={id:b.OPS.fill,numArgs:0,variableArgs:!1},M["f*"]={id:b.OPS.eoFill,numArgs:0,variableArgs:!1},M.B={id:b.OPS.fillStroke,numArgs:0,variableArgs:!1},M["B*"]={id:b.OPS.eoFillStroke,numArgs:0,variableArgs:!1},M.b={id:b.OPS.closeFillStroke,numArgs:0,variableArgs:!1},M["b*"]={id:b.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},M.n={id:b.OPS.endPath,numArgs:0,variableArgs:!1},M.W={id:b.OPS.clip,numArgs:0,variableArgs:!1},M["W*"]={id:b.OPS.eoClip,numArgs:0,variableArgs:!1},M.BT={id:b.OPS.beginText,numArgs:0,variableArgs:!1},M.ET={id:b.OPS.endText,numArgs:0,variableArgs:!1},M.Tc={id:b.OPS.setCharSpacing,numArgs:1,variableArgs:!1},M.Tw={id:b.OPS.setWordSpacing,numArgs:1,variableArgs:!1},M.Tz={id:b.OPS.setHScale,numArgs:1,variableArgs:!1},M.TL={id:b.OPS.setLeading,numArgs:1,variableArgs:!1},M.Tf={id:b.OPS.setFont,numArgs:2,variableArgs:!1},M.Tr={id:b.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},M.Ts={id:b.OPS.setTextRise,numArgs:1,variableArgs:!1},M.Td={id:b.OPS.moveText,numArgs:2,variableArgs:!1},M.TD={id:b.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},M.Tm={id:b.OPS.setTextMatrix,numArgs:6,variableArgs:!1},M["T*"]={id:b.OPS.nextLine,numArgs:0,variableArgs:!1},M.Tj={id:b.OPS.showText,numArgs:1,variableArgs:!1},M.TJ={id:b.OPS.showSpacedText,numArgs:1,variableArgs:!1},M["'"]={id:b.OPS.nextLineShowText,numArgs:1,variableArgs:!1},M['"']={id:b.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},M.d0={id:b.OPS.setCharWidth,numArgs:2,variableArgs:!1},M.d1={id:b.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},M.CS={id:b.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},M.cs={id:b.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},M.SC={id:b.OPS.setStrokeColor,numArgs:4,variableArgs:!0},M.SCN={id:b.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},M.sc={id:b.OPS.setFillColor,numArgs:4,variableArgs:!0},M.scn={id:b.OPS.setFillColorN,numArgs:33,variableArgs:!0},M.G={id:b.OPS.setStrokeGray,numArgs:1,variableArgs:!1},M.g={id:b.OPS.setFillGray,numArgs:1,variableArgs:!1},M.RG={id:b.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},M.rg={id:b.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},M.K={id:b.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},M.k={id:b.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},M.sh={id:b.OPS.shadingFill,numArgs:1,variableArgs:!1},M.BI={id:b.OPS.beginInlineImage,numArgs:0,variableArgs:!1},M.ID={id:b.OPS.beginImageData,numArgs:0,variableArgs:!1},M.EI={id:b.OPS.endInlineImage,numArgs:1,variableArgs:!1},M.Do={id:b.OPS.paintXObject,numArgs:1,variableArgs:!1},M.MP={id:b.OPS.markPoint,numArgs:1,variableArgs:!1},M.DP={id:b.OPS.markPointProps,numArgs:2,variableArgs:!1},M.BMC={id:b.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},M.BDC={id:b.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},M.EMC={id:b.OPS.endMarkedContent,numArgs:0,variableArgs:!1},M.BX={id:b.OPS.beginCompat,numArgs:0,variableArgs:!1},M.EX={id:b.OPS.endCompat,numArgs:0,variableArgs:!1},M.BM=null,M.BD=null,M.true=null,M.fa=null,M.fal=null,M.fals=null,M.false=null,M.nu=null,M.nul=null,M.null=null});return(0,b.shadow)(this,"opMap",G())}},{key:"MAX_INVALID_PATH_OPS",get:function(){return(0,b.shadow)(this,"MAX_INVALID_PATH_OPS",20)}}]),$}();P.EvaluatorPreprocessor=te},(Me,P,D)=>{"use strict";function T(F){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(g){return typeof g}:T=function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},T(F)}Object.defineProperty(P,"__esModule",{value:!0}),P.IdentityCMap=P.CMapFactory=P.CMap=void 0;var b=ye(D(2)),t=D(4),e=D(135),ge=D(157),le=D(139),V=D(140);function ye(F){return F&&F.__esModule?F:{default:F}}function be(F,s,g,l,a,i,m){try{var o=F[i](m),c=o.value}catch(v){g(v);return}o.done?s(c):Promise.resolve(c).then(l,a)}function xe(F){return function(){var s=this,g=arguments;return new Promise(function(l,a){var i=F.apply(s,g);function m(c){be(i,l,a,m,o,"next",c)}function o(c){be(i,l,a,m,o,"throw",c)}m(void 0)})}}function ae(F,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(s&&s.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),s&&d(F,s)}function d(F,s){return d=Object.setPrototypeOf||function(l,a){return l.__proto__=a,l},d(F,s)}function ce(F){var s=X();return function(){var l=y(F),a;if(s){var i=y(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return q(this,a)}}function q(F,s){if(s&&(T(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return re(F)}function re(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(F){return!1}}function y(F){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(g){return g.__proto__||Object.getPrototypeOf(g)},y(F)}function k(F,s){if(!(F instanceof s))throw new TypeError("Cannot call a class as a function")}function n(F,s){for(var g=0;g<s.length;g++){var l=s[g];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(F,l.key,l)}}function S(F,s,g){return s&&n(F.prototype,s),g&&n(F,g),F}var O=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],w=Math.pow(2,24)-1,p=function(){function F(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;k(this,F),this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=s}return S(F,[{key:"addCodespaceRange",value:function(g,l,a){this.codespaceRanges[g-1].push(l,a),this.numCodespaceRanges++}},{key:"mapCidRange",value:function(g,l,a){if(l-g>w)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;g<=l;)this._map[g++]=a++}},{key:"mapBfRange",value:function(g,l,a){if(l-g>w)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");for(var i=a.length-1;g<=l;){this._map[g++]=a;var m=a.charCodeAt(i)+1;if(m>255){a=a.substring(0,i-1)+String.fromCharCode(a.charCodeAt(i-1)+1)+"\0";continue}a=a.substring(0,i)+String.fromCharCode(m)}}},{key:"mapBfRangeToArray",value:function(g,l,a){if(l-g>w)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");for(var i=a.length,m=0;g<=l&&m<i;)this._map[g]=a[m++],++g}},{key:"mapOne",value:function(g,l){this._map[g]=l}},{key:"lookup",value:function(g){return this._map[g]}},{key:"contains",value:function(g){return this._map[g]!==void 0}},{key:"forEach",value:function(g){var l=this._map,a=l.length;if(a<=65536)for(var i=0;i<a;i++)l[i]!==void 0&&g(i,l[i]);else for(var m in l)g(m,l[m])}},{key:"charCodeOf",value:function(g){var l=this._map;if(l.length<=65536)return l.indexOf(g);for(var a in l)if(l[a]===g)return a|0;return-1}},{key:"getMap",value:function(){return this._map}},{key:"readCharCode",value:function(g,l,a){for(var i=0,m=this.codespaceRanges,o=0,c=m.length;o<c;o++){i=(i<<8|g.charCodeAt(l+o))>>>0;for(var v=m[o],A=0,u=v.length;A<u;){var C=v[A++],I=v[A++];if(i>=C&&i<=I){a.charcode=i,a.length=o+1;return}}}a.charcode=0,a.length=1}},{key:"getCharCodeLength",value:function(g){for(var l=this.codespaceRanges,a=0,i=l.length;a<i;a++)for(var m=l[a],o=0,c=m.length;o<c;){var v=m[o++],A=m[o++];if(g>=v&&g<=A)return a+1}return 1}},{key:"length",get:function(){return this._map.length}},{key:"isIdentityCMap",get:function(){if(!(this.name==="Identity-H"||this.name==="Identity-V")||this._map.length!==65536)return!1;for(var g=0;g<65536;g++)if(this._map[g]!==g)return!1;return!0}}]),F}();P.CMap=p;var x=function(F){ae(g,F);var s=ce(g);function g(l,a){var i;return k(this,g),i=s.call(this),i.vertical=l,i.addCodespaceRange(a,0,65535),i}return S(g,[{key:"mapCidRange",value:function(a,i,m){(0,t.unreachable)("should not call mapCidRange")}},{key:"mapBfRange",value:function(a,i,m){(0,t.unreachable)("should not call mapBfRange")}},{key:"mapBfRangeToArray",value:function(a,i,m){(0,t.unreachable)("should not call mapBfRangeToArray")}},{key:"mapOne",value:function(a,i){(0,t.unreachable)("should not call mapCidOne")}},{key:"lookup",value:function(a){return Number.isInteger(a)&&a<=65535?a:void 0}},{key:"contains",value:function(a){return Number.isInteger(a)&&a<=65535}},{key:"forEach",value:function(a){for(var i=0;i<=65535;i++)a(i,i)}},{key:"charCodeOf",value:function(a){return Number.isInteger(a)&&a<=65535?a:-1}},{key:"getMap",value:function(){for(var a=new Array(65536),i=0;i<=65535;i++)a[i]=i;return a}},{key:"length",get:function(){return 65536}},{key:"isIdentityCMap",get:function(){(0,t.unreachable)("should not access .isIdentityCMap")}}]),g}(p);P.IdentityCMap=x;var f=function(){function s(v,A){for(var u=0,C=0;C<=A;C++)u=u<<8|v[C];return u>>>0}function g(v,A){return A===1?String.fromCharCode(v[0],v[1]):A===3?String.fromCharCode(v[0],v[1],v[2],v[3]):String.fromCharCode.apply(null,v.subarray(0,A+1))}function l(v,A,u){for(var C=0,I=u;I>=0;I--)C+=v[I]+A[I],v[I]=C&255,C>>=8}function a(v,A){for(var u=1,C=A;C>=0&&u>0;C--)u+=v[C],v[C]=u&255,u>>=8}var i=16,m=19,o=function(){function v(A){k(this,v),this.buffer=A,this.pos=0,this.end=A.length,this.tmpBuf=new Uint8Array(m)}return S(v,[{key:"readByte",value:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]}},{key:"readNumber",value:function(){var u=0,C;do{var I=this.readByte();if(I<0)throw new t.FormatError("unexpected EOF in bcmap");C=!(I&128),u=u<<7|I&127}while(!C);return u}},{key:"readSigned",value:function(){var u=this.readNumber();return u&1?~(u>>>1):u>>>1}},{key:"readHex",value:function(u,C){u.set(this.buffer.subarray(this.pos,this.pos+C+1)),this.pos+=C+1}},{key:"readHexNumber",value:function(u,C){var I,E=this.tmpBuf,N=0;do{var _=this.readByte();if(_<0)throw new t.FormatError("unexpected EOF in bcmap");I=!(_&128),E[N++]=_&127}while(!I);for(var Y=C,H=0,Z=0;Y>=0;){for(;Z<8&&E.length>0;)H|=E[--N]<<Z,Z+=7;u[Y]=H&255,Y--,H>>=8,Z-=8}}},{key:"readHexSigned",value:function(u,C){this.readHexNumber(u,C);for(var I=u[C]&1?255:0,E=0,N=0;N<=C;N++)E=(E&1)<<8|u[N],u[N]=E>>1^I}},{key:"readString",value:function(){for(var u=this.readNumber(),C="",I=0;I<u;I++)C+=String.fromCharCode(this.readNumber());return C}}]),v}(),c=function(){function v(){k(this,v)}return S(v,[{key:"process",value:function(){var A=xe(b.default.mark(function C(I,E,N){var _,Y,H,Z,ne,he,Se,ue,te,$,j,G,M,W,z,J,Q,K,de,oe,pe;return b.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:_=new o(I),Y=_.readByte(),E.vertical=!!(Y&1),H=null,Z=new Uint8Array(i),ne=new Uint8Array(i),he=new Uint8Array(i),Se=new Uint8Array(i),ue=new Uint8Array(i);case 9:if(!(($=_.readByte())>=0)){ke.next=68;break}if(j=$>>5,j!==7){ke.next=20;break}ke.t0=$&31,ke.next=ke.t0===0?15:ke.t0===1?17:19;break;case 15:return _.readString(),ke.abrupt("break",19);case 17:return H=_.readString(),ke.abrupt("break",19);case 19:return ke.abrupt("continue",9);case 20:if(G=!!($&16),M=$&15,!(M+1>i)){ke.next=24;break}throw new Error("BinaryCMapReader.process: Invalid dataSize.");case 24:W=1,z=_.readNumber(),ke.t1=j,ke.next=ke.t1===0?29:ke.t1===1?35:ke.t1===2?41:ke.t1===3?46:ke.t1===4?53:ke.t1===5?58:65;break;case 29:for(_.readHex(Z,M),_.readHexNumber(ne,M),l(ne,Z,M),E.addCodespaceRange(M+1,s(Z,M),s(ne,M)),J=1;J<z;J++)a(ne,M),_.readHexNumber(Z,M),l(Z,ne,M),_.readHexNumber(ne,M),l(ne,Z,M),E.addCodespaceRange(M+1,s(Z,M),s(ne,M));return ke.abrupt("break",66);case 35:for(_.readHex(Z,M),_.readHexNumber(ne,M),l(ne,Z,M),_.readNumber(),Q=1;Q<z;Q++)a(ne,M),_.readHexNumber(Z,M),l(Z,ne,M),_.readHexNumber(ne,M),l(ne,Z,M),_.readNumber();return ke.abrupt("break",66);case 41:for(_.readHex(he,M),te=_.readNumber(),E.mapOne(s(he,M),te),K=1;K<z;K++)a(he,M),G||(_.readHexNumber(ue,M),l(he,ue,M)),te=_.readSigned()+(te+1),E.mapOne(s(he,M),te);return ke.abrupt("break",66);case 46:for(_.readHex(Z,M),_.readHexNumber(ne,M),l(ne,Z,M),te=_.readNumber(),E.mapCidRange(s(Z,M),s(ne,M),te),de=1;de<z;de++)a(ne,M),G?Z.set(ne):(_.readHexNumber(Z,M),l(Z,ne,M)),_.readHexNumber(ne,M),l(ne,Z,M),te=_.readNumber(),E.mapCidRange(s(Z,M),s(ne,M),te);return ke.abrupt("break",66);case 53:for(_.readHex(he,W),_.readHex(Se,M),E.mapOne(s(he,W),g(Se,M)),oe=1;oe<z;oe++)a(he,W),G||(_.readHexNumber(ue,W),l(he,ue,W)),a(Se,M),_.readHexSigned(ue,M),l(Se,ue,M),E.mapOne(s(he,W),g(Se,M));return ke.abrupt("break",66);case 58:for(_.readHex(Z,W),_.readHexNumber(ne,W),l(ne,Z,W),_.readHex(Se,M),E.mapBfRange(s(Z,W),s(ne,W),g(Se,M)),pe=1;pe<z;pe++)a(ne,W),G?Z.set(ne):(_.readHexNumber(Z,W),l(Z,ne,W)),_.readHexNumber(ne,W),l(ne,Z,W),_.readHex(Se,M),E.mapBfRange(s(Z,W),s(ne,W),g(Se,M));return ke.abrupt("break",66);case 65:throw new Error("BinaryCMapReader.process - unknown type: ".concat(j));case 66:ke.next=9;break;case 68:if(!H){ke.next=70;break}return ke.abrupt("return",N(H));case 70:return ke.abrupt("return",E);case 71:case"end":return ke.stop()}},C)}));function u(C,I,E){return A.apply(this,arguments)}return u}()}]),v}();return c}(),h=function(){function s(Y){for(var H=0,Z=0;Z<Y.length;Z++)H=H<<8|Y.charCodeAt(Z);return H>>>0}function g(Y){if(!(0,t.isString)(Y))throw new t.FormatError("Malformed CMap: expected string.")}function l(Y){if(!Number.isInteger(Y))throw new t.FormatError("Malformed CMap: expected int.")}function a(Y,H){for(;;){var Z=H.getObj();if(Z===e.EOF)break;if((0,e.isCmd)(Z,"endbfchar"))return;g(Z);var ne=s(Z);Z=H.getObj(),g(Z);var he=Z;Y.mapOne(ne,he)}}function i(Y,H){for(;;){var Z=H.getObj();if(Z===e.EOF)break;if((0,e.isCmd)(Z,"endbfrange"))return;g(Z);var ne=s(Z);Z=H.getObj(),g(Z);var he=s(Z);if(Z=H.getObj(),Number.isInteger(Z)||(0,t.isString)(Z)){var Se=Number.isInteger(Z)?String.fromCharCode(Z):Z;Y.mapBfRange(ne,he,Se)}else if((0,e.isCmd)(Z,"[")){Z=H.getObj();for(var ue=[];!(0,e.isCmd)(Z,"]")&&Z!==e.EOF;)ue.push(Z),Z=H.getObj();Y.mapBfRangeToArray(ne,he,ue)}else break}throw new t.FormatError("Invalid bf range.")}function m(Y,H){for(;;){var Z=H.getObj();if(Z===e.EOF)break;if((0,e.isCmd)(Z,"endcidchar"))return;g(Z);var ne=s(Z);Z=H.getObj(),l(Z);var he=Z;Y.mapOne(ne,he)}}function o(Y,H){for(;;){var Z=H.getObj();if(Z===e.EOF)break;if((0,e.isCmd)(Z,"endcidrange"))return;g(Z);var ne=s(Z);Z=H.getObj(),g(Z);var he=s(Z);Z=H.getObj(),l(Z);var Se=Z;Y.mapCidRange(ne,he,Se)}}function c(Y,H){for(;;){var Z=H.getObj();if(Z===e.EOF)break;if((0,e.isCmd)(Z,"endcodespacerange"))return;if(!(0,t.isString)(Z))break;var ne=s(Z);if(Z=H.getObj(),!(0,t.isString)(Z))break;var he=s(Z);Y.addCodespaceRange(Z.length,ne,he)}throw new t.FormatError("Invalid codespace range.")}function v(Y,H){var Z=H.getObj();Number.isInteger(Z)&&(Y.vertical=!!Z)}function A(Y,H){var Z=H.getObj();(0,e.isName)(Z)&&(0,t.isString)(Z.name)&&(Y.name=Z.name)}function u(Y,H,Z,ne){return C.apply(this,arguments)}function C(){return C=xe(b.default.mark(function Y(H,Z,ne,he){var Se,ue,te;return b.default.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:if(j.prev=1,te=Z.getObj(),te!==e.EOF){j.next=7;break}return j.abrupt("break",39);case 7:if(!(0,e.isName)(te)){j.next=12;break}te.name==="WMode"?v(H,Z):te.name==="CMapName"&&A(H,Z),Se=te,j.next=29;break;case 12:if(!(0,e.isCmd)(te)){j.next=29;break}j.t0=te.cmd,j.next=j.t0==="endcmap"?16:j.t0==="usecmap"?17:j.t0==="begincodespacerange"?19:j.t0==="beginbfchar"?21:j.t0==="begincidchar"?23:j.t0==="beginbfrange"?25:j.t0==="begincidrange"?27:29;break;case 16:return j.abrupt("break",39);case 17:return(0,e.isName)(Se)&&(ue=Se.name),j.abrupt("break",29);case 19:return c(H,Z),j.abrupt("break",29);case 21:return a(H,Z),j.abrupt("break",29);case 23:return m(H,Z),j.abrupt("break",29);case 25:return i(H,Z),j.abrupt("break",29);case 27:return o(H,Z),j.abrupt("break",29);case 29:j.next=37;break;case 31:if(j.prev=31,j.t1=j.catch(1),!(j.t1 instanceof le.MissingDataException)){j.next=35;break}throw j.t1;case 35:return(0,t.warn)("Invalid cMap data: "+j.t1),j.abrupt("continue",0);case 37:j.next=0;break;case 39:if(!he&&ue&&(he=ue),!he){j.next=42;break}return j.abrupt("return",I(H,ne,he));case 42:return j.abrupt("return",H);case 43:case"end":return j.stop()}},Y,null,[[1,31]])})),C.apply(this,arguments)}function I(Y,H,Z){return E.apply(this,arguments)}function E(){return E=xe(b.default.mark(function Y(H,Z,ne){var he,Se;return b.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return te.next=2,N(ne,Z);case 2:if(H.useCMap=te.sent,H.numCodespaceRanges===0){for(he=H.useCMap.codespaceRanges,Se=0;Se<he.length;Se++)H.codespaceRanges[Se]=he[Se].slice();H.numCodespaceRanges=H.useCMap.numCodespaceRanges}return H.useCMap.forEach(function($,j){H.contains($)||H.mapOne($,H.useCMap.lookup($))}),te.abrupt("return",H);case 6:case"end":return te.stop()}},Y)})),E.apply(this,arguments)}function N(Y,H){return _.apply(this,arguments)}function _(){return _=xe(b.default.mark(function Y(H,Z){var ne,he,Se,ue,te;return b.default.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:if(H!=="Identity-H"){j.next=4;break}return j.abrupt("return",new x(!1,2));case 4:if(H!=="Identity-V"){j.next=6;break}return j.abrupt("return",new x(!0,2));case 6:if(O.includes(H)){j.next=8;break}throw new Error("Unknown CMap name: "+H);case 8:if(Z){j.next=10;break}throw new Error("Built-in CMap parameters are not provided.");case 10:return j.next=12,Z(H);case 12:if(ne=j.sent,he=ne.cMapData,Se=ne.compressionType,ue=new p(!0),Se!==t.CMapCompressionType.BINARY){j.next=18;break}return j.abrupt("return",new f().process(he,ue,function(G){return I(ue,Z,G)}));case 18:if(Se!==t.CMapCompressionType.NONE){j.next=21;break}return te=new ge.Lexer(new V.Stream(he)),j.abrupt("return",u(ue,te,Z,null));case 21:throw new Error("TODO: Only BINARY/NONE CMap compression is currently supported.");case 22:case"end":return j.stop()}},Y)})),_.apply(this,arguments)}return{create:function(H){return xe(b.default.mark(function Z(){var ne,he,Se,ue;return b.default.wrap(function($){for(;;)switch($.prev=$.next){case 0:if(ne=H.encoding,he=H.fetchBuiltInCMap,Se=H.useCMap,!(0,e.isName)(ne)){$.next=7;break}return $.abrupt("return",N(ne.name,he));case 7:if(!(0,e.isStream)(ne)){$.next=14;break}return $.next=10,u(new p,new ge.Lexer(ne),he,Se);case 10:if(ue=$.sent,!ue.isIdentityCMap){$.next=13;break}return $.abrupt("return",N(ue.name,he));case 13:return $.abrupt("return",ue);case 14:throw new Error("Encoding required.");case 15:case"end":return $.stop()}},Z)}))()}}}();P.CMapFactory=h},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.Parser=P.Linearization=P.Lexer=void 0;var T=D(4),b=D(135),t=D(139),e=D(158),ge=D(160),le=D(161),V=D(163),ye=D(164),be=D(167),xe=D(169),ae=D(171),d=D(140),ce=D(172),q=D(173);function re(h,F){if(!(h instanceof F))throw new TypeError("Cannot call a class as a function")}function X(h,F){for(var s=0;s<F.length;s++){var g=F[s];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}function y(h,F,s){return F&&X(h.prototype,F),s&&X(h,s),h}var k=1e3,n=5552;function S(h){for(var F=h.length,s=1,g=0,l=0;l<F;++l)s+=h[l]&255,g+=s;return g%65521<<16|s%65521}var O=function(){function h(F){var s=F.lexer,g=F.xref,l=F.allowStreams,a=l===void 0?!1:l,i=F.recoveryMode,m=i===void 0?!1:i;re(this,h),this.lexer=s,this.xref=g,this.allowStreams=a,this.recoveryMode=m,this.imageCache=Object.create(null),this.refill()}return y(h,[{key:"refill",value:function(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}},{key:"shift",value:function(){this.buf2 instanceof b.Cmd&&this.buf2.cmd==="ID"?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}},{key:"tryShift",value:function(){try{return this.shift(),!0}catch(s){if(s instanceof t.MissingDataException)throw s;return!1}}},{key:"getObj",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,g=this.buf1;if(this.shift(),g instanceof b.Cmd)switch(g.cmd){case"BI":return this.makeInlineImage(s);case"[":for(var l=[];!(0,b.isCmd)(this.buf1,"]")&&this.buf1!==b.EOF;)l.push(this.getObj(s));if(this.buf1===b.EOF){if(this.recoveryMode)return l;throw new t.ParserEOFException("End of file inside array.")}return this.shift(),l;case"<<":for(var a=new b.Dict(this.xref);!(0,b.isCmd)(this.buf1,">>")&&this.buf1!==b.EOF;){if(!(0,b.isName)(this.buf1)){(0,T.info)("Malformed dictionary: key must be a name object"),this.shift();continue}var i=this.buf1.name;if(this.shift(),this.buf1===b.EOF)break;a.set(i,this.getObj(s))}if(this.buf1===b.EOF){if(this.recoveryMode)return a;throw new t.ParserEOFException("End of file inside dictionary.")}return(0,b.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(a,s):a:(this.shift(),a);default:return g}if(Number.isInteger(g)){if(Number.isInteger(this.buf1)&&(0,b.isCmd)(this.buf2,"R")){var m=b.Ref.get(g,this.buf1);return this.shift(),this.shift(),m}return g}return typeof g=="string"&&s?s.decryptString(g):g}},{key:"findDefaultInlineStreamEnd",value:function(s){for(var g=69,l=73,a=32,i=10,m=13,o=0,c=this.lexer,v=s.pos,A=10,u=0,C,I;(C=s.getByte())!==-1;)if(u===0)u=C===g?1:0;else if(u===1)u=C===l?2:0;else if((0,T.assert)(u===2,"findDefaultInlineStreamEnd - invalid state."),C===a||C===i||C===m){I=s.pos;for(var E=s.peekBytes(A),N=0,_=E.length;N<_;N++)if(C=E[N],!(C===o&&E[N+1]!==o)&&C!==i&&C!==m&&(C<a||C>127)){u=0;break}if(u!==2)continue;if(c.knownCommands){var Y=c.peekObj();Y instanceof b.Cmd&&!c.knownCommands[Y.cmd]&&(u=0)}else(0,T.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");if(u===2)break}else u=0;C===-1&&((0,T.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),I&&((0,T.warn)('... trying to recover by using the last "EI" occurrence.'),s.skip(-(s.pos-I))));var H=4;return s.skip(-H),C=s.peekByte(),s.skip(H),(0,t.isWhiteSpace)(C)||H--,s.pos-H-v}},{key:"findDCTDecodeInlineStreamEnd",value:function(s){for(var g=s.pos,l=!1,a,i;(a=s.getByte())!==-1;)if(a===255){switch(s.getByte()){case 0:break;case 255:s.skip(-1);break;case 217:l=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:i=s.getUint16(),i>2?s.skip(i-2):s.skip(-2);break}if(l)break}var m=s.pos-g;return a===-1?((0,T.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),s.skip(-m),this.findDefaultInlineStreamEnd(s)):(this.inlineStreamSkipEI(s),m)}},{key:"findASCII85DecodeInlineStreamEnd",value:function(s){for(var g=126,l=62,a=s.pos,i;(i=s.getByte())!==-1;)if(i===g){var m=s.pos;for(i=s.peekByte();(0,t.isWhiteSpace)(i);)s.skip(),i=s.peekByte();if(i===l){s.skip();break}if(s.pos>m){var o=s.peekBytes(2);if(o[0]===69&&o[1]===73)break}}var c=s.pos-a;return i===-1?((0,T.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),s.skip(-c),this.findDefaultInlineStreamEnd(s)):(this.inlineStreamSkipEI(s),c)}},{key:"findASCIIHexDecodeInlineStreamEnd",value:function(s){for(var g=62,l=s.pos,a;(a=s.getByte())!==-1&&a!==g;);var i=s.pos-l;return a===-1?((0,T.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),s.skip(-i),this.findDefaultInlineStreamEnd(s)):(this.inlineStreamSkipEI(s),i)}},{key:"inlineStreamSkipEI",value:function(s){for(var g=69,l=73,a=0,i;(i=s.getByte())!==-1;)if(a===0)a=i===g?1:0;else if(a===1)a=i===l?2:0;else if(a===2)break}},{key:"makeInlineImage",value:function(s){for(var g=this.lexer,l=g.stream,a=new b.Dict(this.xref),i;!(0,b.isCmd)(this.buf1,"ID")&&this.buf1!==b.EOF;){if(!(0,b.isName)(this.buf1))throw new T.FormatError("Dictionary key must be a name object");var m=this.buf1.name;if(this.shift(),this.buf1===b.EOF)break;a.set(m,this.getObj(s))}g.beginInlineImagePos!==-1&&(i=l.pos-g.beginInlineImagePos);var o=a.get("F","Filter"),c;if((0,b.isName)(o))c=o.name;else if(Array.isArray(o)){var v=this.xref.fetchIfRef(o[0]);(0,b.isName)(v)&&(c=v.name)}var A=l.pos,u;switch(c){case"DCT":case"DCTDecode":u=this.findDCTDecodeInlineStreamEnd(l);break;case"A85":case"ASCII85Decode":u=this.findASCII85DecodeInlineStreamEnd(l);break;case"AHx":case"ASCIIHexDecode":u=this.findASCIIHexDecodeInlineStreamEnd(l);break;default:u=this.findDefaultInlineStreamEnd(l)}var C=l.makeSubStream(A,u,a),I;if(u<k&&i<n){var E=C.getBytes();C.reset();var N=l.pos;l.pos=g.beginInlineImagePos;var _=l.getBytes(i);l.pos=N,I=S(E)+"_"+S(_);var Y=this.imageCache[I];if(Y!==void 0)return this.buf2=b.Cmd.get("EI"),this.shift(),Y.reset(),Y}return s&&(C=s.createStream(C,u)),C=this.filter(C,a,u),C.dict=a,I!==void 0&&(C.cacheKey="inline_".concat(u,"_").concat(I),this.imageCache[I]=C),this.buf2=b.Cmd.get("EI"),this.shift(),C}},{key:"_findStreamLength",value:function(s,g){var l=this.lexer.stream;l.pos=s;for(var a=2048,i=g.length;l.pos<l.end;){var m=l.peekBytes(a),o=m.length-i;if(o<=0)break;for(var c=0;c<o;){for(var v=0;v<i&&m[c+v]===g[v];)v++;if(v>=i)return l.pos+=c,l.pos-s;c++}l.pos+=o}return-1}},{key:"makeStream",value:function(s,g){var l=this.lexer,a=l.stream;l.skipToNextLine();var i=a.pos-1,m=s.get("Length");if(Number.isInteger(m)||((0,T.info)('Bad length "'.concat(m&&m.toString(),'" in stream.')),m=0),a.pos=i+m,l.nextChar(),this.tryShift()&&(0,b.isCmd)(this.buf2,"endstream"))this.shift();else{var o=new Uint8Array([101,110,100,115,116,114,101,97,109]),c=this._findStreamLength(i,o);if(c<0){for(var v=1,A=1;A<=v;A++){var u=o.length-A,C=o.slice(0,u),I=this._findStreamLength(i,C);if(I>=0){var E=a.peekBytes(u+1)[u];if(!(0,t.isWhiteSpace)(E))break;(0,T.info)('Found "'.concat((0,T.bytesToString)(C),'" when ')+"searching for endstream command."),c=I;break}}if(c<0)throw new T.FormatError("Missing endstream command.")}m=c,l.nextChar(),this.shift(),this.shift()}return this.shift(),a=a.makeSubStream(i,m,s),g&&(a=g.createStream(a,m)),a=this.filter(a,s,m),a.dict=s,a}},{key:"filter",value:function(s,g,l){var a=g.get("F","Filter"),i=g.get("DP","DecodeParms");if((0,b.isName)(a))return Array.isArray(i)&&(0,T.warn)("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(s,a.name,l,i);var m=l;if(Array.isArray(a))for(var o=a,c=i,v=0,A=o.length;v<A;++v){if(a=this.xref.fetchIfRef(o[v]),!(0,b.isName)(a))throw new T.FormatError('Bad filter name "'.concat(a,'"'));i=null,Array.isArray(c)&&v in c&&(i=this.xref.fetchIfRef(c[v])),s=this.makeFilter(s,a.name,m,i),m=null}return s}},{key:"makeFilter",value:function(s,g,l,a){if(l===0)return(0,T.warn)('Empty "'.concat(g,'" stream.')),new d.NullStream;var i=this.xref.stats;try{switch(g){case"Fl":case"FlateDecode":return i.addStreamType(T.StreamType.FLATE),a?new ce.PredictorStream(new V.FlateStream(s,l),l,a):new V.FlateStream(s,l);case"LZW":case"LZWDecode":i.addStreamType(T.StreamType.LZW);var m=1;return a?(a.has("EarlyChange")&&(m=a.get("EarlyChange")),new ce.PredictorStream(new ae.LZWStream(s,l,m),l,a)):new ae.LZWStream(s,l,m);case"DCT":case"DCTDecode":return i.addStreamType(T.StreamType.DCT),new be.JpegStream(s,l,a);case"JPX":case"JPXDecode":return i.addStreamType(T.StreamType.JPX),new xe.JpxStream(s,l,a);case"A85":case"ASCII85Decode":return i.addStreamType(T.StreamType.A85),new e.Ascii85Stream(s,l);case"AHx":case"ASCIIHexDecode":return i.addStreamType(T.StreamType.AHX),new ge.AsciiHexStream(s,l);case"CCF":case"CCITTFaxDecode":return i.addStreamType(T.StreamType.CCF),new le.CCITTFaxStream(s,l,a);case"RL":case"RunLengthDecode":return i.addStreamType(T.StreamType.RLX),new q.RunLengthStream(s,l);case"JBIG2Decode":return i.addStreamType(T.StreamType.JBIG),new ye.Jbig2Stream(s,l,a)}return(0,T.warn)('Filter "'.concat(g,'" is not supported.')),s}catch(o){if(o instanceof t.MissingDataException)throw o;return(0,T.warn)('Invalid stream: "'.concat(o,'"')),new d.NullStream}}}]),h}();P.Parser=O;var w=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function p(h){return h>=48&&h<=57?h&15:h>=65&&h<=70||h>=97&&h<=102?(h&15)+9:-1}var x=function(){function h(F){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;re(this,h),this.stream=F,this.nextChar(),this.strBuf=[],this.knownCommands=s,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}return y(h,[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"peekChar",value:function(){return this.stream.peekByte()}},{key:"getNumber",value:function(){var s=this.currentChar,g=!1,l=0,a=0;if(s===45?(a=-1,s=this.nextChar(),s===45&&(s=this.nextChar())):s===43&&(a=1,s=this.nextChar()),s===10||s===13)do s=this.nextChar();while(s===10||s===13);if(s===46&&(l=10,s=this.nextChar()),s<48||s>57){if(l===10&&a===0&&((0,t.isWhiteSpace)(s)||s===-1))return(0,T.warn)("Lexer.getNumber - treating a single decimal point as zero."),0;throw new T.FormatError("Invalid number: ".concat(String.fromCharCode(s)," (charCode ").concat(s,")"))}a=a||1;for(var i=s-48,m=0,o=1;(s=this.nextChar())>=0;)if(s>=48&&s<=57){var c=s-48;g?m=m*10+c:(l!==0&&(l*=10),i=i*10+c)}else if(s===46)if(l===0)l=1;else break;else if(s===45)(0,T.warn)("Badly formatted number: minus sign in the middle");else if(s===69||s===101){if(s=this.peekChar(),s===43||s===45)o=s===45?-1:1,this.nextChar();else if(s<48||s>57)break;g=!0}else break;return l!==0&&(i/=l),g&&(i*=Math.pow(10,o*m)),a*i}},{key:"getString",value:function(){var s=1,g=!1,l=this.strBuf;l.length=0;for(var a=this.nextChar();;){var i=!1;switch(a|0){case-1:(0,T.warn)("Unterminated string"),g=!0;break;case 40:++s,l.push("(");break;case 41:--s==0?(this.nextChar(),g=!0):l.push(")");break;case 92:switch(a=this.nextChar(),a){case-1:(0,T.warn)("Unterminated string"),g=!0;break;case 110:l.push(`
`);break;case 114:l.push("\r");break;case 116:l.push(" ");break;case 98:l.push("\b");break;case 102:l.push("\f");break;case 92:case 40:case 41:l.push(String.fromCharCode(a));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var m=a&15;a=this.nextChar(),i=!0,a>=48&&a<=55&&(m=(m<<3)+(a&15),a=this.nextChar(),a>=48&&a<=55&&(i=!1,m=(m<<3)+(a&15))),l.push(String.fromCharCode(m));break;case 13:this.peekChar()===10&&this.nextChar();break;case 10:break;default:l.push(String.fromCharCode(a));break}break;default:l.push(String.fromCharCode(a));break}if(g)break;i||(a=this.nextChar())}return l.join("")}},{key:"getName",value:function(){var s,g,l=this.strBuf;for(l.length=0;(s=this.nextChar())>=0&&!w[s];)if(s===35){if(s=this.nextChar(),w[s]){(0,T.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),l.push("#");break}var a=p(s);if(a!==-1){g=s,s=this.nextChar();var i=p(s);if(i===-1){if((0,T.warn)("Lexer_getName: Illegal digit (".concat(String.fromCharCode(s),") ")+"in hexadecimal number."),l.push("#",String.fromCharCode(g)),w[s])break;l.push(String.fromCharCode(s));continue}l.push(String.fromCharCode(a<<4|i))}else l.push("#",String.fromCharCode(s))}else l.push(String.fromCharCode(s));return l.length>127&&(0,T.warn)("Name token is longer than allowed by the spec: ".concat(l.length)),b.Name.get(l.join(""))}},{key:"_hexStringWarn",value:function(s){var g=5;if(this._hexStringNumWarn++===g){(0,T.warn)("getHexString - ignoring additional invalid characters.");return}this._hexStringNumWarn>g||(0,T.warn)("getHexString - ignoring invalid character: ".concat(s))}},{key:"getHexString",value:function(){var s=this.strBuf;s.length=0;var g=this.currentChar,l=!0,a,i;for(this._hexStringNumWarn=0;;)if(g<0){(0,T.warn)("Unterminated hex string");break}else if(g===62){this.nextChar();break}else if(w[g]===1){g=this.nextChar();continue}else{if(l){if(a=p(g),a===-1){this._hexStringWarn(g),g=this.nextChar();continue}}else{if(i=p(g),i===-1){this._hexStringWarn(g),g=this.nextChar();continue}s.push(String.fromCharCode(a<<4|i))}l=!l,g=this.nextChar()}return s.join("")}},{key:"getObj",value:function(){for(var s=!1,g=this.currentChar;;){if(g<0)return b.EOF;if(s)(g===10||g===13)&&(s=!1);else if(g===37)s=!0;else if(w[g]!==1)break;g=this.nextChar()}switch(g|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),b.Cmd.get("[");case 93:return this.nextChar(),b.Cmd.get("]");case 60:return g=this.nextChar(),g===60?(this.nextChar(),b.Cmd.get("<<")):this.getHexString();case 62:return g=this.nextChar(),g===62?(this.nextChar(),b.Cmd.get(">>")):b.Cmd.get(">");case 123:return this.nextChar(),b.Cmd.get("{");case 125:return this.nextChar(),b.Cmd.get("}");case 41:throw this.nextChar(),new T.FormatError("Illegal character: ".concat(g))}var l=String.fromCharCode(g);if(g<32||g>127){var a=this.peekChar();if(a>=32&&a<=127)return this.nextChar(),b.Cmd.get(l)}for(var i=this.knownCommands,m=i&&i[l]!==void 0;(g=this.nextChar())>=0&&!w[g];){var o=l+String.fromCharCode(g);if(m&&i[o]===void 0)break;if(l.length===128)throw new T.FormatError("Command token too long: ".concat(l.length));l=o,m=i&&i[l]!==void 0}return l==="true"?!0:l==="false"?!1:l==="null"?null:(l==="BI"&&(this.beginInlineImagePos=this.stream.pos),b.Cmd.get(l))}},{key:"peekObj",value:function(){var s=this.stream.pos,g=this.currentChar,l=this.beginInlineImagePos,a;try{a=this.getObj()}catch(i){if(i instanceof t.MissingDataException)throw i;(0,T.warn)("peekObj: ".concat(i))}return this.stream.pos=s,this.currentChar=g,this.beginInlineImagePos=l,a}},{key:"skipToNextLine",value:function(){for(var s=this.currentChar;s>=0;){if(s===13){s=this.nextChar(),s===10&&this.nextChar();break}else if(s===10){this.nextChar();break}s=this.nextChar()}}}]),h}();P.Lexer=x;var f=function(){function h(){re(this,h)}return y(h,null,[{key:"create",value:function(s){function g(u,C){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,E=u.get(C);if(Number.isInteger(E)&&(I?E>=0:E>0))return E;throw new Error('The "'.concat(C,'" parameter in the linearization ')+"dictionary is invalid.")}function l(u){var C=u.get("H"),I;if(Array.isArray(C)&&((I=C.length)===2||I===4)){for(var E=0;E<I;E++){var N=C[E];if(!(Number.isInteger(N)&&N>0))throw new Error("Hint (".concat(E,") in the linearization dictionary is invalid."))}return C}throw new Error("Hint array in the linearization dictionary is invalid.")}var a=new O({lexer:new x(s),xref:null}),i=a.getObj(),m=a.getObj(),o=a.getObj(),c=a.getObj(),v,A;if(Number.isInteger(i)&&Number.isInteger(m)&&(0,b.isCmd)(o,"obj")&&(0,b.isDict)(c)&&(0,T.isNum)(v=c.get("Linearized"))&&v>0){if((A=g(c,"L"))!==s.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.')}else return null;return{length:A,hints:l(c),objectNumberFirst:g(c,"O"),endFirst:g(c,"E"),numPages:g(c,"N"),mainXRefEntriesOffset:g(c,"T"),pageFirst:c.has("P")?g(c,"P",!0):0}}}]),h}();P.Linearization=f},(Me,P,D)=>{"use strict";function T(re){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(y){return typeof y}:T=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},T(re)}Object.defineProperty(P,"__esModule",{value:!0}),P.Ascii85Stream=void 0;var b=D(159),t=D(139);function e(re,X){if(!(re instanceof X))throw new TypeError("Cannot call a class as a function")}function ge(re,X){for(var y=0;y<X.length;y++){var k=X[y];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(re,k.key,k)}}function le(re,X,y){return X&&ge(re.prototype,X),y&&ge(re,y),re}function V(re,X){if(typeof X!="function"&&X!==null)throw new TypeError("Super expression must either be null or a function");re.prototype=Object.create(X&&X.prototype,{constructor:{value:re,writable:!0,configurable:!0}}),X&&ye(re,X)}function ye(re,X){return ye=Object.setPrototypeOf||function(k,n){return k.__proto__=n,k},ye(re,X)}function be(re){var X=d();return function(){var k=ce(re),n;if(X){var S=ce(this).constructor;n=Reflect.construct(k,arguments,S)}else n=k.apply(this,arguments);return xe(this,n)}}function xe(re,X){if(X&&(T(X)==="object"||typeof X=="function"))return X;if(X!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(re)}function ae(re){if(re===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(re){return!1}}function ce(re){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},ce(re)}var q=function(re){V(y,re);var X=be(y);function y(k,n){var S;return e(this,y),n&&(n*=.8),S=X.call(this,n),S.str=k,S.dict=k.dict,S.input=new Uint8Array(5),S}return le(y,[{key:"readBlock",value:function(){for(var n=126,S=122,O=-1,w=this.str,p=w.getByte();(0,t.isWhiteSpace)(p);)p=w.getByte();if(p===O||p===n){this.eof=!0;return}var x=this.bufferLength,f,h;if(p===S){for(f=this.ensureBuffer(x+4),h=0;h<4;++h)f[x+h]=0;this.bufferLength+=4}else{var F=this.input;for(F[0]=p,h=1;h<5;++h){for(p=w.getByte();(0,t.isWhiteSpace)(p);)p=w.getByte();if(F[h]=p,p===O||p===n)break}if(f=this.ensureBuffer(x+h-1),this.bufferLength+=h-1,h<5){for(;h<5;++h)F[h]=33+84;this.eof=!0}var s=0;for(h=0;h<5;++h)s=s*85+(F[h]-33);for(h=3;h>=0;--h)f[x+h]=s&255,s>>=8}}}]),y}(b.DecodeStream);P.Ascii85Stream=q},(Me,P,D)=>{"use strict";function T(x){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(h){return typeof h}:T=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},T(x)}Object.defineProperty(P,"__esModule",{value:!0}),P.StreamsSequenceStream=P.DecodeStream=void 0;var b=D(136),t=D(140);function e(x){return V(x)||le(x)||be(x)||ge()}function ge(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function le(x){if(typeof Symbol!="undefined"&&x[Symbol.iterator]!=null||x["@@iterator"]!=null)return Array.from(x)}function V(x){if(Array.isArray(x))return xe(x)}function ye(x,f){var h=typeof Symbol!="undefined"&&x[Symbol.iterator]||x["@@iterator"];if(!h){if(Array.isArray(x)||(h=be(x))||f&&x&&typeof x.length=="number"){h&&(x=h);var F=0,s=function(){};return{s,n:function(){return F>=x.length?{done:!0}:{done:!1,value:x[F++]}},e:function(m){throw m},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,l=!1,a;return{s:function(){h=h.call(x)},n:function(){var m=h.next();return g=m.done,m},e:function(m){l=!0,a=m},f:function(){try{!g&&h.return!=null&&h.return()}finally{if(l)throw a}}}}function be(x,f){if(!!x){if(typeof x=="string")return xe(x,f);var h=Object.prototype.toString.call(x).slice(8,-1);if(h==="Object"&&x.constructor&&(h=x.constructor.name),h==="Map"||h==="Set")return Array.from(x);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return xe(x,f)}}function xe(x,f){(f==null||f>x.length)&&(f=x.length);for(var h=0,F=new Array(f);h<f;h++)F[h]=x[h];return F}function ae(x,f){if(!(x instanceof f))throw new TypeError("Cannot call a class as a function")}function d(x,f){for(var h=0;h<f.length;h++){var F=f[h];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(x,F.key,F)}}function ce(x,f,h){return f&&d(x.prototype,f),h&&d(x,h),x}function q(x,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(f&&f.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),f&&re(x,f)}function re(x,f){return re=Object.setPrototypeOf||function(F,s){return F.__proto__=s,F},re(x,f)}function X(x){var f=n();return function(){var F=S(x),s;if(f){var g=S(this).constructor;s=Reflect.construct(F,arguments,g)}else s=F.apply(this,arguments);return y(this,s)}}function y(x,f){if(f&&(T(f)==="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(x)}function k(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(x){return!1}}function S(x){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},S(x)}var O=new Uint8Array(0),w=function(x){q(h,x);var f=X(h);function h(F){var s;if(ae(this,h),s=f.call(this),s._rawMinBufferLength=F||0,s.pos=0,s.bufferLength=0,s.eof=!1,s.buffer=O,s.minBufferLength=512,F)for(;s.minBufferLength<F;)s.minBufferLength*=2;return s}return ce(h,[{key:"isEmpty",get:function(){for(;!this.eof&&this.bufferLength===0;)this.readBlock();return this.bufferLength===0}},{key:"ensureBuffer",value:function(s){var g=this.buffer;if(s<=g.byteLength)return g;for(var l=this.minBufferLength;l<s;)l*=2;var a=new Uint8Array(l);return a.set(g),this.buffer=a}},{key:"getByte",value:function(){for(var s=this.pos;this.bufferLength<=s;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}},{key:"getBytes",value:function(s){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=this.pos,a;if(s){for(this.ensureBuffer(l+s),a=l+s;!this.eof&&this.bufferLength<a;)this.readBlock();var i=this.bufferLength;a>i&&(a=i)}else{for(;!this.eof;)this.readBlock();a=this.bufferLength}this.pos=a;var m=this.buffer.subarray(l,a);return g&&!(m instanceof Uint8ClampedArray)?new Uint8ClampedArray(m):m}},{key:"reset",value:function(){this.pos=0}},{key:"makeSubStream",value:function(s,g){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(g===void 0)for(;!this.eof;)this.readBlock();else for(var a=s+g;this.bufferLength<=a&&!this.eof;)this.readBlock();return new t.Stream(this.buffer,s,g,l)}},{key:"getBaseStreams",value:function(){return this.str?this.str.getBaseStreams():null}}]),h}(b.BaseStream);P.DecodeStream=w;var p=function(x){q(h,x);var f=X(h);function h(F){var s,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ae(this,h);var l=0,a=ye(F),i;try{for(a.s();!(i=a.n()).done;){var m=i.value;l+=m instanceof w?m._rawMinBufferLength:m.length}}catch(o){a.e(o)}finally{a.f()}return s=f.call(this,l),s.streams=F,s._onError=g,s}return ce(h,[{key:"readBlock",value:function(){var s=this.streams;if(s.length===0){this.eof=!0;return}var g=s.shift(),l;try{l=g.getBytes()}catch(o){if(this._onError){this._onError(o,g.dict&&g.dict.objId);return}throw o}var a=this.bufferLength,i=a+l.length,m=this.ensureBuffer(i);m.set(l,a),this.bufferLength=i}},{key:"getBaseStreams",value:function(){var s=[],g=ye(this.streams),l;try{for(g.s();!(l=g.n()).done;){var a=l.value,i=a.getBaseStreams();i&&s.push.apply(s,e(i))}}catch(m){g.e(m)}finally{g.f()}return s.length>0?s:null}}]),h}(w);P.StreamsSequenceStream=p},(Me,P,D)=>{"use strict";function T(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(n){return typeof n}:T=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T(y)}Object.defineProperty(P,"__esModule",{value:!0}),P.AsciiHexStream=void 0;var b=D(159);function t(y,k){var n=typeof Symbol!="undefined"&&y[Symbol.iterator]||y["@@iterator"];if(!n){if(Array.isArray(y)||(n=e(y))||k&&y&&typeof y.length=="number"){n&&(y=n);var S=0,O=function(){};return{s:O,n:function(){return S>=y.length?{done:!0}:{done:!1,value:y[S++]}},e:function(h){throw h},f:O}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,p=!1,x;return{s:function(){n=n.call(y)},n:function(){var h=n.next();return w=h.done,h},e:function(h){p=!0,x=h},f:function(){try{!w&&n.return!=null&&n.return()}finally{if(p)throw x}}}}function e(y,k){if(!!y){if(typeof y=="string")return ge(y,k);var n=Object.prototype.toString.call(y).slice(8,-1);if(n==="Object"&&y.constructor&&(n=y.constructor.name),n==="Map"||n==="Set")return Array.from(y);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ge(y,k)}}function ge(y,k){(k==null||k>y.length)&&(k=y.length);for(var n=0,S=new Array(k);n<k;n++)S[n]=y[n];return S}function le(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function V(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function ye(y,k,n){return k&&V(y.prototype,k),n&&V(y,n),y}function be(y,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(k&&k.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),k&&xe(y,k)}function xe(y,k){return xe=Object.setPrototypeOf||function(S,O){return S.__proto__=O,S},xe(y,k)}function ae(y){var k=q();return function(){var S=re(y),O;if(k){var w=re(this).constructor;O=Reflect.construct(S,arguments,w)}else O=S.apply(this,arguments);return d(this,O)}}function d(y,k){if(k&&(T(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ce(y)}function ce(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}function re(y){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},re(y)}var X=function(y){be(n,y);var k=ae(n);function n(S,O){var w;return le(this,n),O&&(O*=.5),w=k.call(this,O),w.str=S,w.dict=S.dict,w.firstDigit=-1,w}return ye(n,[{key:"readBlock",value:function(){var O=8e3,w=this.str.getBytes(O);if(!w.length){this.eof=!0;return}var p=w.length+1>>1,x=this.ensureBuffer(this.bufferLength+p),f=this.bufferLength,h=this.firstDigit,F=t(w),s;try{for(F.s();!(s=F.n()).done;){var g=s.value,l=void 0;if(g>=48&&g<=57)l=g&15;else if(g>=65&&g<=70||g>=97&&g<=102)l=(g&15)+9;else if(g===62){this.eof=!0;break}else continue;h<0?h=l:(x[f++]=h<<4|l,h=-1)}}catch(a){F.e(a)}finally{F.f()}h>=0&&this.eof&&(x[f++]=h<<4,h=-1),this.firstDigit=h,this.bufferLength=f}}]),n}(b.DecodeStream);P.AsciiHexStream=X},(Me,P,D)=>{"use strict";function T(X){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(k){return typeof k}:T=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},T(X)}Object.defineProperty(P,"__esModule",{value:!0}),P.CCITTFaxStream=void 0;var b=D(135),t=D(162),e=D(159);function ge(X,y){if(!(X instanceof y))throw new TypeError("Cannot call a class as a function")}function le(X,y){for(var k=0;k<y.length;k++){var n=y[k];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(X,n.key,n)}}function V(X,y,k){return y&&le(X.prototype,y),k&&le(X,k),X}function ye(X,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");X.prototype=Object.create(y&&y.prototype,{constructor:{value:X,writable:!0,configurable:!0}}),y&&be(X,y)}function be(X,y){return be=Object.setPrototypeOf||function(n,S){return n.__proto__=S,n},be(X,y)}function xe(X){var y=ce();return function(){var n=q(X),S;if(y){var O=q(this).constructor;S=Reflect.construct(n,arguments,O)}else S=n.apply(this,arguments);return ae(this,S)}}function ae(X,y){if(y&&(T(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(X)}function d(X){if(X===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return X}function ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(X){return!1}}function q(X){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},q(X)}var re=function(X){ye(k,X);var y=xe(k);function k(n,S,O){var w;ge(this,k),w=y.call(this,S),w.str=n,w.dict=n.dict,(0,b.isDict)(O)||(O=b.Dict.empty);var p={next:function(){return n.getByte()}};return w.ccittFaxDecoder=new t.CCITTFaxDecoder(p,{K:O.get("K"),EndOfLine:O.get("EndOfLine"),EncodedByteAlign:O.get("EncodedByteAlign"),Columns:O.get("Columns"),Rows:O.get("Rows"),EndOfBlock:O.get("EndOfBlock"),BlackIs1:O.get("BlackIs1")}),w}return V(k,[{key:"readBlock",value:function(){for(;!this.eof;){var S=this.ccittFaxDecoder.readNextChar();if(S===-1){this.eof=!0;return}this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=S}}}]),k}(e.DecodeStream);P.CCITTFaxStream=re},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.CCITTFaxDecoder=void 0;var T=D(4);function b(p,x){if(!(p instanceof x))throw new TypeError("Cannot call a class as a function")}function t(p,x){for(var f=0;f<x.length;f++){var h=x[f];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(p,h.key,h)}}function e(p,x,f){return x&&t(p.prototype,x),f&&t(p,f),p}var ge=-2,le=-1,V=0,ye=1,be=2,xe=3,ae=4,d=5,ce=6,q=7,re=8,X=[[-1,-1],[-1,-1],[7,re],[7,q],[6,ce],[6,ce],[6,d],[6,d],[4,V],[4,V],[4,V],[4,V],[4,V],[4,V],[4,V],[4,V],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ye],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,ae],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[3,xe],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be],[1,be]],y=[[-1,-1],[12,ge],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],k=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],n=[[-1,-1],[-1,-1],[12,ge],[12,ge],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],S=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],O=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]],w=function(){function p(x){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(b(this,p),!x||typeof x.next!="function")throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=x,this.eof=!1,this.encoding=f.K||0,this.eoline=f.EndOfLine||!1,this.byteAlign=f.EncodedByteAlign||!1,this.columns=f.Columns||1728,this.rows=f.Rows||0;var h=f.EndOfBlock;h==null&&(h=!0),this.eoblock=h,this.black=f.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;for(var F;(F=this._lookBits(12))===0;)this._eatBits(1);F===1&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}return e(p,[{key:"readNextChar",value:function(){if(this.eof)return-1;var f=this.refLine,h=this.codingLine,F=this.columns,s,g,l,a;if(this.outputBits===0){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;this.err=!1;var i,m,o;if(this.nextLine2D){for(a=0;h[a]<F;++a)f[a]=h[a];for(f[a++]=F,f[a]=F,h[0]=0,this.codingPos=0,s=0,g=0;h[this.codingPos]<F;)switch(i=this._getTwoDimCode(),i){case V:this._addPixels(f[s+1],g),f[s+1]<F&&(s+=2);break;case ye:if(i=m=0,g){do i+=o=this._getBlackCode();while(o>=64);do m+=o=this._getWhiteCode();while(o>=64)}else{do i+=o=this._getWhiteCode();while(o>=64);do m+=o=this._getBlackCode();while(o>=64)}for(this._addPixels(h[this.codingPos]+i,g),h[this.codingPos]<F&&this._addPixels(h[this.codingPos]+m,g^1);f[s]<=h[this.codingPos]&&f[s]<F;)s+=2;break;case q:if(this._addPixels(f[s]+3,g),g^=1,h[this.codingPos]<F)for(++s;f[s]<=h[this.codingPos]&&f[s]<F;)s+=2;break;case d:if(this._addPixels(f[s]+2,g),g^=1,h[this.codingPos]<F)for(++s;f[s]<=h[this.codingPos]&&f[s]<F;)s+=2;break;case xe:if(this._addPixels(f[s]+1,g),g^=1,h[this.codingPos]<F)for(++s;f[s]<=h[this.codingPos]&&f[s]<F;)s+=2;break;case be:if(this._addPixels(f[s],g),g^=1,h[this.codingPos]<F)for(++s;f[s]<=h[this.codingPos]&&f[s]<F;)s+=2;break;case re:if(this._addPixelsNeg(f[s]-3,g),g^=1,h[this.codingPos]<F)for(s>0?--s:++s;f[s]<=h[this.codingPos]&&f[s]<F;)s+=2;break;case ce:if(this._addPixelsNeg(f[s]-2,g),g^=1,h[this.codingPos]<F)for(s>0?--s:++s;f[s]<=h[this.codingPos]&&f[s]<F;)s+=2;break;case ae:if(this._addPixelsNeg(f[s]-1,g),g^=1,h[this.codingPos]<F)for(s>0?--s:++s;f[s]<=h[this.codingPos]&&f[s]<F;)s+=2;break;case le:this._addPixels(F,0),this.eof=!0;break;default:(0,T.info)("bad 2d code"),this._addPixels(F,0),this.err=!0}}else for(h[0]=0,this.codingPos=0,g=0;h[this.codingPos]<F;){if(i=0,g)do i+=o=this._getBlackCode();while(o>=64);else do i+=o=this._getWhiteCode();while(o>=64);this._addPixels(h[this.codingPos]+i,g),g^=1}var c=!1;if(this.byteAlign&&(this.inputBits&=~7),!this.eoblock&&this.row===this.rows-1)this.rowsDone=!0;else{if(i=this._lookBits(12),this.eoline)for(;i!==le&&i!==1;)this._eatBits(1),i=this._lookBits(12);else for(;i===0;)this._eatBits(1),i=this._lookBits(12);i===1?(this._eatBits(12),c=!0):i===le&&(this.eof=!0)}if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&c&&this.byteAlign){if(i=this._lookBits(12),i===1){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(a=0;a<4;++a)i=this._lookBits(12),i!==1&&(0,T.info)("bad rtc code: "+i),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(i=this._lookBits(13),i===le)return this.eof=!0,-1;if(i>>1==1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(i&1))}h[0]>0?this.outputBits=h[this.codingPos=0]:this.outputBits=h[this.codingPos=1],this.row++}var v;if(this.outputBits>=8)v=this.codingPos&1?0:255,this.outputBits-=8,this.outputBits===0&&h[this.codingPos]<F&&(this.codingPos++,this.outputBits=h[this.codingPos]-h[this.codingPos-1]);else{l=8,v=0;do{if(typeof this.outputBits!="number")throw new T.FormatError('Invalid /CCITTFaxDecode data, "outputBits" must be a number.');this.outputBits>l?(v<<=l,this.codingPos&1||(v|=255>>8-l),this.outputBits-=l,l=0):(v<<=this.outputBits,this.codingPos&1||(v|=255>>8-this.outputBits),l-=this.outputBits,this.outputBits=0,h[this.codingPos]<F?(this.codingPos++,this.outputBits=h[this.codingPos]-h[this.codingPos-1]):l>0&&(v<<=l,l=0))}while(l)}return this.black&&(v^=255),v}},{key:"_addPixels",value:function(f,h){var F=this.codingLine,s=this.codingPos;f>F[s]&&(f>this.columns&&((0,T.info)("row is wrong length"),this.err=!0,f=this.columns),s&1^h&&++s,F[s]=f),this.codingPos=s}},{key:"_addPixelsNeg",value:function(f,h){var F=this.codingLine,s=this.codingPos;if(f>F[s])f>this.columns&&((0,T.info)("row is wrong length"),this.err=!0,f=this.columns),s&1^h&&++s,F[s]=f;else if(f<F[s]){for(f<0&&((0,T.info)("invalid code"),this.err=!0,f=0);s>0&&f<F[s-1];)--s;F[s]=f}this.codingPos=s}},{key:"_findTableCode",value:function(f,h,F,s){for(var g=s||0,l=f;l<=h;++l){var a=this._lookBits(l);if(a===le)return[!0,1,!1];if(l<h&&(a<<=h-l),!g||a>=g){var i=F[a-g];if(i[0]===l)return this._eatBits(l),[!0,i[1],!0]}}return[!1,0,!1]}},{key:"_getTwoDimCode",value:function(){var f=0,h;if(this.eoblock){if(f=this._lookBits(7),h=X[f],h&&h[0]>0)return this._eatBits(h[0]),h[1]}else{var F=this._findTableCode(1,7,X);if(F[0]&&F[2])return F[1]}return(0,T.info)("Bad two dim code"),le}},{key:"_getWhiteCode",value:function(){var f=0,h;if(this.eoblock){if(f=this._lookBits(12),f===le)return 1;if(f>>5==0?h=y[f]:h=k[f>>3],h[0]>0)return this._eatBits(h[0]),h[1]}else{var F=this._findTableCode(1,9,k);if(F[0]||(F=this._findTableCode(11,12,y),F[0]))return F[1]}return(0,T.info)("bad white code"),this._eatBits(1),1}},{key:"_getBlackCode",value:function(){var f,h;if(this.eoblock){if(f=this._lookBits(13),f===le)return 1;if(f>>7==0?h=n[f]:f>>9==0&&f>>7!=0?h=S[(f>>1)-64]:h=O[f>>7],h[0]>0)return this._eatBits(h[0]),h[1]}else{var F=this._findTableCode(2,6,O);if(F[0]||(F=this._findTableCode(7,12,S,64),F[0])||(F=this._findTableCode(10,13,n),F[0]))return F[1]}return(0,T.info)("bad black code"),this._eatBits(1),1}},{key:"_lookBits",value:function(f){for(var h;this.inputBits<f;){if((h=this.source.next())===-1)return this.inputBits===0?le:this.inputBuf<<f-this.inputBits&65535>>16-f;this.inputBuf=this.inputBuf<<8|h,this.inputBits+=8}return this.inputBuf>>this.inputBits-f&65535>>16-f}},{key:"_eatBits",value:function(f){(this.inputBits-=f)<0&&(this.inputBits=0)}}]),p}();P.CCITTFaxDecoder=w},(Me,P,D)=>{"use strict";function T(S){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(w){return typeof w}:T=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},T(S)}Object.defineProperty(P,"__esModule",{value:!0}),P.FlateStream=void 0;var b=D(159),t=D(4);function e(S,O){if(!(S instanceof O))throw new TypeError("Cannot call a class as a function")}function ge(S,O){for(var w=0;w<O.length;w++){var p=O[w];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(S,p.key,p)}}function le(S,O,w){return O&&ge(S.prototype,O),w&&ge(S,w),S}function V(S,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");S.prototype=Object.create(O&&O.prototype,{constructor:{value:S,writable:!0,configurable:!0}}),O&&ye(S,O)}function ye(S,O){return ye=Object.setPrototypeOf||function(p,x){return p.__proto__=x,p},ye(S,O)}function be(S){var O=d();return function(){var p=ce(S),x;if(O){var f=ce(this).constructor;x=Reflect.construct(p,arguments,f)}else x=p.apply(this,arguments);return xe(this,x)}}function xe(S,O){if(O&&(T(O)==="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(S)}function ae(S){if(S===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(S){return!1}}function ce(S){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},ce(S)}var q=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),re=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),X=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),y=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],k=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],n=function(S){V(w,S);var O=be(w);function w(p,x){var f;e(this,w),f=O.call(this,x),f.str=p,f.dict=p.dict;var h=p.getByte(),F=p.getByte();if(h===-1||F===-1)throw new t.FormatError("Invalid header in flate stream: ".concat(h,", ").concat(F));if((h&15)!=8)throw new t.FormatError("Unknown compression method in flate stream: ".concat(h,", ").concat(F));if(((h<<8)+F)%31!=0)throw new t.FormatError("Bad FCHECK in flate stream: ".concat(h,", ").concat(F));if(F&32)throw new t.FormatError("FDICT bit set in flate stream: ".concat(h,", ").concat(F));return f.codeSize=0,f.codeBuf=0,f}return le(w,[{key:"getBits",value:function(x){for(var f=this.str,h=this.codeSize,F=this.codeBuf,s;h<x;){if((s=f.getByte())===-1)throw new t.FormatError("Bad encoding in flate stream");F|=s<<h,h+=8}return s=F&(1<<x)-1,this.codeBuf=F>>x,this.codeSize=h-=x,s}},{key:"getCode",value:function(x){for(var f=this.str,h=x[0],F=x[1],s=this.codeSize,g=this.codeBuf,l;s<F&&(l=f.getByte())!==-1;)g|=l<<s,s+=8;var a=h[g&(1<<F)-1],i=a>>16,m=a&65535;if(i<1||s<i)throw new t.FormatError("Bad encoding in flate stream");return this.codeBuf=g>>i,this.codeSize=s-i,m}},{key:"generateHuffmanTable",value:function(x){var f=x.length,h=0,F;for(F=0;F<f;++F)x[F]>h&&(h=x[F]);for(var s=1<<h,g=new Int32Array(s),l=1,a=0,i=2;l<=h;++l,a<<=1,i<<=1)for(var m=0;m<f;++m)if(x[m]===l){var o=0,c=a;for(F=0;F<l;++F)o=o<<1|c&1,c>>=1;for(F=o;F<s;F+=i)g[F]=l<<16|m;++a}return[g,h]}},{key:"readBlock",value:function(){var x,f,h=this.str,F=this.getBits(3);if(F&1&&(this.eof=!0),F>>=1,F===0){var s;if((s=h.getByte())===-1)throw new t.FormatError("Bad block header in flate stream");var g=s;if((s=h.getByte())===-1)throw new t.FormatError("Bad block header in flate stream");if(g|=s<<8,(s=h.getByte())===-1)throw new t.FormatError("Bad block header in flate stream");var l=s;if((s=h.getByte())===-1)throw new t.FormatError("Bad block header in flate stream");if(l|=s<<8,l!==(~g&65535)&&(g!==0||l!==0))throw new t.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var a=this.bufferLength,i=a+g;if(x=this.ensureBuffer(i),this.bufferLength=i,g===0)h.peekByte()===-1&&(this.eof=!0);else{var m=h.getBytes(g);x.set(m,a),m.length<g&&(this.eof=!0)}return}var o,c;if(F===1)o=y,c=k;else if(F===2){var v=this.getBits(5)+257,A=this.getBits(5)+1,u=this.getBits(4)+4,C=new Uint8Array(q.length),I;for(I=0;I<u;++I)C[q[I]]=this.getBits(3);var E=this.generateHuffmanTable(C);f=0,I=0;for(var N=v+A,_=new Uint8Array(N),Y,H,Z;I<N;){var ne=this.getCode(E);if(ne===16)Y=2,H=3,Z=f;else if(ne===17)Y=3,H=3,Z=f=0;else if(ne===18)Y=7,H=11,Z=f=0;else{_[I++]=f=ne;continue}for(var he=this.getBits(Y)+H;he-- >0;)_[I++]=Z}o=this.generateHuffmanTable(_.subarray(0,v)),c=this.generateHuffmanTable(_.subarray(v,N))}else throw new t.FormatError("Unknown block type in flate stream");x=this.buffer;for(var Se=x?x.length:0,ue=this.bufferLength;;){var te=this.getCode(o);if(te<256){ue+1>=Se&&(x=this.ensureBuffer(ue+1),Se=x.length),x[ue++]=te;continue}if(te===256){this.bufferLength=ue;return}te-=257,te=re[te];var $=te>>16;$>0&&($=this.getBits($)),f=(te&65535)+$,te=this.getCode(c),te=X[te],$=te>>16,$>0&&($=this.getBits($));var j=(te&65535)+$;ue+f>=Se&&(x=this.ensureBuffer(ue+f),Se=x.length);for(var G=0;G<f;++G,++ue)x[ue]=x[ue-j]}}}]),w}(b.DecodeStream);P.FlateStream=n},(Me,P,D)=>{"use strict";function T(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(n){return typeof n}:T=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T(y)}Object.defineProperty(P,"__esModule",{value:!0}),P.Jbig2Stream=void 0;var b=D(135),t=D(159),e=D(165),ge=D(4);function le(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function V(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function ye(y,k,n){return k&&V(y.prototype,k),n&&V(y,n),y}function be(y,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(k&&k.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),k&&xe(y,k)}function xe(y,k){return xe=Object.setPrototypeOf||function(S,O){return S.__proto__=O,S},xe(y,k)}function ae(y){var k=q();return function(){var S=re(y),O;if(k){var w=re(this).constructor;O=Reflect.construct(S,arguments,w)}else O=S.apply(this,arguments);return d(this,O)}}function d(y,k){if(k&&(T(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ce(y)}function ce(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}function re(y){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},re(y)}var X=function(y){be(n,y);var k=ae(n);function n(S,O,w){var p;return le(this,n),p=k.call(this,O),p.stream=S,p.dict=S.dict,p.maybeLength=O,p.params=w,p}return ye(n,[{key:"bytes",get:function(){return(0,ge.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(O){}},{key:"readBlock",value:function(){if(!this.eof){var O=new e.Jbig2Image,w=[];if((0,b.isDict)(this.params)){var p=this.params.get("JBIG2Globals");if((0,b.isStream)(p)){var x=p.getBytes();w.push({data:x,start:0,end:x.length})}}w.push({data:this.bytes,start:0,end:this.bytes.length});for(var f=O.parseChunks(w),h=f.length,F=0;F<h;F++)f[F]^=255;this.buffer=f,this.bufferLength=h,this.eof=!0}}}]),n}(t.DecodeStream);P.Jbig2Stream=X},(Me,P,D)=>{"use strict";function T(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(z){return typeof z}:T=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},T(M)}Object.defineProperty(P,"__esModule",{value:!0}),P.Jbig2Image=void 0;var b=D(4),t=D(139),e=D(166),ge=D(162);function le(M,W){for(var z=0;z<W.length;z++){var J=W[z];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(M,J.key,J)}}function V(M,W,z){return W&&le(M.prototype,W),z&&le(M,z),M}function ye(M,W){if(!(M instanceof W))throw new TypeError("Cannot call a class as a function")}function be(M,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(W&&W.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),W&&xe(M,W)}function xe(M,W){return xe=Object.setPrototypeOf||function(J,Q){return J.__proto__=Q,J},xe(M,W)}function ae(M){var W=q();return function(){var J=re(M),Q;if(W){var K=re(this).constructor;Q=Reflect.construct(J,arguments,K)}else Q=J.apply(this,arguments);return d(this,Q)}}function d(M,W){if(W&&(T(W)==="object"||typeof W=="function"))return W;if(W!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ce(M)}function ce(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(M){return!1}}function re(M){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(z){return z.__proto__||Object.getPrototypeOf(z)},re(M)}var X=function(M){be(z,M);var W=ae(z);function z(J){return ye(this,z),W.call(this,"JBIG2 error: ".concat(J),"Jbig2Error")}return z}(b.BaseException),y=function(){function M(){ye(this,M)}return V(M,[{key:"getContexts",value:function(z){return z in this?this[z]:this[z]=new Int8Array(1<<16)}}]),M}(),k=function(){function M(W,z,J){ye(this,M),this.data=W,this.start=z,this.end=J}return V(M,[{key:"decoder",get:function(){var z=new e.ArithmeticDecoder(this.data,this.start,this.end);return(0,b.shadow)(this,"decoder",z)}},{key:"contextCache",get:function(){var z=new y;return(0,b.shadow)(this,"contextCache",z)}}]),M}();function n(M,W,z){var J=M.getContexts(W),Q=1;function K(pe){for(var fe=0,ke=0;ke<pe;ke++){var Re=z.readBit(J,Q);Q=Q<256?Q<<1|Re:(Q<<1|Re)&511|256,fe=fe<<1|Re}return fe>>>0}var de=K(1),oe=K(1)?K(1)?K(1)?K(1)?K(1)?K(32)+4436:K(12)+340:K(8)+84:K(6)+20:K(4)+4:K(2);return de===0?oe:oe>0?-oe:null}function S(M,W,z){for(var J=M.getContexts("IAID"),Q=1,K=0;K<z;K++){var de=W.readBit(J,Q);Q=Q<<1|de}return z<31?Q&(1<<z)-1:Q&2147483647}var O=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],w=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],p=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],x=[39717,1941,229,405],f=[32,8];function h(M,W,z){var J=z.decoder,Q=z.contextCache.getContexts("GB"),K=[],de,oe,pe,fe,ke,Re,ve,we=31735;for(oe=0;oe<W;oe++)for(ke=K[oe]=new Uint8Array(M),Re=oe<1?ke:K[oe-1],ve=oe<2?ke:K[oe-2],de=ve[0]<<13|ve[1]<<12|ve[2]<<11|Re[0]<<7|Re[1]<<6|Re[2]<<5|Re[3]<<4,pe=0;pe<M;pe++)ke[pe]=fe=J.readBit(Q,de),de=(de&we)<<1|(pe+3<M?ve[pe+3]<<11:0)|(pe+4<M?Re[pe+4]<<4:0)|fe;return K}function F(M,W,z,J,Q,K,de,oe){if(M){var pe=new he(oe.data,oe.start,oe.end);return j(pe,W,z,!1)}if(J===0&&!K&&!Q&&de.length===4&&de[0].x===3&&de[0].y===-1&&de[1].x===-3&&de[1].y===-1&&de[2].x===2&&de[2].y===-2&&de[3].x===-2&&de[3].y===-2)return h(W,z,oe);var fe=!!K,ke=w[J].concat(de);ke.sort(function(He,et){return He.y-et.y||He.x-et.x});var Re=ke.length,ve=new Int8Array(Re),we=new Int8Array(Re),se=[],me=0,ee=0,Fe=0,Ee=0,Ce,De;for(De=0;De<Re;De++)ve[De]=ke[De].x,we[De]=ke[De].y,ee=Math.min(ee,ke[De].x),Fe=Math.max(Fe,ke[De].x),Ee=Math.min(Ee,ke[De].y),De<Re-1&&ke[De].y===ke[De+1].y&&ke[De].x===ke[De+1].x-1?me|=1<<Re-1-De:se.push(De);var _e=se.length,Ne=new Int8Array(_e),$e=new Int8Array(_e),je=new Uint16Array(_e);for(Ce=0;Ce<_e;Ce++)De=se[Ce],Ne[Ce]=ke[De].x,$e[Ce]=ke[De].y,je[Ce]=1<<Re-1-De;for(var Ve=-ee,Ke=-Ee,Qe=W-Fe,Ze=x[J],ze=new Uint8Array(W),ct=[],Je=oe.decoder,gt=oe.contextCache.getContexts("GB"),xt=0,tt,yt,It,ft=0,Ut,kt,Nt=0;Nt<z;Nt++){if(Q){var ar=Je.readBit(gt,Ze);if(xt^=ar,xt){ct.push(ze);continue}}for(ze=new Uint8Array(ze),ct.push(ze),tt=0;tt<W;tt++){if(fe&&K[Nt][tt]){ze[tt]=0;continue}if(tt>=Ve&&tt<Qe&&Nt>=Ke)for(ft=ft<<1&me,De=0;De<_e;De++)yt=Nt+$e[De],It=tt+Ne[De],Ut=ct[yt][It],Ut&&(Ut=je[De],ft|=Ut);else for(ft=0,kt=Re-1,De=0;De<Re;De++,kt--)It=tt+ve[De],It>=0&&It<W&&(yt=Nt+we[De],yt>=0&&(Ut=ct[yt][It],Ut&&(ft|=Ut<<kt)));var Qt=Je.readBit(gt,ft);ze[tt]=Qt}}return ct}function s(M,W,z,J,Q,K,de,oe,pe){var fe=p[z].coding;z===0&&(fe=fe.concat([oe[0]]));var ke=fe.length,Re=new Int32Array(ke),ve=new Int32Array(ke),we;for(we=0;we<ke;we++)Re[we]=fe[we].x,ve[we]=fe[we].y;var se=p[z].reference;z===0&&(se=se.concat([oe[1]]));var me=se.length,ee=new Int32Array(me),Fe=new Int32Array(me);for(we=0;we<me;we++)ee[we]=se[we].x,Fe[we]=se[we].y;for(var Ee=J[0].length,Ce=J.length,De=f[z],_e=[],Ne=pe.decoder,$e=pe.contextCache.getContexts("GR"),je=0,Ve=0;Ve<W;Ve++){if(de){var Ke=Ne.readBit($e,De);if(je^=Ke,je)throw new X("prediction is not supported")}var Qe=new Uint8Array(M);_e.push(Qe);for(var Ze=0;Ze<M;Ze++){var ze=void 0,ct=void 0,Je=0;for(we=0;we<ke;we++)ze=Ve+ve[we],ct=Ze+Re[we],ze<0||ct<0||ct>=M?Je<<=1:Je=Je<<1|_e[ze][ct];for(we=0;we<me;we++)ze=Ve+Fe[we]-K,ct=Ze+ee[we]-Q,ze<0||ze>=Ce||ct<0||ct>=Ee?Je<<=1:Je=Je<<1|J[ze][ct];var gt=Ne.readBit($e,Je);Qe[Ze]=gt}}return _e}function g(M,W,z,J,Q,K,de,oe,pe,fe,ke,Re){if(M&&W)throw new X("symbol refinement with Huffman is not supported");var ve=[],we=0,se=(0,t.log2)(z.length+J),me=ke.decoder,ee=ke.contextCache,Fe,Ee;for(M&&(Fe=ne(1),Ee=[],se=Math.max(se,1));ve.length<J;){var Ce=M?K.tableDeltaHeight.decode(Re):n(ee,"IADH",me);we+=Ce;for(var De=0,_e=0,Ne=M?Ee.length:0;;){var $e=M?K.tableDeltaWidth.decode(Re):n(ee,"IADW",me);if($e===null)break;De+=$e,_e+=De;var je=void 0;if(W){var Ve=n(ee,"IAAI",me);if(Ve>1)je=l(M,W,De,we,0,Ve,1,z.concat(ve),se,0,0,1,0,K,pe,fe,ke,0,Re);else{var Ke=S(ee,me,se),Qe=n(ee,"IARDX",me),Ze=n(ee,"IARDY",me),ze=Ke<z.length?z[Ke]:ve[Ke-z.length];je=s(De,we,pe,ze,Qe,Ze,!1,fe,ke)}ve.push(je)}else M?Ee.push(De):(je=F(!1,De,we,de,!1,null,oe,ke),ve.push(je))}if(M&&!W){var ct=K.tableBitmapSize.decode(Re);Re.byteAlign();var Je=void 0;if(ct===0)Je=$(Re,_e,we);else{var gt=Re.end,xt=Re.position+ct;Re.end=xt,Je=j(Re,_e,we,!1),Re.end=gt,Re.position=xt}var tt=Ee.length;if(Ne===tt-1)ve.push(Je);else{var yt=void 0,It=void 0,ft=0,Ut=void 0,kt=void 0,Nt=void 0;for(yt=Ne;yt<tt;yt++){for(kt=Ee[yt],Ut=ft+kt,Nt=[],It=0;It<we;It++)Nt.push(Je[It].subarray(ft,Ut));ve.push(Nt),ft=Ut}}}}for(var ar=[],Qt=[],He=!1,et,Ue,qe=z.length+J;Qt.length<qe;){for(var ot=M?Fe.decode(Re):n(ee,"IAEX",me);ot--;)Qt.push(He);He=!He}for(et=0,Ue=z.length;et<Ue;et++)Qt[et]&&ar.push(z[et]);for(var nt=0;nt<J;et++,nt++)Qt[et]&&ar.push(ve[nt]);return ar}function l(M,W,z,J,Q,K,de,oe,pe,fe,ke,Re,ve,we,se,me,ee,Fe,Ee){if(M&&W)throw new X("refinement with Huffman is not supported");var Ce=[],De,_e;for(De=0;De<J;De++){if(_e=new Uint8Array(z),Q)for(var Ne=0;Ne<z;Ne++)_e[Ne]=Q;Ce.push(_e)}var $e=ee.decoder,je=ee.contextCache,Ve=M?-we.tableDeltaT.decode(Ee):-n(je,"IADT",$e),Ke=0;for(De=0;De<K;){var Qe=M?we.tableDeltaT.decode(Ee):n(je,"IADT",$e);Ve+=Qe;var Ze=M?we.tableFirstS.decode(Ee):n(je,"IAFS",$e);Ke+=Ze;var ze=Ke;do{var ct=0;de>1&&(ct=M?Ee.readBits(Fe):n(je,"IAIT",$e));var Je=de*Ve+ct,gt=M?we.symbolIDTable.decode(Ee):S(je,$e,pe),xt=W&&(M?Ee.readBit():n(je,"IARI",$e)),tt=oe[gt],yt=tt[0].length,It=tt.length;if(xt){var ft=n(je,"IARDW",$e),Ut=n(je,"IARDH",$e),kt=n(je,"IARDX",$e),Nt=n(je,"IARDY",$e);yt+=ft,It+=Ut,tt=s(yt,It,se,tt,(ft>>1)+kt,(Ut>>1)+Nt,!1,me,ee)}var ar=Je-(Re&1?0:It-1),Qt=ze-(Re&2?yt-1:0),He=void 0,et=void 0,Ue=void 0;if(fe){for(He=0;He<It;He++)if(_e=Ce[Qt+He],!!_e){Ue=tt[He];var qe=Math.min(z-ar,yt);switch(ve){case 0:for(et=0;et<qe;et++)_e[ar+et]|=Ue[et];break;case 2:for(et=0;et<qe;et++)_e[ar+et]^=Ue[et];break;default:throw new X("operator ".concat(ve," is not supported"))}}ze+=It-1}else{for(et=0;et<It;et++)if(_e=Ce[ar+et],!!_e)switch(Ue=tt[et],ve){case 0:for(He=0;He<yt;He++)_e[Qt+He]|=Ue[He];break;case 2:for(He=0;He<yt;He++)_e[Qt+He]^=Ue[He];break;default:throw new X("operator ".concat(ve," is not supported"))}ze+=yt-1}De++;var ot=M?we.tableDeltaS.decode(Ee):n(je,"IADS",$e);if(ot===null)break;ze+=ot+ke}while(!0)}return Ce}function a(M,W,z,J,Q,K){var de=[];M||(de.push({x:-W,y:0}),Q===0&&de.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));for(var oe=(J+1)*W,pe=F(M,oe,z,Q,!1,null,de,K),fe=[],ke=0;ke<=J;ke++){for(var Re=[],ve=W*ke,we=ve+W,se=0;se<z;se++)Re.push(pe[se].subarray(ve,we));fe.push(Re)}return fe}function i(M,W,z,J,Q,K,de,oe,pe,fe,ke,Re,ve,we,se){var me=null;if(de)throw new X("skip is not supported");if(oe!==0)throw new X('operator "'.concat(oe,'" is not supported in halftone region'));var ee=[],Fe,Ee,Ce;for(Fe=0;Fe<Q;Fe++){if(Ce=new Uint8Array(J),K)for(Ee=0;Ee<J;Ee++)Ce[Ee]=K;ee.push(Ce)}var De=W.length,_e=W[0],Ne=_e[0].length,$e=_e.length,je=(0,t.log2)(De),Ve=[];M||(Ve.push({x:z<=1?3:2,y:-1}),z===0&&Ve.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));var Ke=[],Qe,Ze;for(M&&(Qe=new he(se.data,se.start,se.end)),Fe=je-1;Fe>=0;Fe--)M?Ze=j(Qe,pe,fe,!0):Ze=F(!1,pe,fe,z,!1,me,Ve,se),Ke[Fe]=Ze;var ze,ct,Je,gt,xt,tt,yt,It,ft;for(ze=0;ze<fe;ze++)for(ct=0;ct<pe;ct++){for(Je=0,gt=0,Ee=je-1;Ee>=0;Ee--)Je^=Ke[Ee][ze][ct],gt|=Je<<Ee;if(xt=W[gt],tt=ke+ze*we+ct*ve>>8,yt=Re+ze*ve-ct*we>>8,tt>=0&&tt+Ne<=J&&yt>=0&&yt+$e<=Q)for(Fe=0;Fe<$e;Fe++)for(ft=ee[yt+Fe],It=xt[Fe],Ee=0;Ee<Ne;Ee++)ft[tt+Ee]|=It[Ee];else{var Ut=void 0,kt=void 0;for(Fe=0;Fe<$e;Fe++)if(kt=yt+Fe,!(kt<0||kt>=Q))for(ft=ee[kt],It=xt[Fe],Ee=0;Ee<Ne;Ee++)Ut=tt+Ee,Ut>=0&&Ut<J&&(ft[Ut]|=It[Ee])}}return ee}function m(M,W){var z={};z.number=(0,t.readUint32)(M,W);var J=M[W+4],Q=J&63;if(!O[Q])throw new X("invalid segment type: "+Q);z.type=Q,z.typeName=O[Q],z.deferredNonRetain=!!(J&128);var K=!!(J&64),de=M[W+5],oe=de>>5&7,pe=[de&31],fe=W+6;if(de===7){oe=(0,t.readUint32)(M,fe-1)&536870911,fe+=3;var ke=oe+7>>3;for(pe[0]=M[fe++];--ke>0;)pe.push(M[fe++])}else if(de===5||de===6)throw new X("invalid referred-to flags");z.retainBits=pe;var Re=4;z.number<=256?Re=1:z.number<=65536&&(Re=2);var ve=[],we,se;for(we=0;we<oe;we++){var me=void 0;Re===1?me=M[fe]:Re===2?me=(0,t.readUint16)(M,fe):me=(0,t.readUint32)(M,fe),ve.push(me),fe+=Re}if(z.referredTo=ve,K?(z.pageAssociation=(0,t.readUint32)(M,fe),fe+=4):z.pageAssociation=M[fe++],z.length=(0,t.readUint32)(M,fe),fe+=4,z.length===4294967295)if(Q===38){var ee=c(M,fe),Fe=M[fe+v],Ee=!!(Fe&1),Ce=6,De=new Uint8Array(Ce);for(Ee||(De[0]=255,De[1]=172),De[2]=ee.height>>>24&255,De[3]=ee.height>>16&255,De[4]=ee.height>>8&255,De[5]=ee.height&255,we=fe,se=M.length;we<se;we++){for(var _e=0;_e<Ce&&De[_e]===M[we+_e];)_e++;if(_e===Ce){z.length=we+Ce;break}}if(z.length===4294967295)throw new X("segment end was not found")}else throw new X("invalid unknown segment length");return z.headerEnd=fe,z}function o(M,W,z,J){for(var Q=[],K=z;K<J;){var de=m(W,K);K=de.headerEnd;var oe={header:de,data:W};if(M.randomAccess||(oe.start=K,K+=de.length,oe.end=K),Q.push(oe),de.type===51)break}if(M.randomAccess)for(var pe=0,fe=Q.length;pe<fe;pe++)Q[pe].start=K,K+=Q[pe].header.length,Q[pe].end=K;return Q}function c(M,W){return{width:(0,t.readUint32)(M,W),height:(0,t.readUint32)(M,W+4),x:(0,t.readUint32)(M,W+8),y:(0,t.readUint32)(M,W+12),combinationOperator:M[W+16]&7}}var v=17;function A(M,W){var z=M.header,J=M.data,Q=M.end,K=M.start,de,oe,pe,fe;switch(z.type){case 0:var ke={},Re=(0,t.readUint16)(J,K);if(ke.huffman=!!(Re&1),ke.refinement=!!(Re&2),ke.huffmanDHSelector=Re>>2&3,ke.huffmanDWSelector=Re>>4&3,ke.bitmapSizeSelector=Re>>6&1,ke.aggregationInstancesSelector=Re>>7&1,ke.bitmapCodingContextUsed=!!(Re&256),ke.bitmapCodingContextRetained=!!(Re&512),ke.template=Re>>10&3,ke.refinementTemplate=Re>>12&1,K+=2,!ke.huffman){for(fe=ke.template===0?4:1,oe=[],pe=0;pe<fe;pe++)oe.push({x:(0,t.readInt8)(J,K),y:(0,t.readInt8)(J,K+1)}),K+=2;ke.at=oe}if(ke.refinement&&!ke.refinementTemplate){for(oe=[],pe=0;pe<2;pe++)oe.push({x:(0,t.readInt8)(J,K),y:(0,t.readInt8)(J,K+1)}),K+=2;ke.refinementAt=oe}ke.numberOfExportedSymbols=(0,t.readUint32)(J,K),K+=4,ke.numberOfNewSymbols=(0,t.readUint32)(J,K),K+=4,de=[ke,z.number,z.referredTo,J,K,Q];break;case 6:case 7:var ve={};ve.info=c(J,K),K+=v;var we=(0,t.readUint16)(J,K);if(K+=2,ve.huffman=!!(we&1),ve.refinement=!!(we&2),ve.logStripSize=we>>2&3,ve.stripSize=1<<ve.logStripSize,ve.referenceCorner=we>>4&3,ve.transposed=!!(we&64),ve.combinationOperator=we>>7&3,ve.defaultPixelValue=we>>9&1,ve.dsOffset=we<<17>>27,ve.refinementTemplate=we>>15&1,ve.huffman){var se=(0,t.readUint16)(J,K);K+=2,ve.huffmanFS=se&3,ve.huffmanDS=se>>2&3,ve.huffmanDT=se>>4&3,ve.huffmanRefinementDW=se>>6&3,ve.huffmanRefinementDH=se>>8&3,ve.huffmanRefinementDX=se>>10&3,ve.huffmanRefinementDY=se>>12&3,ve.huffmanRefinementSizeSelector=!!(se&16384)}if(ve.refinement&&!ve.refinementTemplate){for(oe=[],pe=0;pe<2;pe++)oe.push({x:(0,t.readInt8)(J,K),y:(0,t.readInt8)(J,K+1)}),K+=2;ve.refinementAt=oe}ve.numberOfSymbolInstances=(0,t.readUint32)(J,K),K+=4,de=[ve,z.referredTo,J,K,Q];break;case 16:var me={},ee=J[K++];me.mmr=!!(ee&1),me.template=ee>>1&3,me.patternWidth=J[K++],me.patternHeight=J[K++],me.maxPatternIndex=(0,t.readUint32)(J,K),K+=4,de=[me,z.number,J,K,Q];break;case 22:case 23:var Fe={};Fe.info=c(J,K),K+=v;var Ee=J[K++];Fe.mmr=!!(Ee&1),Fe.template=Ee>>1&3,Fe.enableSkip=!!(Ee&8),Fe.combinationOperator=Ee>>4&7,Fe.defaultPixelValue=Ee>>7&1,Fe.gridWidth=(0,t.readUint32)(J,K),K+=4,Fe.gridHeight=(0,t.readUint32)(J,K),K+=4,Fe.gridOffsetX=(0,t.readUint32)(J,K)&4294967295,K+=4,Fe.gridOffsetY=(0,t.readUint32)(J,K)&4294967295,K+=4,Fe.gridVectorX=(0,t.readUint16)(J,K),K+=2,Fe.gridVectorY=(0,t.readUint16)(J,K),K+=2,de=[Fe,z.referredTo,J,K,Q];break;case 38:case 39:var Ce={};Ce.info=c(J,K),K+=v;var De=J[K++];if(Ce.mmr=!!(De&1),Ce.template=De>>1&3,Ce.prediction=!!(De&8),!Ce.mmr){for(fe=Ce.template===0?4:1,oe=[],pe=0;pe<fe;pe++)oe.push({x:(0,t.readInt8)(J,K),y:(0,t.readInt8)(J,K+1)}),K+=2;Ce.at=oe}de=[Ce,J,K,Q];break;case 48:var _e={width:(0,t.readUint32)(J,K),height:(0,t.readUint32)(J,K+4),resolutionX:(0,t.readUint32)(J,K+8),resolutionY:(0,t.readUint32)(J,K+12)};_e.height===4294967295&&delete _e.height;var Ne=J[K+16];(0,t.readUint16)(J,K+17),_e.lossless=!!(Ne&1),_e.refinement=!!(Ne&2),_e.defaultPixelValue=Ne>>2&1,_e.combinationOperator=Ne>>3&3,_e.requiresBuffer=!!(Ne&32),_e.combinationOperatorOverride=!!(Ne&64),de=[_e];break;case 49:break;case 50:break;case 51:break;case 53:de=[z.number,J,K,Q];break;case 62:break;default:throw new X("segment type ".concat(z.typeName,"(").concat(z.type,")")+" is not implemented")}var $e="on"+z.typeName;$e in W&&W[$e].apply(W,de)}function u(M,W){for(var z=0,J=M.length;z<J;z++)A(M[z],W)}function C(M){for(var W=new E,z=0,J=M.length;z<J;z++){var Q=M[z],K=o({},Q.data,Q.start,Q.end);u(K,W)}return W.buffer}function I(M){var W=M.length,z=0;if(M[z]!==151||M[z+1]!==74||M[z+2]!==66||M[z+3]!==50||M[z+4]!==13||M[z+5]!==10||M[z+6]!==26||M[z+7]!==10)throw new X("parseJbig2 - invalid header.");var J=Object.create(null);z+=8;var Q=M[z++];J.randomAccess=!(Q&1),Q&2||(J.numberOfPages=(0,t.readUint32)(M,z),z+=4);var K=o(J,M,z,W),de=new E;u(K,de);for(var oe=de.currentPageInfo,pe=oe.width,fe=oe.height,ke=de.buffer,Re=new Uint8ClampedArray(pe*fe),ve=0,we=0,se=0;se<fe;se++)for(var me=0,ee=void 0,Fe=0;Fe<pe;Fe++)me||(me=128,ee=ke[we++]),Re[ve++]=ee&me?0:255,me>>=1;return{imgData:Re,width:pe,height:fe}}var E=function(){function M(){ye(this,M)}return V(M,[{key:"onPageInformation",value:function(z){this.currentPageInfo=z;var J=z.width+7>>3,Q=new Uint8ClampedArray(J*z.height);if(z.defaultPixelValue)for(var K=0,de=Q.length;K<de;K++)Q[K]=255;this.buffer=Q}},{key:"drawBitmap",value:function(z,J){var Q=this.currentPageInfo,K=z.width,de=z.height,oe=Q.width+7>>3,pe=Q.combinationOperatorOverride?z.combinationOperator:Q.combinationOperator,fe=this.buffer,ke=128>>(z.x&7),Re=z.y*oe+(z.x>>3),ve,we,se,me;switch(pe){case 0:for(ve=0;ve<de;ve++){for(se=ke,me=Re,we=0;we<K;we++)J[ve][we]&&(fe[me]|=se),se>>=1,se||(se=128,me++);Re+=oe}break;case 2:for(ve=0;ve<de;ve++){for(se=ke,me=Re,we=0;we<K;we++)J[ve][we]&&(fe[me]^=se),se>>=1,se||(se=128,me++);Re+=oe}break;default:throw new X("operator ".concat(pe," is not supported"))}}},{key:"onImmediateGenericRegion",value:function(z,J,Q,K){var de=z.info,oe=new k(J,Q,K),pe=F(z.mmr,de.width,de.height,z.template,z.prediction,null,z.at,oe);this.drawBitmap(de,pe)}},{key:"onImmediateLosslessGenericRegion",value:function(){this.onImmediateGenericRegion.apply(this,arguments)}},{key:"onSymbolDictionary",value:function(z,J,Q,K,de,oe){var pe,fe;z.huffman&&(pe=te(z,Q,this.customTables),fe=new he(K,de,oe));var ke=this.symbols;ke||(this.symbols=ke={});for(var Re=[],ve=0,we=Q.length;ve<we;ve++){var se=ke[Q[ve]];se&&(Re=Re.concat(se))}var me=new k(K,de,oe);ke[J]=g(z.huffman,z.refinement,Re,z.numberOfNewSymbols,z.numberOfExportedSymbols,pe,z.template,z.at,z.refinementTemplate,z.refinementAt,me,fe)}},{key:"onImmediateTextRegion",value:function(z,J,Q,K,de){for(var oe=z.info,pe,fe,ke=this.symbols,Re=[],ve=0,we=J.length;ve<we;ve++){var se=ke[J[ve]];se&&(Re=Re.concat(se))}var me=(0,t.log2)(Re.length);z.huffman&&(fe=new he(Q,K,de),pe=ue(z,J,this.customTables,Re.length,fe));var ee=new k(Q,K,de),Fe=l(z.huffman,z.refinement,oe.width,oe.height,z.defaultPixelValue,z.numberOfSymbolInstances,z.stripSize,Re,me,z.transposed,z.dsOffset,z.referenceCorner,z.combinationOperator,pe,z.refinementTemplate,z.refinementAt,ee,z.logStripSize,fe);this.drawBitmap(oe,Fe)}},{key:"onImmediateLosslessTextRegion",value:function(){this.onImmediateTextRegion.apply(this,arguments)}},{key:"onPatternDictionary",value:function(z,J,Q,K,de){var oe=this.patterns;oe||(this.patterns=oe={});var pe=new k(Q,K,de);oe[J]=a(z.mmr,z.patternWidth,z.patternHeight,z.maxPatternIndex,z.template,pe)}},{key:"onImmediateHalftoneRegion",value:function(z,J,Q,K,de){var oe=this.patterns[J[0]],pe=z.info,fe=new k(Q,K,de),ke=i(z.mmr,oe,z.template,pe.width,pe.height,z.defaultPixelValue,z.enableSkip,z.combinationOperator,z.gridWidth,z.gridHeight,z.gridOffsetX,z.gridOffsetY,z.gridVectorX,z.gridVectorY,fe);this.drawBitmap(pe,ke)}},{key:"onImmediateLosslessHalftoneRegion",value:function(){this.onImmediateHalftoneRegion.apply(this,arguments)}},{key:"onTables",value:function(z,J,Q,K){var de=this.customTables;de||(this.customTables=de={}),de[z]=H(J,Q,K)}}]),M}(),N=function M(W){ye(this,M),W.length===2?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=W[0],this.rangeLength=0,this.prefixCode=W[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=W[0],this.prefixLength=W[1],this.rangeLength=W[2],this.prefixCode=W[3],this.isLowerRange=W[4]==="lower")},_=function(){function M(W){ye(this,M),this.children=[],W?(this.isLeaf=!0,this.rangeLength=W.rangeLength,this.rangeLow=W.rangeLow,this.isLowerRange=W.isLowerRange,this.isOOB=W.isOOB):this.isLeaf=!1}return V(M,[{key:"buildTree",value:function(z,J){var Q=z.prefixCode>>J&1;if(J<=0)this.children[Q]=new M(z);else{var K=this.children[Q];K||(this.children[Q]=K=new M(null)),K.buildTree(z,J-1)}}},{key:"decodeNode",value:function(z){if(this.isLeaf){if(this.isOOB)return null;var J=z.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-J:J)}var Q=this.children[z.readBit()];if(!Q)throw new X("invalid Huffman data");return Q.decodeNode(z)}}]),M}(),Y=function(){function M(W,z){ye(this,M),z||this.assignPrefixCodes(W),this.rootNode=new _(null);for(var J=0,Q=W.length;J<Q;J++){var K=W[J];K.prefixLength>0&&this.rootNode.buildTree(K,K.prefixLength-1)}}return V(M,[{key:"decode",value:function(z){return this.rootNode.decodeNode(z)}},{key:"assignPrefixCodes",value:function(z){for(var J=z.length,Q=0,K=0;K<J;K++)Q=Math.max(Q,z[K].prefixLength);for(var de=new Uint32Array(Q+1),oe=0;oe<J;oe++)de[z[oe].prefixLength]++;var pe=1,fe=0,ke,Re,ve;for(de[0]=0;pe<=Q;){for(fe=fe+de[pe-1]<<1,ke=fe,Re=0;Re<J;)ve=z[Re],ve.prefixLength===pe&&(ve.prefixCode=ke,ke++),Re++;pe++}}}]),M}();function H(M,W,z){var J=M[W],Q=(0,t.readUint32)(M,W+1)&4294967295,K=(0,t.readUint32)(M,W+5)&4294967295,de=new he(M,W+9,z),oe=(J>>1&7)+1,pe=(J>>4&7)+1,fe=[],ke,Re,ve=Q;do ke=de.readBits(oe),Re=de.readBits(pe),fe.push(new N([ve,ke,Re,0])),ve+=1<<Re;while(ve<K);return ke=de.readBits(oe),fe.push(new N([Q-1,ke,32,0,"lower"])),ke=de.readBits(oe),fe.push(new N([K,ke,32,0])),J&1&&(ke=de.readBits(oe),fe.push(new N([ke,0]))),new Y(fe,!1)}var Z={};function ne(M){var W=Z[M];if(W)return W;var z;switch(M){case 1:z=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:z=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,6,32,62],[6,63]];break;case 3:z=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:z=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:z=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:z=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:z=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:z=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:z=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:z=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:z=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:z=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:z=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:z=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:z=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new X("standard table B.".concat(M," does not exist"))}for(var J=0,Q=z.length;J<Q;J++)z[J]=new N(z[J]);return W=new Y(z,!0),Z[M]=W,W}var he=function(){function M(W,z,J){ye(this,M),this.data=W,this.start=z,this.end=J,this.position=z,this.shift=-1,this.currentByte=0}return V(M,[{key:"readBit",value:function(){if(this.shift<0){if(this.position>=this.end)throw new X("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var z=this.currentByte>>this.shift&1;return this.shift--,z}},{key:"readBits",value:function(z){var J=0,Q;for(Q=z-1;Q>=0;Q--)J|=this.readBit()<<Q;return J}},{key:"byteAlign",value:function(){this.shift=-1}},{key:"next",value:function(){return this.position>=this.end?-1:this.data[this.position++]}}]),M}();function Se(M,W,z){for(var J=0,Q=0,K=W.length;Q<K;Q++){var de=z[W[Q]];if(de){if(M===J)return de;J++}}throw new X("can't find custom Huffman table")}function ue(M,W,z,J,Q){for(var K=[],de=0;de<=34;de++){var oe=Q.readBits(4);K.push(new N([de,oe,0,0]))}var pe=new Y(K,!1);K.length=0;for(var fe=0;fe<J;){var ke=pe.decode(Q);if(ke>=32){var Re=void 0,ve=void 0,we=void 0;switch(ke){case 32:if(fe===0)throw new X("no previous value in symbol ID table");ve=Q.readBits(2)+3,Re=K[fe-1].prefixLength;break;case 33:ve=Q.readBits(3)+3,Re=0;break;case 34:ve=Q.readBits(7)+11,Re=0;break;default:throw new X("invalid code length in symbol ID table")}for(we=0;we<ve;we++)K.push(new N([fe,Re,0,0])),fe++}else K.push(new N([fe,ke,0,0])),fe++}Q.byteAlign();var se=new Y(K,!1),me=0,ee,Fe,Ee;switch(M.huffmanFS){case 0:case 1:ee=ne(M.huffmanFS+6);break;case 3:ee=Se(me,W,z),me++;break;default:throw new X("invalid Huffman FS selector")}switch(M.huffmanDS){case 0:case 1:case 2:Fe=ne(M.huffmanDS+8);break;case 3:Fe=Se(me,W,z),me++;break;default:throw new X("invalid Huffman DS selector")}switch(M.huffmanDT){case 0:case 1:case 2:Ee=ne(M.huffmanDT+11);break;case 3:Ee=Se(me,W,z),me++;break;default:throw new X("invalid Huffman DT selector")}if(M.refinement)throw new X("refinement with Huffman is not supported");return{symbolIDTable:se,tableFirstS:ee,tableDeltaS:Fe,tableDeltaT:Ee}}function te(M,W,z){var J=0,Q,K;switch(M.huffmanDHSelector){case 0:case 1:Q=ne(M.huffmanDHSelector+4);break;case 3:Q=Se(J,W,z),J++;break;default:throw new X("invalid Huffman DH selector")}switch(M.huffmanDWSelector){case 0:case 1:K=ne(M.huffmanDWSelector+2);break;case 3:K=Se(J,W,z),J++;break;default:throw new X("invalid Huffman DW selector")}var de,oe;return M.bitmapSizeSelector?(de=Se(J,W,z),J++):de=ne(1),M.aggregationInstancesSelector?oe=Se(J,W,z):oe=ne(1),{tableDeltaHeight:Q,tableDeltaWidth:K,tableBitmapSize:de,tableAggregateInstances:oe}}function $(M,W,z){for(var J=[],Q=0;Q<z;Q++){var K=new Uint8Array(W);J.push(K);for(var de=0;de<W;de++)K[de]=M.readBit();M.byteAlign()}return J}function j(M,W,z,J){for(var Q={K:-1,Columns:W,Rows:z,BlackIs1:!0,EndOfBlock:J},K=new ge.CCITTFaxDecoder(M,Q),de=[],oe,pe=!1,fe=0;fe<z;fe++){var ke=new Uint8Array(W);de.push(ke);for(var Re=-1,ve=0;ve<W;ve++)Re<0&&(oe=K.readNextChar(),oe===-1&&(oe=0,pe=!0),Re=7),ke[ve]=oe>>Re&1,Re--}if(J&&!pe)for(var we=5,se=0;se<we&&K.readNextChar()!==-1;se++);return de}var G=function(){function M(){ye(this,M)}return V(M,[{key:"parseChunks",value:function(z){return C(z)}},{key:"parse",value:function(z){var J=I(z),Q=J.imgData,K=J.width,de=J.height;return this.width=K,this.height=de,Q}}]),M}();P.Jbig2Image=G},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.ArithmeticDecoder=void 0;function D(ge,le){if(!(ge instanceof le))throw new TypeError("Cannot call a class as a function")}function T(ge,le){for(var V=0;V<le.length;V++){var ye=le[V];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(ge,ye.key,ye)}}function b(ge,le,V){return le&&T(ge.prototype,le),V&&T(ge,V),ge}var t=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}],e=function(){function ge(le,V,ye){D(this,ge),this.data=le,this.bp=V,this.dataEnd=ye,this.chigh=le[V],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}return b(ge,[{key:"byteIn",value:function(){var V=this.data,ye=this.bp;V[ye]===255?V[ye+1]>143?(this.clow+=65280,this.ct=8):(ye++,this.clow+=V[ye]<<9,this.ct=7,this.bp=ye):(ye++,this.clow+=ye<this.dataEnd?V[ye]<<8:65280,this.ct=8,this.bp=ye),this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}},{key:"readBit",value:function(V,ye){var be=V[ye]>>1,xe=V[ye]&1,ae=t[be],d=ae.qe,ce,q=this.a-d;if(this.chigh<d)q<d?(q=d,ce=xe,be=ae.nmps):(q=d,ce=1^xe,ae.switchFlag===1&&(xe=ce),be=ae.nlps);else{if(this.chigh-=d,(q&32768)!=0)return this.a=q,xe;q<d?(ce=1^xe,ae.switchFlag===1&&(xe=ce),be=ae.nlps):(ce=xe,be=ae.nmps)}do this.ct===0&&this.byteIn(),q<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--;while((q&32768)==0);return this.a=q,V[ye]=be<<1|xe,ce}}]),ge}();P.ArithmeticDecoder=e},(Me,P,D)=>{"use strict";function T(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(n){return typeof n}:T=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T(y)}Object.defineProperty(P,"__esModule",{value:!0}),P.JpegStream=void 0;var b=D(159),t=D(135),e=D(168),ge=D(4);function le(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function V(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function ye(y,k,n){return k&&V(y.prototype,k),n&&V(y,n),y}function be(y,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(k&&k.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),k&&xe(y,k)}function xe(y,k){return xe=Object.setPrototypeOf||function(S,O){return S.__proto__=O,S},xe(y,k)}function ae(y){var k=q();return function(){var S=re(y),O;if(k){var w=re(this).constructor;O=Reflect.construct(S,arguments,w)}else O=S.apply(this,arguments);return d(this,O)}}function d(y,k){if(k&&(T(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ce(y)}function ce(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}function re(y){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},re(y)}var X=function(y){be(n,y);var k=ae(n);function n(S,O,w){var p;le(this,n);for(var x;(x=S.getByte())!==-1;)if(x===255){S.skip(-1);break}return p=k.call(this,O),p.stream=S,p.dict=S.dict,p.maybeLength=O,p.params=w,p}return ye(n,[{key:"bytes",get:function(){return(0,ge.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(O){}},{key:"readBlock",value:function(){if(!this.eof){var O={decodeTransform:void 0,colorTransform:void 0},w=this.dict.getArray("D","Decode");if(this.forceRGB&&Array.isArray(w)){for(var p=this.dict.get("BPC","BitsPerComponent")||8,x=w.length,f=new Int32Array(x),h=!1,F=(1<<p)-1,s=0;s<x;s+=2)f[s]=(w[s+1]-w[s])*256|0,f[s+1]=w[s]*F|0,(f[s]!==256||f[s+1]!==0)&&(h=!0);h&&(O.decodeTransform=f)}if((0,t.isDict)(this.params)){var g=this.params.get("ColorTransform");Number.isInteger(g)&&(O.colorTransform=g)}var l=new e.JpegImage(O);l.parse(this.bytes);var a=l.getData({width:this.drawWidth,height:this.drawHeight,forceRGB:this.forceRGB,isSourcePDF:!0});this.buffer=a,this.bufferLength=a.length,this.eof=!0}}}]),n}(b.DecodeStream);P.JpegStream=X},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.JpegImage=void 0;var T=D(4),b=D(139);function t(m,o){for(var c=0;c<o.length;c++){var v=o[c];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(m,v.key,v)}}function e(m,o,c){return o&&t(m.prototype,o),c&&t(m,c),m}function ge(m){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ge=function(c){return typeof c}:ge=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},ge(m)}function le(m,o){if(!(m instanceof o))throw new TypeError("Cannot call a class as a function")}function V(m,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");m.prototype=Object.create(o&&o.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),o&&ye(m,o)}function ye(m,o){return ye=Object.setPrototypeOf||function(v,A){return v.__proto__=A,v},ye(m,o)}function be(m){var o=d();return function(){var v=ce(m),A;if(o){var u=ce(this).constructor;A=Reflect.construct(v,arguments,u)}else A=v.apply(this,arguments);return xe(this,A)}}function xe(m,o){if(o&&(ge(o)==="object"||typeof o=="function"))return o;if(o!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(m)}function ae(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(m){return!1}}function ce(m){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},ce(m)}var q=function(m){V(c,m);var o=be(c);function c(v){return le(this,c),o.call(this,"JPEG error: ".concat(v),"JpegError")}return c}(T.BaseException),re=function(m){V(c,m);var o=be(c);function c(v,A){var u;return le(this,c),u=o.call(this,v,"DNLMarkerError"),u.scanLines=A,u}return c}(T.BaseException),X=function(m){V(c,m);var o=be(c);function c(v){return le(this,c),o.call(this,v,"EOIMarkerError")}return c}(T.BaseException),y=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),k=4017,n=799,S=3406,O=2276,w=1567,p=3784,x=5793,f=2896;function h(m,o){for(var c=0,v,A,u=16;u>0&&!m[u-1];)u--;var C=[{children:[],index:0}],I=C[0],E;for(v=0;v<u;v++){for(A=0;A<m[v];A++){for(I=C.pop(),I.children[I.index]=o[c];I.index>0;)I=C.pop();for(I.index++,C.push(I);C.length<=v;)C.push(E={children:[],index:0}),I.children[I.index]=E.children,I=E;c++}v+1<u&&(C.push(E={children:[],index:0}),I.children[I.index]=E.children,I=E)}return C[0].children}function F(m,o,c){return 64*((m.blocksPerLine+1)*o+c)}function s(m,o,c,v,A,u,C,I,E){var N=arguments.length>9&&arguments[9]!==void 0?arguments[9]:!1,_=c.mcusPerLine,Y=c.progressive,H=o,Z=0,ne=0;function he(){if(ne>0)return ne--,Z>>ne&1;if(Z=m[o++],Z===255){var Ne=m[o++];if(Ne){if(Ne===220&&N){o+=2;var $e=(0,b.readUint16)(m,o);if(o+=2,$e>0&&$e!==c.scanLines)throw new re("Found DNL marker (0xFFDC) while parsing scan data",$e)}else if(Ne===217){if(N){var je=K*(c.precision===8?8:0);if(je>0&&Math.round(c.scanLines/je)>=10)throw new re("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",je)}throw new X("Found EOI marker (0xFFD9) while parsing scan data")}throw new q("unexpected marker ".concat((Z<<8|Ne).toString(16)))}}return ne=7,Z>>>7}function Se(Ne){for(var $e=Ne;;){switch($e=$e[he()],ge($e)){case"number":return $e;case"object":continue}throw new q("invalid huffman sequence")}}function ue(Ne){for(var $e=0;Ne>0;)$e=$e<<1|he(),Ne--;return $e}function te(Ne){if(Ne===1)return he()===1?1:-1;var $e=ue(Ne);return $e>=1<<Ne-1?$e:$e+(-1<<Ne)+1}function $(Ne,$e){var je=Se(Ne.huffmanTableDC),Ve=je===0?0:te(je);Ne.blockData[$e]=Ne.pred+=Ve;for(var Ke=1;Ke<64;){var Qe=Se(Ne.huffmanTableAC),Ze=Qe&15,ze=Qe>>4;if(Ze===0){if(ze<15)break;Ke+=16;continue}Ke+=ze;var ct=y[Ke];Ne.blockData[$e+ct]=te(Ze),Ke++}}function j(Ne,$e){var je=Se(Ne.huffmanTableDC),Ve=je===0?0:te(je)<<E;Ne.blockData[$e]=Ne.pred+=Ve}function G(Ne,$e){Ne.blockData[$e]|=he()<<E}var M=0;function W(Ne,$e){if(M>0){M--;return}for(var je=u,Ve=C;je<=Ve;){var Ke=Se(Ne.huffmanTableAC),Qe=Ke&15,Ze=Ke>>4;if(Qe===0){if(Ze<15){M=ue(Ze)+(1<<Ze)-1;break}je+=16;continue}je+=Ze;var ze=y[je];Ne.blockData[$e+ze]=te(Qe)*(1<<E),je++}}var z=0,J;function Q(Ne,$e){for(var je=u,Ve=C,Ke=0,Qe,Ze;je<=Ve;){var ze=$e+y[je],ct=Ne.blockData[ze]<0?-1:1;switch(z){case 0:if(Ze=Se(Ne.huffmanTableAC),Qe=Ze&15,Ke=Ze>>4,Qe===0)Ke<15?(M=ue(Ke)+(1<<Ke),z=4):(Ke=16,z=1);else{if(Qe!==1)throw new q("invalid ACn encoding");J=te(Qe),z=Ke?2:3}continue;case 1:case 2:Ne.blockData[ze]?Ne.blockData[ze]+=ct*(he()<<E):(Ke--,Ke===0&&(z=z===2?3:0));break;case 3:Ne.blockData[ze]?Ne.blockData[ze]+=ct*(he()<<E):(Ne.blockData[ze]=J<<E,z=0);break;case 4:Ne.blockData[ze]&&(Ne.blockData[ze]+=ct*(he()<<E));break}je++}z===4&&(M--,M===0&&(z=0))}var K=0;function de(Ne,$e,je,Ve,Ke){var Qe=je/_|0,Ze=je%_;K=Qe*Ne.v+Ve;var ze=Ze*Ne.h+Ke,ct=F(Ne,K,ze);$e(Ne,ct)}function oe(Ne,$e,je){K=je/Ne.blocksPerLine|0;var Ve=je%Ne.blocksPerLine,Ke=F(Ne,K,Ve);$e(Ne,Ke)}var pe=v.length,fe,ke,Re,ve,we,se;Y?u===0?se=I===0?j:G:se=I===0?W:Q:se=$;var me=0,ee,Fe;pe===1?Fe=v[0].blocksPerLine*v[0].blocksPerColumn:Fe=_*c.mcusPerColumn;for(var Ee,Ce;me<=Fe;){var De=A?Math.min(Fe-me,A):Fe;if(De>0){for(ke=0;ke<pe;ke++)v[ke].pred=0;if(M=0,pe===1)for(fe=v[0],we=0;we<De;we++)oe(fe,se,me),me++;else for(we=0;we<De;we++){for(ke=0;ke<pe;ke++)for(fe=v[ke],Ee=fe.h,Ce=fe.v,Re=0;Re<Ce;Re++)for(ve=0;ve<Ee;ve++)de(fe,se,me,Re,ve);me++}}if(ne=0,ee=a(m,o),!ee)break;if(ee.invalid){var _e=De>0?"unexpected":"excessive";(0,T.warn)("decodeScan - ".concat(_e," MCU data, current marker is: ").concat(ee.invalid)),o=ee.offset}if(ee.marker>=65488&&ee.marker<=65495)o+=2;else break}return o-H}function g(m,o,c){var v=m.quantizationTable,A=m.blockData,u,C,I,E,N,_,Y,H,Z,ne,he,Se,ue,te,$,j,G;if(!v)throw new q("missing required Quantization Table.");for(var M=0;M<64;M+=8){if(Z=A[o+M],ne=A[o+M+1],he=A[o+M+2],Se=A[o+M+3],ue=A[o+M+4],te=A[o+M+5],$=A[o+M+6],j=A[o+M+7],Z*=v[M],(ne|he|Se|ue|te|$|j)==0){G=x*Z+512>>10,c[M]=G,c[M+1]=G,c[M+2]=G,c[M+3]=G,c[M+4]=G,c[M+5]=G,c[M+6]=G,c[M+7]=G;continue}ne*=v[M+1],he*=v[M+2],Se*=v[M+3],ue*=v[M+4],te*=v[M+5],$*=v[M+6],j*=v[M+7],u=x*Z+128>>8,C=x*ue+128>>8,I=he,E=$,N=f*(ne-j)+128>>8,H=f*(ne+j)+128>>8,_=Se<<4,Y=te<<4,u=u+C+1>>1,C=u-C,G=I*p+E*w+128>>8,I=I*w-E*p+128>>8,E=G,N=N+Y+1>>1,Y=N-Y,H=H+_+1>>1,_=H-_,u=u+E+1>>1,E=u-E,C=C+I+1>>1,I=C-I,G=N*O+H*S+2048>>12,N=N*S-H*O+2048>>12,H=G,G=_*n+Y*k+2048>>12,_=_*k-Y*n+2048>>12,Y=G,c[M]=u+H,c[M+7]=u-H,c[M+1]=C+Y,c[M+6]=C-Y,c[M+2]=I+_,c[M+5]=I-_,c[M+3]=E+N,c[M+4]=E-N}for(var W=0;W<8;++W){if(Z=c[W],ne=c[W+8],he=c[W+16],Se=c[W+24],ue=c[W+32],te=c[W+40],$=c[W+48],j=c[W+56],(ne|he|Se|ue|te|$|j)==0){G=x*Z+8192>>14,G<-2040?G=0:G>=2024?G=255:G=G+2056>>4,A[o+W]=G,A[o+W+8]=G,A[o+W+16]=G,A[o+W+24]=G,A[o+W+32]=G,A[o+W+40]=G,A[o+W+48]=G,A[o+W+56]=G;continue}u=x*Z+2048>>12,C=x*ue+2048>>12,I=he,E=$,N=f*(ne-j)+2048>>12,H=f*(ne+j)+2048>>12,_=Se,Y=te,u=(u+C+1>>1)+4112,C=u-C,G=I*p+E*w+2048>>12,I=I*w-E*p+2048>>12,E=G,N=N+Y+1>>1,Y=N-Y,H=H+_+1>>1,_=H-_,u=u+E+1>>1,E=u-E,C=C+I+1>>1,I=C-I,G=N*O+H*S+2048>>12,N=N*S-H*O+2048>>12,H=G,G=_*n+Y*k+2048>>12,_=_*k-Y*n+2048>>12,Y=G,Z=u+H,j=u-H,ne=C+Y,$=C-Y,he=I+_,te=I-_,Se=E+N,ue=E-N,Z<16?Z=0:Z>=4080?Z=255:Z>>=4,ne<16?ne=0:ne>=4080?ne=255:ne>>=4,he<16?he=0:he>=4080?he=255:he>>=4,Se<16?Se=0:Se>=4080?Se=255:Se>>=4,ue<16?ue=0:ue>=4080?ue=255:ue>>=4,te<16?te=0:te>=4080?te=255:te>>=4,$<16?$=0:$>=4080?$=255:$>>=4,j<16?j=0:j>=4080?j=255:j>>=4,A[o+W]=Z,A[o+W+8]=ne,A[o+W+16]=he,A[o+W+24]=Se,A[o+W+32]=ue,A[o+W+40]=te,A[o+W+48]=$,A[o+W+56]=j}}function l(m,o){for(var c=o.blocksPerLine,v=o.blocksPerColumn,A=new Int16Array(64),u=0;u<v;u++)for(var C=0;C<c;C++){var I=F(o,u,C);g(o,I,A)}return o.blockData}function a(m,o){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:o,v=m.length-1,A=c<o?c:o;if(o>=v)return null;var u=(0,b.readUint16)(m,o);if(u>=65472&&u<=65534)return{invalid:null,marker:u,offset:o};for(var C=(0,b.readUint16)(m,A);!(C>=65472&&C<=65534);){if(++A>=v)return null;C=(0,b.readUint16)(m,A)}return{invalid:u.toString(16),marker:C,offset:A}}var i=function(){function m(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=o.decodeTransform,v=c===void 0?null:c,A=o.colorTransform,u=A===void 0?-1:A;le(this,m),this._decodeTransform=v,this._colorTransform=u}return e(m,[{key:"parse",value:function(c){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=v.dnlScanLines,u=A===void 0?null:A;function C(){var tt=(0,b.readUint16)(c,E);E+=2;var yt=E+tt-2,It=a(c,yt,E);It&&It.invalid&&((0,T.warn)("readDataBlock - incorrect length, current marker is: "+It.invalid),yt=It.offset);var ft=c.subarray(E,yt);return E+=ft.length,ft}function I(tt){for(var yt=Math.ceil(tt.samplesPerLine/8/tt.maxH),It=Math.ceil(tt.scanLines/8/tt.maxV),ft=0,Ut=tt.components.length;ft<Ut;ft++){var kt=tt.components[ft],Nt=Math.ceil(Math.ceil(tt.samplesPerLine/8)*kt.h/tt.maxH),ar=Math.ceil(Math.ceil(tt.scanLines/8)*kt.v/tt.maxV),Qt=yt*kt.h,He=It*kt.v,et=64*He*(Qt+1);kt.blockData=new Int16Array(et),kt.blocksPerLine=Nt,kt.blocksPerColumn=ar}tt.mcusPerLine=yt,tt.mcusPerColumn=It}var E=0,N=null,_=null,Y,H,Z=0,ne=[],he=[],Se=[],ue=(0,b.readUint16)(c,E);if(E+=2,ue!==65496)throw new q("SOI not found");ue=(0,b.readUint16)(c,E),E+=2;e:for(;ue!==65497;){var te=void 0,$=void 0,j=void 0;switch(ue){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var G=C();ue===65504&&G[0]===74&&G[1]===70&&G[2]===73&&G[3]===70&&G[4]===0&&(N={version:{major:G[5],minor:G[6]},densityUnits:G[7],xDensity:G[8]<<8|G[9],yDensity:G[10]<<8|G[11],thumbWidth:G[12],thumbHeight:G[13],thumbData:G.subarray(14,14+3*G[12]*G[13])}),ue===65518&&G[0]===65&&G[1]===100&&G[2]===111&&G[3]===98&&G[4]===101&&(_={version:G[5]<<8|G[6],flags0:G[7]<<8|G[8],flags1:G[9]<<8|G[10],transformCode:G[11]});break;case 65499:var M=(0,b.readUint16)(c,E);E+=2;for(var W=M+E-2,z=void 0;E<W;){var J=c[E++],Q=new Uint16Array(64);if(J>>4==0)for($=0;$<64;$++)z=y[$],Q[z]=c[E++];else if(J>>4==1)for($=0;$<64;$++)z=y[$],Q[z]=(0,b.readUint16)(c,E),E+=2;else throw new q("DQT - invalid table spec");ne[J&15]=Q}break;case 65472:case 65473:case 65474:if(Y)throw new q("Only single frame JPEGs supported");E+=2,Y={},Y.extended=ue===65473,Y.progressive=ue===65474,Y.precision=c[E++];var K=(0,b.readUint16)(c,E);E+=2,Y.scanLines=u||K,Y.samplesPerLine=(0,b.readUint16)(c,E),E+=2,Y.components=[],Y.componentIds={};var de=c[E++],oe=0,pe=0;for(te=0;te<de;te++){var fe=c[E],ke=c[E+1]>>4,Re=c[E+1]&15;oe<ke&&(oe=ke),pe<Re&&(pe=Re);var ve=c[E+2];j=Y.components.push({h:ke,v:Re,quantizationId:ve,quantizationTable:null}),Y.componentIds[fe]=j-1,E+=3}Y.maxH=oe,Y.maxV=pe,I(Y);break;case 65476:var we=(0,b.readUint16)(c,E);for(E+=2,te=2;te<we;){var se=c[E++],me=new Uint8Array(16),ee=0;for($=0;$<16;$++,E++)ee+=me[$]=c[E];var Fe=new Uint8Array(ee);for($=0;$<ee;$++,E++)Fe[$]=c[E];te+=17+ee,(se>>4==0?Se:he)[se&15]=h(me,Fe)}break;case 65501:E+=2,H=(0,b.readUint16)(c,E),E+=2;break;case 65498:var Ee=++Z==1&&!u;E+=2;var Ce=c[E++],De=[];for(te=0;te<Ce;te++){var _e=c[E++],Ne=Y.componentIds[_e],$e=Y.components[Ne];$e.index=_e;var je=c[E++];$e.huffmanTableDC=Se[je>>4],$e.huffmanTableAC=he[je&15],De.push($e)}var Ve=c[E++],Ke=c[E++],Qe=c[E++];try{var Ze=s(c,E,Y,De,H,Ve,Ke,Qe>>4,Qe&15,Ee);E+=Ze}catch(tt){if(tt instanceof re)return(0,T.warn)("".concat(tt.message," -- attempting to re-parse the JPEG image.")),this.parse(c,{dnlScanLines:tt.scanLines});if(tt instanceof X){(0,T.warn)("".concat(tt.message," -- ignoring the rest of the image data."));break e}throw tt}break;case 65500:E+=4;break;case 65535:c[E]!==255&&E--;break;default:var ze=a(c,E-2,E-3);if(ze&&ze.invalid){(0,T.warn)("JpegImage.parse - unexpected data, current marker is: "+ze.invalid),E=ze.offset;break}if(!ze||E>=c.length-1){(0,T.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new q("JpegImage.parse - unknown marker: "+ue.toString(16))}ue=(0,b.readUint16)(c,E),E+=2}this.width=Y.samplesPerLine,this.height=Y.scanLines,this.jfif=N,this.adobe=_,this.components=[];for(var ct=0,Je=Y.components.length;ct<Je;ct++){var gt=Y.components[ct],xt=ne[gt.quantizationId];xt&&(gt.quantizationTable=xt),this.components.push({index:gt.index,output:l(Y,gt),scaleX:gt.h/Y.maxH,scaleY:gt.v/Y.maxV,blocksPerLine:gt.blocksPerLine,blocksPerColumn:gt.blocksPerColumn})}this.numComponents=this.components.length}},{key:"_getLinearizedBlockData",value:function(c,v){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,u=this.width/c,C=this.height/v,I,E,N,_,Y,H,Z,ne,he,Se,ue=0,te,$=this.components.length,j=c*v*$,G=new Uint8ClampedArray(j),M=new Uint32Array(c),W=4294967288,z;for(Z=0;Z<$;Z++){if(I=this.components[Z],E=I.scaleX*u,N=I.scaleY*C,ue=Z,te=I.output,_=I.blocksPerLine+1<<3,E!==z){for(Y=0;Y<c;Y++)ne=0|Y*E,M[Y]=(ne&W)<<3|ne&7;z=E}for(H=0;H<v;H++)for(ne=0|H*N,Se=_*(ne&W)|(ne&7)<<3,Y=0;Y<c;Y++)G[ue]=te[Se+M[Y]],ue+=$}var J=this._decodeTransform;if(!A&&$===4&&!J&&(J=new Int32Array([-256,255,-256,255,-256,255,-256,255])),J)for(Z=0;Z<j;)for(ne=0,he=0;ne<$;ne++,Z++,he+=2)G[Z]=(G[Z]*J[he]>>8)+J[he+1];return G}},{key:"_isColorConversionNeeded",get:function(){return this.adobe?!!this.adobe.transformCode:this.numComponents===3?this._colorTransform===0?!1:!(this.components[0].index===82&&this.components[1].index===71&&this.components[2].index===66):this._colorTransform===1}},{key:"_convertYccToRgb",value:function(c){for(var v,A,u,C=0,I=c.length;C<I;C+=3)v=c[C],A=c[C+1],u=c[C+2],c[C]=v-179.456+1.402*u,c[C+1]=v+135.459-.344*A-.714*u,c[C+2]=v-226.816+1.772*A;return c}},{key:"_convertYcckToRgb",value:function(c){for(var v,A,u,C,I=0,E=0,N=c.length;E<N;E+=4)v=c[E],A=c[E+1],u=c[E+2],C=c[E+3],c[I++]=-122.67195406894+A*(-660635669420364e-19*A+.000437130475926232*u-54080610064599e-18*v+.00048449797120281*C-.154362151871126)+u*(-.000957964378445773*u+.000817076911346625*v-.00477271405408747*C+1.53380253221734)+v*(.000961250184130688*v-.00266257332283933*C+.48357088451265)+C*(-.000336197177618394*C+.484791561490776),c[I++]=107.268039397724+A*(219927104525741e-19*A-.000640992018297945*u+.000659397001245577*v+.000426105652938837*C-.176491792462875)+u*(-.000778269941513683*u+.00130872261408275*v+.000770482631801132*C-.151051492775562)+v*(.00126935368114843*v-.00265090189010898*C+.25802910206845)+C*(-.000318913117588328*C-.213742400323665),c[I++]=-20.810012546947+A*(-.000570115196973677*A-263409051004589e-19*u+.0020741088115012*v-.00288260236853442*C+.814272968359295)+u*(-153496057440975e-19*u-.000132689043961446*v+.000560833691242812*C-.195152027534049)+v*(.00174418132927582*v-.00255243321439347*C+.116935020465145)+C*(-.000343531996510555*C+.24165260232407);return c.subarray(0,I)}},{key:"_convertYcckToCmyk",value:function(c){for(var v,A,u,C=0,I=c.length;C<I;C+=4)v=c[C],A=c[C+1],u=c[C+2],c[C]=434.456-v-1.402*u,c[C+1]=119.541-v+.344*A+.714*u,c[C+2]=481.816-v-1.772*A;return c}},{key:"_convertCmykToRgb",value:function(c){for(var v,A,u,C,I=0,E=0,N=c.length;E<N;E+=4)v=c[E],A=c[E+1],u=c[E+2],C=c[E+3],c[I++]=255+v*(-6747147073602441e-20*v+.0008379262121013727*A+.0002894718188643294*u+.003264231057537806*C-1.1185611867203937)+A*(26374107616089405e-21*A-8626949158638572e-20*u-.0002748769067499491*C-.02155688794978967)+u*(-3878099212869363e-20*u-.0003267808279485286*C+.0686742238595345)-C*(.0003361971776183937*C+.7430659151342254),c[I++]=255+v*(.00013596372813588848*v+.000924537132573585*A+.00010567359618683593*u+.0004791864687436512*C-.3109689587515875)+A*(-.00023545346108370344*A+.0002702845253534714*u+.0020200308977307156*C-.7488052167015494)+u*(6834815998235662e-20*u+.00015168452363460973*C-.09751927774728933)-C*(.0003189131175883281*C+.7364883807733168),c[I++]=255+v*(13598650411385307e-21*v+.00012423956175490851*A+.0004751985097583589*u-36729317476630422e-22*C-.05562186980264034)+A*(.00016141380598724676*A+.0009692239130725186*u+.0007782692450036253*C-.44015232367526463)+u*(5068882914068769e-22*u+.0017778369011375071*C-.7591454649749609)-C*(.0003435319965105553*C+.7063770186160144);return c.subarray(0,I)}},{key:"getData",value:function(c){var v=c.width,A=c.height,u=c.forceRGB,C=u===void 0?!1:u,I=c.isSourcePDF,E=I===void 0?!1:I;if(this.numComponents>4)throw new q("Unsupported color mode");var N=this._getLinearizedBlockData(v,A,E);if(this.numComponents===1&&C){for(var _=N.length,Y=new Uint8ClampedArray(_*3),H=0,Z=0;Z<_;Z++){var ne=N[Z];Y[H++]=ne,Y[H++]=ne,Y[H++]=ne}return Y}else{if(this.numComponents===3&&this._isColorConversionNeeded)return this._convertYccToRgb(N);if(this.numComponents===4){if(this._isColorConversionNeeded)return C?this._convertYcckToRgb(N):this._convertYcckToCmyk(N);if(C)return this._convertCmykToRgb(N)}}return N}}]),m}();P.JpegImage=i},(Me,P,D)=>{"use strict";function T(X){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(k){return typeof k}:T=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},T(X)}Object.defineProperty(P,"__esModule",{value:!0}),P.JpxStream=void 0;var b=D(159),t=D(170),e=D(4);function ge(X,y){if(!(X instanceof y))throw new TypeError("Cannot call a class as a function")}function le(X,y){for(var k=0;k<y.length;k++){var n=y[k];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(X,n.key,n)}}function V(X,y,k){return y&&le(X.prototype,y),k&&le(X,k),X}function ye(X,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");X.prototype=Object.create(y&&y.prototype,{constructor:{value:X,writable:!0,configurable:!0}}),y&&be(X,y)}function be(X,y){return be=Object.setPrototypeOf||function(n,S){return n.__proto__=S,n},be(X,y)}function xe(X){var y=ce();return function(){var n=q(X),S;if(y){var O=q(this).constructor;S=Reflect.construct(n,arguments,O)}else S=n.apply(this,arguments);return ae(this,S)}}function ae(X,y){if(y&&(T(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(X)}function d(X){if(X===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return X}function ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(X){return!1}}function q(X){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},q(X)}var re=function(X){ye(k,X);var y=xe(k);function k(n,S,O){var w;return ge(this,k),w=y.call(this,S),w.stream=n,w.dict=n.dict,w.maybeLength=S,w.params=O,w}return V(k,[{key:"bytes",get:function(){return(0,e.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(S){}},{key:"readBlock",value:function(){if(!this.eof){var S=new t.JpxImage;S.parse(this.bytes);var O=S.width,w=S.height,p=S.componentsCount,x=S.tiles.length;if(x===1)this.buffer=S.tiles[0].items;else{for(var f=new Uint8ClampedArray(O*w*p),h=0;h<x;h++)for(var F=S.tiles[h],s=F.width,g=F.height,l=F.left,a=F.top,i=F.items,m=0,o=(O*a+l)*p,c=O*p,v=s*p,A=0;A<g;A++){var u=i.subarray(m,m+v);f.set(u,o),m+=v,o+=c}this.buffer=f}this.bufferLength=this.buffer.length,this.eof=!0}}}]),k}(b.DecodeStream);P.JpxStream=re},(Me,P,D)=>{"use strict";function T(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(H){return typeof H}:T=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},T(_)}Object.defineProperty(P,"__esModule",{value:!0}),P.JpxImage=void 0;var b=D(4),t=D(139),e=D(166);function ge(_,Y){for(var H=0;H<Y.length;H++){var Z=Y[H];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(_,Z.key,Z)}}function le(_,Y,H){return Y&&ge(_.prototype,Y),H&&ge(_,H),_}function V(_,Y){if(!(_ instanceof Y))throw new TypeError("Cannot call a class as a function")}function ye(_,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(Y&&Y.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Y&&be(_,Y)}function be(_,Y){return be=Object.setPrototypeOf||function(Z,ne){return Z.__proto__=ne,Z},be(_,Y)}function xe(_){var Y=ce();return function(){var Z=q(_),ne;if(Y){var he=q(this).constructor;ne=Reflect.construct(Z,arguments,he)}else ne=Z.apply(this,arguments);return ae(this,ne)}}function ae(_,Y){if(Y&&(T(Y)==="object"||typeof Y=="function"))return Y;if(Y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(_)}function d(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(_){return!1}}function q(_){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},q(_)}var re=function(_){ye(H,_);var Y=xe(H);function H(Z){return V(this,H),Y.call(this,"JPX error: ".concat(Z),"JpxError")}return H}(b.BaseException),X={LL:0,LH:1,HL:1,HH:2},y=function(){function _(){V(this,_),this.failOnCorruptedImage=!1}return le(_,[{key:"parse",value:function(H){var Z=(0,t.readUint16)(H,0);if(Z===65359){this.parseCodestream(H,0,H.length);return}for(var ne=H.length,he=0;he<ne;){var Se=8,ue=(0,t.readUint32)(H,he),te=(0,t.readUint32)(H,he+4);if(he+=Se,ue===1&&(ue=(0,t.readUint32)(H,he)*4294967296+(0,t.readUint32)(H,he+4),he+=8,Se+=8),ue===0&&(ue=ne-he+Se),ue<Se)throw new re("Invalid box field size");var $=ue-Se,j=!0;switch(te){case 1785737832:j=!1;break;case 1668246642:var G=H[he];if(G===1){var M=(0,t.readUint32)(H,he+3);switch(M){case 16:case 17:case 18:break;default:(0,b.warn)("Unknown colorspace "+M);break}}else G===2&&(0,b.info)("ICC profile not supported");break;case 1785737827:this.parseCodestream(H,he,he+$);break;case 1783636e3:(0,t.readUint32)(H,he)!==218793738&&(0,b.warn)("Invalid JP2 signature");break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var W=String.fromCharCode(te>>24&255,te>>16&255,te>>8&255,te&255);(0,b.warn)("Unsupported header type ".concat(te," (").concat(W,")."));break}j&&(he+=$)}}},{key:"parseImageProperties",value:function(H){for(var Z=H.getByte();Z>=0;){var ne=Z;Z=H.getByte();var he=ne<<8|Z;if(he===65361){H.skip(4);var Se=H.getInt32()>>>0,ue=H.getInt32()>>>0,te=H.getInt32()>>>0,$=H.getInt32()>>>0;H.skip(16);var j=H.getUint16();this.width=Se-te,this.height=ue-$,this.componentsCount=j,this.bitsPerComponent=8;return}}throw new re("No size marker found in JPX stream")}},{key:"parseCodestream",value:function(H,Z,ne){var he={},Se=!1;try{for(var ue=Z;ue+1<ne;){var te=(0,t.readUint16)(H,ue);ue+=2;var $=0,j=void 0,G=void 0,M=void 0,W=void 0,z=void 0,J=void 0;switch(te){case 65359:he.mainHeader=!0;break;case 65497:break;case 65361:$=(0,t.readUint16)(H,ue);var Q={};Q.Xsiz=(0,t.readUint32)(H,ue+4),Q.Ysiz=(0,t.readUint32)(H,ue+8),Q.XOsiz=(0,t.readUint32)(H,ue+12),Q.YOsiz=(0,t.readUint32)(H,ue+16),Q.XTsiz=(0,t.readUint32)(H,ue+20),Q.YTsiz=(0,t.readUint32)(H,ue+24),Q.XTOsiz=(0,t.readUint32)(H,ue+28),Q.YTOsiz=(0,t.readUint32)(H,ue+32);var K=(0,t.readUint16)(H,ue+36);Q.Csiz=K;var de=[];j=ue+38;for(var oe=0;oe<K;oe++){var pe={precision:(H[j]&127)+1,isSigned:!!(H[j]&128),XRsiz:H[j+1],YRsiz:H[j+2]};j+=3,k(pe,Q),de.push(pe)}he.SIZ=Q,he.components=de,n(he,de),he.QCC=[],he.COC=[];break;case 65372:$=(0,t.readUint16)(H,ue);var fe={};switch(j=ue+2,G=H[j++],G&31){case 0:W=8,z=!0;break;case 1:W=16,z=!1;break;case 2:W=16,z=!0;break;default:throw new Error("Invalid SQcd value "+G)}for(fe.noQuantization=W===8,fe.scalarExpounded=z,fe.guardBits=G>>5,M=[];j<$+ue;){var ke={};W===8?(ke.epsilon=H[j++]>>3,ke.mu=0):(ke.epsilon=H[j]>>3,ke.mu=(H[j]&7)<<8|H[j+1],j+=2),M.push(ke)}fe.SPqcds=M,he.mainHeader?he.QCD=fe:(he.currentTile.QCD=fe,he.currentTile.QCC=[]);break;case 65373:$=(0,t.readUint16)(H,ue);var Re={};j=ue+2;var ve=void 0;switch(he.SIZ.Csiz<257?ve=H[j++]:(ve=(0,t.readUint16)(H,j),j+=2),G=H[j++],G&31){case 0:W=8,z=!0;break;case 1:W=16,z=!1;break;case 2:W=16,z=!0;break;default:throw new Error("Invalid SQcd value "+G)}for(Re.noQuantization=W===8,Re.scalarExpounded=z,Re.guardBits=G>>5,M=[];j<$+ue;){var we={};W===8?(we.epsilon=H[j++]>>3,we.mu=0):(we.epsilon=H[j]>>3,we.mu=(H[j]&7)<<8|H[j+1],j+=2),M.push(we)}Re.SPqcds=M,he.mainHeader?he.QCC[ve]=Re:he.currentTile.QCC[ve]=Re;break;case 65362:$=(0,t.readUint16)(H,ue);var se={};j=ue+2;var me=H[j++];se.entropyCoderWithCustomPrecincts=!!(me&1),se.sopMarkerUsed=!!(me&2),se.ephMarkerUsed=!!(me&4),se.progressionOrder=H[j++],se.layersCount=(0,t.readUint16)(H,j),j+=2,se.multipleComponentTransform=H[j++],se.decompositionLevelsCount=H[j++],se.xcb=(H[j++]&15)+2,se.ycb=(H[j++]&15)+2;var ee=H[j++];if(se.selectiveArithmeticCodingBypass=!!(ee&1),se.resetContextProbabilities=!!(ee&2),se.terminationOnEachCodingPass=!!(ee&4),se.verticallyStripe=!!(ee&8),se.predictableTermination=!!(ee&16),se.segmentationSymbolUsed=!!(ee&32),se.reversibleTransformation=H[j++],se.entropyCoderWithCustomPrecincts){for(var Fe=[];j<$+ue;){var Ee=H[j++];Fe.push({PPx:Ee&15,PPy:Ee>>4})}se.precinctsSizes=Fe}var Ce=[];se.selectiveArithmeticCodingBypass&&Ce.push("selectiveArithmeticCodingBypass"),se.resetContextProbabilities&&Ce.push("resetContextProbabilities"),se.terminationOnEachCodingPass&&Ce.push("terminationOnEachCodingPass"),se.verticallyStripe&&Ce.push("verticallyStripe"),se.predictableTermination&&Ce.push("predictableTermination"),Ce.length>0&&(Se=!0,(0,b.warn)("JPX: Unsupported COD options (".concat(Ce.join(", "),")."))),he.mainHeader?he.COD=se:(he.currentTile.COD=se,he.currentTile.COC=[]);break;case 65424:$=(0,t.readUint16)(H,ue),J={},J.index=(0,t.readUint16)(H,ue+2),J.length=(0,t.readUint32)(H,ue+4),J.dataEnd=J.length+ue-2,J.partIndex=H[ue+8],J.partsCount=H[ue+9],he.mainHeader=!1,J.partIndex===0&&(J.COD=he.COD,J.COC=he.COC.slice(0),J.QCD=he.QCD,J.QCC=he.QCC.slice(0)),he.currentTile=J;break;case 65427:J=he.currentTile,J.partIndex===0&&(v(he,J.index),a(he)),$=J.dataEnd-ue,i(he,H,ue,$);break;case 65363:(0,b.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:$=(0,t.readUint16)(H,ue);break;default:throw new Error("Unknown codestream code: "+te.toString(16))}ue+=$}}catch(De){if(Se||this.failOnCorruptedImage)throw new re(De.message);(0,b.warn)('JPX: Trying to recover from: "'.concat(De.message,'".'))}this.tiles=c(he),this.width=he.SIZ.Xsiz-he.SIZ.XOsiz,this.height=he.SIZ.Ysiz-he.SIZ.YOsiz,this.componentsCount=he.SIZ.Csiz}}]),_}();P.JpxImage=y;function k(_,Y){_.x0=Math.ceil(Y.XOsiz/_.XRsiz),_.x1=Math.ceil(Y.Xsiz/_.XRsiz),_.y0=Math.ceil(Y.YOsiz/_.YRsiz),_.y1=Math.ceil(Y.Ysiz/_.YRsiz),_.width=_.x1-_.x0,_.height=_.y1-_.y0}function n(_,Y){for(var H=_.SIZ,Z=[],ne,he=Math.ceil((H.Xsiz-H.XTOsiz)/H.XTsiz),Se=Math.ceil((H.Ysiz-H.YTOsiz)/H.YTsiz),ue=0;ue<Se;ue++)for(var te=0;te<he;te++)ne={},ne.tx0=Math.max(H.XTOsiz+te*H.XTsiz,H.XOsiz),ne.ty0=Math.max(H.YTOsiz+ue*H.YTsiz,H.YOsiz),ne.tx1=Math.min(H.XTOsiz+(te+1)*H.XTsiz,H.Xsiz),ne.ty1=Math.min(H.YTOsiz+(ue+1)*H.YTsiz,H.Ysiz),ne.width=ne.tx1-ne.tx0,ne.height=ne.ty1-ne.ty0,ne.components=[],Z.push(ne);_.tiles=Z;for(var $=H.Csiz,j=0,G=$;j<G;j++)for(var M=Y[j],W=0,z=Z.length;W<z;W++){var J={};ne=Z[W],J.tcx0=Math.ceil(ne.tx0/M.XRsiz),J.tcy0=Math.ceil(ne.ty0/M.YRsiz),J.tcx1=Math.ceil(ne.tx1/M.XRsiz),J.tcy1=Math.ceil(ne.ty1/M.YRsiz),J.width=J.tcx1-J.tcx0,J.height=J.tcy1-J.tcy0,ne.components[j]=J}}function S(_,Y,H){var Z=Y.codingStyleParameters,ne={};return Z.entropyCoderWithCustomPrecincts?(ne.PPx=Z.precinctsSizes[H].PPx,ne.PPy=Z.precinctsSizes[H].PPy):(ne.PPx=15,ne.PPy=15),ne.xcb_=H>0?Math.min(Z.xcb,ne.PPx-1):Math.min(Z.xcb,ne.PPx),ne.ycb_=H>0?Math.min(Z.ycb,ne.PPy-1):Math.min(Z.ycb,ne.PPy),ne}function O(_,Y,H){var Z=1<<H.PPx,ne=1<<H.PPy,he=Y.resLevel===0,Se=1<<H.PPx+(he?0:-1),ue=1<<H.PPy+(he?0:-1),te=Y.trx1>Y.trx0?Math.ceil(Y.trx1/Z)-Math.floor(Y.trx0/Z):0,$=Y.try1>Y.try0?Math.ceil(Y.try1/ne)-Math.floor(Y.try0/ne):0,j=te*$;Y.precinctParameters={precinctWidth:Z,precinctHeight:ne,numprecinctswide:te,numprecinctshigh:$,numprecincts:j,precinctWidthInSubband:Se,precinctHeightInSubband:ue}}function w(_,Y,H){var Z=H.xcb_,ne=H.ycb_,he=1<<Z,Se=1<<ne,ue=Y.tbx0>>Z,te=Y.tby0>>ne,$=Y.tbx1+he-1>>Z,j=Y.tby1+Se-1>>ne,G=Y.resolution.precinctParameters,M=[],W=[],z,J,Q,K;for(J=te;J<j;J++)for(z=ue;z<$;z++){Q={cbx:z,cby:J,tbx0:he*z,tby0:Se*J,tbx1:he*(z+1),tby1:Se*(J+1)},Q.tbx0_=Math.max(Y.tbx0,Q.tbx0),Q.tby0_=Math.max(Y.tby0,Q.tby0),Q.tbx1_=Math.min(Y.tbx1,Q.tbx1),Q.tby1_=Math.min(Y.tby1,Q.tby1);var de=Math.floor((Q.tbx0_-Y.tbx0)/G.precinctWidthInSubband),oe=Math.floor((Q.tby0_-Y.tby0)/G.precinctHeightInSubband);if(K=de+oe*G.numprecinctswide,Q.precinctNumber=K,Q.subbandType=Y.type,Q.Lblock=3,!(Q.tbx1_<=Q.tbx0_||Q.tby1_<=Q.tby0_)){M.push(Q);var pe=W[K];pe!==void 0?(z<pe.cbxMin?pe.cbxMin=z:z>pe.cbxMax&&(pe.cbxMax=z),J<pe.cbyMin?pe.cbxMin=J:J>pe.cbyMax&&(pe.cbyMax=J)):W[K]=pe={cbxMin:z,cbyMin:J,cbxMax:z,cbyMax:J},Q.precinct=pe}}Y.codeblockParameters={codeblockWidth:Z,codeblockHeight:ne,numcodeblockwide:$-ue+1,numcodeblockhigh:j-te+1},Y.codeblocks=M,Y.precincts=W}function p(_,Y,H){for(var Z=[],ne=_.subbands,he=0,Se=ne.length;he<Se;he++)for(var ue=ne[he],te=ue.codeblocks,$=0,j=te.length;$<j;$++){var G=te[$];G.precinctNumber===Y&&Z.push(G)}return{layerNumber:H,codeblocks:Z}}function x(_){for(var Y=_.SIZ,H=_.currentTile.index,Z=_.tiles[H],ne=Z.codingStyleDefaultParameters.layersCount,he=Y.Csiz,Se=0,ue=0;ue<he;ue++)Se=Math.max(Se,Z.components[ue].codingStyleParameters.decompositionLevelsCount);var te=0,$=0,j=0,G=0;this.nextPacket=function(){for(;te<ne;te++){for(;$<=Se;$++){for(;j<he;j++){var W=Z.components[j];if(!($>W.codingStyleParameters.decompositionLevelsCount)){for(var z=W.resolutions[$],J=z.precinctParameters.numprecincts;G<J;){var Q=p(z,G,te);return G++,Q}G=0}}j=0}$=0}throw new re("Out of packets")}}function f(_){for(var Y=_.SIZ,H=_.currentTile.index,Z=_.tiles[H],ne=Z.codingStyleDefaultParameters.layersCount,he=Y.Csiz,Se=0,ue=0;ue<he;ue++)Se=Math.max(Se,Z.components[ue].codingStyleParameters.decompositionLevelsCount);var te=0,$=0,j=0,G=0;this.nextPacket=function(){for(;te<=Se;te++){for(;$<ne;$++){for(;j<he;j++){var W=Z.components[j];if(!(te>W.codingStyleParameters.decompositionLevelsCount)){for(var z=W.resolutions[te],J=z.precinctParameters.numprecincts;G<J;){var Q=p(z,G,$);return G++,Q}G=0}}j=0}$=0}throw new re("Out of packets")}}function h(_){var Y=_.SIZ,H=_.currentTile.index,Z=_.tiles[H],ne=Z.codingStyleDefaultParameters.layersCount,he=Y.Csiz,Se,ue,te,$,j=0;for(te=0;te<he;te++){var G=Z.components[te];j=Math.max(j,G.codingStyleParameters.decompositionLevelsCount)}var M=new Int32Array(j+1);for(ue=0;ue<=j;++ue){var W=0;for(te=0;te<he;++te){var z=Z.components[te].resolutions;ue<z.length&&(W=Math.max(W,z[ue].precinctParameters.numprecincts))}M[ue]=W}Se=0,ue=0,te=0,$=0,this.nextPacket=function(){for(;ue<=j;ue++){for(;$<M[ue];$++){for(;te<he;te++){var Q=Z.components[te];if(!(ue>Q.codingStyleParameters.decompositionLevelsCount)){var K=Q.resolutions[ue],de=K.precinctParameters.numprecincts;if(!($>=de)){for(;Se<ne;){var oe=p(K,$,Se);return Se++,oe}Se=0}}}te=0}$=0}throw new re("Out of packets")}}function F(_){var Y=_.SIZ,H=_.currentTile.index,Z=_.tiles[H],ne=Z.codingStyleDefaultParameters.layersCount,he=Y.Csiz,Se=l(Z),ue=Se,te=0,$=0,j=0,G=0,M=0;this.nextPacket=function(){for(;M<ue.maxNumHigh;M++){for(;G<ue.maxNumWide;G++){for(;j<he;j++){for(var z=Z.components[j],J=z.codingStyleParameters.decompositionLevelsCount;$<=J;$++){var Q=z.resolutions[$],K=Se.components[j].resolutions[$],de=g(G,M,K,ue,Q);if(de!==null){for(;te<ne;){var oe=p(Q,de,te);return te++,oe}te=0}}$=0}j=0}G=0}throw new re("Out of packets")}}function s(_){var Y=_.SIZ,H=_.currentTile.index,Z=_.tiles[H],ne=Z.codingStyleDefaultParameters.layersCount,he=Y.Csiz,Se=l(Z),ue=0,te=0,$=0,j=0,G=0;this.nextPacket=function(){for(;$<he;++$){for(var W=Z.components[$],z=Se.components[$],J=W.codingStyleParameters.decompositionLevelsCount;G<z.maxNumHigh;G++){for(;j<z.maxNumWide;j++){for(;te<=J;te++){var Q=W.resolutions[te],K=z.resolutions[te],de=g(j,G,K,z,Q);if(de!==null){for(;ue<ne;){var oe=p(Q,de,ue);return ue++,oe}ue=0}}te=0}j=0}G=0}throw new re("Out of packets")}}function g(_,Y,H,Z,ne){var he=_*Z.minWidth,Se=Y*Z.minHeight;if(he%H.width!=0||Se%H.height!=0)return null;var ue=Se/H.width*ne.precinctParameters.numprecinctswide;return he/H.height+ue}function l(_){for(var Y=_.components.length,H=Number.MAX_VALUE,Z=Number.MAX_VALUE,ne=0,he=0,Se=new Array(Y),ue=0;ue<Y;ue++){for(var te=_.components[ue],$=te.codingStyleParameters.decompositionLevelsCount,j=new Array($+1),G=Number.MAX_VALUE,M=Number.MAX_VALUE,W=0,z=0,J=1,Q=$;Q>=0;--Q){var K=te.resolutions[Q],de=J*K.precinctParameters.precinctWidth,oe=J*K.precinctParameters.precinctHeight;G=Math.min(G,de),M=Math.min(M,oe),W=Math.max(W,K.precinctParameters.numprecinctswide),z=Math.max(z,K.precinctParameters.numprecinctshigh),j[Q]={width:de,height:oe},J<<=1}H=Math.min(H,G),Z=Math.min(Z,M),ne=Math.max(ne,W),he=Math.max(he,z),Se[ue]={resolutions:j,minWidth:G,minHeight:M,maxNumWide:W,maxNumHigh:z}}return{components:Se,minWidth:H,minHeight:Z,maxNumWide:ne,maxNumHigh:he}}function a(_){for(var Y=_.SIZ,H=_.currentTile.index,Z=_.tiles[H],ne=Y.Csiz,he=0;he<ne;he++){for(var Se=Z.components[he],ue=Se.codingStyleParameters.decompositionLevelsCount,te=[],$=[],j=0;j<=ue;j++){var G=S(_,Se,j),M={},W=1<<ue-j;M.trx0=Math.ceil(Se.tcx0/W),M.try0=Math.ceil(Se.tcy0/W),M.trx1=Math.ceil(Se.tcx1/W),M.try1=Math.ceil(Se.tcy1/W),M.resLevel=j,O(_,M,G),te.push(M);var z=void 0;if(j===0)z={},z.type="LL",z.tbx0=Math.ceil(Se.tcx0/W),z.tby0=Math.ceil(Se.tcy0/W),z.tbx1=Math.ceil(Se.tcx1/W),z.tby1=Math.ceil(Se.tcy1/W),z.resolution=M,w(_,z,G),$.push(z),M.subbands=[z];else{var J=1<<ue-j+1,Q=[];z={},z.type="HL",z.tbx0=Math.ceil(Se.tcx0/J-.5),z.tby0=Math.ceil(Se.tcy0/J),z.tbx1=Math.ceil(Se.tcx1/J-.5),z.tby1=Math.ceil(Se.tcy1/J),z.resolution=M,w(_,z,G),$.push(z),Q.push(z),z={},z.type="LH",z.tbx0=Math.ceil(Se.tcx0/J),z.tby0=Math.ceil(Se.tcy0/J-.5),z.tbx1=Math.ceil(Se.tcx1/J),z.tby1=Math.ceil(Se.tcy1/J-.5),z.resolution=M,w(_,z,G),$.push(z),Q.push(z),z={},z.type="HH",z.tbx0=Math.ceil(Se.tcx0/J-.5),z.tby0=Math.ceil(Se.tcy0/J-.5),z.tbx1=Math.ceil(Se.tcx1/J-.5),z.tby1=Math.ceil(Se.tcy1/J-.5),z.resolution=M,w(_,z,G),$.push(z),Q.push(z),M.subbands=Q}}Se.resolutions=te,Se.subbands=$}var K=Z.codingStyleDefaultParameters.progressionOrder;switch(K){case 0:Z.packetsIterator=new x(_);break;case 1:Z.packetsIterator=new f(_);break;case 2:Z.packetsIterator=new h(_);break;case 3:Z.packetsIterator=new F(_);break;case 4:Z.packetsIterator=new s(_);break;default:throw new re("Unsupported progression order ".concat(K))}}function i(_,Y,H,Z){var ne=0,he,Se=0,ue=!1;function te(Ze){for(;Se<Ze;){var ze=Y[H+ne];ne++,ue?(he=he<<7|ze,Se+=7,ue=!1):(he=he<<8|ze,Se+=8),ze===255&&(ue=!0)}return Se-=Ze,he>>>Se&(1<<Ze)-1}function $(Ze){return Y[H+ne-1]===255&&Y[H+ne]===Ze?(j(1),!0):Y[H+ne]===255&&Y[H+ne+1]===Ze?(j(2),!0):!1}function j(Ze){ne+=Ze}function G(){Se=0,ue&&(ne++,ue=!1)}function M(){if(te(1)===0)return 1;if(te(1)===0)return 2;var Ze=te(2);return Ze<3?Ze+3:(Ze=te(5),Ze<31?Ze+6:(Ze=te(7),Ze+37))}for(var W=_.currentTile.index,z=_.tiles[W],J=_.COD.sopMarkerUsed,Q=_.COD.ephMarkerUsed,K=z.packetsIterator;ne<Z;){G(),J&&$(145)&&j(4);var de=K.nextPacket();if(!!te(1)){for(var oe=de.layerNumber,pe=[],fe=void 0,ke=0,Re=de.codeblocks.length;ke<Re;ke++){fe=de.codeblocks[ke];var ve=fe.precinct,we=fe.cbx-ve.cbxMin,se=fe.cby-ve.cbyMin,me=!1,ee=!1,Fe=void 0,Ee=void 0;if(fe.included!==void 0)me=!!te(1);else{ve=fe.precinct;var Ce=void 0;if(ve.inclusionTree!==void 0)Ce=ve.inclusionTree;else{var De=ve.cbxMax-ve.cbxMin+1,_e=ve.cbyMax-ve.cbyMin+1;Ce=new u(De,_e,oe),Ee=new A(De,_e),ve.inclusionTree=Ce,ve.zeroBitPlanesTree=Ee;for(var Ne=0;Ne<oe;Ne++)if(te(1)!==0)throw new re("Invalid tag tree")}if(Ce.reset(we,se,oe))for(;;)if(te(1)){if(Fe=!Ce.nextLevel(),Fe){fe.included=!0,me=ee=!0;break}}else{Ce.incrementValue(oe);break}}if(!!me){if(ee){for(Ee=ve.zeroBitPlanesTree,Ee.reset(we,se);;)if(te(1)){if(Fe=!Ee.nextLevel(),Fe)break}else Ee.incrementValue();fe.zeroBitPlanes=Ee.value}for(var $e=M();te(1);)fe.Lblock++;var je=(0,t.log2)($e),Ve=($e<1<<je?je-1:je)+fe.Lblock,Ke=te(Ve);pe.push({codeblock:fe,codingpasses:$e,dataLength:Ke})}}for(G(),Q&&$(146);pe.length>0;){var Qe=pe.shift();fe=Qe.codeblock,fe.data===void 0&&(fe.data=[]),fe.data.push({data:Y,start:H+ne,end:H+ne+Qe.dataLength,codingpasses:Qe.codingpasses}),ne+=Qe.dataLength}}}return ne}function m(_,Y,H,Z,ne,he,Se,ue){for(var te=Z.tbx0,$=Z.tby0,j=Z.tbx1-Z.tbx0,G=Z.codeblocks,M=Z.type.charAt(0)==="H"?1:0,W=Z.type.charAt(1)==="H"?Y:0,z=0,J=G.length;z<J;++z){var Q=G[z],K=Q.tbx1_-Q.tbx0_,de=Q.tby1_-Q.tby0_;if(!(K===0||de===0)&&Q.data!==void 0){var oe=new C(K,de,Q.subbandType,Q.zeroBitPlanes,he),pe=2,fe=Q.data,ke=0,Re=0,ve=void 0,we=void 0,se=void 0;for(ve=0,we=fe.length;ve<we;ve++)se=fe[ve],ke+=se.end-se.start,Re+=se.codingpasses;var me=new Uint8Array(ke),ee=0;for(ve=0,we=fe.length;ve<we;ve++){se=fe[ve];var Fe=se.data.subarray(se.start,se.end);me.set(Fe,ee),ee+=Fe.length}var Ee=new e.ArithmeticDecoder(me,0,ke);for(oe.setDecoder(Ee),ve=0;ve<Re;ve++){switch(pe){case 0:oe.runSignificancePropagationPass();break;case 1:oe.runMagnitudeRefinementPass();break;case 2:oe.runCleanupPass(),ue&&oe.checkSegmentationSymbol();break}pe=(pe+1)%3}var Ce=Q.tbx0_-te+(Q.tby0_-$)*j,De=oe.coefficentsSign,_e=oe.coefficentsMagnitude,Ne=oe.bitsDecoded,$e=Se?0:.5,je=void 0,Ve=void 0,Ke=void 0;ee=0;var Qe=Z.type!=="LL";for(ve=0;ve<de;ve++){var Ze=Ce/j|0,ze=2*Ze*(Y-j)+M+W;for(je=0;je<K;je++){if(Ve=_e[ee],Ve!==0){Ve=(Ve+$e)*ne,De[ee]!==0&&(Ve=-Ve),Ke=Ne[ee];var ct=Qe?ze+(Ce<<1):Ce;Se&&Ke>=he?_[ct]=Ve:_[ct]=Ve*(1<<he-Ke)}Ce++,ee++}Ce+=j-K}}}}function o(_,Y,H){for(var Z=Y.components[H],ne=Z.codingStyleParameters,he=Z.quantizationParameters,Se=ne.decompositionLevelsCount,ue=he.SPqcds,te=he.scalarExpounded,$=he.guardBits,j=ne.segmentationSymbolUsed,G=_.components[H].precision,M=ne.reversibleTransformation,W=M?new N:new E,z=[],J=0,Q=0;Q<=Se;Q++){for(var K=Z.resolutions[Q],de=K.trx1-K.trx0,oe=K.try1-K.try0,pe=new Float32Array(de*oe),fe=0,ke=K.subbands.length;fe<ke;fe++){var Re=void 0,ve=void 0;te?(Re=ue[J].mu,ve=ue[J].epsilon,J++):(Re=ue[0].mu,ve=ue[0].epsilon+(Q>0?1-Q:0));var we=K.subbands[fe],se=X[we.type],me=M?1:Math.pow(2,G+se-ve)*(1+Re/2048),ee=$+ve-1;m(pe,de,oe,we,me,ee,M,j)}z.push({width:de,height:oe,items:pe})}var Fe=W.calculate(z,Z.tcx0,Z.tcy0);return{left:Z.tcx0,top:Z.tcy0,width:Fe.width,height:Fe.height,items:Fe.items}}function c(_){for(var Y=_.SIZ,H=_.components,Z=Y.Csiz,ne=[],he=0,Se=_.tiles.length;he<Se;he++){for(var ue=_.tiles[he],te=[],$=0;$<Z;$++)te[$]=o(_,ue,$);var j=te[0],G=new Uint8ClampedArray(j.items.length*Z),M={left:j.left,top:j.top,width:j.width,height:j.height,items:G},W=void 0,z=void 0,J=0,Q=void 0,K=void 0,de=void 0,oe=void 0,pe=void 0;if(ue.codingStyleDefaultParameters.multipleComponentTransform){var fe=Z===4,ke=te[0].items,Re=te[1].items,ve=te[2].items,we=fe?te[3].items:null;W=H[0].precision-8,z=(128<<W)+.5;var se=ue.components[0],me=Z-3;if(K=ke.length,se.codingStyleParameters.reversibleTransformation)for(Q=0;Q<K;Q++,J+=me){de=ke[Q]+z,oe=Re[Q],pe=ve[Q];var ee=de-(pe+oe>>2);G[J++]=ee+pe>>W,G[J++]=ee>>W,G[J++]=ee+oe>>W}else for(Q=0;Q<K;Q++,J+=me)de=ke[Q]+z,oe=Re[Q],pe=ve[Q],G[J++]=de+1.402*pe>>W,G[J++]=de-.34413*oe-.71414*pe>>W,G[J++]=de+1.772*oe>>W;if(fe)for(Q=0,J=3;Q<K;Q++,J+=4)G[J]=we[Q]+z>>W}else for(var Fe=0;Fe<Z;Fe++){var Ee=te[Fe].items;for(W=H[Fe].precision-8,z=(128<<W)+.5,J=Fe,Q=0,K=Ee.length;Q<K;Q++)G[J]=Ee[Q]+z>>W,J+=Z}ne.push(M)}return ne}function v(_,Y){for(var H=_.SIZ,Z=H.Csiz,ne=_.tiles[Y],he=0;he<Z;he++){var Se=ne.components[he],ue=_.currentTile.QCC[he]!==void 0?_.currentTile.QCC[he]:_.currentTile.QCD;Se.quantizationParameters=ue;var te=_.currentTile.COC[he]!==void 0?_.currentTile.COC[he]:_.currentTile.COD;Se.codingStyleParameters=te}ne.codingStyleDefaultParameters=_.currentTile.COD}var A=function(){function _(Y,H){V(this,_);var Z=(0,t.log2)(Math.max(Y,H))+1;this.levels=[];for(var ne=0;ne<Z;ne++){var he={width:Y,height:H,items:[]};this.levels.push(he),Y=Math.ceil(Y/2),H=Math.ceil(H/2)}}return le(_,[{key:"reset",value:function(H,Z){for(var ne=0,he=0,Se;ne<this.levels.length;){Se=this.levels[ne];var ue=H+Z*Se.width;if(Se.items[ue]!==void 0){he=Se.items[ue];break}Se.index=ue,H>>=1,Z>>=1,ne++}ne--,Se=this.levels[ne],Se.items[Se.index]=he,this.currentLevel=ne,delete this.value}},{key:"incrementValue",value:function(){var H=this.levels[this.currentLevel];H.items[H.index]++}},{key:"nextLevel",value:function(){var H=this.currentLevel,Z=this.levels[H],ne=Z.items[Z.index];return H--,H<0?(this.value=ne,!1):(this.currentLevel=H,Z=this.levels[H],Z.items[Z.index]=ne,!0)}}]),_}(),u=function(){function _(Y,H,Z){V(this,_);var ne=(0,t.log2)(Math.max(Y,H))+1;this.levels=[];for(var he=0;he<ne;he++){for(var Se=new Uint8Array(Y*H),ue=0,te=Se.length;ue<te;ue++)Se[ue]=Z;var $={width:Y,height:H,items:Se};this.levels.push($),Y=Math.ceil(Y/2),H=Math.ceil(H/2)}}return le(_,[{key:"reset",value:function(H,Z,ne){for(var he=0;he<this.levels.length;){var Se=this.levels[he],ue=H+Z*Se.width;Se.index=ue;var te=Se.items[ue];if(te===255)break;if(te>ne)return this.currentLevel=he,this.propagateValues(),!1;H>>=1,Z>>=1,he++}return this.currentLevel=he-1,!0}},{key:"incrementValue",value:function(H){var Z=this.levels[this.currentLevel];Z.items[Z.index]=H+1,this.propagateValues()}},{key:"propagateValues",value:function(){for(var H=this.currentLevel,Z=this.levels[H],ne=Z.items[Z.index];--H>=0;)Z=this.levels[H],Z.items[Z.index]=ne}},{key:"nextLevel",value:function(){var H=this.currentLevel,Z=this.levels[H],ne=Z.items[Z.index];return Z.items[Z.index]=255,H--,H<0?!1:(this.currentLevel=H,Z=this.levels[H],Z.items[Z.index]=ne,!0)}}]),_}(),C=function(){var Y=17,H=18,Z=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),ne=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),he=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]),Se=function(){function ue(te,$,j,G,M){V(this,ue),this.width=te,this.height=$;var W;j==="HH"?W=he:j==="HL"?W=ne:W=Z,this.contextLabelTable=W;var z=te*$;this.neighborsSignificance=new Uint8Array(z),this.coefficentsSign=new Uint8Array(z);var J;M>14?J=new Uint32Array(z):M>6?J=new Uint16Array(z):J=new Uint8Array(z),this.coefficentsMagnitude=J,this.processingFlags=new Uint8Array(z);var Q=new Uint8Array(z);if(G!==0)for(var K=0;K<z;K++)Q[K]=G;this.bitsDecoded=Q,this.reset()}return le(ue,[{key:"setDecoder",value:function($){this.decoder=$}},{key:"reset",value:function(){this.contexts=new Int8Array(19),this.contexts[0]=4<<1|0,this.contexts[Y]=46<<1|0,this.contexts[H]=3<<1|0}},{key:"setNeighborsSignificance",value:function($,j,G){var M=this.neighborsSignificance,W=this.width,z=this.height,J=j>0,Q=j+1<W,K;$>0&&(K=G-W,J&&(M[K-1]+=16),Q&&(M[K+1]+=16),M[K]+=4),$+1<z&&(K=G+W,J&&(M[K-1]+=16),Q&&(M[K+1]+=16),M[K]+=4),J&&(M[G-1]+=1),Q&&(M[G+1]+=1),M[G]|=128}},{key:"runSignificancePropagationPass",value:function(){for(var $=this.decoder,j=this.width,G=this.height,M=this.coefficentsMagnitude,W=this.coefficentsSign,z=this.neighborsSignificance,J=this.processingFlags,Q=this.contexts,K=this.contextLabelTable,de=this.bitsDecoded,oe=~1,pe=1,fe=2,ke=0;ke<G;ke+=4)for(var Re=0;Re<j;Re++)for(var ve=ke*j+Re,we=0;we<4;we++,ve+=j){var se=ke+we;if(se>=G)break;if(J[ve]&=oe,!(M[ve]||!z[ve])){var me=K[z[ve]],ee=$.readBit(Q,me);if(ee){var Fe=this.decodeSignBit(se,Re,ve);W[ve]=Fe,M[ve]=1,this.setNeighborsSignificance(se,Re,ve),J[ve]|=fe}de[ve]++,J[ve]|=pe}}}},{key:"decodeSignBit",value:function($,j,G){var M=this.width,W=this.height,z=this.coefficentsMagnitude,J=this.coefficentsSign,Q,K,de,oe,pe,fe;oe=j>0&&z[G-1]!==0,j+1<M&&z[G+1]!==0?(de=J[G+1],oe?(K=J[G-1],Q=1-de-K):Q=1-de-de):oe?(K=J[G-1],Q=1-K-K):Q=0;var ke=3*Q;return oe=$>0&&z[G-M]!==0,$+1<W&&z[G+M]!==0?(de=J[G+M],oe?(K=J[G-M],Q=1-de-K+ke):Q=1-de-de+ke):oe?(K=J[G-M],Q=1-K-K+ke):Q=ke,Q>=0?(pe=9+Q,fe=this.decoder.readBit(this.contexts,pe)):(pe=9-Q,fe=this.decoder.readBit(this.contexts,pe)^1),fe}},{key:"runMagnitudeRefinementPass",value:function(){for(var $=this.decoder,j=this.width,G=this.height,M=this.coefficentsMagnitude,W=this.neighborsSignificance,z=this.contexts,J=this.bitsDecoded,Q=this.processingFlags,K=1,de=2,oe=j*G,pe=j*4,fe=0,ke;fe<oe;fe=ke){ke=Math.min(oe,fe+pe);for(var Re=0;Re<j;Re++)for(var ve=fe+Re;ve<ke;ve+=j)if(!(!M[ve]||(Q[ve]&K)!=0)){var we=16;if((Q[ve]&de)!=0){Q[ve]^=de;var se=W[ve]&127;we=se===0?15:14}var me=$.readBit(z,we);M[ve]=M[ve]<<1|me,J[ve]++,Q[ve]|=K}}}},{key:"runCleanupPass",value:function(){for(var $=this.decoder,j=this.width,G=this.height,M=this.neighborsSignificance,W=this.coefficentsMagnitude,z=this.coefficentsSign,J=this.contexts,Q=this.contextLabelTable,K=this.bitsDecoded,de=this.processingFlags,oe=1,pe=2,fe=j,ke=j*2,Re=j*3,ve,we=0;we<G;we=ve){ve=Math.min(we+4,G);for(var se=we*j,me=we+3<G,ee=0;ee<j;ee++){var Fe=se+ee,Ee=me&&de[Fe]===0&&de[Fe+fe]===0&&de[Fe+ke]===0&&de[Fe+Re]===0&&M[Fe]===0&&M[Fe+fe]===0&&M[Fe+ke]===0&&M[Fe+Re]===0,Ce=0,De=Fe,_e=we,Ne=void 0;if(Ee){var $e=$.readBit(J,H);if(!$e){K[Fe]++,K[Fe+fe]++,K[Fe+ke]++,K[Fe+Re]++;continue}Ce=$.readBit(J,Y)<<1|$.readBit(J,Y),Ce!==0&&(_e=we+Ce,De+=Ce*j),Ne=this.decodeSignBit(_e,ee,De),z[De]=Ne,W[De]=1,this.setNeighborsSignificance(_e,ee,De),de[De]|=pe,De=Fe;for(var je=we;je<=_e;je++,De+=j)K[De]++;Ce++}for(_e=we+Ce;_e<ve;_e++,De+=j)if(!(W[De]||(de[De]&oe)!=0)){var Ve=Q[M[De]],Ke=$.readBit(J,Ve);Ke===1&&(Ne=this.decodeSignBit(_e,ee,De),z[De]=Ne,W[De]=1,this.setNeighborsSignificance(_e,ee,De),de[De]|=pe),K[De]++}}}}},{key:"checkSegmentationSymbol",value:function(){var $=this.decoder,j=this.contexts,G=$.readBit(j,Y)<<3|$.readBit(j,Y)<<2|$.readBit(j,Y)<<1|$.readBit(j,Y);if(G!==10)throw new re("Invalid segmentation symbol")}}]),ue}();return Se}(),I=function(){function _(){V(this,_),this.constructor===_&&(0,b.unreachable)("Cannot initialize Transform.")}return le(_,[{key:"calculate",value:function(H,Z,ne){for(var he=H[0],Se=1,ue=H.length;Se<ue;Se++)he=this.iterate(he,H[Se],Z,ne);return he}},{key:"extend",value:function(H,Z,ne){var he=Z-1,Se=Z+1,ue=Z+ne-2,te=Z+ne;H[he--]=H[Se++],H[te++]=H[ue--],H[he--]=H[Se++],H[te++]=H[ue--],H[he--]=H[Se++],H[te++]=H[ue--],H[he]=H[Se],H[te]=H[ue]}},{key:"filter",value:function(H,Z,ne){(0,b.unreachable)("Abstract method `filter` called")}},{key:"iterate",value:function(H,Z,ne,he){var Se=H.width,ue=H.height,te=H.items,$=Z.width,j=Z.height,G=Z.items,M,W,z,J,Q,K;for(z=0,M=0;M<ue;M++)for(J=M*2*$,W=0;W<Se;W++,z++,J+=2)G[J]=te[z];te=H.items=null;var de=4,oe=new Float32Array($+2*de);if($===1){if((ne&1)!=0)for(K=0,z=0;K<j;K++,z+=$)G[z]*=.5}else for(K=0,z=0;K<j;K++,z+=$)oe.set(G.subarray(z,z+$),de),this.extend(oe,de,$),this.filter(oe,de,$),G.set(oe.subarray(de,de+$),z);var pe=16,fe=[];for(M=0;M<pe;M++)fe.push(new Float32Array(j+2*de));var ke,Re=0;if(H=de+j,j===1){if((he&1)!=0)for(Q=0;Q<$;Q++)G[Q]*=.5}else for(Q=0;Q<$;Q++){if(Re===0){for(pe=Math.min($-Q,pe),z=Q,J=de;J<H;z+=$,J++)for(ke=0;ke<pe;ke++)fe[ke][J]=G[z+ke];Re=pe}Re--;var ve=fe[Re];if(this.extend(ve,de,j),this.filter(ve,de,j),Re===0)for(z=Q-pe+1,J=de;J<H;z+=$,J++)for(ke=0;ke<pe;ke++)G[z+ke]=fe[ke][J]}return{width:$,height:j,items:G}}}]),_}(),E=function(_){ye(H,_);var Y=xe(H);function H(){return V(this,H),Y.apply(this,arguments)}return le(H,[{key:"filter",value:function(ne,he,Se){var ue=Se>>1;he|=0;var te,$,j,G,M=-1.586134342059924,W=-.052980118572961,z=.882911075530934,J=.443506852043971,Q=1.230174104914001,K=1/Q;for(te=he-3,$=ue+4;$--;te+=2)ne[te]*=K;for(te=he-2,j=J*ne[te-1],$=ue+3;$--&&(G=J*ne[te+1],ne[te]=Q*ne[te]-j-G,$--);te+=2)te+=2,j=J*ne[te+1],ne[te]=Q*ne[te]-j-G;for(te=he-1,j=z*ne[te-1],$=ue+2;$--&&(G=z*ne[te+1],ne[te]-=j+G,$--);te+=2)te+=2,j=z*ne[te+1],ne[te]-=j+G;for(te=he,j=W*ne[te-1],$=ue+1;$--&&(G=W*ne[te+1],ne[te]-=j+G,$--);te+=2)te+=2,j=W*ne[te+1],ne[te]-=j+G;if(ue!==0)for(te=he+1,j=M*ne[te-1],$=ue;$--&&(G=M*ne[te+1],ne[te]-=j+G,$--);te+=2)te+=2,j=M*ne[te+1],ne[te]-=j+G}}]),H}(I),N=function(_){ye(H,_);var Y=xe(H);function H(){return V(this,H),Y.apply(this,arguments)}return le(H,[{key:"filter",value:function(ne,he,Se){var ue=Se>>1;he|=0;var te,$;for(te=he,$=ue+1;$--;te+=2)ne[te]-=ne[te-1]+ne[te+1]+2>>2;for(te=he+1,$=ue;$--;te+=2)ne[te]+=ne[te-1]+ne[te+1]>>1}}]),H}(I)},(Me,P,D)=>{"use strict";function T(q){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(X){return typeof X}:T=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},T(q)}Object.defineProperty(P,"__esModule",{value:!0}),P.LZWStream=void 0;var b=D(159);function t(q,re){if(!(q instanceof re))throw new TypeError("Cannot call a class as a function")}function e(q,re){for(var X=0;X<re.length;X++){var y=re[X];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(q,y.key,y)}}function ge(q,re,X){return re&&e(q.prototype,re),X&&e(q,X),q}function le(q,re){if(typeof re!="function"&&re!==null)throw new TypeError("Super expression must either be null or a function");q.prototype=Object.create(re&&re.prototype,{constructor:{value:q,writable:!0,configurable:!0}}),re&&V(q,re)}function V(q,re){return V=Object.setPrototypeOf||function(y,k){return y.__proto__=k,y},V(q,re)}function ye(q){var re=ae();return function(){var y=d(q),k;if(re){var n=d(this).constructor;k=Reflect.construct(y,arguments,n)}else k=y.apply(this,arguments);return be(this,k)}}function be(q,re){if(re&&(T(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xe(q)}function xe(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}function ae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(q){return!1}}function d(q){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(X){return X.__proto__||Object.getPrototypeOf(X)},d(q)}var ce=function(q){le(X,q);var re=ye(X);function X(y,k,n){var S;t(this,X),S=re.call(this,k),S.str=y,S.dict=y.dict,S.cachedData=0,S.bitsCached=0;for(var O=4096,w={earlyChange:n,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(O),dictionaryLengths:new Uint16Array(O),dictionaryPrevCodes:new Uint16Array(O),currentSequence:new Uint8Array(O),currentSequenceLength:0},p=0;p<256;++p)w.dictionaryValues[p]=p,w.dictionaryLengths[p]=1;return S.lzwState=w,S}return ge(X,[{key:"readBits",value:function(k){for(var n=this.bitsCached,S=this.cachedData;n<k;){var O=this.str.getByte();if(O===-1)return this.eof=!0,null;S=S<<8|O,n+=8}return this.bitsCached=n-=k,this.cachedData=S,this.lastCode=null,S>>>n&(1<<k)-1}},{key:"readBlock",value:function(){var k=512,n=k,S=k*2,O,w,p,x=this.lzwState;if(!!x){var f=x.earlyChange,h=x.nextCode,F=x.dictionaryValues,s=x.dictionaryLengths,g=x.dictionaryPrevCodes,l=x.codeLength,a=x.prevCode,i=x.currentSequence,m=x.currentSequenceLength,o=0,c=this.bufferLength,v=this.ensureBuffer(this.bufferLength+S);for(O=0;O<k;O++){var A=this.readBits(l),u=m>0;if(A<256)i[0]=A,m=1;else if(A>=258)if(A<h)for(m=s[A],w=m-1,p=A;w>=0;w--)i[w]=F[p],p=g[p];else i[m++]=i[0];else if(A===256){l=9,h=258,m=0;continue}else{this.eof=!0,delete this.lzwState;break}if(u&&(g[h]=a,s[h]=s[a]+1,F[h]=i[0],h++,l=h+f&h+f-1?l:Math.min(Math.log(h+f)/.6931471805599453+1,12)|0),a=A,o+=m,S<o){do S+=n;while(S<o);v=this.ensureBuffer(this.bufferLength+S)}for(w=0;w<m;w++)v[c++]=i[w]}x.nextCode=h,x.codeLength=l,x.prevCode=a,x.currentSequenceLength=m,this.bufferLength=c}}}]),X}(b.DecodeStream);P.LZWStream=ce},(Me,P,D)=>{"use strict";function T(X){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(k){return typeof k}:T=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},T(X)}Object.defineProperty(P,"__esModule",{value:!0}),P.PredictorStream=void 0;var b=D(159),t=D(4),e=D(135);function ge(X,y){if(!(X instanceof y))throw new TypeError("Cannot call a class as a function")}function le(X,y){for(var k=0;k<y.length;k++){var n=y[k];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(X,n.key,n)}}function V(X,y,k){return y&&le(X.prototype,y),k&&le(X,k),X}function ye(X,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");X.prototype=Object.create(y&&y.prototype,{constructor:{value:X,writable:!0,configurable:!0}}),y&&be(X,y)}function be(X,y){return be=Object.setPrototypeOf||function(n,S){return n.__proto__=S,n},be(X,y)}function xe(X){var y=ce();return function(){var n=q(X),S;if(y){var O=q(this).constructor;S=Reflect.construct(n,arguments,O)}else S=n.apply(this,arguments);return ae(this,S)}}function ae(X,y){if(y&&(T(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(X)}function d(X){if(X===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return X}function ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(X){return!1}}function q(X){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},q(X)}var re=function(X){ye(k,X);var y=xe(k);function k(n,S,O){var w;if(ge(this,k),w=y.call(this,S),!(0,e.isDict)(O))return ae(w,n);var p=w.predictor=O.get("Predictor")||1;if(p<=1)return ae(w,n);if(p!==2&&(p<10||p>15))throw new t.FormatError("Unsupported predictor: ".concat(p));p===2?w.readBlock=w.readBlockTiff:w.readBlock=w.readBlockPng,w.str=n,w.dict=n.dict;var x=w.colors=O.get("Colors")||1,f=w.bits=O.get("BPC","BitsPerComponent")||8,h=w.columns=O.get("Columns")||1;return w.pixBytes=x*f+7>>3,w.rowBytes=h*x*f+7>>3,ae(w,d(w))}return V(k,[{key:"readBlockTiff",value:function(){var S=this.rowBytes,O=this.bufferLength,w=this.ensureBuffer(O+S),p=this.bits,x=this.colors,f=this.str.getBytes(S);if(this.eof=!f.length,!this.eof){var h=0,F=0,s=0,g=0,l=O,a;if(p===1&&x===1)for(a=0;a<S;++a){var i=f[a]^h;i^=i>>1,i^=i>>2,i^=i>>4,h=(i&1)<<7,w[l++]=i}else if(p===8){for(a=0;a<x;++a)w[l++]=f[a];for(;a<S;++a)w[l]=w[l-x]+f[a],l++}else if(p===16){var m=x*2;for(a=0;a<m;++a)w[l++]=f[a];for(;a<S;a+=2){var o=((f[a]&255)<<8)+(f[a+1]&255)+((w[l-m]&255)<<8)+(w[l-m+1]&255);w[l++]=o>>8&255,w[l++]=o&255}}else{var c=new Uint8Array(x+1),v=(1<<p)-1,A=0,u=O,C=this.columns;for(a=0;a<C;++a)for(var I=0;I<x;++I)s<p&&(h=h<<8|f[A++]&255,s+=8),c[I]=c[I]+(h>>s-p)&v,s-=p,F=F<<p|c[I],g+=p,g>=8&&(w[u++]=F>>g-8&255,g-=8);g>0&&(w[u++]=(F<<8-g)+(h&(1<<8-g)-1))}this.bufferLength+=S}}},{key:"readBlockPng",value:function(){var S=this.rowBytes,O=this.pixBytes,w=this.str.getByte(),p=this.str.getBytes(S);if(this.eof=!p.length,!this.eof){var x=this.bufferLength,f=this.ensureBuffer(x+S),h=f.subarray(x-S,x);h.length===0&&(h=new Uint8Array(S));var F,s=x,g,l;switch(w){case 0:for(F=0;F<S;++F)f[s++]=p[F];break;case 1:for(F=0;F<O;++F)f[s++]=p[F];for(;F<S;++F)f[s]=f[s-O]+p[F]&255,s++;break;case 2:for(F=0;F<S;++F)f[s++]=h[F]+p[F]&255;break;case 3:for(F=0;F<O;++F)f[s++]=(h[F]>>1)+p[F];for(;F<S;++F)f[s]=(h[F]+f[s-O]>>1)+p[F]&255,s++;break;case 4:for(F=0;F<O;++F)g=h[F],l=p[F],f[s++]=g+l;for(;F<S;++F){g=h[F];var a=h[F-O],i=f[s-O],m=i+g-a,o=m-i;o<0&&(o=-o);var c=m-g;c<0&&(c=-c);var v=m-a;v<0&&(v=-v),l=p[F],o<=c&&o<=v?f[s++]=i+l:c<=v?f[s++]=g+l:f[s++]=a+l}break;default:throw new t.FormatError("Unsupported predictor: ".concat(w))}this.bufferLength+=S}}}]),k}(b.DecodeStream);P.PredictorStream=re},(Me,P,D)=>{"use strict";function T(q){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(X){return typeof X}:T=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},T(q)}Object.defineProperty(P,"__esModule",{value:!0}),P.RunLengthStream=void 0;var b=D(159);function t(q,re){if(!(q instanceof re))throw new TypeError("Cannot call a class as a function")}function e(q,re){for(var X=0;X<re.length;X++){var y=re[X];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(q,y.key,y)}}function ge(q,re,X){return re&&e(q.prototype,re),X&&e(q,X),q}function le(q,re){if(typeof re!="function"&&re!==null)throw new TypeError("Super expression must either be null or a function");q.prototype=Object.create(re&&re.prototype,{constructor:{value:q,writable:!0,configurable:!0}}),re&&V(q,re)}function V(q,re){return V=Object.setPrototypeOf||function(y,k){return y.__proto__=k,y},V(q,re)}function ye(q){var re=ae();return function(){var y=d(q),k;if(re){var n=d(this).constructor;k=Reflect.construct(y,arguments,n)}else k=y.apply(this,arguments);return be(this,k)}}function be(q,re){if(re&&(T(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xe(q)}function xe(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}function ae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(q){return!1}}function d(q){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(X){return X.__proto__||Object.getPrototypeOf(X)},d(q)}var ce=function(q){le(X,q);var re=ye(X);function X(y,k){var n;return t(this,X),n=re.call(this,k),n.str=y,n.dict=y.dict,n}return ge(X,[{key:"readBlock",value:function(){var k=this.str.getBytes(2);if(!k||k.length<2||k[0]===128){this.eof=!0;return}var n,S=this.bufferLength,O=k[0];if(O<128){if(n=this.ensureBuffer(S+O+1),n[S++]=k[1],O>0){var w=this.str.getBytes(O);n.set(w,S),S+=O}}else{O=257-O;var p=k[1];n=this.ensureBuffer(S+O+1);for(var x=0;x<O;x++)n[S++]=p}this.bufferLength=S}}]),X}(b.DecodeStream);P.RunLengthStream=ce},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.Font=P.ErrorFont=void 0;var T=D(4),b=D(175),t=D(148),e=D(150),ge=D(149),le=D(177),V=D(151),ye=D(178),be=D(179),xe=D(180),ae=D(181),d=D(156),ce=D(182),q=D(139),re=D(140),X=D(183);function y(K,de){return S(K)||n(K,de)||w(K,de)||k()}function k(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n(K,de){var oe=K==null?null:typeof Symbol!="undefined"&&K[Symbol.iterator]||K["@@iterator"];if(oe!=null){var pe=[],fe=!0,ke=!1,Re,ve;try{for(oe=oe.call(K);!(fe=(Re=oe.next()).done)&&(pe.push(Re.value),!(de&&pe.length===de));fe=!0);}catch(we){ke=!0,ve=we}finally{try{!fe&&oe.return!=null&&oe.return()}finally{if(ke)throw ve}}return pe}}function S(K){if(Array.isArray(K))return K}function O(K,de){var oe=typeof Symbol!="undefined"&&K[Symbol.iterator]||K["@@iterator"];if(!oe){if(Array.isArray(K)||(oe=w(K))||de&&K&&typeof K.length=="number"){oe&&(K=oe);var pe=0,fe=function(){};return{s:fe,n:function(){return pe>=K.length?{done:!0}:{done:!1,value:K[pe++]}},e:function(se){throw se},f:fe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ke=!0,Re=!1,ve;return{s:function(){oe=oe.call(K)},n:function(){var se=oe.next();return ke=se.done,se},e:function(se){Re=!0,ve=se},f:function(){try{!ke&&oe.return!=null&&oe.return()}finally{if(Re)throw ve}}}}function w(K,de){if(!!K){if(typeof K=="string")return p(K,de);var oe=Object.prototype.toString.call(K).slice(8,-1);if(oe==="Object"&&K.constructor&&(oe=K.constructor.name),oe==="Map"||oe==="Set")return Array.from(K);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return p(K,de)}}function p(K,de){(de==null||de>K.length)&&(de=K.length);for(var oe=0,pe=new Array(de);oe<de;oe++)pe[oe]=K[oe];return pe}function x(K,de){if(!(K instanceof de))throw new TypeError("Cannot call a class as a function")}function f(K,de){for(var oe=0;oe<de.length;oe++){var pe=de[oe];pe.enumerable=pe.enumerable||!1,pe.configurable=!0,"value"in pe&&(pe.writable=!0),Object.defineProperty(K,pe.key,pe)}}function h(K,de,oe){return de&&f(K.prototype,de),oe&&f(K,oe),K}var F=[[57344,63743],[1048576,1114109]],s=1e3,g=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","fontType","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","type","vertical"],l=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function a(K){if(!!K.fontMatrix&&K.fontMatrix[0]!==T.FONT_IDENTITY_MATRIX[0]){var de=.001/K.fontMatrix[0],oe=K.widths;for(var pe in oe)oe[pe]*=de;K.defaultWidth*=de}}function i(K,de){if(!K.isInternalFont&&de!==K.defaultEncoding&&!(K.toUnicode instanceof ye.IdentityToUnicodeMap)){var oe=[],pe=(0,e.getGlyphsUnicode)();for(var fe in de){if(K.hasIncludedToUnicodeMap){if(K.toUnicode.has(fe))continue}else if(K.hasEncoding&&(K.differences.length===0||K.differences[fe]!==void 0))continue;var ke=de[fe],Re=(0,V.getUnicodeForGlyph)(ke,pe);Re!==-1&&(oe[fe]=String.fromCharCode(Re))}oe.length>0&&K.toUnicode.amend(oe)}}function m(K){if(!!K.fallbackToUnicode&&!(K.toUnicode instanceof ye.IdentityToUnicodeMap)){var de=[];for(var oe in K.fallbackToUnicode)K.toUnicode.has(oe)||(de[oe]=K.fallbackToUnicode[oe]);de.length>0&&K.toUnicode.amend(de)}}var o=function(){function K(de,oe,pe,fe,ke,Re,ve,we,se){x(this,K),this.originalCharCode=de,this.fontChar=oe,this.unicode=pe,this.accent=fe,this.width=ke,this.vmetric=Re,this.operatorListId=ve,this.isSpace=we,this.isInFont=se}return h(K,[{key:"matchesForCache",value:function(oe,pe,fe,ke,Re,ve,we,se,me){return this.originalCharCode===oe&&this.fontChar===pe&&this.unicode===fe&&this.accent===ke&&this.width===Re&&this.vmetric===ve&&this.operatorListId===we&&this.isSpace===se&&this.isInFont===me}}]),K}();function c(K,de){return(K<<8)+de}function v(K,de,oe){K[de+1]=oe,K[de]=oe>>>8}function A(K,de){var oe=(K<<8)+de;return oe&1<<15?oe-65536:oe}function u(K,de,oe,pe){return(K<<24)+(de<<16)+(oe<<8)+pe}function C(K){return String.fromCharCode(K>>8&255,K&255)}function I(K){return K>32767?K=32767:K<-32768&&(K=-32768),String.fromCharCode(K>>8&255,K&255)}function E(K){var de=K.peekBytes(4);return(0,q.readUint32)(de,0)===65536||(0,T.bytesToString)(de)==="true"}function N(K){var de=K.peekBytes(4);return(0,T.bytesToString)(de)==="ttcf"}function _(K){var de=K.peekBytes(4);return(0,T.bytesToString)(de)==="OTTO"}function Y(K){var de=K.peekBytes(2);return de[0]===37&&de[1]===33||de[0]===128&&de[1]===1}function H(K){var de=K.peekBytes(4);return de[0]>=1&&de[3]>=1&&de[3]<=4}function Z(K,de){var oe=de.type,pe=de.subtype,fe=de.composite,ke,Re;return E(K)||N(K)?fe?ke="CIDFontType2":ke="TrueType":_(K)?fe?ke="CIDFontType2":ke="OpenType":Y(K)?fe?ke="CIDFontType0":ke=oe==="MMType1"?"MMType1":"Type1":H(K)?fe?(ke="CIDFontType0",Re="CIDFontType0C"):(ke=oe==="MMType1"?"MMType1":"Type1",Re="Type1C"):((0,T.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),ke=oe,Re=pe),[ke,Re]}function ne(K,de){for(var oe in de)K[+oe]=de[oe]}function he(K,de,oe){for(var pe=[],fe,ke=0,Re=K.length;ke<Re;ke++)fe=(0,V.getUnicodeForGlyph)(K[ke],de),fe!==-1&&(pe[ke]=fe);for(var ve in oe)fe=(0,V.getUnicodeForGlyph)(oe[ve],de),fe!==-1&&(pe[+ve]=fe);return pe}function Se(K,de){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;switch(de.length){case 1:return de.charCodeAt(0);case 2:return de.charCodeAt(0)<<8|de.charCodeAt(1)}var pe="Unsupported CID string (charCode ".concat(K,'): "').concat(de,'".');if(oe)throw new T.FormatError(pe);return(0,T.warn)(pe),de}function ue(K,de,oe){var pe=Object.create(null),fe=[],ke=0,Re=F[ke][0],ve=F[ke][1];for(var we in K){we|=0;var se=K[we];if(!!de(se)){if(Re>ve){if(ke++,ke>=F.length){(0,T.warn)("Ran out of space in font private use area.");break}Re=F[ke][0],ve=F[ke][1]}var me=Re++;se===0&&(se=oe),pe[me]=se,fe[we]=me}}return{toFontChar:fe,charCodeToGlyphId:pe,nextAvailableFontCharCode:Re}}function te(K,de){var oe=[];for(var pe in K)K[pe]>=de||oe.push({fontCharCode:pe|0,glyphId:K[pe]});oe.length===0&&oe.push({fontCharCode:0,glyphId:0}),oe.sort(function(ee,Fe){return ee.fontCharCode-Fe.fontCharCode});for(var fe=[],ke=oe.length,Re=0;Re<ke;){var ve=oe[Re].fontCharCode,we=[oe[Re].glyphId];++Re;for(var se=ve;Re<ke&&se+1===oe[Re].fontCharCode&&(we.push(oe[Re].glyphId),++se,++Re,se!==65535););fe.push([ve,se,we])}return fe}function $(K,de){var oe=te(K,de),pe=oe[oe.length-1][1]>65535?2:1,fe="\0\0"+C(pe)+"\0\0"+(0,T.string32)(4+pe*8),ke,Re,ve,we;for(ke=oe.length-1;ke>=0&&!(oe[ke][0]<=65535);--ke);var se=ke+1;oe[ke][0]<65535&&oe[ke][1]===65535&&(oe[ke][1]=65534);var me=oe[ke][1]<65535?1:0,ee=se+me,Fe=ce.OpenTypeFileBuilder.getSearchParams(ee,2),Ee="",Ce="",De="",_e="",Ne="",$e=0,je,Ve,Ke,Qe;for(ke=0,Re=se;ke<Re;ke++){je=oe[ke],Ve=je[0],Ke=je[1],Ee+=C(Ve),Ce+=C(Ke),Qe=je[2];var Ze=!0;for(ve=1,we=Qe.length;ve<we;++ve)if(Qe[ve]!==Qe[ve-1]+1){Ze=!1;break}if(Ze){var ct=Qe[0];De+=C(ct-Ve&65535),_e+=C(0)}else{var ze=(ee-ke)*2+$e*2;for($e+=Ke-Ve+1,De+=C(0),_e+=C(ze),ve=0,we=Qe.length;ve<we;++ve)Ne+=C(Qe[ve])}}me>0&&(Ce+="\xFF\xFF",Ee+="\xFF\xFF",De+="\0",_e+="\0\0");var Je="\0\0"+C(2*ee)+C(Fe.range)+C(Fe.entry)+C(Fe.rangeShift)+Ce+"\0\0"+Ee+De+_e+Ne,gt="",xt="";if(pe>1){for(fe+=`\0\0
`+(0,T.string32)(4+pe*8+4+Je.length),gt="",ke=0,Re=oe.length;ke<Re;ke++){je=oe[ke],Ve=je[0],Qe=je[2];var tt=Qe[0];for(ve=1,we=Qe.length;ve<we;++ve)Qe[ve]!==Qe[ve-1]+1&&(Ke=je[0]+ve-1,gt+=(0,T.string32)(Ve)+(0,T.string32)(Ke)+(0,T.string32)(tt),Ve=Ke+1,tt=Qe[ve]);gt+=(0,T.string32)(Ve)+(0,T.string32)(je[1])+(0,T.string32)(tt)}xt="\0\f\0\0"+(0,T.string32)(gt.length+16)+"\0\0\0\0"+(0,T.string32)(gt.length/12)}return fe+"\0"+C(Je.length+4)+Je+xt+gt}function j(K,de){de.pos=(de.start||0)+K.offset;var oe=de.getUint16();de.skip(60);var pe=de.getUint16();if(oe<4&&pe&768)return!1;var fe=de.getUint16(),ke=de.getUint16();if(fe>ke)return!1;de.skip(6);var Re=de.getUint16();return Re===0?!1:(K.data[8]=K.data[9]=0,!0)}function G(K,de,oe){oe=oe||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};var pe=0,fe=0,ke=0,Re=0,ve=null,we=0;if(de){for(var se in de){se|=0,(ve>se||!ve)&&(ve=se),we<se&&(we=se);var me=(0,V.getUnicodeRangeFor)(se);if(me<32)pe|=1<<me;else if(me<64)fe|=1<<me-32;else if(me<96)ke|=1<<me-64;else if(me<123)Re|=1<<me-96;else throw new T.FormatError("Unicode ranges Bits > 123 are reserved for internal usage")}we>65535&&(we=65535)}else ve=0,we=255;var ee=K.bbox||[0,0,0,0],Fe=oe.unitsPerEm||1/(K.fontMatrix||T.FONT_IDENTITY_MATRIX)[0],Ee=K.ascentScaled?1:Fe/s,Ce=oe.ascent||Math.round(Ee*(K.ascent||ee[3])),De=oe.descent||Math.round(Ee*(K.descent||ee[1]));De>0&&K.descent>0&&ee[1]<0&&(De=-De);var _e=oe.yMax||Ce,Ne=-oe.yMin||-De;return"\0$\xF4\0\0\0\x8A\xBB\0\0\0\x8C\x8A\xBB\0\0\xDF\x001\0\0\0\0"+String.fromCharCode(K.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,T.string32)(pe)+(0,T.string32)(fe)+(0,T.string32)(ke)+(0,T.string32)(Re)+"*21*"+C(K.italicAngle?1:0)+C(ve||K.firstChar)+C(we||K.lastChar)+C(Ce)+C(De)+"\0d"+C(_e)+C(Ne)+"\0\0\0\0\0\0\0\0"+C(K.xHeight)+C(K.capHeight)+C(0)+C(ve||K.firstChar)+"\0"}function M(K){var de=Math.floor(K.italicAngle*Math.pow(2,16));return"\0\0\0"+(0,T.string32)(de)+"\0\0\0\0"+(0,T.string32)(K.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function W(K){return K.replace(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function z(K,de){de||(de=[[],[]]);var oe=[de[0][0]||"Original licence",de[0][1]||K,de[0][2]||"Unknown",de[0][3]||"uniqueID",de[0][4]||K,de[0][5]||"Version 0.11",de[0][6]||W(K),de[0][7]||"Unknown",de[0][8]||"Unknown",de[0][9]||"Unknown"],pe=[],fe,ke,Re,ve,we;for(fe=0,ke=oe.length;fe<ke;fe++){we=de[1][fe]||oe[fe];var se=[];for(Re=0,ve=we.length;Re<ve;Re++)se.push(C(we.charCodeAt(Re)));pe.push(se.join(""))}var me=[oe,pe],ee=["\0","\0"],Fe=["\0\0","\0"],Ee=["\0\0"," "],Ce=oe.length*ee.length,De="\0\0"+C(Ce)+C(Ce*12+6),_e=0;for(fe=0,ke=ee.length;fe<ke;fe++){var Ne=me[fe];for(Re=0,ve=Ne.length;Re<ve;Re++){we=Ne[Re];var $e=ee[fe]+Fe[fe]+Ee[fe]+C(Re)+C(we.length)+C(_e);De+=$e,_e+=we.length}}return De+=oe.join("")+pe.join(""),De}var J=function(){function K(de,oe,pe){x(this,K),this.name=de,this.psName=null,this.mimetype=null,this.disableFontFace=!1,this.loadedName=pe.loadedName,this.isType3Font=pe.isType3Font,this.missingFile=!1,this.cssFontInfo=pe.cssFontInfo,this._charsCache=Object.create(null),this._glyphCache=Object.create(null);var fe=!!(pe.flags&t.FontFlags.Serif);if(!fe&&!pe.isSimulatedFlags){var ke=de.replace(/[,_]/g,"-").split("-")[0],Re=(0,le.getSerifFonts)(),ve=O(ke.split("+")),we;try{for(ve.s();!(we=ve.n()).done;){var se=we.value;if(Re[se]){fe=!0;break}}}catch($e){ve.e($e)}finally{ve.f()}}this.isSerifFont=fe,this.isSymbolicFont=!!(pe.flags&t.FontFlags.Symbolic),this.isMonospace=!!(pe.flags&t.FontFlags.FixedPitch);var me=pe.type,ee=pe.subtype;this.type=me,this.subtype=ee;var Fe="sans-serif";if(this.isMonospace?Fe="monospace":this.isSerifFont&&(Fe="serif"),this.fallbackName=Fe,this.differences=pe.differences,this.widths=pe.widths,this.defaultWidth=pe.defaultWidth,this.composite=pe.composite,this.cMap=pe.cMap,this.capHeight=pe.capHeight/s,this.ascent=pe.ascent/s,this.descent=pe.descent/s,this.lineHeight=this.ascent-this.descent,this.fontMatrix=pe.fontMatrix,this.bbox=pe.bbox,this.defaultEncoding=pe.defaultEncoding,this.toUnicode=pe.toUnicode,this.toFontChar=[],pe.type==="Type3"){for(var Ee=0;Ee<256;Ee++)this.toFontChar[Ee]=this.differences[Ee]||pe.defaultEncoding[Ee];this.fontType=T.FontType.TYPE3;return}if(this.cidEncoding=pe.cidEncoding||"",this.vertical=!!pe.vertical,this.vertical&&(this.vmetrics=pe.vmetrics,this.defaultVMetrics=pe.defaultVMetrics),!oe||oe.isEmpty){oe&&(0,T.warn)('Font file is empty in "'+de+'" ('+this.loadedName+")"),this.fallbackToSystemFont(pe);return}var Ce=Z(oe,pe),De=y(Ce,2);me=De[0],ee=De[1],(me!==this.type||ee!==this.subtype)&&(0,T.info)("Inconsistent font file Type/SubType, expected: "+"".concat(this.type,"/").concat(this.subtype," but found: ").concat(me,"/").concat(ee,"."));var _e;try{switch(me){case"MMType1":(0,T.info)("MMType1 font ("+de+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var Ne=ee==="Type1C"||ee==="CIDFontType0C"?new be.CFFFont(oe,pe):new X.Type1Font(de,oe,pe);a(pe),_e=this.convert(de,Ne,pe);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",_e=this.checkAndRepair(de,oe,pe),this.isOpenType&&(a(pe),me="OpenType");break;default:throw new T.FormatError("Font ".concat(me," is not supported"))}}catch($e){(0,T.warn)($e),this.fallbackToSystemFont(pe);return}m(pe),this.data=_e,this.fontType=(0,t.getFontType)(me,ee,pe.isStandardFont),this.fontMatrix=pe.fontMatrix,this.widths=pe.widths,this.defaultWidth=pe.defaultWidth,this.toUnicode=pe.toUnicode,this.seacMap=pe.seacMap}return h(K,[{key:"renderer",get:function(){var oe=xe.FontRendererFactory.create(this,t.SEAC_ANALYSIS_ENABLED);return(0,T.shadow)(this,"renderer",oe)}},{key:"exportData",value:function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,pe=oe?[].concat(g,l):g,fe=Object.create(null),ke,Re,ve=O(pe),we;try{for(ve.s();!(we=ve.n()).done;)ke=we.value,Re=this[ke],Re!==void 0&&(fe[ke]=Re)}catch(se){ve.e(se)}finally{ve.f()}return fe}},{key:"fallbackToSystemFont",value:function(oe){var pe=this;this.missingFile=!0;var fe=this.name,ke=this.type,Re=this.subtype,ve=(0,t.normalizeFontName)(fe),we=(0,le.getStdFontMap)(),se=(0,le.getNonStdFontMap)(),me=!!we[ve],ee=!!(se[ve]&&we[se[ve]]);ve=we[ve]||se[ve]||ve,this.bold=ve.search(/bold/gi)!==-1,this.italic=ve.search(/oblique/gi)!==-1||ve.search(/italic/gi)!==-1,this.black=fe.search(/Black/g)!==-1;var Fe=fe.search(/Narrow/g)!==-1;if(this.remeasure=(!me||Fe)&&Object.keys(this.widths).length>0,(me||ee)&&ke==="CIDFontType2"&&this.cidEncoding.startsWith("Identity-")){var Ee=oe.cidToGidMap,Ce=[];if(ne(Ce,(0,le.getGlyphMapForStandardFonts)()),/Arial-?Black/i.test(fe)?ne(Ce,(0,le.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(fe)&&ne(Ce,(0,le.getSupplementalGlyphMapForCalibri)()),Ee){for(var De in Ce){var _e=Ce[De];Ee[_e]!==void 0&&(Ce[+De]=Ee[_e])}Ee.length!==this.toUnicode.length&&oe.hasIncludedToUnicodeMap&&this.toUnicode instanceof ye.IdentityToUnicodeMap&&this.toUnicode.forEach(function(Ve,Ke){var Qe=Ce[Ve];Ee[Qe]===void 0&&(Ce[+Ve]=Ke)})}this.toUnicode instanceof ye.IdentityToUnicodeMap||this.toUnicode.forEach(function(Ve,Ke){Ce[+Ve]=Ke}),this.toFontChar=Ce,this.toUnicode=new ye.ToUnicodeMap(Ce)}else if(/Symbol/i.test(ve))this.toFontChar=he(ge.SymbolSetEncoding,(0,e.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(ve))/Wingdings/i.test(fe)&&(0,T.warn)("Non-embedded Wingdings font, falling back to ZapfDingbats."),this.toFontChar=he(ge.ZapfDingbatsEncoding,(0,e.getDingbatsGlyphsUnicode)(),this.differences);else if(me){var Ne=he(this.defaultEncoding,(0,e.getGlyphsUnicode)(),this.differences);ke==="CIDFontType2"&&!this.cidEncoding.startsWith("Identity-")&&!(this.toUnicode instanceof ye.IdentityToUnicodeMap)&&this.toUnicode.forEach(function(Ve,Ke){Ne[+Ve]=Ke}),this.toFontChar=Ne}else{var $e=(0,e.getGlyphsUnicode)(),je=[];this.toUnicode.forEach(function(Ve,Ke){if(!pe.composite){var Qe=pe.differences[Ve]||pe.defaultEncoding[Ve],Ze=(0,V.getUnicodeForGlyph)(Qe,$e);Ze!==-1&&(Ke=Ze)}je[+Ve]=Ke}),this.composite&&this.toUnicode instanceof ye.IdentityToUnicodeMap&&/Verdana/i.test(fe)&&ne(je,(0,le.getGlyphMapForStandardFonts)()),this.toFontChar=je}m(oe),this.loadedName=ve.split("-")[0],this.fontType=(0,t.getFontType)(ke,Re,oe.isStandardFont)}},{key:"checkAndRepair",value:function(oe,pe,fe){var ke=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function Re(wt,vt){var St=Object.create(null);St["OS/2"]=null,St.cmap=null,St.head=null,St.hhea=null,St.hmtx=null,St.maxp=null,St.name=null,St.post=null;for(var Et=0;Et<vt;Et++){var Mt=ve(wt);!ke.includes(Mt.tag)||Mt.length!==0&&(St[Mt.tag]=Mt)}return St}function ve(wt){var vt=wt.getString(4),St=wt.getInt32()>>>0,Et=wt.getInt32()>>>0,Mt=wt.getInt32()>>>0,jt=wt.pos;wt.pos=wt.start?wt.start:0,wt.skip(Et);var Gt=wt.getBytes(Mt);return wt.pos=jt,vt==="head"&&(Gt[8]=Gt[9]=Gt[10]=Gt[11]=0,Gt[17]|=32),{tag:vt,checksum:St,length:Mt,offset:Et,data:Gt}}function we(wt){return{version:wt.getString(4),numTables:wt.getUint16(),searchRange:wt.getUint16(),entrySelector:wt.getUint16(),rangeShift:wt.getUint16()}}function se(wt){var vt=wt.getString(4);(0,T.assert)(vt==="ttcf","Must be a TrueType Collection font.");for(var St=wt.getUint16(),Et=wt.getUint16(),Mt=wt.getInt32()>>>0,jt=[],Gt=0;Gt<Mt;Gt++)jt.push(wt.getInt32()>>>0);var Tt={ttcTag:vt,majorVersion:St,minorVersion:Et,numFonts:Mt,offsetTable:jt};switch(St){case 1:return Tt;case 2:return Tt.dsigTag=wt.getInt32()>>>0,Tt.dsigLength=wt.getInt32()>>>0,Tt.dsigOffset=wt.getInt32()>>>0,Tt}throw new T.FormatError("Invalid TrueType Collection majorVersion: ".concat(St,"."))}function me(wt,vt){for(var St=se(wt),Et=St.numFonts,Mt=St.offsetTable,jt=vt.split("+"),Gt,Tt=0;Tt<Et;Tt++){wt.pos=(wt.start||0)+Mt[Tt];var sr=we(wt),tr=Re(wt,sr.numTables);if(!tr.name)throw new T.FormatError('TrueType Collection font must contain a "name" table.');for(var rr=Ne(tr.name),Ht=0,Ar=rr.length;Ht<Ar;Ht++)for(var dr=0,lr=rr[Ht].length;dr<lr;dr++){var Be=rr[Ht][dr]&&rr[Ht][dr].replace(/\s/g,"");if(!!Be){if(Be===vt)return{header:sr,tables:tr};if(!(jt.length<2)){var Ae=O(jt),R;try{for(Ae.s();!(R=Ae.n()).done;){var Ye=R.value;Be===Ye&&(Gt={name:Ye,header:sr,tables:tr})}}catch(Te){Ae.e(Te)}finally{Ae.f()}}}}}if(Gt)return(0,T.warn)('TrueType Collection does not contain "'.concat(vt,'" font, ')+'falling back to "'.concat(Gt.name,'" font instead.')),{header:Gt.header,tables:Gt.tables};throw new T.FormatError('TrueType Collection does not contain "'.concat(vt,'" font.'))}function ee(wt,vt,St,Et){if(!wt)return(0,T.warn)("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var Mt,jt=(vt.start?vt.start:0)+wt.offset;vt.pos=jt,vt.skip(2);for(var Gt=vt.getUint16(),Tt,sr=!1,tr=0;tr<Gt;tr++){var rr=vt.getUint16(),Ht=vt.getUint16(),Ar=vt.getInt32()>>>0,dr=!1;if(!(Tt&&Tt.platformId===rr&&Tt.encodingId===Ht)){if(rr===0&&(Ht===0||Ht===1||Ht===3))dr=!0;else if(rr===1&&Ht===0)dr=!0;else if(rr===3&&Ht===1&&(Et||!Tt))dr=!0,St||(sr=!0);else if(St&&rr===3&&Ht===0){dr=!0;var lr=!0;if(tr<Gt-1){var Be=vt.peekBytes(2),Ae=c(Be[0],Be[1]);Ae<rr&&(lr=!1)}lr&&(sr=!0)}if(dr&&(Tt={platformId:rr,encodingId:Ht,offset:Ar}),sr)break}}if(Tt&&(vt.pos=jt+Tt.offset),!Tt||vt.peekByte()===-1)return(0,T.warn)("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var R=vt.getUint16();vt.skip(2+2);var Ye=!1,Te=[],zt,Yt;if(R===0){for(zt=0;zt<256;zt++){var cr=vt.getByte();!cr||Te.push({charCode:zt,glyphId:cr})}Ye=!0}else if(R===2){for(var Pe=[],Oe=0,U=0;U<256;U++){var L=vt.getUint16()>>3;Pe.push(L),Oe=Math.max(L,Oe)}for(var r=[],Le=0;Le<=Oe;Le++)r.push({firstCode:vt.getUint16(),entryCount:vt.getUint16(),idDelta:A(vt.getByte(),vt.getByte()),idRangePos:vt.pos+vt.getUint16()});for(var Xe=0;Xe<256;Xe++)if(Pe[Xe]===0)vt.pos=r[0].idRangePos+2*Xe,Yt=vt.getUint16(),Te.push({charCode:Xe,glyphId:Yt});else{var at=r[Pe[Xe]];for(zt=0;zt<at.entryCount;zt++){var lt=(Xe<<8)+zt+at.firstCode;vt.pos=at.idRangePos+2*zt,Yt=vt.getUint16(),Yt!==0&&(Yt=(Yt+at.idDelta)%65536),Te.push({charCode:lt,glyphId:Yt})}}}else if(R===4){var Ot=vt.getUint16()>>1;vt.skip(6);var Ct=[],At;for(At=0;At<Ot;At++)Ct.push({end:vt.getUint16()});for(vt.skip(2),At=0;At<Ot;At++)Ct[At].start=vt.getUint16();for(At=0;At<Ot;At++)Ct[At].delta=vt.getUint16();var Vt=0,Wt;for(At=0;At<Ot;At++){Mt=Ct[At];var Zt=vt.getUint16();if(!Zt){Mt.offsetIndex=-1;continue}Wt=(Zt>>1)-(Ot-At),Mt.offsetIndex=Wt,Vt=Math.max(Vt,Wt+Mt.end-Mt.start+1)}var er=[];for(zt=0;zt<Vt;zt++)er.push(vt.getUint16());for(At=0;At<Ot;At++){Mt=Ct[At],jt=Mt.start;var or=Mt.end,Ir=Mt.delta;for(Wt=Mt.offsetIndex,zt=jt;zt<=or;zt++)zt!==65535&&(Yt=Wt<0?zt:er[Wt+zt-jt],Yt=Yt+Ir&65535,Te.push({charCode:zt,glyphId:Yt}))}}else if(R===6){var kr=vt.getUint16(),Mr=vt.getUint16();for(zt=0;zt<Mr;zt++){Yt=vt.getUint16();var Xr=kr+zt;Te.push({charCode:Xr,glyphId:Yt})}}else return(0,T.warn)("cmap table has unsupported format: "+R),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};Te.sort(function(Wr,_r){return Wr.charCode-_r.charCode});for(var jr=1;jr<Te.length;jr++)Te[jr-1].charCode===Te[jr].charCode&&(Te.splice(jr,1),jr--);return{platformId:Tt.platformId,encodingId:Tt.encodingId,mappings:Te,hasShortCmap:Ye}}function Fe(wt,vt,St,Et,Mt,jt){if(!vt){St&&(St.data=null);return}wt.pos=(wt.start?wt.start:0)+vt.offset,wt.pos+=4,wt.pos+=2,wt.pos+=2,wt.pos+=2,wt.pos+=2,wt.pos+=2,wt.pos+=2,wt.pos+=2,wt.pos+=2,wt.pos+=2;var Gt=wt.getUint16();wt.pos+=8,wt.pos+=2;var Tt=wt.getUint16();if(Gt!==0){var sr=c(Et.data[44],Et.data[45]);sr&2||(vt.data[22]=0,vt.data[23]=0)}Tt>Mt&&((0,T.info)("The numOfMetrics (".concat(Tt,") should not be ")+"greater than the numGlyphs (".concat(Mt,").")),Tt=Mt,vt.data[34]=(Tt&65280)>>8,vt.data[35]=Tt&255);var tr=Mt-Tt,rr=tr-(St.length-Tt*4>>1);if(rr>0){var Ht=new Uint8Array(St.length+rr*2);Ht.set(St.data),jt&&(Ht[St.length]=St.data[2],Ht[St.length+1]=St.data[3]),St.data=Ht}}function Ee(wt,vt,St,Et,Mt,jt){var Gt={length:0,sizeOfInstructions:0};if(St-vt<=12)return Gt;var Tt=wt.subarray(vt,St),sr=A(Tt[0],Tt[1]);if(sr<0)return sr=-1,v(Tt,0,sr),Et.set(Tt,Mt),Gt.length=Tt.length,Gt;var tr,rr=10,Ht=0;for(tr=0;tr<sr;tr++){var Ar=Tt[rr]<<8|Tt[rr+1];Ht=Ar+1,rr+=2}var dr=rr,lr=Tt[rr]<<8|Tt[rr+1];Gt.sizeOfInstructions=lr,rr+=2+lr;var Be=rr,Ae=0;for(tr=0;tr<Ht;tr++){var R=Tt[rr++];R&192&&(Tt[rr-1]=R&63);var Ye=2;R&2?Ye=1:R&16&&(Ye=0);var Te=2;R&4?Te=1:R&32&&(Te=0);var zt=Ye+Te;if(Ae+=zt,R&8){var Yt=Tt[rr++];tr+=Yt,Ae+=Yt*zt}}if(Ae===0)return Gt;var cr=rr+Ae;return cr>Tt.length?Gt:!jt&&lr>0?(Et.set(Tt.subarray(0,dr),Mt),Et.set([0,0],Mt+dr),Et.set(Tt.subarray(Be,cr),Mt+dr+2),cr-=lr,Tt.length-cr>3&&(cr=cr+3&~3),Gt.length=cr,Gt):Tt.length-cr>3?(cr=cr+3&~3,Et.set(Tt.subarray(0,cr),Mt),Gt.length=cr,Gt):(Et.set(Tt,Mt),Gt.length=Tt.length,Gt)}function Ce(wt,vt,St){var Et=wt.data,Mt=u(Et[0],Et[1],Et[2],Et[3]);Mt>>16!=1&&((0,T.info)("Attempting to fix invalid version in head table: "+Mt),Et[0]=0,Et[1]=1,Et[2]=0,Et[3]=0);var jt=c(Et[50],Et[51]);if(jt<0||jt>1){(0,T.info)("Attempting to fix invalid indexToLocFormat in head table: "+jt);var Gt=vt+1;if(St===Gt<<1)Et[50]=0,Et[51]=0;else if(St===Gt<<2)Et[50]=0,Et[51]=1;else throw new T.FormatError("Could not fix indexToLocFormat: "+jt)}}function De(wt,vt,St,Et,Mt,jt,Gt){var Tt,sr,tr;Et?(Tt=4,sr=function(r,Le){return r[Le]<<24|r[Le+1]<<16|r[Le+2]<<8|r[Le+3]},tr=function(r,Le,Xe){r[Le]=Xe>>>24&255,r[Le+1]=Xe>>16&255,r[Le+2]=Xe>>8&255,r[Le+3]=Xe&255}):(Tt=2,sr=function(r,Le){return r[Le]<<9|r[Le+1]<<1},tr=function(r,Le,Xe){r[Le]=Xe>>9&255,r[Le+1]=Xe>>1&255});var rr=jt?St+1:St,Ht=Tt*(1+rr),Ar=new Uint8Array(Ht);Ar.set(wt.data.subarray(0,Ht)),wt.data=Ar;var dr=vt.data,lr=dr.length,Be=new Uint8Array(lr),Ae,R,Ye=[];for(Ae=0,R=0;Ae<St+1;Ae++,R+=Tt){var Te=sr(Ar,R);Te>lr&&(Te=lr),Ye.push({index:Ae,offset:Te,endOffset:0})}for(Ye.sort(function(L,r){return L.offset-r.offset}),Ae=0;Ae<St;Ae++)Ye[Ae].endOffset=Ye[Ae+1].offset;Ye.sort(function(L,r){return L.index-r.index});var zt=Object.create(null),Yt=0;for(tr(Ar,0,Yt),Ae=0,R=Tt;Ae<St;Ae++,R+=Tt){var cr=Ee(dr,Ye[Ae].offset,Ye[Ae].endOffset,Be,Yt,Mt),Pe=cr.length;Pe===0&&(zt[Ae]=!0),cr.sizeOfInstructions>Gt&&(Gt=cr.sizeOfInstructions),Yt+=Pe,tr(Ar,R,Yt)}if(Yt===0){var Oe=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(Ae=0,R=Tt;Ae<rr;Ae++,R+=Tt)tr(Ar,R,Oe.length);vt.data=Oe}else if(jt){var U=sr(Ar,Tt);Be.length>U+Yt?vt.data=Be.subarray(0,U+Yt):(vt.data=new Uint8Array(U+Yt),vt.data.set(Be.subarray(0,Yt))),vt.data.set(Be.subarray(0,U),Yt),tr(wt.data,Ar.length-Tt,Yt+U)}else vt.data=Be.subarray(0,Yt);return{missingGlyphs:zt,maxSizeOfInstructions:Gt}}function _e(wt,vt,St){var Et=(pe.start?pe.start:0)+wt.offset;pe.pos=Et;var Mt=wt.length,jt=Et+Mt,Gt=pe.getInt32();pe.skip(28);var Tt,sr=!0,tr;switch(Gt){case 65536:Tt=t.MacStandardGlyphOrdering;break;case 131072:var rr=pe.getUint16();if(rr!==St){sr=!1;break}var Ht=[];for(tr=0;tr<rr;++tr){var Ar=pe.getUint16();if(Ar>=32768){sr=!1;break}Ht.push(Ar)}if(!sr)break;for(var dr=[],lr=[];pe.pos<jt;){var Be=pe.getByte();for(lr.length=Be,tr=0;tr<Be;++tr)lr[tr]=String.fromCharCode(pe.getByte());dr.push(lr.join(""))}for(Tt=[],tr=0;tr<rr;++tr){var Ae=Ht[tr];if(Ae<258){Tt.push(t.MacStandardGlyphOrdering[Ae]);continue}Tt.push(dr[Ae-258])}break;case 196608:break;default:(0,T.warn)("Unknown/unsupported post table version "+Gt),sr=!1,vt.defaultEncoding&&(Tt=vt.defaultEncoding);break}return vt.glyphNames=Tt,sr}function Ne(wt){var vt=(pe.start?pe.start:0)+wt.offset;pe.pos=vt;var St=[[],[]],Et=wt.length,Mt=vt+Et,jt=pe.getUint16(),Gt=6;if(jt!==0||Et<Gt)return St;var Tt=pe.getUint16(),sr=pe.getUint16(),tr=[],rr=12,Ht,Ar;for(Ht=0;Ht<Tt&&pe.pos+rr<=Mt;Ht++){var dr={platform:pe.getUint16(),encoding:pe.getUint16(),language:pe.getUint16(),name:pe.getUint16(),length:pe.getUint16(),offset:pe.getUint16()};(dr.platform===1&&dr.encoding===0&&dr.language===0||dr.platform===3&&dr.encoding===1&&dr.language===1033)&&tr.push(dr)}for(Ht=0,Ar=tr.length;Ht<Ar;Ht++){var lr=tr[Ht];if(!(lr.length<=0)){var Be=vt+sr+lr.offset;if(!(Be+lr.length>Mt)){pe.pos=Be;var Ae=lr.name;if(lr.encoding){for(var R="",Ye=0,Te=lr.length;Ye<Te;Ye+=2)R+=String.fromCharCode(pe.getUint16());St[1][Ae]=R}else St[0][Ae]=pe.getString(lr.length)}}}return St}var $e=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function je(wt,vt){for(var St=wt.data,Et=0,Mt,jt,Gt,Tt,sr,tr=0,rr=0,Ht=[],Ar=[],dr=[],lr=vt.tooComplexToFollowFunctions,Be=!1,Ae=0,R=0,Ye=St.length;Et<Ye;){var Te=St[Et++];if(Te===64)if(jt=St[Et++],Be||R)Et+=jt;else for(Mt=0;Mt<jt;Mt++)Ht.push(St[Et++]);else if(Te===65)if(jt=St[Et++],Be||R)Et+=jt*2;else for(Mt=0;Mt<jt;Mt++)Gt=St[Et++],Ht.push(Gt<<8|St[Et++]);else if((Te&248)==176)if(jt=Te-176+1,Be||R)Et+=jt;else for(Mt=0;Mt<jt;Mt++)Ht.push(St[Et++]);else if((Te&248)==184)if(jt=Te-184+1,Be||R)Et+=jt*2;else for(Mt=0;Mt<jt;Mt++)Gt=St[Et++],Ht.push(Gt<<8|St[Et++]);else if(Te===43&&!lr){if(!Be&&!R){if(Tt=Ht[Ht.length-1],isNaN(Tt))(0,T.info)("TT: CALL empty stack (or invalid entry).");else if(vt.functionsUsed[Tt]=!0,Tt in vt.functionsStackDeltas){var zt=Ht.length+vt.functionsStackDeltas[Tt];if(zt<0){(0,T.warn)("TT: CALL invalid functions stack delta."),vt.hintsValid=!1;return}Ht.length=zt}else if(Tt in vt.functionsDefined&&!dr.includes(Tt)){if(Ar.push({data:St,i:Et,stackTop:Ht.length-1}),dr.push(Tt),sr=vt.functionsDefined[Tt],!sr){(0,T.warn)("TT: CALL non-existent function"),vt.hintsValid=!1;return}St=sr.data,Et=sr.i}}}else if(Te===44&&!lr)(Be||R)&&((0,T.warn)("TT: nested FDEFs not allowed"),lr=!0),Be=!0,rr=Et,Tt=Ht.pop(),vt.functionsDefined[Tt]={data:St,i:Et};else if(Te===45)if(Be)Be=!1,tr=Et;else{if(sr=Ar.pop(),!sr){(0,T.warn)("TT: ENDF bad stack"),vt.hintsValid=!1;return}Tt=dr.pop(),St=sr.data,Et=sr.i,vt.functionsStackDeltas[Tt]=Ht.length-sr.stackTop}else if(Te===137)(Be||R)&&((0,T.warn)("TT: nested IDEFs not allowed"),lr=!0),Be=!0,rr=Et;else if(Te===88)++Ae;else if(Te===27)R=Ae;else if(Te===89)R===Ae&&(R=0),--Ae;else if(Te===28&&!Be&&!R){var Yt=Ht[Ht.length-1];Yt>0&&(Et+=Yt-1)}if(!Be&&!R){var cr=0;for(Te<=142?cr=$e[Te]:Te>=192&&Te<=223?cr=-1:Te>=224&&(cr=-2),Te>=113&&Te<=117&&(jt=Ht.pop(),isNaN(jt)||(cr=-jt*2));cr<0&&Ht.length>0;)Ht.pop(),cr++;for(;cr>0;)Ht.push(NaN),cr--}}vt.tooComplexToFollowFunctions=lr;var Pe=[St];Et>St.length&&Pe.push(new Uint8Array(Et-St.length)),rr>tr&&((0,T.warn)("TT: complementing a missing function tail"),Pe.push(new Uint8Array([34,45]))),Ke(wt,Pe)}function Ve(wt,vt){if(!wt.tooComplexToFollowFunctions){if(wt.functionsDefined.length>vt){(0,T.warn)("TT: more functions defined than expected"),wt.hintsValid=!1;return}for(var St=0,Et=wt.functionsUsed.length;St<Et;St++){if(St>vt){(0,T.warn)("TT: invalid function id: "+St),wt.hintsValid=!1;return}if(wt.functionsUsed[St]&&!wt.functionsDefined[St]){(0,T.warn)("TT: undefined function: "+St),wt.hintsValid=!1;return}}}}function Ke(wt,vt){if(vt.length>1){var St=0,Et,Mt;for(Et=0,Mt=vt.length;Et<Mt;Et++)St+=vt[Et].length;St=St+3&~3;var jt=new Uint8Array(St),Gt=0;for(Et=0,Mt=vt.length;Et<Mt;Et++)jt.set(vt[Et],Gt),Gt+=vt[Et].length;wt.data=jt,wt.length=St}}function Qe(wt,vt,St,Et){var Mt={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(wt&&je(wt,Mt),vt&&je(vt,Mt),wt&&Ve(Mt,Et),St&&St.length&1){var jt=new Uint8Array(St.length+1);jt.set(St.data),St.data=jt}return Mt.hintsValid}pe=new re.Stream(new Uint8Array(pe.getBytes()));var Ze,ze;if(N(pe)){var ct=me(pe,this.name);Ze=ct.header,ze=ct.tables}else Ze=we(pe),ze=Re(pe,Ze.numTables);var Je,gt,xt=!ze["CFF "];if(xt){if(!ze.loca)throw new T.FormatError('Required "loca" table is not found');ze.glyf||((0,T.warn)('Required "glyf" table is not found -- trying to recover.'),ze.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{var tt=fe.composite&&((fe.cidToGidMap||[]).length>0||!(fe.cMap instanceof d.IdentityCMap));if(Ze.version==="OTTO"&&!tt||!ze.head||!ze.hhea||!ze.maxp||!ze.post)return gt=new re.Stream(ze["CFF "].data),Je=new be.CFFFont(gt,fe),a(fe),this.convert(oe,Je,fe);delete ze.glyf,delete ze.loca,delete ze.fpgm,delete ze.prep,delete ze["cvt "],this.isOpenType=!0}if(!ze.maxp)throw new T.FormatError('Required "maxp" table is not found');pe.pos=(pe.start||0)+ze.maxp.offset;var yt=pe.getInt32(),It=pe.getUint16();if(fe.scaleFactors&&fe.scaleFactors.length===It&&xt){var ft=fe.scaleFactors,Ut=c(ze.head.data[50],ze.head.data[51]),kt=new ae.GlyfTable({glyfTable:ze.glyf.data,isGlyphLocationsLong:Ut,locaTable:ze.loca.data,numGlyphs:It});kt.scale(ft);var Nt=kt.write(),ar=Nt.glyf,Qt=Nt.loca,He=Nt.isLocationLong;ze.glyf.data=ar,ze.loca.data=Qt,He!==!!Ut&&(ze.head.data[50]=0,ze.head.data[51]=He?1:0);for(var et=ze.hmtx.data,Ue=0;Ue<It;Ue++){var qe=4*Ue,ot=Math.round(ft[Ue]*c(et[qe],et[qe+1]));et[qe]=ot>>8&255,et[qe+1]=ot&255;var nt=Math.round(ft[Ue]*A(et[qe+2],et[qe+3]));v(et,qe+2,nt)}}var Pt=It+1,Lt=!0;Pt>65535&&(Lt=!1,Pt=It,(0,T.warn)("Not enough space in glyfs to duplicate first glyph."));var bt=0,Kt=0;if(yt>=65536&&ze.maxp.length>=22){pe.pos+=8;var Jt=pe.getUint16();Jt>2&&(ze.maxp.data[14]=0,ze.maxp.data[15]=2),pe.pos+=4,bt=pe.getUint16(),pe.pos+=4,Kt=pe.getUint16()}ze.maxp.data[4]=Pt>>8,ze.maxp.data[5]=Pt&255;var nr=Qe(ze.fpgm,ze.prep,ze["cvt "],bt);if(nr||(delete ze.fpgm,delete ze.prep,delete ze["cvt "]),Fe(pe,ze.hhea,ze.hmtx,ze.head,Pt,Lt),!ze.head)throw new T.FormatError('Required "head" table is not found');Ce(ze.head,It,xt?ze.loca.length:0);var pr=Object.create(null);if(xt){var ur=c(ze.head.data[50],ze.head.data[51]),yr=De(ze.loca,ze.glyf,It,ur,nr,Lt,Kt);pr=yr.missingGlyphs,yt>=65536&&ze.maxp.length>=22&&(ze.maxp.data[26]=yr.maxSizeOfInstructions>>8,ze.maxp.data[27]=yr.maxSizeOfInstructions&255)}if(!ze.hhea)throw new T.FormatError('Required "hhea" table is not found');ze.hhea.data[10]===0&&ze.hhea.data[11]===0&&(ze.hhea.data[10]=255,ze.hhea.data[11]=255);var Xt={unitsPerEm:c(ze.head.data[18],ze.head.data[19]),yMax:c(ze.head.data[42],ze.head.data[43]),yMin:A(ze.head.data[38],ze.head.data[39]),ascent:A(ze.hhea.data[4],ze.hhea.data[5]),descent:A(ze.hhea.data[6],ze.hhea.data[7]),lineGap:A(ze.hhea.data[8],ze.hhea.data[9])};this.ascent=Xt.ascent/Xt.unitsPerEm,this.descent=Xt.descent/Xt.unitsPerEm,this.lineGap=Xt.lineGap/Xt.unitsPerEm,this.cssFontInfo&&this.cssFontInfo.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,ze.post&&_e(ze.post,fe,It),ze.post={tag:"post",data:M(fe)};var fr=[];function Dr(wt){return!pr[wt]}if(fe.composite){var Hr=fe.cidToGidMap||[],Kr=Hr.length===0;fe.cMap.forEach(function(wt,vt){if(typeof vt=="string"&&(vt=Se(wt,vt,!0)),vt>65535)throw new T.FormatError("Max size of CID is 65,535");var St=-1;Kr?St=vt:Hr[vt]!==void 0&&(St=Hr[vt]),St>=0&&St<It&&Dr(St)&&(fr[wt]=St)})}else{var Br=ee(ze.cmap,pe,this.isSymbolicFont,fe.hasEncoding),Sr=Br.platformId,hr=Br.encodingId,vr=Br.mappings,zr=vr.length,br=[],qr=!1;if(fe.hasEncoding&&(fe.baseEncodingName==="MacRomanEncoding"||fe.baseEncodingName==="WinAnsiEncoding")&&(br=(0,ge.getEncoding)(fe.baseEncodingName)),fe.hasEncoding&&!this.isSymbolicFont&&(Sr===3&&hr===1||Sr===1&&hr===0))for(var Gr=(0,e.getGlyphsUnicode)(),Ur=0;Ur<256;Ur++){var Qr=void 0;if(this.differences[Ur]!==void 0?Qr=this.differences[Ur]:br.length&&br[Ur]!==""?Qr=br[Ur]:Qr=ge.StandardEncoding[Ur],!!Qr){var na=(0,t.recoverGlyphName)(Qr,Gr),ht=void 0;if(Sr===3&&hr===1?ht=Gr[na]:Sr===1&&hr===0&&(ht=ge.MacRomanEncoding.indexOf(na)),ht===void 0){if(!fe.glyphNames&&fe.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof ye.IdentityToUnicodeMap)){var ut=this.toUnicode.get(Ur);ut&&(ht=ut.codePointAt(0))}if(ht===void 0)continue}for(var We=0;We<zr;++We)if(vr[We].charCode===ht){fr[Ur]=vr[We].glyphId;break}}}else if(Sr===0){for(var it=0;it<zr;++it)fr[vr[it].charCode]=vr[it].glyphId;qr=!0}else for(var st=0;st<zr;++st){var dt=vr[st].charCode;Sr===3&&dt>=61440&&dt<=61695&&(dt&=255),fr[dt]=vr[st].glyphId}if(fe.glyphNames&&(br.length||this.differences.length)){for(var pt=0;pt<256;++pt)if(!(!qr&&fr[pt]!==void 0)){var Dt=this.differences[pt]||br[pt];if(!!Dt){var _t=fe.glyphNames.indexOf(Dt);_t>0&&Dr(_t)&&(fr[pt]=_t)}}}}fr.length===0&&(fr[0]=0);var qt=Pt-1;if(Lt||(qt=0),!fe.cssFontInfo){var Bt=ue(fr,Dr,qt);this.toFontChar=Bt.toFontChar,ze.cmap={tag:"cmap",data:$(Bt.charCodeToGlyphId,Pt)},(!ze["OS/2"]||!j(ze["OS/2"],pe))&&(ze["OS/2"]={tag:"OS/2",data:G(fe,Bt.charCodeToGlyphId,Xt)})}if(!xt)try{gt=new re.Stream(ze["CFF "].data);var Rt=new b.CFFParser(gt,fe,t.SEAC_ANALYSIS_ENABLED);Je=Rt.parse(),Je.duplicateFirstGlyph();var Or=new b.CFFCompiler(Je);ze["CFF "].data=Or.compile()}catch(wt){(0,T.warn)("Failed to compile font "+fe.loadedName)}if(!ze.name)ze.name={tag:"name",data:z(this.name)};else{var Tr=Ne(ze.name);ze.name.data=z(oe,Tr),this.psName=Tr[0][6]||null}var Er=new ce.OpenTypeFileBuilder(Ze.version);for(var $r in ze)Er.addTable($r,ze[$r].data);return Er.toArray()}},{key:"convert",value:function(oe,pe,fe){fe.fixedPitch=!1,fe.builtInEncoding&&i(fe,fe.builtInEncoding);var ke=1;pe instanceof be.CFFFont&&(ke=pe.numGlyphs-1);var Re=pe.getGlyphMapping(fe),ve=null,we=Re;fe.cssFontInfo||(ve=ue(Re,pe.hasGlyphId.bind(pe),ke),this.toFontChar=ve.toFontChar,we=ve.charCodeToGlyphId);var se=pe.numGlyphs;function me(ft,Ut){var kt=null;for(var Nt in ft)Ut===ft[Nt]&&(kt||(kt=[]),kt.push(Nt|0));return kt}function ee(ft,Ut){for(var kt in ft)if(Ut===ft[kt])return kt|0;return ve.charCodeToGlyphId[ve.nextAvailableFontCharCode]=Ut,ve.nextAvailableFontCharCode++}var Fe=pe.seacs;if(ve&&t.SEAC_ANALYSIS_ENABLED&&Fe&&Fe.length){var Ee=fe.fontMatrix||T.FONT_IDENTITY_MATRIX,Ce=pe.getCharset(),De=Object.create(null);for(var _e in Fe){_e|=0;var Ne=Fe[_e],$e=ge.StandardEncoding[Ne[2]],je=ge.StandardEncoding[Ne[3]],Ve=Ce.indexOf($e),Ke=Ce.indexOf(je);if(!(Ve<0||Ke<0)){var Qe={x:Ne[0]*Ee[0]+Ne[1]*Ee[2]+Ee[4],y:Ne[0]*Ee[1]+Ne[1]*Ee[3]+Ee[5]},Ze=me(Re,_e);if(!!Ze)for(var ze=0,ct=Ze.length;ze<ct;ze++){var Je=Ze[ze],gt=ve.charCodeToGlyphId,xt=ee(gt,Ve),tt=ee(gt,Ke);De[Je]={baseFontCharCode:xt,accentFontCharCode:tt,accentOffset:Qe}}}}fe.seacMap=De}var yt=1/(fe.fontMatrix||T.FONT_IDENTITY_MATRIX)[0],It=new ce.OpenTypeFileBuilder("OTTO");return It.addTable("CFF ",pe.data),It.addTable("OS/2",G(fe,we)),It.addTable("cmap",$(we,se)),It.addTable("head","\0\0\0\0\0\0\0\0\0\0_<\xF5\0\0"+I(yt)+"\0\0\0\0\x9E\v~'\0\0\0\0\x9E\v~'\0\0"+I(fe.descent)+"\xFF"+I(fe.ascent)+C(fe.italicAngle?2:0)+"\0\0\0\0\0\0\0"),It.addTable("hhea","\0\0\0"+I(fe.ascent)+I(fe.descent)+"\0\0\xFF\xFF\0\0\0\0\0\0"+I(fe.capHeight)+I(Math.tan(fe.italicAngle)*fe.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+C(se)),It.addTable("hmtx",function(){for(var Ut=pe.charstrings,kt=pe.cff?pe.cff.widths:null,Nt="\0\0\0\0",ar=1,Qt=se;ar<Qt;ar++){var He=0;if(Ut){var et=Ut[ar-1];He="width"in et?et.width:0}else kt&&(He=Math.ceil(kt[ar]||0));Nt+=C(He)+C(0)}return Nt}()),It.addTable("maxp","\0\0P\0"+C(se)),It.addTable("name",z(oe)),It.addTable("post",M(fe)),It.toArray()}},{key:"spaceWidth",get:function(){for(var oe=["space","minus","one","i","I"],pe,fe=0,ke=oe.length;fe<ke;fe++){var Re=oe[fe];if(Re in this.widths){pe=this.widths[Re];break}var ve=(0,e.getGlyphsUnicode)(),we=ve[Re],se=0;if(this.composite&&this.cMap.contains(we)&&(se=this.cMap.lookup(we),typeof se=="string"&&(se=Se(we,se))),!se&&this.toUnicode&&(se=this.toUnicode.charCodeOf(we)),se<=0&&(se=we),pe=this.widths[se],pe)break}return pe=pe||this.defaultWidth,(0,T.shadow)(this,"spaceWidth",pe)}},{key:"_charToGlyph",value:function(oe){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe,ke,Re,ve=oe;this.cMap&&this.cMap.contains(oe)&&(ve=this.cMap.lookup(oe),typeof ve=="string"&&(ve=Se(oe,ve))),ke=this.widths[ve],ke=(0,T.isNum)(ke)?ke:this.defaultWidth;var we=this.vmetrics&&this.vmetrics[ve],se=this.toUnicode.get(oe)||oe;typeof se=="number"&&(se=String.fromCharCode(se));var me=this.toFontChar[oe]!==void 0;if(fe=this.toFontChar[oe]||oe,this.missingFile){var ee=this.differences[oe]||this.defaultEncoding[oe];(ee===".notdef"||ee==="")&&this.type==="Type1"&&(fe=32),fe=(0,V.mapSpecialUnicodeValues)(fe)}this.isType3Font&&(Re=fe);var Fe=null;if(this.seacMap&&this.seacMap[oe]){me=!0;var Ee=this.seacMap[oe];fe=Ee.baseFontCharCode,Fe={fontChar:String.fromCodePoint(Ee.accentFontCharCode),offset:Ee.accentOffset}}var Ce="";typeof fe=="number"&&(fe<=1114111?Ce=String.fromCodePoint(fe):(0,T.warn)("charToGlyph - invalid fontCharCode: ".concat(fe)));var De=this._glyphCache[oe];return(!De||!De.matchesForCache(oe,Ce,se,Fe,ke,we,Re,pe,me))&&(De=new o(oe,Ce,se,Fe,ke,we,Re,pe,me),this._glyphCache[oe]=De),De}},{key:"charsToGlyphs",value:function(oe){var pe=this._charsCache[oe];if(pe)return pe;if(pe=[],this.cMap)for(var fe=Object.create(null),ke=oe.length,Re=0;Re<ke;){this.cMap.readCharCode(oe,Re,fe);var ve=fe.charcode,we=fe.length;Re+=we;var se=this._charToGlyph(ve,we===1&&oe.charCodeAt(Re-1)===32);pe.push(se)}else for(var me=0,ee=oe.length;me<ee;++me){var Fe=oe.charCodeAt(me),Ee=this._charToGlyph(Fe,Fe===32);pe.push(Ee)}return this._charsCache[oe]=pe}},{key:"getCharPositions",value:function(oe){var pe=[];if(this.cMap)for(var fe=Object.create(null),ke=0;ke<oe.length;){this.cMap.readCharCode(oe,ke,fe);var Re=fe.length;pe.push([ke,ke+Re]),ke+=Re}else for(var ve=0,we=oe.length;ve<we;++ve)pe.push([ve,ve+1]);return pe}},{key:"glyphCacheValues",get:function(){return Object.values(this._glyphCache)}},{key:"encodeString",value:function(oe){for(var pe=this,fe=[],ke=[],Re=function(){return fe.length%2==1},ve=this.toUnicode instanceof ye.IdentityToUnicodeMap?function(Ce){return pe.toUnicode.charCodeOf(Ce)}:function(Ce){return pe.toUnicode.charCodeOf(String.fromCodePoint(Ce))},we=0,se=oe.length;we<se;we++){var me=oe.codePointAt(we);if(me>55295&&(me<57344||me>65533)&&we++,this.toUnicode){var ee=ve(me);if(ee!==-1){Re()&&(fe.push(ke.join("")),ke.length=0);for(var Fe=this.cMap?this.cMap.getCharCodeLength(ee):1,Ee=Fe-1;Ee>=0;Ee--)ke.push(String.fromCharCode(ee>>8*Ee&255));continue}}Re()||(fe.push(ke.join("")),ke.length=0),ke.push(String.fromCodePoint(me))}return fe.push(ke.join("")),fe}}]),K}();P.Font=J;var Q=function(){function K(de){x(this,K),this.error=de,this.loadedName="g_font_error",this.missingFile=!0}return h(K,[{key:"charsToGlyphs",value:function(){return[]}},{key:"encodeString",value:function(oe){return[oe]}},{key:"exportData",value:function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return{error:this.error}}}]),K}();P.ErrorFont=Q},(Me,P,D)=>{"use strict";function T(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(o){return typeof o}:T=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},T(i)}Object.defineProperty(P,"__esModule",{value:!0}),P.CFFTopDict=P.CFFStrings=P.CFFStandardStrings=P.CFFPrivateDict=P.CFFParser=P.CFFIndex=P.CFFHeader=P.CFFFDSelect=P.CFFCompiler=P.CFFCharset=P.CFF=void 0;var b=D(4),t=D(176),e=D(149);function ge(i,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(m&&m.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),m&&le(i,m)}function le(i,m){return le=Object.setPrototypeOf||function(c,v){return c.__proto__=v,c},le(i,m)}function V(i){var m=xe();return function(){var c=ae(i),v;if(m){var A=ae(this).constructor;v=Reflect.construct(c,arguments,A)}else v=c.apply(this,arguments);return ye(this,v)}}function ye(i,m){if(m&&(T(m)==="object"||typeof m=="function"))return m;if(m!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(i)}function be(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function xe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(i){return!1}}function ae(i){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)},ae(i)}function d(i,m){if(!(i instanceof m))throw new TypeError("Cannot call a class as a function")}function ce(i,m){for(var o=0;o<m.length;o++){var c=m[o];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,c.key,c)}}function q(i,m,o){return m&&ce(i.prototype,m),o&&ce(i,o),i}var re=10,X=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"];P.CFFStandardStrings=X;var y=391,k=function(){var m=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],o=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn:function(A,u){A[u-2]=A[u-2]+A[u-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function(A,u){A[u-2]=A[u-2]-A[u-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function(A,u){A[u-2]=A[u-2]/A[u-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn:function(A,u){A[u-1]=-A[u-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn:function(A,u){A[u-2]=A[u-2]*A[u-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}],c=function(){function v(A,u,C){d(this,v),this.bytes=A.getBytes(),this.properties=u,this.seacAnalysisEnabled=!!C}return q(v,[{key:"parse",value:function(){var u=this.properties,C=new n;this.cff=C;var I=this.parseHeader(),E=this.parseIndex(I.endPos),N=this.parseIndex(E.endPos),_=this.parseIndex(N.endPos),Y=this.parseIndex(_.endPos),H=this.parseDict(N.obj.get(0)),Z=this.createDict(x,H,C.strings);C.header=I.obj,C.names=this.parseNameIndex(E.obj),C.strings=this.parseStringIndex(_.obj),C.topDict=Z,C.globalSubrIndex=Y.obj,this.parsePrivateDict(C.topDict),C.isCIDFont=Z.hasName("ROS");var ne=Z.getByName("CharStrings"),he=this.parseIndex(ne).obj,Se=Z.getByName("FontMatrix");Se&&(u.fontMatrix=Se);var ue=Z.getByName("FontBBox");ue&&(u.ascent=Math.max(ue[3],ue[1]),u.descent=Math.min(ue[1],ue[3]),u.ascentScaled=!0);var te,$;if(C.isCIDFont){for(var j=this.parseIndex(Z.getByName("FDArray")).obj,G=0,M=j.count;G<M;++G){var W=j.get(G),z=this.createDict(x,this.parseDict(W),C.strings);this.parsePrivateDict(z),C.fdArray.push(z)}$=null,te=this.parseCharsets(Z.getByName("charset"),he.count,C.strings,!0),C.fdSelect=this.parseFDSelect(Z.getByName("FDSelect"),he.count)}else te=this.parseCharsets(Z.getByName("charset"),he.count,C.strings,!1),$=this.parseEncoding(Z.getByName("Encoding"),u,C.strings,te.charset);C.charset=te,C.encoding=$;var J=this.parseCharStrings({charStrings:he,localSubrIndex:Z.privateDict.subrsIndex,globalSubrIndex:Y.obj,fdSelect:C.fdSelect,fdArray:C.fdArray,privateDict:Z.privateDict});return C.charStrings=J.charStrings,C.seacs=J.seacs,C.widths=J.widths,C}},{key:"parseHeader",value:function(){for(var u=this.bytes,C=u.length,I=0;I<C&&u[I]!==1;)++I;if(I>=C)throw new b.FormatError("Invalid CFF header");I!==0&&((0,b.info)("cff data is shifted"),u=u.subarray(I),this.bytes=u);var E=u[0],N=u[1],_=u[2],Y=u[3],H=new S(E,N,_,Y);return{obj:H,endPos:_}}},{key:"parseDict",value:function(u){var C=0;function I(){var Z=u[C++];return Z===30?E():Z===28?(Z=u[C++],Z=(Z<<24|u[C++]<<16)>>16,Z):Z===29?(Z=u[C++],Z=Z<<8|u[C++],Z=Z<<8|u[C++],Z=Z<<8|u[C++],Z):Z>=32&&Z<=246?Z-139:Z>=247&&Z<=250?(Z-247)*256+u[C++]+108:Z>=251&&Z<=254?-((Z-251)*256)-u[C++]-108:((0,b.warn)('CFFParser_parseDict: "'+Z+'" is a reserved command.'),NaN)}function E(){for(var Z="",ne=15,he=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],Se=u.length;C<Se;){var ue=u[C++],te=ue>>4,$=ue&15;if(te===ne||(Z+=he[te],$===ne))break;Z+=he[$]}return parseFloat(Z)}var N=[],_=[];C=0;for(var Y=u.length;C<Y;){var H=u[C];H<=21?(H===12&&(H=H<<8|u[++C]),_.push([H,N]),N=[],++C):N.push(I())}return _}},{key:"parseIndex",value:function(u){var C=new w,I=this.bytes,E=I[u++]<<8|I[u++],N=[],_=u,Y,H;if(E!==0){var Z=I[u++],ne=u+(E+1)*Z-1;for(Y=0,H=E+1;Y<H;++Y){for(var he=0,Se=0;Se<Z;++Se)he<<=8,he+=I[u++];N.push(ne+he)}_=N[E]}for(Y=0,H=N.length-1;Y<H;++Y){var ue=N[Y],te=N[Y+1];C.add(I.subarray(ue,te))}return{obj:C,endPos:_}}},{key:"parseNameIndex",value:function(u){for(var C=[],I=0,E=u.count;I<E;++I){var N=u.get(I);C.push((0,b.bytesToString)(N))}return C}},{key:"parseStringIndex",value:function(u){for(var C=new O,I=0,E=u.count;I<E;++I){var N=u.get(I);C.add((0,b.bytesToString)(N))}return C}},{key:"createDict",value:function(u,C,I){for(var E=new u(I),N=0,_=C.length;N<_;++N){var Y=C[N],H=Y[0],Z=Y[1];E.setByKey(H,Z)}return E}},{key:"parseCharString",value:function(u,C,I,E){if(!C||u.callDepth>re)return!1;for(var N=u.stackSize,_=u.stack,Y=C.length,H=0;H<Y;){var Z=C[H++],ne=null;if(Z===12){var he=C[H++];he===0?(C[H-2]=139,C[H-1]=22,N=0):ne=o[he]}else if(Z===28)_[N]=(C[H]<<24|C[H+1]<<16)>>16,H+=2,N++;else if(Z===14){if(N>=4&&(N-=4,this.seacAnalysisEnabled))return u.seac=_.slice(N,N+4),!1;ne=m[Z]}else if(Z>=32&&Z<=246)_[N]=Z-139,N++;else if(Z>=247&&Z<=254)_[N]=Z<251?(Z-247<<8)+C[H]+108:-(Z-251<<8)-C[H]-108,H++,N++;else if(Z===255)_[N]=(C[H]<<24|C[H+1]<<16|C[H+2]<<8|C[H+3])/65536,H+=4,N++;else if(Z===19||Z===20)u.hints+=N>>1,H+=u.hints+7>>3,N%=2,ne=m[Z];else if(Z===10||Z===29){var Se=void 0;if(Z===10?Se=I:Se=E,!Se)return ne=m[Z],(0,b.warn)("Missing subrsIndex for "+ne.id),!1;var ue=32768;Se.count<1240?ue=107:Se.count<33900&&(ue=1131);var te=_[--N]+ue;if(te<0||te>=Se.count||isNaN(te))return ne=m[Z],(0,b.warn)("Out of bounds subrIndex for "+ne.id),!1;u.stackSize=N,u.callDepth++;var $=this.parseCharString(u,Se.get(te),I,E);if(!$)return!1;u.callDepth--,N=u.stackSize;continue}else{if(Z===11)return u.stackSize=N,!0;Z===0&&H===C.length?(C[H-1]=14,ne=m[14]):ne=m[Z]}if(ne){if(ne.stem&&(u.hints+=N>>1,Z===3||Z===23?u.hasVStems=!0:u.hasVStems&&(Z===1||Z===18)&&((0,b.warn)("CFF stem hints are in wrong order"),C[H-1]=Z===1?3:23)),"min"in ne&&!u.undefStack&&N<ne.min)return(0,b.warn)("Not enough parameters for "+ne.id+"; actual: "+N+", expected: "+ne.min),N===0?(C[H-1]=14,!0):!1;u.firstStackClearing&&ne.stackClearing&&(u.firstStackClearing=!1,N-=ne.min,N>=2&&ne.stem?N%=2:N>1&&(0,b.warn)("Found too many parameters for stack-clearing command"),N>0&&(u.width=_[N-1])),"stackDelta"in ne?("stackFn"in ne&&ne.stackFn(_,N),N+=ne.stackDelta):ne.stackClearing?N=0:ne.resetStack?(N=0,u.undefStack=!1):ne.undefStack&&(N=0,u.undefStack=!0,u.firstStackClearing=!1)}}return u.stackSize=N,!0}},{key:"parseCharStrings",value:function(u){for(var C=u.charStrings,I=u.localSubrIndex,E=u.globalSubrIndex,N=u.fdSelect,_=u.fdArray,Y=u.privateDict,H=[],Z=[],ne=C.count,he=0;he<ne;he++){var Se=C.get(he),ue={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1},te=!0,$=null,j=Y;if(N&&_.length){var G=N.getFDIndex(he);G===-1&&((0,b.warn)("Glyph index is not in fd select."),te=!1),G>=_.length&&((0,b.warn)("Invalid fd index for glyph index."),te=!1),te&&(j=_[G].privateDict,$=j.subrsIndex)}else I&&($=I);if(te&&(te=this.parseCharString(ue,Se,$,E)),ue.width!==null){var M=j.getByName("nominalWidthX");Z[he]=M+ue.width}else{var W=j.getByName("defaultWidthX");Z[he]=W}ue.seac!==null&&(H[he]=ue.seac),te||C.set(he,new Uint8Array([14]))}return{charStrings:C,seacs:H,widths:Z}}},{key:"emptyPrivateDictionary",value:function(u){var C=this.createDict(f,[],u.strings);u.setByKey(18,[0,0]),u.privateDict=C}},{key:"parsePrivateDict",value:function(u){if(!u.hasName("Private")){this.emptyPrivateDictionary(u);return}var C=u.getByName("Private");if(!Array.isArray(C)||C.length!==2){u.removeByName("Private");return}var I=C[0],E=C[1];if(I===0||E>=this.bytes.length){this.emptyPrivateDictionary(u);return}var N=E+I,_=this.bytes.subarray(E,N),Y=this.parseDict(_),H=this.createDict(f,Y,u.strings);if(u.privateDict=H,!!H.getByName("Subrs")){var Z=H.getByName("Subrs"),ne=E+Z;if(Z===0||ne>=this.bytes.length){this.emptyPrivateDictionary(u);return}var he=this.parseIndex(ne);H.subrsIndex=he.obj}}},{key:"parseCharsets",value:function(u,C,I,E){if(u===0)return new F(!0,h.ISO_ADOBE,t.ISOAdobeCharset);if(u===1)return new F(!0,h.EXPERT,t.ExpertCharset);if(u===2)return new F(!0,h.EXPERT_SUBSET,t.ExpertSubsetCharset);var N=this.bytes,_=u,Y=N[u++],H=[E?0:".notdef"],Z,ne,he;switch(C-=1,Y){case 0:for(he=0;he<C;he++)Z=N[u++]<<8|N[u++],H.push(E?Z:I.get(Z));break;case 1:for(;H.length<=C;)for(Z=N[u++]<<8|N[u++],ne=N[u++],he=0;he<=ne;he++)H.push(E?Z++:I.get(Z++));break;case 2:for(;H.length<=C;)for(Z=N[u++]<<8|N[u++],ne=N[u++]<<8|N[u++],he=0;he<=ne;he++)H.push(E?Z++:I.get(Z++));break;default:throw new b.FormatError("Unknown charset format")}var Se=u,ue=N.subarray(_,Se);return new F(!1,Y,H,ue)}},{key:"parseEncoding",value:function(u,C,I,E){var N=Object.create(null),_=this.bytes,Y=!1,H,Z,ne,he=null;function Se(){var K=_[u++];for(Z=0;Z<K;Z++){var de=_[u++],oe=(_[u++]<<8)+(_[u++]&255);N[de]=E.indexOf(I.get(oe))}}if(u===0||u===1){Y=!0,H=u;var ue=u?e.ExpertEncoding:e.StandardEncoding;for(Z=0,ne=E.length;Z<ne;Z++){var te=ue.indexOf(E[Z]);te!==-1&&(N[te]=Z)}}else{var $=u;switch(H=_[u++],H&127){case 0:var j=_[u++];for(Z=1;Z<=j;Z++)N[_[u++]]=Z;break;case 1:var G=_[u++],M=1;for(Z=0;Z<G;Z++)for(var W=_[u++],z=_[u++],J=W;J<=W+z;J++)N[J]=M++;break;default:throw new b.FormatError("Unknown encoding format: ".concat(H," in CFF"))}var Q=u;H&128&&(_[$]&=127,Se()),he=_.subarray($,Q)}return H&=127,new s(Y,H,N,he)}},{key:"parseFDSelect",value:function(u,C){var I=this.bytes,E=I[u++],N=[],_;switch(E){case 0:for(_=0;_<C;++_){var Y=I[u++];N.push(Y)}break;case 3:var H=I[u++]<<8|I[u++];for(_=0;_<H;++_){var Z=I[u++]<<8|I[u++];_===0&&Z!==0&&((0,b.warn)("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),Z=0);for(var ne=I[u++],he=I[u]<<8|I[u+1],Se=Z;Se<he;++Se)N.push(ne)}u+=2;break;default:throw new b.FormatError('parseFDSelect: Unknown format "'.concat(E,'".'))}if(N.length!==C)throw new b.FormatError("parseFDSelect: Invalid font data.");return new g(E,N)}}]),v}();return c}();P.CFFParser=k;var n=function(){function i(){d(this,i),this.header=null,this.names=[],this.topDict=null,this.strings=new O,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}return q(i,[{key:"duplicateFirstGlyph",value:function(){if(this.charStrings.count>=65535){(0,b.warn)("Not enough space in charstrings to duplicate first glyph.");return}var o=this.charStrings.get(0);this.charStrings.add(o),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}},{key:"hasGlyphId",value:function(o){if(o<0||o>=this.charStrings.count)return!1;var c=this.charStrings.get(o);return c.length>0}}]),i}();P.CFF=n;var S=function i(m,o,c,v){d(this,i),this.major=m,this.minor=o,this.hdrSize=c,this.offSize=v};P.CFFHeader=S;var O=function(){function i(){d(this,i),this.strings=[]}return q(i,[{key:"get",value:function(o){return o>=0&&o<=y-1?X[o]:o-y<=this.strings.length?this.strings[o-y]:X[0]}},{key:"getSID",value:function(o){var c=X.indexOf(o);return c!==-1?c:(c=this.strings.indexOf(o),c!==-1?c+y:-1)}},{key:"add",value:function(o){this.strings.push(o)}},{key:"count",get:function(){return this.strings.length}}]),i}();P.CFFStrings=O;var w=function(){function i(){d(this,i),this.objects=[],this.length=0}return q(i,[{key:"add",value:function(o){this.length+=o.length,this.objects.push(o)}},{key:"set",value:function(o,c){this.length+=c.length-this.objects[o].length,this.objects[o]=c}},{key:"get",value:function(o){return this.objects[o]}},{key:"count",get:function(){return this.objects.length}}]),i}();P.CFFIndex=w;var p=function(){function i(m,o){d(this,i),this.keyToNameMap=m.keyToNameMap,this.nameToKeyMap=m.nameToKeyMap,this.defaults=m.defaults,this.types=m.types,this.opcodes=m.opcodes,this.order=m.order,this.strings=o,this.values=Object.create(null)}return q(i,[{key:"setByKey",value:function(o,c){if(!(o in this.keyToNameMap))return!1;var v=c.length;if(v===0)return!0;for(var A=0;A<v;A++)if(isNaN(c[A]))return(0,b.warn)('Invalid CFFDict value: "'+c+'" for key "'+o+'".'),!0;var u=this.types[o];return(u==="num"||u==="sid"||u==="offset")&&(c=c[0]),this.values[o]=c,!0}},{key:"setByName",value:function(o,c){if(!(o in this.nameToKeyMap))throw new b.FormatError('Invalid dictionary name "'.concat(o,'"'));this.values[this.nameToKeyMap[o]]=c}},{key:"hasName",value:function(o){return this.nameToKeyMap[o]in this.values}},{key:"getByName",value:function(o){if(!(o in this.nameToKeyMap))throw new b.FormatError("Invalid dictionary name ".concat(o,'"'));var c=this.nameToKeyMap[o];return c in this.values?this.values[c]:this.defaults[c]}},{key:"removeByName",value:function(o){delete this.values[this.nameToKeyMap[o]]}}],[{key:"createTables",value:function(o){for(var c={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},v=0,A=o.length;v<A;++v){var u=o[v],C=Array.isArray(u[0])?(u[0][0]<<8)+u[0][1]:u[0];c.keyToNameMap[C]=u[1],c.nameToKeyMap[u[1]]=C,c.types[C]=u[2],c.defaults[C]=u[3],c.opcodes[C]=Array.isArray(u[0])?u[0]:[u[0]],c.order.push(C)}return c}}]),i}(),x=function(){var m=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]],o=null,c=function(v){ge(u,v);var A=V(u);function u(C){var I;return d(this,u),o===null&&(o=p.createTables(m)),I=A.call(this,o,C),I.privateDict=null,I}return u}(p);return c}();P.CFFTopDict=x;var f=function(){var m=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]],o=null,c=function(v){ge(u,v);var A=V(u);function u(C){var I;return d(this,u),o===null&&(o=p.createTables(m)),I=A.call(this,o,C),I.subrsIndex=null,I}return u}(p);return c}();P.CFFPrivateDict=f;var h={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},F=function i(m,o,c,v){d(this,i),this.predefined=m,this.format=o,this.charset=c,this.raw=v};P.CFFCharset=F;var s=function i(m,o,c,v){d(this,i),this.predefined=m,this.format=o,this.encoding=c,this.raw=v},g=function(){function i(m,o){d(this,i),this.format=m,this.fdSelect=o}return q(i,[{key:"getFDIndex",value:function(o){return o<0||o>=this.fdSelect.length?-1:this.fdSelect[o]}}]),i}();P.CFFFDSelect=g;var l=function(){function i(){d(this,i),this.offsets=Object.create(null)}return q(i,[{key:"isTracking",value:function(o){return o in this.offsets}},{key:"track",value:function(o,c){if(o in this.offsets)throw new b.FormatError("Already tracking location of ".concat(o));this.offsets[o]=c}},{key:"offset",value:function(o){for(var c in this.offsets)this.offsets[c]+=o}},{key:"setEntryLocation",value:function(o,c,v){if(!(o in this.offsets))throw new b.FormatError("Not tracking location of ".concat(o));for(var A=v.data,u=this.offsets[o],C=5,I=0,E=c.length;I<E;++I){var N=I*C+u,_=N+1,Y=N+2,H=N+3,Z=N+4;if(A[N]!==29||A[_]!==0||A[Y]!==0||A[H]!==0||A[Z]!==0)throw new b.FormatError("writing to an offset that is not empty");var ne=c[I];A[N]=29,A[_]=ne>>24&255,A[Y]=ne>>16&255,A[H]=ne>>8&255,A[Z]=ne&255}}}]),i}(),a=function(){function i(m){d(this,i),this.cff=m}return q(i,[{key:"compile",value:function(){var o=this.cff,c={data:[],length:0,add:function(G){this.data=this.data.concat(G),this.length=this.data.length}},v=this.compileHeader(o.header);c.add(v);var A=this.compileNameIndex(o.names);if(c.add(A),o.isCIDFont&&o.topDict.hasName("FontMatrix")){var u=o.topDict.getByName("FontMatrix");o.topDict.removeByName("FontMatrix");for(var C=0,I=o.fdArray.length;C<I;C++){var E=o.fdArray[C],N=u.slice(0);E.hasName("FontMatrix")&&(N=b.Util.transform(N,E.getByName("FontMatrix"))),E.setByName("FontMatrix",N)}}var _=o.topDict.getByName("XUID");_&&_.length>16&&o.topDict.removeByName("XUID"),o.topDict.setByName("charset",0);var Y=this.compileTopDicts([o.topDict],c.length,o.isCIDFont);c.add(Y.output);var H=Y.trackers[0],Z=this.compileStringIndex(o.strings.strings);c.add(Z);var ne=this.compileIndex(o.globalSubrIndex);if(c.add(ne),o.encoding&&o.topDict.hasName("Encoding"))if(o.encoding.predefined)H.setEntryLocation("Encoding",[o.encoding.format],c);else{var he=this.compileEncoding(o.encoding);H.setEntryLocation("Encoding",[c.length],c),c.add(he)}var Se=this.compileCharset(o.charset,o.charStrings.count,o.strings,o.isCIDFont);H.setEntryLocation("charset",[c.length],c),c.add(Se);var ue=this.compileCharStrings(o.charStrings);if(H.setEntryLocation("CharStrings",[c.length],c),c.add(ue),o.isCIDFont){H.setEntryLocation("FDSelect",[c.length],c);var te=this.compileFDSelect(o.fdSelect);c.add(te),Y=this.compileTopDicts(o.fdArray,c.length,!0),H.setEntryLocation("FDArray",[c.length],c),c.add(Y.output);var $=Y.trackers;this.compilePrivateDicts(o.fdArray,$,c)}return this.compilePrivateDicts([o.topDict],[H],c),c.add([0]),c.data}},{key:"encodeNumber",value:function(o){return Number.isInteger(o)?this.encodeInteger(o):this.encodeFloat(o)}},{key:"encodeFloat",value:function(o){var c=o.toString(),v=i.EncodeFloatRegExp.exec(c);if(v){var A=parseFloat("1e"+((v[2]?+v[2]:0)+v[1].length));c=(Math.round(o*A)/A).toString()}var u="",C,I;for(C=0,I=c.length;C<I;++C){var E=c[C];E==="e"?u+=c[++C]==="-"?"c":"b":E==="."?u+="a":E==="-"?u+="e":u+=E}u+=u.length&1?"f":"ff";var N=[30];for(C=0,I=u.length;C<I;C+=2)N.push(parseInt(u.substring(C,C+2),16));return N}},{key:"encodeInteger",value:function(o){var c;return o>=-107&&o<=107?c=[o+139]:o>=108&&o<=1131?(o-=108,c=[(o>>8)+247,o&255]):o>=-1131&&o<=-108?(o=-o-108,c=[(o>>8)+251,o&255]):o>=-32768&&o<=32767?c=[28,o>>8&255,o&255]:c=[29,o>>24&255,o>>16&255,o>>8&255,o&255],c}},{key:"compileHeader",value:function(o){return[o.major,o.minor,4,o.offSize]}},{key:"compileNameIndex",value:function(o){for(var c=new w,v=0,A=o.length;v<A;++v){for(var u=o[v],C=Math.min(u.length,127),I=new Array(C),E=0;E<C;E++){var N=u[E];(N<"!"||N>"~"||N==="["||N==="]"||N==="("||N===")"||N==="{"||N==="}"||N==="<"||N===">"||N==="/"||N==="%")&&(N="_"),I[E]=N}I=I.join(""),I===""&&(I="Bad_Font_Name"),c.add((0,b.stringToBytes)(I))}return this.compileIndex(c)}},{key:"compileTopDicts",value:function(o,c,v){for(var A=[],u=new w,C=0,I=o.length;C<I;++C){var E=o[C];v&&(E.removeByName("CIDFontVersion"),E.removeByName("CIDFontRevision"),E.removeByName("CIDFontType"),E.removeByName("CIDCount"),E.removeByName("UIDBase"));var N=new l,_=this.compileDict(E,N);A.push(N),u.add(_),N.offset(c)}return u=this.compileIndex(u,A),{trackers:A,output:u}}},{key:"compilePrivateDicts",value:function(o,c,v){for(var A=0,u=o.length;A<u;++A){var C=o[A],I=C.privateDict;if(!I||!C.hasName("Private"))throw new b.FormatError("There must be a private dictionary.");var E=new l,N=this.compileDict(I,E),_=v.length;if(E.offset(_),N.length||(_=0),c[A].setEntryLocation("Private",[N.length,_],v),v.add(N),I.subrsIndex&&I.hasName("Subrs")){var Y=this.compileIndex(I.subrsIndex);E.setEntryLocation("Subrs",[N.length],v),v.add(Y)}}}},{key:"compileDict",value:function(o,c){for(var v=[],A=o.order,u=0;u<A.length;++u){var C=A[u];if(C in o.values){var I=o.values[C],E=o.types[C];if(Array.isArray(E)||(E=[E]),Array.isArray(I)||(I=[I]),I.length!==0){for(var N=0,_=E.length;N<_;++N){var Y=E[N],H=I[N];switch(Y){case"num":case"sid":v=v.concat(this.encodeNumber(H));break;case"offset":var Z=o.keyToNameMap[C];c.isTracking(Z)||c.track(Z,v.length),v=v.concat([29,0,0,0,0]);break;case"array":case"delta":v=v.concat(this.encodeNumber(H));for(var ne=1,he=I.length;ne<he;++ne)v=v.concat(this.encodeNumber(I[ne]));break;default:throw new b.FormatError("Unknown data type of ".concat(Y))}}v=v.concat(o.opcodes[C])}}}return v}},{key:"compileStringIndex",value:function(o){for(var c=new w,v=0,A=o.length;v<A;++v)c.add((0,b.stringToBytes)(o[v]));return this.compileIndex(c)}},{key:"compileGlobalSubrIndex",value:function(){var o=this.cff.globalSubrIndex;this.out.writeByteArray(this.compileIndex(o))}},{key:"compileCharStrings",value:function(o){for(var c=new w,v=0;v<o.count;v++){var A=o.get(v);if(A.length===0){c.add(new Uint8Array([139,14]));continue}c.add(A)}return this.compileIndex(c)}},{key:"compileCharset",value:function(o,c,v,A){var u,C=c-1;if(A)u=new Uint8Array([2,0,0,C>>8&255,C&255]);else{var I=1+C*2;u=new Uint8Array(I),u[0]=0;for(var E=0,N=o.charset.length,_=!1,Y=1;Y<u.length;Y+=2){var H=0;if(E<N){var Z=o.charset[E++];H=v.getSID(Z),H===-1&&(H=0,_||(_=!0,(0,b.warn)("Couldn't find ".concat(Z," in CFF strings"))))}u[Y]=H>>8&255,u[Y+1]=H&255}}return this.compileTypedArray(u)}},{key:"compileEncoding",value:function(o){return this.compileTypedArray(o.raw)}},{key:"compileFDSelect",value:function(o){var c=o.format,v,A;switch(c){case 0:for(v=new Uint8Array(1+o.fdSelect.length),v[0]=c,A=0;A<o.fdSelect.length;A++)v[A+1]=o.fdSelect[A];break;case 3:var u=0,C=o.fdSelect[0],I=[c,0,0,u>>8&255,u&255,C];for(A=1;A<o.fdSelect.length;A++){var E=o.fdSelect[A];E!==C&&(I.push(A>>8&255,A&255,E),C=E)}var N=(I.length-3)/3;I[1]=N>>8&255,I[2]=N&255,I.push(A>>8&255,A&255),v=new Uint8Array(I);break}return this.compileTypedArray(v)}},{key:"compileTypedArray",value:function(o){for(var c=[],v=0,A=o.length;v<A;++v)c[v]=o[v];return c}},{key:"compileIndex",value:function(o){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],v=o.objects,A=v.length;if(A===0)return[0,0,0];var u=[A>>8&255,A&255],C=1,I;for(I=0;I<A;++I)C+=v[I].length;var E;C<256?E=1:C<65536?E=2:C<16777216?E=3:E=4,u.push(E);var N=1;for(I=0;I<A+1;I++)E===1?u.push(N&255):E===2?u.push(N>>8&255,N&255):E===3?u.push(N>>16&255,N>>8&255,N&255):u.push(N>>>24&255,N>>16&255,N>>8&255,N&255),v[I]&&(N+=v[I].length);for(I=0;I<A;I++){c[I]&&c[I].offset(u.length);for(var _=0,Y=v[I].length;_<Y;_++)u.push(v[I][_])}return u}}],[{key:"EncodeFloatRegExp",get:function(){return(0,b.shadow)(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}}]),i}();P.CFFCompiler=a},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.ISOAdobeCharset=P.ExpertSubsetCharset=P.ExpertCharset=void 0;var D=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"];P.ISOAdobeCharset=D;var T=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];P.ExpertCharset=T;var b=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"];P.ExpertSubsetCharset=b},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.getSerifFonts=P.getNonStdFontMap=P.getGlyphMapForStandardFonts=P.getFontNameToFileMap=void 0,P.getStandardFontName=ae,P.getSymbolsFonts=P.getSupplementalGlyphMapForCalibri=P.getSupplementalGlyphMapForArialBlack=P.getStdFontMap=void 0;var T=D(139),b=D(148),t=(0,T.getLookupTableFactory)(function(d){d["Times-Roman"]="Times-Roman",d.Helvetica="Helvetica",d.Courier="Courier",d.Symbol="Symbol",d["Times-Bold"]="Times-Bold",d["Helvetica-Bold"]="Helvetica-Bold",d["Courier-Bold"]="Courier-Bold",d.ZapfDingbats="ZapfDingbats",d["Times-Italic"]="Times-Italic",d["Helvetica-Oblique"]="Helvetica-Oblique",d["Courier-Oblique"]="Courier-Oblique",d["Times-BoldItalic"]="Times-BoldItalic",d["Helvetica-BoldOblique"]="Helvetica-BoldOblique",d["Courier-BoldOblique"]="Courier-BoldOblique",d.ArialNarrow="Helvetica",d["ArialNarrow-Bold"]="Helvetica-Bold",d["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",d["ArialNarrow-Italic"]="Helvetica-Oblique",d.ArialBlack="Helvetica",d["ArialBlack-Bold"]="Helvetica-Bold",d["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",d["ArialBlack-Italic"]="Helvetica-Oblique",d["Arial-Black"]="Helvetica",d["Arial-Black-Bold"]="Helvetica-Bold",d["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",d["Arial-Black-Italic"]="Helvetica-Oblique",d.Arial="Helvetica",d["Arial-Bold"]="Helvetica-Bold",d["Arial-BoldItalic"]="Helvetica-BoldOblique",d["Arial-Italic"]="Helvetica-Oblique",d["Arial-BoldItalicMT"]="Helvetica-BoldOblique",d["Arial-BoldMT"]="Helvetica-Bold",d["Arial-ItalicMT"]="Helvetica-Oblique",d.ArialMT="Helvetica",d["Courier-BoldItalic"]="Courier-BoldOblique",d["Courier-Italic"]="Courier-Oblique",d.CourierNew="Courier",d["CourierNew-Bold"]="Courier-Bold",d["CourierNew-BoldItalic"]="Courier-BoldOblique",d["CourierNew-Italic"]="Courier-Oblique",d["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",d["CourierNewPS-BoldMT"]="Courier-Bold",d["CourierNewPS-ItalicMT"]="Courier-Oblique",d.CourierNewPSMT="Courier",d["Helvetica-BoldItalic"]="Helvetica-BoldOblique",d["Helvetica-Italic"]="Helvetica-Oblique",d["Symbol-Bold"]="Symbol",d["Symbol-BoldItalic"]="Symbol",d["Symbol-Italic"]="Symbol",d.TimesNewRoman="Times-Roman",d["TimesNewRoman-Bold"]="Times-Bold",d["TimesNewRoman-BoldItalic"]="Times-BoldItalic",d["TimesNewRoman-Italic"]="Times-Italic",d.TimesNewRomanPS="Times-Roman",d["TimesNewRomanPS-Bold"]="Times-Bold",d["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",d["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",d["TimesNewRomanPS-BoldMT"]="Times-Bold",d["TimesNewRomanPS-Italic"]="Times-Italic",d["TimesNewRomanPS-ItalicMT"]="Times-Italic",d.TimesNewRomanPSMT="Times-Roman",d["TimesNewRomanPSMT-Bold"]="Times-Bold",d["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",d["TimesNewRomanPSMT-Italic"]="Times-Italic"});P.getStdFontMap=t;var e=(0,T.getLookupTableFactory)(function(d){d.Courier="FoxitFixed.pfb",d["Courier-Bold"]="FoxitFixedBold.pfb",d["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",d["Courier-Oblique"]="FoxitFixedItalic.pfb",d.Helvetica="FoxitSans.pfb",d["Helvetica-Bold"]="FoxitSansBold.pfb",d["Helvetica-BoldOblique"]="FoxitSansBoldItalic.pfb",d["Helvetica-Oblique"]="FoxitSansItalic.pfb",d["Times-Roman"]="FoxitSerif.pfb",d["Times-Bold"]="FoxitSerifBold.pfb",d["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",d["Times-Italic"]="FoxitSerifItalic.pfb",d.Symbol="FoxitSymbol.pfb",d.ZapfDingbats="FoxitDingbats.pfb",d["LiberationSans-Regular"]="LiberationSans-Regular.ttf",d["LiberationSans-Bold"]="LiberationSans-Bold.ttf",d["LiberationSans-Italic"]="LiberationSans-Italic.ttf",d["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"});P.getFontNameToFileMap=e;var ge=(0,T.getLookupTableFactory)(function(d){d.Calibri="Helvetica",d["Calibri-Bold"]="Helvetica-Bold",d["Calibri-BoldItalic"]="Helvetica-BoldOblique",d["Calibri-Italic"]="Helvetica-Oblique",d.CenturyGothic="Helvetica",d["CenturyGothic-Bold"]="Helvetica-Bold",d["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",d["CenturyGothic-Italic"]="Helvetica-Oblique",d.ComicSansMS="Comic Sans MS",d["ComicSansMS-Bold"]="Comic Sans MS-Bold",d["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",d["ComicSansMS-Italic"]="Comic Sans MS-Italic",d["ItcSymbol-Bold"]="Helvetica-Bold",d["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",d["ItcSymbol-Book"]="Helvetica",d["ItcSymbol-BookItalic"]="Helvetica-Oblique",d["ItcSymbol-Medium"]="Helvetica",d["ItcSymbol-MediumItalic"]="Helvetica-Oblique",d.LucidaConsole="Courier",d["LucidaConsole-Bold"]="Courier-Bold",d["LucidaConsole-BoldItalic"]="Courier-BoldOblique",d["LucidaConsole-Italic"]="Courier-Oblique",d["LucidaSans-Demi"]="Helvetica-Bold",d["MS-Gothic"]="MS Gothic",d["MS-Gothic-Bold"]="MS Gothic-Bold",d["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",d["MS-Gothic-Italic"]="MS Gothic-Italic",d["MS-Mincho"]="MS Mincho",d["MS-Mincho-Bold"]="MS Mincho-Bold",d["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",d["MS-Mincho-Italic"]="MS Mincho-Italic",d["MS-PGothic"]="MS PGothic",d["MS-PGothic-Bold"]="MS PGothic-Bold",d["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",d["MS-PGothic-Italic"]="MS PGothic-Italic",d["MS-PMincho"]="MS PMincho",d["MS-PMincho-Bold"]="MS PMincho-Bold",d["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",d["MS-PMincho-Italic"]="MS PMincho-Italic",d.NuptialScript="Times-Italic",d.SegoeUISymbol="Helvetica",d.Wingdings="ZapfDingbats",d["Wingdings-Regular"]="ZapfDingbats"});P.getNonStdFontMap=ge;var le=(0,T.getLookupTableFactory)(function(d){d["Adobe Jenson"]=!0,d["Adobe Text"]=!0,d.Albertus=!0,d.Aldus=!0,d.Alexandria=!0,d.Algerian=!0,d["American Typewriter"]=!0,d.Antiqua=!0,d.Apex=!0,d.Arno=!0,d.Aster=!0,d.Aurora=!0,d.Baskerville=!0,d.Bell=!0,d.Bembo=!0,d["Bembo Schoolbook"]=!0,d.Benguiat=!0,d["Berkeley Old Style"]=!0,d["Bernhard Modern"]=!0,d["Berthold City"]=!0,d.Bodoni=!0,d["Bauer Bodoni"]=!0,d["Book Antiqua"]=!0,d.Bookman=!0,d["Bordeaux Roman"]=!0,d["Californian FB"]=!0,d.Calisto=!0,d.Calvert=!0,d.Capitals=!0,d.Cambria=!0,d.Cartier=!0,d.Caslon=!0,d.Catull=!0,d.Centaur=!0,d["Century Old Style"]=!0,d["Century Schoolbook"]=!0,d.Chaparral=!0,d["Charis SIL"]=!0,d.Cheltenham=!0,d["Cholla Slab"]=!0,d.Clarendon=!0,d.Clearface=!0,d.Cochin=!0,d.Colonna=!0,d["Computer Modern"]=!0,d["Concrete Roman"]=!0,d.Constantia=!0,d["Cooper Black"]=!0,d.Corona=!0,d.Ecotype=!0,d.Egyptienne=!0,d.Elephant=!0,d.Excelsior=!0,d.Fairfield=!0,d["FF Scala"]=!0,d.Folkard=!0,d.Footlight=!0,d.FreeSerif=!0,d["Friz Quadrata"]=!0,d.Garamond=!0,d.Gentium=!0,d.Georgia=!0,d.Gloucester=!0,d["Goudy Old Style"]=!0,d["Goudy Schoolbook"]=!0,d["Goudy Pro Font"]=!0,d.Granjon=!0,d["Guardian Egyptian"]=!0,d.Heather=!0,d.Hercules=!0,d["High Tower Text"]=!0,d.Hiroshige=!0,d["Hoefler Text"]=!0,d["Humana Serif"]=!0,d.Imprint=!0,d["Ionic No. 5"]=!0,d.Janson=!0,d.Joanna=!0,d.Korinna=!0,d.Lexicon=!0,d.LiberationSerif=!0,d["Liberation Serif"]=!0,d["Linux Libertine"]=!0,d.Literaturnaya=!0,d.Lucida=!0,d["Lucida Bright"]=!0,d.Melior=!0,d.Memphis=!0,d.Miller=!0,d.Minion=!0,d.Modern=!0,d["Mona Lisa"]=!0,d["Mrs Eaves"]=!0,d["MS Serif"]=!0,d["Museo Slab"]=!0,d["New York"]=!0,d["Nimbus Roman"]=!0,d["NPS Rawlinson Roadway"]=!0,d.NuptialScript=!0,d.Palatino=!0,d.Perpetua=!0,d.Plantin=!0,d["Plantin Schoolbook"]=!0,d.Playbill=!0,d["Poor Richard"]=!0,d["Rawlinson Roadway"]=!0,d.Renault=!0,d.Requiem=!0,d.Rockwell=!0,d.Roman=!0,d["Rotis Serif"]=!0,d.Sabon=!0,d.Scala=!0,d.Seagull=!0,d.Sistina=!0,d.Souvenir=!0,d.STIX=!0,d["Stone Informal"]=!0,d["Stone Serif"]=!0,d.Sylfaen=!0,d.Times=!0,d.Trajan=!0,d.Trinit\u00E9=!0,d["Trump Mediaeval"]=!0,d.Utopia=!0,d["Vale Type"]=!0,d["Bitstream Vera"]=!0,d["Vera Serif"]=!0,d.Versailles=!0,d.Wanted=!0,d.Weiss=!0,d["Wide Latin"]=!0,d.Windsor=!0,d.XITS=!0});P.getSerifFonts=le;var V=(0,T.getLookupTableFactory)(function(d){d.Dingbats=!0,d.Symbol=!0,d.ZapfDingbats=!0});P.getSymbolsFonts=V;var ye=(0,T.getLookupTableFactory)(function(d){d[2]=10,d[3]=32,d[4]=33,d[5]=34,d[6]=35,d[7]=36,d[8]=37,d[9]=38,d[10]=39,d[11]=40,d[12]=41,d[13]=42,d[14]=43,d[15]=44,d[16]=45,d[17]=46,d[18]=47,d[19]=48,d[20]=49,d[21]=50,d[22]=51,d[23]=52,d[24]=53,d[25]=54,d[26]=55,d[27]=56,d[28]=57,d[29]=58,d[30]=894,d[31]=60,d[32]=61,d[33]=62,d[34]=63,d[35]=64,d[36]=65,d[37]=66,d[38]=67,d[39]=68,d[40]=69,d[41]=70,d[42]=71,d[43]=72,d[44]=73,d[45]=74,d[46]=75,d[47]=76,d[48]=77,d[49]=78,d[50]=79,d[51]=80,d[52]=81,d[53]=82,d[54]=83,d[55]=84,d[56]=85,d[57]=86,d[58]=87,d[59]=88,d[60]=89,d[61]=90,d[62]=91,d[63]=92,d[64]=93,d[65]=94,d[66]=95,d[67]=96,d[68]=97,d[69]=98,d[70]=99,d[71]=100,d[72]=101,d[73]=102,d[74]=103,d[75]=104,d[76]=105,d[77]=106,d[78]=107,d[79]=108,d[80]=109,d[81]=110,d[82]=111,d[83]=112,d[84]=113,d[85]=114,d[86]=115,d[87]=116,d[88]=117,d[89]=118,d[90]=119,d[91]=120,d[92]=121,d[93]=122,d[94]=123,d[95]=124,d[96]=125,d[97]=126,d[98]=196,d[99]=197,d[100]=199,d[101]=201,d[102]=209,d[103]=214,d[104]=220,d[105]=225,d[106]=224,d[107]=226,d[108]=228,d[109]=227,d[110]=229,d[111]=231,d[112]=233,d[113]=232,d[114]=234,d[115]=235,d[116]=237,d[117]=236,d[118]=238,d[119]=239,d[120]=241,d[121]=243,d[122]=242,d[123]=244,d[124]=246,d[125]=245,d[126]=250,d[127]=249,d[128]=251,d[129]=252,d[130]=8224,d[131]=176,d[132]=162,d[133]=163,d[134]=167,d[135]=8226,d[136]=182,d[137]=223,d[138]=174,d[139]=169,d[140]=8482,d[141]=180,d[142]=168,d[143]=8800,d[144]=198,d[145]=216,d[146]=8734,d[147]=177,d[148]=8804,d[149]=8805,d[150]=165,d[151]=181,d[152]=8706,d[153]=8721,d[154]=8719,d[156]=8747,d[157]=170,d[158]=186,d[159]=8486,d[160]=230,d[161]=248,d[162]=191,d[163]=161,d[164]=172,d[165]=8730,d[166]=402,d[167]=8776,d[168]=8710,d[169]=171,d[170]=187,d[171]=8230,d[200]=193,d[203]=205,d[210]=218,d[223]=711,d[224]=321,d[225]=322,d[226]=352,d[227]=353,d[228]=381,d[229]=382,d[233]=221,d[234]=253,d[252]=263,d[253]=268,d[254]=269,d[258]=258,d[260]=260,d[261]=261,d[265]=280,d[266]=281,d[267]=282,d[268]=283,d[269]=313,d[275]=323,d[276]=324,d[278]=328,d[283]=344,d[284]=345,d[285]=346,d[286]=347,d[292]=367,d[295]=377,d[296]=378,d[298]=380,d[305]=963,d[306]=964,d[307]=966,d[308]=8215,d[309]=8252,d[310]=8319,d[311]=8359,d[312]=8592,d[313]=8593,d[337]=9552,d[493]=1039,d[494]=1040,d[705]=1524,d[706]=8362,d[710]=64288,d[711]=64298,d[759]=1617,d[761]=1776,d[763]=1778,d[775]=1652,d[777]=1764,d[778]=1780,d[779]=1781,d[780]=1782,d[782]=771,d[783]=64726,d[786]=8363,d[788]=8532,d[790]=768,d[791]=769,d[792]=768,d[795]=803,d[797]=64336,d[798]=64337,d[799]=64342,d[800]=64343,d[801]=64344,d[802]=64345,d[803]=64362,d[804]=64363,d[805]=64364,d[2424]=7821,d[2425]=7822,d[2426]=7823,d[2427]=7824,d[2428]=7825,d[2429]=7826,d[2430]=7827,d[2433]=7682,d[2678]=8045,d[2679]=8046,d[2830]=1552,d[2838]=686,d[2840]=751,d[2842]=753,d[2843]=754,d[2844]=755,d[2846]=757,d[2856]=767,d[2857]=848,d[2858]=849,d[2862]=853,d[2863]=854,d[2864]=855,d[2865]=861,d[2866]=862,d[2906]=7460,d[2908]=7462,d[2909]=7463,d[2910]=7464,d[2912]=7466,d[2913]=7467,d[2914]=7468,d[2916]=7470,d[2917]=7471,d[2918]=7472,d[2920]=7474,d[2921]=7475,d[2922]=7476,d[2924]=7478,d[2925]=7479,d[2926]=7480,d[2928]=7482,d[2929]=7483,d[2930]=7484,d[2932]=7486,d[2933]=7487,d[2934]=7488,d[2936]=7490,d[2937]=7491,d[2938]=7492,d[2940]=7494,d[2941]=7495,d[2942]=7496,d[2944]=7498,d[2946]=7500,d[2948]=7502,d[2950]=7504,d[2951]=7505,d[2952]=7506,d[2954]=7508,d[2955]=7509,d[2956]=7510,d[2958]=7512,d[2959]=7513,d[2960]=7514,d[2962]=7516,d[2963]=7517,d[2964]=7518,d[2966]=7520,d[2967]=7521,d[2968]=7522,d[2970]=7524,d[2971]=7525,d[2972]=7526,d[2974]=7528,d[2975]=7529,d[2976]=7530,d[2978]=1537,d[2979]=1538,d[2980]=1539,d[2982]=1549,d[2983]=1551,d[2984]=1552,d[2986]=1554,d[2987]=1555,d[2988]=1556,d[2990]=1623,d[2991]=1624,d[2995]=1775,d[2999]=1791,d[3002]=64290,d[3003]=64291,d[3004]=64292,d[3006]=64294,d[3007]=64295,d[3008]=64296,d[3011]=1900,d[3014]=8223,d[3015]=8244,d[3017]=7532,d[3018]=7533,d[3019]=7534,d[3075]=7590,d[3076]=7591,d[3079]=7594,d[3080]=7595,d[3083]=7598,d[3084]=7599,d[3087]=7602,d[3088]=7603,d[3091]=7606,d[3092]=7607,d[3095]=7610,d[3096]=7611,d[3099]=7614,d[3100]=7615,d[3103]=7618,d[3104]=7619,d[3107]=8337,d[3108]=8338,d[3116]=1884,d[3119]=1885,d[3120]=1885,d[3123]=1886,d[3124]=1886,d[3127]=1887,d[3128]=1887,d[3131]=1888,d[3132]=1888,d[3135]=1889,d[3136]=1889,d[3139]=1890,d[3140]=1890,d[3143]=1891,d[3144]=1891,d[3147]=1892,d[3148]=1892,d[3153]=580,d[3154]=581,d[3157]=584,d[3158]=585,d[3161]=588,d[3162]=589,d[3165]=891,d[3166]=892,d[3169]=1274,d[3170]=1275,d[3173]=1278,d[3174]=1279,d[3181]=7622,d[3182]=7623,d[3282]=11799,d[3316]=578,d[3379]=42785,d[3393]=1159,d[3416]=8377});P.getGlyphMapForStandardFonts=ye;var be=(0,T.getLookupTableFactory)(function(d){d[227]=322,d[264]=261,d[291]=346});P.getSupplementalGlyphMapForArialBlack=be;var xe=(0,T.getLookupTableFactory)(function(d){d[1]=32,d[4]=65,d[6]=193,d[17]=66,d[18]=67,d[21]=268,d[24]=68,d[28]=69,d[30]=201,d[32]=282,d[38]=70,d[39]=71,d[44]=72,d[47]=73,d[49]=205,d[58]=74,d[60]=75,d[62]=76,d[68]=77,d[69]=78,d[75]=79,d[87]=80,d[89]=81,d[90]=82,d[92]=344,d[94]=83,d[97]=352,d[100]=84,d[104]=85,d[115]=86,d[116]=87,d[121]=88,d[122]=89,d[124]=221,d[127]=90,d[129]=381,d[258]=97,d[260]=225,d[268]=261,d[271]=98,d[272]=99,d[273]=263,d[275]=269,d[282]=100,d[286]=101,d[288]=233,d[290]=283,d[295]=281,d[296]=102,d[336]=103,d[346]=104,d[349]=105,d[351]=237,d[361]=106,d[364]=107,d[367]=108,d[371]=322,d[373]=109,d[374]=110,d[381]=111,d[383]=243,d[393]=112,d[395]=113,d[396]=114,d[398]=345,d[400]=115,d[401]=347,d[403]=353,d[410]=116,d[437]=117,d[448]=118,d[449]=119,d[454]=120,d[455]=121,d[457]=253,d[460]=122,d[462]=382,d[463]=380,d[853]=44,d[855]=58,d[856]=46,d[876]=47,d[878]=45,d[882]=45,d[894]=40,d[895]=41,d[896]=91,d[897]=93,d[923]=64,d[1004]=48,d[1005]=49,d[1006]=50,d[1007]=51,d[1008]=52,d[1009]=53,d[1010]=54,d[1011]=55,d[1012]=56,d[1013]=57,d[1081]=37,d[1085]=43,d[1086]=45});P.getSupplementalGlyphMapForCalibri=xe;function ae(d){var ce=(0,b.normalizeFontName)(d),q=t();return q[ce]}},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.ToUnicodeMap=P.IdentityToUnicodeMap=void 0;var T=D(4);function b(V,ye){if(!(V instanceof ye))throw new TypeError("Cannot call a class as a function")}function t(V,ye){for(var be=0;be<ye.length;be++){var xe=ye[be];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(V,xe.key,xe)}}function e(V,ye,be){return ye&&t(V.prototype,ye),be&&t(V,be),V}var ge=function(){function V(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];b(this,V),this._map=ye}return e(V,[{key:"length",get:function(){return this._map.length}},{key:"forEach",value:function(be){for(var xe in this._map)be(xe,this._map[xe].charCodeAt(0))}},{key:"has",value:function(be){return this._map[be]!==void 0}},{key:"get",value:function(be){return this._map[be]}},{key:"charCodeOf",value:function(be){var xe=this._map;if(xe.length<=65536)return xe.indexOf(be);for(var ae in xe)if(xe[ae]===be)return ae|0;return-1}},{key:"amend",value:function(be){for(var xe in be)this._map[xe]=be[xe]}}]),V}();P.ToUnicodeMap=ge;var le=function(){function V(ye,be){b(this,V),this.firstChar=ye,this.lastChar=be}return e(V,[{key:"length",get:function(){return this.lastChar+1-this.firstChar}},{key:"forEach",value:function(be){for(var xe=this.firstChar,ae=this.lastChar;xe<=ae;xe++)be(xe,xe)}},{key:"has",value:function(be){return this.firstChar<=be&&be<=this.lastChar}},{key:"get",value:function(be){if(this.firstChar<=be&&be<=this.lastChar)return String.fromCharCode(be)}},{key:"charCodeOf",value:function(be){return Number.isInteger(be)&&be>=this.firstChar&&be<=this.lastChar?be:-1}},{key:"amend",value:function(be){(0,T.unreachable)("Should not call amend()")}}]),V}();P.IdentityToUnicodeMap=le},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.CFFFont=void 0;var T=D(175),b=D(148),t=D(4);function e(ye,be){if(!(ye instanceof be))throw new TypeError("Cannot call a class as a function")}function ge(ye,be){for(var xe=0;xe<be.length;xe++){var ae=be[xe];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(ye,ae.key,ae)}}function le(ye,be,xe){return be&&ge(ye.prototype,be),xe&&ge(ye,xe),ye}var V=function(){function ye(be,xe){e(this,ye),this.properties=xe;var ae=new T.CFFParser(be,xe,b.SEAC_ANALYSIS_ENABLED);this.cff=ae.parse(),this.cff.duplicateFirstGlyph();var d=new T.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=d.compile()}catch(ce){(0,t.warn)("Failed to compile font "+xe.loadedName),this.data=be}this._createBuiltInEncoding()}return le(ye,[{key:"numGlyphs",get:function(){return this.cff.charStrings.count}},{key:"getCharset",value:function(){return this.cff.charset.charset}},{key:"getGlyphMapping",value:function(){var xe=this.cff,ae=this.properties,d=xe.charset.charset,ce,q;if(ae.composite){ce=Object.create(null);var re;if(xe.isCIDFont)for(q=0;q<d.length;q++){var X=d[q];re=ae.cMap.charCodeOf(X),ce[re]=q}else for(q=0;q<xe.charStrings.count;q++)re=ae.cMap.charCodeOf(q),ce[re]=q;return ce}var y=xe.encoding?xe.encoding.encoding:null;return ae.isInternalFont&&(y=ae.defaultEncoding),ce=(0,b.type1FontGlyphMapping)(ae,y,d),ce}},{key:"hasGlyphId",value:function(xe){return this.cff.hasGlyphId(xe)}},{key:"_createBuiltInEncoding",value:function(){var xe=this.cff,ae=xe.charset,d=xe.encoding;if(!(!ae||!d)){var ce=ae.charset,q=d.encoding,re=[];for(var X in q){var y=q[X];if(y>=0){var k=ce[y];k&&(re[X]=k)}}re.length>0&&(this.properties.builtInEncoding=re)}}}]),ye}();P.CFFFont=V},(Me,P,D)=>{"use strict";function T(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(m){return typeof m}:T=function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},T(a)}Object.defineProperty(P,"__esModule",{value:!0}),P.FontRendererFactory=void 0;var b=D(4),t=D(175),e=D(150),ge=D(149),le=D(140);function V(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),i&&ye(a,i)}function ye(a,i){return ye=Object.setPrototypeOf||function(o,c){return o.__proto__=c,o},ye(a,i)}function be(a){var i=d();return function(){var o=ce(a),c;if(i){var v=ce(this).constructor;c=Reflect.construct(o,arguments,v)}else c=o.apply(this,arguments);return xe(this,c)}}function xe(a,i){if(i&&(T(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(a)}function ae(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}function ce(a){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},ce(a)}function q(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function re(a,i){for(var m=0;m<i.length;m++){var o=i[m];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}function X(a,i,m){return i&&re(a.prototype,i),m&&re(a,m),a}function y(a,i){return a[i]<<24|a[i+1]<<16|a[i+2]<<8|a[i+3]}function k(a,i){return a[i]<<8|a[i+1]}function n(a){var i=a.length,m=32768;return i<1240?m=107:i<33900&&(m=1131),m}function S(a,i,m){var o=k(a,i+2)===1?y(a,i+8):y(a,i+16),c=k(a,i+o),v,A,u;if(c===4){k(a,i+o+2);var C=k(a,i+o+6)>>1;for(A=i+o+14,v=[],u=0;u<C;u++,A+=2)v[u]={end:k(a,A)};for(A+=2,u=0;u<C;u++,A+=2)v[u].start=k(a,A);for(u=0;u<C;u++,A+=2)v[u].idDelta=k(a,A);for(u=0;u<C;u++,A+=2){var I=k(a,A);if(I!==0){v[u].ids=[];for(var E=0,N=v[u].end-v[u].start+1;E<N;E++)v[u].ids[E]=k(a,A+I),I+=2}}return v}else if(c===12){y(a,i+o+4);var _=y(a,i+o+12);for(A=i+o+16,v=[],u=0;u<_;u++)v.push({start:y(a,A),end:y(a,A+4),idDelta:y(a,A+8)-y(a,A)}),A+=12;return v}throw new b.FormatError("unsupported cmap: ".concat(c))}function O(a,i,m,o){var c={},v=new t.CFFParser(new le.Stream(a,i,m-i),c,o),A=v.parse();return{glyphs:A.charStrings.objects,subrs:A.topDict.privateDict&&A.topDict.privateDict.subrsIndex&&A.topDict.privateDict.subrsIndex.objects,gsubrs:A.globalSubrIndex&&A.globalSubrIndex.objects,isCFFCIDFont:A.isCIDFont,fdSelect:A.fdSelect,fdArray:A.fdArray}}function w(a,i,m){var o,c;m?(o=4,c=function(E,N){return E[N]<<24|E[N+1]<<16|E[N+2]<<8|E[N+3]}):(o=2,c=function(E,N){return E[N]<<9|E[N+1]<<1});for(var v=[],A=c(i,0),u=o;u<i.length;u+=o){var C=c(i,u);v.push(a.subarray(A,C)),A=C}return v}function p(a,i){for(var m=i.codePointAt(0),o=0,c=0,v=a.length-1;c<v;){var A=c+v+1>>1;m<a[A].start?v=A-1:c=A}return a[c].start<=m&&m<=a[c].end&&(o=a[c].idDelta+(a[c].ids?a[c].ids[m-a[c].start]:m)&65535),{charCode:m,glyphId:o}}function x(a,i,m){function o(de,oe){i.push({cmd:"moveTo",args:[de,oe]})}function c(de,oe){i.push({cmd:"lineTo",args:[de,oe]})}function v(de,oe,pe,fe){i.push({cmd:"quadraticCurveTo",args:[de,oe,pe,fe]})}var A=0,u=(a[A]<<24|a[A+1]<<16)>>16,C,I=0,E=0;if(A+=10,u<0)do{C=a[A]<<8|a[A+1];var N=a[A+2]<<8|a[A+3];A+=4;var _=void 0,Y=void 0;C&1?(_=(a[A]<<24|a[A+1]<<16)>>16,Y=(a[A+2]<<24|a[A+3]<<16)>>16,A+=4):(_=a[A++],Y=a[A++]),C&2?(I=_,E=Y):(I=0,E=0);var H=1,Z=1,ne=0,he=0;C&8?(H=Z=(a[A]<<24|a[A+1]<<16)/1073741824,A+=2):C&64?(H=(a[A]<<24|a[A+1]<<16)/1073741824,Z=(a[A+2]<<24|a[A+3]<<16)/1073741824,A+=4):C&128&&(H=(a[A]<<24|a[A+1]<<16)/1073741824,ne=(a[A+2]<<24|a[A+3]<<16)/1073741824,he=(a[A+4]<<24|a[A+5]<<16)/1073741824,Z=(a[A+6]<<24|a[A+7]<<16)/1073741824,A+=8);var Se=m.glyphs[N];Se&&(i.push({cmd:"save"},{cmd:"transform",args:[H,ne,he,Z,I,E]}),x(Se,i,m),i.push({cmd:"restore"}))}while(C&32);else{var ue=[],te,$;for(te=0;te<u;te++)ue.push(a[A]<<8|a[A+1]),A+=2;var j=a[A]<<8|a[A+1];A+=2+j;for(var G=ue[ue.length-1]+1,M=[];M.length<G;){C=a[A++];var W=1;for(C&8&&(W+=a[A++]);W-- >0;)M.push({flags:C})}for(te=0;te<G;te++){switch(M[te].flags&18){case 0:I+=(a[A]<<24|a[A+1]<<16)>>16,A+=2;break;case 2:I-=a[A++];break;case 18:I+=a[A++];break}M[te].x=I}for(te=0;te<G;te++){switch(M[te].flags&36){case 0:E+=(a[A]<<24|a[A+1]<<16)>>16,A+=2;break;case 4:E-=a[A++];break;case 36:E+=a[A++];break}M[te].y=E}var z=0;for(A=0;A<u;A++){var J=ue[A],Q=M.slice(z,J+1);if(Q[0].flags&1)Q.push(Q[0]);else if(Q[Q.length-1].flags&1)Q.unshift(Q[Q.length-1]);else{var K={flags:1,x:(Q[0].x+Q[Q.length-1].x)/2,y:(Q[0].y+Q[Q.length-1].y)/2};Q.unshift(K),Q.push(K)}for(o(Q[0].x,Q[0].y),te=1,$=Q.length;te<$;te++)Q[te].flags&1?c(Q[te].x,Q[te].y):Q[te+1].flags&1?(v(Q[te].x,Q[te].y,Q[te+1].x,Q[te+1].y),te++):v(Q[te].x,Q[te].y,(Q[te].x+Q[te+1].x)/2,(Q[te].y+Q[te+1].y)/2);z=J+1}}}function f(a,i,m,o){function c(_,Y){i.push({cmd:"moveTo",args:[_,Y]})}function v(_,Y){i.push({cmd:"lineTo",args:[_,Y]})}function A(_,Y,H,Z,ne,he){i.push({cmd:"bezierCurveTo",args:[_,Y,H,Z,ne,he]})}var u=[],C=0,I=0,E=0;function N(_){for(var Y=0;Y<_.length;){var H=!1,Z=_[Y++],ne=void 0,he=void 0,Se=void 0,ue=void 0,te=void 0,$=void 0,j=void 0,G=void 0,M=void 0;switch(Z){case 1:E+=u.length>>1,H=!0;break;case 3:E+=u.length>>1,H=!0;break;case 4:I+=u.pop(),c(C,I),H=!0;break;case 5:for(;u.length>0;)C+=u.shift(),I+=u.shift(),v(C,I);break;case 6:for(;u.length>0&&(C+=u.shift(),v(C,I),u.length!==0);)I+=u.shift(),v(C,I);break;case 7:for(;u.length>0&&(I+=u.shift(),v(C,I),u.length!==0);)C+=u.shift(),v(C,I);break;case 8:for(;u.length>0;)ne=C+u.shift(),Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he+u.shift(),I=ue+u.shift(),A(ne,Se,he,ue,C,I);break;case 10:if(G=u.pop(),M=null,m.isCFFCIDFont){var W=m.fdSelect.getFDIndex(o);if(W>=0&&W<m.fdArray.length){var z=m.fdArray[W],J=void 0;z.privateDict&&z.privateDict.subrsIndex&&(J=z.privateDict.subrsIndex.objects),J&&(G+=n(J),M=J[G])}else(0,b.warn)("Invalid fd index for glyph index.")}else M=m.subrs[G+m.subrsBias];M&&N(M);break;case 11:return;case 12:switch(Z=_[Y++],Z){case 34:ne=C+u.shift(),he=ne+u.shift(),te=I+u.shift(),C=he+u.shift(),A(ne,I,he,te,C,te),ne=C+u.shift(),he=ne+u.shift(),C=he+u.shift(),A(ne,te,he,I,C,I);break;case 35:ne=C+u.shift(),Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he+u.shift(),I=ue+u.shift(),A(ne,Se,he,ue,C,I),ne=C+u.shift(),Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he+u.shift(),I=ue+u.shift(),A(ne,Se,he,ue,C,I),u.pop();break;case 36:ne=C+u.shift(),te=I+u.shift(),he=ne+u.shift(),$=te+u.shift(),C=he+u.shift(),A(ne,te,he,$,C,$),ne=C+u.shift(),he=ne+u.shift(),j=$+u.shift(),C=he+u.shift(),A(ne,$,he,j,C,I);break;case 37:var Q=C,K=I;ne=C+u.shift(),Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he+u.shift(),I=ue+u.shift(),A(ne,Se,he,ue,C,I),ne=C+u.shift(),Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he,I=ue,Math.abs(C-Q)>Math.abs(I-K)?C+=u.shift():I+=u.shift(),A(ne,Se,he,ue,C,I);break;default:throw new b.FormatError("unknown operator: 12 ".concat(Z))}break;case 14:if(u.length>=4){var de=u.pop(),oe=u.pop();I=u.pop(),C=u.pop(),i.push({cmd:"save"},{cmd:"translate",args:[C,I]});var pe=p(m.cmap,String.fromCharCode(m.glyphNameMap[ge.StandardEncoding[de]]));f(m.glyphs[pe.glyphId],i,m,pe.glyphId),i.push({cmd:"restore"}),pe=p(m.cmap,String.fromCharCode(m.glyphNameMap[ge.StandardEncoding[oe]])),f(m.glyphs[pe.glyphId],i,m,pe.glyphId)}return;case 18:E+=u.length>>1,H=!0;break;case 19:E+=u.length>>1,Y+=E+7>>3,H=!0;break;case 20:E+=u.length>>1,Y+=E+7>>3,H=!0;break;case 21:I+=u.pop(),C+=u.pop(),c(C,I),H=!0;break;case 22:C+=u.pop(),c(C,I),H=!0;break;case 23:E+=u.length>>1,H=!0;break;case 24:for(;u.length>2;)ne=C+u.shift(),Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he+u.shift(),I=ue+u.shift(),A(ne,Se,he,ue,C,I);C+=u.shift(),I+=u.shift(),v(C,I);break;case 25:for(;u.length>6;)C+=u.shift(),I+=u.shift(),v(C,I);ne=C+u.shift(),Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he+u.shift(),I=ue+u.shift(),A(ne,Se,he,ue,C,I);break;case 26:for(u.length%2&&(C+=u.shift());u.length>0;)ne=C,Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he,I=ue+u.shift(),A(ne,Se,he,ue,C,I);break;case 27:for(u.length%2&&(I+=u.shift());u.length>0;)ne=C+u.shift(),Se=I,he=ne+u.shift(),ue=Se+u.shift(),C=he+u.shift(),I=ue,A(ne,Se,he,ue,C,I);break;case 28:u.push((_[Y]<<24|_[Y+1]<<16)>>16),Y+=2;break;case 29:G=u.pop()+m.gsubrsBias,M=m.gsubrs[G],M&&N(M);break;case 30:for(;u.length>0&&(ne=C,Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he+u.shift(),I=ue+(u.length===1?u.shift():0),A(ne,Se,he,ue,C,I),u.length!==0);)ne=C+u.shift(),Se=I,he=ne+u.shift(),ue=Se+u.shift(),I=ue+u.shift(),C=he+(u.length===1?u.shift():0),A(ne,Se,he,ue,C,I);break;case 31:for(;u.length>0&&(ne=C+u.shift(),Se=I,he=ne+u.shift(),ue=Se+u.shift(),I=ue+u.shift(),C=he+(u.length===1?u.shift():0),A(ne,Se,he,ue,C,I),u.length!==0);)ne=C,Se=I+u.shift(),he=ne+u.shift(),ue=Se+u.shift(),C=he+u.shift(),I=ue+(u.length===1?u.shift():0),A(ne,Se,he,ue,C,I);break;default:if(Z<32)throw new b.FormatError("unknown operator: ".concat(Z));Z<247?u.push(Z-139):Z<251?u.push((Z-247)*256+_[Y++]+108):Z<255?u.push(-(Z-251)*256-_[Y++]-108):(u.push((_[Y]<<24|_[Y+1]<<16|_[Y+2]<<8|_[Y+3])/65536),Y+=4);break}H&&(u.length=0)}}N(a)}var h=[],F=function(){function a(i){q(this,a),this.constructor===a&&(0,b.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=i,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}return X(a,[{key:"getPathJs",value:function(m){var o=p(this.cmap,m),c=o.charCode,v=o.glyphId,A=this.compiledGlyphs[v];if(!A)try{A=this.compileGlyph(this.glyphs[v],v),this.compiledGlyphs[v]=A}catch(u){throw this.compiledGlyphs[v]=h,this.compiledCharCodeToGlyphId[c]===void 0&&(this.compiledCharCodeToGlyphId[c]=v),u}return this.compiledCharCodeToGlyphId[c]===void 0&&(this.compiledCharCodeToGlyphId[c]=v),A}},{key:"compileGlyph",value:function(m,o){if(!m||m.length===0||m[0]===14)return h;var c=this.fontMatrix;if(this.isCFFCIDFont){var v=this.fdSelect.getFDIndex(o);if(v>=0&&v<this.fdArray.length){var A=this.fdArray[v];c=A.getByName("FontMatrix")||b.FONT_IDENTITY_MATRIX}else(0,b.warn)("Invalid fd index for glyph index.")}var u=[{cmd:"save"},{cmd:"transform",args:c.slice()},{cmd:"scale",args:["size","-size"]}];return this.compileGlyphImpl(m,u,o),u.push({cmd:"restore"}),u}},{key:"compileGlyphImpl",value:function(){(0,b.unreachable)("Children classes should implement this.")}},{key:"hasBuiltPath",value:function(m){var o=p(this.cmap,m),c=o.charCode,v=o.glyphId;return this.compiledGlyphs[v]!==void 0&&this.compiledCharCodeToGlyphId[c]!==void 0}}]),a}(),s=function(a){V(m,a);var i=be(m);function m(o,c,v){var A;return q(this,m),A=i.call(this,v||[488e-6,0,0,488e-6,0,0]),A.glyphs=o,A.cmap=c,A}return X(m,[{key:"compileGlyphImpl",value:function(c,v){x(c,v,this)}}]),m}(F),g=function(a){V(m,a);var i=be(m);function m(o,c,v,A){var u;return q(this,m),u=i.call(this,v||[.001,0,0,.001,0,0]),u.glyphs=o.glyphs,u.gsubrs=o.gsubrs||[],u.subrs=o.subrs||[],u.cmap=c,u.glyphNameMap=A||(0,e.getGlyphsUnicode)(),u.gsubrsBias=n(u.gsubrs),u.subrsBias=n(u.subrs),u.isCFFCIDFont=o.isCFFCIDFont,u.fdSelect=o.fdSelect,u.fdArray=o.fdArray,u}return X(m,[{key:"compileGlyphImpl",value:function(c,v,A){f(c,v,this,A)}}]),m}(F),l=function(){function a(){q(this,a)}return X(a,null,[{key:"create",value:function(m,o){for(var c=new Uint8Array(m.data),v,A,u,C,I,E,N=k(c,4),_=0,Y=12;_<N;_++,Y+=16){var H=(0,b.bytesToString)(c.subarray(Y,Y+4)),Z=y(c,Y+8),ne=y(c,Y+12);switch(H){case"cmap":v=S(c,Z,Z+ne);break;case"glyf":A=c.subarray(Z,Z+ne);break;case"loca":u=c.subarray(Z,Z+ne);break;case"head":E=k(c,Z+18),I=k(c,Z+50);break;case"CFF ":C=O(c,Z,Z+ne,o);break}}if(A){var he=E?[1/E,0,0,1/E,0,0]:m.fontMatrix;return new s(w(A,u,I),v,he)}return new g(C,v,m.fontMatrix,m.glyphNameMap)}}]),a}();P.FontRendererFactory=l},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.GlyfTable=void 0;function D(l,a){return t(l)||b(l,a)||ge(l,a)||T()}function T(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b(l,a){var i=l==null?null:typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(i!=null){var m=[],o=!0,c=!1,v,A;try{for(i=i.call(l);!(o=(v=i.next()).done)&&(m.push(v.value),!(a&&m.length===a));o=!0);}catch(u){c=!0,A=u}finally{try{!o&&i.return!=null&&i.return()}finally{if(c)throw A}}return m}}function t(l){if(Array.isArray(l))return l}function e(l,a){var i=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(!i){if(Array.isArray(l)||(i=ge(l))||a&&l&&typeof l.length=="number"){i&&(l=i);var m=0,o=function(){};return{s:o,n:function(){return m>=l.length?{done:!0}:{done:!1,value:l[m++]}},e:function(C){throw C},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c=!0,v=!1,A;return{s:function(){i=i.call(l)},n:function(){var C=i.next();return c=C.done,C},e:function(C){v=!0,A=C},f:function(){try{!c&&i.return!=null&&i.return()}finally{if(v)throw A}}}}function ge(l,a){if(!!l){if(typeof l=="string")return le(l,a);var i=Object.prototype.toString.call(l).slice(8,-1);if(i==="Object"&&l.constructor&&(i=l.constructor.name),i==="Map"||i==="Set")return Array.from(l);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return le(l,a)}}function le(l,a){(a==null||a>l.length)&&(a=l.length);for(var i=0,m=new Array(a);i<a;i++)m[i]=l[i];return m}function V(l,a){if(!(l instanceof a))throw new TypeError("Cannot call a class as a function")}function ye(l,a){for(var i=0;i<a.length;i++){var m=a[i];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(l,m.key,m)}}function be(l,a,i){return a&&ye(l.prototype,a),i&&ye(l,i),l}var xe=1<<0,ae=1<<1,d=1<<2,ce=1<<3,q=1<<4,re=1<<5,X=1<<6,y=1<<0,k=1<<1,n=1<<3,S=1<<5,O=1<<6,w=1<<7,p=1<<8,x=function(){function l(a){var i=a.glyfTable,m=a.isGlyphLocationsLong,o=a.locaTable,c=a.numGlyphs;V(this,l),this.glyphs=[];for(var v=new DataView(o.buffer,o.byteOffset,o.byteLength),A=new DataView(i.buffer,i.byteOffset,i.byteLength),u=m?4:2,C=m?v.getUint32(0):2*v.getUint16(0),I=0,E=0;E<c;E++){I+=u;var N=m?v.getUint32(I):2*v.getUint16(I);if(N===C){this.glyphs.push(new f({}));continue}var _=f.parse(C,A);this.glyphs.push(_),C=N}}return be(l,[{key:"getSize",value:function(){return this.glyphs.reduce(function(i,m){var o=m.getSize();return i+(o+3&~3)},0)}},{key:"write",value:function(){var i=this.getSize(),m=new DataView(new ArrayBuffer(i)),o=i>131070,c=o?4:2,v=new DataView(new ArrayBuffer((this.glyphs.length+1)*c));o?v.setUint32(0,0):v.setUint16(0,0);var A=0,u=0,C=e(this.glyphs),I;try{for(C.s();!(I=C.n()).done;){var E=I.value;A+=E.write(A,m),A=A+3&~3,u+=c,o?v.setUint32(u,A):v.setUint16(u,A>>1)}}catch(N){C.e(N)}finally{C.f()}return{isLocationLong:o,loca:new Uint8Array(v.buffer),glyf:new Uint8Array(m.buffer)}}},{key:"scale",value:function(i){for(var m=0,o=this.glyphs.length;m<o;m++)this.glyphs[m].scale(i[m])}}]),l}();P.GlyfTable=x;var f=function(){function l(a){var i=a.header,m=i===void 0?null:i,o=a.simple,c=o===void 0?null:o,v=a.composites,A=v===void 0?null:v;V(this,l),this.header=m,this.simple=c,this.composites=A}return be(l,[{key:"getSize",value:function(){if(!this.header)return 0;var i=this.simple?this.simple.getSize():this.composites.reduce(function(m,o){return m+o.getSize()},0);return this.header.getSize()+i}},{key:"write",value:function(i,m){if(!this.header)return 0;var o=i;if(i+=this.header.write(i,m),this.simple)i+=this.simple.write(i,m);else{var c=e(this.composites),v;try{for(c.s();!(v=c.n()).done;){var A=v.value;i+=A.write(i,m)}}catch(u){c.e(u)}finally{c.f()}}return i-o}},{key:"scale",value:function(i){if(!!this.header){var m=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(m,i),this.simple)this.simple.scale(m,i);else{var o=e(this.composites),c;try{for(o.s();!(c=o.n()).done;){var v=c.value;v.scale(m,i)}}catch(A){o.e(A)}finally{o.f()}}}}}],[{key:"parse",value:function(i,m){var o=h.parse(i,m),c=D(o,2),v=c[0],A=c[1];if(i+=v,A.numberOfContours<0){for(var u=[];;){var C=g.parse(i,m),I=D(C,2),E=I[0],N=I[1];if(i+=E,u.push(N),!(N.flags&S))break}return new l({header:A,composites:u})}var _=s.parse(i,m,A.numberOfContours);return new l({header:A,simple:_})}}]),l}(),h=function(){function l(a){var i=a.numberOfContours,m=a.xMin,o=a.yMin,c=a.xMax,v=a.yMax;V(this,l),this.numberOfContours=i,this.xMin=m,this.yMin=o,this.xMax=c,this.yMax=v}return be(l,[{key:"getSize",value:function(){return 10}},{key:"write",value:function(i,m){return m.setInt16(i,this.numberOfContours),m.setInt16(i+2,this.xMin),m.setInt16(i+4,this.yMin),m.setInt16(i+6,this.xMax),m.setInt16(i+8,this.yMax),10}},{key:"scale",value:function(i,m){this.xMin=Math.round(i+(this.xMin-i)*m),this.xMax=Math.round(i+(this.xMax-i)*m)}}],[{key:"parse",value:function(i,m){return[10,new l({numberOfContours:m.getInt16(i),xMin:m.getInt16(i+2),yMin:m.getInt16(i+4),xMax:m.getInt16(i+6),yMax:m.getInt16(i+8)})]}}]),l}(),F=function l(a){var i=a.flags,m=a.xCoordinates,o=a.yCoordinates;V(this,l),this.xCoordinates=m,this.yCoordinates=o,this.flags=i},s=function(){function l(a){var i=a.contours,m=a.instructions;V(this,l),this.contours=i,this.instructions=m}return be(l,[{key:"getSize",value:function(){var i=this.contours.length*2+2+this.instructions.length,m=0,o=0,c=e(this.contours),v;try{for(c.s();!(v=c.n()).done;){var A=v.value;i+=A.flags.length;for(var u=0,C=A.xCoordinates.length;u<C;u++){var I=A.xCoordinates[u],E=A.yCoordinates[u],N=Math.abs(I-m);N>255?i+=2:N>0&&(i+=1),m=I,N=Math.abs(E-o),N>255?i+=2:N>0&&(i+=1),o=E}}}catch(_){c.e(_)}finally{c.f()}return i}},{key:"write",value:function(i,m){var o=i,c=[],v=[],A=[],u=0,C=0,I=e(this.contours),E;try{for(I.s();!(E=I.n()).done;){for(var N=E.value,_=0,Y=N.xCoordinates.length;_<Y;_++){var H=N.flags[_],Z=N.xCoordinates[_],ne=Z-u;if(ne===0)H|=q,c.push(0);else{var he=Math.abs(ne);he<=255?(H|=ne>=0?ae|q:ae,c.push(he)):c.push(ne)}u=Z;var Se=N.yCoordinates[_];if(ne=Se-C,ne===0)H|=re,v.push(0);else{var ue=Math.abs(ne);ue<=255?(H|=ne>=0?d|re:d,v.push(ue)):v.push(ne)}C=Se,A.push(H)}m.setUint16(i,c.length-1),i+=2}}catch(oe){I.e(oe)}finally{I.f()}m.setUint16(i,this.instructions.length),i+=2,this.instructions.length&&(new Uint8Array(m.buffer,0,m.buffer.byteLength).set(this.instructions,i),i+=this.instructions.length);for(var te=0,$=A;te<$.length;te++){var j=$[te];m.setUint8(i++,j)}for(var G=0,M=c.length;G<M;G++){var W=c[G],z=A[G];z&ae?m.setUint8(i++,W):z&q||(m.setInt16(i,W),i+=2)}for(var J=0,Q=v.length;J<Q;J++){var K=v[J],de=A[J];de&d?m.setUint8(i++,K):de&re||(m.setInt16(i,K),i+=2)}return i-o}},{key:"scale",value:function(i,m){var o=e(this.contours),c;try{for(o.s();!(c=o.n()).done;){var v=c.value;if(v.xCoordinates.length!==0)for(var A=0,u=v.xCoordinates.length;A<u;A++)v.xCoordinates[A]=Math.round(i+(v.xCoordinates[A]-i)*m)}}catch(C){o.e(C)}finally{o.f()}}}],[{key:"parse",value:function(i,m,o){for(var c=[],v=0;v<o;v++){var A=m.getUint16(i);i+=2,c.push(A)}var u=c[o-1]+1,C=m.getUint16(i);i+=2;var I=new Uint8Array(m).slice(i,i+C);i+=C;for(var E=[],N=0;N<u;i++,N++){var _=m.getUint8(i);if(E.push(_),_&ce){var Y=m.getUint8(++i);_^=ce;for(var H=0;H<Y;H++)E.push(_);N+=Y}}for(var Z=[],ne=[],he=[],Se=[],ue=[],te=0,$=0,j=0;j<u;j++){var G=E[j];if(G&ae){var M=m.getUint8(i++);$+=G&q?M:-M,ne.push($)}else G&q||($+=m.getInt16(i),i+=2),ne.push($);c[te]===j&&(te++,Z.push(ne),ne=[])}$=0,te=0;for(var W=0;W<u;W++){var z=E[W];if(z&d){var J=m.getUint8(i++);$+=z&re?J:-J,he.push($)}else z&re||($+=m.getInt16(i),i+=2),he.push($);Se.push(z&xe|z&X),c[te]===W&&(ne=Z[te],te++,ue.push(new F({flags:Se,xCoordinates:ne,yCoordinates:he})),he=[],Se=[])}return new l({contours:ue,instructions:I})}}]),l}(),g=function(){function l(a){var i=a.flags,m=a.glyphIndex,o=a.argument1,c=a.argument2,v=a.transf,A=a.instructions;V(this,l),this.flags=i,this.glyphIndex=m,this.argument1=o,this.argument2=c,this.transf=v,this.instructions=A}return be(l,[{key:"getSize",value:function(){var i=2+2+this.transf.length*2;return this.flags&p&&(i+=2+this.instructions.length),i+=2,this.flags&2?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(i+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(i+=2),i}},{key:"write",value:function(i,m){var o=i;return this.flags&k?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=y):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=y),m.setUint16(i,this.flags),m.setUint16(i+2,this.glyphIndex),i+=4,this.flags&y?(this.flags&k?(m.setInt16(i,this.argument1),m.setInt16(i+2,this.argument2)):(m.setUint16(i,this.argument1),m.setUint16(i+2,this.argument2)),i+=4):(m.setUint8(i,this.argument1),m.setUint8(i+1,this.argument2),i+=2),this.flags&p&&(m.setUint16(i,this.instructions.length),i+=2,this.instructions.length&&(new Uint8Array(m.buffer,0,m.buffer.byteLength).set(this.instructions,i),i+=this.instructions.length)),i-o}},{key:"scale",value:function(i,m){}}],[{key:"parse",value:function(i,m){var o=i,c=[],v=m.getUint16(i),A=m.getUint16(i+2);i+=4;var u,C;if(v&y)v&k?(u=m.getInt16(i),C=m.getInt16(i+2)):(u=m.getUint16(i),C=m.getUint16(i+2)),i+=4,v^=y;else{if(u=m.getUint8(i),C=m.getUint8(i+1),v&k){var I=u&127;u=u&128?-I:I;var E=C&127;C=C&128?-E:E}i+=2}v&n?(c.push(m.getUint16(i)),i+=2):v&O?(c.push(m.getUint16(i),m.getUint16(i+2)),i+=4):v&w&&(c.push(m.getUint16(i),m.getUint16(i+2),m.getUint16(i+4),m.getUint16(i+6)),i+=8);var N=null;if(v&p){var _=m.getUint16(i);i+=2,N=new Uint8Array(m).slice(i,i+_),i+=_}return[i-o,new l({flags:v,glyphIndex:A,argument1:u,argument2:C,transf:c,instructions:N})]}}]),l}()},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.OpenTypeFileBuilder=void 0;var T=D(139),b=D(4);function t(d,ce){if(!(d instanceof ce))throw new TypeError("Cannot call a class as a function")}function e(d,ce){for(var q=0;q<ce.length;q++){var re=ce[q];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(d,re.key,re)}}function ge(d,ce,q){return ce&&e(d.prototype,ce),q&&e(d,q),d}function le(d,ce,q){d[ce]=q>>8&255,d[ce+1]=q&255}function V(d,ce,q){d[ce]=q>>24&255,d[ce+1]=q>>16&255,d[ce+2]=q>>8&255,d[ce+3]=q&255}function ye(d,ce,q){if(q instanceof Uint8Array)d.set(q,ce);else if(typeof q=="string")for(var re=0,X=q.length;re<X;re++)d[ce++]=q.charCodeAt(re)&255;else for(var y=0,k=q.length;y<k;y++)d[ce++]=q[y]&255}var be=12,xe=16,ae=function(){function d(ce){t(this,d),this.sfnt=ce,this.tables=Object.create(null)}return ge(d,[{key:"toArray",value:function(){var q=this.sfnt,re=this.tables,X=Object.keys(re);X.sort();var y=X.length,k,n,S,O,w,p=be+y*xe,x=[p];for(k=0;k<y;k++){O=re[X[k]];var f=(O.length+3&~3)>>>0;p+=f,x.push(p)}var h=new Uint8Array(p);for(k=0;k<y;k++)O=re[X[k]],ye(h,x[k],O);q==="true"&&(q=(0,b.string32)(65536)),h[0]=q.charCodeAt(0)&255,h[1]=q.charCodeAt(1)&255,h[2]=q.charCodeAt(2)&255,h[3]=q.charCodeAt(3)&255,le(h,4,y);var F=d.getSearchParams(y,16);for(le(h,6,F.range),le(h,8,F.entry),le(h,10,F.rangeShift),p=be,k=0;k<y;k++){w=X[k],h[p]=w.charCodeAt(0)&255,h[p+1]=w.charCodeAt(1)&255,h[p+2]=w.charCodeAt(2)&255,h[p+3]=w.charCodeAt(3)&255;var s=0;for(n=x[k],S=x[k+1];n<S;n+=4){var g=(0,T.readUint32)(h,n);s=s+g>>>0}V(h,p+4,s),V(h,p+8,x[k]),V(h,p+12,re[w].length),p+=xe}return h}},{key:"addTable",value:function(q,re){if(q in this.tables)throw new Error("Table "+q+" already exists");this.tables[q]=re}}],[{key:"getSearchParams",value:function(q,re){for(var X=1,y=0;(X^q)>X;)X<<=1,y++;var k=X*re;return{range:k,entry:y,rangeShift:re*q-k}}}]),d}();P.OpenTypeFileBuilder=ae},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.Type1Font=void 0;var T=D(175),b=D(148),t=D(139),e=D(140),ge=D(184),le=D(4);function V(q,re){if(!(q instanceof re))throw new TypeError("Cannot call a class as a function")}function ye(q,re){for(var X=0;X<re.length;X++){var y=re[X];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(q,y.key,y)}}function be(q,re,X){return re&&ye(q.prototype,re),X&&ye(q,X),q}function xe(q,re,X){for(var y=q.length,k=re.length,n=y-k,S=X,O=!1;S<n;){for(var w=0;w<k&&q[S+w]===re[w];)w++;if(w>=k){for(S+=w;S<y&&(0,t.isWhiteSpace)(q[S]);)S++;O=!0;break}S++}return{found:O,length:S}}function ae(q,re){var X=[101,101,120,101,99],y=q.pos,k,n,S;try{k=q.getBytes(re),n=k.length}catch(x){}if(n===re&&(S=xe(k,X,re-2*X.length),S.found&&S.length===re))return{stream:new e.Stream(k),length:re};(0,le.warn)('Invalid "Length1" property in Type1 font -- trying to recover.'),q.pos=y;for(var O=2048,w;;){var p=q.peekBytes(O);if(S=xe(p,X,0),S.length===0)break;if(q.pos+=S.length,S.found){w=q.pos-y;break}}return q.pos=y,w?{stream:new e.Stream(q.getBytes(w)),length:w}:((0,le.warn)('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new e.Stream(q.getBytes(re)),length:re})}function d(q,re){var X=q.getBytes();return{stream:new e.Stream(X),length:X.length}}var ce=function(){function q(re,X,y){V(this,q);var k=6,n=y.length1,S=y.length2,O=X.peekBytes(k),w=O[0]===128&&O[1]===1;w&&(X.skip(k),n=O[5]<<24|O[4]<<16|O[3]<<8|O[2]);var p=ae(X,n),x=new ge.Type1Parser(p.stream,!1,b.SEAC_ANALYSIS_ENABLED);x.extractFontHeader(y),w&&(O=X.getBytes(k),S=O[5]<<24|O[4]<<16|O[3]<<8|O[2]);var f=d(X,S),h=new ge.Type1Parser(f.stream,!0,b.SEAC_ANALYSIS_ENABLED),F=h.extractFontProgram(y);for(var s in F.properties)y[s]=F.properties[s];var g=F.charstrings,l=this.getType2Charstrings(g),a=this.getType2Subrs(F.subrs);this.charstrings=g,this.data=this.wrap(re,l,this.charstrings,a,y),this.seacs=this.getSeacs(F.charstrings)}return be(q,[{key:"numGlyphs",get:function(){return this.charstrings.length+1}},{key:"getCharset",value:function(){for(var X=[".notdef"],y=this.charstrings,k=0;k<y.length;k++)X.push(y[k].glyphName);return X}},{key:"getGlyphMapping",value:function(X){var y=this.charstrings;if(X.composite){for(var k=Object.create(null),n=0,S=y.length;n<S;n++){var O=X.cMap.charCodeOf(n);k[O]=n+1}return k}var w=[".notdef"],p,x;for(x=0;x<y.length;x++)w.push(y[x].glyphName);var f=X.builtInEncoding;if(f){p=Object.create(null);for(var h in f)x=w.indexOf(f[h]),x>=0&&(p[h]=x)}return(0,b.type1FontGlyphMapping)(X,p,w)}},{key:"hasGlyphId",value:function(X){if(X<0||X>=this.numGlyphs)return!1;if(X===0)return!0;var y=this.charstrings[X-1];return y.charstring.length>0}},{key:"getSeacs",value:function(X){for(var y=[],k=0,n=X.length;k<n;k++){var S=X[k];S.seac&&(y[k+1]=S.seac)}return y}},{key:"getType2Charstrings",value:function(X){for(var y=[],k=0,n=X.length;k<n;k++)y.push(X[k].charstring);return y}},{key:"getType2Subrs",value:function(X){var y=0,k=X.length;k<1133?y=107:k<33769?y=1131:y=32768;var n=[],S;for(S=0;S<y;S++)n.push([11]);for(S=0;S<k;S++)n.push(X[S]);return n}},{key:"wrap",value:function(X,y,k,n,S){var O=new T.CFF;O.header=new T.CFFHeader(1,0,4,4),O.names=[X];var w=new T.CFFTopDict;w.setByName("version",391),w.setByName("Notice",392),w.setByName("FullName",393),w.setByName("FamilyName",394),w.setByName("Weight",395),w.setByName("Encoding",null),w.setByName("FontMatrix",S.fontMatrix),w.setByName("FontBBox",S.bbox),w.setByName("charset",null),w.setByName("CharStrings",null),w.setByName("Private",null),O.topDict=w;var p=new T.CFFStrings;p.add("Version 0.11"),p.add("See original notice"),p.add(X),p.add(X),p.add("Medium"),O.strings=p,O.globalSubrIndex=new T.CFFIndex;var x=y.length,f=[".notdef"],h,F;for(h=0;h<x;h++){var s=k[h].glyphName,g=T.CFFStandardStrings.indexOf(s);g===-1&&p.add(s),f.push(s)}O.charset=new T.CFFCharset(!1,0,f);var l=new T.CFFIndex;for(l.add([139,14]),h=0;h<x;h++)l.add(y[h]);O.charStrings=l;var a=new T.CFFPrivateDict;a.setByName("Subrs",null);var i=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(h=0,F=i.length;h<F;h++){var m=i[h];if(m in S.privateData){var o=S.privateData[m];if(Array.isArray(o))for(var c=o.length-1;c>0;c--)o[c]-=o[c-1];a.setByName(m,o)}}O.topDict.privateDict=a;var v=new T.CFFIndex;for(h=0,F=n.length;h<F;h++)v.add(n[h]);a.subrsIndex=v;var A=new T.CFFCompiler(O);return A.compile()}}]),q}();P.Type1Font=ce},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.Type1Parser=void 0;var T=D(149),b=D(139),t=D(140),e=D(4);function ge(ae,d){if(!(ae instanceof d))throw new TypeError("Cannot call a class as a function")}function le(ae,d){for(var ce=0;ce<d.length;ce++){var q=d[ce];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(ae,q.key,q)}}function V(ae,d,ce){return d&&le(ae.prototype,d),ce&&le(ae,ce),ae}var ye=!1,be=function(){var d={hstem:[1],vstem:[3],vmoveto:[4],rlineto:[5],hlineto:[6],vlineto:[7],rrcurveto:[8],callsubr:[10],flex:[12,35],drop:[12,18],endchar:[14],rmoveto:[21],hmoveto:[22],vhcurveto:[30],hvcurveto:[31]},ce=function(){function q(){ge(this,q),this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}return V(q,[{key:"convert",value:function(X,y,k){for(var n=X.length,S=!1,O,w,p,x=0;x<n;x++){var f=X[x];if(f<32){switch(f===12&&(f=(f<<8)+X[++x]),f){case 1:if(!ye){this.stack=[];break}S=this.executeCommand(2,d.hstem);break;case 3:if(!ye){this.stack=[];break}S=this.executeCommand(2,d.vstem);break;case 4:if(this.flexing){if(this.stack.length<1){S=!0;break}var h=this.stack.pop();this.stack.push(0,h);break}S=this.executeCommand(1,d.vmoveto);break;case 5:S=this.executeCommand(2,d.rlineto);break;case 6:S=this.executeCommand(1,d.hlineto);break;case 7:S=this.executeCommand(1,d.vlineto);break;case 8:S=this.executeCommand(6,d.rrcurveto);break;case 9:this.stack=[];break;case 10:if(this.stack.length<1){S=!0;break}if(p=this.stack.pop(),!y[p]){S=!0;break}S=this.convert(y[p],y,k);break;case 11:return S;case 13:if(this.stack.length<2){S=!0;break}O=this.stack.pop(),w=this.stack.pop(),this.lsb=w,this.width=O,this.stack.push(O,w),S=this.executeCommand(2,d.hmoveto);break;case 14:this.output.push(d.endchar[0]);break;case 21:if(this.flexing)break;S=this.executeCommand(2,d.rmoveto);break;case 22:if(this.flexing){this.stack.push(0);break}S=this.executeCommand(1,d.hmoveto);break;case 30:S=this.executeCommand(4,d.vhcurveto);break;case 31:S=this.executeCommand(4,d.hvcurveto);break;case(12<<8)+0:this.stack=[];break;case(12<<8)+1:if(!ye){this.stack=[];break}S=this.executeCommand(2,d.vstem);break;case(12<<8)+2:if(!ye){this.stack=[];break}S=this.executeCommand(2,d.hstem);break;case(12<<8)+6:if(k){var F=this.stack[this.stack.length-5];this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-F,S=this.executeCommand(0,d.endchar)}else S=this.executeCommand(4,d.endchar);break;case(12<<8)+7:if(this.stack.length<4){S=!0;break}this.stack.pop(),O=this.stack.pop();var s=this.stack.pop();w=this.stack.pop(),this.lsb=w,this.width=O,this.stack.push(O,w,s),S=this.executeCommand(3,d.rmoveto);break;case(12<<8)+12:if(this.stack.length<2){S=!0;break}var g=this.stack.pop(),l=this.stack.pop();this.stack.push(l/g);break;case(12<<8)+16:if(this.stack.length<2){S=!0;break}p=this.stack.pop();var a=this.stack.pop();if(p===0&&a===3){var i=this.stack.splice(this.stack.length-17,17);this.stack.push(i[2]+i[0],i[3]+i[1],i[4],i[5],i[6],i[7],i[8],i[9],i[10],i[11],i[12],i[13],i[14]),S=this.executeCommand(13,d.flex,!0),this.flexing=!1,this.stack.push(i[15],i[16])}else p===1&&a===0&&(this.flexing=!0);break;case(12<<8)+17:break;case(12<<8)+33:this.stack=[];break;default:(0,e.warn)('Unknown type 1 charstring command of "'+f+'"');break}if(S)break;continue}else f<=246?f-=139:f<=250?f=(f-247)*256+X[++x]+108:f<=254?f=-((f-251)*256)-X[++x]-108:f=(X[++x]&255)<<24|(X[++x]&255)<<16|(X[++x]&255)<<8|(X[++x]&255)<<0;this.stack.push(f)}return S}},{key:"executeCommand",value:function(X,y,k){var n=this.stack.length;if(X>n)return!0;for(var S=n-X,O=S;O<n;O++){var w=this.stack[O];Number.isInteger(w)?this.output.push(28,w>>8&255,w&255):(w=65536*w|0,this.output.push(255,w>>24&255,w>>16&255,w>>8&255,w&255))}return this.output.push.apply(this.output,y),k?this.stack.splice(S,X):this.stack.length=0,!1}}]),q}();return ce}(),xe=function(){var d=55665,ce=4330;function q(n){return n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102}function re(n,S,O){if(O>=n.length)return new Uint8Array(0);var w=52845,p=22719,x=S|0,f,h;for(f=0;f<O;f++)x=(n[f]+x)*w+p&(1<<16)-1;var F=n.length-O,s=new Uint8Array(F);for(f=O,h=0;h<F;f++,h++){var g=n[f];s[h]=g^x>>8,x=(g+x)*w+p&(1<<16)-1}return s}function X(n,S,O){var w=52845,p=22719,x=S|0,f=n.length,h=f>>>1,F=new Uint8Array(h),s,g;for(s=0,g=0;s<f;s++){var l=n[s];if(!!q(l)){s++;for(var a=void 0;s<f&&!q(a=n[s]);)s++;if(s<f){var i=parseInt(String.fromCharCode(l,a),16);F[g++]=i^x>>8,x=(i+x)*w+p&(1<<16)-1}}}return F.slice(O,g)}function y(n){return n===47||n===91||n===93||n===123||n===125||n===40||n===41}var k=function(){function n(S,O,w){if(ge(this,n),O){var p=S.getBytes(),x=!((q(p[0])||(0,b.isWhiteSpace)(p[0]))&&q(p[1])&&q(p[2])&&q(p[3])&&q(p[4])&&q(p[5])&&q(p[6])&&q(p[7]));S=new t.Stream(x?re(p,d,4):X(p,d,4))}this.seacAnalysisEnabled=!!w,this.stream=S,this.nextChar()}return V(n,[{key:"readNumberArray",value:function(){this.getToken();for(var O=[];;){var w=this.getToken();if(w===null||w==="]"||w==="}")break;O.push(parseFloat(w||0))}return O}},{key:"readNumber",value:function(){var O=this.getToken();return parseFloat(O||0)}},{key:"readInt",value:function(){var O=this.getToken();return parseInt(O||0,10)|0}},{key:"readBoolean",value:function(){var O=this.getToken();return O==="true"?1:0}},{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var O=!1,w=this.currentChar;;){if(w===-1)return null;if(O)(w===10||w===13)&&(O=!1);else if(w===37)O=!0;else if(!(0,b.isWhiteSpace)(w))break;w=this.nextChar()}if(y(w))return this.nextChar(),String.fromCharCode(w);var p="";do p+=String.fromCharCode(w),w=this.nextChar();while(w>=0&&!(0,b.isWhiteSpace)(w)&&!y(w));return p}},{key:"readCharStrings",value:function(O,w){return w===-1?O:re(O,ce,w)}},{key:"extractFontProgram",value:function(O){var w=this.stream,p=[],x=[],f=Object.create(null);f.lenIV=4;for(var h={subrs:[],charstrings:[],properties:{privateData:f}},F,s,g,l,a;(F=this.getToken())!==null;)if(F==="/")switch(F=this.getToken(),F){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();F=this.getToken(),!(F===null||F==="end");)if(F==="/"){var i=this.getToken();s=this.readInt(),this.getToken(),g=s>0?w.getBytes(s):new Uint8Array(0),l=h.properties.privateData.lenIV,a=this.readCharStrings(g,l),this.nextChar(),F=this.getToken(),F==="noaccess"&&this.getToken(),x.push({glyph:i,encoded:a})}break;case"Subrs":for(this.readInt(),this.getToken();this.getToken()==="dup";){var m=this.readInt();s=this.readInt(),this.getToken(),g=s>0?w.getBytes(s):new Uint8Array(0),l=h.properties.privateData.lenIV,a=this.readCharStrings(g,l),this.nextChar(),F=this.getToken(),F==="noaccess"&&this.getToken(),p[m]=a}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var o=this.readNumberArray();o.length>0&&o.length%2==0&&ye&&(h.properties.privateData[F]=o);break;case"StemSnapH":case"StemSnapV":h.properties.privateData[F]=this.readNumberArray();break;case"StdHW":case"StdVW":h.properties.privateData[F]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":case"ExpansionFactor":h.properties.privateData[F]=this.readNumber();break;case"ForceBold":h.properties.privateData[F]=this.readBoolean();break}for(var c=0;c<x.length;c++){var v=x[c].glyph;a=x[c].encoded;var A=new be,u=A.convert(a,p,this.seacAnalysisEnabled),C=A.output;u&&(C=[14]);var I={glyphName:v,charstring:C,width:A.width,lsb:A.lsb,seac:A.seac};if(v===".notdef"?h.charstrings.unshift(I):h.charstrings.push(I),O.builtInEncoding){var E=O.builtInEncoding.indexOf(v);E>-1&&O.widths[E]===void 0&&E>=O.firstChar&&E<=O.lastChar&&(O.widths[E]=A.width)}}return h}},{key:"extractFontHeader",value:function(O){for(var w;(w=this.getToken())!==null;)if(w==="/")switch(w=this.getToken(),w){case"FontMatrix":var p=this.readNumberArray();O.fontMatrix=p;break;case"Encoding":var x=this.getToken(),f=void 0;if(!/^\d+$/.test(x))f=(0,T.getEncoding)(x);else{f=[];var h=parseInt(x,10)|0;this.getToken();for(var F=0;F<h;F++){for(w=this.getToken();w!=="dup"&&w!=="def";)if(w=this.getToken(),w===null)return;if(w==="def")break;var s=this.readInt();this.getToken();var g=this.getToken();f[s]=g,this.getToken()}}O.builtInEncoding=f;break;case"FontBBox":var l=this.readNumberArray();O.ascent=Math.max(l[3],l[1]),O.descent=Math.min(l[1],l[3]),O.ascentScaled=!0;break}}}]),n}();return k}();P.Type1Parser=xe},(Me,P,D)=>{"use strict";function T(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(m){return typeof m}:T=function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},T(a)}Object.defineProperty(P,"__esModule",{value:!0}),P.Pattern=void 0,P.getTilingPatternIR=l;var b=D(4),t=D(154),e=D(135),ge=D(139);function le(a,i){return ae(a)||xe(a,i)||ye(a,i)||V()}function V(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ye(a,i){if(!!a){if(typeof a=="string")return be(a,i);var m=Object.prototype.toString.call(a).slice(8,-1);if(m==="Object"&&a.constructor&&(m=a.constructor.name),m==="Map"||m==="Set")return Array.from(a);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return be(a,i)}}function be(a,i){(i==null||i>a.length)&&(i=a.length);for(var m=0,o=new Array(i);m<i;m++)o[m]=a[m];return o}function xe(a,i){var m=a==null?null:typeof Symbol!="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(m!=null){var o=[],c=!0,v=!1,A,u;try{for(m=m.call(a);!(c=(A=m.next()).done)&&(o.push(A.value),!(i&&o.length===i));c=!0);}catch(C){v=!0,u=C}finally{try{!c&&m.return!=null&&m.return()}finally{if(v)throw u}}return o}}function ae(a){if(Array.isArray(a))return a}function d(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),i&&ce(a,i)}function ce(a,i){return ce=Object.setPrototypeOf||function(o,c){return o.__proto__=c,o},ce(a,i)}function q(a){var i=y();return function(){var o=k(a),c;if(i){var v=k(this).constructor;c=Reflect.construct(o,arguments,v)}else c=o.apply(this,arguments);return re(this,c)}}function re(a,i){if(i&&(T(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return X(a)}function X(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}function k(a){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},k(a)}function n(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function S(a,i){for(var m=0;m<i.length;m++){var o=i[m];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}function O(a,i,m){return i&&S(a.prototype,i),m&&S(a,m),a}var w={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7},p=function(){function a(){n(this,a),(0,b.unreachable)("Cannot initialize Pattern.")}return O(a,null,[{key:"parseShading",value:function(m,o,c,v,A,u){var C=(0,e.isStream)(m)?m.dict:m,I=C.get("ShadingType");try{switch(I){case w.AXIAL:case w.RADIAL:return new f(C,o,c,A,u);case w.FREE_FORM_MESH:case w.LATTICE_FORM_MESH:case w.COONS_PATCH_MESH:case w.TENSOR_PATCH_MESH:return new s(m,o,c,A,u);default:throw new b.FormatError("Unsupported ShadingType: "+I)}}catch(E){if(E instanceof ge.MissingDataException)throw E;return v.send("UnsupportedFeature",{featureId:b.UNSUPPORTED_FEATURES.shadingPattern}),(0,b.warn)(E),new g}}}]),a}();P.Pattern=p;var x=function(){function a(){n(this,a),this.constructor===a&&(0,b.unreachable)("Cannot initialize BaseShading.")}return O(a,[{key:"getIR",value:function(){(0,b.unreachable)("Abstract method `getIR` called.")}}],[{key:"SMALL_NUMBER",get:function(){return(0,b.shadow)(this,"SMALL_NUMBER",1e-6)}}]),a}(),f=function(a){d(m,a);var i=q(m);function m(o,c,v,A,u){var C;n(this,m),C=i.call(this),C.coordsArr=o.getArray("Coords"),C.shadingType=o.get("ShadingType");var I=t.ColorSpace.parse({cs:o.getRaw("CS")||o.getRaw("ColorSpace"),xref:c,resources:v,pdfFunctionFactory:A,localColorSpaceCache:u}),E=o.getArray("BBox");Array.isArray(E)&&E.length===4?C.bbox=b.Util.normalizeRect(E):C.bbox=null;var N=0,_=1;if(o.has("Domain")){var Y=o.getArray("Domain");N=Y[0],_=Y[1]}var H=!1,Z=!1;if(o.has("Extend")){var ne=o.getArray("Extend");H=ne[0],Z=ne[1]}if(C.shadingType===w.RADIAL&&(!H||!Z)){var he=le(C.coordsArr,6),Se=he[0],ue=he[1],te=he[2],$=he[3],j=he[4],G=he[5],M=Math.hypot(Se-$,ue-j);te<=G+M&&G<=te+M&&(0,b.warn)("Unsupported radial gradient.")}C.extendStart=H,C.extendEnd=Z;var W=o.getRaw("Function"),z=A.createFromArray(W),J=10,Q=(_-N)/J,K=C.colorStops=[];if(N>=_||Q<=0)return(0,b.info)("Bad shading domain."),re(C);for(var de=new Float32Array(I.numComps),oe=new Float32Array(1),pe,fe=0;fe<=J;fe++){oe[0]=N+fe*Q,z(oe,0,de,0),pe=I.getRgb(de,0);var ke=b.Util.makeHexColor(pe[0],pe[1],pe[2]);K.push([fe/J,ke])}var Re="transparent";return o.has("Background")&&(pe=I.getRgb(o.get("Background"),0),Re=b.Util.makeHexColor(pe[0],pe[1],pe[2])),H||(K.unshift([0,Re]),K[1][0]+=x.SMALL_NUMBER),Z||(K[K.length-1][0]-=x.SMALL_NUMBER,K.push([1,Re])),C.colorStops=K,C}return O(m,[{key:"getIR",value:function(){var c=this.coordsArr,v=this.shadingType,A,u,C,I,E;return v===w.AXIAL?(u=[c[0],c[1]],C=[c[2],c[3]],I=null,E=null,A="axial"):v===w.RADIAL?(u=[c[0],c[1]],C=[c[3],c[4]],I=c[2],E=c[5],A="radial"):(0,b.unreachable)("getPattern type unknown: ".concat(v)),["RadialAxial",A,this.bbox,this.colorStops,u,C,I,E]}}]),m}(x),h=function(){function a(i,m){n(this,a),this.stream=i,this.context=m,this.buffer=0,this.bufferLength=0;var o=m.numComps;this.tmpCompsBuf=new Float32Array(o);var c=m.colorSpace.numComps;this.tmpCsCompsBuf=m.colorFn?new Float32Array(c):this.tmpCompsBuf}return O(a,[{key:"hasData",get:function(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;var m=this.stream.getByte();return m<0?!1:(this.buffer=m,this.bufferLength=8,!0)}},{key:"readBits",value:function(m){var o=this.buffer,c=this.bufferLength;if(m===32){if(c===0)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;o=o<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var v=this.stream.getByte();return this.buffer=v&(1<<c)-1,(o<<8-c|(v&255)>>c)>>>0}if(m===8&&c===0)return this.stream.getByte();for(;c<m;)o=o<<8|this.stream.getByte(),c+=8;return c-=m,this.bufferLength=c,this.buffer=o&(1<<c)-1,o>>c}},{key:"align",value:function(){this.buffer=0,this.bufferLength=0}},{key:"readFlag",value:function(){return this.readBits(this.context.bitsPerFlag)}},{key:"readCoordinate",value:function(){var m=this.context.bitsPerCoordinate,o=this.readBits(m),c=this.readBits(m),v=this.context.decode,A=m<32?1/((1<<m)-1):23283064365386963e-26;return[o*A*(v[1]-v[0])+v[0],c*A*(v[3]-v[2])+v[2]]}},{key:"readComponents",value:function(){for(var m=this.context.numComps,o=this.context.bitsPerComponent,c=o<32?1/((1<<o)-1):23283064365386963e-26,v=this.context.decode,A=this.tmpCompsBuf,u=0,C=4;u<m;u++,C+=2){var I=this.readBits(o);A[u]=I*c*(v[C+1]-v[C])+v[C]}var E=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(A,0,E,0),this.context.colorSpace.getRgb(E,0)}}]),a}(),F=function(){function i(o){for(var c=[],v=0;v<=o;v++){var A=v/o,u=1-A;c.push(new Float32Array([u*u*u,3*A*u*u,3*A*A*u,A*A*A]))}return c}var m=[];return function(o){return m[o]||(m[o]=i(o)),m[o]}}(),s=function(a){d(m,a);var i=q(m);function m(o,c,v,A,u){var C;if(n(this,m),C=i.call(this),!(0,e.isStream)(o))throw new b.FormatError("Mesh data is not a stream");var I=o.dict;C.shadingType=I.get("ShadingType");var E=I.getArray("BBox");Array.isArray(E)&&E.length===4?C.bbox=b.Util.normalizeRect(E):C.bbox=null;var N=t.ColorSpace.parse({cs:I.getRaw("CS")||I.getRaw("ColorSpace"),xref:c,resources:v,pdfFunctionFactory:A,localColorSpaceCache:u});C.background=I.has("Background")?N.getRgb(I.get("Background"),0):null;var _=I.getRaw("Function"),Y=_?A.createFromArray(_):null;C.coords=[],C.colors=[],C.figures=[];var H={bitsPerCoordinate:I.get("BitsPerCoordinate"),bitsPerComponent:I.get("BitsPerComponent"),bitsPerFlag:I.get("BitsPerFlag"),decode:I.getArray("Decode"),colorFn:Y,colorSpace:N,numComps:Y?1:N.numComps},Z=new h(o,H),ne=!1;switch(C.shadingType){case w.FREE_FORM_MESH:C._decodeType4Shading(Z);break;case w.LATTICE_FORM_MESH:var he=I.get("VerticesPerRow")|0;if(he<2)throw new b.FormatError("Invalid VerticesPerRow");C._decodeType5Shading(Z,he);break;case w.COONS_PATCH_MESH:C._decodeType6Shading(Z),ne=!0;break;case w.TENSOR_PATCH_MESH:C._decodeType7Shading(Z),ne=!0;break;default:(0,b.unreachable)("Unsupported mesh type.");break}if(ne){C._updateBounds();for(var Se=0,ue=C.figures.length;Se<ue;Se++)C._buildFigureFromPatch(Se)}return C._updateBounds(),C._packData(),C}return O(m,[{key:"_decodeType4Shading",value:function(c){for(var v=this.coords,A=this.colors,u=[],C=[],I=0;c.hasData;){var E=c.readFlag(),N=c.readCoordinate(),_=c.readComponents();if(I===0){if(!(0<=E&&E<=2))throw new b.FormatError("Unknown type4 flag");switch(E){case 0:I=3;break;case 1:C.push(C[C.length-2],C[C.length-1]),I=1;break;case 2:C.push(C[C.length-3],C[C.length-1]),I=1;break}u.push(E)}C.push(v.length),v.push(N),A.push(_),I--,c.align()}this.figures.push({type:"triangles",coords:new Int32Array(C),colors:new Int32Array(C)})}},{key:"_decodeType5Shading",value:function(c,v){for(var A=this.coords,u=this.colors,C=[];c.hasData;){var I=c.readCoordinate(),E=c.readComponents();C.push(A.length),A.push(I),u.push(E)}this.figures.push({type:"lattice",coords:new Int32Array(C),colors:new Int32Array(C),verticesPerRow:v})}},{key:"_decodeType6Shading",value:function(c){for(var v=this.coords,A=this.colors,u=new Int32Array(16),C=new Int32Array(4);c.hasData;){var I=c.readFlag();if(!(0<=I&&I<=3))throw new b.FormatError("Unknown type6 flag");for(var E=v.length,N=0,_=I!==0?8:12;N<_;N++)v.push(c.readCoordinate());for(var Y=A.length,H=0,Z=I!==0?2:4;H<Z;H++)A.push(c.readComponents());var ne=void 0,he=void 0,Se=void 0,ue=void 0;switch(I){case 0:u[12]=E+3,u[13]=E+4,u[14]=E+5,u[15]=E+6,u[8]=E+2,u[11]=E+7,u[4]=E+1,u[7]=E+8,u[0]=E,u[1]=E+11,u[2]=E+10,u[3]=E+9,C[2]=Y+1,C[3]=Y+2,C[0]=Y,C[1]=Y+3;break;case 1:ne=u[12],he=u[13],Se=u[14],ue=u[15],u[12]=ue,u[13]=E+0,u[14]=E+1,u[15]=E+2,u[8]=Se,u[11]=E+3,u[4]=he,u[7]=E+4,u[0]=ne,u[1]=E+7,u[2]=E+6,u[3]=E+5,ne=C[2],he=C[3],C[2]=he,C[3]=Y,C[0]=ne,C[1]=Y+1;break;case 2:ne=u[15],he=u[11],u[12]=u[3],u[13]=E+0,u[14]=E+1,u[15]=E+2,u[8]=u[7],u[11]=E+3,u[4]=he,u[7]=E+4,u[0]=ne,u[1]=E+7,u[2]=E+6,u[3]=E+5,ne=C[3],C[2]=C[1],C[3]=Y,C[0]=ne,C[1]=Y+1;break;case 3:u[12]=u[0],u[13]=E+0,u[14]=E+1,u[15]=E+2,u[8]=u[1],u[11]=E+3,u[4]=u[2],u[7]=E+4,u[0]=u[3],u[1]=E+7,u[2]=E+6,u[3]=E+5,C[2]=C[0],C[3]=Y,C[0]=C[1],C[1]=Y+1;break}u[5]=v.length,v.push([(-4*v[u[0]][0]-v[u[15]][0]+6*(v[u[4]][0]+v[u[1]][0])-2*(v[u[12]][0]+v[u[3]][0])+3*(v[u[13]][0]+v[u[7]][0]))/9,(-4*v[u[0]][1]-v[u[15]][1]+6*(v[u[4]][1]+v[u[1]][1])-2*(v[u[12]][1]+v[u[3]][1])+3*(v[u[13]][1]+v[u[7]][1]))/9]),u[6]=v.length,v.push([(-4*v[u[3]][0]-v[u[12]][0]+6*(v[u[2]][0]+v[u[7]][0])-2*(v[u[0]][0]+v[u[15]][0])+3*(v[u[4]][0]+v[u[14]][0]))/9,(-4*v[u[3]][1]-v[u[12]][1]+6*(v[u[2]][1]+v[u[7]][1])-2*(v[u[0]][1]+v[u[15]][1])+3*(v[u[4]][1]+v[u[14]][1]))/9]),u[9]=v.length,v.push([(-4*v[u[12]][0]-v[u[3]][0]+6*(v[u[8]][0]+v[u[13]][0])-2*(v[u[0]][0]+v[u[15]][0])+3*(v[u[11]][0]+v[u[1]][0]))/9,(-4*v[u[12]][1]-v[u[3]][1]+6*(v[u[8]][1]+v[u[13]][1])-2*(v[u[0]][1]+v[u[15]][1])+3*(v[u[11]][1]+v[u[1]][1]))/9]),u[10]=v.length,v.push([(-4*v[u[15]][0]-v[u[0]][0]+6*(v[u[11]][0]+v[u[14]][0])-2*(v[u[12]][0]+v[u[3]][0])+3*(v[u[2]][0]+v[u[8]][0]))/9,(-4*v[u[15]][1]-v[u[0]][1]+6*(v[u[11]][1]+v[u[14]][1])-2*(v[u[12]][1]+v[u[3]][1])+3*(v[u[2]][1]+v[u[8]][1]))/9]),this.figures.push({type:"patch",coords:new Int32Array(u),colors:new Int32Array(C)})}}},{key:"_decodeType7Shading",value:function(c){for(var v=this.coords,A=this.colors,u=new Int32Array(16),C=new Int32Array(4);c.hasData;){var I=c.readFlag();if(!(0<=I&&I<=3))throw new b.FormatError("Unknown type7 flag");for(var E=v.length,N=0,_=I!==0?12:16;N<_;N++)v.push(c.readCoordinate());for(var Y=A.length,H=0,Z=I!==0?2:4;H<Z;H++)A.push(c.readComponents());var ne=void 0,he=void 0,Se=void 0,ue=void 0;switch(I){case 0:u[12]=E+3,u[13]=E+4,u[14]=E+5,u[15]=E+6,u[8]=E+2,u[9]=E+13,u[10]=E+14,u[11]=E+7,u[4]=E+1,u[5]=E+12,u[6]=E+15,u[7]=E+8,u[0]=E,u[1]=E+11,u[2]=E+10,u[3]=E+9,C[2]=Y+1,C[3]=Y+2,C[0]=Y,C[1]=Y+3;break;case 1:ne=u[12],he=u[13],Se=u[14],ue=u[15],u[12]=ue,u[13]=E+0,u[14]=E+1,u[15]=E+2,u[8]=Se,u[9]=E+9,u[10]=E+10,u[11]=E+3,u[4]=he,u[5]=E+8,u[6]=E+11,u[7]=E+4,u[0]=ne,u[1]=E+7,u[2]=E+6,u[3]=E+5,ne=C[2],he=C[3],C[2]=he,C[3]=Y,C[0]=ne,C[1]=Y+1;break;case 2:ne=u[15],he=u[11],u[12]=u[3],u[13]=E+0,u[14]=E+1,u[15]=E+2,u[8]=u[7],u[9]=E+9,u[10]=E+10,u[11]=E+3,u[4]=he,u[5]=E+8,u[6]=E+11,u[7]=E+4,u[0]=ne,u[1]=E+7,u[2]=E+6,u[3]=E+5,ne=C[3],C[2]=C[1],C[3]=Y,C[0]=ne,C[1]=Y+1;break;case 3:u[12]=u[0],u[13]=E+0,u[14]=E+1,u[15]=E+2,u[8]=u[1],u[9]=E+9,u[10]=E+10,u[11]=E+3,u[4]=u[2],u[5]=E+8,u[6]=E+11,u[7]=E+4,u[0]=u[3],u[1]=E+7,u[2]=E+6,u[3]=E+5,C[2]=C[0],C[3]=Y,C[0]=C[1],C[1]=Y+1;break}this.figures.push({type:"patch",coords:new Int32Array(u),colors:new Int32Array(C)})}}},{key:"_buildFigureFromPatch",value:function(c){var v=this.figures[c];(0,b.assert)(v.type==="patch","Unexpected patch mesh figure");var A=this.coords,u=this.colors,C=v.coords,I=v.colors,E=Math.min(A[C[0]][0],A[C[3]][0],A[C[12]][0],A[C[15]][0]),N=Math.min(A[C[0]][1],A[C[3]][1],A[C[12]][1],A[C[15]][1]),_=Math.max(A[C[0]][0],A[C[3]][0],A[C[12]][0],A[C[15]][0]),Y=Math.max(A[C[0]][1],A[C[3]][1],A[C[12]][1],A[C[15]][1]),H=Math.ceil((_-E)*m.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0]));H=Math.max(m.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(m.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,H));var Z=Math.ceil((Y-N)*m.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1]));Z=Math.max(m.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(m.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,Z));for(var ne=H+1,he=new Int32Array((Z+1)*ne),Se=new Int32Array((Z+1)*ne),ue=0,te=new Uint8Array(3),$=new Uint8Array(3),j=u[I[0]],G=u[I[1]],M=u[I[2]],W=u[I[3]],z=F(Z),J=F(H),Q=0;Q<=Z;Q++){te[0]=(j[0]*(Z-Q)+M[0]*Q)/Z|0,te[1]=(j[1]*(Z-Q)+M[1]*Q)/Z|0,te[2]=(j[2]*(Z-Q)+M[2]*Q)/Z|0,$[0]=(G[0]*(Z-Q)+W[0]*Q)/Z|0,$[1]=(G[1]*(Z-Q)+W[1]*Q)/Z|0,$[2]=(G[2]*(Z-Q)+W[2]*Q)/Z|0;for(var K=0;K<=H;K++,ue++)if(!((Q===0||Q===Z)&&(K===0||K===H))){for(var de=0,oe=0,pe=0,fe=0;fe<=3;fe++)for(var ke=0;ke<=3;ke++,pe++){var Re=z[Q][fe]*J[K][ke];de+=A[C[pe]][0]*Re,oe+=A[C[pe]][1]*Re}he[ue]=A.length,A.push([de,oe]),Se[ue]=u.length;var ve=new Uint8Array(3);ve[0]=(te[0]*(H-K)+$[0]*K)/H|0,ve[1]=(te[1]*(H-K)+$[1]*K)/H|0,ve[2]=(te[2]*(H-K)+$[2]*K)/H|0,u.push(ve)}}he[0]=C[0],Se[0]=I[0],he[H]=C[3],Se[H]=I[1],he[ne*Z]=C[12],Se[ne*Z]=I[2],he[ne*Z+H]=C[15],Se[ne*Z+H]=I[3],this.figures[c]={type:"lattice",coords:he,colors:Se,verticesPerRow:ne}}},{key:"_updateBounds",value:function(){for(var c=this.coords[0][0],v=this.coords[0][1],A=c,u=v,C=1,I=this.coords.length;C<I;C++){var E=this.coords[C][0],N=this.coords[C][1];c=c>E?E:c,v=v>N?N:v,A=A<E?E:A,u=u<N?N:u}this.bounds=[c,v,A,u]}},{key:"_packData",value:function(){var c,v,A,u,C=this.coords,I=new Float32Array(C.length*2);for(c=0,A=0,v=C.length;c<v;c++){var E=C[c];I[A++]=E[0],I[A++]=E[1]}this.coords=I;var N=this.colors,_=new Uint8Array(N.length*3);for(c=0,A=0,v=N.length;c<v;c++){var Y=N[c];_[A++]=Y[0],_[A++]=Y[1],_[A++]=Y[2]}this.colors=_;var H=this.figures;for(c=0,v=H.length;c<v;c++){var Z=H[c],ne=Z.coords,he=Z.colors;for(A=0,u=ne.length;A<u;A++)ne[A]*=2,he[A]*=3}}},{key:"getIR",value:function(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.bbox,this.background]}}],[{key:"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",get:function(){return(0,b.shadow)(this,"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",3)}},{key:"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",get:function(){return(0,b.shadow)(this,"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",20)}},{key:"TRIANGLE_DENSITY",get:function(){return(0,b.shadow)(this,"TRIANGLE_DENSITY",20)}}]),m}(x),g=function(a){d(m,a);var i=q(m);function m(){return n(this,m),i.apply(this,arguments)}return O(m,[{key:"getIR",value:function(){return["Dummy"]}}]),m}(x);function l(a,i,m){var o=i.getArray("Matrix"),c=b.Util.normalizeRect(i.getArray("BBox")),v=i.get("XStep"),A=i.get("YStep"),u=i.get("PaintType"),C=i.get("TilingType");if(c[2]-c[0]==0||c[3]-c[1]==0)throw new b.FormatError("Invalid getTilingPatternIR /BBox array: [".concat(c,"]."));return["TilingPattern",m,a,o,c,v,A,u,C]}},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.PostScriptEvaluator=P.PostScriptCompiler=P.PDFFunctionFactory=void 0,P.isPDFFunction=n;var T=D(135),b=D(4),t=D(187),e=D(188);function ge(p,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(x&&x.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),x&&le(p,x)}function le(p,x){return le=Object.setPrototypeOf||function(h,F){return h.__proto__=F,h},le(p,x)}function V(p){var x=xe();return function(){var h=ae(p),F;if(x){var s=ae(this).constructor;F=Reflect.construct(h,arguments,s)}else F=h.apply(this,arguments);return ye(this,F)}}function ye(p,x){if(x&&(d(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(p)}function be(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function xe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}function ae(p){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(f){return f.__proto__||Object.getPrototypeOf(f)},ae(p)}function d(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?d=function(f){return typeof f}:d=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},d(p)}function ce(p,x){if(!(p instanceof x))throw new TypeError("Cannot call a class as a function")}function q(p,x){for(var f=0;f<x.length;f++){var h=x[f];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(p,h.key,h)}}function re(p,x,f){return x&&q(p.prototype,x),f&&q(p,f),p}var X=function(){function p(x){var f=x.xref,h=x.isEvalSupported,F=h===void 0?!0:h;ce(this,p),this.xref=f,this.isEvalSupported=F!==!1}return re(p,[{key:"create",value:function(f){var h=this.getCached(f);if(h)return h;var F=k.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:f instanceof T.Ref?this.xref.fetch(f):f});return this._cache(f,F),F}},{key:"createFromArray",value:function(f){var h=this.getCached(f);if(h)return h;var F=k.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:f instanceof T.Ref?this.xref.fetch(f):f});return this._cache(f,F),F}},{key:"getCached",value:function(f){var h;if(f instanceof T.Ref?h=f:f instanceof T.Dict?h=f.objId:(0,T.isStream)(f)&&(h=f.dict&&f.dict.objId),h){var F=this._localFunctionCache.getByRef(h);if(F)return F}return null}},{key:"_cache",value:function(f,h){if(!h)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');var F;f instanceof T.Ref?F=f:f instanceof T.Dict?F=f.objId:(0,T.isStream)(f)&&(F=f.dict&&f.dict.objId),F&&this._localFunctionCache.set(null,F,h)}},{key:"_localFunctionCache",get:function(){return(0,b.shadow)(this,"_localFunctionCache",new e.LocalFunctionCache)}}]),p}();P.PDFFunctionFactory=X;function y(p){if(!Array.isArray(p))return null;for(var x=p.length,f=0;f<x;f++)if(typeof p[f]!="number"){for(var h=new Array(x),F=0;F<x;F++)h[F]=+p[F];return h}return p}var k=function(){function p(){ce(this,p)}return re(p,null,[{key:"getSampleArray",value:function(f,h,F,s){var g,l,a=1;for(g=0,l=f.length;g<l;g++)a*=f[g];a*=h;var i=new Array(a),m=0,o=0,c=1/(Math.pow(2,F)-1),v=s.getBytes((a*F+7)/8),A=0;for(g=0;g<a;g++){for(;m<F;)o<<=8,o|=v[A++],m+=8;m-=F,i[g]=(o>>m)*c,o&=(1<<m)-1}return i}},{key:"parse",value:function(f){var h=f.xref,F=f.isEvalSupported,s=f.fn,g=s.dict||s,l=g.get("FunctionType");switch(l){case 0:return this.constructSampled({xref:h,isEvalSupported:F,fn:s,dict:g});case 1:break;case 2:return this.constructInterpolated({xref:h,isEvalSupported:F,dict:g});case 3:return this.constructStiched({xref:h,isEvalSupported:F,dict:g});case 4:return this.constructPostScript({xref:h,isEvalSupported:F,fn:s,dict:g})}throw new b.FormatError("Unknown type of function")}},{key:"parseArray",value:function(f){var h=f.xref,F=f.isEvalSupported,s=f.fnObj;if(!Array.isArray(s))return this.parse({xref:h,isEvalSupported:F,fn:s});for(var g=[],l=0,a=s.length;l<a;l++)g.push(this.parse({xref:h,isEvalSupported:F,fn:h.fetchIfRef(s[l])}));return function(i,m,o,c){for(var v=0,A=g.length;v<A;v++)g[v](i,m,o,c+v)}}},{key:"constructSampled",value:function(f){var h=f.xref,F=f.isEvalSupported,s=f.fn,g=f.dict;function l(_){for(var Y=_.length,H=[],Z=0,ne=0;ne<Y;ne+=2)H[Z++]=[_[ne],_[ne+1]];return H}function a(_,Y,H,Z,ne){return Z+(_-Y)*((ne-Z)/(H-Y))}var i=y(g.getArray("Domain")),m=y(g.getArray("Range"));if(!i||!m)throw new b.FormatError("No domain or range");var o=i.length/2,c=m.length/2;i=l(i),m=l(m);var v=y(g.getArray("Size")),A=g.get("BitsPerSample"),u=g.get("Order")||1;u!==1&&(0,b.info)("No support for cubic spline interpolation: "+u);var C=y(g.getArray("Encode"));if(C)C=l(C);else{C=[];for(var I=0;I<o;++I)C.push([0,v[I]-1])}var E=y(g.getArray("Decode"));E?E=l(E):E=m;var N=this.getSampleArray(v,c,A,s);return function(Y,H,Z,ne){var he=1<<o,Se=new Float64Array(he),ue=new Uint32Array(he),te,$;for($=0;$<he;$++)Se[$]=1;var j=c,G=1;for(te=0;te<o;++te){var M=i[te][0],W=i[te][1],z=Math.min(Math.max(Y[H+te],M),W),J=a(z,M,W,C[te][0],C[te][1]),Q=v[te];J=Math.min(Math.max(J,0),Q-1);var K=J<Q-1?Math.floor(J):J-1,de=K+1-J,oe=J-K,pe=K*j,fe=pe+j;for($=0;$<he;$++)$&G?(Se[$]*=oe,ue[$]+=fe):(Se[$]*=de,ue[$]+=pe);j*=Q,G<<=1}for($=0;$<c;++$){var ke=0;for(te=0;te<he;te++)ke+=N[ue[te]+$]*Se[te];ke=a(ke,0,1,E[$][0],E[$][1]),Z[ne+$]=Math.min(Math.max(ke,m[$][0]),m[$][1])}}}},{key:"constructInterpolated",value:function(f){for(var h=f.xref,F=f.isEvalSupported,s=f.dict,g=y(s.getArray("C0"))||[0],l=y(s.getArray("C1"))||[1],a=s.get("N"),i=[],m=0,o=g.length;m<o;++m)i.push(l[m]-g[m]);var c=i.length;return function(A,u,C,I){for(var E=a===1?A[u]:Math.pow(A[u],a),N=0;N<c;++N)C[I+N]=g[N]+E*i[N]}}},{key:"constructStiched",value:function(f){var h=f.xref,F=f.isEvalSupported,s=f.dict,g=y(s.getArray("Domain"));if(!g)throw new b.FormatError("No domain");var l=g.length/2;if(l!==1)throw new b.FormatError("Bad domain for stiched function");for(var a=s.get("Functions"),i=[],m=0,o=a.length;m<o;++m)i.push(this.parse({xref:h,isEvalSupported:F,fn:h.fetchIfRef(a[m])}));var c=y(s.getArray("Bounds")),v=y(s.getArray("Encode")),A=new Float32Array(1);return function(C,I,E,N){var _=function($,j,G){return $>G?$=G:$<j&&($=j),$},Y=_(C[I],g[0],g[1]),H=c.length,Z;for(Z=0;Z<H&&!(Y<c[Z]);++Z);var ne=g[0];Z>0&&(ne=c[Z-1]);var he=g[1];Z<c.length&&(he=c[Z]);var Se=v[2*Z],ue=v[2*Z+1];A[0]=ne===he?Se:Se+(Y-ne)*(ue-Se)/(he-ne),i[Z](A,0,E,N)}}},{key:"constructPostScript",value:function(f){var h=f.xref,F=f.isEvalSupported,s=f.fn,g=f.dict,l=y(g.getArray("Domain")),a=y(g.getArray("Range"));if(!l)throw new b.FormatError("No domain.");if(!a)throw new b.FormatError("No range.");var i=new t.PostScriptLexer(s),m=new t.PostScriptParser(i),o=m.parse();if(F&&b.IsEvalSupportedCached.value){var c=new w().compile(o,l,a);if(c)return new Function("src","srcOffset","dest","destOffset",c)}(0,b.info)("Unable to compile PS function");var v=a.length>>1,A=l.length>>1,u=new O(o),C=Object.create(null),I=2048*4,E=I,N=new Float32Array(A);return function(Y,H,Z,ne){var he,Se,ue="",te=N;for(he=0;he<A;he++)Se=Y[H+he],te[he]=Se,ue+=Se+"_";var $=C[ue];if($!==void 0){Z.set($,ne);return}var j=new Float32Array(v),G=u.execute(te),M=G.length-v;for(he=0;he<v;he++){Se=G[M+he];var W=a[he*2];Se<W?Se=W:(W=a[he*2+1],Se>W&&(Se=W)),j[he]=Se}E>0&&(E--,C[ue]=j),Z.set(j,ne)}}}]),p}();function n(p){var x;if(d(p)!=="object")return!1;if((0,T.isDict)(p))x=p;else if((0,T.isStream)(p))x=p.dict;else return!1;return x.has("FunctionType")}var S=function(){function p(x){ce(this,p),this.stack=x?Array.prototype.slice.call(x,0):[]}return re(p,[{key:"push",value:function(f){if(this.stack.length>=p.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(f)}},{key:"pop",value:function(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}},{key:"copy",value:function(f){if(this.stack.length+f>=p.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");for(var h=this.stack,F=h.length-f,s=f-1;s>=0;s--,F++)h.push(h[F])}},{key:"index",value:function(f){this.push(this.stack[this.stack.length-f-1])}},{key:"roll",value:function(f,h){for(var F=this.stack,s=F.length-f,g=F.length-1,l=s+(h-Math.floor(h/f)*f),a=s,i=g;a<i;a++,i--){var m=F[a];F[a]=F[i],F[i]=m}for(var o=s,c=l-1;o<c;o++,c--){var v=F[o];F[o]=F[c],F[c]=v}for(var A=l,u=g;A<u;A++,u--){var C=F[A];F[A]=F[u],F[u]=C}}}],[{key:"MAX_STACK_SIZE",get:function(){return(0,b.shadow)(this,"MAX_STACK_SIZE",100)}}]),p}(),O=function(){function p(x){ce(this,p),this.operators=x}return re(p,[{key:"execute",value:function(f){for(var h=new S(f),F=0,s=this.operators,g=s.length,l,a,i;F<g;){if(l=s[F++],typeof l=="number"){h.push(l);continue}switch(l){case"jz":i=h.pop(),a=h.pop(),a||(F=i);break;case"j":a=h.pop(),F=a;break;case"abs":a=h.pop(),h.push(Math.abs(a));break;case"add":i=h.pop(),a=h.pop(),h.push(a+i);break;case"and":i=h.pop(),a=h.pop(),(0,b.isBool)(a)&&(0,b.isBool)(i)?h.push(a&&i):h.push(a&i);break;case"atan":a=h.pop(),h.push(Math.atan(a));break;case"bitshift":i=h.pop(),a=h.pop(),a>0?h.push(a<<i):h.push(a>>i);break;case"ceiling":a=h.pop(),h.push(Math.ceil(a));break;case"copy":a=h.pop(),h.copy(a);break;case"cos":a=h.pop(),h.push(Math.cos(a));break;case"cvi":a=h.pop()|0,h.push(a);break;case"cvr":break;case"div":i=h.pop(),a=h.pop(),h.push(a/i);break;case"dup":h.copy(1);break;case"eq":i=h.pop(),a=h.pop(),h.push(a===i);break;case"exch":h.roll(2,1);break;case"exp":i=h.pop(),a=h.pop(),h.push(Math.pow(a,i));break;case"false":h.push(!1);break;case"floor":a=h.pop(),h.push(Math.floor(a));break;case"ge":i=h.pop(),a=h.pop(),h.push(a>=i);break;case"gt":i=h.pop(),a=h.pop(),h.push(a>i);break;case"idiv":i=h.pop(),a=h.pop(),h.push(a/i|0);break;case"index":a=h.pop(),h.index(a);break;case"le":i=h.pop(),a=h.pop(),h.push(a<=i);break;case"ln":a=h.pop(),h.push(Math.log(a));break;case"log":a=h.pop(),h.push(Math.log(a)/Math.LN10);break;case"lt":i=h.pop(),a=h.pop(),h.push(a<i);break;case"mod":i=h.pop(),a=h.pop(),h.push(a%i);break;case"mul":i=h.pop(),a=h.pop(),h.push(a*i);break;case"ne":i=h.pop(),a=h.pop(),h.push(a!==i);break;case"neg":a=h.pop(),h.push(-a);break;case"not":a=h.pop(),(0,b.isBool)(a)?h.push(!a):h.push(~a);break;case"or":i=h.pop(),a=h.pop(),(0,b.isBool)(a)&&(0,b.isBool)(i)?h.push(a||i):h.push(a|i);break;case"pop":h.pop();break;case"roll":i=h.pop(),a=h.pop(),h.roll(a,i);break;case"round":a=h.pop(),h.push(Math.round(a));break;case"sin":a=h.pop(),h.push(Math.sin(a));break;case"sqrt":a=h.pop(),h.push(Math.sqrt(a));break;case"sub":i=h.pop(),a=h.pop(),h.push(a-i);break;case"true":h.push(!0);break;case"truncate":a=h.pop(),a=a<0?Math.ceil(a):Math.floor(a),h.push(a);break;case"xor":i=h.pop(),a=h.pop(),(0,b.isBool)(a)&&(0,b.isBool)(i)?h.push(a!==i):h.push(a^i);break;default:throw new b.FormatError("Unknown operator ".concat(l))}}return h.stack}}]),p}();P.PostScriptEvaluator=O;var w=function(){var x=function(){function A(u){ce(this,A),this.type=u}return re(A,[{key:"visit",value:function(C){(0,b.unreachable)("abstract method")}}]),A}(),f=function(A){ge(C,A);var u=V(C);function C(I,E,N){var _;return ce(this,C),_=u.call(this,"args"),_.index=I,_.min=E,_.max=N,_}return re(C,[{key:"visit",value:function(E){E.visitArgument(this)}}]),C}(x),h=function(A){ge(C,A);var u=V(C);function C(I){var E;return ce(this,C),E=u.call(this,"literal"),E.number=I,E.min=I,E.max=I,E}return re(C,[{key:"visit",value:function(E){E.visitLiteral(this)}}]),C}(x),F=function(A){ge(C,A);var u=V(C);function C(I,E,N,_,Y){var H;return ce(this,C),H=u.call(this,"binary"),H.op=I,H.arg1=E,H.arg2=N,H.min=_,H.max=Y,H}return re(C,[{key:"visit",value:function(E){E.visitBinaryOperation(this)}}]),C}(x),s=function(A){ge(C,A);var u=V(C);function C(I,E){var N;return ce(this,C),N=u.call(this,"max"),N.arg=I,N.min=I.min,N.max=E,N}return re(C,[{key:"visit",value:function(E){E.visitMin(this)}}]),C}(x),g=function(A){ge(C,A);var u=V(C);function C(I,E,N){var _;return ce(this,C),_=u.call(this,"var"),_.index=I,_.min=E,_.max=N,_}return re(C,[{key:"visit",value:function(E){E.visitVariable(this)}}]),C}(x),l=function(A){ge(C,A);var u=V(C);function C(I,E){var N;return ce(this,C),N=u.call(this,"definition"),N.variable=I,N.arg=E,N}return re(C,[{key:"visit",value:function(E){E.visitVariableDefinition(this)}}]),C}(x),a=function(){function A(){ce(this,A),this.parts=[]}return re(A,[{key:"visitArgument",value:function(C){this.parts.push("Math.max(",C.min,", Math.min(",C.max,", src[srcOffset + ",C.index,"]))")}},{key:"visitVariable",value:function(C){this.parts.push("v",C.index)}},{key:"visitLiteral",value:function(C){this.parts.push(C.number)}},{key:"visitBinaryOperation",value:function(C){this.parts.push("("),C.arg1.visit(this),this.parts.push(" ",C.op," "),C.arg2.visit(this),this.parts.push(")")}},{key:"visitVariableDefinition",value:function(C){this.parts.push("var "),C.variable.visit(this),this.parts.push(" = "),C.arg.visit(this),this.parts.push(";")}},{key:"visitMin",value:function(C){this.parts.push("Math.min("),C.arg.visit(this),this.parts.push(", ",C.max,")")}},{key:"toString",value:function(){return this.parts.join("")}}]),A}();function i(A,u){return u.type==="literal"&&u.number===0?A:A.type==="literal"&&A.number===0?u:u.type==="literal"&&A.type==="literal"?new h(A.number+u.number):new F("+",A,u,A.min+u.min,A.max+u.max)}function m(A,u){if(u.type==="literal"){if(u.number===0)return new h(0);if(u.number===1)return A;if(A.type==="literal")return new h(A.number*u.number)}if(A.type==="literal"){if(A.number===0)return new h(0);if(A.number===1)return u}var C=Math.min(A.min*u.min,A.min*u.max,A.max*u.min,A.max*u.max),I=Math.max(A.min*u.min,A.min*u.max,A.max*u.min,A.max*u.max);return new F("*",A,u,C,I)}function o(A,u){if(u.type==="literal"){if(u.number===0)return A;if(A.type==="literal")return new h(A.number-u.number)}return u.type==="binary"&&u.op==="-"&&A.type==="literal"&&A.number===1&&u.arg1.type==="literal"&&u.arg1.number===1?u.arg2:new F("-",A,u,A.min-u.max,A.max-u.min)}function c(A,u){return A.min>=u?new h(u):A.max<=u?A:new s(A,u)}var v=function(){function A(){ce(this,A)}return re(A,[{key:"compile",value:function(C,I,E){for(var N=[],_=[],Y=I.length>>1,H=E.length>>1,Z=0,ne,he,Se,ue,te,$,j,G,M=0;M<Y;M++)N.push(new f(M,I[M*2],I[M*2+1]));for(var W=0,z=C.length;W<z;W++){if(G=C[W],typeof G=="number"){N.push(new h(G));continue}switch(G){case"add":if(N.length<2)return null;ue=N.pop(),Se=N.pop(),N.push(i(Se,ue));break;case"cvr":if(N.length<1)return null;break;case"mul":if(N.length<2)return null;ue=N.pop(),Se=N.pop(),N.push(m(Se,ue));break;case"sub":if(N.length<2)return null;ue=N.pop(),Se=N.pop(),N.push(o(Se,ue));break;case"exch":if(N.length<2)return null;te=N.pop(),$=N.pop(),N.push(te,$);break;case"pop":if(N.length<1)return null;N.pop();break;case"index":if(N.length<1||(Se=N.pop(),Se.type!=="literal")||(ne=Se.number,ne<0||!Number.isInteger(ne)||N.length<ne))return null;if(te=N[N.length-ne-1],te.type==="literal"||te.type==="var"){N.push(te);break}j=new g(Z++,te.min,te.max),N[N.length-ne-1]=j,N.push(j),_.push(new l(j,te));break;case"dup":if(N.length<1)return null;if(typeof C[W+1]=="number"&&C[W+2]==="gt"&&C[W+3]===W+7&&C[W+4]==="jz"&&C[W+5]==="pop"&&C[W+6]===C[W+1]){Se=N.pop(),N.push(c(Se,C[W+1])),W+=6;break}if(te=N[N.length-1],te.type==="literal"||te.type==="var"){N.push(te);break}j=new g(Z++,te.min,te.max),N[N.length-1]=j,N.push(j),_.push(new l(j,te));break;case"roll":if(N.length<2||(ue=N.pop(),Se=N.pop(),ue.type!=="literal"||Se.type!=="literal")||(he=ue.number,ne=Se.number,ne<=0||!Number.isInteger(ne)||!Number.isInteger(he)||N.length<ne))return null;if(he=(he%ne+ne)%ne,he===0)break;Array.prototype.push.apply(N,N.splice(N.length-ne,ne-he));break;default:return null}}if(N.length!==H)return null;for(var J=[],Q=0,K=_;Q<K.length;Q++){var de=K[Q],oe=new a;de.visit(oe),J.push(oe.toString())}for(var pe=0,fe=N.length;pe<fe;pe++){var ke=N[pe],Re=new a;ke.visit(Re);var ve=E[pe*2],we=E[pe*2+1],se=[Re.toString()];ve>ke.min&&(se.unshift("Math.max(",ve,", "),se.push(")")),we<ke.max&&(se.unshift("Math.min(",we,", "),se.push(")")),se.unshift("dest[destOffset + ",pe,"] = "),se.push(";"),J.push(se.join(""))}return J.join(`
`)}}]),A}();return v}();P.PostScriptCompiler=w},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.PostScriptParser=P.PostScriptLexer=void 0;var T=D(4),b=D(135),t=D(139);function e(ae,d){if(!(ae instanceof d))throw new TypeError("Cannot call a class as a function")}function ge(ae,d){for(var ce=0;ce<d.length;ce++){var q=d[ce];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(ae,q.key,q)}}function le(ae,d,ce){return d&&ge(ae.prototype,d),ce&&ge(ae,ce),ae}var V=function(){function ae(d){e(this,ae),this.lexer=d,this.operators=[],this.token=null,this.prev=null}return le(ae,[{key:"nextToken",value:function(){this.prev=this.token,this.token=this.lexer.getToken()}},{key:"accept",value:function(ce){return this.token.type===ce?(this.nextToken(),!0):!1}},{key:"expect",value:function(ce){if(this.accept(ce))return!0;throw new T.FormatError("Unexpected symbol: found ".concat(this.token.type," expected ").concat(ce,"."))}},{key:"parse",value:function(){return this.nextToken(),this.expect(ye.LBRACE),this.parseBlock(),this.expect(ye.RBRACE),this.operators}},{key:"parseBlock",value:function(){for(;;)if(this.accept(ye.NUMBER))this.operators.push(this.prev.value);else if(this.accept(ye.OPERATOR))this.operators.push(this.prev.value);else if(this.accept(ye.LBRACE))this.parseCondition();else return}},{key:"parseCondition",value:function(){var ce=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(ye.RBRACE),this.accept(ye.IF))this.operators[ce]=this.operators.length,this.operators[ce+1]="jz";else if(this.accept(ye.LBRACE)){var q=this.operators.length;this.operators.push(null,null);var re=this.operators.length;this.parseBlock(),this.expect(ye.RBRACE),this.expect(ye.IFELSE),this.operators[q]=this.operators.length,this.operators[q+1]="j",this.operators[ce]=re,this.operators[ce+1]="jz"}else throw new T.FormatError("PS Function: error parsing conditional.")}}]),ae}();P.PostScriptParser=V;var ye={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},be=function(){function ae(d,ce){e(this,ae),this.type=d,this.value=ce}return le(ae,null,[{key:"opCache",get:function(){return(0,T.shadow)(this,"opCache",Object.create(null))}},{key:"getOperator",value:function(ce){var q=ae.opCache[ce];return q||(ae.opCache[ce]=new ae(ye.OPERATOR,ce))}},{key:"LBRACE",get:function(){return(0,T.shadow)(this,"LBRACE",new ae(ye.LBRACE,"{"))}},{key:"RBRACE",get:function(){return(0,T.shadow)(this,"RBRACE",new ae(ye.RBRACE,"}"))}},{key:"IF",get:function(){return(0,T.shadow)(this,"IF",new ae(ye.IF,"IF"))}},{key:"IFELSE",get:function(){return(0,T.shadow)(this,"IFELSE",new ae(ye.IFELSE,"IFELSE"))}}]),ae}(),xe=function(){function ae(d){e(this,ae),this.stream=d,this.nextChar(),this.strBuf=[]}return le(ae,[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var ce=!1,q=this.currentChar;;){if(q<0)return b.EOF;if(ce)(q===10||q===13)&&(ce=!1);else if(q===37)ce=!0;else if(!(0,t.isWhiteSpace)(q))break;q=this.nextChar()}switch(q|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new be(ye.NUMBER,this.getNumber());case 123:return this.nextChar(),be.LBRACE;case 125:return this.nextChar(),be.RBRACE}var re=this.strBuf;for(re.length=0,re[0]=String.fromCharCode(q);(q=this.nextChar())>=0&&(q>=65&&q<=90||q>=97&&q<=122);)re.push(String.fromCharCode(q));var X=re.join("");switch(X.toLowerCase()){case"if":return be.IF;case"ifelse":return be.IFELSE;default:return be.getOperator(X)}}},{key:"getNumber",value:function(){var ce=this.currentChar,q=this.strBuf;for(q.length=0,q[0]=String.fromCharCode(ce);(ce=this.nextChar())>=0&&(ce>=48&&ce<=57||ce===45||ce===46);)q.push(String.fromCharCode(ce));var re=parseFloat(q.join(""));if(isNaN(re))throw new T.FormatError("Invalid floating point number: ".concat(re));return re}}]),ae}();P.PostScriptLexer=xe},(Me,P,D)=>{"use strict";function T(O){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(p){return typeof p}:T=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},T(O)}Object.defineProperty(P,"__esModule",{value:!0}),P.LocalTilingPatternCache=P.LocalImageCache=P.LocalGStateCache=P.LocalFunctionCache=P.LocalColorSpaceCache=P.GlobalImageCache=void 0;var b=D(4),t=D(135);function e(O,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(w&&w.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),w&&ge(O,w)}function ge(O,w){return ge=Object.setPrototypeOf||function(x,f){return x.__proto__=f,x},ge(O,w)}function le(O){var w=be();return function(){var x=xe(O),f;if(w){var h=xe(this).constructor;f=Reflect.construct(x,arguments,h)}else f=x.apply(this,arguments);return V(this,f)}}function V(O,w){if(w&&(T(w)==="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ye(O)}function ye(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function be(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(O){return!1}}function xe(O){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(p){return p.__proto__||Object.getPrototypeOf(p)},xe(O)}function ae(O,w){if(!(O instanceof w))throw new TypeError("Cannot call a class as a function")}function d(O,w){for(var p=0;p<w.length;p++){var x=w[p];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(O,x.key,x)}}function ce(O,w,p){return w&&d(O.prototype,w),p&&d(O,p),O}var q=function(){function O(w){ae(this,O),this.constructor===O&&(0,b.unreachable)("Cannot initialize BaseLocalCache."),this._onlyRefs=(w&&w.onlyRefs)===!0,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new t.RefSetCache}return ce(O,[{key:"getByName",value:function(p){this._onlyRefs&&(0,b.unreachable)("Should not call `getByName` method.");var x=this._nameRefMap.get(p);return x?this.getByRef(x):this._imageMap.get(p)||null}},{key:"getByRef",value:function(p){return this._imageCache.get(p)||null}},{key:"set",value:function(p,x,f){(0,b.unreachable)("Abstract method `set` called.")}}]),O}(),re=function(O){e(p,O);var w=le(p);function p(){return ae(this,p),w.apply(this,arguments)}return ce(p,[{key:"set",value:function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,F=arguments.length>2?arguments[2]:void 0;if(typeof f!="string")throw new Error('LocalImageCache.set - expected "name" argument.');if(h){if(this._imageCache.has(h))return;this._nameRefMap.set(f,h),this._imageCache.put(h,F);return}this._imageMap.has(f)||this._imageMap.set(f,F)}}]),p}(q);P.LocalImageCache=re;var X=function(O){e(p,O);var w=le(p);function p(){return ae(this,p),w.apply(this,arguments)}return ce(p,[{key:"set",value:function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,F=arguments.length>2?arguments[2]:void 0;if(typeof f!="string"&&!h)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(h){if(this._imageCache.has(h))return;f!==null&&this._nameRefMap.set(f,h),this._imageCache.put(h,F);return}this._imageMap.has(f)||this._imageMap.set(f,F)}}]),p}(q);P.LocalColorSpaceCache=X;var y=function(O){e(p,O);var w=le(p);function p(x){return ae(this,p),w.call(this,{onlyRefs:!0})}return ce(p,[{key:"set",value:function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,h=arguments.length>1?arguments[1]:void 0,F=arguments.length>2?arguments[2]:void 0;if(!h)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(h)||this._imageCache.put(h,F)}}]),p}(q);P.LocalFunctionCache=y;var k=function(O){e(p,O);var w=le(p);function p(){return ae(this,p),w.apply(this,arguments)}return ce(p,[{key:"set",value:function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,F=arguments.length>2?arguments[2]:void 0;if(typeof f!="string")throw new Error('LocalGStateCache.set - expected "name" argument.');if(h){if(this._imageCache.has(h))return;this._nameRefMap.set(f,h),this._imageCache.put(h,F);return}this._imageMap.has(f)||this._imageMap.set(f,F)}}]),p}(q);P.LocalGStateCache=k;var n=function(O){e(p,O);var w=le(p);function p(x){return ae(this,p),w.call(this,{onlyRefs:!0})}return ce(p,[{key:"set",value:function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,h=arguments.length>1?arguments[1]:void 0,F=arguments.length>2?arguments[2]:void 0;if(!h)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(h)||this._imageCache.put(h,F)}}]),p}(q);P.LocalTilingPatternCache=n;var S=function(){function O(){ae(this,O),this._refCache=new t.RefSetCache,this._imageCache=new t.RefSetCache}return ce(O,[{key:"_byteSize",get:function(){var p=0;return this._imageCache.forEach(function(x){p+=x.byteSize}),p}},{key:"_cacheLimitReached",get:function(){return!(this._imageCache.size<O.MIN_IMAGES_TO_CACHE||this._byteSize<O.MAX_BYTE_SIZE)}},{key:"shouldCache",value:function(p,x){var f=this._refCache.get(p),h=f?f.size+(f.has(x)?0:1):1;return!(h<O.NUM_PAGES_THRESHOLD||!this._imageCache.has(p)&&this._cacheLimitReached)}},{key:"addPageIndex",value:function(p,x){var f=this._refCache.get(p);f||(f=new Set,this._refCache.put(p,f)),f.add(x)}},{key:"addByteSize",value:function(p,x){var f=this._imageCache.get(p);!f||f.byteSize||(f.byteSize=x)}},{key:"getData",value:function(p,x){var f=this._refCache.get(p);if(!f||f.size<O.NUM_PAGES_THRESHOLD)return null;var h=this._imageCache.get(p);return h?(f.add(x),h):null}},{key:"setData",value:function(p,x){if(!this._refCache.has(p))throw new Error('GlobalImageCache.setData - expected "addPageIndex" to have been called.');if(!this._imageCache.has(p)){if(this._cacheLimitReached){(0,b.warn)("GlobalImageCache.setData - cache limit reached.");return}this._imageCache.put(p,x)}}},{key:"clear",value:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;p||this._refCache.clear(),this._imageCache.clear()}}],[{key:"NUM_PAGES_THRESHOLD",get:function(){return(0,b.shadow)(this,"NUM_PAGES_THRESHOLD",2)}},{key:"MIN_IMAGES_TO_CACHE",get:function(){return(0,b.shadow)(this,"MIN_IMAGES_TO_CACHE",10)}},{key:"MAX_BYTE_SIZE",get:function(){return(0,b.shadow)(this,"MAX_BYTE_SIZE",4e7)}}]),O}();P.GlobalImageCache=S},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.bidi=d;var T=D(4),b=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],t=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function e(ce){return(ce&1)!=0}function ge(ce){return(ce&1)==0}function le(ce,q,re){var X,y;for(X=q,y=ce.length;X<y;++X)if(ce[X]!==re)return X;return X}function V(ce,q,re,X){for(var y=q;y<re;++y)ce[y]=X}function ye(ce,q,re){for(var X=q,y=re-1;X<y;++X,--y){var k=ce[X];ce[X]=ce[y],ce[y]=k}}function be(ce,q){var re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,X="ltr";return re?X="ttb":q||(X="rtl"),{str:ce,dir:X}}var xe=[],ae=[];function d(ce){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,X=!0,y=ce.length;if(y===0||re)return be(ce,X,re);xe.length=y,ae.length=y;var k=0,n,S;for(n=0;n<y;++n){xe[n]=ce.charAt(n);var O=ce.charCodeAt(n),w="L";O<=255?w=b[O]:1424<=O&&O<=1524?w="R":1536<=O&&O<=1791?(w=t[O&255],w||(0,T.warn)("Bidi: invalid Unicode character "+O.toString(16))):1792<=O&&O<=2220&&(w="AL"),(w==="R"||w==="AL"||w==="AN")&&k++,ae[n]=w}if(k===0)return X=!0,be(ce,X);q===-1&&(k/y<.3&&y>4?(X=!0,q=0):(X=!1,q=1));var p=[];for(n=0;n<y;++n)p[n]=q;var x=e(q)?"R":"L",f=x,h=f,F=f;for(n=0;n<y;++n)ae[n]==="NSM"?ae[n]=F:F=ae[n];F=f;var s;for(n=0;n<y;++n)s=ae[n],s==="EN"?ae[n]=F==="AL"?"AN":"EN":(s==="R"||s==="L"||s==="AL")&&(F=s);for(n=0;n<y;++n)s=ae[n],s==="AL"&&(ae[n]="R");for(n=1;n<y-1;++n)ae[n]==="ES"&&ae[n-1]==="EN"&&ae[n+1]==="EN"&&(ae[n]="EN"),ae[n]==="CS"&&(ae[n-1]==="EN"||ae[n-1]==="AN")&&ae[n+1]===ae[n-1]&&(ae[n]=ae[n-1]);for(n=0;n<y;++n)if(ae[n]==="EN"){for(var g=n-1;g>=0&&ae[g]==="ET";--g)ae[g]="EN";for(var l=n+1;l<y&&ae[l]==="ET";++l)ae[l]="EN"}for(n=0;n<y;++n)s=ae[n],(s==="WS"||s==="ES"||s==="ET"||s==="CS")&&(ae[n]="ON");for(F=f,n=0;n<y;++n)s=ae[n],s==="EN"?ae[n]=F==="L"?"L":"EN":(s==="R"||s==="L")&&(F=s);for(n=0;n<y;++n)if(ae[n]==="ON"){var a=le(ae,n+1,"ON"),i=f;n>0&&(i=ae[n-1]);var m=h;a+1<y&&(m=ae[a+1]),i!=="L"&&(i="R"),m!=="L"&&(m="R"),i===m&&V(ae,n,a,i),n=a-1}for(n=0;n<y;++n)ae[n]==="ON"&&(ae[n]=x);for(n=0;n<y;++n)s=ae[n],ge(p[n])?s==="R"?p[n]+=1:(s==="AN"||s==="EN")&&(p[n]+=2):(s==="L"||s==="AN"||s==="EN")&&(p[n]+=1);var o=-1,c=99,v;for(n=0,S=p.length;n<S;++n)v=p[n],o<v&&(o=v),c>v&&e(v)&&(c=v);for(v=o;v>=c;--v){var A=-1;for(n=0,S=p.length;n<S;++n)p[n]<v?A>=0&&(ye(xe,A,n),A=-1):A<0&&(A=n);A>=0&&ye(xe,A,p.length)}for(n=0,S=xe.length;n<S;++n){var u=xe[n];(u==="<"||u===">")&&(xe[n]="")}return be(xe.join(""),X)}},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.getMetrics=void 0;var T=D(139),b=(0,T.getLookupTableFactory)(function(t){t.Courier=600,t["Courier-Bold"]=600,t["Courier-BoldOblique"]=600,t["Courier-Oblique"]=600,t.Helvetica=(0,T.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),t["Helvetica-Bold"]=(0,T.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),t["Helvetica-BoldOblique"]=(0,T.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),t["Helvetica-Oblique"]=(0,T.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),t.Symbol=(0,T.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790}),t["Times-Roman"]=(0,T.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),t["Times-Bold"]=(0,T.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),t["Times-BoldItalic"]=(0,T.getLookupTableFactory)(function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),t["Times-Italic"]=(0,T.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),t.ZapfDingbats=(0,T.getLookupTableFactory)(function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918})});P.getMetrics=b},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.MurmurHash3_64=void 0;var T=D(4);function b(be,xe){if(!(be instanceof xe))throw new TypeError("Cannot call a class as a function")}function t(be,xe){for(var ae=0;ae<xe.length;ae++){var d=xe[ae];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(be,d.key,d)}}function e(be,xe,ae){return xe&&t(be.prototype,xe),ae&&t(be,ae),be}var ge=3285377520,le=4294901760,V=65535,ye=function(){function be(xe){b(this,be),this.h1=xe?xe&4294967295:ge,this.h2=xe?xe&4294967295:ge}return e(be,[{key:"update",value:function(ae){var d,ce;if((0,T.isString)(ae)){d=new Uint8Array(ae.length*2),ce=0;for(var q=0,re=ae.length;q<re;q++){var X=ae.charCodeAt(q);X<=255?d[ce++]=X:(d[ce++]=X>>>8,d[ce++]=X&255)}}else if((0,T.isArrayBuffer)(ae))d=ae.slice(),ce=d.byteLength;else throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");for(var y=ce>>2,k=ce-y*4,n=new Uint32Array(d.buffer,0,y),S=0,O=0,w=this.h1,p=this.h2,x=3432918353,f=461845907,h=x&V,F=f&V,s=0;s<y;s++)s&1?(S=n[s],S=S*x&le|S*h&V,S=S<<15|S>>>17,S=S*f&le|S*F&V,w^=S,w=w<<13|w>>>19,w=w*5+3864292196):(O=n[s],O=O*x&le|O*h&V,O=O<<15|O>>>17,O=O*f&le|O*F&V,p^=O,p=p<<13|p>>>19,p=p*5+3864292196);switch(S=0,k){case 3:S^=d[y*4+2]<<16;case 2:S^=d[y*4+1]<<8;case 1:S^=d[y*4],S=S*x&le|S*h&V,S=S<<15|S>>>17,S=S*f&le|S*F&V,y&1?w^=S:p^=S}this.h1=w,this.h2=p}},{key:"hexdigest",value:function(){var ae=this.h1,d=this.h2;ae^=d>>>1,ae=ae*3981806797&le|ae*36045&V,d=d*4283543511&le|((d<<16|ae>>>16)*2950163797&le)>>>16,ae^=d>>>1,ae=ae*444984403&le|ae*60499&V,d=d*3301882366&le|((d<<16|ae>>>16)*3120437893&le)>>>16,ae^=d>>>1;var ce=(ae>>>0).toString(16),q=(d>>>0).toString(16);return ce.padStart(8,"0")+q.padStart(8,"0")}}]),be}();P.MurmurHash3_64=ye},(Me,P,D)=>{"use strict";function T(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(x){return typeof x}:T=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},T(w)}Object.defineProperty(P,"__esModule",{value:!0}),P.OperatorList=void 0;var b=D(4);function t(w,p){var x=typeof Symbol!="undefined"&&w[Symbol.iterator]||w["@@iterator"];if(!x){if(Array.isArray(w)||(x=e(w))||p&&w&&typeof w.length=="number"){x&&(w=x);var f=0,h=function(){};return{s:h,n:function(){return f>=w.length?{done:!0}:{done:!1,value:w[f++]}},e:function(a){throw a},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var F=!0,s=!1,g;return{s:function(){x=x.call(w)},n:function(){var a=x.next();return F=a.done,a},e:function(a){s=!0,g=a},f:function(){try{!F&&x.return!=null&&x.return()}finally{if(s)throw g}}}}function e(w,p){if(!!w){if(typeof w=="string")return ge(w,p);var x=Object.prototype.toString.call(w).slice(8,-1);if(x==="Object"&&w.constructor&&(x=w.constructor.name),x==="Map"||x==="Set")return Array.from(w);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return ge(w,p)}}function ge(w,p){(p==null||p>w.length)&&(p=w.length);for(var x=0,f=new Array(p);x<p;x++)f[x]=w[x];return f}function le(w,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(p&&p.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),p&&V(w,p)}function V(w,p){return V=Object.setPrototypeOf||function(f,h){return f.__proto__=h,f},V(w,p)}function ye(w){var p=ae();return function(){var f=d(w),h;if(p){var F=d(this).constructor;h=Reflect.construct(f,arguments,F)}else h=f.apply(this,arguments);return be(this,h)}}function be(w,p){if(p&&(T(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xe(w)}function xe(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function ae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}function d(w){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},d(w)}function ce(w,p){if(!(w instanceof p))throw new TypeError("Cannot call a class as a function")}function q(w,p){for(var x=0;x<p.length;x++){var f=p[x];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(w,f.key,f)}}function re(w,p,x){return p&&q(w.prototype,p),x&&q(w,x),w}function X(w,p,x,f,h){for(var F=w,s=0,g=p.length-1;s<g;s++){var l=p[s];F=F[l]||(F[l]=[])}F[p[p.length-1]]={checkFn:x,iterateFn:f,processFn:h}}function y(w,p,x,f){var h=w+2,F;for(F=0;F<p;F++){var s=f[h+4*F],g=s.length===1&&s[0];if(g&&g.width===1&&g.height===1&&(!g.data.length||g.data.length===1&&g.data[0]===0)){x[h+4*F]=b.OPS.paintSolidColorImageMask;continue}break}return p-F}var k=[];X(k,[b.OPS.save,b.OPS.transform,b.OPS.paintInlineImageXObject,b.OPS.restore],null,function(p,x){var f=p.fnArray,h=p.iCurr-3,F=(x-h)%4;switch(F){case 0:return f[x]===b.OPS.save;case 1:return f[x]===b.OPS.transform;case 2:return f[x]===b.OPS.paintInlineImageXObject;case 3:return f[x]===b.OPS.restore}throw new Error("iterateInlineImageGroup - invalid pos: ".concat(F))},function(p,x){var f=10,h=200,F=1e3,s=1,g=p.fnArray,l=p.argsArray,a=p.iCurr,i=a-3,m=a-2,o=a-1,c=Math.min(Math.floor((x-i)/4),h);if(c<f)return x-(x-i)%4;for(var v=0,A=[],u=0,C=s,I=s,E=0;E<c;E++){var N=l[m+(E<<2)],_=l[o+(E<<2)][0];C+_.width>F&&(v=Math.max(v,C),I+=u+2*s,C=0,u=0),A.push({transform:N,x:C,y:I,w:_.width,h:_.height}),C+=_.width+2*s,u=Math.max(u,_.height)}for(var Y=Math.max(v,C)+s,H=I+u+s,Z=new Uint8ClampedArray(Y*H*4),ne=Y<<2,he=0;he<c;he++){var Se=l[o+(he<<2)][0].data,ue=A[he].w<<2,te=0,$=A[he].x+A[he].y*Y<<2;Z.set(Se.subarray(0,ue),$-ne);for(var j=0,G=A[he].h;j<G;j++)Z.set(Se.subarray(te,te+ue),$),te+=ue,$+=ne;for(Z.set(Se.subarray(te-ue,te),$);$>=0;)Se[$-4]=Se[$],Se[$-3]=Se[$+1],Se[$-2]=Se[$+2],Se[$-1]=Se[$+3],Se[$+ue]=Se[$+ue-4],Se[$+ue+1]=Se[$+ue-3],Se[$+ue+2]=Se[$+ue-2],Se[$+ue+3]=Se[$+ue-1],$-=ne}return g.splice(i,c*4,b.OPS.paintInlineImageXObjectGroup),l.splice(i,c*4,[{width:Y,height:H,kind:b.ImageKind.RGBA_32BPP,data:Z},A]),i+1}),X(k,[b.OPS.save,b.OPS.transform,b.OPS.paintImageMaskXObject,b.OPS.restore],null,function(p,x){var f=p.fnArray,h=p.iCurr-3,F=(x-h)%4;switch(F){case 0:return f[x]===b.OPS.save;case 1:return f[x]===b.OPS.transform;case 2:return f[x]===b.OPS.paintImageMaskXObject;case 3:return f[x]===b.OPS.restore}throw new Error("iterateImageMaskGroup - invalid pos: ".concat(F))},function(p,x){var f=10,h=100,F=1e3,s=p.fnArray,g=p.argsArray,l=p.iCurr,a=l-3,i=l-2,m=l-1,o=Math.floor((x-a)/4);if(o=y(a,o,s,g),o<f)return x-(x-a)%4;var c=!1,v,A,u=g[m][0],C=g[i][0],I=g[i][1],E=g[i][2],N=g[i][3];if(I===E){c=!0,v=i+4;for(var _=m+4,Y=1;Y<o;Y++,v+=4,_+=4)if(A=g[v],g[_][0]!==u||A[0]!==C||A[1]!==I||A[2]!==E||A[3]!==N){Y<f?c=!1:o=Y;break}}if(c){o=Math.min(o,F);var H=new Float32Array(o*2);v=i;for(var Z=0;Z<o;Z++,v+=4)A=g[v],H[Z<<1]=A[4],H[(Z<<1)+1]=A[5];s.splice(a,o*4,b.OPS.paintImageMaskXObjectRepeat),g.splice(a,o*4,[u,C,I,E,N,H])}else{o=Math.min(o,h);for(var ne=[],he=0;he<o;he++){A=g[i+(he<<2)];var Se=g[m+(he<<2)][0];ne.push({data:Se.data,width:Se.width,height:Se.height,transform:A})}s.splice(a,o*4,b.OPS.paintImageMaskXObjectGroup),g.splice(a,o*4,[ne])}return a+1}),X(k,[b.OPS.save,b.OPS.transform,b.OPS.paintImageXObject,b.OPS.restore],function(w){var p=w.argsArray,x=w.iCurr-2;return p[x][1]===0&&p[x][2]===0},function(p,x){var f=p.fnArray,h=p.argsArray,F=p.iCurr-3,s=(x-F)%4;switch(s){case 0:return f[x]===b.OPS.save;case 1:if(f[x]!==b.OPS.transform)return!1;var g=p.iCurr-2,l=h[g][0],a=h[g][3];return!(h[x][0]!==l||h[x][1]!==0||h[x][2]!==0||h[x][3]!==a);case 2:if(f[x]!==b.OPS.paintImageXObject)return!1;var i=p.iCurr-1,m=h[i][0];return h[x][0]===m;case 3:return f[x]===b.OPS.restore}throw new Error("iterateImageGroup - invalid pos: ".concat(s))},function(w,p){var x=3,f=1e3,h=w.fnArray,F=w.argsArray,s=w.iCurr,g=s-3,l=s-2,a=s-1,i=F[a][0],m=F[l][0],o=F[l][3],c=Math.min(Math.floor((p-g)/4),f);if(c<x)return p-(p-g)%4;for(var v=new Float32Array(c*2),A=l,u=0;u<c;u++,A+=4){var C=F[A];v[u<<1]=C[4],v[(u<<1)+1]=C[5]}var I=[i,m,o,v];return h.splice(g,c*4,b.OPS.paintImageXObjectRepeat),F.splice(g,c*4,I),g+1}),X(k,[b.OPS.beginText,b.OPS.setFont,b.OPS.setTextMatrix,b.OPS.showText,b.OPS.endText],null,function(p,x){var f=p.fnArray,h=p.argsArray,F=p.iCurr-4,s=(x-F)%5;switch(s){case 0:return f[x]===b.OPS.beginText;case 1:return f[x]===b.OPS.setFont;case 2:return f[x]===b.OPS.setTextMatrix;case 3:if(f[x]!==b.OPS.showText)return!1;var g=p.iCurr-3,l=h[g][0],a=h[g][1];return!(h[x][0]!==l||h[x][1]!==a);case 4:return f[x]===b.OPS.endText}throw new Error("iterateShowTextGroup - invalid pos: ".concat(s))},function(w,p){var x=3,f=1e3,h=w.fnArray,F=w.argsArray,s=w.iCurr,g=s-4,l=s-3,a=s-2,i=s-1,m=s,o=F[l][0],c=F[l][1],v=Math.min(Math.floor((p-g)/5),f);if(v<x)return p-(p-g)%5;var A=g;g>=4&&h[g-4]===h[l]&&h[g-3]===h[a]&&h[g-2]===h[i]&&h[g-1]===h[m]&&F[g-4][0]===o&&F[g-4][1]===c&&(v++,A-=5);for(var u=A+4,C=1;C<v;C++)h.splice(u,3),F.splice(u,3),u+=2;return u+1});var n=function(){function w(p){ce(this,w),this.queue=p}return re(w,[{key:"_optimize",value:function(){}},{key:"push",value:function(x,f){this.queue.fnArray.push(x),this.queue.argsArray.push(f),this._optimize()}},{key:"flush",value:function(){}},{key:"reset",value:function(){}}]),w}(),S=function(w){le(x,w);var p=ye(x);function x(f){var h;return ce(this,x),h=p.call(this,f),h.state=null,h.context={iCurr:0,fnArray:f.fnArray,argsArray:f.argsArray},h.match=null,h.lastProcessed=0,h}return re(x,[{key:"_optimize",value:function(){var h=this.queue.fnArray,F=this.lastProcessed,s=h.length,g=this.state,l=this.match;if(!g&&!l&&F+1===s&&!k[h[F]]){this.lastProcessed=s;return}for(var a=this.context;F<s;){if(l){var i=(0,l.iterateFn)(a,F);if(i){F++;continue}if(F=(0,l.processFn)(a,F+1),s=h.length,l=null,g=null,F>=s)break}if(g=(g||k)[h[F]],!g||Array.isArray(g)){F++;continue}if(a.iCurr=F,F++,g.checkFn&&!(0,g.checkFn)(a)){g=null;continue}l=g,g=null}this.state=g,this.match=l,this.lastProcessed=F}},{key:"flush",value:function(){for(;this.match;){var h=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,h),this.match=null,this.state=null,this._optimize()}}},{key:"reset",value:function(){this.state=null,this.match=null,this.lastProcessed=0}}]),x}(n),O=function(){function w(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,x=arguments.length>1?arguments[1]:void 0;ce(this,w),this._streamSink=x,this.fnArray=[],this.argsArray=[],x&&!(p&b.RenderingIntentFlag.OPLIST)?this.optimizer=new S(this):this.optimizer=new n(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=x?null:Promise.resolve()}return re(w,[{key:"length",get:function(){return this.argsArray.length}},{key:"ready",get:function(){return this._resolved||this._streamSink.ready}},{key:"totalLength",get:function(){return this._totalLength+this.length}},{key:"addOp",value:function(x,f){this.optimizer.push(x,f),this.weight++,this._streamSink&&(this.weight>=w.CHUNK_SIZE?this.flush():this.weight>=w.CHUNK_SIZE_ABOUT&&(x===b.OPS.restore||x===b.OPS.endText)&&this.flush())}},{key:"addDependency",value:function(x){this.dependencies.has(x)||(this.dependencies.add(x),this.addOp(b.OPS.dependency,[x]))}},{key:"addDependencies",value:function(x){var f=t(x),h;try{for(f.s();!(h=f.n()).done;){var F=h.value;this.addDependency(F)}}catch(s){f.e(s)}finally{f.f()}}},{key:"addOpList",value:function(x){if(!(x instanceof w)){(0,b.warn)('addOpList - ignoring invalid "opList" parameter.');return}var f=t(x.dependencies),h;try{for(f.s();!(h=f.n()).done;){var F=h.value;this.dependencies.add(F)}}catch(l){f.e(l)}finally{f.f()}for(var s=0,g=x.length;s<g;s++)this.addOp(x.fnArray[s],x.argsArray[s])}},{key:"getIR",value:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}},{key:"_transfers",get:function(){for(var x=[],f=this.fnArray,h=this.argsArray,F=this.length,s=0;s<F;s++)switch(f[s]){case b.OPS.paintInlineImageXObject:case b.OPS.paintInlineImageXObjectGroup:case b.OPS.paintImageMaskXObject:var g=h[s][0];g.cached||x.push(g.data.buffer);break}return x}},{key:"flush",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.optimizer.flush();var f=this.length;this._totalLength+=f,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:x,length:f},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}],[{key:"CHUNK_SIZE",get:function(){return(0,b.shadow)(this,"CHUNK_SIZE",1e3)}},{key:"CHUNK_SIZE_ABOUT",get:function(){return(0,b.shadow)(this,"CHUNK_SIZE_ABOUT",this.CHUNK_SIZE-5)}}]),w}();P.OperatorList=O},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.PDFImage=void 0;var T=ye(D(2)),b=D(4),t=D(135),e=D(154),ge=D(159),le=D(167),V=D(170);function ye(y){return y&&y.__esModule?y:{default:y}}function be(y,k,n,S,O,w,p){try{var x=y[w](p),f=x.value}catch(h){n(h);return}x.done?k(f):Promise.resolve(f).then(S,O)}function xe(y){return function(){var k=this,n=arguments;return new Promise(function(S,O){var w=y.apply(k,n);function p(f){be(w,S,O,p,x,"next",f)}function x(f){be(w,S,O,p,x,"throw",f)}p(void 0)})}}function ae(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function d(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function ce(y,k,n){return k&&d(y.prototype,k),n&&d(y,n),y}function q(y,k,n,S){return y=k+y*n,y<0?y=0:y>S&&(y=S),y}function re(y,k,n,S,O,w){var p=O*w,x;k<=8?x=new Uint8Array(p):k<=16?x=new Uint16Array(p):x=new Uint32Array(p);var f=n/O,h=S/w,F,s,g,l=0,a,i=new Uint16Array(O),m=n;for(F=0;F<O;F++)i[F]=Math.floor(F*f);for(F=0;F<w;F++)for(g=Math.floor(F*h)*m,s=0;s<O;s++)a=g+i[s],x[l++]=y[a];return x}var X=function(){function y(k){var n=k.xref,S=k.res,O=k.image,w=k.isInline,p=w===void 0?!1:w,x=k.smask,f=x===void 0?null:x,h=k.mask,F=h===void 0?null:h,s=k.isMask,g=s===void 0?!1:s,l=k.pdfFunctionFactory,a=k.localColorSpaceCache;ae(this,y),this.image=O;var i=O.dict,m=i.get("F","Filter");if((0,t.isName)(m))switch(m.name){case"JPXDecode":var o=new V.JpxImage;o.parseImageProperties(O.stream),O.stream.reset(),O.width=o.width,O.height=o.height,O.bitsPerComponent=o.bitsPerComponent,O.numComps=o.componentsCount;break;case"JBIG2Decode":O.bitsPerComponent=1,O.numComps=1;break}var c=i.get("W","Width"),v=i.get("H","Height");if(Number.isInteger(O.width)&&O.width>0&&Number.isInteger(O.height)&&O.height>0&&(O.width!==c||O.height!==v)&&((0,b.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),c=O.width,v=O.height),c<1||v<1)throw new b.FormatError("Invalid image width: ".concat(c," or height: ").concat(v));this.width=c,this.height=v,this.interpolate=i.get("I","Interpolate"),this.imageMask=i.get("IM","ImageMask")||!1,this.matte=i.get("Matte")||!1;var A=O.bitsPerComponent;if(!A&&(A=i.get("BPC","BitsPerComponent"),!A))if(this.imageMask)A=1;else throw new b.FormatError("Bits per component missing in image: ".concat(this.imageMask));if(this.bpc=A,!this.imageMask){var u=i.getRaw("CS")||i.getRaw("ColorSpace");if(!u)switch((0,b.info)("JPX images (which do not require color spaces)"),O.numComps){case 1:u=t.Name.get("DeviceGray");break;case 3:u=t.Name.get("DeviceRGB");break;case 4:u=t.Name.get("DeviceCMYK");break;default:throw new Error("JPX images with ".concat(O.numComps," color components not supported."))}this.colorSpace=e.ColorSpace.parse({cs:u,xref:n,resources:p?S:null,pdfFunctionFactory:l,localColorSpaceCache:a}),this.numComps=this.colorSpace.numComps}if(this.decode=i.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,A)||g&&!e.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;var C=(1<<A)-1;this.decodeCoefficients=[],this.decodeAddends=[];for(var I=this.colorSpace&&this.colorSpace.name==="Indexed",E=0,N=0;E<this.decode.length;E+=2,++N){var _=this.decode[E],Y=this.decode[E+1];this.decodeCoefficients[N]=I?(Y-_)/C:Y-_,this.decodeAddends[N]=I?_:C*_}}if(f)this.smask=new y({xref:n,res:S,image:f,isInline:p,pdfFunctionFactory:l,localColorSpaceCache:a});else if(F)if((0,t.isStream)(F)){var H=F.dict,Z=H.get("IM","ImageMask");Z?this.mask=new y({xref:n,res:S,image:F,isInline:p,isMask:!0,pdfFunctionFactory:l,localColorSpaceCache:a}):(0,b.warn)("Ignoring /Mask in image without /ImageMask.")}else this.mask=F}return ce(y,[{key:"drawWidth",get:function(){return Math.max(this.width,this.smask&&this.smask.width||0,this.mask&&this.mask.width||0)}},{key:"drawHeight",get:function(){return Math.max(this.height,this.smask&&this.smask.height||0,this.mask&&this.mask.height||0)}},{key:"decodeBuffer",value:function(n){var S=this.bpc,O=this.numComps,w=this.decodeAddends,p=this.decodeCoefficients,x=(1<<S)-1,f,h;if(S===1){for(f=0,h=n.length;f<h;f++)n[f]=+!n[f];return}var F=0;for(f=0,h=this.width*this.height;f<h;f++)for(var s=0;s<O;s++)n[F]=q(n[F],w[s],p[s],x),F++}},{key:"getComponents",value:function(n){var S=this.bpc;if(S===8)return n;var O=this.width,w=this.height,p=this.numComps,x=O*w*p,f=0,h;S<=8?h=new Uint8Array(x):S<=16?h=new Uint16Array(x):h=new Uint32Array(x);var F=O*p,s=(1<<S)-1,g=0,l,a;if(S===1)for(var i,m,o,c=0;c<w;c++){for(m=g+(F&~7),o=g+F;g<m;)a=n[f++],h[g]=a>>7&1,h[g+1]=a>>6&1,h[g+2]=a>>5&1,h[g+3]=a>>4&1,h[g+4]=a>>3&1,h[g+5]=a>>2&1,h[g+6]=a>>1&1,h[g+7]=a&1,g+=8;if(g<o)for(a=n[f++],i=128;g<o;)h[g++]=+!!(a&i),i>>=1}else{var v=0;for(a=0,g=0,l=x;g<l;++g){for(g%F==0&&(a=0,v=0);v<S;)a=a<<8|n[f++],v+=8;var A=v-S,u=a>>A;u<0?u=0:u>s&&(u=s),h[g]=u,a&=(1<<A)-1,v=A}}return h}},{key:"fillOpacity",value:function(n,S,O,w,p){var x=this.smask,f=this.mask,h,F,s,g,l,a;if(x)F=x.width,s=x.height,h=new Uint8ClampedArray(F*s),x.fillGrayBuffer(h),(F!==S||s!==O)&&(h=re(h,x.bpc,F,s,S,O));else if(f)if(f instanceof y){for(F=f.width,s=f.height,h=new Uint8ClampedArray(F*s),f.numComps=1,f.fillGrayBuffer(h),g=0,l=F*s;g<l;++g)h[g]=255-h[g];(F!==S||s!==O)&&(h=re(h,f.bpc,F,s,S,O))}else if(Array.isArray(f)){h=new Uint8ClampedArray(S*O);var i=this.numComps;for(g=0,l=S*O;g<l;++g){var m=0,o=g*i;for(a=0;a<i;++a){var c=p[o+a],v=a*2;if(c<f[v]||c>f[v+1]){m=255;break}}h[g]=m}}else throw new b.FormatError("Unknown mask format.");if(h)for(g=0,a=3,l=S*w;g<l;++g,a+=4)n[a]=h[g];else for(g=0,a=3,l=S*w;g<l;++g,a+=4)n[a]=255}},{key:"undoPreblend",value:function(n,S,O){var w=this.smask&&this.smask.matte;if(!!w)for(var p=this.colorSpace.getRgb(w,0),x=p[0],f=p[1],h=p[2],F=S*O*4,s=0;s<F;s+=4){var g=n[s+3];if(g===0){n[s]=255,n[s+1]=255,n[s+2]=255;continue}var l=255/g;n[s]=(n[s]-x)*l+x,n[s+1]=(n[s+1]-f)*l+f,n[s+2]=(n[s+2]-h)*l+h}}},{key:"createImageData",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,S=this.drawWidth,O=this.drawHeight,w={width:S,height:O,interpolate:this.interpolate,kind:0,data:null},p=this.numComps,x=this.width,f=this.height,h=this.bpc,F=x*p*h+7>>3,s;if(!n){var g;if(this.colorSpace.name==="DeviceGray"&&h===1?g=b.ImageKind.GRAYSCALE_1BPP:this.colorSpace.name==="DeviceRGB"&&h===8&&!this.needsDecode&&(g=b.ImageKind.RGB_24BPP),g&&!this.smask&&!this.mask&&S===x&&O===f){if(w.kind=g,s=this.getImageBytes(f*F),this.image instanceof ge.DecodeStream)w.data=s;else{var l=new Uint8ClampedArray(s.length);l.set(s),w.data=l}if(this.needsDecode){(0,b.assert)(g===b.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");for(var a=w.data,i=0,m=a.length;i<m;i++)a[i]^=255}return w}if(this.image instanceof le.JpegStream&&!this.smask&&!this.mask){var o=f*F;switch(this.colorSpace.name){case"DeviceGray":o*=3;case"DeviceRGB":case"DeviceCMYK":return w.kind=b.ImageKind.RGB_24BPP,w.data=this.getImageBytes(o,S,O,!0),w}}}s=this.getImageBytes(f*F);var c=0|s.length/F*O/f,v=this.getComponents(s),A,u;return!n&&!this.smask&&!this.mask?(w.kind=b.ImageKind.RGB_24BPP,w.data=new Uint8ClampedArray(S*O*3),A=0,u=!1):(w.kind=b.ImageKind.RGBA_32BPP,w.data=new Uint8ClampedArray(S*O*4),A=1,u=!0,this.fillOpacity(w.data,S,O,c,v)),this.needsDecode&&this.decodeBuffer(v),this.colorSpace.fillRgb(w.data,x,f,S,O,c,h,v,A),u&&this.undoPreblend(w.data,S,c),w}},{key:"fillGrayBuffer",value:function(n){var S=this.numComps;if(S!==1)throw new b.FormatError("Reading gray scale from a color image: ".concat(S));var O=this.width,w=this.height,p=this.bpc,x=O*S*p+7>>3,f=this.getImageBytes(w*x),h=this.getComponents(f),F,s;if(p===1){if(s=O*w,this.needsDecode)for(F=0;F<s;++F)n[F]=h[F]-1&255;else for(F=0;F<s;++F)n[F]=-h[F]&255;return}this.needsDecode&&this.decodeBuffer(h),s=O*w;var g=255/((1<<p)-1);for(F=0;F<s;++F)n[F]=g*h[F]}},{key:"getImageBytes",value:function(n,S,O){var w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return this.image.reset(),this.image.drawWidth=S||this.width,this.image.drawHeight=O||this.height,this.image.forceRGB=!!w,this.image.getBytes(n,!0)}}],[{key:"buildImage",value:function(){var k=xe(T.default.mark(function S(O){var w,p,x,f,h,F,s,g,l,a,i,m;return T.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return w=O.xref,p=O.res,x=O.image,f=O.isInline,h=f===void 0?!1:f,F=O.pdfFunctionFactory,s=O.localColorSpaceCache,g=x,l=null,a=null,i=x.dict.get("SMask"),m=x.dict.get("Mask"),i?l=i:m&&((0,t.isStream)(m)||Array.isArray(m)?a=m:(0,b.warn)("Unsupported mask format.")),c.abrupt("return",new y({xref:w,res:p,image:g,isInline:h,smask:l,mask:a,pdfFunctionFactory:F,localColorSpaceCache:s}));case 8:case"end":return c.stop()}},S)}));function n(S){return k.apply(this,arguments)}return n}()},{key:"createMask",value:function(n){var S=n.imgArray,O=n.width,w=n.height,p=n.imageIsFromDecodeStream,x=n.inverseDecode,f=n.interpolate,h=(O+7>>3)*w,F=S.byteLength,s=h===F,g,l;if(p&&(!x||s))g=S;else if(!x)g=new Uint8ClampedArray(F),g.set(S);else for(g=new Uint8ClampedArray(h),g.set(S),l=F;l<h;l++)g[l]=255;if(x)for(l=0;l<F;l++)g[l]^=255;return{data:g,width:O,height:w,interpolate:f}}}]),y}();P.PDFImage=X},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.Catalog=void 0;var T=D(135),b=D(139),t=D(4),e=D(195),ge=D(136),le=D(154),V=D(196),ye=D(188),be=D(197),xe=D(199);function ae(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ae=function(l){return typeof l}:ae=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},ae(s)}function d(s){return re(s)||q(s)||O(s)||ce()}function ce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function q(s){if(typeof Symbol!="undefined"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function re(s){if(Array.isArray(s))return w(s)}function X(s,g){return n(s)||k(s,g)||O(s,g)||y()}function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(s,g){var l=s==null?null:typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(l!=null){var a=[],i=!0,m=!1,o,c;try{for(l=l.call(s);!(i=(o=l.next()).done)&&(a.push(o.value),!(g&&a.length===g));i=!0);}catch(v){m=!0,c=v}finally{try{!i&&l.return!=null&&l.return()}finally{if(m)throw c}}return a}}function n(s){if(Array.isArray(s))return s}function S(s,g){var l=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(!l){if(Array.isArray(s)||(l=O(s))||g&&s&&typeof s.length=="number"){l&&(s=l);var a=0,i=function(){};return{s:i,n:function(){return a>=s.length?{done:!0}:{done:!1,value:s[a++]}},e:function(A){throw A},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m=!0,o=!1,c;return{s:function(){l=l.call(s)},n:function(){var A=l.next();return m=A.done,A},e:function(A){o=!0,c=A},f:function(){try{!m&&l.return!=null&&l.return()}finally{if(o)throw c}}}}function O(s,g){if(!!s){if(typeof s=="string")return w(s,g);var l=Object.prototype.toString.call(s).slice(8,-1);if(l==="Object"&&s.constructor&&(l=s.constructor.name),l==="Map"||l==="Set")return Array.from(s);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return w(s,g)}}function w(s,g){(g==null||g>s.length)&&(g=s.length);for(var l=0,a=new Array(g);l<g;l++)a[l]=s[l];return a}function p(s,g){if(!(s instanceof g))throw new TypeError("Cannot call a class as a function")}function x(s,g){for(var l=0;l<g.length;l++){var a=g[l];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}function f(s,g,l){return g&&x(s.prototype,g),l&&x(s,l),s}function h(s){return s instanceof T.Dict&&(s=s.get("D")),Array.isArray(s)?s:null}var F=function(){function s(g,l){if(p(this,s),this.pdfManager=g,this.xref=l,this._catDict=l.getCatalogObj(),!(this._catDict instanceof T.Dict))throw new t.FormatError("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new T.RefSetCache,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new ye.GlobalImageCache,this.pageKidsCountCache=new T.RefSetCache,this.pageIndexCache=new T.RefSetCache,this.nonBlendModesSet=new T.RefSet}return f(s,[{key:"version",get:function(){var l=this._catDict.get("Version");return(0,t.shadow)(this,"version",l instanceof T.Name?l.name:null)}},{key:"lang",get:function(){var l=this._catDict.get("Lang");return(0,t.shadow)(this,"lang",typeof l=="string"?(0,t.stringToPDFString)(l):null)}},{key:"needsRendering",get:function(){var l=this._catDict.get("NeedsRendering");return(0,t.shadow)(this,"needsRendering",typeof l=="boolean"?l:!1)}},{key:"collection",get:function(){var l=null;try{var a=this._catDict.get("Collection");(0,T.isDict)(a)&&a.size>0&&(l=a)}catch(i){if(i instanceof b.MissingDataException)throw i;(0,t.info)("Cannot fetch Collection entry; assuming no collection is present.")}return(0,t.shadow)(this,"collection",l)}},{key:"acroForm",get:function(){var l=null;try{var a=this._catDict.get("AcroForm");(0,T.isDict)(a)&&a.size>0&&(l=a)}catch(i){if(i instanceof b.MissingDataException)throw i;(0,t.info)("Cannot fetch AcroForm entry; assuming no forms are present.")}return(0,t.shadow)(this,"acroForm",l)}},{key:"acroFormRef",get:function(){var l=this._catDict.getRaw("AcroForm");return(0,t.shadow)(this,"acroFormRef",(0,T.isRef)(l)?l:null)}},{key:"metadata",get:function(){var l=this._catDict.getRaw("Metadata");if(!(l instanceof T.Ref))return(0,t.shadow)(this,"metadata",null);var a=null;try{var i=!(this.xref.encrypt&&this.xref.encrypt.encryptMetadata),m=this.xref.fetch(l,i);if(m instanceof ge.BaseStream&&m.dict instanceof T.Dict){var o=m.dict.get("Type"),c=m.dict.get("Subtype");if((0,T.isName)(o,"Metadata")&&(0,T.isName)(c,"XML")){var v=(0,t.stringToUTF8String)(m.getString());v&&(a=new be.MetadataParser(v).serializable)}}}catch(A){if(A instanceof b.MissingDataException)throw A;(0,t.info)('Skipping invalid Metadata: "'.concat(A,'".'))}return(0,t.shadow)(this,"metadata",a)}},{key:"markInfo",get:function(){var l=null;try{l=this._readMarkInfo()}catch(a){if(a instanceof b.MissingDataException)throw a;(0,t.warn)("Unable to read mark info.")}return(0,t.shadow)(this,"markInfo",l)}},{key:"_readMarkInfo",value:function(){var l=this._catDict.get("MarkInfo");if(!(0,T.isDict)(l))return null;var a=Object.assign(Object.create(null),{Marked:!1,UserProperties:!1,Suspects:!1});for(var i in a)if(!!l.has(i)){var m=l.get(i);!(0,t.isBool)(m)||(a[i]=m)}return a}},{key:"structTreeRoot",get:function(){var l=null;try{l=this._readStructTreeRoot()}catch(a){if(a instanceof b.MissingDataException)throw a;(0,t.warn)("Unable read to structTreeRoot info.")}return(0,t.shadow)(this,"structTreeRoot",l)}},{key:"_readStructTreeRoot",value:function(){var l=this._catDict.get("StructTreeRoot");if(!(0,T.isDict)(l))return null;var a=new xe.StructTreeRoot(l);return a.init(),a}},{key:"toplevelPagesDict",get:function(){var l=this._catDict.get("Pages");if(!(0,T.isDict)(l))throw new t.FormatError("Invalid top-level pages dictionary.");return(0,t.shadow)(this,"toplevelPagesDict",l)}},{key:"documentOutline",get:function(){var l=null;try{l=this._readDocumentOutline()}catch(a){if(a instanceof b.MissingDataException)throw a;(0,t.warn)("Unable to read document outline.")}return(0,t.shadow)(this,"documentOutline",l)}},{key:"_readDocumentOutline",value:function(){var l=this._catDict.get("Outlines");if(!(0,T.isDict)(l)||(l=l.getRaw("First"),!(0,T.isRef)(l)))return null;var a={items:[]},i=[{obj:l,parent:a}],m=new T.RefSet;m.put(l);for(var o=this.xref,c=new Uint8ClampedArray(3);i.length>0;){var v=i.shift(),A=o.fetchIfRef(v.obj);if(A!==null){if(!A.has("Title"))throw new t.FormatError("Invalid outline item encountered.");var u={url:null,dest:null};s.parseDestDictionary({destDict:A,resultObj:u,docBaseUrl:this.pdfManager.docBaseUrl});var C=A.get("Title"),I=A.get("F")||0,E=A.getArray("C"),N=A.get("Count"),_=c;Array.isArray(E)&&E.length===3&&(E[0]!==0||E[1]!==0||E[2]!==0)&&(_=le.ColorSpace.singletons.rgb.getRgb(E,0));var Y={dest:u.dest,url:u.url,unsafeUrl:u.unsafeUrl,newWindow:u.newWindow,title:(0,t.stringToPDFString)(C),color:_,count:Number.isInteger(N)?N:void 0,bold:!!(I&2),italic:!!(I&1),items:[]};v.parent.items.push(Y),l=A.getRaw("First"),(0,T.isRef)(l)&&!m.has(l)&&(i.push({obj:l,parent:Y}),m.put(l)),l=A.getRaw("Next"),(0,T.isRef)(l)&&!m.has(l)&&(i.push({obj:l,parent:v.parent}),m.put(l))}}return a.items.length>0?a.items:null}},{key:"permissions",get:function(){var l=null;try{l=this._readPermissions()}catch(a){if(a instanceof b.MissingDataException)throw a;(0,t.warn)("Unable to read permissions.")}return(0,t.shadow)(this,"permissions",l)}},{key:"_readPermissions",value:function(){var l=this.xref.trailer.get("Encrypt");if(!(0,T.isDict)(l))return null;var a=l.get("P");if(!(0,t.isNum)(a))return null;a+=Math.pow(2,32);var i=[];for(var m in t.PermissionFlag){var o=t.PermissionFlag[m];a&o&&i.push(o)}return i}},{key:"optionalContentConfig",get:function(){var l=null;try{var a=this._catDict.get("OCProperties");if(!a)return(0,t.shadow)(this,"optionalContentConfig",null);var i=a.get("D");if(!i)return(0,t.shadow)(this,"optionalContentConfig",null);var m=a.get("OCGs");if(!Array.isArray(m))return(0,t.shadow)(this,"optionalContentConfig",null);var o=[],c=[],v=S(m),A;try{for(v.s();!(A=v.n()).done;){var u=A.value;if(!!(0,T.isRef)(u)){c.push(u);var C=this.xref.fetchIfRef(u);o.push({id:u.toString(),name:(0,t.isString)(C.get("Name"))?(0,t.stringToPDFString)(C.get("Name")):null,intent:(0,t.isString)(C.get("Intent"))?(0,t.stringToPDFString)(C.get("Intent")):null})}}}catch(I){v.e(I)}finally{v.f()}l=this._readOptionalContentConfig(i,c),l.groups=o}catch(I){if(I instanceof b.MissingDataException)throw I;(0,t.warn)("Unable to read optional content config: ".concat(I))}return(0,t.shadow)(this,"optionalContentConfig",l)}},{key:"_readOptionalContentConfig",value:function(l,a){function i(u){var C=[];if(Array.isArray(u)){var I=S(u),E;try{for(I.s();!(E=I.n()).done;){var N=E.value;!(0,T.isRef)(N)||a.includes(N)&&C.push(N.toString())}}catch(_){I.e(_)}finally{I.f()}}return C}function m(u){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!Array.isArray(u))return null;var I=[],E=S(u),N;try{for(E.s();!(N=E.n()).done;){var _=N.value;if((0,T.isRef)(_)&&a.includes(_)){v.put(_),I.push(_.toString());continue}var Y=o(_,C);Y&&I.push(Y)}}catch(Se){E.e(Se)}finally{E.f()}if(C>0)return I;var H=[],Z=S(a),ne;try{for(Z.s();!(ne=Z.n()).done;){var he=ne.value;v.has(he)||H.push(he.toString())}}catch(Se){Z.e(Se)}finally{Z.f()}return H.length&&I.push({name:null,order:H}),I}function o(u,C){if(++C>A)return(0,t.warn)("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;var I=c.fetchIfRef(u);if(!Array.isArray(I))return null;var E=c.fetchIfRef(I[0]);if(typeof E!="string")return null;var N=m(I.slice(1),C);return!N||!N.length?null:{name:(0,t.stringToPDFString)(E),order:N}}var c=this.xref,v=new T.RefSet,A=10;return{name:(0,t.isString)(l.get("Name"))?(0,t.stringToPDFString)(l.get("Name")):null,creator:(0,t.isString)(l.get("Creator"))?(0,t.stringToPDFString)(l.get("Creator")):null,baseState:(0,T.isName)(l.get("BaseState"))?l.get("BaseState").name:null,on:i(l.get("ON")),off:i(l.get("OFF")),order:m(l.get("Order")),groups:null}}},{key:"setActualNumPages",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._actualNumPages=l}},{key:"hasActualNumPages",get:function(){return this._actualNumPages!==null}},{key:"_pagesCount",get:function(){var l=this.toplevelPagesDict.get("Count");if(!Number.isInteger(l))throw new t.FormatError("Page count in top-level pages dictionary is not an integer.");return(0,t.shadow)(this,"_pagesCount",l)}},{key:"numPages",get:function(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}},{key:"destinations",get:function(){var l=this._readDests(),a=Object.create(null);if(l instanceof e.NameTree){var i=S(l.getAll()),m;try{for(i.s();!(m=i.n()).done;){var o=X(m.value,2),c=o[0],v=o[1],A=h(v);A&&(a[c]=A)}}catch(u){i.e(u)}finally{i.f()}}else l instanceof T.Dict&&l.forEach(function(u,C){var I=h(C);I&&(a[u]=I)});return(0,t.shadow)(this,"destinations",a)}},{key:"getDestination",value:function(l){var a=this._readDests();if(a instanceof e.NameTree){var i=h(a.get(l));if(i)return i;var m=this.destinations[l];if(m)return(0,t.warn)('Found "'.concat(l,'" at an incorrect position in the NameTree.')),m}else if(a instanceof T.Dict){var o=h(a.get(l));if(o)return o}return null}},{key:"_readDests",value:function(){var l=this._catDict.get("Names");if(l&&l.has("Dests"))return new e.NameTree(l.getRaw("Dests"),this.xref);if(this._catDict.has("Dests"))return this._catDict.get("Dests")}},{key:"pageLabels",get:function(){var l=null;try{l=this._readPageLabels()}catch(a){if(a instanceof b.MissingDataException)throw a;(0,t.warn)("Unable to read page labels.")}return(0,t.shadow)(this,"pageLabels",l)}},{key:"_readPageLabels",value:function(){var l=this._catDict.getRaw("PageLabels");if(!l)return null;for(var a=new Array(this.numPages),i=null,m="",o=new e.NumberTree(l,this.xref),c=o.getAll(),v="",A=1,u=0,C=this.numPages;u<C;u++){var I=c.get(u);if(I!==void 0){if(!(0,T.isDict)(I))throw new t.FormatError("PageLabel is not a dictionary.");if(I.has("Type")&&!(0,T.isName)(I.get("Type"),"PageLabel"))throw new t.FormatError("Invalid type in PageLabel dictionary.");if(I.has("S")){var E=I.get("S");if(!(0,T.isName)(E))throw new t.FormatError("Invalid style in PageLabel dictionary.");i=E.name}else i=null;if(I.has("P")){var N=I.get("P");if(!(0,t.isString)(N))throw new t.FormatError("Invalid prefix in PageLabel dictionary.");m=(0,t.stringToPDFString)(N)}else m="";if(I.has("St")){var _=I.get("St");if(!(Number.isInteger(_)&&_>=1))throw new t.FormatError("Invalid start in PageLabel dictionary.");A=_}else A=1}switch(i){case"D":v=A;break;case"R":case"r":v=(0,b.toRomanNumerals)(A,i==="r");break;case"A":case"a":for(var Y=26,H=65,Z=97,ne=i==="a"?Z:H,he=A-1,Se=String.fromCharCode(ne+he%Y),ue=[],te=0,$=he/Y|0;te<=$;te++)ue.push(Se);v=ue.join("");break;default:if(i)throw new t.FormatError('Invalid style "'.concat(i,'" in PageLabel dictionary.'));v=""}a[u]=m+v,A++}return a}},{key:"pageLayout",get:function(){var l=this._catDict.get("PageLayout"),a="";if((0,T.isName)(l))switch(l.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":a=l.name}return(0,t.shadow)(this,"pageLayout",a)}},{key:"pageMode",get:function(){var l=this._catDict.get("PageMode"),a="UseNone";if((0,T.isName)(l))switch(l.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":a=l.name}return(0,t.shadow)(this,"pageMode",a)}},{key:"viewerPreferences",get:function(){var l=this,a={HideToolbar:t.isBool,HideMenubar:t.isBool,HideWindowUI:t.isBool,FitWindow:t.isBool,CenterWindow:t.isBool,DisplayDocTitle:t.isBool,NonFullScreenPageMode:T.isName,Direction:T.isName,ViewArea:T.isName,ViewClip:T.isName,PrintArea:T.isName,PrintClip:T.isName,PrintScaling:T.isName,Duplex:T.isName,PickTrayByPDFSize:t.isBool,PrintPageRange:Array.isArray,NumCopies:Number.isInteger},i=this._catDict.get("ViewerPreferences"),m=null;if((0,T.isDict)(i)){for(var o in a)if(!!i.has(o)){var c=i.get(o);if(!a[o](c)){(0,t.info)('Bad value in ViewerPreferences for "'.concat(o,'".'));continue}var v=void 0;switch(o){case"NonFullScreenPageMode":switch(c.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":v=c.name;break;default:v="UseNone"}break;case"Direction":switch(c.name){case"L2R":case"R2L":v=c.name;break;default:v="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":switch(c.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":v=c.name;break;default:v="CropBox"}break;case"PrintScaling":switch(c.name){case"None":case"AppDefault":v=c.name;break;default:v="AppDefault"}break;case"Duplex":switch(c.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":v=c.name;break;default:v="None"}break;case"PrintPageRange":var A=c.length;if(A%2!=0)break;var u=c.every(function(C,I,E){return Number.isInteger(C)&&C>0&&(I===0||C>=E[I-1])&&C<=l.numPages});u&&(v=c);break;case"NumCopies":c>0&&(v=c);break;default:if(typeof c!="boolean")throw new t.FormatError("viewerPreferences - expected a boolean value for: ".concat(o));v=c}v!==void 0?(m||(m=Object.create(null)),m[o]=v):(0,t.info)('Bad value in ViewerPreferences for "'.concat(o,'".'))}}return(0,t.shadow)(this,"viewerPreferences",m)}},{key:"openAction",get:function(){var l=this._catDict.get("OpenAction"),a=Object.create(null);if((0,T.isDict)(l)){var i=new T.Dict(this.xref);i.set("A",l);var m={url:null,dest:null,action:null};s.parseDestDictionary({destDict:i,resultObj:m}),Array.isArray(m.dest)?a.dest=m.dest:m.action&&(a.action=m.action)}else Array.isArray(l)&&(a.dest=l);return(0,t.shadow)(this,"openAction",(0,t.objectSize)(a)>0?a:null)}},{key:"attachments",get:function(){var l=this._catDict.get("Names"),a=null;if(l instanceof T.Dict&&l.has("EmbeddedFiles")){var i=new e.NameTree(l.getRaw("EmbeddedFiles"),this.xref),m=S(i.getAll()),o;try{for(m.s();!(o=m.n()).done;){var c=X(o.value,2),v=c[0],A=c[1],u=new V.FileSpec(A,this.xref);a||(a=Object.create(null)),a[(0,t.stringToPDFString)(v)]=u.serializable}}catch(C){m.e(C)}finally{m.f()}}return(0,t.shadow)(this,"attachments",a)}},{key:"xfaImages",get:function(){var l=this._catDict.get("Names"),a=null;if(l instanceof T.Dict&&l.has("XFAImages")){var i=new e.NameTree(l.getRaw("XFAImages"),this.xref),m=S(i.getAll()),o;try{for(m.s();!(o=m.n()).done;){var c=X(o.value,2),v=c[0],A=c[1];a||(a=new T.Dict(this.xref)),a.set(v,A)}}catch(u){m.e(u)}finally{m.f()}}return(0,t.shadow)(this,"xfaImages",a)}},{key:"_collectJavaScript",value:function(){var l=this._catDict.get("Names"),a=null;function i(I,E){if(E instanceof T.Dict&&!!(0,T.isName)(E.get("S"),"JavaScript")){var N=E.get("JS");if((0,T.isStream)(N))N=N.getString();else if(typeof N!="string")return;a===null&&(a=new Map),a.set(I,(0,t.stringToPDFString)(N))}}if(l instanceof T.Dict&&l.has("JavaScript")){var m=new e.NameTree(l.getRaw("JavaScript"),this.xref),o=S(m.getAll()),c;try{for(o.s();!(c=o.n()).done;){var v=X(c.value,2),A=v[0],u=v[1];i(A,u)}}catch(I){o.e(I)}finally{o.f()}}var C=this._catDict.get("OpenAction");return C&&i("OpenAction",C),a}},{key:"javaScript",get:function(){var l=this._collectJavaScript();return(0,t.shadow)(this,"javaScript",l?d(l.values()):null)}},{key:"jsActions",get:function(){var l=this._collectJavaScript(),a=(0,b.collectActions)(this.xref,this._catDict,t.DocumentActionEventType);if(l){a||(a=Object.create(null));var i=S(l),m;try{for(i.s();!(m=i.n()).done;){var o=X(m.value,2),c=o[0],v=o[1];c in a?a[c].push(v):a[c]=[v]}}catch(A){i.e(A)}finally{i.f()}}return(0,t.shadow)(this,"jsActions",a)}},{key:"fontFallback",value:function(l,a){var i=[];return this.fontCache.forEach(function(m){i.push(m)}),Promise.all(i).then(function(m){var o=S(m),c;try{for(o.s();!(c=o.n()).done;){var v=c.value;if(v.loadedName===l){v.fallback(a);return}}}catch(A){o.e(A)}finally{o.f()}})}},{key:"cleanup",value:function(){var l=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;(0,T.clearPrimitiveCaches)(),this.globalImageCache.clear(a),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.nonBlendModesSet.clear();var i=[];return this.fontCache.forEach(function(m){i.push(m)}),Promise.all(i).then(function(m){var o=S(m),c;try{for(o.s();!(c=o.n()).done;){var v=c.value.dict;delete v.cacheKey}}catch(A){o.e(A)}finally{o.f()}l.fontCache.clear(),l.builtInCMapCache.clear(),l.standardFontDataCache.clear()})}},{key:"getPageDict",value:function(l){var a=(0,t.createPromiseCapability)(),i=[this.toplevelPagesDict],m=new T.RefSet,o=this._catDict.getRaw("Pages");o instanceof T.Ref&&m.put(o);var c=this.xref,v=this.pageKidsCountCache,A=0;function u(){for(var C=function(){var N=i.pop();if(N instanceof T.Ref){var _=v.get(N);return _>=0&&A+_<=l?(A+=_,"continue"):m.has(N)?(a.reject(new t.FormatError("Pages tree contains circular reference.")),{v:void 0}):(m.put(N),c.fetchAsync(N).then(function(Se){if((0,T.isDict)(Se,"Page")||(0,T.isDict)(Se)&&!Se.has("Kids")){N&&!v.has(N)&&v.put(N,1),l===A?a.resolve([Se,N]):(A++,u());return}i.push(Se),u()},a.reject),{v:void 0})}if(!(N instanceof T.Dict))return a.reject(new t.FormatError("Page dictionary kid reference points to wrong type of object.")),{v:void 0};var Y=void 0;try{Y=N.get("Count")}catch(Se){if(Se instanceof b.MissingDataException)throw Se}if(Number.isInteger(Y)&&Y>=0){var H=N.objId;if(H&&!v.has(H)&&v.put(H,Y),A+Y<=l)return A+=Y,"continue"}var Z=void 0;try{Z=N.get("Kids")}catch(Se){if(Se instanceof b.MissingDataException)throw Se}if(!Array.isArray(Z)){var ne;try{ne=N.get("Type")}catch(Se){if(Se instanceof b.MissingDataException)throw Se}return(0,T.isName)(ne,"Page")||!N.has("Type")&&N.has("Contents")?A===l?(a.resolve([N,null]),{v:void 0}):(A++,"continue"):(a.reject(new t.FormatError("Page dictionary kids object is not an array.")),{v:void 0})}for(var he=Z.length-1;he>=0;he--)i.push(Z[he])};i.length;){var I=C();if(I!=="continue"&&ae(I)==="object")return I.v}a.reject(new Error("Page index ".concat(l," not found.")))}return u(),a.promise}},{key:"getAllPageDicts",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=[{currentNode:this.toplevelPagesDict,posInKids:0}],i=new T.RefSet,m=this._catDict.getRaw("Pages");m instanceof T.Ref&&i.put(m);var o=new Map,c=0;function v(Y,H){o.set(c++,[Y,H])}function A(Y){o.set(c++,[Y,null])}for(;a.length>0;){var u=a[a.length-1],C=u.currentNode,I=u.posInKids,E=void 0;try{E=C.get("Kids")}catch(Y){if(Y instanceof b.MissingDataException||Y instanceof b.XRefEntryException&&!l)throw Y;A(Y);break}if(!Array.isArray(E)){A(new t.FormatError("Page dictionary kids object is not an array."));break}if(I>=E.length){a.pop();continue}var N=E[I],_=void 0;if(N instanceof T.Ref){try{_=this.xref.fetch(N)}catch(Y){if(Y instanceof b.MissingDataException||Y instanceof b.XRefEntryException&&!l)throw Y;A(Y);break}if(i.has(N)){A(new t.FormatError("Pages tree contains circular reference."));break}i.put(N)}else _=N;if(!(_ instanceof T.Dict)){A(new t.FormatError("Page dictionary kid reference points to wrong type of object."));break}(0,T.isDict)(_,"Page")||!_.has("Kids")?v(_,N instanceof T.Ref?N:null):a.push({currentNode:_,posInKids:0}),u.posInKids++}return o}},{key:"getPageIndex",value:function(l){var a=this,i=this.pageIndexCache.get(l);if(i!==void 0)return Promise.resolve(i);var m=this.xref;function o(A){var u=0,C;return m.fetchAsync(A).then(function(I){if((0,T.isRefsEqual)(A,l)&&!(0,T.isDict)(I,"Page")&&!((0,T.isDict)(I)&&!I.has("Type")&&I.has("Contents")))throw new t.FormatError("The reference does not point to a /Page dictionary.");if(!I)return null;if(!(0,T.isDict)(I))throw new t.FormatError("Node must be a dictionary.");return C=I.getRaw("Parent"),I.getAsync("Parent")}).then(function(I){if(!I)return null;if(!(0,T.isDict)(I))throw new t.FormatError("Parent must be a dictionary.");return I.getAsync("Kids")}).then(function(I){if(!I)return null;for(var E=[],N=!1,_=0,Y=I.length;_<Y;_++){var H=I[_];if(!(0,T.isRef)(H))throw new t.FormatError("Kid must be a reference.");if((0,T.isRefsEqual)(H,A)){N=!0;break}E.push(m.fetchAsync(H).then(function(Z){if(!(0,T.isDict)(Z))throw new t.FormatError("Kid node must be a dictionary.");Z.has("Count")?u+=Z.get("Count"):u++}))}if(!N)throw new t.FormatError("Kid reference not found in parent's kids.");return Promise.all(E).then(function(){return[u,C]})})}var c=0,v=function A(u){return o(u).then(function(C){if(!C)return a.pageIndexCache.put(l,c),c;var I=X(C,2),E=I[0],N=I[1];return c+=E,A(N)})};return v(l)}}],[{key:"parseDestDictionary",value:function(l){var a=l.destDict;if(!(0,T.isDict)(a)){(0,t.warn)("parseDestDictionary: `destDict` must be a dictionary.");return}var i=l.resultObj;if(ae(i)!=="object"){(0,t.warn)("parseDestDictionary: `resultObj` must be an object.");return}var m=l.docBaseUrl||null,o=a.get("A"),c,v;if((0,T.isDict)(o)||(a.has("Dest")?o=a.get("Dest"):(o=a.get("AA"),(0,T.isDict)(o)&&(o.has("D")?o=o.get("D"):o.has("U")&&(o=o.get("U"))))),(0,T.isDict)(o)){var A=o.get("S");if(!(0,T.isName)(A)){(0,t.warn)("parseDestDictionary: Invalid type in Action dictionary.");return}var u=A.name;switch(u){case"ResetForm":var C=o.get("Flags"),I=(((0,t.isNum)(C)?C:0)&1)==0,E=[],N=[],_=S(o.get("Fields")||[]),Y;try{for(_.s();!(Y=_.n()).done;){var H=Y.value;(0,T.isRef)(H)?N.push(H.toString()):(0,t.isString)(H)&&E.push((0,t.stringToPDFString)(H))}}catch(M){_.e(M)}finally{_.f()}i.resetForm={fields:E,refs:N,include:I};break;case"URI":c=o.get("URI"),c instanceof T.Name&&(c="/"+c.name);break;case"GoTo":v=o.get("D");break;case"Launch":case"GoToR":var Z=o.get("F");(0,T.isDict)(Z)?c=Z.get("F")||null:(0,t.isString)(Z)&&(c=Z);var ne=o.get("D");if(ne&&((0,T.isName)(ne)&&(ne=ne.name),(0,t.isString)(c))){var he=c.split("#")[0];(0,t.isString)(ne)?c=he+"#"+ne:Array.isArray(ne)&&(c=he+"#"+JSON.stringify(ne))}var Se=o.get("NewWindow");(0,t.isBool)(Se)&&(i.newWindow=Se);break;case"Named":var ue=o.get("N");(0,T.isName)(ue)&&(i.action=ue.name);break;case"JavaScript":var te=o.get("JS"),$;(0,T.isStream)(te)?$=te.getString():(0,t.isString)(te)&&($=te);var j=$&&(0,b.recoverJsURL)((0,t.stringToPDFString)($));if(j){c=j.url,i.newWindow=j.newWindow;break}default:if(u==="JavaScript"||u==="SubmitForm")break;(0,t.warn)('parseDestDictionary - unsupported action: "'.concat(u,'".'));break}}else a.has("Dest")&&(v=a.get("Dest"));if((0,t.isString)(c)){var G=(0,t.createValidAbsoluteUrl)(c,m,{addDefaultProtocol:!0,tryConvertEncoding:!0});G&&(i.url=G.href),i.unsafeUrl=c}v&&((0,T.isName)(v)&&(v=v.name),((0,t.isString)(v)||Array.isArray(v))&&(i.dest=v))}}]),s}();P.Catalog=F},(Me,P,D)=>{"use strict";function T(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(n){return typeof n}:T=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T(y)}Object.defineProperty(P,"__esModule",{value:!0}),P.NumberTree=P.NameTree=void 0;var b=D(4),t=D(135);function e(y,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(k&&k.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),k&&ge(y,k)}function ge(y,k){return ge=Object.setPrototypeOf||function(S,O){return S.__proto__=O,S},ge(y,k)}function le(y){var k=be();return function(){var S=xe(y),O;if(k){var w=xe(this).constructor;O=Reflect.construct(S,arguments,w)}else O=S.apply(this,arguments);return V(this,O)}}function V(y,k){if(k&&(T(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ye(y)}function ye(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function be(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}function xe(y){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(y)}function ae(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function d(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function ce(y,k,n){return k&&d(y.prototype,k),n&&d(y,n),y}var q=function(){function y(k,n,S){ae(this,y),this.constructor===y&&(0,b.unreachable)("Cannot initialize NameOrNumberTree."),this.root=k,this.xref=n,this._type=S}return ce(y,[{key:"getAll",value:function(){var n=new Map;if(!this.root)return n;var S=this.xref,O=new t.RefSet;O.put(this.root);for(var w=[this.root];w.length>0;){var p=S.fetchIfRef(w.shift());if(!!(0,t.isDict)(p)){if(p.has("Kids")){for(var x=p.get("Kids"),f=0,h=x.length;f<h;f++){var F=x[f];if(O.has(F))throw new b.FormatError('Duplicate entry in "'.concat(this._type,'" tree.'));w.push(F),O.put(F)}continue}var s=p.get(this._type);if(!!Array.isArray(s))for(var g=0,l=s.length;g<l;g+=2)n.set(S.fetchIfRef(s[g]),S.fetchIfRef(s[g+1]))}}return n}},{key:"get",value:function(n){if(!this.root)return null;for(var S=this.xref,O=S.fetchIfRef(this.root),w=0,p=10;O.has("Kids");){if(++w>p)return(0,b.warn)('Search depth limit reached for "'.concat(this._type,'" tree.')),null;var x=O.get("Kids");if(!Array.isArray(x))return null;for(var f=0,h=x.length-1;f<=h;){var F=f+h>>1,s=S.fetchIfRef(x[F]),g=s.get("Limits");if(n<S.fetchIfRef(g[0]))h=F-1;else if(n>S.fetchIfRef(g[1]))f=F+1;else{O=S.fetchIfRef(x[F]);break}}if(f>h)return null}var l=O.get(this._type);if(Array.isArray(l))for(var a=0,i=l.length-2;a<=i;){var m=a+i>>1,o=m+(m&1),c=S.fetchIfRef(l[o]);if(n<c)i=o-2;else if(n>c)a=o+2;else return S.fetchIfRef(l[o+1])}return null}}]),y}(),re=function(y){e(n,y);var k=le(n);function n(S,O){return ae(this,n),k.call(this,S,O,"Names")}return n}(q);P.NameTree=re;var X=function(y){e(n,y);var k=le(n);function n(S,O){return ae(this,n),k.call(this,S,O,"Nums")}return n}(q);P.NumberTree=X},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.FileSpec=void 0;var T=D(135),b=D(4);function t(ye,be){if(!(ye instanceof be))throw new TypeError("Cannot call a class as a function")}function e(ye,be){for(var xe=0;xe<be.length;xe++){var ae=be[xe];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(ye,ae.key,ae)}}function ge(ye,be,xe){return be&&e(ye.prototype,be),xe&&e(ye,xe),ye}function le(ye){return ye.has("UF")?ye.get("UF"):ye.has("F")?ye.get("F"):ye.has("Unix")?ye.get("Unix"):ye.has("Mac")?ye.get("Mac"):ye.has("DOS")?ye.get("DOS"):null}var V=function(){function ye(be,xe){t(this,ye),!(!be||!(0,T.isDict)(be))&&(this.xref=xe,this.root=be,be.has("FS")&&(this.fs=be.get("FS")),this.description=be.has("Desc")?(0,b.stringToPDFString)(be.get("Desc")):"",be.has("RF")&&(0,b.warn)("Related file specifications are not supported"),this.contentAvailable=!0,be.has("EF")||(this.contentAvailable=!1,(0,b.warn)("Non-embedded file specifications are not supported")))}return ge(ye,[{key:"filename",get:function(){if(!this._filename&&this.root){var xe=le(this.root)||"unnamed";this._filename=(0,b.stringToPDFString)(xe).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}return this._filename}},{key:"content",get:function(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=le(this.root.get("EF")));var xe=null;if(this.contentRef){var ae=this.xref.fetchIfRef(this.contentRef);ae&&(0,T.isStream)(ae)?xe=ae.getBytes():(0,b.warn)("Embedded file specification points to non-existing/invalid content")}else(0,b.warn)("Embedded file specification does not have a content");return xe}},{key:"serializable",get:function(){return{filename:this.filename,content:this.content}}}]),ye}();P.FileSpec=V},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.MetadataParser=void 0;var T=D(198);function b(ce,q){var re=typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(!re){if(Array.isArray(ce)||(re=ge(ce))||q&&ce&&typeof ce.length=="number"){re&&(ce=re);var X=0,y=function(){};return{s:y,n:function(){return X>=ce.length?{done:!0}:{done:!1,value:ce[X++]}},e:function(w){throw w},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=!0,n=!1,S;return{s:function(){re=re.call(ce)},n:function(){var w=re.next();return k=w.done,w},e:function(w){n=!0,S=w},f:function(){try{!k&&re.return!=null&&re.return()}finally{if(n)throw S}}}}function t(ce,q){return ye(ce)||V(ce,q)||ge(ce,q)||e()}function e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ge(ce,q){if(!!ce){if(typeof ce=="string")return le(ce,q);var re=Object.prototype.toString.call(ce).slice(8,-1);if(re==="Object"&&ce.constructor&&(re=ce.constructor.name),re==="Map"||re==="Set")return Array.from(ce);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return le(ce,q)}}function le(ce,q){(q==null||q>ce.length)&&(q=ce.length);for(var re=0,X=new Array(q);re<q;re++)X[re]=ce[re];return X}function V(ce,q){var re=ce==null?null:typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(re!=null){var X=[],y=!0,k=!1,n,S;try{for(re=re.call(ce);!(y=(n=re.next()).done)&&(X.push(n.value),!(q&&X.length===q));y=!0);}catch(O){k=!0,S=O}finally{try{!y&&re.return!=null&&re.return()}finally{if(k)throw S}}return X}}function ye(ce){if(Array.isArray(ce))return ce}function be(ce,q){if(!(ce instanceof q))throw new TypeError("Cannot call a class as a function")}function xe(ce,q){for(var re=0;re<q.length;re++){var X=q[re];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(ce,X.key,X)}}function ae(ce,q,re){return q&&xe(ce.prototype,q),re&&xe(ce,re),ce}var d=function(){function ce(q){be(this,ce),q=this._repair(q);var re=new T.SimpleXMLParser({lowerCaseName:!0}),X=re.parseFromString(q);this._metadataMap=new Map,this._data=q,X&&this._parse(X)}return ae(ce,[{key:"_repair",value:function(re){return re.replace(/^[^<]+/,"").replace(/>\\376\\377([^<]+)/g,function(X,y){for(var k=y.replace(/\\([0-3])([0-7])([0-7])/g,function(p,x,f,h){return String.fromCharCode(x*64+f*8+h*1)}).replace(/&(amp|apos|gt|lt|quot);/g,function(p,x){switch(x){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(x," isn't defined."))}),n=[],S=0,O=k.length;S<O;S+=2){var w=k.charCodeAt(S)*256+k.charCodeAt(S+1);w>=32&&w<127&&w!==60&&w!==62&&w!==38?n.push(String.fromCharCode(w)):n.push("&#x"+(65536+w).toString(16).substring(1)+";")}return">"+n.join("")})}},{key:"_getSequence",value:function(re){var X=re.nodeName;return X!=="rdf:bag"&&X!=="rdf:seq"&&X!=="rdf:alt"?null:re.childNodes.filter(function(y){return y.nodeName==="rdf:li"})}},{key:"_parseArray",value:function(re){if(!!re.hasChildNodes()){var X=t(re.childNodes,1),y=X[0],k=this._getSequence(y)||[];this._metadataMap.set(re.nodeName,k.map(function(n){return n.textContent.trim()}))}}},{key:"_parse",value:function(re){var X=re.documentElement;if(X.nodeName!=="rdf:rdf")for(X=X.firstChild;X&&X.nodeName!=="rdf:rdf";)X=X.nextSibling;if(!(!X||X.nodeName!=="rdf:rdf"||!X.hasChildNodes())){var y=b(X.childNodes),k;try{for(y.s();!(k=y.n()).done;){var n=k.value;if(n.nodeName==="rdf:description"){var S=b(n.childNodes),O;try{for(S.s();!(O=S.n()).done;){var w=O.value,p=w.nodeName;switch(p){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(w);continue}this._metadataMap.set(p,w.textContent.trim())}}catch(x){S.e(x)}finally{S.f()}}}}catch(x){y.e(x)}finally{y.f()}}}},{key:"serializable",get:function(){return{parsedData:this._metadataMap,rawData:this._data}}}]),ce}();P.MetadataParser=d},(Me,P,D)=>{"use strict";function T(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(s){return typeof s}:T=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},T(h)}Object.defineProperty(P,"__esModule",{value:!0}),P.XMLParserErrorCode=P.XMLParserBase=P.SimpleXMLParser=P.SimpleDOMNode=void 0;var b=D(139);function t(h,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(F&&F.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),F&&e(h,F)}function e(h,F){return e=Object.setPrototypeOf||function(g,l){return g.__proto__=l,g},e(h,F)}function ge(h){var F=ye();return function(){var g=be(h),l;if(F){var a=be(this).constructor;l=Reflect.construct(g,arguments,a)}else l=g.apply(this,arguments);return le(this,l)}}function le(h,F){if(F&&(T(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return V(h)}function V(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function ye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}function be(h){return be=Object.setPrototypeOf?Object.getPrototypeOf:function(s){return s.__proto__||Object.getPrototypeOf(s)},be(h)}function xe(h,F){var s=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(!s){if(Array.isArray(h)||(s=ce(h))||F&&h&&typeof h.length=="number"){s&&(h=s);var g=0,l=function(){};return{s:l,n:function(){return g>=h.length?{done:!0}:{done:!1,value:h[g++]}},e:function(c){throw c},f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,i=!1,m;return{s:function(){s=s.call(h)},n:function(){var c=s.next();return a=c.done,c},e:function(c){i=!0,m=c},f:function(){try{!a&&s.return!=null&&s.return()}finally{if(i)throw m}}}}function ae(h,F){return X(h)||re(h,F)||ce(h,F)||d()}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ce(h,F){if(!!h){if(typeof h=="string")return q(h,F);var s=Object.prototype.toString.call(h).slice(8,-1);if(s==="Object"&&h.constructor&&(s=h.constructor.name),s==="Map"||s==="Set")return Array.from(h);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return q(h,F)}}function q(h,F){(F==null||F>h.length)&&(F=h.length);for(var s=0,g=new Array(F);s<F;s++)g[s]=h[s];return g}function re(h,F){var s=h==null?null:typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(s!=null){var g=[],l=!0,a=!1,i,m;try{for(s=s.call(h);!(l=(i=s.next()).done)&&(g.push(i.value),!(F&&g.length===F));l=!0);}catch(o){a=!0,m=o}finally{try{!l&&s.return!=null&&s.return()}finally{if(a)throw m}}return g}}function X(h){if(Array.isArray(h))return h}function y(h,F){if(!(h instanceof F))throw new TypeError("Cannot call a class as a function")}function k(h,F){for(var s=0;s<F.length;s++){var g=F[s];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}function n(h,F,s){return F&&k(h.prototype,F),s&&k(h,s),h}var S={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};P.XMLParserErrorCode=S;function O(h,F){var s=h[F];return s===" "||s===`
`||s==="\r"||s===" "}function w(h){for(var F=0,s=h.length;F<s;F++)if(!O(h,F))return!1;return!0}var p=function(){function h(){y(this,h)}return n(h,[{key:"_resolveEntities",value:function(s){var g=this;return s.replace(/&([^;]+);/g,function(l,a){if(a.substring(0,2)==="#x")return String.fromCodePoint(parseInt(a.substring(2),16));if(a.substring(0,1)==="#")return String.fromCodePoint(parseInt(a.substring(1),10));switch(a){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return g.onResolveEntity(a)})}},{key:"_parseContent",value:function(s,g){var l=[],a=g;function i(){for(;a<s.length&&O(s,a);)++a}for(;a<s.length&&!O(s,a)&&s[a]!==">"&&s[a]!=="/";)++a;var m=s.substring(g,a);for(i();a<s.length&&s[a]!==">"&&s[a]!=="/"&&s[a]!=="?";){i();for(var o="",c="";a<s.length&&!O(s,a)&&s[a]!=="=";)o+=s[a],++a;if(i(),s[a]!=="=")return null;++a,i();var v=s[a];if(v!=='"'&&v!=="'")return null;var A=s.indexOf(v,++a);if(A<0)return null;c=s.substring(a,A),l.push({name:o,value:this._resolveEntities(c)}),a=A+1,i()}return{name:m,attributes:l,parsed:a-g}}},{key:"_parseProcessingInstruction",value:function(s,g){var l=g;function a(){for(;l<s.length&&O(s,l);)++l}for(;l<s.length&&!O(s,l)&&s[l]!==">"&&s[l]!=="?"&&s[l]!=="/";)++l;var i=s.substring(g,l);a();for(var m=l;l<s.length&&(s[l]!=="?"||s[l+1]!==">");)++l;var o=s.substring(m,l);return{name:i,value:o,parsed:l-g}}},{key:"parseXml",value:function(s){for(var g=0;g<s.length;){var l=s[g],a=g;if(l==="<"){++a;var i=s[a],m=void 0;switch(i){case"/":if(++a,m=s.indexOf(">",a),m<0){this.onError(S.UnterminatedElement);return}this.onEndElement(s.substring(a,m)),a=m+1;break;case"?":++a;var o=this._parseProcessingInstruction(s,a);if(s.substring(a+o.parsed,a+o.parsed+2)!=="?>"){this.onError(S.UnterminatedXmlDeclaration);return}this.onPi(o.name,o.value),a+=o.parsed+2;break;case"!":if(s.substring(a+1,a+3)==="--"){if(m=s.indexOf("-->",a+3),m<0){this.onError(S.UnterminatedComment);return}this.onComment(s.substring(a+3,m)),a=m+3}else if(s.substring(a+1,a+8)==="[CDATA["){if(m=s.indexOf("]]>",a+8),m<0){this.onError(S.UnterminatedCdat);return}this.onCdata(s.substring(a+8,m)),a=m+3}else if(s.substring(a+1,a+8)==="DOCTYPE"){var c=s.indexOf("[",a+8),v=!1;if(m=s.indexOf(">",a+8),m<0){this.onError(S.UnterminatedDoctypeDeclaration);return}if(c>0&&m>c){if(m=s.indexOf("]>",a+8),m<0){this.onError(S.UnterminatedDoctypeDeclaration);return}v=!0}var A=s.substring(a+8,m+(v?1:0));this.onDoctype(A),a=m+(v?2:1)}else{this.onError(S.MalformedElement);return}break;default:var u=this._parseContent(s,a);if(u===null){this.onError(S.MalformedElement);return}var C=!1;if(s.substring(a+u.parsed,a+u.parsed+2)==="/>")C=!0;else if(s.substring(a+u.parsed,a+u.parsed+1)!==">"){this.onError(S.UnterminatedElement);return}this.onBeginElement(u.name,u.attributes,C),a+=u.parsed+(C?2:1);break}}else{for(;a<s.length&&s[a]!=="<";)a++;var I=s.substring(g,a);this.onText(this._resolveEntities(I))}g=a}}},{key:"onResolveEntity",value:function(s){return"&".concat(s,";")}},{key:"onPi",value:function(s,g){}},{key:"onComment",value:function(s){}},{key:"onCdata",value:function(s){}},{key:"onDoctype",value:function(s){}},{key:"onText",value:function(s){}},{key:"onBeginElement",value:function(s,g,l){}},{key:"onEndElement",value:function(s){}},{key:"onError",value:function(s){}}]),h}();P.XMLParserBase=p;var x=function(){function h(F,s){y(this,h),this.nodeName=F,this.nodeValue=s,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return n(h,[{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var s=this.parentNode.childNodes;if(!!s){var g=s.indexOf(this);if(g!==-1)return s[g+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map(function(s){return s.textContent}).join(""):this.nodeValue||""}},{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"searchNode",value:function(s,g){if(g>=s.length)return this;for(var l=s[g],a=[],i=this;;){if(l.name===i.nodeName)if(l.pos===0){var m=i.searchNode(s,g+1);if(m!==null)return m}else{if(a.length===0)return null;var o=a.pop(),c=ae(o,1),v=c[0],A=0,u=xe(v.childNodes),C;try{for(u.s();!(C=u.n()).done;){var I=C.value;if(l.name===I.nodeName){if(A===l.pos)return I.searchNode(s,g+1);A++}}}catch(Z){u.e(Z)}finally{u.f()}return i.searchNode(s,g+1)}if(i.childNodes&&i.childNodes.length!==0)a.push([i,0]),i=i.childNodes[0];else{if(a.length===0)return null;for(;a.length!==0;){var E=a.pop(),N=ae(E,2),_=N[0],Y=N[1],H=Y+1;if(H<_.childNodes.length){a.push([_,H]),i=_.childNodes[H];break}}if(a.length===0)return null}}}},{key:"dump",value:function(s){if(this.nodeName==="#text"){s.push((0,b.encodeToXmlString)(this.nodeValue));return}if(s.push("<".concat(this.nodeName)),this.attributes){var g=xe(this.attributes),l;try{for(g.s();!(l=g.n()).done;){var a=l.value;s.push(" ".concat(a.name,'="').concat((0,b.encodeToXmlString)(a.value),'"'))}}catch(c){g.e(c)}finally{g.f()}}if(this.hasChildNodes()){s.push(">");var i=xe(this.childNodes),m;try{for(i.s();!(m=i.n()).done;){var o=m.value;o.dump(s)}}catch(c){i.e(c)}finally{i.f()}s.push("</".concat(this.nodeName,">"))}else this.nodeValue?s.push(">".concat((0,b.encodeToXmlString)(this.nodeValue),"</").concat(this.nodeName,">")):s.push("/>")}}]),h}();P.SimpleDOMNode=x;var f=function(h){t(s,h);var F=ge(s);function s(g){var l,a=g.hasAttributes,i=a===void 0?!1:a,m=g.lowerCaseName,o=m===void 0?!1:m;return y(this,s),l=F.call(this),l._currentFragment=null,l._stack=null,l._errorCode=S.NoError,l._hasAttributes=i,l._lowerCaseName=o,l}return n(s,[{key:"parseFromString",value:function(l){if(this._currentFragment=[],this._stack=[],this._errorCode=S.NoError,this.parseXml(l),this._errorCode===S.NoError){var a=ae(this._currentFragment,1),i=a[0];if(!!i)return{documentElement:i}}}},{key:"onText",value:function(l){if(!w(l)){var a=new x("#text",l);this._currentFragment.push(a)}}},{key:"onCdata",value:function(l){var a=new x("#text",l);this._currentFragment.push(a)}},{key:"onBeginElement",value:function(l,a,i){this._lowerCaseName&&(l=l.toLowerCase());var m=new x(l);m.childNodes=[],this._hasAttributes&&(m.attributes=a),this._currentFragment.push(m),!i&&(this._stack.push(this._currentFragment),this._currentFragment=m.childNodes)}},{key:"onEndElement",value:function(l){this._currentFragment=this._stack.pop()||[];var a=this._currentFragment[this._currentFragment.length-1];if(!!a)for(var i=0,m=a.childNodes.length;i<m;i++)a.childNodes[i].parentNode=a}},{key:"onError",value:function(l){this._errorCode=l}}]),s}(p);P.SimpleXMLParser=f},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.StructTreeRoot=P.StructTreePage=void 0;var T=D(135),b=D(4),t=D(195);function e(X,y){var k=typeof Symbol!="undefined"&&X[Symbol.iterator]||X["@@iterator"];if(!k){if(Array.isArray(X)||(k=ge(X))||y&&X&&typeof X.length=="number"){k&&(X=k);var n=0,S=function(){};return{s:S,n:function(){return n>=X.length?{done:!0}:{done:!1,value:X[n++]}},e:function(f){throw f},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O=!0,w=!1,p;return{s:function(){k=k.call(X)},n:function(){var f=k.next();return O=f.done,f},e:function(f){w=!0,p=f},f:function(){try{!O&&k.return!=null&&k.return()}finally{if(w)throw p}}}}function ge(X,y){if(!!X){if(typeof X=="string")return le(X,y);var k=Object.prototype.toString.call(X).slice(8,-1);if(k==="Object"&&X.constructor&&(k=X.constructor.name),k==="Map"||k==="Set")return Array.from(X);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return le(X,y)}}function le(X,y){(y==null||y>X.length)&&(y=X.length);for(var k=0,n=new Array(y);k<y;k++)n[k]=X[k];return n}function V(X,y){if(!(X instanceof y))throw new TypeError("Cannot call a class as a function")}function ye(X,y){for(var k=0;k<y.length;k++){var n=y[k];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(X,n.key,n)}}function be(X,y,k){return y&&ye(X.prototype,y),k&&ye(X,k),X}var xe=40,ae={PAGE_CONTENT:"PAGE_CONTENT",STREAM_CONTENT:"STREAM_CONTENT",OBJECT:"OBJECT",ELEMENT:"ELEMENT"},d=function(){function X(y){V(this,X),this.dict=y,this.roleMap=new Map}return be(X,[{key:"init",value:function(){this.readRoleMap()}},{key:"readRoleMap",value:function(){var k=this,n=this.dict.get("RoleMap");!(0,T.isDict)(n)||n.forEach(function(S,O){!(0,T.isName)(O)||k.roleMap.set(S,O.name)})}}]),X}();P.StructTreeRoot=d;var ce=function(){function X(y,k){V(this,X),this.tree=y,this.dict=k,this.kids=[],this.parseKids()}return be(X,[{key:"role",get:function(){var k=this.dict.get("S"),n=(0,T.isName)(k)?k.name:"",S=this.tree.root;return S.roleMap.has(n)?S.roleMap.get(n):n}},{key:"parseKids",value:function(){var k=null,n=this.dict.getRaw("Pg");(0,T.isRef)(n)&&(k=n.toString());var S=this.dict.get("K");if(Array.isArray(S)){var O=e(S),w;try{for(O.s();!(w=O.n()).done;){var p=w.value,x=this.parseKid(k,p);x&&this.kids.push(x)}}catch(h){O.e(h)}finally{O.f()}}else{var f=this.parseKid(k,S);f&&this.kids.push(f)}}},{key:"parseKid",value:function(k,n){if(Number.isInteger(n))return this.tree.pageDict.objId!==k?null:new q({type:ae.PAGE_CONTENT,mcid:n,pageObjId:k});var S=null;if((0,T.isRef)(n)?S=this.dict.xref.fetch(n):(0,T.isDict)(n)&&(S=n),!S)return null;var O=S.getRaw("Pg");(0,T.isRef)(O)&&(k=O.toString());var w=(0,T.isName)(S.get("Type"))?S.get("Type").name:null;return w==="MCR"?this.tree.pageDict.objId!==k?null:new q({type:ae.STREAM_CONTENT,refObjId:(0,T.isRef)(S.getRaw("Stm"))?S.getRaw("Stm").toString():null,pageObjId:k,mcid:S.get("MCID")}):w==="OBJR"?this.tree.pageDict.objId!==k?null:new q({type:ae.OBJECT,refObjId:(0,T.isRef)(S.getRaw("Obj"))?S.getRaw("Obj").toString():null,pageObjId:k}):new q({type:ae.ELEMENT,dict:S})}}]),X}(),q=function X(y){var k=y.type,n=y.dict,S=n===void 0?null:n,O=y.mcid,w=O===void 0?null:O,p=y.pageObjId,x=p===void 0?null:p,f=y.refObjId,h=f===void 0?null:f;V(this,X),this.type=k,this.dict=S,this.mcid=w,this.pageObjId=x,this.refObjId=h,this.parentNode=null},re=function(){function X(y,k){V(this,X),this.root=y,this.rootDict=y?y.dict:null,this.pageDict=k,this.nodes=[]}return be(X,[{key:"parse",value:function(){if(!(!this.root||!this.rootDict)){var k=this.rootDict.get("ParentTree");if(!!k){var n=this.pageDict.get("StructParents");if(!!Number.isInteger(n)){var S=new t.NumberTree(k,this.rootDict.xref),O=S.get(n);if(!!Array.isArray(O)){var w=new Map,p=e(O),x;try{for(p.s();!(x=p.n()).done;){var f=x.value;(0,T.isRef)(f)&&this.addNode(this.rootDict.xref.fetch(f),w)}}catch(h){p.e(h)}finally{p.f()}}}}}}},{key:"addNode",value:function(k,n){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(S>xe)return(0,b.warn)("StructTree MAX_DEPTH reached."),null;if(n.has(k))return n.get(k);var O=new ce(this,k);n.set(k,O);var w=k.get("P");if(!w||(0,T.isName)(w.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(k,O)||n.delete(k),O;var p=this.addNode(w,n,S+1);if(!p)return O;var x=!1,f=e(p.kids),h;try{for(f.s();!(h=f.n()).done;){var F=h.value;F.type===ae.ELEMENT&&F.dict===k&&(F.parentNode=O,x=!0)}}catch(s){f.e(s)}finally{f.f()}return x||n.delete(k),O}},{key:"addTopLevelNode",value:function(k,n){var S=this.rootDict.get("K");if(!S)return!1;if((0,T.isDict)(S))return S.objId!==k.objId?!1:(this.nodes[0]=n,!0);if(!Array.isArray(S))return!0;for(var O=!1,w=0;w<S.length;w++){var p=S[w];p&&p.toString()===k.objId&&(this.nodes[w]=n,O=!0)}return O}},{key:"serializable",get:function(){function k(p,x){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(f>xe){(0,b.warn)("StructTree too deep to be fully serialized.");return}var h=Object.create(null);h.role=p.role,h.children=[],x.children.push(h);var F=p.dict.get("Alt");(0,b.isString)(F)&&(h.alt=(0,b.stringToPDFString)(F));var s=p.dict.get("Lang");(0,b.isString)(s)&&(h.lang=(0,b.stringToPDFString)(s));var g=e(p.kids),l;try{for(g.s();!(l=g.n()).done;){var a=l.value,i=a.type===ae.ELEMENT?a.parentNode:null;if(i){k(i,h,f+1);continue}else a.type===ae.PAGE_CONTENT||a.type===ae.STREAM_CONTENT?h.children.push({type:"content",id:"page".concat(a.pageObjId,"_mcid").concat(a.mcid)}):a.type===ae.OBJECT&&h.children.push({type:"object",id:a.refObjId})}}catch(m){g.e(m)}finally{g.f()}}var n=Object.create(null);n.children=[],n.role="Root";var S=e(this.nodes),O;try{for(S.s();!(O=S.n()).done;){var w=O.value;!w||k(w,n)}}catch(p){S.e(p)}finally{S.f()}return n}}]),X}();P.StructTreePage=re},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.ObjectLoader=void 0;var T=ge(D(2)),b=D(135),t=D(139),e=D(4);function ge(y){return y&&y.__esModule?y:{default:y}}function le(y,k,n,S,O,w,p){try{var x=y[w](p),f=x.value}catch(h){n(h);return}x.done?k(f):Promise.resolve(f).then(S,O)}function V(y){return function(){var k=this,n=arguments;return new Promise(function(S,O){var w=y.apply(k,n);function p(f){le(w,S,O,p,x,"next",f)}function x(f){le(w,S,O,p,x,"throw",f)}p(void 0)})}}function ye(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function be(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function xe(y,k,n){return k&&be(y.prototype,k),n&&be(y,n),y}function ae(y,k){var n=typeof Symbol!="undefined"&&y[Symbol.iterator]||y["@@iterator"];if(!n){if(Array.isArray(y)||(n=d(y))||k&&y&&typeof y.length=="number"){n&&(y=n);var S=0,O=function(){};return{s:O,n:function(){return S>=y.length?{done:!0}:{done:!1,value:y[S++]}},e:function(h){throw h},f:O}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,p=!1,x;return{s:function(){n=n.call(y)},n:function(){var h=n.next();return w=h.done,h},e:function(h){p=!0,x=h},f:function(){try{!w&&n.return!=null&&n.return()}finally{if(p)throw x}}}}function d(y,k){if(!!y){if(typeof y=="string")return ce(y,k);var n=Object.prototype.toString.call(y).slice(8,-1);if(n==="Object"&&y.constructor&&(n=y.constructor.name),n==="Map"||n==="Set")return Array.from(y);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ce(y,k)}}function ce(y,k){(k==null||k>y.length)&&(k=y.length);for(var n=0,S=new Array(k);n<k;n++)S[n]=y[n];return S}function q(y){return y instanceof b.Ref||y instanceof b.Dict||Array.isArray(y)||(0,b.isStream)(y)}function re(y,k){if(y instanceof b.Dict)y=y.getRawValues();else if((0,b.isStream)(y))y=y.dict.getRawValues();else if(!Array.isArray(y))return;var n=ae(y),S;try{for(n.s();!(S=n.n()).done;){var O=S.value;q(O)&&k.push(O)}}catch(w){n.e(w)}finally{n.f()}}var X=function(){function y(k,n,S){ye(this,y),this.dict=k,this.keys=n,this.xref=S,this.refSet=null}return xe(y,[{key:"load",value:function(){var k=V(T.default.mark(function S(){var O,w,p,x,f,h;return T.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(!this.xref.stream.isDataLoaded){s.next=2;break}return s.abrupt("return",void 0);case 2:for(O=this.keys,w=this.dict,this.refSet=new b.RefSet,p=[],x=0,f=O.length;x<f;x++)h=w.getRaw(O[x]),h!==void 0&&p.push(h);return s.abrupt("return",this._walk(p));case 7:case"end":return s.stop()}},S,this)}));function n(){return k.apply(this,arguments)}return n}()},{key:"_walk",value:function(){var k=V(T.default.mark(function S(O){var w,p,x,f,h,F,s,g,l,a,i,m;return T.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:w=[],p=[];case 2:if(!O.length){c.next=48;break}if(x=O.pop(),!(x instanceof b.Ref)){c.next=21;break}if(!this.refSet.has(x)){c.next=7;break}return c.abrupt("continue",2);case 7:c.prev=7,this.refSet.put(x),x=this.xref.fetch(x),c.next=21;break;case 12:if(c.prev=12,c.t0=c.catch(7),c.t0 instanceof t.MissingDataException){c.next=19;break}return(0,e.warn)('ObjectLoader._walk - requesting all data: "'.concat(c.t0,'".')),this.refSet=null,f=this.xref.stream.manager,c.abrupt("return",f.requestAllChunks());case 19:w.push(x),p.push({begin:c.t0.begin,end:c.t0.end});case 21:if(!(0,b.isStream)(x)){c.next=45;break}if(h=x.getBaseStreams(),!h){c.next=45;break}F=!1,s=ae(h),c.prev=26,s.s();case 28:if((g=s.n()).done){c.next=36;break}if(l=g.value,!l.isDataLoaded){c.next=32;break}return c.abrupt("continue",34);case 32:F=!0,p.push({begin:l.start,end:l.end});case 34:c.next=28;break;case 36:c.next=41;break;case 38:c.prev=38,c.t1=c.catch(26),s.e(c.t1);case 41:return c.prev=41,s.f(),c.finish(41);case 44:F&&w.push(x);case 45:re(x,O),c.next=2;break;case 48:if(!p.length){c.next=54;break}return c.next=51,this.xref.stream.manager.requestRanges(p);case 51:a=ae(w);try{for(a.s();!(i=a.n()).done;)m=i.value,m instanceof b.Ref&&this.refSet.remove(m)}catch(v){a.e(v)}finally{a.f()}return c.abrupt("return",this._walk(w));case 54:return this.refSet=null,c.abrupt("return",void 0);case 56:case"end":return c.stop()}},S,this,[[7,12],[26,38,41,44]])}));function n(S){return k.apply(this,arguments)}return n}()}]),y}();P.ObjectLoader=X},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.incrementalUpdate=x,P.writeDict=q;var T=D(4),b=D(135),t=D(139),e=D(198),ge=D(202);function le(f,h){return be(f)||ye(f,h)||d(f,h)||V()}function V(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ye(f,h){var F=f==null?null:typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(F!=null){var s=[],g=!0,l=!1,a,i;try{for(F=F.call(f);!(g=(a=F.next()).done)&&(s.push(a.value),!(h&&s.length===h));g=!0);}catch(m){l=!0,i=m}finally{try{!g&&F.return!=null&&F.return()}finally{if(l)throw i}}return s}}function be(f){if(Array.isArray(f))return f}function xe(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xe=function(F){return typeof F}:xe=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},xe(f)}function ae(f,h){var F=typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(!F){if(Array.isArray(f)||(F=d(f))||h&&f&&typeof f.length=="number"){F&&(f=F);var s=0,g=function(){};return{s:g,n:function(){return s>=f.length?{done:!0}:{done:!1,value:f[s++]}},e:function(o){throw o},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l=!0,a=!1,i;return{s:function(){F=F.call(f)},n:function(){var o=F.next();return l=o.done,o},e:function(o){a=!0,i=o},f:function(){try{!l&&F.return!=null&&F.return()}finally{if(a)throw i}}}}function d(f,h){if(!!f){if(typeof f=="string")return ce(f,h);var F=Object.prototype.toString.call(f).slice(8,-1);if(F==="Object"&&f.constructor&&(F=f.constructor.name),F==="Map"||F==="Set")return Array.from(f);if(F==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(F))return ce(f,h)}}function ce(f,h){(h==null||h>f.length)&&(h=f.length);for(var F=0,s=new Array(h);F<h;F++)s[F]=f[F];return s}function q(f,h,F){h.push("<<");var s=ae(f.getKeys()),g;try{for(s.s();!(g=s.n()).done;){var l=g.value;h.push(" /".concat((0,t.escapePDFName)(l)," ")),k(f.getRaw(l),h,F)}}catch(a){s.e(a)}finally{s.f()}h.push(">>")}function re(f,h,F){q(f.dict,h,F),h.push(` stream
`);var s=f.getString();F!==null&&(s=F.encryptString(s)),h.push(s,`
endstream
`)}function X(f,h,F){h.push("[");var s=!0,g=ae(f),l;try{for(g.s();!(l=g.n()).done;){var a=l.value;s?s=!1:h.push(" "),k(a,h,F)}}catch(i){g.e(i)}finally{g.f()}h.push("]")}function y(f){if(Number.isInteger(f))return f.toString();var h=Math.round(f*100);return h%100==0?(h/100).toString():h%10==0?f.toFixed(1):f.toFixed(2)}function k(f,h,F){(0,b.isName)(f)?h.push("/".concat((0,t.escapePDFName)(f.name))):(0,b.isRef)(f)?h.push("".concat(f.num," ").concat(f.gen," R")):Array.isArray(f)?X(f,h,F):typeof f=="string"?(F!==null&&(f=F.encryptString(f)),h.push("(".concat((0,T.escapeString)(f),")"))):typeof f=="number"?h.push(y(f)):typeof f=="boolean"?h.push(f.toString()):(0,b.isDict)(f)?q(f,h,F):(0,b.isStream)(f)?re(f,h,F):f===null?h.push("null"):(0,T.warn)("Unhandled value in writer: ".concat(xe(f),", please file a bug."))}function n(f,h,F,s){for(var g=h+F-1;g>F-1;g--)s[g]=f&255,f>>=8;return F+h}function S(f,h,F){for(var s=0,g=f.length;s<g;s++)F[h+s]=f.charCodeAt(s)&255}function O(f,h){for(var F=Math.floor(Date.now()/1e3),s=h.filename||"",g=[F.toString(),s,f.toString()],l=g.reduce(function(C,I){return C+I.length},0),a=0,i=Object.values(h.info);a<i.length;a++){var m=i[a];g.push(m),l+=m.length}for(var o=new Uint8Array(l),c=0,v=0,A=g;v<A.length;v++){var u=A[v];S(u,c,o),c+=u.length}return(0,T.bytesToString)((0,ge.calculateMD5)(o))}function w(f,h){var F=new e.SimpleXMLParser({hasAttributes:!0}).parseFromString(f),s=ae(h),g;try{for(s.s();!(g=s.n()).done;){var l=g.value.xfa;if(!!l){var a=l.path,i=l.value;if(!!a){var m=F.documentElement.searchNode((0,t.parseXFAPath)(a),0);m?m.childNodes=[new e.SimpleDOMNode("#text",i)]:(0,T.warn)("Node not found for path: ".concat(a))}}}}catch(c){s.e(c)}finally{s.f()}var o=[];return F.documentElement.dump(o),o.join("")}function p(f){var h=f.xfaData,F=f.xfaDatasetsRef,s=f.hasXfaDatasetsEntry,g=f.acroFormRef,l=f.acroForm,a=f.newRefs,i=f.xref,m=f.xrefInfo;if(i!==null){if(!s){if(!g){(0,T.warn)("XFA - Cannot save it");return}var o=l.get("XFA"),c=o.slice();c.splice(2,0,"datasets"),c.splice(3,0,F),l.set("XFA",c);var v=i.encrypt,A=null;v&&(A=v.createCipherTransform(g.num,g.gen));var u=["".concat(g.num," ").concat(g.gen,` obj
`)];q(l,u,A),u.push(`
`),l.set("XFA",o),a.push({ref:g,data:u.join("")})}if(h===null){var C=i.fetchIfRef(F);h=w(C.getString(),a)}var I=i.encrypt;if(I){var E=I.createCipherTransform(F.num,F.gen);h=E.encryptString(h)}var N="".concat(F.num," ").concat(F.gen,` obj
`)+"<< /Type /EmbeddedFile /Length ".concat(h.length,`>>
stream
`)+h+`
endstream
endobj
`;a.push({ref:F,data:N})}}function x(f){var h=f.originalData,F=f.xrefInfo,s=f.newRefs,g=f.xref,l=g===void 0?null:g,a=f.hasXfa,i=a===void 0?!1:a,m=f.xfaDatasetsRef,o=m===void 0?null:m,c=f.hasXfaDatasetsEntry,v=c===void 0?!1:c,A=f.acroFormRef,u=A===void 0?null:A,C=f.acroForm,I=C===void 0?null:C,E=f.xfaData,N=E===void 0?null:E;i&&p({xfaData:N,xfaDatasetsRef:o,hasXfaDatasetsEntry:v,acroFormRef:u,acroForm:I,newRefs:s,xref:l,xrefInfo:F});var _=new b.Dict(null),Y=F.newRef,H,Z,ne=h[h.length-1];ne===10||ne===13?(H=[],Z=h.length):(H=[`
`],Z=h.length+1),_.set("Size",Y.num+1),_.set("Prev",F.startXRef),_.set("Type",b.Name.get("XRef")),F.rootRef!==null&&_.set("Root",F.rootRef),F.infoRef!==null&&_.set("Info",F.infoRef),F.encryptRef!==null&&_.set("Encrypt",F.encryptRef),s.push({ref:Y,data:""}),s=s.sort(function(Ce,De){return Ce.ref.num-De.ref.num});var he=[[0,1,65535]],Se=[0,1],ue=0,te=ae(s),$;try{for(te.s();!($=te.n()).done;){var j=$.value,G=j.ref,M=j.data;ue=Math.max(ue,Z),he.push([1,Z,Math.min(G.gen,65535)]),Z+=M.length,Se.push(G.num,1),H.push(M)}}catch(Ce){te.e(Ce)}finally{te.f()}if(_.set("Index",Se),Array.isArray(F.fileIds)&&F.fileIds.length>0){var W=O(Z,F);_.set("ID",[F.fileIds[0],W])}var z=Math.ceil(Math.log2(ue)/8),J=[1,z,2],Q=J[0]+J[1]+J[2],K=Q*he.length;_.set("W",J),_.set("Length",K),H.push("".concat(Y.num," ").concat(Y.gen,` obj
`)),q(_,H,null),H.push(` stream
`);var de=H.reduce(function(Ce,De){return Ce+De.length},0),oe=`
endstream
endobj
startxref
`.concat(Z,`
%%EOF
`),pe=new Uint8Array(h.length+de+K+oe.length);pe.set(h);var fe=h.length,ke=ae(H),Re;try{for(ke.s();!(Re=ke.n()).done;){var ve=Re.value;S(ve,fe,pe),fe+=ve.length}}catch(Ce){ke.e(Ce)}finally{ke.f()}for(var we=0,se=he;we<se.length;we++){var me=le(se[we],3),ee=me[0],Fe=me[1],Ee=me[2];fe=n(ee,J[0],fe,pe),fe=n(Fe,J[1],fe,pe),fe=n(Ee,J[2],fe,pe)}return S(oe,fe,pe),pe}},(Me,P,D)=>{"use strict";function T(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(a){return typeof a}:T=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},T(g)}Object.defineProperty(P,"__esModule",{value:!0}),P.calculateSHA256=P.calculateMD5=P.PDF20=P.PDF17=P.CipherTransformFactory=P.ARCFourCipher=P.AES256Cipher=P.AES128Cipher=void 0,P.calculateSHA384=S,P.calculateSHA512=void 0;var b=D(4),t=D(135),e=D(203);function ge(g,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(l&&l.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),l&&le(g,l)}function le(g,l){return le=Object.setPrototypeOf||function(i,m){return i.__proto__=m,i},le(g,l)}function V(g){var l=xe();return function(){var i=ae(g),m;if(l){var o=ae(this).constructor;m=Reflect.construct(i,arguments,o)}else m=i.apply(this,arguments);return ye(this,m)}}function ye(g,l){if(l&&(T(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(g)}function be(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function xe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(g){return!1}}function ae(g){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},ae(g)}function d(g,l){if(!(g instanceof l))throw new TypeError("Cannot call a class as a function")}function ce(g,l){for(var a=0;a<l.length;a++){var i=l[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(g,i.key,i)}}function q(g,l,a){return l&&ce(g.prototype,l),a&&ce(g,a),g}var re=function(){function g(l){d(this,g),this.a=0,this.b=0;for(var a=new Uint8Array(256),i=l.length,m=0;m<256;++m)a[m]=m;for(var o=0,c=0;o<256;++o){var v=a[o];c=c+v+l[o%i]&255,a[o]=a[c],a[c]=v}this.s=a}return q(g,[{key:"encryptBlock",value:function(a){for(var i=this.a,m=this.b,o=this.s,c=a.length,v=new Uint8Array(c),A=0;A<c;++A){i=i+1&255;var u=o[i];m=m+u&255;var C=o[m];o[i]=C,o[m]=u,v[A]=a[A]^o[u+C&255]}return this.a=i,this.b=m,v}},{key:"decryptBlock",value:function(a){return this.encryptBlock(a)}},{key:"encrypt",value:function(a){return this.encryptBlock(a)}}]),g}();P.ARCFourCipher=re;var X=function(){var l=new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),a=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);function i(m,o,c){var v=1732584193,A=-271733879,u=-1732584194,C=271733878,I=c+72&~63,E=new Uint8Array(I),N,_;for(N=0;N<c;++N)E[N]=m[o++];E[N++]=128;for(var Y=I-8;N<Y;)E[N++]=0;E[N++]=c<<3&255,E[N++]=c>>5&255,E[N++]=c>>13&255,E[N++]=c>>21&255,E[N++]=c>>>29&255,E[N++]=0,E[N++]=0,E[N++]=0;var H=new Int32Array(16);for(N=0;N<I;){for(_=0;_<16;++_,N+=4)H[_]=E[N]|E[N+1]<<8|E[N+2]<<16|E[N+3]<<24;var Z=v,ne=A,he=u,Se=C,ue=void 0,te=void 0;for(_=0;_<64;++_){_<16?(ue=ne&he|~ne&Se,te=_):_<32?(ue=Se&ne|~Se&he,te=5*_+1&15):_<48?(ue=ne^he^Se,te=3*_+5&15):(ue=he^(ne|~Se),te=7*_&15);var $=Se,j=Z+ue+a[_]+H[te]|0,G=l[_];Se=he,he=ne,ne=ne+(j<<G|j>>>32-G)|0,Z=$}v=v+Z|0,A=A+ne|0,u=u+he|0,C=C+Se|0}return new Uint8Array([v&255,v>>8&255,v>>16&255,v>>>24&255,A&255,A>>8&255,A>>16&255,A>>>24&255,u&255,u>>8&255,u>>16&255,u>>>24&255,C&255,C>>8&255,C>>16&255,C>>>24&255])}return i}();P.calculateMD5=X;var y=function(){function g(l,a){d(this,g),this.high=l|0,this.low=a|0}return q(g,[{key:"and",value:function(a){this.high&=a.high,this.low&=a.low}},{key:"xor",value:function(a){this.high^=a.high,this.low^=a.low}},{key:"or",value:function(a){this.high|=a.high,this.low|=a.low}},{key:"shiftRight",value:function(a){a>=32?(this.low=this.high>>>a-32|0,this.high=0):(this.low=this.low>>>a|this.high<<32-a,this.high=this.high>>>a|0)}},{key:"shiftLeft",value:function(a){a>=32?(this.high=this.low<<a-32,this.low=0):(this.high=this.high<<a|this.low>>>32-a,this.low<<=a)}},{key:"rotateRight",value:function(a){var i,m;a&32?(m=this.low,i=this.high):(i=this.low,m=this.high),a&=31,this.low=i>>>a|m<<32-a,this.high=m>>>a|i<<32-a}},{key:"not",value:function(){this.high=~this.high,this.low=~this.low}},{key:"add",value:function(a){var i=(this.low>>>0)+(a.low>>>0),m=(this.high>>>0)+(a.high>>>0);i>4294967295&&(m+=1),this.low=i|0,this.high=m|0}},{key:"copyTo",value:function(a,i){a[i]=this.high>>>24&255,a[i+1]=this.high>>16&255,a[i+2]=this.high>>8&255,a[i+3]=this.high&255,a[i+4]=this.low>>>24&255,a[i+5]=this.low>>16&255,a[i+6]=this.low>>8&255,a[i+7]=this.low&255}},{key:"assign",value:function(a){this.high=a.high,this.low=a.low}}]),g}(),k=function(){function l(C,I){return C>>>I|C<<32-I}function a(C,I,E){return C&I^~C&E}function i(C,I,E){return C&I^C&E^I&E}function m(C){return l(C,2)^l(C,13)^l(C,22)}function o(C){return l(C,6)^l(C,11)^l(C,25)}function c(C){return l(C,7)^l(C,18)^C>>>3}function v(C){return l(C,17)^l(C,19)^C>>>10}var A=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function u(C,I,E){var N=1779033703,_=3144134277,Y=1013904242,H=2773480762,Z=1359893119,ne=2600822924,he=528734635,Se=1541459225,ue=Math.ceil((E+9)/64)*64,te=new Uint8Array(ue),$,j;for($=0;$<E;++$)te[$]=C[I++];te[$++]=128;for(var G=ue-8;$<G;)te[$++]=0;te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=E>>>29&255,te[$++]=E>>21&255,te[$++]=E>>13&255,te[$++]=E>>5&255,te[$++]=E<<3&255;var M=new Uint32Array(64);for($=0;$<ue;){for(j=0;j<16;++j)M[j]=te[$]<<24|te[$+1]<<16|te[$+2]<<8|te[$+3],$+=4;for(j=16;j<64;++j)M[j]=v(M[j-2])+M[j-7]+c(M[j-15])+M[j-16]|0;var W=N,z=_,J=Y,Q=H,K=Z,de=ne,oe=he,pe=Se,fe=void 0,ke=void 0;for(j=0;j<64;++j)fe=pe+o(K)+a(K,de,oe)+A[j]+M[j],ke=m(W)+i(W,z,J),pe=oe,oe=de,de=K,K=Q+fe|0,Q=J,J=z,z=W,W=fe+ke|0;N=N+W|0,_=_+z|0,Y=Y+J|0,H=H+Q|0,Z=Z+K|0,ne=ne+de|0,he=he+oe|0,Se=Se+pe|0}return new Uint8Array([N>>24&255,N>>16&255,N>>8&255,N&255,_>>24&255,_>>16&255,_>>8&255,_&255,Y>>24&255,Y>>16&255,Y>>8&255,Y&255,H>>24&255,H>>16&255,H>>8&255,H&255,Z>>24&255,Z>>16&255,Z>>8&255,Z&255,ne>>24&255,ne>>16&255,ne>>8&255,ne&255,he>>24&255,he>>16&255,he>>8&255,he&255,Se>>24&255,Se>>16&255,Se>>8&255,Se&255])}return u}();P.calculateSHA256=k;var n=function(){function l(u,C,I,E,N){u.assign(C),u.and(I),N.assign(C),N.not(),N.and(E),u.xor(N)}function a(u,C,I,E,N){u.assign(C),u.and(I),N.assign(C),N.and(E),u.xor(N),N.assign(I),N.and(E),u.xor(N)}function i(u,C,I){u.assign(C),u.rotateRight(28),I.assign(C),I.rotateRight(34),u.xor(I),I.assign(C),I.rotateRight(39),u.xor(I)}function m(u,C,I){u.assign(C),u.rotateRight(14),I.assign(C),I.rotateRight(18),u.xor(I),I.assign(C),I.rotateRight(41),u.xor(I)}function o(u,C,I){u.assign(C),u.rotateRight(1),I.assign(C),I.rotateRight(8),u.xor(I),I.assign(C),I.shiftRight(7),u.xor(I)}function c(u,C,I){u.assign(C),u.rotateRight(19),I.assign(C),I.rotateRight(61),u.xor(I),I.assign(C),I.shiftRight(6),u.xor(I)}var v=[new y(1116352408,3609767458),new y(1899447441,602891725),new y(3049323471,3964484399),new y(3921009573,2173295548),new y(961987163,4081628472),new y(1508970993,3053834265),new y(2453635748,2937671579),new y(2870763221,3664609560),new y(3624381080,2734883394),new y(310598401,1164996542),new y(607225278,1323610764),new y(1426881987,3590304994),new y(1925078388,4068182383),new y(2162078206,991336113),new y(2614888103,633803317),new y(3248222580,3479774868),new y(3835390401,2666613458),new y(4022224774,944711139),new y(264347078,2341262773),new y(604807628,2007800933),new y(770255983,1495990901),new y(1249150122,1856431235),new y(1555081692,3175218132),new y(1996064986,2198950837),new y(2554220882,3999719339),new y(2821834349,766784016),new y(2952996808,2566594879),new y(3210313671,3203337956),new y(3336571891,1034457026),new y(3584528711,2466948901),new y(113926993,3758326383),new y(338241895,168717936),new y(666307205,1188179964),new y(773529912,1546045734),new y(1294757372,1522805485),new y(1396182291,2643833823),new y(1695183700,2343527390),new y(1986661051,1014477480),new y(2177026350,1206759142),new y(2456956037,344077627),new y(2730485921,1290863460),new y(2820302411,3158454273),new y(3259730800,3505952657),new y(3345764771,106217008),new y(3516065817,3606008344),new y(3600352804,1432725776),new y(4094571909,1467031594),new y(275423344,851169720),new y(430227734,3100823752),new y(506948616,1363258195),new y(659060556,3750685593),new y(883997877,3785050280),new y(958139571,3318307427),new y(1322822218,3812723403),new y(1537002063,2003034995),new y(1747873779,3602036899),new y(1955562222,1575990012),new y(2024104815,1125592928),new y(2227730452,2716904306),new y(2361852424,442776044),new y(2428436474,593698344),new y(2756734187,3733110249),new y(3204031479,2999351573),new y(3329325298,3815920427),new y(3391569614,3928383900),new y(3515267271,566280711),new y(3940187606,3454069534),new y(4118630271,4000239992),new y(116418474,1914138554),new y(174292421,2731055270),new y(289380356,3203993006),new y(460393269,320620315),new y(685471733,587496836),new y(852142971,1086792851),new y(1017036298,365543100),new y(1126000580,2618297676),new y(1288033470,3409855158),new y(1501505948,4234509866),new y(1607167915,987167468),new y(1816402316,1246189591)];function A(u,C,I){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N,_,Y,H,Z,ne,he,Se;E?(N=new y(3418070365,3238371032),_=new y(1654270250,914150663),Y=new y(2438529370,812702999),H=new y(355462360,4144912697),Z=new y(1731405415,4290775857),ne=new y(2394180231,1750603025),he=new y(3675008525,1694076839),Se=new y(1203062813,3204075428)):(N=new y(1779033703,4089235720),_=new y(3144134277,2227873595),Y=new y(1013904242,4271175723),H=new y(2773480762,1595750129),Z=new y(1359893119,2917565137),ne=new y(2600822924,725511199),he=new y(528734635,4215389547),Se=new y(1541459225,327033209));var ue=Math.ceil((I+17)/128)*128,te=new Uint8Array(ue),$,j;for($=0;$<I;++$)te[$]=u[C++];te[$++]=128;for(var G=ue-16;$<G;)te[$++]=0;te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=0,te[$++]=I>>>29&255,te[$++]=I>>21&255,te[$++]=I>>13&255,te[$++]=I>>5&255,te[$++]=I<<3&255;var M=new Array(80);for($=0;$<80;$++)M[$]=new y(0,0);var W=new y(0,0),z=new y(0,0),J=new y(0,0),Q=new y(0,0),K=new y(0,0),de=new y(0,0),oe=new y(0,0),pe=new y(0,0),fe=new y(0,0),ke=new y(0,0),Re=new y(0,0),ve=new y(0,0),we;for($=0;$<ue;){for(j=0;j<16;++j)M[j].high=te[$]<<24|te[$+1]<<16|te[$+2]<<8|te[$+3],M[j].low=te[$+4]<<24|te[$+5]<<16|te[$+6]<<8|te[$+7],$+=8;for(j=16;j<80;++j)we=M[j],c(we,M[j-2],ve),we.add(M[j-7]),o(Re,M[j-15],ve),we.add(Re),we.add(M[j-16]);for(W.assign(N),z.assign(_),J.assign(Y),Q.assign(H),K.assign(Z),de.assign(ne),oe.assign(he),pe.assign(Se),j=0;j<80;++j)fe.assign(pe),m(Re,K,ve),fe.add(Re),l(Re,K,de,oe,ve),fe.add(Re),fe.add(v[j]),fe.add(M[j]),i(ke,W,ve),a(Re,W,z,J,ve),ke.add(Re),we=pe,pe=oe,oe=de,de=K,Q.add(fe),K=Q,Q=J,J=z,z=W,we.assign(fe),we.add(ke),W=we;N.add(W),_.add(z),Y.add(J),H.add(Q),Z.add(K),ne.add(de),he.add(oe),Se.add(pe)}var se;return E?(se=new Uint8Array(48),N.copyTo(se,0),_.copyTo(se,8),Y.copyTo(se,16),H.copyTo(se,24),Z.copyTo(se,32),ne.copyTo(se,40)):(se=new Uint8Array(64),N.copyTo(se,0),_.copyTo(se,8),Y.copyTo(se,16),H.copyTo(se,24),Z.copyTo(se,32),ne.copyTo(se,40),he.copyTo(se,48),Se.copyTo(se,56)),se}return A}();P.calculateSHA512=n;function S(g,l,a){return n(g,l,a,!0)}var O=function(){function g(){d(this,g)}return q(g,[{key:"decryptBlock",value:function(a){return a}},{key:"encrypt",value:function(a){return a}}]),g}(),w=function(){function g(){d(this,g),this.constructor===g&&(0,b.unreachable)("Cannot initialize AESBaseCipher."),this._s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),this._inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),this._mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]),this._mixCol=new Uint8Array(256);for(var l=0;l<256;l++)l<128?this._mixCol[l]=l<<1:this._mixCol[l]=l<<1^27;this.buffer=new Uint8Array(16),this.bufferPosition=0}return q(g,[{key:"_expandKey",value:function(a){(0,b.unreachable)("Cannot call `_expandKey` on the base class")}},{key:"_decrypt",value:function(a,i){var m,o,c,v=new Uint8Array(16);v.set(a);for(var A=0,u=this._keySize;A<16;++A,++u)v[A]^=i[u];for(var C=this._cyclesOfRepetition-1;C>=1;--C){m=v[13],v[13]=v[9],v[9]=v[5],v[5]=v[1],v[1]=m,m=v[14],o=v[10],v[14]=v[6],v[10]=v[2],v[6]=m,v[2]=o,m=v[15],o=v[11],c=v[7],v[15]=v[3],v[11]=m,v[7]=o,v[3]=c;for(var I=0;I<16;++I)v[I]=this._inv_s[v[I]];for(var E=0,N=C*16;E<16;++E,++N)v[E]^=i[N];for(var _=0;_<16;_+=4){var Y=this._mix[v[_]],H=this._mix[v[_+1]],Z=this._mix[v[_+2]],ne=this._mix[v[_+3]];m=Y^H>>>8^H<<24^Z>>>16^Z<<16^ne>>>24^ne<<8,v[_]=m>>>24&255,v[_+1]=m>>16&255,v[_+2]=m>>8&255,v[_+3]=m&255}}m=v[13],v[13]=v[9],v[9]=v[5],v[5]=v[1],v[1]=m,m=v[14],o=v[10],v[14]=v[6],v[10]=v[2],v[6]=m,v[2]=o,m=v[15],o=v[11],c=v[7],v[15]=v[3],v[11]=m,v[7]=o,v[3]=c;for(var he=0;he<16;++he)v[he]=this._inv_s[v[he]],v[he]^=i[he];return v}},{key:"_encrypt",value:function(a,i){var m=this._s,o,c,v,A=new Uint8Array(16);A.set(a);for(var u=0;u<16;++u)A[u]^=i[u];for(var C=1;C<this._cyclesOfRepetition;C++){for(var I=0;I<16;++I)A[I]=m[A[I]];v=A[1],A[1]=A[5],A[5]=A[9],A[9]=A[13],A[13]=v,v=A[2],c=A[6],A[2]=A[10],A[6]=A[14],A[10]=v,A[14]=c,v=A[3],c=A[7],o=A[11],A[3]=A[15],A[7]=v,A[11]=c,A[15]=o;for(var E=0;E<16;E+=4){var N=A[E+0],_=A[E+1],Y=A[E+2],H=A[E+3];o=N^_^Y^H,A[E+0]^=o^this._mixCol[N^_],A[E+1]^=o^this._mixCol[_^Y],A[E+2]^=o^this._mixCol[Y^H],A[E+3]^=o^this._mixCol[H^N]}for(var Z=0,ne=C*16;Z<16;++Z,++ne)A[Z]^=i[ne]}for(var he=0;he<16;++he)A[he]=m[A[he]];v=A[1],A[1]=A[5],A[5]=A[9],A[9]=A[13],A[13]=v,v=A[2],c=A[6],A[2]=A[10],A[6]=A[14],A[10]=v,A[14]=c,v=A[3],c=A[7],o=A[11],A[3]=A[15],A[7]=v,A[11]=c,A[15]=o;for(var Se=0,ue=this._keySize;Se<16;++Se,++ue)A[Se]^=i[ue];return A}},{key:"_decryptBlock2",value:function(a,i){for(var m=a.length,o=this.buffer,c=this.bufferPosition,v=[],A=this.iv,u=0;u<m;++u)if(o[c]=a[u],++c,!(c<16)){for(var C=this._decrypt(o,this._key),I=0;I<16;++I)C[I]^=A[I];A=o,v.push(C),o=new Uint8Array(16),c=0}if(this.buffer=o,this.bufferLength=c,this.iv=A,v.length===0)return new Uint8Array(0);var E=16*v.length;if(i){var N=v[v.length-1],_=N[15];if(_<=16){for(var Y=15,H=16-_;Y>=H;--Y)if(N[Y]!==_){_=0;break}E-=_,v[v.length-1]=N.subarray(0,16-_)}}for(var Z=new Uint8Array(E),ne=0,he=0,Se=v.length;ne<Se;++ne,he+=16)Z.set(v[ne],he);return Z}},{key:"decryptBlock",value:function(a,i){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o=a.length,c=this.buffer,v=this.bufferPosition;if(m)this.iv=m;else{for(var A=0;v<16&&A<o;++A,++v)c[v]=a[A];if(v<16)return this.bufferLength=v,new Uint8Array(0);this.iv=c,a=a.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=this._decryptBlock2,this.decryptBlock(a,i)}},{key:"encrypt",value:function(a,i){var m=a.length,o=this.buffer,c=this.bufferPosition,v=[];i||(i=new Uint8Array(16));for(var A=0;A<m;++A)if(o[c]=a[A],++c,!(c<16)){for(var u=0;u<16;++u)o[u]^=i[u];var C=this._encrypt(o,this._key);i=C,v.push(C),o=new Uint8Array(16),c=0}if(this.buffer=o,this.bufferLength=c,this.iv=i,v.length===0)return new Uint8Array(0);for(var I=16*v.length,E=new Uint8Array(I),N=0,_=0,Y=v.length;N<Y;++N,_+=16)E.set(v[N],_);return E}}]),g}(),p=function(g){ge(a,g);var l=V(a);function a(i){var m;return d(this,a),m=l.call(this),m._cyclesOfRepetition=10,m._keySize=160,m._rcon=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]),m._key=m._expandKey(i),m}return q(a,[{key:"_expandKey",value:function(m){var o=176,c=this._s,v=this._rcon,A=new Uint8Array(o);A.set(m);for(var u=16,C=1;u<o;++C){var I=A[u-3],E=A[u-2],N=A[u-1],_=A[u-4];I=c[I],E=c[E],N=c[N],_=c[_],I^=v[C];for(var Y=0;Y<4;++Y)A[u]=I^=A[u-16],u++,A[u]=E^=A[u-16],u++,A[u]=N^=A[u-16],u++,A[u]=_^=A[u-16],u++}return A}}]),a}(w);P.AES128Cipher=p;var x=function(g){ge(a,g);var l=V(a);function a(i){var m;return d(this,a),m=l.call(this),m._cyclesOfRepetition=14,m._keySize=224,m._key=m._expandKey(i),m}return q(a,[{key:"_expandKey",value:function(m){var o=240,c=this._s,v=new Uint8Array(o);v.set(m);for(var A=1,u,C,I,E,N=32,_=1;N<o;++_){N%32==16?(u=c[u],C=c[C],I=c[I],E=c[E]):N%32==0&&(u=v[N-3],C=v[N-2],I=v[N-1],E=v[N-4],u=c[u],C=c[C],I=c[I],E=c[E],u^=A,(A<<=1)>=256&&(A=(A^27)&255));for(var Y=0;Y<4;++Y)v[N]=u^=v[N-32],N++,v[N]=C^=v[N-32],N++,v[N]=I^=v[N-32],N++,v[N]=E^=v[N-32],N++}return v}}]),a}(w);P.AES256Cipher=x;var f=function(){function g(){d(this,g)}return q(g,[{key:"checkOwnerPassword",value:function(a,i,m,o){var c=new Uint8Array(a.length+56);c.set(a,0),c.set(i,a.length),c.set(m,a.length+i.length);var v=k(c,0,c.length);return(0,b.isArrayEqual)(v,o)}},{key:"checkUserPassword",value:function(a,i,m){var o=new Uint8Array(a.length+8);o.set(a,0),o.set(i,a.length);var c=k(o,0,o.length);return(0,b.isArrayEqual)(c,m)}},{key:"getOwnerKey",value:function(a,i,m,o){var c=new Uint8Array(a.length+56);c.set(a,0),c.set(i,a.length),c.set(m,a.length+i.length);var v=k(c,0,c.length),A=new x(v);return A.decryptBlock(o,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(a,i,m){var o=new Uint8Array(a.length+8);o.set(a,0),o.set(i,a.length);var c=k(o,0,o.length),v=new x(c);return v.decryptBlock(m,!1,new Uint8Array(16))}}]),g}();P.PDF17=f;var h=function(){function l(i,m,o){for(var c=k(m,0,m.length).subarray(0,32),v=[0],A=0;A<64||v[v.length-1]>A-32;){var u=i.length+c.length+o.length,C=new Uint8Array(u),I=0;C.set(i,I),I+=i.length,C.set(c,I),I+=c.length,C.set(o,I);for(var E=new Uint8Array(u*64),N=0,_=0;N<64;N++,_+=u)E.set(C,_);var Y=new p(c.subarray(0,16));v=Y.encrypt(E,c.subarray(16,32));for(var H=0,Z=0;Z<16;Z++)H*=256%3,H%=3,H+=(v[Z]>>>0)%3,H%=3;H===0?c=k(v,0,v.length):H===1?c=S(v,0,v.length):H===2&&(c=n(v,0,v.length)),A++}return c.subarray(0,32)}var a=function(){function i(){d(this,i)}return q(i,[{key:"hash",value:function(o,c,v){return l(o,c,v)}},{key:"checkOwnerPassword",value:function(o,c,v,A){var u=new Uint8Array(o.length+56);u.set(o,0),u.set(c,o.length),u.set(v,o.length+c.length);var C=l(o,u,v);return(0,b.isArrayEqual)(C,A)}},{key:"checkUserPassword",value:function(o,c,v){var A=new Uint8Array(o.length+8);A.set(o,0),A.set(c,o.length);var u=l(o,A,[]);return(0,b.isArrayEqual)(u,v)}},{key:"getOwnerKey",value:function(o,c,v,A){var u=new Uint8Array(o.length+56);u.set(o,0),u.set(c,o.length),u.set(v,o.length+c.length);var C=l(o,u,v),I=new x(C);return I.decryptBlock(A,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(o,c,v){var A=new Uint8Array(o.length+8);A.set(o,0),A.set(c,o.length);var u=l(o,A,[]),C=new x(u);return C.decryptBlock(v,!1,new Uint8Array(16))}}]),i}();return a}();P.PDF20=h;var F=function(){function g(l,a){d(this,g),this.StringCipherConstructor=l,this.StreamCipherConstructor=a}return q(g,[{key:"createStream",value:function(a,i){var m=new this.StreamCipherConstructor;return new e.DecryptStream(a,i,function(c,v){return m.decryptBlock(c,v)})}},{key:"decryptString",value:function(a){var i=new this.StringCipherConstructor,m=(0,b.stringToBytes)(a);return m=i.decryptBlock(m,!0),(0,b.bytesToString)(m)}},{key:"encryptString",value:function(a){var i=new this.StringCipherConstructor;if(i instanceof w){var m=a.length,o=16-m%16;a+=String.fromCharCode(o).repeat(o);var c=new Uint8Array(16);if(typeof crypto!="undefined")crypto.getRandomValues(c);else for(var v=0;v<16;v++)c[v]=Math.floor(256*Math.random());var A=(0,b.stringToBytes)(a);A=i.encrypt(A,c);var u=new Uint8Array(16+A.length);return u.set(c),u.set(A,16),(0,b.bytesToString)(u)}var C=(0,b.stringToBytes)(a);return C=i.encrypt(C),(0,b.bytesToString)(C)}}]),g}(),s=function(){var l=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]);function a(u,C,I,E,N,_,Y,H,Z,ne,he,Se){if(C){var ue=Math.min(127,C.length);C=C.subarray(0,ue)}else C=[];var te;return u===6?te=new h:te=new f,te.checkUserPassword(C,H,Y)?te.getUserKey(C,Z,he):C.length&&te.checkOwnerPassword(C,E,_,I)?te.getOwnerKey(C,N,_,ne):null}function i(u,C,I,E,N,_,Y,H){var Z=40+I.length+u.length,ne=new Uint8Array(Z),he=0,Se,ue;if(C)for(ue=Math.min(32,C.length);he<ue;++he)ne[he]=C[he];for(Se=0;he<32;)ne[he++]=l[Se++];for(Se=0,ue=I.length;Se<ue;++Se)ne[he++]=I[Se];for(ne[he++]=N&255,ne[he++]=N>>8&255,ne[he++]=N>>16&255,ne[he++]=N>>>24&255,Se=0,ue=u.length;Se<ue;++Se)ne[he++]=u[Se];_>=4&&!H&&(ne[he++]=255,ne[he++]=255,ne[he++]=255,ne[he++]=255);var te=X(ne,0,he),$=Y>>3;if(_>=3)for(Se=0;Se<50;++Se)te=X(te,0,$);var j=te.subarray(0,$),G,M;if(_>=3){for(he=0;he<32;++he)ne[he]=l[he];for(Se=0,ue=u.length;Se<ue;++Se)ne[he++]=u[Se];G=new re(j),M=G.encryptBlock(X(ne,0,he)),ue=j.length;var W=new Uint8Array(ue);for(Se=1;Se<=19;++Se){for(var z=0;z<ue;++z)W[z]=j[z]^Se;G=new re(W),M=G.encryptBlock(M)}for(Se=0,ue=M.length;Se<ue;++Se)if(E[Se]!==M[Se])return null}else for(G=new re(j),M=G.encryptBlock(l),Se=0,ue=M.length;Se<ue;++Se)if(E[Se]!==M[Se])return null;return j}function m(u,C,I,E){for(var N=new Uint8Array(32),_=0,Y=Math.min(32,u.length);_<Y;++_)N[_]=u[_];for(var H=0;_<32;)N[_++]=l[H++];var Z=X(N,0,_),ne=E>>3;if(I>=3)for(H=0;H<50;++H)Z=X(Z,0,Z.length);var he,Se;if(I>=3){Se=C;var ue=new Uint8Array(ne);for(H=19;H>=0;H--){for(var te=0;te<ne;++te)ue[te]=Z[te]^H;he=new re(ue),Se=he.encryptBlock(Se)}}else he=new re(Z.subarray(0,ne)),Se=he.encryptBlock(C);return Se}var o=t.Name.get("Identity");function c(u,C,I){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=new Uint8Array(I.length+9),_=I.length,Y;for(Y=0;Y<_;++Y)N[Y]=I[Y];N[Y++]=u&255,N[Y++]=u>>8&255,N[Y++]=u>>16&255,N[Y++]=C&255,N[Y++]=C>>8&255,E&&(N[Y++]=115,N[Y++]=65,N[Y++]=108,N[Y++]=84);var H=X(N,0,Y);return H.subarray(0,Math.min(I.length+5,16))}function v(u,C,I,E,N){if(!(0,t.isName)(C))throw new b.FormatError("Invalid crypt filter name.");var _=u.get(C.name),Y;if(_!=null&&(Y=_.get("CFM")),!Y||Y.name==="None")return function(){return new O};if(Y.name==="V2")return function(){return new re(c(I,E,N,!1))};if(Y.name==="AESV2")return function(){return new p(c(I,E,N,!0))};if(Y.name==="AESV3")return function(){return new x(N)};throw new b.FormatError("Unknown crypto method")}var A=function(){function u(C,I,E){d(this,u);var N=C.get("Filter");if(!(0,t.isName)(N,"Standard"))throw new b.FormatError("unknown encryption method");this.filterName=N.name,this.dict=C;var _=C.get("V");if(!Number.isInteger(_)||_!==1&&_!==2&&_!==4&&_!==5)throw new b.FormatError("unsupported encryption algorithm");this.algorithm=_;var Y=C.get("Length");if(!Y)if(_<=3)Y=40;else{var H=C.get("CF"),Z=C.get("StmF");if((0,t.isDict)(H)&&(0,t.isName)(Z)){H.suppressEncryption=!0;var ne=H.get(Z.name);Y=ne&&ne.get("Length")||128,Y<40&&(Y<<=3)}}if(!Number.isInteger(Y)||Y<40||Y%8!=0)throw new b.FormatError("invalid key length");var he=(0,b.stringToBytes)(C.get("O")).subarray(0,32),Se=(0,b.stringToBytes)(C.get("U")).subarray(0,32),ue=C.get("P"),te=C.get("R"),$=(_===4||_===5)&&C.get("EncryptMetadata")!==!1;this.encryptMetadata=$;var j=(0,b.stringToBytes)(I),G;if(E){if(te===6)try{E=(0,b.utf8StringToString)(E)}catch(Re){(0,b.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}G=(0,b.stringToBytes)(E)}var M;if(_!==5)M=i(j,G,he,Se,ue,te,Y,$);else{var W=(0,b.stringToBytes)(C.get("O")).subarray(32,40),z=(0,b.stringToBytes)(C.get("O")).subarray(40,48),J=(0,b.stringToBytes)(C.get("U")).subarray(0,48),Q=(0,b.stringToBytes)(C.get("U")).subarray(32,40),K=(0,b.stringToBytes)(C.get("U")).subarray(40,48),de=(0,b.stringToBytes)(C.get("OE")),oe=(0,b.stringToBytes)(C.get("UE")),pe=(0,b.stringToBytes)(C.get("Perms"));M=a(te,G,he,W,z,J,Se,Q,K,de,oe,pe)}if(!M&&!E)throw new b.PasswordException("No password given",b.PasswordResponses.NEED_PASSWORD);if(!M&&E){var fe=m(G,he,te,Y);M=i(j,fe,he,Se,ue,te,Y,$)}if(!M)throw new b.PasswordException("Incorrect Password",b.PasswordResponses.INCORRECT_PASSWORD);if(this.encryptionKey=M,_>=4){var ke=C.get("CF");(0,t.isDict)(ke)&&(ke.suppressEncryption=!0),this.cf=ke,this.stmf=C.get("StmF")||o,this.strf=C.get("StrF")||o,this.eff=C.get("EFF")||this.stmf}}return q(u,[{key:"createCipherTransform",value:function(I,E){if(this.algorithm===4||this.algorithm===5)return new F(v(this.cf,this.stmf,I,E,this.encryptionKey),v(this.cf,this.strf,I,E,this.encryptionKey));var N=c(I,E,this.encryptionKey,!1),_=function(){return new re(N)};return new F(_,_)}}]),u}();return A}();P.CipherTransformFactory=s},(Me,P,D)=>{"use strict";function T(re){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(y){return typeof y}:T=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},T(re)}Object.defineProperty(P,"__esModule",{value:!0}),P.DecryptStream=void 0;var b=D(159);function t(re,X){if(!(re instanceof X))throw new TypeError("Cannot call a class as a function")}function e(re,X){for(var y=0;y<X.length;y++){var k=X[y];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(re,k.key,k)}}function ge(re,X,y){return X&&e(re.prototype,X),y&&e(re,y),re}function le(re,X){if(typeof X!="function"&&X!==null)throw new TypeError("Super expression must either be null or a function");re.prototype=Object.create(X&&X.prototype,{constructor:{value:re,writable:!0,configurable:!0}}),X&&V(re,X)}function V(re,X){return V=Object.setPrototypeOf||function(k,n){return k.__proto__=n,k},V(re,X)}function ye(re){var X=ae();return function(){var k=d(re),n;if(X){var S=d(this).constructor;n=Reflect.construct(k,arguments,S)}else n=k.apply(this,arguments);return be(this,n)}}function be(re,X){if(X&&(T(X)==="object"||typeof X=="function"))return X;if(X!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xe(re)}function xe(re){if(re===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re}function ae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(re){return!1}}function d(re){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},d(re)}var ce=512,q=function(re){le(y,re);var X=ye(y);function y(k,n,S){var O;return t(this,y),O=X.call(this,n),O.str=k,O.dict=k.dict,O.decrypt=S,O.nextChunk=null,O.initialized=!1,O}return ge(y,[{key:"readBlock",value:function(){var n;if(this.initialized?n=this.nextChunk:(n=this.str.getBytes(ce),this.initialized=!0),!n||n.length===0){this.eof=!0;return}this.nextChunk=this.str.getBytes(ce);var S=this.nextChunk&&this.nextChunk.length>0,O=this.decrypt;n=O(n,!S);for(var w=this.bufferLength,p=n.length,x=this.ensureBuffer(w+p),f=0;f<p;f++)x[w++]=n[f];this.bufferLength=w}}]),y}(b.DecodeStream);P.DecryptStream=q},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.XFAFactory=void 0;var T=xe(D(2)),b=D(205),t=D(209),e=D(215),ge=D(213),le=D(206),V=D(4),ye=D(216),be=D(226);function xe(S){return S&&S.__esModule?S:{default:S}}function ae(S,O){var w=typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(!w){if(Array.isArray(S)||(w=d(S))||O&&S&&typeof S.length=="number"){w&&(S=w);var p=0,x=function(){};return{s:x,n:function(){return p>=S.length?{done:!0}:{done:!1,value:S[p++]}},e:function(g){throw g},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,h=!1,F;return{s:function(){w=w.call(S)},n:function(){var g=w.next();return f=g.done,g},e:function(g){h=!0,F=g},f:function(){try{!f&&w.return!=null&&w.return()}finally{if(h)throw F}}}}function d(S,O){if(!!S){if(typeof S=="string")return ce(S,O);var w=Object.prototype.toString.call(S).slice(8,-1);if(w==="Object"&&S.constructor&&(w=S.constructor.name),w==="Map"||w==="Set")return Array.from(S);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return ce(S,O)}}function ce(S,O){(O==null||O>S.length)&&(O=S.length);for(var w=0,p=new Array(O);w<O;w++)p[w]=S[w];return p}function q(S,O,w,p,x,f,h){try{var F=S[f](h),s=F.value}catch(g){w(g);return}F.done?O(s):Promise.resolve(s).then(p,x)}function re(S){return function(){var O=this,w=arguments;return new Promise(function(p,x){var f=S.apply(O,w);function h(s){q(f,p,x,h,F,"next",s)}function F(s){q(f,p,x,h,F,"throw",s)}h(void 0)})}}function X(S,O){if(!(S instanceof O))throw new TypeError("Cannot call a class as a function")}function y(S,O){for(var w=0;w<O.length;w++){var p=O[w];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(S,p.key,p)}}function k(S,O,w){return O&&y(S.prototype,O),w&&y(S,w),S}var n=function(){function S(O){X(this,S);try{this.root=new ye.XFAParser().parse(S._createDocument(O));var w=new t.Binder(this.root);this.form=w.bind(),this.dataHandler=new e.DataHandler(this.root,w.getData()),this.form[b.$globalData].template=this.form}catch(p){(0,V.warn)("XFA - an error occurred during parsing and binding: ".concat(p))}}return k(S,[{key:"isValid",value:function(){return this.root&&this.form}},{key:"_createPagesHelper",value:function(){var w=this.form[b.$toPages]();return new Promise(function(p,x){var f=function h(){try{var F=w.next();F.done?p(F.value):setTimeout(h,0)}catch(s){x(s)}};setTimeout(f,0)})}},{key:"_createPages",value:function(){var O=re(T.default.mark(function p(){return T.default.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.prev=0,f.next=3,this._createPagesHelper();case 3:this.pages=f.sent,this.dims=this.pages.children.map(function(h){var F=h.attributes.style,s=F.width,g=F.height;return[0,0,parseInt(s),parseInt(g)]}),f.next=10;break;case 7:f.prev=7,f.t0=f.catch(0),(0,V.warn)("XFA - an error occurred during layout: ".concat(f.t0));case 10:case"end":return f.stop()}},p,this,[[0,7]])}));function w(){return O.apply(this,arguments)}return w}()},{key:"getBoundingBox",value:function(w){return this.dims[w]}},{key:"getNumPages",value:function(){var O=re(T.default.mark(function p(){return T.default.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(this.pages){f.next=3;break}return f.next=3,this._createPages();case 3:return f.abrupt("return",this.dims.length);case 4:case"end":return f.stop()}},p,this)}));function w(){return O.apply(this,arguments)}return w}()},{key:"setImages",value:function(w){this.form[b.$globalData].images=w}},{key:"setFonts",value:function(w){this.form[b.$globalData].fontFinder=new ge.FontFinder(w);var p=[],x=ae(this.form[b.$globalData].usedTypefaces),f;try{for(x.s();!(f=x.n()).done;){var h=f.value;h=(0,le.stripQuotes)(h);var F=this.form[b.$globalData].fontFinder.find(h);F||p.push(h)}}catch(s){x.e(s)}finally{x.f()}return p.length>0?p:null}},{key:"appendFonts",value:function(w,p){this.form[b.$globalData].fontFinder.add(w,p)}},{key:"getPages",value:function(){var O=re(T.default.mark(function p(){var x;return T.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(this.pages){h.next=3;break}return h.next=3,this._createPages();case 3:return x=this.pages,this.pages=null,h.abrupt("return",x);case 6:case"end":return h.stop()}},p,this)}));function w(){return O.apply(this,arguments)}return w}()},{key:"serializeData",value:function(w){return this.dataHandler.serialize(w)}}],[{key:"_createDocument",value:function(w){return w["/xdp:xdp"]?Object.values(w).join(""):w["xdp:xdp"]}},{key:"getRichTextAsHtml",value:function(w){if(!w||typeof w!="string")return null;try{var p=new ye.XFAParser(be.XhtmlNamespace,!0).parse(w);if(!["body","xhtml"].includes(p[b.$nodeName])){var x=be.XhtmlNamespace.body({});x[b.$appendChild](p),p=x}var f=p[b.$toHTML]();if(!f.success)return null;var h=f.html,F=h.attributes;return F&&(F.class&&(F.class=F.class.filter(function(s){return!s.startsWith("xfa")})),F.dir="auto"),{html:h,str:p[b.$text]()}}catch(s){(0,V.warn)("XFA - an error occurred during parsing of rich text: ".concat(s))}return null}}]),S}();P.XFAFactory=n},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.XmlObject=P.XFAObjectArray=P.XFAObject=P.XFAAttribute=P.StringObject=P.OptionObject=P.Option10=P.Option01=P.IntegerObject=P.ContentObject=P.$uid=P.$toStyle=P.$toString=P.$toPages=P.$toHTML=P.$text=P.$tabIndex=P.$setValue=P.$setSetAttributes=P.$setId=P.$searchNode=P.$root=P.$resolvePrototypes=P.$removeChild=P.$pushPara=P.$pushGlyphs=P.$popPara=P.$onText=P.$onChildCheck=P.$onChild=P.$nsAttributes=P.$nodeName=P.$namespaceId=P.$isUsable=P.$isTransparent=P.$isThereMoreWidth=P.$isSplittable=P.$isNsAgnostic=P.$isDescendent=P.$isDataValue=P.$isCDATAXml=P.$isBindable=P.$insertAt=P.$indexOf=P.$ids=P.$hasSettableValue=P.$globalData=P.$getTemplateRoot=P.$getSubformParent=P.$getRealChildrenByNameIt=P.$getParent=P.$getNextPage=P.$getExtra=P.$getDataValue=P.$getContainedChildren=P.$getChildrenByNameIt=P.$getChildrenByName=P.$getChildrenByClass=P.$getChildren=P.$getAvailableSpace=P.$getAttributes=P.$getAttributeIt=P.$flushHTML=P.$finalize=P.$extra=P.$dump=P.$data=P.$content=P.$consumed=P.$clone=P.$cleanup=P.$cleanPage=P.$clean=P.$childrenToHTML=P.$appendChild=P.$addHTML=P.$acceptWhitespace=void 0;var T=V(D(2)),b=D(206),t=D(4),e=D(139),ge=D(207),le=D(208);function V(ht){return ht&&ht.__esModule?ht:{default:ht}}function ye(ht,ut,We){return typeof Reflect!="undefined"&&Reflect.get?ye=Reflect.get:ye=function(st,dt,pt){var Dt=be(st,dt);if(!!Dt){var _t=Object.getOwnPropertyDescriptor(Dt,dt);return _t.get?_t.get.call(pt):_t.value}},ye(ht,ut,We||ht)}function be(ht,ut){for(;!Object.prototype.hasOwnProperty.call(ht,ut)&&(ht=S(ht),ht!==null););return ht}function xe(ht,ut){return ce(ht)||d(ht,ut)||F(ht,ut)||ae()}function ae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(ht,ut){var We=ht==null?null:typeof Symbol!="undefined"&&ht[Symbol.iterator]||ht["@@iterator"];if(We!=null){var it=[],st=!0,dt=!1,pt,Dt;try{for(We=We.call(ht);!(st=(pt=We.next()).done)&&(it.push(pt.value),!(ut&&it.length===ut));st=!0);}catch(_t){dt=!0,Dt=_t}finally{try{!st&&We.return!=null&&We.return()}finally{if(dt)throw Dt}}return it}}function ce(ht){if(Array.isArray(ht))return ht}function q(ht,ut){if(typeof ut!="function"&&ut!==null)throw new TypeError("Super expression must either be null or a function");ht.prototype=Object.create(ut&&ut.prototype,{constructor:{value:ht,writable:!0,configurable:!0}}),ut&&re(ht,ut)}function re(ht,ut){return re=Object.setPrototypeOf||function(it,st){return it.__proto__=st,it},re(ht,ut)}function X(ht){var ut=n();return function(){var it=S(ht),st;if(ut){var dt=S(this).constructor;st=Reflect.construct(it,arguments,dt)}else st=it.apply(this,arguments);return y(this,st)}}function y(ht,ut){if(ut&&(O(ut)==="object"||typeof ut=="function"))return ut;if(ut!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(ht)}function k(ht){if(ht===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ht}function n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ht){return!1}}function S(ht){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(We){return We.__proto__||Object.getPrototypeOf(We)},S(ht)}function O(ht){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(We){return typeof We}:O=function(We){return We&&typeof Symbol=="function"&&We.constructor===Symbol&&We!==Symbol.prototype?"symbol":typeof We},O(ht)}function w(ht){return f(ht)||x(ht)||F(ht)||p()}function p(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(ht){if(typeof Symbol!="undefined"&&ht[Symbol.iterator]!=null||ht["@@iterator"]!=null)return Array.from(ht)}function f(ht){if(Array.isArray(ht))return s(ht)}function h(ht,ut){var We=typeof Symbol!="undefined"&&ht[Symbol.iterator]||ht["@@iterator"];if(!We){if(Array.isArray(ht)||(We=F(ht))||ut&&ht&&typeof ht.length=="number"){We&&(ht=We);var it=0,st=function(){};return{s:st,n:function(){return it>=ht.length?{done:!0}:{done:!1,value:ht[it++]}},e:function(qt){throw qt},f:st}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var dt=!0,pt=!1,Dt;return{s:function(){We=We.call(ht)},n:function(){var qt=We.next();return dt=qt.done,qt},e:function(qt){pt=!0,Dt=qt},f:function(){try{!dt&&We.return!=null&&We.return()}finally{if(pt)throw Dt}}}}function F(ht,ut){if(!!ht){if(typeof ht=="string")return s(ht,ut);var We=Object.prototype.toString.call(ht).slice(8,-1);if(We==="Object"&&ht.constructor&&(We=ht.constructor.name),We==="Map"||We==="Set")return Array.from(ht);if(We==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(We))return s(ht,ut)}}function s(ht,ut){(ut==null||ut>ht.length)&&(ut=ht.length);for(var We=0,it=new Array(ut);We<ut;We++)it[We]=ht[We];return it}function g(ht,ut){if(!(ht instanceof ut))throw new TypeError("Cannot call a class as a function")}function l(ht,ut){for(var We=0;We<ut.length;We++){var it=ut[We];it.enumerable=it.enumerable||!1,it.configurable=!0,"value"in it&&(it.writable=!0),Object.defineProperty(ht,it.key,it)}}function a(ht,ut,We){return ut&&l(ht.prototype,ut),We&&l(ht,We),ht}var i=Symbol();P.$acceptWhitespace=i;var m=Symbol();P.$addHTML=m;var o=Symbol();P.$appendChild=o;var c=Symbol();P.$childrenToHTML=c;var v=Symbol();P.$clean=v;var A=Symbol();P.$cleanPage=A;var u=Symbol();P.$cleanup=u;var C=Symbol();P.$clone=C;var I=Symbol();P.$consumed=I;var E=Symbol("content");P.$content=E;var N=Symbol("data");P.$data=N;var _=Symbol();P.$dump=_;var Y=Symbol("extra");P.$extra=Y;var H=Symbol();P.$finalize=H;var Z=Symbol();P.$flushHTML=Z;var ne=Symbol();P.$getAttributeIt=ne;var he=Symbol();P.$getAttributes=he;var Se=Symbol();P.$getAvailableSpace=Se;var ue=Symbol();P.$getChildrenByClass=ue;var te=Symbol();P.$getChildrenByName=te;var $=Symbol();P.$getChildrenByNameIt=$;var j=Symbol();P.$getDataValue=j;var G=Symbol();P.$getExtra=G;var M=Symbol();P.$getRealChildrenByNameIt=M;var W=Symbol();P.$getChildren=W;var z=Symbol();P.$getContainedChildren=z;var J=Symbol();P.$getNextPage=J;var Q=Symbol();P.$getSubformParent=Q;var K=Symbol();P.$getParent=K;var de=Symbol();P.$getTemplateRoot=de;var oe=Symbol();P.$globalData=oe;var pe=Symbol();P.$hasSettableValue=pe;var fe=Symbol();P.$ids=fe;var ke=Symbol();P.$indexOf=ke;var Re=Symbol();P.$insertAt=Re;var ve=Symbol();P.$isCDATAXml=ve;var we=Symbol();P.$isBindable=we;var se=Symbol();P.$isDataValue=se;var me=Symbol();P.$isDescendent=me;var ee=Symbol();P.$isNsAgnostic=ee;var Fe=Symbol();P.$isSplittable=Fe;var Ee=Symbol();P.$isThereMoreWidth=Ee;var Ce=Symbol();P.$isTransparent=Ce;var De=Symbol();P.$isUsable=De;var _e=Symbol(),Ne=Symbol("namespaceId");P.$namespaceId=Ne;var $e=Symbol("nodeName");P.$nodeName=$e;var je=Symbol();P.$nsAttributes=je;var Ve=Symbol();P.$onChild=Ve;var Ke=Symbol();P.$onChildCheck=Ke;var Qe=Symbol();P.$onText=Qe;var Ze=Symbol();P.$pushGlyphs=Ze;var ze=Symbol();P.$popPara=ze;var ct=Symbol();P.$pushPara=ct;var Je=Symbol();P.$removeChild=Je;var gt=Symbol("root");P.$root=gt;var xt=Symbol();P.$resolvePrototypes=xt;var tt=Symbol();P.$searchNode=tt;var yt=Symbol();P.$setId=yt;var It=Symbol();P.$setSetAttributes=It;var ft=Symbol();P.$setValue=ft;var Ut=Symbol();P.$tabIndex=Ut;var kt=Symbol();P.$text=kt;var Nt=Symbol();P.$toPages=Nt;var ar=Symbol();P.$toHTML=ar;var Qt=Symbol();P.$toString=Qt;var He=Symbol();P.$toStyle=He;var et=Symbol("uid");P.$uid=et;var Ue=Symbol(),qe=Symbol(),ot=Symbol(),nt=Symbol("_children"),Pt=Symbol(),Lt=Symbol(),bt=Symbol(),Kt=Symbol(),Jt=Symbol(),nr=Symbol(),pr=Symbol(),ur=Symbol(),yr=Symbol(),Xt=Symbol("parent"),fr=Symbol(),Dr=Symbol(),Hr=Symbol(),Kr=0,Br=ge.NamespaceIds.datasets.id,Sr=function(){function ht(ut,We){var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;g(this,ht),this[Ne]=ut,this[$e]=We,this[pr]=it,this[Xt]=null,this[nt]=[],this[et]="".concat(We).concat(Kr++),this[oe]=null}return a(ht,[{key:Ve,value:function(We){if(!this[pr]||!this[Ke](We))return!1;var it=We[$e],st=this[it];if(st instanceof hr){if(st.push(We))return this[o](We),!0}else return st!==null&&this[Je](st),this[it]=We,this[o](We),!0;var dt="";return this.id?dt=" (id: ".concat(this.id,")"):this.name&&(dt=" (name: ".concat(this.name," ").concat(this.h.value,")")),(0,t.warn)('XFA - node "'.concat(this[$e],'"').concat(dt,' has already enough "').concat(it,'"!')),!1}},{key:Ke,value:function(We){return this.hasOwnProperty(We[$e])&&We[Ne]===this[Ne]}},{key:ee,value:function(){return!1}},{key:i,value:function(){return!1}},{key:ve,value:function(){return!1}},{key:we,value:function(){return!1}},{key:ze,value:function(){this.para&&this[de]()[Y].paraStack.pop()}},{key:ct,value:function(){this[de]()[Y].paraStack.push(this.para)}},{key:yt,value:function(We){this.id&&this[Ne]===ge.NamespaceIds.template.id&&We.set(this.id,this)}},{key:de,value:function(){return this[oe].template}},{key:Fe,value:function(){return!1}},{key:Ee,value:function(){return!1}},{key:o,value:function(We){We[Xt]=this,this[nt].push(We),!We[oe]&&this[oe]&&(We[oe]=this[oe])}},{key:Je,value:function(We){var it=this[nt].indexOf(We);this[nt].splice(it,1)}},{key:pe,value:function(){return this.hasOwnProperty("value")}},{key:ft,value:function(We){}},{key:Qe,value:function(We){}},{key:H,value:function(){}},{key:v,value:function(We){delete this[pr],this[u]&&(We.clean(this[u]),delete this[u])}},{key:ke,value:function(We){return this[nt].indexOf(We)}},{key:Re,value:function(We,it){it[Xt]=this,this[nt].splice(We,0,it),!it[oe]&&this[oe]&&(it[oe]=this[oe])}},{key:Ce,value:function(){return!this.name}},{key:_e,value:function(){return""}},{key:kt,value:function(){return this[nt].length===0?this[E]:this[nt].map(function(We){return We[kt]()}).join("")}},{key:ot,get:function(){var We=Object.getPrototypeOf(this);if(!We._attributes){var it=We._attributes=new Set,st=h(Object.getOwnPropertyNames(this)),dt;try{for(st.s();!(dt=st.n()).done;){var pt=dt.value;if(this[pt]===null||this[pt]instanceof ht||this[pt]instanceof hr)break;it.add(pt)}}catch(Dt){st.e(Dt)}finally{st.f()}}return(0,t.shadow)(this,ot,We._attributes)}},{key:me,value:function(We){for(var it=this;it;){if(it===We)return!0;it=it[K]()}return!1}},{key:K,value:function(){return this[Xt]}},{key:Q,value:function(){return this[K]()}},{key:W,value:function(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return We?this[We]:this[nt]}},{key:_,value:function(){var We=Object.create(null);this[E]&&(We.$content=this[E]);var it=h(Object.getOwnPropertyNames(this)),st;try{for(it.s();!(st=it.n()).done;){var dt=st.value,pt=this[dt];pt!==null&&(pt instanceof ht?We[dt]=pt[_]():pt instanceof hr?pt.isEmpty()||(We[dt]=pt.dump()):We[dt]=pt)}}catch(Dt){it.e(Dt)}finally{it.f()}return We}},{key:He,value:function(){return null}},{key:ar,value:function(){return b.HTMLResult.EMPTY}},{key:z,value:T.default.mark(function ut(){var We,it,st;return T.default.wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:We=h(this[W]()),pt.prev=1,We.s();case 3:if((it=We.n()).done){pt.next=9;break}return st=it.value,pt.next=7,st;case 7:pt.next=3;break;case 9:pt.next=14;break;case 11:pt.prev=11,pt.t0=pt.catch(1),We.e(pt.t0);case 14:return pt.prev=14,We.f(),pt.finish(14);case 17:case"end":return pt.stop()}},ut,this,[[1,11,14,17]])})},{key:Kt,value:T.default.mark(function ut(We,it){var st,dt,pt,Dt,_t;return T.default.wrap(function(Bt){for(;;)switch(Bt.prev=Bt.next){case 0:st=h(this[z]()),Bt.prev=1,st.s();case 3:if((dt=st.n()).done){Bt.next=13;break}if(pt=dt.value,!(!We||it===We.has(pt[$e]))){Bt.next=11;break}return Dt=this[Se](),_t=pt[ar](Dt),_t.success||(this[Y].failingNode=pt),Bt.next=11,_t;case 11:Bt.next=3;break;case 13:Bt.next=18;break;case 15:Bt.prev=15,Bt.t0=Bt.catch(1),st.e(Bt.t0);case 18:return Bt.prev=18,st.f(),Bt.finish(18);case 21:case"end":return Bt.stop()}},ut,this,[[1,15,18,21]])})},{key:Z,value:function(){return null}},{key:m,value:function(We,it){this[Y].children.push(We)}},{key:Se,value:function(){}},{key:c,value:function(We){var it=We.filter,st=it===void 0?null:it,dt=We.include,pt=dt===void 0?!0:dt;if(!this[Y].generator)this[Y].generator=this[Kt](st,pt);else{var Dt=this[Se](),_t=this[Y].failingNode[ar](Dt);if(!_t.success)return _t;_t.html&&this[m](_t.html,_t.bbox),delete this[Y].failingNode}for(;;){var qt=this[Y].generator.next();if(qt.done)break;var Bt=qt.value;if(!Bt.success)return Bt;Bt.html&&this[m](Bt.html,Bt.bbox)}return this[Y].generator=null,b.HTMLResult.EMPTY}},{key:It,value:function(We){this[Dr]=new Set(Object.keys(We))}},{key:nr,value:function(We){var it=this[ot],st=this[Dr];return w(We).filter(function(dt){return it.has(dt)&&!st.has(dt)})}},{key:xt,value:function(We){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set,st=h(this[nt]),dt;try{for(st.s();!(dt=st.n()).done;){var pt=dt.value;pt[fr](We,it)}}catch(Dt){st.e(Dt)}finally{st.f()}}},{key:fr,value:function(We,it){var st=this[Jt](We,it);st?this[Ue](st,We,it):this[xt](We,it)}},{key:Jt,value:function(We,it){var st=this.use,dt=this.usehref;if(!st&&!dt)return null;var pt=null,Dt=null,_t=null,qt=st;if(dt?(qt=dt,dt.startsWith("#som(")&&dt.endsWith(")")?Dt=dt.slice("#som(".length,dt.length-1):dt.startsWith(".#som(")&&dt.endsWith(")")?Dt=dt.slice(".#som(".length,dt.length-1):dt.startsWith("#")?_t=dt.slice(1):dt.startsWith(".#")&&(_t=dt.slice(2))):st.startsWith("#")?_t=st.slice(1):Dt=st,this.use=this.usehref="",_t?pt=We.get(_t):(pt=(0,le.searchNode)(We.get(gt),this,Dt,!0,!1),pt&&(pt=pt[0])),!pt)return(0,t.warn)("XFA - Invalid prototype reference: ".concat(qt,".")),null;if(pt[$e]!==this[$e])return(0,t.warn)("XFA - Incompatible prototype: ".concat(pt[$e]," !== ").concat(this[$e],".")),null;if(it.has(pt))return(0,t.warn)("XFA - Cycle detected in prototypes use."),null;it.add(pt);var Bt=pt[Jt](We,it);return Bt&&pt[Ue](Bt,We,it),pt[xt](We,it),it.delete(pt),pt}},{key:Ue,value:function(We,it,st){if(st.has(We)){(0,t.warn)("XFA - Cycle detected in prototypes use.");return}!this[E]&&We[E]&&(this[E]=We[E]);var dt=new Set(st);dt.add(We);var pt=h(this[nr](We[Dr])),Dt;try{for(pt.s();!(Dt=pt.n()).done;){var _t=Dt.value;this[_t]=We[_t],this[Dr]&&this[Dr].add(_t)}}catch(jt){pt.e(jt)}finally{pt.f()}var qt=h(Object.getOwnPropertyNames(this)),Bt;try{for(qt.s();!(Bt=qt.n()).done;){var Rt=Bt.value;if(!this[ot].has(Rt)){var Or=this[Rt],Tr=We[Rt];if(Or instanceof hr){var Er=h(Or[nt]),$r;try{for(Er.s();!($r=Er.n()).done;){var wt=$r.value;wt[fr](it,st)}}catch(jt){Er.e(jt)}finally{Er.f()}for(var vt=Or[nt].length,St=Tr[nt].length;vt<St;vt++){var Et=We[nt][vt][C]();if(Or.push(Et))Et[Xt]=this,this[nt].push(Et),Et[fr](it,st);else break}continue}if(Or!==null){Or[xt](it,st),Tr&&Or[Ue](Tr,it,st);continue}if(Tr!==null){var Mt=Tr[C]();Mt[Xt]=this,this[Rt]=Mt,this[nt].push(Mt),Mt[fr](it,st)}}}}catch(jt){qt.e(jt)}finally{qt.f()}}},{key:C,value:function(){var We=Object.create(Object.getPrototypeOf(this)),it=h(Object.getOwnPropertySymbols(this)),st;try{for(it.s();!(st=it.n()).done;){var dt=st.value;try{We[dt]=this[dt]}catch($r){(0,t.shadow)(We,dt,this[dt])}}}catch($r){it.e($r)}finally{it.f()}We[et]="".concat(We[$e]).concat(Kr++),We[nt]=[];var pt=h(Object.getOwnPropertyNames(this)),Dt;try{for(pt.s();!(Dt=pt.n()).done;){var _t=Dt.value;if(this[ot].has(_t)){We[_t]=ht[Pt](this[_t]);continue}var qt=this[_t];qt instanceof hr?We[_t]=new hr(qt[ur]):We[_t]=null}}catch($r){pt.e($r)}finally{pt.f()}var Bt=h(this[nt]),Rt;try{for(Bt.s();!(Rt=Bt.n()).done;){var Or=Rt.value,Tr=Or[$e],Er=Or[C]();We[nt].push(Er),Er[Xt]=We,We[Tr]===null?We[Tr]=Er:We[Tr][nt].push(Er)}}catch($r){Bt.e($r)}finally{Bt.f()}return We}},{key:W,value:function(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return We?this[nt].filter(function(it){return it[$e]===We}):this[nt]}},{key:ue,value:function(We){return this[We]}},{key:te,value:function(We,it){var st=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Array.from(this[$](We,it,st))}},{key:$,value:T.default.mark(function ut(We,it){var st,dt,pt,Dt,_t=arguments;return T.default.wrap(function(Bt){for(;;)switch(Bt.prev=Bt.next){case 0:if(st=_t.length>2&&_t[2]!==void 0?_t[2]:!0,We!=="parent"){Bt.next=5;break}return Bt.next=4,this[Xt];case 4:return Bt.abrupt("return");case 5:dt=h(this[nt]),Bt.prev=6,dt.s();case 8:if((pt=dt.n()).done){Bt.next=20;break}if(Dt=pt.value,Dt[$e]!==We){Bt.next=13;break}return Bt.next=13,Dt;case 13:if(Dt.name!==We){Bt.next=16;break}return Bt.next=16,Dt;case 16:if(!(it||Dt[Ce]())){Bt.next=18;break}return Bt.delegateYield(Dt[$](We,it,!1),"t0",18);case 18:Bt.next=8;break;case 20:Bt.next=25;break;case 22:Bt.prev=22,Bt.t1=Bt.catch(6),dt.e(Bt.t1);case 25:return Bt.prev=25,dt.f(),Bt.finish(25);case 28:if(!(st&&this[ot].has(We))){Bt.next=31;break}return Bt.next=31,new vr(this,We,this[We]);case 31:case"end":return Bt.stop()}},ut,this,[[6,22,25,28]])})}],[{key:Pt,value:function(We){return Array.isArray(We)?We.map(function(it){return ht[Pt](it)}):O(We)==="object"&&We!==null?Object.assign({},We):We}}]),ht}();P.XFAObject=Sr;var hr=function(){function ht(){var ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Infinity;g(this,ht),this[ur]=ut,this[nt]=[]}return a(ht,[{key:"push",value:function(We){var it=this[nt].length;return it<=this[ur]?(this[nt].push(We),!0):((0,t.warn)('XFA - node "'.concat(We[$e],'" accepts no more than ').concat(this[ur]," children")),!1)}},{key:"isEmpty",value:function(){return this[nt].length===0}},{key:"dump",value:function(){return this[nt].length===1?this[nt][0][_]():this[nt].map(function(We){return We[_]()})}},{key:C,value:function(){var We=new ht(this[ur]);return We[nt]=this[nt].map(function(it){return it[C]()}),We}},{key:"children",get:function(){return this[nt]}},{key:"clear",value:function(){this[nt].length=0}}]),ht}();P.XFAObjectArray=hr;var vr=function(){function ht(ut,We,it){g(this,ht),this[Xt]=ut,this[$e]=We,this[E]=it,this[I]=!1,this[et]="attribute".concat(Kr++)}return a(ht,[{key:K,value:function(){return this[Xt]}},{key:se,value:function(){return!0}},{key:j,value:function(){return this[E].trim()}},{key:ft,value:function(ut){function We(it){return ut.apply(this,arguments)}return We.toString=function(){return ut.toString()},We}(function(ut){ut=ut.value||"",this[E]=ut.toString()})},{key:kt,value:function(){return this[E]}},{key:me,value:function(We){return this[Xt]===We||this[Xt][me](We)}}]),ht}();P.XFAAttribute=vr;var zr=function(ht){q(We,ht);var ut=X(We);function We(it,st){var dt,pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(g(this,We),dt=ut.call(this,it,st),dt[E]="",dt[Lt]=null,st!=="#text"){var Dt=new Map;dt[qe]=Dt;for(var _t=0,qt=Object.entries(pt);_t<qt.length;_t++){var Bt=xe(qt[_t],2),Rt=Bt[0],Or=Bt[1];Dt.set(Rt,new vr(k(dt),Rt,Or))}if(pt.hasOwnProperty(je)){var Tr=pt[je].xfa.dataNode;Tr!==void 0&&(Tr==="dataGroup"?dt[Lt]=!1:Tr==="dataValue"&&(dt[Lt]=!0))}}return dt[I]=!1,dt}return a(We,[{key:Qt,value:function(st){var dt=this[$e];if(dt==="#text"){st.push((0,e.encodeToXmlString)(this[E]));return}var pt=(0,t.utf8StringToString)(dt),Dt=this[Ne]===Br?"xfa:":"";st.push("<".concat(Dt).concat(pt));var _t=h(this[qe].entries()),qt;try{for(_t.s();!(qt=_t.n()).done;){var Bt=xe(qt.value,2),Rt=Bt[0],Or=Bt[1],Tr=(0,t.utf8StringToString)(Rt);st.push(" ".concat(Tr,'="').concat((0,e.encodeToXmlString)(Or[E]),'"'))}}catch(vt){_t.e(vt)}finally{_t.f()}if(this[Lt]!==null&&(this[Lt]?st.push(' xfa:dataNode="dataValue"'):st.push(' xfa:dataNode="dataGroup"')),!this[E]&&this[nt].length===0){st.push("/>");return}if(st.push(">"),this[E])typeof this[E]=="string"?st.push((0,e.encodeToXmlString)(this[E])):this[E][Qt](st);else{var Er=h(this[nt]),$r;try{for(Er.s();!($r=Er.n()).done;){var wt=$r.value;wt[Qt](st)}}catch(vt){Er.e(vt)}finally{Er.f()}}st.push("</".concat(Dt).concat(pt,">"))}},{key:Ve,value:function(st){if(this[E]){var dt=new We(this[Ne],"#text");this[o](dt),dt[E]=this[E],this[E]=""}return this[o](st),!0}},{key:Qe,value:function(st){this[E]+=st}},{key:H,value:function(){if(this[E]&&this[nt].length>0){var st=new We(this[Ne],"#text");this[o](st),st[E]=this[E],delete this[E]}}},{key:ar,value:function(){return this[$e]==="#text"?b.HTMLResult.success({name:"#text",value:this[E]}):b.HTMLResult.EMPTY}},{key:W,value:function(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return st?this[nt].filter(function(dt){return dt[$e]===st}):this[nt]}},{key:he,value:function(){return this[qe]}},{key:ue,value:function(st){var dt=this[qe].get(st);return dt!==void 0?dt:this[W](st)}},{key:$,value:T.default.mark(function(st,dt){var pt,Dt,_t,qt;return T.default.wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:if(pt=this[qe].get(st),!pt){Rt.next=4;break}return Rt.next=4,pt;case 4:Dt=h(this[nt]),Rt.prev=5,Dt.s();case 7:if((_t=Dt.n()).done){Rt.next=16;break}if(qt=_t.value,qt[$e]!==st){Rt.next=12;break}return Rt.next=12,qt;case 12:if(!dt){Rt.next=14;break}return Rt.delegateYield(qt[$](st,dt),"t0",14);case 14:Rt.next=7;break;case 16:Rt.next=21;break;case 18:Rt.prev=18,Rt.t1=Rt.catch(5),Dt.e(Rt.t1);case 21:return Rt.prev=21,Dt.f(),Rt.finish(21);case 24:case"end":return Rt.stop()}},pt,this,[[5,18,21,24]])})},{key:ne,value:T.default.mark(function(st,dt){var pt,Dt,_t,qt;return T.default.wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:if(pt=this[qe].get(st),!(pt&&(!dt||!pt[I]))){Rt.next=4;break}return Rt.next=4,pt;case 4:Dt=h(this[nt]),Rt.prev=5,Dt.s();case 7:if((_t=Dt.n()).done){Rt.next=12;break}return qt=_t.value,Rt.delegateYield(qt[ne](st,dt),"t0",10);case 10:Rt.next=7;break;case 12:Rt.next=17;break;case 14:Rt.prev=14,Rt.t1=Rt.catch(5),Dt.e(Rt.t1);case 17:return Rt.prev=17,Dt.f(),Rt.finish(17);case 20:case"end":return Rt.stop()}},pt,this,[[5,14,17,20]])})},{key:M,value:T.default.mark(function it(st,dt,pt){var Dt,_t,qt;return T.default.wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:Dt=h(this[nt]),Rt.prev=1,Dt.s();case 3:if((_t=Dt.n()).done){Rt.next=12;break}if(qt=_t.value,!(qt[$e]===st&&(!pt||!qt[I]))){Rt.next=8;break}return Rt.next=8,qt;case 8:if(!dt){Rt.next=10;break}return Rt.delegateYield(qt[M](st,dt,pt),"t0",10);case 10:Rt.next=3;break;case 12:Rt.next=17;break;case 14:Rt.prev=14,Rt.t1=Rt.catch(1),Dt.e(Rt.t1);case 17:return Rt.prev=17,Dt.f(),Rt.finish(17);case 20:case"end":return Rt.stop()}},it,this,[[1,14,17,20]])})},{key:se,value:function(){return this[Lt]===null?this[nt].length===0||this[nt][0][Ne]===ge.NamespaceIds.xhtml.id:this[Lt]}},{key:j,value:function(){return this[Lt]===null?this[nt].length===0?this[E].trim():this[nt][0][Ne]===ge.NamespaceIds.xhtml.id?this[nt][0][kt]().trim():null:this[E].trim()}},{key:ft,value:function(it){function st(dt){return it.apply(this,arguments)}return st.toString=function(){return it.toString()},st}(function(it){it=it.value||"",this[E]=it.toString()})},{key:_,value:function(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,dt=Object.create(null);st&&(dt.$ns=this[Ne]),this[E]&&(dt.$content=this[E]),dt.$name=this[$e],dt.children=[];var pt=h(this[nt]),Dt;try{for(pt.s();!(Dt=pt.n()).done;){var _t=Dt.value;dt.children.push(_t[_](st))}}catch(Er){pt.e(Er)}finally{pt.f()}dt.attributes=Object.create(null);var qt=h(this[qe]),Bt;try{for(qt.s();!(Bt=qt.n()).done;){var Rt=xe(Bt.value,2),Or=Rt[0],Tr=Rt[1];dt.attributes[Or]=Tr[E]}}catch(Er){qt.e(Er)}finally{qt.f()}return dt}}]),We}(Sr);P.XmlObject=zr;var br=function(ht){q(We,ht);var ut=X(We);function We(it,st){var dt;return g(this,We),dt=ut.call(this,it,st),dt[E]="",dt}return a(We,[{key:Qe,value:function(st){this[E]+=st}},{key:H,value:function(){}}]),We}(Sr);P.ContentObject=br;var qr=function(ht){q(We,ht);var ut=X(We);function We(it,st,dt){var pt;return g(this,We),pt=ut.call(this,it,st),pt[yr]=dt,pt}return a(We,[{key:H,value:function(){var st=this;this[E]=(0,b.getKeyword)({data:this[E],defaultValue:this[yr][0],validate:function(pt){return st[yr].includes(pt)}})}},{key:v,value:function(st){ye(S(We.prototype),v,this).call(this,st),delete this[yr]}}]),We}(br);P.OptionObject=qr;var Gr=function(ht){q(We,ht);var ut=X(We);function We(){return g(this,We),ut.apply(this,arguments)}return a(We,[{key:H,value:function(){this[E]=this[E].trim()}}]),We}(br);P.StringObject=Gr;var Ur=function(ht){q(We,ht);var ut=X(We);function We(it,st,dt,pt){var Dt;return g(this,We),Dt=ut.call(this,it,st),Dt[bt]=dt,Dt[Hr]=pt,Dt}return a(We,[{key:H,value:function(){this[E]=(0,b.getInteger)({data:this[E],defaultValue:this[bt],validate:this[Hr]})}},{key:v,value:function(st){ye(S(We.prototype),v,this).call(this,st),delete this[bt],delete this[Hr]}}]),We}(br);P.IntegerObject=Ur;var Qr=function(ht){q(We,ht);var ut=X(We);function We(it,st){return g(this,We),ut.call(this,it,st,0,function(dt){return dt===1})}return We}(Ur);P.Option01=Qr;var na=function(ht){q(We,ht);var ut=X(We);function We(it,st){return g(this,We),ut.call(this,it,st,1,function(dt){return dt===0})}return We}(Ur);P.Option10=na},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.HTMLResult=void 0,P.getBBox=w,P.getColor=O,P.getFloat=re,P.getInteger=q,P.getKeyword=X,P.getMeasurement=k,P.getRatio=n,P.getRelevant=S,P.getStringOption=y,P.stripQuotes=ce;var T=D(4);function b(x,f){if(!(x instanceof f))throw new TypeError("Cannot call a class as a function")}function t(x,f){for(var h=0;h<f.length;h++){var F=f[h];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(x,F.key,F)}}function e(x,f,h){return f&&t(x.prototype,f),h&&t(x,h),x}function ge(x,f){return xe(x)||be(x,f)||V(x,f)||le()}function le(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V(x,f){if(!!x){if(typeof x=="string")return ye(x,f);var h=Object.prototype.toString.call(x).slice(8,-1);if(h==="Object"&&x.constructor&&(h=x.constructor.name),h==="Map"||h==="Set")return Array.from(x);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return ye(x,f)}}function ye(x,f){(f==null||f>x.length)&&(f=x.length);for(var h=0,F=new Array(f);h<f;h++)F[h]=x[h];return F}function be(x,f){var h=x==null?null:typeof Symbol!="undefined"&&x[Symbol.iterator]||x["@@iterator"];if(h!=null){var F=[],s=!0,g=!1,l,a;try{for(h=h.call(x);!(s=(l=h.next()).done)&&(F.push(l.value),!(f&&F.length===f));s=!0);}catch(i){g=!0,a=i}finally{try{!s&&h.return!=null&&h.return()}finally{if(g)throw a}}return F}}function xe(x){if(Array.isArray(x))return x}var ae={pt:function(f){return f},cm:function(f){return f/2.54*72},mm:function(f){return f/(10*2.54)*72},in:function(f){return f*72},px:function(f){return f}},d=/([+-]?\d+\.?\d*)(.*)/;function ce(x){return x.startsWith("'")||x.startsWith('"')?x.slice(1,x.length-1):x}function q(x){var f=x.data,h=x.defaultValue,F=x.validate;if(!f)return h;f=f.trim();var s=parseInt(f,10);return!isNaN(s)&&F(s)?s:h}function re(x){var f=x.data,h=x.defaultValue,F=x.validate;if(!f)return h;f=f.trim();var s=parseFloat(f);return!isNaN(s)&&F(s)?s:h}function X(x){var f=x.data,h=x.defaultValue,F=x.validate;return f?(f=f.trim(),F(f)?f:h):h}function y(x,f){return X({data:x,defaultValue:f[0],validate:function(F){return f.includes(F)}})}function k(x){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0";if(f=f||"0",!x)return k(f);var h=x.trim().match(d);if(!h)return k(f);var F=ge(h,3),s=F[1],g=F[2],l=parseFloat(s);if(isNaN(l))return k(f);if(l===0)return 0;var a=ae[g];return a?a(l):l}function n(x){if(!x)return{num:1,den:1};var f=x.trim().split(/\s*:\s*/).map(function(g){return parseFloat(g)}).filter(function(g){return!isNaN(g)});if(f.length===1&&f.push(1),f.length===0)return{num:1,den:1};var h=ge(f,2),F=h[0],s=h[1];return{num:F,den:s}}function S(x){return x?x.trim().split(/\s+/).map(function(f){return{excluded:f[0]==="-",viewname:f.substring(1)}}):[]}function O(x){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0],h=ge(f,3),F=h[0],s=h[1],g=h[2];if(!x)return{r:F,g:s,b:g};var l=x.trim().split(/\s*,\s*/).map(function(i){return Math.min(Math.max(0,parseInt(i.trim(),10)),255)}).map(function(i){return isNaN(i)?0:i});if(l.length<3)return{r:F,g:s,b:g};var a=ge(l,3);return F=a[0],s=a[1],g=a[2],{r:F,g:s,b:g}}function w(x){var f=-1;if(!x)return{x:f,y:f,width:f,height:f};var h=x.trim().split(/\s*,\s*/).map(function(i){return k(i,"-1")});if(h.length<4||h[2]<0||h[3]<0)return{x:f,y:f,width:f,height:f};var F=ge(h,4),s=F[0],g=F[1],l=F[2],a=F[3];return{x:s,y:g,width:l,height:a}}var p=function(){function x(f,h,F,s){b(this,x),this.success=f,this.html=h,this.bbox=F,this.breakNode=s}return e(x,[{key:"isBreak",value:function(){return!!this.breakNode}}],[{key:"FAILURE",get:function(){return(0,T.shadow)(this,"FAILURE",new x(!1,null,null,null))}},{key:"EMPTY",get:function(){return(0,T.shadow)(this,"EMPTY",new x(!0,null,null,null))}},{key:"breakNode",value:function(h){return new x(!1,null,null,h)}},{key:"success",value:function(h){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return new x(!0,h,F,null)}}]),x}();P.HTMLResult=p},(Me,P)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.NamespaceIds=P.$buildXFAObject=void 0;var D=Symbol();P.$buildXFAObject=D;var T={config:{id:0,check:function(t){return t.startsWith("http://www.xfa.org/schema/xci/")}},connectionSet:{id:1,check:function(t){return t.startsWith("http://www.xfa.org/schema/xfa-connection-set/")}},datasets:{id:2,check:function(t){return t.startsWith("http://www.xfa.org/schema/xfa-data/")}},form:{id:3,check:function(t){return t.startsWith("http://www.xfa.org/schema/xfa-form/")}},localeSet:{id:4,check:function(t){return t.startsWith("http://www.xfa.org/schema/xfa-locale-set/")}},pdf:{id:5,check:function(t){return t==="http://ns.adobe.com/xdp/pdf/"}},signature:{id:6,check:function(t){return t==="http://www.w3.org/2000/09/xmldsig#"}},sourceSet:{id:7,check:function(t){return t.startsWith("http://www.xfa.org/schema/xfa-source-set/")}},stylesheet:{id:8,check:function(t){return t==="http://www.w3.org/1999/XSL/Transform"}},template:{id:9,check:function(t){return t.startsWith("http://www.xfa.org/schema/xfa-template/")}},xdc:{id:10,check:function(t){return t.startsWith("http://www.xfa.org/schema/xdc/")}},xdp:{id:11,check:function(t){return t==="http://ns.adobe.com/xdp/"}},xfdf:{id:12,check:function(t){return t==="http://ns.adobe.com/xfdf/"}},xhtml:{id:13,check:function(t){return t==="http://www.w3.org/1999/xhtml"}},xmpmeta:{id:14,check:function(t){return t==="http://ns.adobe.com/xmpmeta/"}}};P.NamespaceIds=T},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.createDataNode=w,P.searchNode=S;var T=D(205),b=D(207),t=D(4);function e(p,x){var f=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(!f){if(Array.isArray(p)||(f=ye(p))||x&&p&&typeof p.length=="number"){f&&(p=f);var h=0,F=function(){};return{s:F,n:function(){return h>=p.length?{done:!0}:{done:!1,value:p[h++]}},e:function(i){throw i},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,g=!1,l;return{s:function(){f=f.call(p)},n:function(){var i=f.next();return s=i.done,i},e:function(i){g=!0,l=i},f:function(){try{!s&&f.return!=null&&f.return()}finally{if(g)throw l}}}}function ge(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ge=function(f){return typeof f}:ge=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},ge(p)}function le(p,x){return ae(p)||xe(p,x)||ye(p,x)||V()}function V(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ye(p,x){if(!!p){if(typeof p=="string")return be(p,x);var f=Object.prototype.toString.call(p).slice(8,-1);if(f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set")return Array.from(p);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return be(p,x)}}function be(p,x){(x==null||x>p.length)&&(x=p.length);for(var f=0,h=new Array(x);f<x;f++)h[f]=p[f];return h}function xe(p,x){var f=p==null?null:typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(f!=null){var h=[],F=!0,s=!1,g,l;try{for(f=f.call(p);!(F=(g=f.next()).done)&&(h.push(g.value),!(x&&h.length===x));F=!0);}catch(a){s=!0,l=a}finally{try{!F&&f.return!=null&&f.return()}finally{if(s)throw l}}return h}}function ae(p){if(Array.isArray(p))return p}var d=/^[^.[]+/,ce=/^[^\]]+/,q={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},re=new Map([["$data",function(p,x){return p.datasets?p.datasets.data:p}],["$record",function(p,x){return(p.datasets?p.datasets.data:p)[T.$getChildren]()[0]}],["$template",function(p,x){return p.template}],["$connectionSet",function(p,x){return p.connectionSet}],["$form",function(p,x){return p.form}],["$layout",function(p,x){return p.layout}],["$host",function(p,x){return p.host}],["$dataWindow",function(p,x){return p.dataWindow}],["$event",function(p,x){return p.event}],["!",function(p,x){return p.datasets}],["$xfa",function(p,x){return p}],["xfa",function(p,x){return p}],["$",function(p,x){return x}]]),X=new WeakMap,y=b.NamespaceIds.datasets.id;function k(p){return p=p.trim(),p==="*"?Infinity:parseInt(p,10)||0}function n(p,x){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,h=p.match(d);if(!h)return null;for(var F=h,s=le(F,1),g=s[0],l=[{name:g,cacheName:"."+g,index:0,js:null,formCalc:null,operator:q.dot}],a=g.length;a<p.length;){var i=a,m=p.charAt(a++);if(m==="["){if(h=p.slice(a).match(ce),!h)return(0,t.warn)("XFA - Invalid index in SOM expression"),null;l[l.length-1].index=k(h[0]),a+=h[0].length+1;continue}var o=void 0;switch(p.charAt(a)){case".":if(!x)return null;a++,o=q.dotDot;break;case"#":a++,o=q.dotHash;break;case"[":if(f)return(0,t.warn)("XFA - SOM expression contains a FormCalc subexpression which is not supported for now."),null;o=q.dotBracket;break;case"(":if(f)return(0,t.warn)("XFA - SOM expression contains a JavaScript subexpression which is not supported for now."),null;o=q.dotParen;break;default:o=q.dot;break}if(h=p.slice(a).match(d),!h)break;var c=h,v=le(c,1);g=v[0],a+=g.length,l.push({name:g,cacheName:p.slice(i,a),operator:o,index:0,js:null,formCalc:null})}return l}function S(p,x,f){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,F=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=n(f,h);if(!s)return null;var g=re.get(s[0].name),l=0,a;g?(a=!0,p=[g(p,x)],l=1):(a=x===null,p=[x||p]);for(var i=function(v){var A=s[l],u=A.name,C=A.cacheName,I=A.operator,E=A.index,N=[],_=e(p),Y;try{for(_.s();!(Y=_.n()).done;){var H=Y.value;if(H instanceof T.XFAObject){var Z=void 0,ne=void 0;if(F&&(ne=X.get(H),ne||(ne=new Map,X.set(H,ne)),Z=ne.get(C)),!Z){switch(I){case q.dot:Z=H[T.$getChildrenByName](u,!1);break;case q.dotDot:Z=H[T.$getChildrenByName](u,!0);break;case q.dotHash:Z=H[T.$getChildrenByClass](u),Z instanceof T.XFAObjectArray?Z=Z.children:Z=[Z];break;default:break}F&&ne.set(C,Z)}Z.length>0&&N.push(Z)}}}catch(Se){_.e(Se)}finally{_.f()}if(N.length===0&&!a&&l===0){var he=x[T.$getParent]();return x=he,x?(l=-1,p=[x],"continue"):{v:null}}isFinite(E)?p=N.filter(function(Se){return E<Se.length}).map(function(Se){return Se[E]}):p=N.reduce(function(Se,ue){return Se.concat(ue)},[])},m=s.length;l<m;l++){var o=i(m);if(o!=="continue"&&ge(o)==="object")return o.v}return p.length===0?null:p}function O(p,x){var f=null,h=e(x),F;try{for(h.s();!(F=h.n()).done;){for(var s=F.value,g=s.name,l=s.index,a=0,i=isFinite(l)?l:0;a<=i;a++){var m=p[T.$namespaceId]===y?-1:p[T.$namespaceId];f=new T.XmlObject(m,g),p[T.$appendChild](f)}p=f}}catch(o){h.e(o)}finally{h.f()}return f}function w(p,x,f){var h=n(f);if(!h||h.some(function(v){return v.operator===q.dotDot}))return null;var F=re.get(h[0].name),s=0;F?(p=F(p,x),s=1):p=x||p;for(var g=h.length;s<g;s++){var l=h[s],a=l.name,i=l.operator,m=l.index;if(!isFinite(m))return h[s].index=0,O(p,h.slice(s));var o=void 0;switch(i){case q.dot:o=p[T.$getChildrenByName](a,!1);break;case q.dotDot:o=p[T.$getChildrenByName](a,!0);break;case q.dotHash:o=p[T.$getChildrenByClass](a),o instanceof T.XFAObjectArray?o=o.children:o=[o];break;default:break}if(o.length===0)return O(p,h.slice(s));if(m<o.length){var c=o[m];if(!(c instanceof T.XFAObject))return(0,t.warn)("XFA - Cannot create a node."),null;p=c}else return h[s].index=m-o.length,O(p,h.slice(s))}return null}},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.Binder=void 0;var T=D(205),b=D(210),t=D(208),e=D(207),ge=D(4);function le(n,S){return be(n)||ye(n,S)||ae(n,S)||V()}function V(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ye(n,S){var O=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(O!=null){var w=[],p=!0,x=!1,f,h;try{for(O=O.call(n);!(p=(f=O.next()).done)&&(w.push(f.value),!(S&&w.length===S));p=!0);}catch(F){x=!0,h=F}finally{try{!p&&O.return!=null&&O.return()}finally{if(x)throw h}}return w}}function be(n){if(Array.isArray(n))return n}function xe(n,S){var O=typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(!O){if(Array.isArray(n)||(O=ae(n))||S&&n&&typeof n.length=="number"){O&&(n=O);var w=0,p=function(){};return{s:p,n:function(){return w>=n.length?{done:!0}:{done:!1,value:n[w++]}},e:function(s){throw s},f:p}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var x=!0,f=!1,h;return{s:function(){O=O.call(n)},n:function(){var s=O.next();return x=s.done,s},e:function(s){f=!0,h=s},f:function(){try{!x&&O.return!=null&&O.return()}finally{if(f)throw h}}}}function ae(n,S){if(!!n){if(typeof n=="string")return d(n,S);var O=Object.prototype.toString.call(n).slice(8,-1);if(O==="Object"&&n.constructor&&(O=n.constructor.name),O==="Map"||O==="Set")return Array.from(n);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return d(n,S)}}function d(n,S){(S==null||S>n.length)&&(S=n.length);for(var O=0,w=new Array(S);O<S;O++)w[O]=n[O];return w}function ce(n,S){if(!(n instanceof S))throw new TypeError("Cannot call a class as a function")}function q(n,S){for(var O=0;O<S.length;O++){var w=S[O];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(n,w.key,w)}}function re(n,S,O){return S&&q(n.prototype,S),O&&q(n,O),n}var X=e.NamespaceIds.datasets.id;function y(n){var S=new b.Text({});return S[T.$content]=n,S}var k=function(){function n(S){ce(this,n),this.root=S,this.datasets=S.datasets,S.datasets&&S.datasets.data?this.data=S.datasets.data:this.data=new T.XmlObject(e.NamespaceIds.datasets.id,"data"),this.emptyMerge=this.data[T.$getChildren]().length===0,this.root.form=this.form=S.template[T.$clone]()}return re(n,[{key:"_isConsumeData",value:function(){return!this.emptyMerge&&this._mergeMode}},{key:"_isMatchTemplate",value:function(){return!this._isConsumeData()}},{key:"bind",value:function(){return this._bindElement(this.form,this.data),this.form}},{key:"getData",value:function(){return this.data}},{key:"_bindValue",value:function(O,w,p){if(O[T.$data]=w,O[T.$hasSettableValue]())if(w[T.$isDataValue]()){var x=w[T.$getDataValue]();O[T.$setValue](y(x))}else if(O instanceof b.Field&&O.ui&&O.ui.choiceList&&O.ui.choiceList.open==="multiSelect"){var f=w[T.$getChildren]().map(function(h){return h[T.$content].trim()}).join(`
`);O[T.$setValue](y(f))}else this._isConsumeData()&&(0,ge.warn)("XFA - Nodes haven't the same type.");else!w[T.$isDataValue]()||this._isMatchTemplate()?this._bindElement(O,w):(0,ge.warn)("XFA - Nodes haven't the same type.")}},{key:"_findDataByNameToConsume",value:function(O,w,p,x){if(!O)return null;for(var f,h,F=0;F<3;F++){for(f=p[T.$getRealChildrenByNameIt](O,!1,!0);h=f.next().value,!!h;)if(w===h[T.$isDataValue]())return h;if(p[T.$namespaceId]===e.NamespaceIds.datasets.id&&p[T.$nodeName]==="data")break;p=p[T.$getParent]()}return x?(f=this.data[T.$getRealChildrenByNameIt](O,!0,!1),h=f.next().value,h||(f=this.data[T.$getAttributeIt](O,!0),h=f.next().value,h&&h[T.$isDataValue]())?h:null):null}},{key:"_setProperties",value:function(O,w){if(!!O.hasOwnProperty("setProperty")){var p=xe(O.setProperty.children),x;try{for(p.s();!(x=p.n()).done;){var f=x.value,h=f.ref,F=f.target,s=f.connection;if(!s&&!!h){var g=(0,t.searchNode)(this.root,w,h,!1,!1);if(!g){(0,ge.warn)("XFA - Invalid reference: ".concat(h,"."));continue}var l=le(g,1),a=l[0];if(!a[T.$isDescendent](this.data)){(0,ge.warn)("XFA - Invalid node: must be a data node.");continue}var i=(0,t.searchNode)(this.root,O,F,!1,!1);if(!i){(0,ge.warn)("XFA - Invalid target: ".concat(F,"."));continue}var m=le(i,1),o=m[0];if(!o[T.$isDescendent](O)){(0,ge.warn)("XFA - Invalid target: must be a property or subproperty.");continue}var c=o[T.$getParent]();if(o instanceof b.SetProperty||c instanceof b.SetProperty){(0,ge.warn)("XFA - Invalid target: cannot be a setProperty or one of its properties.");continue}if(o instanceof b.BindItems||c instanceof b.BindItems){(0,ge.warn)("XFA - Invalid target: cannot be a bindItems or one of its properties.");continue}var v=a[T.$text](),A=o[T.$nodeName];if(o instanceof T.XFAAttribute){var u=Object.create(null);u[A]=v;var C=Reflect.construct(Object.getPrototypeOf(c).constructor,[u]);c[A]=C[A];continue}if(!o.hasOwnProperty(T.$content)){(0,ge.warn)("XFA - Invalid node to use in setProperty");continue}o[T.$data]=a,o[T.$content]=v,o[T.$finalize]()}}}catch(I){p.e(I)}finally{p.f()}}}},{key:"_bindItems",value:function(O,w){if(!(!O.hasOwnProperty("items")||!O.hasOwnProperty("bindItems")||O.bindItems.isEmpty())){var p=xe(O.items.children),x;try{for(p.s();!(x=p.n()).done;){var f=x.value;O[T.$removeChild](f)}}catch(ne){p.e(ne)}finally{p.f()}O.items.clear();var h=new b.Items({}),F=new b.Items({});O[T.$appendChild](h),O.items.push(h),O[T.$appendChild](F),O.items.push(F);var s=xe(O.bindItems.children),g;try{for(s.s();!(g=s.n()).done;){var l=g.value,a=l.ref,i=l.labelRef,m=l.valueRef,o=l.connection;if(!o&&!!a){var c=(0,t.searchNode)(this.root,w,a,!1,!1);if(!c){(0,ge.warn)("XFA - Invalid reference: ".concat(a,"."));continue}var v=xe(c),A;try{for(v.s();!(A=v.n()).done;){var u=A.value;if(!u[T.$isDescendent](this.datasets)){(0,ge.warn)("XFA - Invalid ref (".concat(a,"): must be a datasets child."));continue}var C=(0,t.searchNode)(this.root,u,i,!0,!1);if(!C){(0,ge.warn)("XFA - Invalid label: ".concat(i,"."));continue}var I=le(C,1),E=I[0];if(!E[T.$isDescendent](this.datasets)){(0,ge.warn)("XFA - Invalid label: must be a datasets child.");continue}var N=(0,t.searchNode)(this.root,u,m,!0,!1);if(!N){(0,ge.warn)("XFA - Invalid value: ".concat(m,"."));continue}var _=le(N,1),Y=_[0];if(!Y[T.$isDescendent](this.datasets)){(0,ge.warn)("XFA - Invalid value: must be a datasets child.");continue}var H=y(E[T.$text]()),Z=y(Y[T.$text]());h[T.$appendChild](H),h.text.push(H),F[T.$appendChild](Z),F.text.push(Z)}}catch(ne){v.e(ne)}finally{v.f()}}}}catch(ne){s.e(ne)}finally{s.f()}}}},{key:"_bindOccurrences",value:function(O,w,p){var x;if(w.length>1&&(x=O[T.$clone](),x[T.$removeChild](x.occur),x.occur=null),this._bindValue(O,w[0],p),this._setProperties(O,w[0]),this._bindItems(O,w[0]),w.length!==1)for(var f=O[T.$getParent](),h=O[T.$nodeName],F=f[T.$indexOf](O),s=1,g=w.length;s<g;s++){var l=w[s],a=x[T.$clone]();f[h].push(a),f[T.$insertAt](F+s,a),this._bindValue(a,l,p),this._setProperties(a,l),this._bindItems(a,l)}}},{key:"_createOccurrences",value:function(O){if(!!this.emptyMerge){var w=O.occur;if(!(!w||w.initial<=1)){var p=O[T.$getParent](),x=O[T.$nodeName];if(p[x]instanceof T.XFAObjectArray){var f;O.name?f=p[x].children.filter(function(a){return a.name===O.name}).length:f=p[x].children.length;var h=p[T.$indexOf](O)+1,F=w.initial-f;if(F){var s=O[T.$clone]();s[T.$removeChild](s.occur),s.occur=null,p[x].push(s),p[T.$insertAt](h,s);for(var g=1;g<F;g++){var l=s[T.$clone]();p[x].push(l),p[T.$insertAt](h+g,l)}}}}}}},{key:"_getOccurInfo",value:function(O){var w=O.name,p=O.occur;if(!p||!w)return[1,1];var x=p.max===-1?Infinity:p.max;return[p.min,x]}},{key:"_setAndBind",value:function(O,w){this._setProperties(O,w),this._bindItems(O,w),this._bindElement(O,w)}},{key:"_bindElement",value:function(O,w){var p=[];this._createOccurrences(O);var x=xe(O[T.$getChildren]()),f;try{for(x.s();!(f=x.n()).done;){var h=f.value;if(!h[T.$data]){if(this._mergeMode===void 0&&h[T.$nodeName]==="subform"){this._mergeMode=h.mergeMode==="consumeData";var F=w[T.$getChildren]();if(F.length>0)this._bindOccurrences(h,[F[0]],null);else if(this.emptyMerge){var s=w[T.$namespaceId]===X?-1:w[T.$namespaceId],g=h[T.$data]=new T.XmlObject(s,h.name||"root");w[T.$appendChild](g),this._bindElement(h,g)}continue}if(!!h[T.$isBindable]()){var l=!1,a=null,i=null,m=null;if(h.bind){switch(h.bind.match){case"none":this._setAndBind(h,w);continue;case"global":l=!0;break;case"dataRef":if(!h.bind.ref){(0,ge.warn)("XFA - ref is empty in node ".concat(h[T.$nodeName],".")),this._setAndBind(h,w);continue}i=h.bind.ref;break;default:break}h.bind.picture&&(a=h.bind.picture[T.$content])}var o=this._getOccurInfo(h),c=le(o,2),v=c[0],A=c[1];if(i)if(m=(0,t.searchNode)(this.root,w,i,!0,!1),m===null){if(m=(0,t.createDataNode)(this.data,w,i),!m)continue;this._isConsumeData()&&(m[T.$consumed]=!0),this._setAndBind(h,m);continue}else this._isConsumeData()&&(m=m.filter(function(E){return!E[T.$consumed]})),m.length>A?m=m.slice(0,A):m.length===0&&(m=null),m&&this._isConsumeData()&&m.forEach(function(E){E[T.$consumed]=!0});else{if(!h.name){this._setAndBind(h,w);continue}if(this._isConsumeData()){for(var u=[];u.length<A;){var C=this._findDataByNameToConsume(h.name,h[T.$hasSettableValue](),w,l);if(!C)break;C[T.$consumed]=!0,u.push(C)}m=u.length>0?u:null}else{if(m=w[T.$getRealChildrenByNameIt](h.name,!1,this.emptyMerge).next().value,!m){if(v===0){p.push(h);continue}var I=w[T.$namespaceId]===X?-1:w[T.$namespaceId];m=h[T.$data]=new T.XmlObject(I,h.name),this.emptyMerge&&(m[T.$consumed]=!0),w[T.$appendChild](m),this._setAndBind(h,m);continue}this.emptyMerge&&(m[T.$consumed]=!0),m=[m]}}m?this._bindOccurrences(h,m,a):v>0?this._setAndBind(h,w):p.push(h)}}}}catch(E){x.e(E)}finally{x.f()}p.forEach(function(E){return E[T.$getParent]()[T.$removeChild](E)})}}]),n}();P.Binder=k},(Me,P,D)=>{"use strict";var T=D(2);Object.defineProperty(P,"__esModule",{value:!0}),P.Value=P.Text=P.TemplateNamespace=P.Template=P.SetProperty=P.Items=P.Field=P.BindItems=void 0;var b=d(D(2)),t=D(205),e=D(207),ge=D(211),le=D(212),V=D(206),ye=D(4),be=D(213),xe=D(139),ae=D(208);function d(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}function ce(Pe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ce=function(U){return typeof U}:ce=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},ce(Pe)}function q(Pe,Oe,U){return typeof Reflect!="undefined"&&Reflect.get?q=Reflect.get:q=function(r,Le,Xe){var at=re(r,Le);if(!!at){var lt=Object.getOwnPropertyDescriptor(at,Le);return lt.get?lt.get.call(Xe):lt.value}},q(Pe,Oe,U||Pe)}function re(Pe,Oe){for(;!Object.prototype.hasOwnProperty.call(Pe,Oe)&&(Pe=g(Pe),Pe!==null););return Pe}function X(Pe,Oe){return n(Pe)||k(Pe,Oe)||i(Pe,Oe)||y()}function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(Pe,Oe){var U=Pe==null?null:typeof Symbol!="undefined"&&Pe[Symbol.iterator]||Pe["@@iterator"];if(U!=null){var L=[],r=!0,Le=!1,Xe,at;try{for(U=U.call(Pe);!(r=(Xe=U.next()).done)&&(L.push(Xe.value),!(Oe&&L.length===Oe));r=!0);}catch(lt){Le=!0,at=lt}finally{try{!r&&U.return!=null&&U.return()}finally{if(Le)throw at}}return L}}function n(Pe){if(Array.isArray(Pe))return Pe}function S(Pe,Oe){for(var U=0;U<Oe.length;U++){var L=Oe[U];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(Pe,L.key,L)}}function O(Pe,Oe,U){return Oe&&S(Pe.prototype,Oe),U&&S(Pe,U),Pe}function w(Pe,Oe){if(!(Pe instanceof Oe))throw new TypeError("Cannot call a class as a function")}function p(Pe,Oe){if(typeof Oe!="function"&&Oe!==null)throw new TypeError("Super expression must either be null or a function");Pe.prototype=Object.create(Oe&&Oe.prototype,{constructor:{value:Pe,writable:!0,configurable:!0}}),Oe&&x(Pe,Oe)}function x(Pe,Oe){return x=Object.setPrototypeOf||function(L,r){return L.__proto__=r,L},x(Pe,Oe)}function f(Pe){var Oe=s();return function(){var L=g(Pe),r;if(Oe){var Le=g(this).constructor;r=Reflect.construct(L,arguments,Le)}else r=L.apply(this,arguments);return h(this,r)}}function h(Pe,Oe){if(Oe&&(ce(Oe)==="object"||typeof Oe=="function"))return Oe;if(Oe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(Pe)}function F(Pe){if(Pe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Pe}function s(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Pe){return!1}}function g(Pe){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},g(Pe)}var l=T.mark(H);function a(Pe,Oe){var U=typeof Symbol!="undefined"&&Pe[Symbol.iterator]||Pe["@@iterator"];if(!U){if(Array.isArray(Pe)||(U=i(Pe))||Oe&&Pe&&typeof Pe.length=="number"){U&&(Pe=U);var L=0,r=function(){};return{s:r,n:function(){return L>=Pe.length?{done:!0}:{done:!1,value:Pe[L++]}},e:function(Ot){throw Ot},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Le=!0,Xe=!1,at;return{s:function(){U=U.call(Pe)},n:function(){var Ot=U.next();return Le=Ot.done,Ot},e:function(Ot){Xe=!0,at=Ot},f:function(){try{!Le&&U.return!=null&&U.return()}finally{if(Xe)throw at}}}}function i(Pe,Oe){if(!!Pe){if(typeof Pe=="string")return m(Pe,Oe);var U=Object.prototype.toString.call(Pe).slice(8,-1);if(U==="Object"&&Pe.constructor&&(U=Pe.constructor.name),U==="Map"||U==="Set")return Array.from(Pe);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return m(Pe,Oe)}}function m(Pe,Oe){(Oe==null||Oe>Pe.length)&&(Oe=Pe.length);for(var U=0,L=new Array(Oe);U<Oe;U++)L[U]=Pe[U];return L}var o=e.NamespaceIds.template.id,c="http://www.w3.org/2000/svg",v=2,A=3,u=5e3,C=/^H(\d+)$/,I=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),E=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function N(Pe){if(!Pe||!Pe.border)return{w:0,h:0};var Oe=Pe.border[t.$getExtra]();return Oe?{w:Oe.widths[0]+Oe.widths[2]+Oe.insets[0]+Oe.insets[2],h:Oe.widths[1]+Oe.widths[3]+Oe.insets[1]+Oe.insets[3]}:{w:0,h:0}}function _(Pe){return Pe.margin&&(Pe.margin.topInset||Pe.margin.rightInset||Pe.margin.bottomInset||Pe.margin.leftInset)}function Y(Pe,Oe){if(!Pe.value){var U=new zt({});Pe[t.$appendChild](U),Pe.value=U}Pe.value[t.$setValue](Oe)}function H(Pe){var Oe,U,L;return b.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:Oe=a(Pe[t.$getChildren]()),Le.prev=1,Oe.s();case 3:if((U=Oe.n()).done){Le.next=12;break}if(L=U.value,!(L instanceof Gt)){Le.next=8;break}return Le.delegateYield(L[t.$getContainedChildren](),"t0",7);case 7:return Le.abrupt("continue",10);case 8:return Le.next=10,L;case 10:Le.next=3;break;case 12:Le.next=17;break;case 14:Le.prev=14,Le.t1=Le.catch(1),Oe.e(Le.t1);case 17:return Le.prev=17,Oe.f(),Le.finish(17);case 20:case"end":return Le.stop()}},l,null,[[1,14,17,20]])}function Z(Pe){for(;Pe;){if(!Pe.traversal){Pe[t.$tabIndex]=Pe[t.$getParent]()[t.$tabIndex];return}if(Pe[t.$tabIndex])return;var Oe=null,U=a(Pe.traversal[t.$getChildren]()),L;try{for(U.s();!(L=U.n()).done;){var r=L.value;if(r.operation==="next"){Oe=r;break}}}catch(at){U.e(at)}finally{U.f()}if(!Oe||!Oe.ref){Pe[t.$tabIndex]=Pe[t.$getParent]()[t.$tabIndex];return}var Le=Pe[t.$getTemplateRoot]();Pe[t.$tabIndex]=++Le[t.$tabIndex];var Xe=Le[t.$searchNode](Oe.ref,Pe);if(!Xe)return;Pe=Xe[0]}}function ne(Pe,Oe){var U=Pe.assist;if(U){var L=U[t.$toHTML]();L&&(Oe.title=L);var r=U.role,Le=r.match(C);if(Le){var Xe="heading",at=Le[1];Oe.role=Xe,Oe["aria-level"]=at}}if(Pe.layout==="table")Oe.role="table";else if(Pe.layout==="row")Oe.role="row";else{var lt=Pe[t.$getParent]();lt.layout==="row"&&(lt.assist&&lt.assist.role==="TH"?Oe.role="columnheader":Oe.role="cell")}}function he(Pe){if(!Pe.assist)return null;var Oe=Pe.assist;return Oe.speak&&Oe.speak[t.$content]!==""?Oe.speak[t.$content]:Oe.toolTip?Oe.toolTip[t.$content]:null}function Se(Pe){return V.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:Pe}]})}function ue(Pe){var Oe=Pe[t.$getTemplateRoot]();Oe[t.$extra].firstUnsplittable===null&&(Oe[t.$extra].firstUnsplittable=Pe,Oe[t.$extra].noLayoutFailure=!0)}function te(Pe){var Oe=Pe[t.$getTemplateRoot]();Oe[t.$extra].firstUnsplittable===Pe&&(Oe[t.$extra].noLayoutFailure=!1)}function $(Pe){if(Pe[t.$extra]||(Pe[t.$extra]=Object.create(null),Pe.targetType==="auto"))return!1;var Oe=Pe[t.$getTemplateRoot](),U=null;if(Pe.target){if(U=Oe[t.$searchNode](Pe.target,Pe[t.$getParent]()),!U)return!1;U=U[0]}var L=Oe[t.$extra],r=L.currentPageArea,Le=L.currentContentArea;if(Pe.targetType==="pageArea")return U instanceof ut||(U=null),Pe.startNew?(Pe[t.$extra].target=U||r,!0):U&&U!==r?(Pe[t.$extra].target=U,!0):!1;U instanceof Ne||(U=null);var Xe=U&&U[t.$getParent](),at,lt=Xe;if(Pe.startNew)if(U){var Ot=Xe.contentArea.children,Ct=Ot.indexOf(Le),At=Ot.indexOf(U);Ct!==-1&&Ct<At&&(lt=null),at=At-1}else at=r.contentArea.children.indexOf(Le);else if(U&&U!==Le){var Vt=Xe.contentArea.children;at=Vt.indexOf(U)-1,lt=Xe===r?null:Xe}else return!1;return Pe[t.$extra].target=lt,Pe[t.$extra].index=at,!0}function j(Pe,Oe,U){var L=Pe[t.$getTemplateRoot](),r=L[t.$extra].noLayoutFailure,Le=Oe[t.$getSubformParent];Oe[t.$getSubformParent]=function(){return Pe},L[t.$extra].noLayoutFailure=!0;var Xe=Oe[t.$toHTML](U);Pe[t.$addHTML](Xe.html,Xe.bbox),L[t.$extra].noLayoutFailure=r,Oe[t.$getSubformParent]=Le}var G=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"appearanceFilter"),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),M=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"arc",!0),r.circular=(0,V.getInteger)({data:L.circular,defaultValue:0,validate:function(Xe){return Xe===1}}),r.hand=(0,V.getStringOption)(L.hand,["even","left","right"]),r.id=L.id||"",r.startAngle=(0,V.getFloat)({data:L.startAngle,defaultValue:0,validate:function(Xe){return!0}}),r.sweepAngle=(0,V.getFloat)({data:L.sweepAngle,defaultValue:360,validate:function(Xe){return!0}}),r.use=L.use||"",r.usehref=L.usehref||"",r.edge=null,r.fill=null,r}return O(U,[{key:t.$toHTML,value:function(){var r=this.edge?this.edge:new xt({}),Le=r[t.$toStyle](),Xe=Object.create(null);this.fill&&this.fill.presence==="visible"?Object.assign(Xe,this.fill[t.$toStyle]()):Xe.fill="transparent",Xe.strokeWidth=(0,le.measureToString)(r.presence==="visible"?r.thickness:0),Xe.stroke=Le.color;var at,lt={xmlns:c,style:{width:"100%",height:"100%",overflow:"visible"}};if(this.sweepAngle===360)at={name:"ellipse",attributes:{xmlns:c,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:Xe}};else{var Ot=this.startAngle*Math.PI/180,Ct=this.sweepAngle*Math.PI/180,At=this.sweepAngle>180?1:0,Vt=50*(1+Math.cos(Ot)),Wt=50*(1-Math.sin(Ot)),Zt=50*(1+Math.cos(Ot+Ct)),er=50*(1-Math.sin(Ot+Ct));at={name:"path",attributes:{xmlns:c,d:"M ".concat(Vt," ").concat(Wt," A 50 50 0 ").concat(At," 0 ").concat(Zt," ").concat(er),vectorEffect:"non-scaling-stroke",style:Xe}},Object.assign(lt,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}var or={name:"svg",children:[at],attributes:lt},Ir=this[t.$getParent]()[t.$getParent]();return _(Ir)?V.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[or]}):(or.attributes.style.position="absolute",V.HTMLResult.success(or))}}]),U}(t.XFAObject),W=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"area",!0),r.colSpan=(0,V.getInteger)({data:L.colSpan,defaultValue:1,validate:function(Xe){return Xe>=1||Xe===-1}}),r.id=L.id||"",r.name=L.name||"",r.relevant=(0,V.getRelevant)(L.relevant),r.use=L.use||"",r.usehref=L.usehref||"",r.x=(0,V.getMeasurement)(L.x,"0pt"),r.y=(0,V.getMeasurement)(L.y,"0pt"),r.desc=null,r.extras=null,r.area=new t.XFAObjectArray,r.draw=new t.XFAObjectArray,r.exObject=new t.XFAObjectArray,r.exclGroup=new t.XFAObjectArray,r.field=new t.XFAObjectArray,r.subform=new t.XFAObjectArray,r.subformSet=new t.XFAObjectArray,r}return O(U,[{key:t.$getContainedChildren,value:b.default.mark(function L(){return b.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.delegateYield(H(this),"t0",1);case 1:case"end":return Le.stop()}},L,this)})},{key:t.$isTransparent,value:function(){return!0}},{key:t.$isBindable,value:function(){return!0}},{key:t.$addHTML,value:function(r,Le){var Xe=X(Le,4),at=Xe[0],lt=Xe[1],Ot=Xe[2],Ct=Xe[3];this[t.$extra].width=Math.max(this[t.$extra].width,at+Ot),this[t.$extra].height=Math.max(this[t.$extra].height,lt+Ct),this[t.$extra].children.push(r)}},{key:t.$getAvailableSpace,value:function(){return this[t.$extra].availableSpace}},{key:t.$toHTML,value:function(r){var Le=(0,le.toStyle)(this,"position"),Xe={style:Le,id:this[t.$uid],class:["xfaArea"]};(0,le.isPrintOnly)(this)&&Xe.class.push("xfaPrintOnly"),this.name&&(Xe.xfaName=this.name);var at=[];this[t.$extra]={children:at,width:0,height:0,availableSpace:r};var lt=this[t.$childrenToHTML]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!lt.success)return lt.isBreak()?lt:(delete this[t.$extra],V.HTMLResult.FAILURE);Le.width=(0,le.measureToString)(this[t.$extra].width),Le.height=(0,le.measureToString)(this[t.$extra].height);var Ot={name:"div",attributes:Xe,children:at},Ct=[this.x,this.y,this[t.$extra].width,this[t.$extra].height];return delete this[t.$extra],V.HTMLResult.success(Ot,Ct)}}]),U}(t.XFAObject),z=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"assist",!0),r.id=L.id||"",r.role=L.role||"",r.use=L.use||"",r.usehref=L.usehref||"",r.speak=null,r.toolTip=null,r}return O(U,[{key:t.$toHTML,value:function(){return this.toolTip&&this.toolTip[t.$content]?this.toolTip[t.$content]:null}}]),U}(t.XFAObject),J=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"barcode",!0),r.charEncoding=(0,V.getKeyword)({data:L.charEncoding?L.charEncoding.toLowerCase():"",defaultValue:"",validate:function(Xe){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(Xe)||Xe.match(/iso-8859-\d{2}/)}}),r.checksum=(0,V.getStringOption)(L.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),r.dataColumnCount=(0,V.getInteger)({data:L.dataColumnCount,defaultValue:-1,validate:function(Xe){return Xe>=0}}),r.dataLength=(0,V.getInteger)({data:L.dataLength,defaultValue:-1,validate:function(Xe){return Xe>=0}}),r.dataPrep=(0,V.getStringOption)(L.dataPrep,["none","flateCompress"]),r.dataRowCount=(0,V.getInteger)({data:L.dataRowCount,defaultValue:-1,validate:function(Xe){return Xe>=0}}),r.endChar=L.endChar||"",r.errorCorrectionLevel=(0,V.getInteger)({data:L.errorCorrectionLevel,defaultValue:-1,validate:function(Xe){return Xe>=0&&Xe<=8}}),r.id=L.id||"",r.moduleHeight=(0,V.getMeasurement)(L.moduleHeight,"5mm"),r.moduleWidth=(0,V.getMeasurement)(L.moduleWidth,"0.25mm"),r.printCheckDigit=(0,V.getInteger)({data:L.printCheckDigit,defaultValue:0,validate:function(Xe){return Xe===1}}),r.rowColumnRatio=(0,V.getRatio)(L.rowColumnRatio),r.startChar=L.startChar||"",r.textLocation=(0,V.getStringOption)(L.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),r.truncate=(0,V.getInteger)({data:L.truncate,defaultValue:0,validate:function(Xe){return Xe===1}}),r.type=(0,V.getStringOption)(L.type?L.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),r.upsMode=(0,V.getStringOption)(L.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),r.use=L.use||"",r.usehref=L.usehref||"",r.wideNarrowRatio=(0,V.getRatio)(L.wideNarrowRatio),r.encrypt=null,r.extras=null,r}return U}(t.XFAObject),Q=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"bind",!0),r.match=(0,V.getStringOption)(L.match,["once","dataRef","global","none"]),r.ref=L.ref||"",r.picture=null,r}return U}(t.XFAObject),K=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"bindItems"),r.connection=L.connection||"",r.labelRef=L.labelRef||"",r.ref=L.ref||"",r.valueRef=L.valueRef||"",r}return U}(t.XFAObject);P.BindItems=K;var de=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"bookend"),r.id=L.id||"",r.leader=L.leader||"",r.trailer=L.trailer||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.XFAObject),oe=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"boolean"),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$toHTML,value:function(r){return Se(this[t.$content]===1?"1":"0")}}]),U}(t.Option01),pe=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"border",!0),r.break=(0,V.getStringOption)(L.break,["close","open"]),r.hand=(0,V.getStringOption)(L.hand,["even","left","right"]),r.id=L.id||"",r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.relevant=(0,V.getRelevant)(L.relevant),r.use=L.use||"",r.usehref=L.usehref||"",r.corner=new t.XFAObjectArray(4),r.edge=new t.XFAObjectArray(4),r.extras=null,r.fill=null,r.margin=null,r}return O(U,[{key:t.$getExtra,value:function(){if(!this[t.$extra]){var r=this.edge.children.slice();if(r.length<4)for(var Le=r[r.length-1]||new xt({}),Xe=r.length;Xe<4;Xe++)r.push(Le);var at=r.map(function(Ot){return Ot.thickness}),lt=[0,0,0,0];this.margin&&(lt[0]=this.margin.topInset,lt[1]=this.margin.rightInset,lt[2]=this.margin.bottomInset,lt[3]=this.margin.leftInset),this[t.$extra]={widths:at,insets:lt,edges:r}}return this[t.$extra]}},{key:t.$toStyle,value:function(){var r=this[t.$getExtra](),Le=r.edges,Xe=Le.map(function(At){var Vt=At[t.$toStyle]();return Vt.color=Vt.color||"#000000",Vt}),at=Object.create(null);if(this.margin&&Object.assign(at,this.margin[t.$toStyle]()),this.fill&&this.fill.presence==="visible"&&Object.assign(at,this.fill[t.$toStyle]()),this.corner.children.some(function(At){return At.radius!==0})){var lt=this.corner.children.map(function(At){return At[t.$toStyle]()});if(lt.length===2||lt.length===3)for(var Ot=lt[lt.length-1],Ct=lt.length;Ct<4;Ct++)lt.push(Ot);at.borderRadius=lt.map(function(At){return At.radius}).join(" ")}switch(this.presence){case"invisible":case"hidden":at.borderStyle="";break;case"inactive":at.borderStyle="none";break;default:at.borderStyle=Xe.map(function(At){return At.style}).join(" ");break}return at.borderWidth=Xe.map(function(At){return At.width}).join(" "),at.borderColor=Xe.map(function(At){return At.color}).join(" "),at}}]),U}(t.XFAObject),fe=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"break",!0),r.after=(0,V.getStringOption)(L.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.afterTarget=L.afterTarget||"",r.before=(0,V.getStringOption)(L.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.beforeTarget=L.beforeTarget||"",r.bookendLeader=L.bookendLeader||"",r.bookendTrailer=L.bookendTrailer||"",r.id=L.id||"",r.overflowLeader=L.overflowLeader||"",r.overflowTarget=L.overflowTarget||"",r.overflowTrailer=L.overflowTrailer||"",r.startNew=(0,V.getInteger)({data:L.startNew,defaultValue:0,validate:function(Xe){return Xe===1}}),r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r}return U}(t.XFAObject),ke=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"breakAfter",!0),r.id=L.id||"",r.leader=L.leader||"",r.startNew=(0,V.getInteger)({data:L.startNew,defaultValue:0,validate:function(Xe){return Xe===1}}),r.target=L.target||"",r.targetType=(0,V.getStringOption)(L.targetType,["auto","contentArea","pageArea"]),r.trailer=L.trailer||"",r.use=L.use||"",r.usehref=L.usehref||"",r.script=null,r}return U}(t.XFAObject),Re=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"breakBefore",!0),r.id=L.id||"",r.leader=L.leader||"",r.startNew=(0,V.getInteger)({data:L.startNew,defaultValue:0,validate:function(Xe){return Xe===1}}),r.target=L.target||"",r.targetType=(0,V.getStringOption)(L.targetType,["auto","contentArea","pageArea"]),r.trailer=L.trailer||"",r.use=L.use||"",r.usehref=L.usehref||"",r.script=null,r}return O(U,[{key:t.$toHTML,value:function(r){return this[t.$extra]={},V.HTMLResult.FAILURE}}]),U}(t.XFAObject),ve=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"button",!0),r.highlight=(0,V.getStringOption)(L.highlight,["inverted","none","outline","push"]),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r}return O(U,[{key:t.$toHTML,value:function(r){var Le=this[t.$getParent](),Xe=Le[t.$getParent](),at={name:"button",attributes:{id:this[t.$uid],class:["xfaButton"],style:{}},children:[]},lt=a(Xe.event.children),Ot;try{for(lt.s();!(Ot=lt.n()).done;){var Ct=Ot.value;if(!(Ct.activity!=="click"||!Ct.script)){var At=(0,xe.recoverJsURL)(Ct.script[t.$content]);if(!!At){var Vt=(0,le.fixURL)(At.url);!Vt||at.children.push({name:"a",attributes:{id:"link"+this[t.$uid],href:Vt,newWindow:At.newWindow,class:["xfaLink"],style:{}},children:[]})}}}}catch(Wt){lt.e(Wt)}finally{lt.f()}return V.HTMLResult.success(at)}}]),U}(t.XFAObject),we=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"calculate",!0),r.id=L.id||"",r.override=(0,V.getStringOption)(L.override,["disabled","error","ignore","warning"]),r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.message=null,r.script=null,r}return U}(t.XFAObject),se=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"caption",!0),r.id=L.id||"",r.placement=(0,V.getStringOption)(L.placement,["left","bottom","inline","right","top"]),r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.reserve=Math.ceil((0,V.getMeasurement)(L.reserve)),r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.font=null,r.margin=null,r.para=null,r.value=null,r}return O(U,[{key:t.$setValue,value:function(L){function r(Le){return L.apply(this,arguments)}return r.toString=function(){return L.toString()},r}(function(L){Y(this,L)})},{key:t.$getExtra,value:function(r){if(!this[t.$extra]){var Le=r.width,Xe=r.height;switch(this.placement){case"left":case"right":case"inline":Le=this.reserve<=0?Le:this.reserve;break;case"top":case"bottom":Xe=this.reserve<=0?Xe:this.reserve;break}this[t.$extra]=(0,le.layoutNode)(this,{width:Le,height:Xe})}return this[t.$extra]}},{key:t.$toHTML,value:function(r){if(!this.value)return V.HTMLResult.EMPTY;this[t.$pushPara]();var Le=this.value[t.$toHTML](r).html;if(!Le)return this[t.$popPara](),V.HTMLResult.EMPTY;var Xe=this.reserve;if(this.reserve<=0){var at=this[t.$getExtra](r),lt=at.w,Ot=at.h;switch(this.placement){case"left":case"right":case"inline":this.reserve=lt;break;case"top":case"bottom":this.reserve=Ot;break}}var Ct=[];typeof Le=="string"?Ct.push({name:"#text",value:Le}):Ct.push(Le);var At=(0,le.toStyle)(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(At.width=(0,le.measureToString)(this.reserve));break;case"top":case"bottom":this.reserve>0&&(At.height=(0,le.measureToString)(this.reserve));break}return(0,le.setPara)(this,null,Le),this[t.$popPara](),this.reserve=Xe,V.HTMLResult.success({name:"div",attributes:{style:At,class:["xfaCaption"]},children:Ct})}}]),U}(t.XFAObject),me=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"certificate"),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),ee=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"certificates",!0),r.credentialServerPolicy=(0,V.getStringOption)(L.credentialServerPolicy,["optional","required"]),r.id=L.id||"",r.url=L.url||"",r.urlPolicy=L.urlPolicy||"",r.use=L.use||"",r.usehref=L.usehref||"",r.encryption=null,r.issuers=null,r.keyUsage=null,r.oids=null,r.signing=null,r.subjectDNs=null,r}return U}(t.XFAObject),Fe=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"checkButton",!0),r.id=L.id||"",r.mark=(0,V.getStringOption)(L.mark,["default","check","circle","cross","diamond","square","star"]),r.shape=(0,V.getStringOption)(L.shape,["square","round"]),r.size=(0,V.getMeasurement)(L.size,"10pt"),r.use=L.use||"",r.usehref=L.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return O(U,[{key:t.$toHTML,value:function(r){var Le=(0,le.toStyle)("margin"),Xe=(0,le.measureToString)(this.size);Le.width=Le.height=Xe;var at,lt,Ot,Ct=this[t.$getParent]()[t.$getParent](),At=Ct.items.children.length&&Ct.items.children[0][t.$toHTML]().html||[],Vt={on:(At[0]!==void 0?At[0]:"on").toString(),off:(At[1]!==void 0?At[1]:"off").toString()},Wt=Ct.value&&Ct.value[t.$text]()||"off",Zt=Wt===Vt.on||void 0,er=Ct[t.$getSubformParent](),or=Ct[t.$uid],Ir;er instanceof et?(Ot=er[t.$uid],at="radio",lt="xfaRadio",Ir=er[t.$data]&&er[t.$data][t.$uid]||er[t.$uid]):(at="checkbox",lt="xfaCheckbox",Ir=Ct[t.$data]&&Ct[t.$data][t.$uid]||Ct[t.$uid]);var kr={name:"input",attributes:{class:[lt],style:Le,fieldId:or,dataId:Ir,type:at,checked:Zt,xfaOn:Vt.on,xfaOff:Vt.off,"aria-label":he(Ct)}};return Ot&&(kr.attributes.name=Ot),V.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[kr]})}}]),U}(t.XFAObject),Ee=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"choiceList",!0),r.commitOn=(0,V.getStringOption)(L.commitOn,["select","exit"]),r.id=L.id||"",r.open=(0,V.getStringOption)(L.open,["userControl","always","multiSelect","onEntry"]),r.textEntry=(0,V.getInteger)({data:L.textEntry,defaultValue:0,validate:function(Xe){return Xe===1}}),r.use=L.use||"",r.usehref=L.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return O(U,[{key:t.$toHTML,value:function(r){var Le=(0,le.toStyle)(this,"border","margin"),Xe=this[t.$getParent](),at=Xe[t.$getParent](),lt=at.font&&at.font.size||10,Ot={fontSize:"calc(".concat(lt,"px * var(--zoom-factor))")},Ct=[];if(at.items.children.length>0){var At=at.items,Vt=0,Wt=0;At.children.length===2&&(Vt=At.children[0].save,Wt=1-Vt);for(var Zt=At.children[Vt][t.$toHTML]().html,er=At.children[Wt][t.$toHTML]().html,or=!1,Ir=at.value&&at.value[t.$text]()||"",kr=0,Mr=Zt.length;kr<Mr;kr++){var Xr={name:"option",attributes:{value:er[kr]||Zt[kr],style:Ot},value:Zt[kr]};er[kr]===Ir&&(Xr.attributes.selected=or=!0),Ct.push(Xr)}or||Ct.splice(0,0,{name:"option",attributes:{hidden:!0,selected:!0},value:" "})}var jr={class:["xfaSelect"],fieldId:at[t.$uid],dataId:at[t.$data]&&at[t.$data][t.$uid]||at[t.$uid],style:Le,"aria-label":he(at)};return this.open==="multiSelect"&&(jr.multiple=!0),V.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[{name:"select",children:Ct,attributes:jr}]})}}]),U}(t.XFAObject),Ce=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"color",!0),r.cSpace=(0,V.getStringOption)(L.cSpace,["SRGB"]),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.value=L.value?(0,V.getColor)(L.value):"",r.extras=null,r}return O(U,[{key:t.$hasSettableValue,value:function(){return!1}},{key:t.$toStyle,value:function(){return this.value?ye.Util.makeHexColor(this.value.r,this.value.g,this.value.b):null}}]),U}(t.XFAObject),De=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"comb"),r.id=L.id||"",r.numberOfCells=(0,V.getInteger)({data:L.numberOfCells,defaultValue:0,validate:function(Xe){return Xe>=0}}),r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.XFAObject),_e=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"connect",!0),r.connection=L.connection||"",r.id=L.id||"",r.ref=L.ref||"",r.usage=(0,V.getStringOption)(L.usage,["exportAndImport","exportOnly","importOnly"]),r.use=L.use||"",r.usehref=L.usehref||"",r.picture=null,r}return U}(t.XFAObject),Ne=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"contentArea",!0),r.h=(0,V.getMeasurement)(L.h),r.id=L.id||"",r.name=L.name||"",r.relevant=(0,V.getRelevant)(L.relevant),r.use=L.use||"",r.usehref=L.usehref||"",r.w=(0,V.getMeasurement)(L.w),r.x=(0,V.getMeasurement)(L.x,"0pt"),r.y=(0,V.getMeasurement)(L.y,"0pt"),r.desc=null,r.extras=null,r}return O(U,[{key:t.$toHTML,value:function(r){var Le=(0,le.measureToString)(this.x),Xe=(0,le.measureToString)(this.y),at={left:Le,top:Xe,width:(0,le.measureToString)(this.w),height:(0,le.measureToString)(this.h)},lt=["xfaContentarea"];return(0,le.isPrintOnly)(this)&&lt.push("xfaPrintOnly"),V.HTMLResult.success({name:"div",children:[],attributes:{style:at,class:lt,id:this[t.$uid]}})}}]),U}(t.XFAObject),$e=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"corner",!0),r.id=L.id||"",r.inverted=(0,V.getInteger)({data:L.inverted,defaultValue:0,validate:function(Xe){return Xe===1}}),r.join=(0,V.getStringOption)(L.join,["square","round"]),r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.radius=(0,V.getMeasurement)(L.radius),r.stroke=(0,V.getStringOption)(L.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),r.thickness=(0,V.getMeasurement)(L.thickness,"0.5pt"),r.use=L.use||"",r.usehref=L.usehref||"",r.color=null,r.extras=null,r}return O(U,[{key:t.$toStyle,value:function(){var r=(0,le.toStyle)(this,"visibility");return r.radius=(0,le.measureToString)(this.join==="square"?0:this.radius),r}}]),U}(t.XFAObject),je=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"date"),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$finalize,value:function(){var r=this[t.$content].trim();this[t.$content]=r?new Date(r):null}},{key:t.$toHTML,value:function(r){return Se(this[t.$content]?this[t.$content].toString():"")}}]),U}(t.ContentObject),Ve=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"dateTime"),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$finalize,value:function(){var r=this[t.$content].trim();this[t.$content]=r?new Date(r):null}},{key:t.$toHTML,value:function(r){return Se(this[t.$content]?this[t.$content].toString():"")}}]),U}(t.ContentObject),Ke=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"dateTimeEdit",!0),r.hScrollPolicy=(0,V.getStringOption)(L.hScrollPolicy,["auto","off","on"]),r.id=L.id||"",r.picker=(0,V.getStringOption)(L.picker,["host","none"]),r.use=L.use||"",r.usehref=L.usehref||"",r.border=null,r.comb=null,r.extras=null,r.margin=null,r}return O(U,[{key:t.$toHTML,value:function(r){var Le=(0,le.toStyle)(this,"border","font","margin"),Xe=this[t.$getParent]()[t.$getParent](),at={name:"input",attributes:{type:"text",fieldId:Xe[t.$uid],dataId:Xe[t.$data]&&Xe[t.$data][t.$uid]||Xe[t.$uid],class:["xfaTextfield"],style:Le,"aria-label":he(Xe)}};return V.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[at]})}}]),U}(t.XFAObject),Qe=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"decimal"),r.fracDigits=(0,V.getInteger)({data:L.fracDigits,defaultValue:2,validate:function(Xe){return!0}}),r.id=L.id||"",r.leadDigits=(0,V.getInteger)({data:L.leadDigits,defaultValue:-1,validate:function(Xe){return!0}}),r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$finalize,value:function(){var r=parseFloat(this[t.$content].trim());this[t.$content]=isNaN(r)?null:r}},{key:t.$toHTML,value:function(r){return Se(this[t.$content]!==null?this[t.$content].toString():"")}}]),U}(t.ContentObject),Ze=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"defaultUi",!0),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r}return U}(t.XFAObject),ze=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"desc",!0),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.boolean=new t.XFAObjectArray,r.date=new t.XFAObjectArray,r.dateTime=new t.XFAObjectArray,r.decimal=new t.XFAObjectArray,r.exData=new t.XFAObjectArray,r.float=new t.XFAObjectArray,r.image=new t.XFAObjectArray,r.integer=new t.XFAObjectArray,r.text=new t.XFAObjectArray,r.time=new t.XFAObjectArray,r}return U}(t.XFAObject),ct=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.OptionObject),Je=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"digestMethods",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r.digestMethod=new t.XFAObjectArray,r}return U}(t.XFAObject),gt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"draw",!0),r.anchorType=(0,V.getStringOption)(L.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=(0,V.getInteger)({data:L.colSpan,defaultValue:1,validate:function(Xe){return Xe>=1||Xe===-1}}),r.h=L.h?(0,V.getMeasurement)(L.h):"",r.hAlign=(0,V.getStringOption)(L.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=L.id||"",r.locale=L.locale||"",r.maxH=(0,V.getMeasurement)(L.maxH,"0pt"),r.maxW=(0,V.getMeasurement)(L.maxW,"0pt"),r.minH=(0,V.getMeasurement)(L.minH,"0pt"),r.minW=(0,V.getMeasurement)(L.minW,"0pt"),r.name=L.name||"",r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.relevant=(0,V.getRelevant)(L.relevant),r.rotate=(0,V.getInteger)({data:L.rotate,defaultValue:0,validate:function(Xe){return Xe%90==0}}),r.use=L.use||"",r.usehref=L.usehref||"",r.w=L.w?(0,V.getMeasurement)(L.w):"",r.x=(0,V.getMeasurement)(L.x,"0pt"),r.y=(0,V.getMeasurement)(L.y,"0pt"),r.assist=null,r.border=null,r.caption=null,r.desc=null,r.extras=null,r.font=null,r.keep=null,r.margin=null,r.para=null,r.traversal=null,r.ui=null,r.value=null,r.setProperty=new t.XFAObjectArray,r}return O(U,[{key:t.$setValue,value:function(L){function r(Le){return L.apply(this,arguments)}return r.toString=function(){return L.toString()},r}(function(L){Y(this,L)})},{key:t.$toHTML,value:function(r){if(Z(this),this.presence==="hidden"||this.presence==="inactive")return V.HTMLResult.EMPTY;(0,le.fixDimensions)(this),this[t.$pushPara]();var Le=this.w,Xe=this.h,at=(0,le.layoutNode)(this,r),lt=at.w,Ot=at.h,Ct=at.isBroken;if(lt&&this.w===""){if(Ct&&this[t.$getSubformParent]()[t.$isThereMoreWidth]())return this[t.$popPara](),V.HTMLResult.FAILURE;this.w=lt}if(Ot&&this.h===""&&(this.h=Ot),ue(this),!(0,ge.checkDimensions)(this,r))return this.w=Le,this.h=Xe,this[t.$popPara](),V.HTMLResult.FAILURE;te(this);var At=(0,le.toStyle)(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");(0,le.setMinMaxDimensions)(this,At),At.margin&&(At.padding=At.margin,delete At.margin);var Vt=["xfaDraw"];this.font&&Vt.push("xfaFont"),(0,le.isPrintOnly)(this)&&Vt.push("xfaPrintOnly");var Wt={style:At,id:this[t.$uid],class:Vt};this.name&&(Wt.xfaName=this.name);var Zt={name:"div",attributes:Wt,children:[]};ne(this,Wt);var er=(0,le.computeBbox)(this,Zt,r),or=this.value?this.value[t.$toHTML](r).html:null;return or===null?(this.w=Le,this.h=Xe,this[t.$popPara](),V.HTMLResult.success((0,le.createWrapper)(this,Zt),er)):(Zt.children.push(or),(0,le.setPara)(this,At,or),this.w=Le,this.h=Xe,this[t.$popPara](),V.HTMLResult.success((0,le.createWrapper)(this,Zt),er))}}]),U}(t.XFAObject),xt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"edge",!0),r.cap=(0,V.getStringOption)(L.cap,["square","butt","round"]),r.id=L.id||"",r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.stroke=(0,V.getStringOption)(L.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),r.thickness=(0,V.getMeasurement)(L.thickness,"0.5pt"),r.use=L.use||"",r.usehref=L.usehref||"",r.color=null,r.extras=null,r}return O(U,[{key:t.$toStyle,value:function(){var r=(0,le.toStyle)(this,"visibility");if(Object.assign(r,{linecap:this.cap,width:(0,le.measureToString)(this.thickness),color:this.color?this.color[t.$toStyle]():"#000000",style:""}),this.presence!=="visible")r.style="none";else switch(this.stroke){case"solid":r.style="solid";break;case"dashDot":r.style="dashed";break;case"dashDotDot":r.style="dashed";break;case"dashed":r.style="dashed";break;case"dotted":r.style="dotted";break;case"embossed":r.style="ridge";break;case"etched":r.style="groove";break;case"lowered":r.style="inset";break;case"raised":r.style="outset";break}return r}}]),U}(t.XFAObject),tt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.OptionObject),yt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"encodings",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r.encoding=new t.XFAObjectArray,r}return U}(t.XFAObject),It=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"encrypt",!0),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.certificate=null,r}return U}(t.XFAObject),ft=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"encryptData",!0),r.id=L.id||"",r.operation=(0,V.getStringOption)(L.operation,["encrypt","decrypt"]),r.target=L.target||"",r.use=L.use||"",r.usehref=L.usehref||"",r.filter=null,r.manifest=null,r}return U}(t.XFAObject),Ut=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"encryption",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r.certificate=new t.XFAObjectArray,r}return U}(t.XFAObject),kt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.OptionObject),Nt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"encryptionMethods",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r.encryptionMethod=new t.XFAObjectArray,r}return U}(t.XFAObject),ar=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"event",!0),r.activity=(0,V.getStringOption)(L.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),r.id=L.id||"",r.listen=(0,V.getStringOption)(L.listen,["refOnly","refAndDescendents"]),r.name=L.name||"",r.ref=L.ref||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.encryptData=null,r.execute=null,r.script=null,r.signData=null,r.submit=null,r}return U}(t.XFAObject),Qt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"exData"),r.contentType=L.contentType||"",r.href=L.href||"",r.id=L.id||"",r.maxLength=(0,V.getInteger)({data:L.maxLength,defaultValue:-1,validate:function(Xe){return Xe>=-1}}),r.name=L.name||"",r.rid=L.rid||"",r.transferEncoding=(0,V.getStringOption)(L.transferEncoding,["none","base64","package"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$isCDATAXml,value:function(){return this.contentType==="text/html"}},{key:t.$onChild,value:function(r){return this.contentType==="text/html"&&r[t.$namespaceId]===e.NamespaceIds.xhtml.id?(this[t.$content]=r,!0):this.contentType==="text/xml"?(this[t.$content]=r,!0):!1}},{key:t.$toHTML,value:function(r){return this.contentType!=="text/html"||!this[t.$content]?V.HTMLResult.EMPTY:this[t.$content][t.$toHTML](r)}}]),U}(t.ContentObject),He=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"exObject",!0),r.archive=L.archive||"",r.classId=L.classId||"",r.codeBase=L.codeBase||"",r.codeType=L.codeType||"",r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.boolean=new t.XFAObjectArray,r.date=new t.XFAObjectArray,r.dateTime=new t.XFAObjectArray,r.decimal=new t.XFAObjectArray,r.exData=new t.XFAObjectArray,r.exObject=new t.XFAObjectArray,r.float=new t.XFAObjectArray,r.image=new t.XFAObjectArray,r.integer=new t.XFAObjectArray,r.text=new t.XFAObjectArray,r.time=new t.XFAObjectArray,r}return U}(t.XFAObject),et=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"exclGroup",!0),r.access=(0,V.getStringOption)(L.access,["open","nonInteractive","protected","readOnly"]),r.accessKey=L.accessKey||"",r.anchorType=(0,V.getStringOption)(L.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=(0,V.getInteger)({data:L.colSpan,defaultValue:1,validate:function(Xe){return Xe>=1||Xe===-1}}),r.h=L.h?(0,V.getMeasurement)(L.h):"",r.hAlign=(0,V.getStringOption)(L.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=L.id||"",r.layout=(0,V.getStringOption)(L.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),r.maxH=(0,V.getMeasurement)(L.maxH,"0pt"),r.maxW=(0,V.getMeasurement)(L.maxW,"0pt"),r.minH=(0,V.getMeasurement)(L.minH,"0pt"),r.minW=(0,V.getMeasurement)(L.minW,"0pt"),r.name=L.name||"",r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.relevant=(0,V.getRelevant)(L.relevant),r.use=L.use||"",r.usehref=L.usehref||"",r.w=L.w?(0,V.getMeasurement)(L.w):"",r.x=(0,V.getMeasurement)(L.x,"0pt"),r.y=(0,V.getMeasurement)(L.y,"0pt"),r.assist=null,r.bind=null,r.border=null,r.calculate=null,r.caption=null,r.desc=null,r.extras=null,r.margin=null,r.para=null,r.traversal=null,r.validate=null,r.connect=new t.XFAObjectArray,r.event=new t.XFAObjectArray,r.field=new t.XFAObjectArray,r.setProperty=new t.XFAObjectArray,r}return O(U,[{key:t.$isBindable,value:function(){return!0}},{key:t.$hasSettableValue,value:function(){return!0}},{key:t.$setValue,value:function(L){function r(Le){return L.apply(this,arguments)}return r.toString=function(){return L.toString()},r}(function(L){var r=a(this.field.children),Le;try{for(r.s();!(Le=r.n()).done;){var Xe=Le.value;if(!Xe.value){var at=new zt({});Xe[t.$appendChild](at),Xe.value=at}Xe.value[t.$setValue](L)}}catch(lt){r.e(lt)}finally{r.f()}})},{key:t.$isThereMoreWidth,value:function(){return this.layout.endsWith("-tb")&&this[t.$extra].attempt===0&&this[t.$extra].numberInLine>0||this[t.$getParent]()[t.$isThereMoreWidth]()}},{key:t.$isSplittable,value:function(){var r=this[t.$getSubformParent]();return r[t.$isSplittable]()?this[t.$extra]._isSplittable!==void 0?this[t.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[t.$extra]._isSplittable=!1,!1):r.layout&&r.layout.endsWith("-tb")&&r[t.$extra].numberInLine!==0?!1:(this[t.$extra]._isSplittable=!0,!0):!1}},{key:t.$flushHTML,value:function(){return(0,ge.flushHTML)(this)}},{key:t.$addHTML,value:function(r,Le){(0,ge.addHTML)(this,r,Le)}},{key:t.$getAvailableSpace,value:function(){return(0,ge.getAvailableSpace)(this)}},{key:t.$toHTML,value:function(r){if(Z(this),this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return V.HTMLResult.EMPTY;(0,le.fixDimensions)(this);var Le=[],Xe={id:this[t.$uid],class:[]};(0,le.setAccess)(this,Xe.class),this[t.$extra]||(this[t.$extra]=Object.create(null)),Object.assign(this[t.$extra],{children:Le,attributes:Xe,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||Infinity,r.width),height:Math.min(this.h||Infinity,r.height)},width:0,height:0,prevHeight:0,currentWidth:0});var at=this[t.$isSplittable]();if(at||ue(this),!(0,ge.checkDimensions)(this,r))return V.HTMLResult.FAILURE;var lt=new Set(["field"]);if(this.layout.includes("row")){var Ot=this[t.$getSubformParent]().columnWidths;Array.isArray(Ot)&&Ot.length>0&&(this[t.$extra].columnWidths=Ot,this[t.$extra].currentColumn=0)}var Ct=(0,le.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),At=["xfaExclgroup"],Vt=(0,le.layoutClass)(this);Vt&&At.push(Vt),(0,le.isPrintOnly)(this)&&At.push("xfaPrintOnly"),Xe.style=Ct,Xe.class=At,this.name&&(Xe.xfaName=this.name),this[t.$pushPara]();for(var Wt=this.layout==="lr-tb"||this.layout==="rl-tb",Zt=Wt?v:1;this[t.$extra].attempt<Zt;this[t.$extra].attempt++){Wt&&this[t.$extra].attempt===v-1&&(this[t.$extra].numberInLine=0);var er=this[t.$childrenToHTML]({filter:lt,include:!0});if(er.success)break;if(er.isBreak())return this[t.$popPara](),er;if(Wt&&this[t.$extra].attempt===0&&this[t.$extra].numberInLine===0&&!this[t.$getTemplateRoot]()[t.$extra].noLayoutFailure){this[t.$extra].attempt=Zt;break}}if(this[t.$popPara](),at||te(this),this[t.$extra].attempt===Zt)return at||delete this[t.$extra],V.HTMLResult.FAILURE;var or=0,Ir=0;this.margin&&(or=this.margin.leftInset+this.margin.rightInset,Ir=this.margin.topInset+this.margin.bottomInset);var kr=Math.max(this[t.$extra].width+or,this.w||0),Mr=Math.max(this[t.$extra].height+Ir,this.h||0),Xr=[this.x,this.y,kr,Mr];this.w===""&&(Ct.width=(0,le.measureToString)(kr)),this.h===""&&(Ct.height=(0,le.measureToString)(Mr));var jr={name:"div",attributes:Xe,children:Le};return ne(this,Xe),delete this[t.$extra],V.HTMLResult.success((0,le.createWrapper)(this,jr),Xr)}}]),U}(t.XFAObject),Ue=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"execute"),r.connection=L.connection||"",r.executeType=(0,V.getStringOption)(L.executeType,["import","remerge"]),r.id=L.id||"",r.runAt=(0,V.getStringOption)(L.runAt,["client","both","server"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.XFAObject),qe=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"extras",!0),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r.boolean=new t.XFAObjectArray,r.date=new t.XFAObjectArray,r.dateTime=new t.XFAObjectArray,r.decimal=new t.XFAObjectArray,r.exData=new t.XFAObjectArray,r.extras=new t.XFAObjectArray,r.float=new t.XFAObjectArray,r.image=new t.XFAObjectArray,r.integer=new t.XFAObjectArray,r.text=new t.XFAObjectArray,r.time=new t.XFAObjectArray,r}return U}(t.XFAObject),ot=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"field",!0),r.access=(0,V.getStringOption)(L.access,["open","nonInteractive","protected","readOnly"]),r.accessKey=L.accessKey||"",r.anchorType=(0,V.getStringOption)(L.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=(0,V.getInteger)({data:L.colSpan,defaultValue:1,validate:function(Xe){return Xe>=1||Xe===-1}}),r.h=L.h?(0,V.getMeasurement)(L.h):"",r.hAlign=(0,V.getStringOption)(L.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=L.id||"",r.locale=L.locale||"",r.maxH=(0,V.getMeasurement)(L.maxH,"0pt"),r.maxW=(0,V.getMeasurement)(L.maxW,"0pt"),r.minH=(0,V.getMeasurement)(L.minH,"0pt"),r.minW=(0,V.getMeasurement)(L.minW,"0pt"),r.name=L.name||"",r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.relevant=(0,V.getRelevant)(L.relevant),r.rotate=(0,V.getInteger)({data:L.rotate,defaultValue:0,validate:function(Xe){return Xe%90==0}}),r.use=L.use||"",r.usehref=L.usehref||"",r.w=L.w?(0,V.getMeasurement)(L.w):"",r.x=(0,V.getMeasurement)(L.x,"0pt"),r.y=(0,V.getMeasurement)(L.y,"0pt"),r.assist=null,r.bind=null,r.border=null,r.calculate=null,r.caption=null,r.desc=null,r.extras=null,r.font=null,r.format=null,r.items=new t.XFAObjectArray(2),r.keep=null,r.margin=null,r.para=null,r.traversal=null,r.ui=null,r.validate=null,r.value=null,r.bindItems=new t.XFAObjectArray,r.connect=new t.XFAObjectArray,r.event=new t.XFAObjectArray,r.setProperty=new t.XFAObjectArray,r}return O(U,[{key:t.$isBindable,value:function(){return!0}},{key:t.$setValue,value:function(L){function r(Le){return L.apply(this,arguments)}return r.toString=function(){return L.toString()},r}(function(L){Y(this,L)})},{key:t.$toHTML,value:function(r){if(Z(this),!this.ui){this.ui=new Ye({}),this.ui[t.$globalData]=this[t.$globalData],this[t.$appendChild](this.ui);var Le;switch(this.items.children.length){case 0:Le=new Ar({}),this.ui.textEdit=Le;break;case 1:Le=new Fe({}),this.ui.checkButton=Le;break;case 2:Le=new Ee({}),this.ui.choiceList=Le;break}this.ui[t.$appendChild](Le)}if(!this.ui||this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return V.HTMLResult.EMPTY;this.caption&&delete this.caption[t.$extra],this[t.$pushPara]();var Xe=this.caption?this.caption[t.$toHTML](r).html:null,at=this.w,lt=this.h,Ot=0,Ct=0;this.margin&&(Ot=this.margin.leftInset+this.margin.rightInset,Ct=this.margin.topInset+this.margin.bottomInset);var At=null;if(this.w===""||this.h===""){var Vt=null,Wt=null,Zt=0,er=0;if(this.ui.checkButton)Zt=er=this.ui.checkButton.size;else{var or=(0,le.layoutNode)(this,r),Ir=or.w,kr=or.h;Ir!==null?(Zt=Ir,er=kr):er=(0,be.getMetrics)(this.font,!0).lineNoGap}if(At=N(this.ui[t.$getExtra]()),Zt+=At.w,er+=At.h,this.caption){var Mr=this.caption[t.$getExtra](r),Xr=Mr.w,jr=Mr.h,Wr=Mr.isBroken;if(Wr&&this[t.$getSubformParent]()[t.$isThereMoreWidth]())return this[t.$popPara](),V.HTMLResult.FAILURE;switch(Vt=Xr,Wt=jr,this.caption.placement){case"left":case"right":case"inline":Vt+=Zt;break;case"top":case"bottom":Wt+=er;break}}else Vt=Zt,Wt=er;Vt&&this.w===""&&(Vt+=Ot,this.w=Math.min(this.maxW<=0?Infinity:this.maxW,this.minW+1<Vt?Vt:this.minW)),Wt&&this.h===""&&(Wt+=Ct,this.h=Math.min(this.maxH<=0?Infinity:this.maxH,this.minH+1<Wt?Wt:this.minH))}if(this[t.$popPara](),(0,le.fixDimensions)(this),ue(this),!(0,ge.checkDimensions)(this,r))return this.w=at,this.h=lt,this[t.$popPara](),V.HTMLResult.FAILURE;te(this);var _r=(0,le.toStyle)(this,"font","dimensions","position","rotate","anchorType","presence","margin","hAlign");(0,le.setMinMaxDimensions)(this,_r);var aa=["xfaField"];this.font&&aa.push("xfaFont"),(0,le.isPrintOnly)(this)&&aa.push("xfaPrintOnly");var ia={style:_r,id:this[t.$uid],class:aa};_r.margin&&(_r.padding=_r.margin,delete _r.margin),(0,le.setAccess)(this,aa),this.name&&(ia.xfaName=this.name);var ea=[],Jr={name:"div",attributes:ia,children:ea};ne(this,ia);var Rr=this.border?this.border[t.$toStyle]():null,fa=(0,le.computeBbox)(this,Jr,r),gr=this.ui[t.$toHTML]().html;if(!gr)return Object.assign(_r,Rr),V.HTMLResult.success((0,le.createWrapper)(this,Jr),fa);this[t.$tabIndex]&&(gr.children&&gr.children[0]?gr.children[0].attributes.tabindex=this[t.$tabIndex]:gr.attributes.tabindex=this[t.$tabIndex]),gr.attributes.style||(gr.attributes.style=Object.create(null));var la=null;if(this.ui.button){if(gr.children.length===1){var ua=gr.children.splice(0,1),Yr=X(ua,1);la=Yr[0]}Object.assign(gr.attributes.style,Rr)}else Object.assign(_r,Rr);if(ea.push(gr),this.value){if(this.ui.imageEdit)gr.children.push(this.value[t.$toHTML]().html);else if(!this.ui.button){var ta="";if(this.value.exData)ta=this.value.exData[t.$text]();else if(this.value.text)ta=this.value.text[t.$getExtra]();else{var Da=this.value[t.$toHTML]().html;Da!==null&&(ta=Da.children[0].value)}this.ui.textEdit&&this.value.text&&this.value.text.maxChars&&(gr.children[0].attributes.maxLength=this.value.text.maxChars),ta&&(this.ui.numericEdit&&(ta=parseFloat(ta),ta=isNaN(ta)?"":ta.toString()),gr.children[0].name==="textarea"?gr.children[0].attributes.textContent=ta:gr.children[0].attributes.value=ta)}}if(!this.ui.imageEdit&&gr.children&&gr.children[0]&&this.h){At=At||N(this.ui[t.$getExtra]());var Pr=0;if(this.caption&&["top","bottom"].includes(this.caption.placement)){Pr=this.caption.reserve,Pr<=0&&(Pr=this.caption[t.$getExtra](r).h);var pa=this.h-Pr-Ct-At.h;gr.children[0].attributes.style.height=(0,le.measureToString)(pa)}else gr.children[0].attributes.style.height="100%"}if(la&&gr.children.push(la),!Xe)return gr.attributes.class&&gr.attributes.class.push("xfaLeft"),this.w=at,this.h=lt,V.HTMLResult.success((0,le.createWrapper)(this,Jr),fa);if(this.ui.button)return _r.padding&&delete _r.padding,Xe.name==="div"&&(Xe.name="span"),gr.children.push(Xe),V.HTMLResult.success(Jr,fa);switch(this.ui.checkButton&&(Xe.attributes.class[0]="xfaCaptionForCheckButton"),gr.attributes.class||(gr.attributes.class=[]),gr.children.splice(0,0,Xe),this.caption.placement){case"left":gr.attributes.class.push("xfaLeft");break;case"right":gr.attributes.class.push("xfaRight");break;case"top":gr.attributes.class.push("xfaTop");break;case"bottom":gr.attributes.class.push("xfaBottom");break;case"inline":gr.attributes.class.push("xfaLeft");break}return this.w=at,this.h=lt,V.HTMLResult.success((0,le.createWrapper)(this,Jr),fa)}}]),U}(t.XFAObject);P.Field=ot;var nt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"fill",!0),r.id=L.id||"",r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.use=L.use||"",r.usehref=L.usehref||"",r.color=null,r.extras=null,r.linear=null,r.pattern=null,r.radial=null,r.solid=null,r.stipple=null,r}return O(U,[{key:t.$toStyle,value:function(){var r=this[t.$getParent](),Le=r[t.$getParent](),Xe=Le[t.$getParent](),at=Object.create(null),lt="color",Ot=lt;r instanceof pe&&(lt="background-color",Ot="background",Xe instanceof Ye&&(at.backgroundColor="white")),(r instanceof Rt||r instanceof M)&&(lt=Ot="fill",at.fill="white");var Ct=a(Object.getOwnPropertyNames(this)),At;try{for(Ct.s();!(At=Ct.n()).done;){var Vt=At.value;if(!(Vt==="extras"||Vt==="color")){var Wt=this[Vt];if(Wt instanceof t.XFAObject){var Zt=Wt[t.$toStyle](this.color);return Zt&&(at[Zt.startsWith("#")?lt:Ot]=Zt),at}}}}catch(or){Ct.e(or)}finally{Ct.f()}if(this.color&&this.color.value){var er=this.color[t.$toStyle]();at[er.startsWith("#")?lt:Ot]=er}return at}}]),U}(t.XFAObject),Pt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"filter",!0),r.addRevocationInfo=(0,V.getStringOption)(L.addRevocationInfo,["","required","optional","none"]),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r.version=(0,V.getInteger)({data:r.version,defaultValue:5,validate:function(Xe){return Xe>=1&&Xe<=5}}),r.appearanceFilter=null,r.certificates=null,r.digestMethods=null,r.encodings=null,r.encryptionMethods=null,r.handler=null,r.lockDocument=null,r.mdp=null,r.reasons=null,r.timeStamp=null,r}return U}(t.XFAObject),Lt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"float"),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$finalize,value:function(){var r=parseFloat(this[t.$content].trim());this[t.$content]=isNaN(r)?null:r}},{key:t.$toHTML,value:function(r){return Se(this[t.$content]!==null?this[t.$content].toString():"")}}]),U}(t.ContentObject),bt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"font",!0),r.baselineShift=(0,V.getMeasurement)(L.baselineShift),r.fontHorizontalScale=(0,V.getFloat)({data:L.fontHorizontalScale,defaultValue:100,validate:function(Xe){return Xe>=0}}),r.fontVerticalScale=(0,V.getFloat)({data:L.fontVerticalScale,defaultValue:100,validate:function(Xe){return Xe>=0}}),r.id=L.id||"",r.kerningMode=(0,V.getStringOption)(L.kerningMode,["none","pair"]),r.letterSpacing=(0,V.getMeasurement)(L.letterSpacing,"0"),r.lineThrough=(0,V.getInteger)({data:L.lineThrough,defaultValue:0,validate:function(Xe){return Xe===1||Xe===2}}),r.lineThroughPeriod=(0,V.getStringOption)(L.lineThroughPeriod,["all","word"]),r.overline=(0,V.getInteger)({data:L.overline,defaultValue:0,validate:function(Xe){return Xe===1||Xe===2}}),r.overlinePeriod=(0,V.getStringOption)(L.overlinePeriod,["all","word"]),r.posture=(0,V.getStringOption)(L.posture,["normal","italic"]),r.size=(0,V.getMeasurement)(L.size,"10pt"),r.typeface=L.typeface||"Courier",r.underline=(0,V.getInteger)({data:L.underline,defaultValue:0,validate:function(Xe){return Xe===1||Xe===2}}),r.underlinePeriod=(0,V.getStringOption)(L.underlinePeriod,["all","word"]),r.use=L.use||"",r.usehref=L.usehref||"",r.weight=(0,V.getStringOption)(L.weight,["normal","bold"]),r.extras=null,r.fill=null,r}return O(U,[{key:t.$clean,value:function(r){q(g(U.prototype),t.$clean,this).call(this,r),this[t.$globalData].usedTypefaces.add(this.typeface)}},{key:t.$toStyle,value:function(){var r=(0,le.toStyle)(this,"fill"),Le=r.color;return Le&&(Le==="#000000"?delete r.color:Le.startsWith("#")||(r.background=Le,r.backgroundClip="text",r.color="transparent")),this.baselineShift&&(r.verticalAlign=(0,le.measureToString)(this.baselineShift)),r.fontKerning=this.kerningMode==="none"?"none":"normal",r.letterSpacing=(0,le.measureToString)(this.letterSpacing),this.lineThrough!==0&&(r.textDecoration="line-through",this.lineThrough===2&&(r.textDecorationStyle="double")),this.overline!==0&&(r.textDecoration="overline",this.overline===2&&(r.textDecorationStyle="double")),r.fontStyle=this.posture,r.fontSize=(0,le.measureToString)(.99*this.size),(0,le.setFontFamily)(this,this,this[t.$globalData].fontFinder,r),this.underline!==0&&(r.textDecoration="underline",this.underline===2&&(r.textDecorationStyle="double")),r.fontWeight=this.weight,r}}]),U}(t.XFAObject),Kt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"format",!0),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.picture=null,r}return U}(t.XFAObject),Jt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"handler"),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),nr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"hyphenation"),r.excludeAllCaps=(0,V.getInteger)({data:L.excludeAllCaps,defaultValue:0,validate:function(Xe){return Xe===1}}),r.excludeInitialCap=(0,V.getInteger)({data:L.excludeInitialCap,defaultValue:0,validate:function(Xe){return Xe===1}}),r.hyphenate=(0,V.getInteger)({data:L.hyphenate,defaultValue:0,validate:function(Xe){return Xe===1}}),r.id=L.id||"",r.pushCharacterCount=(0,V.getInteger)({data:L.pushCharacterCount,defaultValue:3,validate:function(Xe){return Xe>=0}}),r.remainCharacterCount=(0,V.getInteger)({data:L.remainCharacterCount,defaultValue:3,validate:function(Xe){return Xe>=0}}),r.use=L.use||"",r.usehref=L.usehref||"",r.wordCharacterCount=(0,V.getInteger)({data:L.wordCharacterCount,defaultValue:7,validate:function(Xe){return Xe>=0}}),r}return U}(t.XFAObject),pr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"image"),r.aspect=(0,V.getStringOption)(L.aspect,["fit","actual","height","none","width"]),r.contentType=L.contentType||"",r.href=L.href||"",r.id=L.id||"",r.name=L.name||"",r.transferEncoding=(0,V.getStringOption)(L.transferEncoding,["base64","none","package"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$toHTML,value:function(){if(this.contentType&&!I.has(this.contentType.toLowerCase()))return V.HTMLResult.EMPTY;var r=this[t.$globalData].images&&this[t.$globalData].images.get(this.href);if(!r&&(this.href||!this[t.$content])||(!r&&this.transferEncoding==="base64"&&(r=(0,ye.stringToBytes)(atob(this[t.$content]))),!r))return V.HTMLResult.EMPTY;if(!this.contentType){var Le=a(E),Xe;try{for(Le.s();!(Xe=Le.n()).done;){var at=X(Xe.value,2),lt=at[0],Ot=at[1];if(r.length>lt.length&&lt.every(function(Wt,Zt){return Wt===r[Zt]})){this.contentType=Ot;break}}}catch(Wt){Le.e(Wt)}finally{Le.f()}if(!this.contentType)return V.HTMLResult.EMPTY}var Ct=new Blob([r],{type:this.contentType}),At;switch(this.aspect){case"fit":case"actual":break;case"height":At={height:"100%",objectFit:"fill"};break;case"none":At={width:"100%",height:"100%",objectFit:"fill"};break;case"width":At={width:"100%",objectFit:"fill"};break}var Vt=this[t.$getParent]();return V.HTMLResult.success({name:"img",attributes:{class:["xfaImage"],style:At,src:URL.createObjectURL(Ct),alt:Vt?he(Vt[t.$getParent]()):null}})}}]),U}(t.StringObject),ur=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"imageEdit",!0),r.data=(0,V.getStringOption)(L.data,["link","embed"]),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return O(U,[{key:t.$toHTML,value:function(r){return this.data==="embed"?V.HTMLResult.success({name:"div",children:[],attributes:{}}):V.HTMLResult.EMPTY}}]),U}(t.XFAObject),yr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"integer"),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$finalize,value:function(){var r=parseInt(this[t.$content].trim(),10);this[t.$content]=isNaN(r)?null:r}},{key:t.$toHTML,value:function(r){return Se(this[t.$content]!==null?this[t.$content].toString():"")}}]),U}(t.ContentObject),Xt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"issuers",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r.certificate=new t.XFAObjectArray,r}return U}(t.XFAObject),fr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"items",!0),r.id=L.id||"",r.name=L.name||"",r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.ref=L.ref||"",r.save=(0,V.getInteger)({data:L.save,defaultValue:0,validate:function(Xe){return Xe===1}}),r.use=L.use||"",r.usehref=L.usehref||"",r.boolean=new t.XFAObjectArray,r.date=new t.XFAObjectArray,r.dateTime=new t.XFAObjectArray,r.decimal=new t.XFAObjectArray,r.exData=new t.XFAObjectArray,r.float=new t.XFAObjectArray,r.image=new t.XFAObjectArray,r.integer=new t.XFAObjectArray,r.text=new t.XFAObjectArray,r.time=new t.XFAObjectArray,r}return O(U,[{key:t.$toHTML,value:function(){var r=[],Le=a(this[t.$getChildren]()),Xe;try{for(Le.s();!(Xe=Le.n()).done;){var at=Xe.value;r.push(at[t.$text]())}}catch(lt){Le.e(lt)}finally{Le.f()}return V.HTMLResult.success(r)}}]),U}(t.XFAObject);P.Items=fr;var Dr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;w(this,U),r=Oe.call(this,o,"keep",!0),r.id=L.id||"";var Le=["none","contentArea","pageArea"];return r.intact=(0,V.getStringOption)(L.intact,Le),r.next=(0,V.getStringOption)(L.next,Le),r.previous=(0,V.getStringOption)(L.previous,Le),r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r}return U}(t.XFAObject),Hr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;w(this,U),r=Oe.call(this,o,"keyUsage");var Le=["","yes","no"];return r.crlSign=(0,V.getStringOption)(L.crlSign,Le),r.dataEncipherment=(0,V.getStringOption)(L.dataEncipherment,Le),r.decipherOnly=(0,V.getStringOption)(L.decipherOnly,Le),r.digitalSignature=(0,V.getStringOption)(L.digitalSignature,Le),r.encipherOnly=(0,V.getStringOption)(L.encipherOnly,Le),r.id=L.id||"",r.keyAgreement=(0,V.getStringOption)(L.keyAgreement,Le),r.keyCertSign=(0,V.getStringOption)(L.keyCertSign,Le),r.keyEncipherment=(0,V.getStringOption)(L.keyEncipherment,Le),r.nonRepudiation=(0,V.getStringOption)(L.nonRepudiation,Le),r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.XFAObject),Kr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"line",!0),r.hand=(0,V.getStringOption)(L.hand,["even","left","right"]),r.id=L.id||"",r.slope=(0,V.getStringOption)(L.slope,["\\","/"]),r.use=L.use||"",r.usehref=L.usehref||"",r.edge=null,r}return O(U,[{key:t.$toHTML,value:function(){var r=this[t.$getParent]()[t.$getParent](),Le=this.edge?this.edge:new xt({}),Xe=Le[t.$toStyle](),at=Object.create(null),lt=Le.presence==="visible"?Le.thickness:0;at.strokeWidth=(0,le.measureToString)(lt),at.stroke=Xe.color;var Ot,Ct,At,Vt,Wt="100%",Zt="100%";r.w<=lt?(Ot="50%",Ct=0,At="50%",Vt="100%",Wt=at.strokeWidth):r.h<=lt?(Ot=0,Ct="50%",At="100%",Vt="50%",Zt=at.strokeWidth):this.slope==="\\"?(Ot=0,Ct=0,At="100%",Vt="100%"):(Ot=0,Ct="100%",At="100%",Vt=0);var er={name:"line",attributes:{xmlns:c,x1:Ot,y1:Ct,x2:At,y2:Vt,style:at}},or={name:"svg",children:[er],attributes:{xmlns:c,width:Wt,height:Zt,style:{overflow:"visible"}}};return _(r)?V.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[or]}):(or.attributes.style.position="absolute",V.HTMLResult.success(or))}}]),U}(t.XFAObject),Br=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"linear",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["toRight","toBottom","toLeft","toTop"]),r.use=L.use||"",r.usehref=L.usehref||"",r.color=null,r.extras=null,r}return O(U,[{key:t.$toStyle,value:function(r){r=r?r[t.$toStyle]():"#FFFFFF";var Le=this.type.replace(/([RBLT])/," $1").toLowerCase(),Xe=this.color?this.color[t.$toStyle]():"#000000";return"linear-gradient(".concat(Le,", ").concat(r,", ").concat(Xe,")")}}]),U}(t.XFAObject),Sr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"lockDocument"),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$finalize,value:function(){this[t.$content]=(0,V.getStringOption)(this[t.$content],["auto","0","1"])}}]),U}(t.ContentObject),hr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"manifest",!0),r.action=(0,V.getStringOption)(L.action,["include","all","exclude"]),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.ref=new t.XFAObjectArray,r}return U}(t.XFAObject),vr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"margin",!0),r.bottomInset=(0,V.getMeasurement)(L.bottomInset,"0"),r.id=L.id||"",r.leftInset=(0,V.getMeasurement)(L.leftInset,"0"),r.rightInset=(0,V.getMeasurement)(L.rightInset,"0"),r.topInset=(0,V.getMeasurement)(L.topInset,"0"),r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r}return O(U,[{key:t.$toStyle,value:function(){return{margin:(0,le.measureToString)(this.topInset)+" "+(0,le.measureToString)(this.rightInset)+" "+(0,le.measureToString)(this.bottomInset)+" "+(0,le.measureToString)(this.leftInset)}}}]),U}(t.XFAObject),zr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"mdp"),r.id=L.id||"",r.permissions=(0,V.getInteger)({data:L.permissions,defaultValue:2,validate:function(Xe){return Xe===1||Xe===3}}),r.signatureType=(0,V.getStringOption)(L.signatureType,["filler","author"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.XFAObject),br=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"medium"),r.id=L.id||"",r.imagingBBox=(0,V.getBBox)(L.imagingBBox),r.long=(0,V.getMeasurement)(L.long),r.orientation=(0,V.getStringOption)(L.orientation,["portrait","landscape"]),r.short=(0,V.getMeasurement)(L.short),r.stock=L.stock||"",r.trayIn=(0,V.getStringOption)(L.trayIn,["auto","delegate","pageFront"]),r.trayOut=(0,V.getStringOption)(L.trayOut,["auto","delegate"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.XFAObject),qr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"message",!0),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.text=new t.XFAObjectArray,r}return U}(t.XFAObject),Gr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"numericEdit",!0),r.hScrollPolicy=(0,V.getStringOption)(L.hScrollPolicy,["auto","off","on"]),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.border=null,r.comb=null,r.extras=null,r.margin=null,r}return O(U,[{key:t.$toHTML,value:function(r){var Le=(0,le.toStyle)(this,"border","font","margin"),Xe=this[t.$getParent]()[t.$getParent](),at={name:"input",attributes:{type:"text",fieldId:Xe[t.$uid],dataId:Xe[t.$data]&&Xe[t.$data][t.$uid]||Xe[t.$uid],class:["xfaTextfield"],style:Le,"aria-label":he(Xe)}};return V.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[at]})}}]),U}(t.XFAObject),Ur=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"occur",!0),r.id=L.id||"",r.initial=L.initial!==""?(0,V.getInteger)({data:L.initial,defaultValue:"",validate:function(Xe){return!0}}):"",r.max=L.max!==""?(0,V.getInteger)({data:L.max,defaultValue:1,validate:function(Xe){return!0}}):"",r.min=L.min!==""?(0,V.getInteger)({data:L.min,defaultValue:1,validate:function(Xe){return!0}}):"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r}return O(U,[{key:t.$clean,value:function(){var r=this[t.$getParent](),Le=this.min;this.min===""&&(this.min=r instanceof ut||r instanceof We?0:1),this.max===""&&(Le===""?this.max=r instanceof ut||r instanceof We?-1:1:this.max=this.min),this.max!==-1&&this.max<this.min&&(this.max=this.min),this.initial===""&&(this.initial=r instanceof rr?1:this.min)}}]),U}(t.XFAObject),Qr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"oid"),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),na=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"oids",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r.oid=new t.XFAObjectArray,r}return U}(t.XFAObject),ht=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"overflow"),r.id=L.id||"",r.leader=L.leader||"",r.target=L.target||"",r.trailer=L.trailer||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$getExtra,value:function(){if(!this[t.$extra]){var r=this[t.$getParent](),Le=this[t.$getTemplateRoot](),Xe=Le[t.$searchNode](this.target,r),at=Le[t.$searchNode](this.leader,r),lt=Le[t.$searchNode](this.trailer,r);this[t.$extra]={target:Xe&&Xe[0]||null,leader:at&&at[0]||null,trailer:lt&&lt[0]||null,addLeader:!1,addTrailer:!1}}return this[t.$extra]}}]),U}(t.XFAObject),ut=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"pageArea",!0),r.blankOrNotBlank=(0,V.getStringOption)(L.blankOrNotBlank,["any","blank","notBlank"]),r.id=L.id||"",r.initialNumber=(0,V.getInteger)({data:L.initialNumber,defaultValue:1,validate:function(Xe){return!0}}),r.name=L.name||"",r.numbered=(0,V.getInteger)({data:L.numbered,defaultValue:1,validate:function(Xe){return!0}}),r.oddOrEven=(0,V.getStringOption)(L.oddOrEven,["any","even","odd"]),r.pagePosition=(0,V.getStringOption)(L.pagePosition,["any","first","last","only","rest"]),r.relevant=(0,V.getRelevant)(L.relevant),r.use=L.use||"",r.usehref=L.usehref||"",r.desc=null,r.extras=null,r.medium=null,r.occur=null,r.area=new t.XFAObjectArray,r.contentArea=new t.XFAObjectArray,r.draw=new t.XFAObjectArray,r.exclGroup=new t.XFAObjectArray,r.field=new t.XFAObjectArray,r.subform=new t.XFAObjectArray,r}return O(U,[{key:t.$isUsable,value:function(){return this[t.$extra]?!this.occur||this.occur.max===-1||this[t.$extra].numberOfUse<this.occur.max:(this[t.$extra]={numberOfUse:0},!0)}},{key:t.$cleanPage,value:function(){delete this[t.$extra]}},{key:t.$getNextPage,value:function(){this[t.$extra]||(this[t.$extra]={numberOfUse:0});var r=this[t.$getParent]();return r.relation==="orderedOccurrence"&&this[t.$isUsable]()?(this[t.$extra].numberOfUse+=1,this):r[t.$getNextPage]()}},{key:t.$getAvailableSpace,value:function(){return this[t.$extra].space||{width:0,height:0}}},{key:t.$toHTML,value:function(){this[t.$extra]||(this[t.$extra]={numberOfUse:1});var r=[];this[t.$extra].children=r;var Le=Object.create(null);if(this.medium&&this.medium.short&&this.medium.long){if(Le.width=(0,le.measureToString)(this.medium.short),Le.height=(0,le.measureToString)(this.medium.long),this[t.$extra].space={width:this.medium.short,height:this.medium.long},this.medium.orientation==="landscape"){var Xe=Le.width;Le.width=Le.height,Le.height=Xe,this[t.$extra].space={width:this.medium.long,height:this.medium.short}}}else(0,ye.warn)("XFA - No medium specified in pageArea: please file a bug.");return this[t.$childrenToHTML]({filter:new Set(["area","draw","field","subform"]),include:!0}),this[t.$childrenToHTML]({filter:new Set(["contentArea"]),include:!0}),V.HTMLResult.success({name:"div",children:r,attributes:{class:["xfaPage"],id:this[t.$uid],style:Le,xfaName:this.name}})}}]),U}(t.XFAObject),We=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"pageSet",!0),r.duplexImposition=(0,V.getStringOption)(L.duplexImposition,["longEdge","shortEdge"]),r.id=L.id||"",r.name=L.name||"",r.relation=(0,V.getStringOption)(L.relation,["orderedOccurrence","duplexPaginated","simplexPaginated"]),r.relevant=(0,V.getRelevant)(L.relevant),r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.occur=null,r.pageArea=new t.XFAObjectArray,r.pageSet=new t.XFAObjectArray,r}return O(U,[{key:t.$cleanPage,value:function(){var r=a(this.pageArea.children),Le;try{for(r.s();!(Le=r.n()).done;){var Xe=Le.value;Xe[t.$cleanPage]()}}catch(Ct){r.e(Ct)}finally{r.f()}var at=a(this.pageSet.children),lt;try{for(at.s();!(lt=at.n()).done;){var Ot=lt.value;Ot[t.$cleanPage]()}}catch(Ct){at.e(Ct)}finally{at.f()}}},{key:t.$isUsable,value:function(){return!this.occur||this.occur.max===-1||this[t.$extra].numberOfUse<this.occur.max}},{key:t.$getNextPage,value:function(){if(this[t.$extra]||(this[t.$extra]={numberOfUse:1,pageIndex:-1,pageSetIndex:-1}),this.relation==="orderedOccurrence"){if(this[t.$extra].pageIndex+1<this.pageArea.children.length){this[t.$extra].pageIndex+=1;var r=this.pageArea.children[this[t.$extra].pageIndex];return r[t.$getNextPage]()}if(this[t.$extra].pageSetIndex+1<this.pageSet.children.length)return this[t.$extra].pageSetIndex+=1,this.pageSet.children[this[t.$extra].pageSetIndex][t.$getNextPage]();if(this[t.$isUsable]())return this[t.$extra].numberOfUse+=1,this[t.$extra].pageIndex=-1,this[t.$extra].pageSetIndex=-1,this[t.$getNextPage]();var Le=this[t.$getParent]();return Le instanceof U?Le[t.$getNextPage]():(this[t.$cleanPage](),this[t.$getNextPage]())}var Xe=this[t.$getTemplateRoot]()[t.$extra].pageNumber,at=Xe%2==0?"even":"odd",lt=Xe===0?"first":"rest",Ot=this.pageArea.children.find(function(Ct){return Ct.oddOrEven===at&&Ct.pagePosition===lt});return Ot||(Ot=this.pageArea.children.find(function(Ct){return Ct.oddOrEven==="any"&&Ct.pagePosition===lt}),Ot)||(Ot=this.pageArea.children.find(function(Ct){return Ct.oddOrEven==="any"&&Ct.pagePosition==="any"}),Ot)?Ot:this.pageArea.children[0]}}]),U}(t.XFAObject),it=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"para",!0),r.hAlign=(0,V.getStringOption)(L.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=L.id||"",r.lineHeight=L.lineHeight?(0,V.getMeasurement)(L.lineHeight,"0pt"):"",r.marginLeft=L.marginLeft?(0,V.getMeasurement)(L.marginLeft,"0pt"):"",r.marginRight=L.marginRight?(0,V.getMeasurement)(L.marginRight,"0pt"):"",r.orphans=(0,V.getInteger)({data:L.orphans,defaultValue:0,validate:function(Xe){return Xe>=0}}),r.preserve=L.preserve||"",r.radixOffset=L.radixOffset?(0,V.getMeasurement)(L.radixOffset,"0pt"):"",r.spaceAbove=L.spaceAbove?(0,V.getMeasurement)(L.spaceAbove,"0pt"):"",r.spaceBelow=L.spaceBelow?(0,V.getMeasurement)(L.spaceBelow,"0pt"):"",r.tabDefault=L.tabDefault?(0,V.getMeasurement)(r.tabDefault):"",r.tabStops=(L.tabStops||"").trim().split(/\s+/).map(function(Le,Xe){return Xe%2==1?(0,V.getMeasurement)(Le):Le}),r.textIndent=L.textIndent?(0,V.getMeasurement)(L.textIndent,"0pt"):"",r.use=L.use||"",r.usehref=L.usehref||"",r.vAlign=(0,V.getStringOption)(L.vAlign,["top","bottom","middle"]),r.widows=(0,V.getInteger)({data:L.widows,defaultValue:0,validate:function(Xe){return Xe>=0}}),r.hyphenation=null,r}return O(U,[{key:t.$toStyle,value:function(){var r=(0,le.toStyle)(this,"hAlign");return this.marginLeft!==""&&(r.paddingLeft=(0,le.measureToString)(this.marginLeft)),this.marginRight!==""&&(r.paddingight=(0,le.measureToString)(this.marginRight)),this.spaceAbove!==""&&(r.paddingTop=(0,le.measureToString)(this.spaceAbove)),this.spaceBelow!==""&&(r.paddingBottom=(0,le.measureToString)(this.spaceBelow)),this.textIndent!==""&&(r.textIndent=(0,le.measureToString)(this.textIndent),(0,le.fixTextIndent)(r)),this.lineHeight>0&&(r.lineHeight=(0,le.measureToString)(this.lineHeight)),this.tabDefault!==""&&(r.tabSize=(0,le.measureToString)(this.tabDefault)),this.tabStops.length>0,this.hyphenatation&&Object.assign(r,this.hyphenatation[t.$toStyle]()),r}}]),U}(t.XFAObject),st=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"passwordEdit",!0),r.hScrollPolicy=(0,V.getStringOption)(L.hScrollPolicy,["auto","off","on"]),r.id=L.id||"",r.passwordChar=L.passwordChar||"*",r.use=L.use||"",r.usehref=L.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return U}(t.XFAObject),dt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"pattern",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),r.use=L.use||"",r.usehref=L.usehref||"",r.color=null,r.extras=null,r}return O(U,[{key:t.$toStyle,value:function(r){r=r?r[t.$toStyle]():"#FFFFFF";var Le=this.color?this.color[t.$toStyle]():"#000000",Xe=5,at="repeating-linear-gradient",lt="".concat(r,",").concat(r," ").concat(Xe,"px,").concat(Le," ").concat(Xe,"px,").concat(Le," ").concat(2*Xe,"px");switch(this.type){case"crossHatch":return"".concat(at,"(to top,").concat(lt,") ").concat(at,"(to right,").concat(lt,")");case"crossDiagonal":return"".concat(at,"(45deg,").concat(lt,") ").concat(at,"(-45deg,").concat(lt,")");case"diagonalLeft":return"".concat(at,"(45deg,").concat(lt,")");case"diagonalRight":return"".concat(at,"(-45deg,").concat(lt,")");case"horizontal":return"".concat(at,"(to top,").concat(lt,")");case"vertical":return"".concat(at,"(to right,").concat(lt,")")}return""}}]),U}(t.XFAObject),pt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"picture"),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),Dt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"proto",!0),r.appearanceFilter=new t.XFAObjectArray,r.arc=new t.XFAObjectArray,r.area=new t.XFAObjectArray,r.assist=new t.XFAObjectArray,r.barcode=new t.XFAObjectArray,r.bindItems=new t.XFAObjectArray,r.bookend=new t.XFAObjectArray,r.boolean=new t.XFAObjectArray,r.border=new t.XFAObjectArray,r.break=new t.XFAObjectArray,r.breakAfter=new t.XFAObjectArray,r.breakBefore=new t.XFAObjectArray,r.button=new t.XFAObjectArray,r.calculate=new t.XFAObjectArray,r.caption=new t.XFAObjectArray,r.certificate=new t.XFAObjectArray,r.certificates=new t.XFAObjectArray,r.checkButton=new t.XFAObjectArray,r.choiceList=new t.XFAObjectArray,r.color=new t.XFAObjectArray,r.comb=new t.XFAObjectArray,r.connect=new t.XFAObjectArray,r.contentArea=new t.XFAObjectArray,r.corner=new t.XFAObjectArray,r.date=new t.XFAObjectArray,r.dateTime=new t.XFAObjectArray,r.dateTimeEdit=new t.XFAObjectArray,r.decimal=new t.XFAObjectArray,r.defaultUi=new t.XFAObjectArray,r.desc=new t.XFAObjectArray,r.digestMethod=new t.XFAObjectArray,r.digestMethods=new t.XFAObjectArray,r.draw=new t.XFAObjectArray,r.edge=new t.XFAObjectArray,r.encoding=new t.XFAObjectArray,r.encodings=new t.XFAObjectArray,r.encrypt=new t.XFAObjectArray,r.encryptData=new t.XFAObjectArray,r.encryption=new t.XFAObjectArray,r.encryptionMethod=new t.XFAObjectArray,r.encryptionMethods=new t.XFAObjectArray,r.event=new t.XFAObjectArray,r.exData=new t.XFAObjectArray,r.exObject=new t.XFAObjectArray,r.exclGroup=new t.XFAObjectArray,r.execute=new t.XFAObjectArray,r.extras=new t.XFAObjectArray,r.field=new t.XFAObjectArray,r.fill=new t.XFAObjectArray,r.filter=new t.XFAObjectArray,r.float=new t.XFAObjectArray,r.font=new t.XFAObjectArray,r.format=new t.XFAObjectArray,r.handler=new t.XFAObjectArray,r.hyphenation=new t.XFAObjectArray,r.image=new t.XFAObjectArray,r.imageEdit=new t.XFAObjectArray,r.integer=new t.XFAObjectArray,r.issuers=new t.XFAObjectArray,r.items=new t.XFAObjectArray,r.keep=new t.XFAObjectArray,r.keyUsage=new t.XFAObjectArray,r.line=new t.XFAObjectArray,r.linear=new t.XFAObjectArray,r.lockDocument=new t.XFAObjectArray,r.manifest=new t.XFAObjectArray,r.margin=new t.XFAObjectArray,r.mdp=new t.XFAObjectArray,r.medium=new t.XFAObjectArray,r.message=new t.XFAObjectArray,r.numericEdit=new t.XFAObjectArray,r.occur=new t.XFAObjectArray,r.oid=new t.XFAObjectArray,r.oids=new t.XFAObjectArray,r.overflow=new t.XFAObjectArray,r.pageArea=new t.XFAObjectArray,r.pageSet=new t.XFAObjectArray,r.para=new t.XFAObjectArray,r.passwordEdit=new t.XFAObjectArray,r.pattern=new t.XFAObjectArray,r.picture=new t.XFAObjectArray,r.radial=new t.XFAObjectArray,r.reason=new t.XFAObjectArray,r.reasons=new t.XFAObjectArray,r.rectangle=new t.XFAObjectArray,r.ref=new t.XFAObjectArray,r.script=new t.XFAObjectArray,r.setProperty=new t.XFAObjectArray,r.signData=new t.XFAObjectArray,r.signature=new t.XFAObjectArray,r.signing=new t.XFAObjectArray,r.solid=new t.XFAObjectArray,r.speak=new t.XFAObjectArray,r.stipple=new t.XFAObjectArray,r.subform=new t.XFAObjectArray,r.subformSet=new t.XFAObjectArray,r.subjectDN=new t.XFAObjectArray,r.subjectDNs=new t.XFAObjectArray,r.submit=new t.XFAObjectArray,r.text=new t.XFAObjectArray,r.textEdit=new t.XFAObjectArray,r.time=new t.XFAObjectArray,r.timeStamp=new t.XFAObjectArray,r.toolTip=new t.XFAObjectArray,r.traversal=new t.XFAObjectArray,r.traverse=new t.XFAObjectArray,r.ui=new t.XFAObjectArray,r.validate=new t.XFAObjectArray,r.value=new t.XFAObjectArray,r.variables=new t.XFAObjectArray,r}return U}(t.XFAObject),_t=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"radial",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["toEdge","toCenter"]),r.use=L.use||"",r.usehref=L.usehref||"",r.color=null,r.extras=null,r}return O(U,[{key:t.$toStyle,value:function(r){r=r?r[t.$toStyle]():"#FFFFFF";var Le=this.color?this.color[t.$toStyle]():"#000000",Xe=this.type==="toEdge"?"".concat(r,",").concat(Le):"".concat(Le,",").concat(r);return"radial-gradient(circle at center, ".concat(Xe,")")}}]),U}(t.XFAObject),qt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"reason"),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),Bt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"reasons",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r.reason=new t.XFAObjectArray,r}return U}(t.XFAObject),Rt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"rectangle",!0),r.hand=(0,V.getStringOption)(L.hand,["even","left","right"]),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.corner=new t.XFAObjectArray(4),r.edge=new t.XFAObjectArray(4),r.fill=null,r}return O(U,[{key:t.$toHTML,value:function(){var r=this.edge.children.length?this.edge.children[0]:new xt({}),Le=r[t.$toStyle](),Xe=Object.create(null);this.fill&&this.fill.presence==="visible"?Object.assign(Xe,this.fill[t.$toStyle]()):Xe.fill="transparent",Xe.strokeWidth=(0,le.measureToString)(r.presence==="visible"?r.thickness:0),Xe.stroke=Le.color;var at=this.corner.children.length?this.corner.children[0]:new $e({}),lt=at[t.$toStyle](),Ot={name:"rect",attributes:{xmlns:c,width:"100%",height:"100%",x:0,y:0,rx:lt.radius,ry:lt.radius,style:Xe}},Ct={name:"svg",children:[Ot],attributes:{xmlns:c,style:{overflow:"visible"},width:"100%",height:"100%"}},At=this[t.$getParent]()[t.$getParent]();return _(At)?V.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[Ct]}):(Ct.attributes.style.position="absolute",V.HTMLResult.success(Ct))}}]),U}(t.XFAObject),Or=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"ref"),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),Tr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"script"),r.binding=L.binding||"",r.contentType=L.contentType||"",r.id=L.id||"",r.name=L.name||"",r.runAt=(0,V.getStringOption)(L.runAt,["client","both","server"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),Er=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"setProperty"),r.connection=L.connection||"",r.ref=L.ref||"",r.target=L.target||"",r}return U}(t.XFAObject);P.SetProperty=Er;var $r=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"signData",!0),r.id=L.id||"",r.operation=(0,V.getStringOption)(L.operation,["sign","clear","verify"]),r.ref=L.ref||"",r.target=L.target||"",r.use=L.use||"",r.usehref=L.usehref||"",r.filter=null,r.manifest=null,r}return U}(t.XFAObject),wt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"signature",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["PDF1.3","PDF1.6"]),r.use=L.use||"",r.usehref=L.usehref||"",r.border=null,r.extras=null,r.filter=null,r.manifest=null,r.margin=null,r}return U}(t.XFAObject),vt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"signing",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r.certificate=new t.XFAObjectArray,r}return U}(t.XFAObject),St=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"solid",!0),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r}return O(U,[{key:t.$toStyle,value:function(r){return r?r[t.$toStyle]():"#FFFFFF"}}]),U}(t.XFAObject),Et=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"speak"),r.disable=(0,V.getInteger)({data:L.disable,defaultValue:0,validate:function(Xe){return Xe===1}}),r.id=L.id||"",r.priority=(0,V.getStringOption)(L.priority,["custom","caption","name","toolTip"]),r.rid=L.rid||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),Mt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"stipple",!0),r.id=L.id||"",r.rate=(0,V.getInteger)({data:L.rate,defaultValue:50,validate:function(Xe){return Xe>=0&&Xe<=100}}),r.use=L.use||"",r.usehref=L.usehref||"",r.color=null,r.extras=null,r}return O(U,[{key:t.$toStyle,value:function(r){var Le=this.rate/100;return ye.Util.makeHexColor(Math.round(r.value.r*(1-Le)+this.value.r*Le),Math.round(r.value.g*(1-Le)+this.value.g*Le),Math.round(r.value.b*(1-Le)+this.value.b*Le))}}]),U}(t.XFAObject),jt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"subform",!0),r.access=(0,V.getStringOption)(L.access,["open","nonInteractive","protected","readOnly"]),r.allowMacro=(0,V.getInteger)({data:L.allowMacro,defaultValue:0,validate:function(Xe){return Xe===1}}),r.anchorType=(0,V.getStringOption)(L.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=(0,V.getInteger)({data:L.colSpan,defaultValue:1,validate:function(Xe){return Xe>=1||Xe===-1}}),r.columnWidths=(L.columnWidths||"").trim().split(/\s+/).map(function(Le){return Le==="-1"?-1:(0,V.getMeasurement)(Le)}),r.h=L.h?(0,V.getMeasurement)(L.h):"",r.hAlign=(0,V.getStringOption)(L.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=L.id||"",r.layout=(0,V.getStringOption)(L.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),r.locale=L.locale||"",r.maxH=(0,V.getMeasurement)(L.maxH,"0pt"),r.maxW=(0,V.getMeasurement)(L.maxW,"0pt"),r.mergeMode=(0,V.getStringOption)(L.mergeMode,["consumeData","matchTemplate"]),r.minH=(0,V.getMeasurement)(L.minH,"0pt"),r.minW=(0,V.getMeasurement)(L.minW,"0pt"),r.name=L.name||"",r.presence=(0,V.getStringOption)(L.presence,["visible","hidden","inactive","invisible"]),r.relevant=(0,V.getRelevant)(L.relevant),r.restoreState=(0,V.getStringOption)(L.restoreState,["manual","auto"]),r.scope=(0,V.getStringOption)(L.scope,["name","none"]),r.use=L.use||"",r.usehref=L.usehref||"",r.w=L.w?(0,V.getMeasurement)(L.w):"",r.x=(0,V.getMeasurement)(L.x,"0pt"),r.y=(0,V.getMeasurement)(L.y,"0pt"),r.assist=null,r.bind=null,r.bookend=null,r.border=null,r.break=null,r.calculate=null,r.desc=null,r.extras=null,r.keep=null,r.margin=null,r.occur=null,r.overflow=null,r.pageSet=null,r.para=null,r.traversal=null,r.validate=null,r.variables=null,r.area=new t.XFAObjectArray,r.breakAfter=new t.XFAObjectArray,r.breakBefore=new t.XFAObjectArray,r.connect=new t.XFAObjectArray,r.draw=new t.XFAObjectArray,r.event=new t.XFAObjectArray,r.exObject=new t.XFAObjectArray,r.exclGroup=new t.XFAObjectArray,r.field=new t.XFAObjectArray,r.proto=new t.XFAObjectArray,r.setProperty=new t.XFAObjectArray,r.subform=new t.XFAObjectArray,r.subformSet=new t.XFAObjectArray,r}return O(U,[{key:t.$getSubformParent,value:function(){var r=this[t.$getParent]();return r instanceof Gt?r[t.$getSubformParent]():r}},{key:t.$isBindable,value:function(){return!0}},{key:t.$isThereMoreWidth,value:function(){return this.layout.endsWith("-tb")&&this[t.$extra].attempt===0&&this[t.$extra].numberInLine>0||this[t.$getParent]()[t.$isThereMoreWidth]()}},{key:t.$getContainedChildren,value:b.default.mark(function L(){return b.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.delegateYield(H(this),"t0",1);case 1:case"end":return Le.stop()}},L,this)})},{key:t.$flushHTML,value:function(){return(0,ge.flushHTML)(this)}},{key:t.$addHTML,value:function(r,Le){(0,ge.addHTML)(this,r,Le)}},{key:t.$getAvailableSpace,value:function(){return(0,ge.getAvailableSpace)(this)}},{key:t.$isSplittable,value:function(){var r=this[t.$getSubformParent]();return r[t.$isSplittable]()?this[t.$extra]._isSplittable!==void 0?this[t.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[t.$extra]._isSplittable=!1,!1):this.keep&&this.keep.intact!=="none"?(this[t.$extra]._isSplittable=!1,!1):r.layout&&r.layout.endsWith("-tb")&&r[t.$extra].numberInLine!==0?!1:(this[t.$extra]._isSplittable=!0,!0):!1}},{key:t.$toHTML,value:function(r){if(Z(this),this.break){if(this.break.after!=="auto"||this.break.afterTarget!==""){var Le=new ke({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});Le[t.$globalData]=this[t.$globalData],this[t.$appendChild](Le),this.breakAfter.push(Le)}if(this.break.before!=="auto"||this.break.beforeTarget!==""){var Xe=new Re({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});Xe[t.$globalData]=this[t.$globalData],this[t.$appendChild](Xe),this.breakBefore.push(Xe)}if(this.break.overflowTarget!==""){var at=new ht({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});at[t.$globalData]=this[t.$globalData],this[t.$appendChild](at),this.overflow.push(at)}this[t.$removeChild](this.break),this.break=null}if(this.presence==="hidden"||this.presence==="inactive")return V.HTMLResult.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&(0,ye.warn)("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){var lt=this.breakBefore.children[0];if($(lt))return V.HTMLResult.breakNode(lt)}if(this[t.$extra]&&this[t.$extra].afterBreakAfter)return V.HTMLResult.EMPTY;(0,le.fixDimensions)(this);var Ot=[],Ct={id:this[t.$uid],class:[]};(0,le.setAccess)(this,Ct.class),this[t.$extra]||(this[t.$extra]=Object.create(null)),Object.assign(this[t.$extra],{children:Ot,line:null,attributes:Ct,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||Infinity,r.width),height:Math.min(this.h||Infinity,r.height)},width:0,height:0,prevHeight:0,currentWidth:0});var At=this[t.$getTemplateRoot](),Vt=At[t.$extra].noLayoutFailure,Wt=this[t.$isSplittable]();if(Wt||ue(this),!(0,ge.checkDimensions)(this,r))return V.HTMLResult.FAILURE;var Zt=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){var er=this[t.$getSubformParent]().columnWidths;Array.isArray(er)&&er.length>0&&(this[t.$extra].columnWidths=er,this[t.$extra].currentColumn=0)}var or=(0,le.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),Ir=["xfaSubform"],kr=(0,le.layoutClass)(this);if(kr&&Ir.push(kr),Ct.style=or,Ct.class=Ir,this.name&&(Ct.xfaName=this.name),this.overflow){var Mr=this.overflow[t.$getExtra]();Mr.addLeader&&(Mr.addLeader=!1,j(this,Mr.leader,r))}this[t.$pushPara]();for(var Xr=this.layout==="lr-tb"||this.layout==="rl-tb",jr=Xr?v:1;this[t.$extra].attempt<jr;this[t.$extra].attempt++){Xr&&this[t.$extra].attempt===v-1&&(this[t.$extra].numberInLine=0);var Wr=this[t.$childrenToHTML]({filter:Zt,include:!0});if(Wr.success)break;if(Wr.isBreak())return this[t.$popPara](),Wr;if(Xr&&this[t.$extra].attempt===0&&this[t.$extra].numberInLine===0&&!At[t.$extra].noLayoutFailure){this[t.$extra].attempt=jr;break}}if(this[t.$popPara](),Wt||te(this),At[t.$extra].noLayoutFailure=Vt,this[t.$extra].attempt===jr)return this.overflow&&(this[t.$getTemplateRoot]()[t.$extra].overflowNode=this.overflow),Wt||delete this[t.$extra],V.HTMLResult.FAILURE;if(this.overflow){var _r=this.overflow[t.$getExtra]();_r.addTrailer&&(_r.addTrailer=!1,j(this,_r.trailer,r))}var aa=0,ia=0;this.margin&&(aa=this.margin.leftInset+this.margin.rightInset,ia=this.margin.topInset+this.margin.bottomInset);var ea=Math.max(this[t.$extra].width+aa,this.w||0),Jr=Math.max(this[t.$extra].height+ia,this.h||0),Rr=[this.x,this.y,ea,Jr];if(this.w===""&&(or.width=(0,le.measureToString)(ea)),this.h===""&&(or.height=(0,le.measureToString)(Jr)),(or.width==="0px"||or.height==="0px")&&Ot.length===0)return V.HTMLResult.EMPTY;var fa={name:"div",attributes:Ct,children:Ot};ne(this,Ct);var gr=V.HTMLResult.success((0,le.createWrapper)(this,fa),Rr);if(this.breakAfter.children.length>=1){var la=this.breakAfter.children[0];if($(la))return this[t.$extra].afterBreakAfter=gr,V.HTMLResult.breakNode(la)}return delete this[t.$extra],gr}}]),U}(t.XFAObject),Gt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"subformSet",!0),r.id=L.id||"",r.name=L.name||"",r.relation=(0,V.getStringOption)(L.relation,["ordered","choice","unordered"]),r.relevant=(0,V.getRelevant)(L.relevant),r.use=L.use||"",r.usehref=L.usehref||"",r.bookend=null,r.break=null,r.desc=null,r.extras=null,r.occur=null,r.overflow=null,r.breakAfter=new t.XFAObjectArray,r.breakBefore=new t.XFAObjectArray,r.subform=new t.XFAObjectArray,r.subformSet=new t.XFAObjectArray,r}return O(U,[{key:t.$getContainedChildren,value:b.default.mark(function L(){return b.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.delegateYield(H(this),"t0",1);case 1:case"end":return Le.stop()}},L,this)})},{key:t.$getSubformParent,value:function(){for(var r=this[t.$getParent]();!(r instanceof jt);)r=r[t.$getParent]();return r}},{key:t.$isBindable,value:function(){return!0}}]),U}(t.XFAObject),Tt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"subjectDN"),r.delimiter=L.delimiter||",",r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$finalize,value:function(){this[t.$content]=new Map(this[t.$content].split(this.delimiter).map(function(r){return r=r.split("=",2),r[0]=r[0].trim(),r}))}}]),U}(t.ContentObject),sr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"subjectDNs",!0),r.id=L.id||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r.subjectDN=new t.XFAObjectArray,r}return U}(t.XFAObject),tr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"submit",!0),r.embedPDF=(0,V.getInteger)({data:L.embedPDF,defaultValue:0,validate:function(Xe){return Xe===1}}),r.format=(0,V.getStringOption)(L.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),r.id=L.id||"",r.target=L.target||"",r.textEncoding=(0,V.getKeyword)({data:L.textEncoding?L.textEncoding.toLowerCase():"",defaultValue:"",validate:function(Xe){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(Xe)||Xe.match(/iso-8859-\d{2}/)}}),r.use=L.use||"",r.usehref=L.usehref||"",r.xdpContent=L.xdpContent||"",r.encrypt=null,r.encryptData=new t.XFAObjectArray,r.signData=new t.XFAObjectArray,r}return U}(t.XFAObject),rr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"template",!0),r.baseProfile=(0,V.getStringOption)(L.baseProfile,["full","interactiveForms"]),r.extras=null,r.subform=new t.XFAObjectArray,r}return O(U,[{key:t.$finalize,value:function(){this.subform.children.length===0&&(0,ye.warn)("XFA - No subforms in template node."),this.subform.children.length>=2&&(0,ye.warn)("XFA - Several subforms in template node: please file a bug."),this[t.$tabIndex]=u}},{key:t.$isSplittable,value:function(){return!0}},{key:t.$searchNode,value:function(r,Le){return r.startsWith("#")?[this[t.$ids].get(r.slice(1))]:(0,ae.searchNode)(this,Le,r,!0,!0)}},{key:t.$toPages,value:b.default.mark(function L(){var r=this,Le,Xe,at,lt,Ot,Ct,At,Vt,Wt,Zt,er,or,Ir,kr,Mr,Xr;return b.default.wrap(function(Wr){for(;;)switch(Wr.prev=Wr.next){case 0:if(this.subform.children.length){Wr.next=2;break}return Wr.abrupt("return",V.HTMLResult.success({name:"div",children:[]}));case 2:this[t.$extra]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]},Le=this.subform.children[0],Le.pageSet[t.$cleanPage](),Xe=Le.pageSet.pageArea.children,at={name:"div",children:[]},lt=null,Ot=null,Ct=null,Le.breakBefore.children.length>=1?(Ot=Le.breakBefore.children[0],Ct=Ot.target):Le.subform.children.length>=1&&Le.subform.children[0].breakBefore.children.length>=1?(Ot=Le.subform.children[0].breakBefore.children[0],Ct=Ot.target):Le.break&&Le.break.beforeTarget?(Ot=Le.break,Ct=Ot.beforeTarget):Le.subform.children.length>=1&&Le.subform.children[0].break&&Le.subform.children[0].break.beforeTarget&&(Ot=Le.subform.children[0].break,Ct=Ot.beforeTarget),Ot&&(At=this[t.$searchNode](Ct,Ot[t.$getParent]()),At instanceof ut&&(lt=At,Ot[t.$extra]={})),lt||(lt=Xe[0]),lt[t.$extra]={numberOfUse:1},Vt=lt[t.$getParent](),Vt[t.$extra]={numberOfUse:1,pageIndex:Vt.pageArea.children.indexOf(lt),pageSetIndex:0},Zt=null,er=null,or=!0,Ir=0,kr=0,Mr=b.default.mark(function _r(){var aa,ia,ea,Jr,Rr,fa,gr,la,ua,Yr,ta;return b.default.wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:if(or){Pr.next=7;break}if(at.children.pop(),++Ir!==A){Pr.next=5;break}return(0,ye.warn)("XFA - Something goes wrong: please file a bug."),Pr.abrupt("return",{v:at});case 5:Pr.next=8;break;case 7:Ir=0;case 8:Wt=null,r[t.$extra].currentPageArea=lt,aa=lt[t.$toHTML]().html,at.children.push(aa),Zt&&(r[t.$extra].noLayoutFailure=!0,aa.children.push(Zt[t.$toHTML](lt[t.$extra].space).html),Zt=null),er&&(r[t.$extra].noLayoutFailure=!0,aa.children.push(er[t.$toHTML](lt[t.$extra].space).html),er=null),ia=lt.contentArea.children,ea=aa.children.filter(function(pa){return pa.attributes.class.includes("xfaContentarea")}),or=!1,r[t.$extra].firstUnsplittable=null,r[t.$extra].noLayoutFailure=!1,Jr=function(oa){var ra=Le[t.$flushHTML]();ra&&(or=or||ra.children&&ra.children.length!==0,ea[oa].children.push(ra))},Rr=kr,fa=ia.length;case 21:if(!(Rr<fa)){Pr.next=48;break}if(gr=r[t.$extra].currentContentArea=ia[Rr],la={width:gr.w,height:gr.h},kr=0,Zt&&(ea[Rr].children.push(Zt[t.$toHTML](la).html),Zt=null),er&&(ea[Rr].children.push(er[t.$toHTML](la).html),er=null),ua=Le[t.$toHTML](la),!ua.success){Pr.next=31;break}return ua.html?(or=or||ua.html.children&&ua.html.children.length!==0,ea[Rr].children.push(ua.html)):!or&&at.children.length>1&&at.children.pop(),Pr.abrupt("return",{v:at});case 31:if(!ua.isBreak()){Pr.next=40;break}if(Yr=ua.breakNode,Jr(Rr),Yr.targetType!=="auto"){Pr.next=36;break}return Pr.abrupt("continue",45);case 36:return Yr.leader&&(Zt=r[t.$searchNode](Yr.leader,Yr[t.$getParent]()),Zt=Zt?Zt[0]:null),Yr.trailer&&(er=r[t.$searchNode](Yr.trailer,Yr[t.$getParent]()),er=er?er[0]:null),Yr.targetType==="pageArea"?(Wt=Yr[t.$extra].target,Rr=Infinity):Yr[t.$extra].target?(Wt=Yr[t.$extra].target,kr=Yr[t.$extra].index+1,Rr=Infinity):Rr=Yr[t.$extra].index,Pr.abrupt("continue",45);case 40:if(!r[t.$extra].overflowNode){Pr.next=44;break}if(ta=function(){var pa=r[t.$extra].overflowNode;r[t.$extra].overflowNode=null;var oa=pa[t.$getExtra](),ra=oa.target;oa.addLeader=oa.leader!==null,oa.addTrailer=oa.trailer!==null,Jr(Rr);var Fa=Rr;if(Rr=Infinity,ra instanceof ut)Wt=ra;else if(ra instanceof Ne){var Oa=ia.findIndex(function(ba){return ba===ra});Oa!==-1?Oa>Fa?Rr=Oa-1:kr=Oa:(Wt=ra[t.$getParent](),kr=Wt.contentArea.children.findIndex(function(ba){return ba===ra}))}return"continue"}(),ta!=="continue"){Pr.next=44;break}return Pr.abrupt("continue",45);case 44:Jr(Rr);case 45:Rr++,Pr.next=21;break;case 48:return r[t.$extra].pageNumber+=1,Wt&&(Wt[t.$isUsable]()?Wt[t.$extra].numberOfUse+=1:Wt=null),lt=Wt||lt[t.$getNextPage](),Pr.next=53,null;case 53:case"end":return Pr.stop()}},_r)});case 22:return Wr.delegateYield(Mr(),"t0",24);case 24:if(Xr=Wr.t0,ce(Xr)!=="object"){Wr.next=27;break}return Wr.abrupt("return",Xr.v);case 27:Wr.next=22;break;case 29:case"end":return Wr.stop()}},L,this)})}]),U}(t.XFAObject);P.Template=rr;var Ht=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"text"),r.id=L.id||"",r.maxChars=(0,V.getInteger)({data:L.maxChars,defaultValue:0,validate:function(Xe){return Xe>=0}}),r.name=L.name||"",r.rid=L.rid||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$acceptWhitespace,value:function(){return!0}},{key:t.$onChild,value:function(r){return r[t.$namespaceId]===e.NamespaceIds.xhtml.id?(this[t.$content]=r,!0):((0,ye.warn)("XFA - Invalid content in Text: ".concat(r[t.$nodeName],".")),!1)}},{key:t.$onText,value:function(r){this[t.$content]instanceof t.XFAObject||q(g(U.prototype),t.$onText,this).call(this,r)}},{key:t.$finalize,value:function(){typeof this[t.$content]=="string"&&(this[t.$content]=this[t.$content].replace(/\r\n/g,`
`))}},{key:t.$getExtra,value:function(){return typeof this[t.$content]=="string"?this[t.$content].split(/[\u2029\u2028\n]/).reduce(function(r,Le){return Le&&r.push(Le),r},[]).join(`
`):this[t.$content][t.$text]()}},{key:t.$toHTML,value:function(r){if(typeof this[t.$content]=="string"){var Le=Se(this[t.$content]).html;return this[t.$content].includes("\u2029")?(Le.name="div",Le.children=[],this[t.$content].split("\u2029").map(function(Xe){return Xe.split(/[\u2028\n]/).reduce(function(at,lt){return at.push({name:"span",value:lt},{name:"br"}),at},[])}).forEach(function(Xe){Le.children.push({name:"p",children:Xe})})):/[\u2028\n]/.test(this[t.$content])&&(Le.name="div",Le.children=[],this[t.$content].split(/[\u2028\n]/).forEach(function(Xe){Le.children.push({name:"span",value:Xe},{name:"br"})})),V.HTMLResult.success(Le)}return this[t.$content][t.$toHTML](r)}}]),U}(t.ContentObject);P.Text=Ht;var Ar=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"textEdit",!0),r.allowRichText=(0,V.getInteger)({data:L.allowRichText,defaultValue:0,validate:function(Xe){return Xe===1}}),r.hScrollPolicy=(0,V.getStringOption)(L.hScrollPolicy,["auto","off","on"]),r.id=L.id||"",r.multiLine=(0,V.getInteger)({data:L.multiLine,defaultValue:"",validate:function(Xe){return Xe===0||Xe===1}}),r.use=L.use||"",r.usehref=L.usehref||"",r.vScrollPolicy=(0,V.getStringOption)(L.vScrollPolicy,["auto","off","on"]),r.border=null,r.comb=null,r.extras=null,r.margin=null,r}return O(U,[{key:t.$toHTML,value:function(r){var Le=(0,le.toStyle)(this,"border","font","margin"),Xe,at=this[t.$getParent]()[t.$getParent]();return this.multiLine===""&&(this.multiLine=at instanceof gt?1:0),this.multiLine===1?Xe={name:"textarea",attributes:{dataId:at[t.$data]&&at[t.$data][t.$uid]||at[t.$uid],fieldId:at[t.$uid],class:["xfaTextfield"],style:Le,"aria-label":he(at)}}:Xe={name:"input",attributes:{type:"text",dataId:at[t.$data]&&at[t.$data][t.$uid]||at[t.$uid],fieldId:at[t.$uid],class:["xfaTextfield"],style:Le,"aria-label":he(at)}},V.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[Xe]})}}]),U}(t.XFAObject),dr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"time"),r.id=L.id||"",r.name=L.name||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return O(U,[{key:t.$finalize,value:function(){var r=this[t.$content].trim();this[t.$content]=r?new Date(r):null}},{key:t.$toHTML,value:function(r){return Se(this[t.$content]?this[t.$content].toString():"")}}]),U}(t.StringObject),lr=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"timeStamp"),r.id=L.id||"",r.server=L.server||"",r.type=(0,V.getStringOption)(L.type,["optional","required"]),r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.XFAObject),Be=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"toolTip"),r.id=L.id||"",r.rid=L.rid||"",r.use=L.use||"",r.usehref=L.usehref||"",r}return U}(t.StringObject),Ae=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"traversal",!0),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.traverse=new t.XFAObjectArray,r}return U}(t.XFAObject),R=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"traverse",!0),r.id=L.id||"",r.operation=(0,V.getStringOption)(L.operation,["next","back","down","first","left","right","up"]),r.ref=L.ref||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.script=null,r}return O(U,[{key:"name",get:function(){return this.operation}},{key:t.$isTransparent,value:function(){return!1}}]),U}(t.XFAObject),Ye=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"ui",!0),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.picture=null,r.barcode=null,r.button=null,r.checkButton=null,r.choiceList=null,r.dateTimeEdit=null,r.defaultUi=null,r.imageEdit=null,r.numericEdit=null,r.passwordEdit=null,r.signature=null,r.textEdit=null,r}return O(U,[{key:t.$getExtra,value:function(){if(this[t.$extra]===void 0){var r=a(Object.getOwnPropertyNames(this)),Le;try{for(r.s();!(Le=r.n()).done;){var Xe=Le.value;if(!(Xe==="extras"||Xe==="picture")){var at=this[Xe];if(at instanceof t.XFAObject)return this[t.$extra]=at,at}}}catch(lt){r.e(lt)}finally{r.f()}this[t.$extra]=null}return this[t.$extra]}},{key:t.$toHTML,value:function(r){var Le=this[t.$getExtra]();return Le?Le[t.$toHTML](r):V.HTMLResult.EMPTY}}]),U}(t.XFAObject),Te=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"validate",!0),r.formatTest=(0,V.getStringOption)(L.formatTest,["warning","disabled","error"]),r.id=L.id||"",r.nullTest=(0,V.getStringOption)(L.nullTest,["disabled","error","warning"]),r.scriptTest=(0,V.getStringOption)(L.scriptTest,["error","disabled","warning"]),r.use=L.use||"",r.usehref=L.usehref||"",r.extras=null,r.message=null,r.picture=null,r.script=null,r}return U}(t.XFAObject),zt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"value",!0),r.id=L.id||"",r.override=(0,V.getInteger)({data:L.override,defaultValue:0,validate:function(Xe){return Xe===1}}),r.relevant=(0,V.getRelevant)(L.relevant),r.use=L.use||"",r.usehref=L.usehref||"",r.arc=null,r.boolean=null,r.date=null,r.dateTime=null,r.decimal=null,r.exData=null,r.float=null,r.image=null,r.integer=null,r.line=null,r.rectangle=null,r.text=null,r.time=null,r}return O(U,[{key:t.$setValue,value:function(L){function r(Le){return L.apply(this,arguments)}return r.toString=function(){return L.toString()},r}(function(L){var r=this[t.$getParent]();if(r instanceof ot&&r.ui&&r.ui.imageEdit){this.image||(this.image=new pr({}),this[t.$appendChild](this.image)),this.image[t.$content]=L[t.$content];return}var Le=L[t.$nodeName];if(this[Le]!==null){this[Le][t.$content]=L[t.$content];return}var Xe=a(Object.getOwnPropertyNames(this)),at;try{for(Xe.s();!(at=Xe.n()).done;){var lt=at.value,Ot=this[lt];Ot instanceof t.XFAObject&&(this[lt]=null,this[t.$removeChild](Ot))}}catch(Ct){Xe.e(Ct)}finally{Xe.f()}this[L[t.$nodeName]]=L,this[t.$appendChild](L)})},{key:t.$text,value:function(){if(this.exData)return typeof this.exData[t.$content]=="string"?this.exData[t.$content].trim():this.exData[t.$content][t.$text]().trim();var r=a(Object.getOwnPropertyNames(this)),Le;try{for(r.s();!(Le=r.n()).done;){var Xe=Le.value;if(Xe!=="image"){var at=this[Xe];if(at instanceof t.XFAObject)return(at[t.$content]||"").toString().trim()}}}catch(lt){r.e(lt)}finally{r.f()}return null}},{key:t.$toHTML,value:function(r){var Le=a(Object.getOwnPropertyNames(this)),Xe;try{for(Le.s();!(Xe=Le.n()).done;){var at=Xe.value,lt=this[at];if(lt instanceof t.XFAObject)return lt[t.$toHTML](r)}}catch(Ot){Le.e(Ot)}finally{Le.f()}return V.HTMLResult.EMPTY}}]),U}(t.XFAObject);P.Value=zt;var Yt=function(Pe){p(U,Pe);var Oe=f(U);function U(L){var r;return w(this,U),r=Oe.call(this,o,"variables",!0),r.id=L.id||"",r.use=L.use||"",r.usehref=L.usehref||"",r.boolean=new t.XFAObjectArray,r.date=new t.XFAObjectArray,r.dateTime=new t.XFAObjectArray,r.decimal=new t.XFAObjectArray,r.exData=new t.XFAObjectArray,r.float=new t.XFAObjectArray,r.image=new t.XFAObjectArray,r.integer=new t.XFAObjectArray,r.manifest=new t.XFAObjectArray,r.script=new t.XFAObjectArray,r.text=new t.XFAObjectArray,r.time=new t.XFAObjectArray,r}return O(U,[{key:t.$isTransparent,value:function(){return!0}}]),U}(t.XFAObject),cr=function(){function Pe(){w(this,Pe)}return O(Pe,null,[{key:e.$buildXFAObject,value:function(U,L){if(Pe.hasOwnProperty(U)){var r=Pe[U](L);return r[t.$setSetAttributes](L),r}}},{key:"appearanceFilter",value:function(U){return new G(U)}},{key:"arc",value:function(U){return new M(U)}},{key:"area",value:function(U){return new W(U)}},{key:"assist",value:function(U){return new z(U)}},{key:"barcode",value:function(U){return new J(U)}},{key:"bind",value:function(U){return new Q(U)}},{key:"bindItems",value:function(U){return new K(U)}},{key:"bookend",value:function(U){return new de(U)}},{key:"boolean",value:function(U){return new oe(U)}},{key:"border",value:function(U){return new pe(U)}},{key:"break",value:function(U){return new fe(U)}},{key:"breakAfter",value:function(U){return new ke(U)}},{key:"breakBefore",value:function(U){return new Re(U)}},{key:"button",value:function(U){return new ve(U)}},{key:"calculate",value:function(U){return new we(U)}},{key:"caption",value:function(U){return new se(U)}},{key:"certificate",value:function(U){return new me(U)}},{key:"certificates",value:function(U){return new ee(U)}},{key:"checkButton",value:function(U){return new Fe(U)}},{key:"choiceList",value:function(U){return new Ee(U)}},{key:"color",value:function(U){return new Ce(U)}},{key:"comb",value:function(U){return new De(U)}},{key:"connect",value:function(U){return new _e(U)}},{key:"contentArea",value:function(U){return new Ne(U)}},{key:"corner",value:function(U){return new $e(U)}},{key:"date",value:function(U){return new je(U)}},{key:"dateTime",value:function(U){return new Ve(U)}},{key:"dateTimeEdit",value:function(U){return new Ke(U)}},{key:"decimal",value:function(U){return new Qe(U)}},{key:"defaultUi",value:function(U){return new Ze(U)}},{key:"desc",value:function(U){return new ze(U)}},{key:"digestMethod",value:function(U){return new ct(U)}},{key:"digestMethods",value:function(U){return new Je(U)}},{key:"draw",value:function(U){return new gt(U)}},{key:"edge",value:function(U){return new xt(U)}},{key:"encoding",value:function(U){return new tt(U)}},{key:"encodings",value:function(U){return new yt(U)}},{key:"encrypt",value:function(U){return new It(U)}},{key:"encryptData",value:function(U){return new ft(U)}},{key:"encryption",value:function(U){return new Ut(U)}},{key:"encryptionMethod",value:function(U){return new kt(U)}},{key:"encryptionMethods",value:function(U){return new Nt(U)}},{key:"event",value:function(U){return new ar(U)}},{key:"exData",value:function(U){return new Qt(U)}},{key:"exObject",value:function(U){return new He(U)}},{key:"exclGroup",value:function(U){return new et(U)}},{key:"execute",value:function(U){return new Ue(U)}},{key:"extras",value:function(U){return new qe(U)}},{key:"field",value:function(U){return new ot(U)}},{key:"fill",value:function(U){return new nt(U)}},{key:"filter",value:function(U){return new Pt(U)}},{key:"float",value:function(U){return new Lt(U)}},{key:"font",value:function(U){return new bt(U)}},{key:"format",value:function(U){return new Kt(U)}},{key:"handler",value:function(U){return new Jt(U)}},{key:"hyphenation",value:function(U){return new nr(U)}},{key:"image",value:function(U){return new pr(U)}},{key:"imageEdit",value:function(U){return new ur(U)}},{key:"integer",value:function(U){return new yr(U)}},{key:"issuers",value:function(U){return new Xt(U)}},{key:"items",value:function(U){return new fr(U)}},{key:"keep",value:function(U){return new Dr(U)}},{key:"keyUsage",value:function(U){return new Hr(U)}},{key:"line",value:function(U){return new Kr(U)}},{key:"linear",value:function(U){return new Br(U)}},{key:"lockDocument",value:function(U){return new Sr(U)}},{key:"manifest",value:function(U){return new hr(U)}},{key:"margin",value:function(U){return new vr(U)}},{key:"mdp",value:function(U){return new zr(U)}},{key:"medium",value:function(U){return new br(U)}},{key:"message",value:function(U){return new qr(U)}},{key:"numericEdit",value:function(U){return new Gr(U)}},{key:"occur",value:function(U){return new Ur(U)}},{key:"oid",value:function(U){return new Qr(U)}},{key:"oids",value:function(U){return new na(U)}},{key:"overflow",value:function(U){return new ht(U)}},{key:"pageArea",value:function(U){return new ut(U)}},{key:"pageSet",value:function(U){return new We(U)}},{key:"para",value:function(U){return new it(U)}},{key:"passwordEdit",value:function(U){return new st(U)}},{key:"pattern",value:function(U){return new dt(U)}},{key:"picture",value:function(U){return new pt(U)}},{key:"proto",value:function(U){return new Dt(U)}},{key:"radial",value:function(U){return new _t(U)}},{key:"reason",value:function(U){return new qt(U)}},{key:"reasons",value:function(U){return new Bt(U)}},{key:"rectangle",value:function(U){return new Rt(U)}},{key:"ref",value:function(U){return new Or(U)}},{key:"script",value:function(U){return new Tr(U)}},{key:"setProperty",value:function(U){return new Er(U)}},{key:"signData",value:function(U){return new $r(U)}},{key:"signature",value:function(U){return new wt(U)}},{key:"signing",value:function(U){return new vt(U)}},{key:"solid",value:function(U){return new St(U)}},{key:"speak",value:function(U){return new Et(U)}},{key:"stipple",value:function(U){return new Mt(U)}},{key:"subform",value:function(U){return new jt(U)}},{key:"subformSet",value:function(U){return new Gt(U)}},{key:"subjectDN",value:function(U){return new Tt(U)}},{key:"subjectDNs",value:function(U){return new sr(U)}},{key:"submit",value:function(U){return new tr(U)}},{key:"template",value:function(U){return new rr(U)}},{key:"text",value:function(U){return new Ht(U)}},{key:"textEdit",value:function(U){return new Ar(U)}},{key:"time",value:function(U){return new dr(U)}},{key:"timeStamp",value:function(U){return new lr(U)}},{key:"toolTip",value:function(U){return new Be(U)}},{key:"traversal",value:function(U){return new Ae(U)}},{key:"traverse",value:function(U){return new R(U)}},{key:"ui",value:function(U){return new Ye(U)}},{key:"validate",value:function(U){return new Te(U)}},{key:"value",value:function(U){return new zt(U)}},{key:"variables",value:function(U){return new Yt(U)}}]),Pe}();P.TemplateNamespace=cr},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.addHTML=d,P.checkDimensions=re,P.flushHTML=ae,P.getAvailableSpace=ce;var T=D(205),b=D(212);function t(X,y){var k=typeof Symbol!="undefined"&&X[Symbol.iterator]||X["@@iterator"];if(!k){if(Array.isArray(X)||(k=le(X))||y&&X&&typeof X.length=="number"){k&&(X=k);var n=0,S=function(){};return{s:S,n:function(){return n>=X.length?{done:!0}:{done:!1,value:X[n++]}},e:function(f){throw f},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O=!0,w=!1,p;return{s:function(){k=k.call(X)},n:function(){var f=k.next();return O=f.done,f},e:function(f){w=!0,p=f},f:function(){try{!O&&k.return!=null&&k.return()}finally{if(w)throw p}}}}function e(X,y){return be(X)||ye(X,y)||le(X,y)||ge()}function ge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function le(X,y){if(!!X){if(typeof X=="string")return V(X,y);var k=Object.prototype.toString.call(X).slice(8,-1);if(k==="Object"&&X.constructor&&(k=X.constructor.name),k==="Map"||k==="Set")return Array.from(X);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return V(X,y)}}function V(X,y){(y==null||y>X.length)&&(y=X.length);for(var k=0,n=new Array(y);k<y;k++)n[k]=X[k];return n}function ye(X,y){var k=X==null?null:typeof Symbol!="undefined"&&X[Symbol.iterator]||X["@@iterator"];if(k!=null){var n=[],S=!0,O=!1,w,p;try{for(k=k.call(X);!(S=(w=k.next()).done)&&(n.push(w.value),!(y&&n.length===y));S=!0);}catch(x){O=!0,p=x}finally{try{!S&&k.return!=null&&k.return()}finally{if(O)throw p}}return n}}function be(X){if(Array.isArray(X))return X}function xe(X,y){return{name:"div",attributes:{class:[X.layout==="lr-tb"?"xfaLr":"xfaRl"]},children:y}}function ae(X){if(!X[T.$extra])return null;var y=X[T.$extra].attributes,k={name:"div",attributes:y,children:X[T.$extra].children};if(X[T.$extra].failingNode){var n=X[T.$extra].failingNode[T.$flushHTML]();n&&(X.layout.endsWith("-tb")?k.children.push(xe(X,[n])):k.children.push(n))}return k.children.length===0?null:k}function d(X,y,k){var n=X[T.$extra],S=n.availableSpace,O=e(k,4),w=O[0],p=O[1],x=O[2],f=O[3];switch(X.layout){case"position":{n.width=Math.max(n.width,w+x),n.height=Math.max(n.height,p+f),n.children.push(y);break}case"lr-tb":case"rl-tb":(!n.line||n.attempt===1)&&(n.line=xe(X,[]),n.children.push(n.line),n.numberInLine=0),n.numberInLine+=1,n.line.children.push(y),n.attempt===0?(n.currentWidth+=x,n.height=Math.max(n.height,n.prevHeight+f)):(n.currentWidth=x,n.prevHeight=n.height,n.height+=f,n.attempt=0),n.width=Math.max(n.width,n.currentWidth);break;case"rl-row":case"row":{n.children.push(y),n.width+=x,n.height=Math.max(n.height,f);var h=(0,b.measureToString)(n.height),F=t(n.children),s;try{for(F.s();!(s=F.n()).done;){var g=s.value;g.attributes.style.height=h}}catch(l){F.e(l)}finally{F.f()}break}case"table":{n.width=Math.min(S.width,Math.max(n.width,x)),n.height+=f,n.children.push(y);break}case"tb":{n.width=Math.min(S.width,Math.max(n.width,x)),n.height+=f,n.children.push(y);break}}}function ce(X){var y=X[T.$extra].availableSpace,k=X.margin?X.margin.topInset+X.margin.bottomInset:0,n=X.margin?X.margin.leftInset+X.margin.rightInset:0;switch(X.layout){case"lr-tb":case"rl-tb":return X[T.$extra].attempt===0?{width:y.width-n-X[T.$extra].currentWidth,height:y.height-k-X[T.$extra].prevHeight}:{width:y.width-n,height:y.height-k-X[T.$extra].height};case"rl-row":case"row":var S=X[T.$extra].columnWidths.slice(X[T.$extra].currentColumn).reduce(function(O,w){return O+w});return{width:S,height:y.height-n};case"table":case"tb":return{width:y.width-n,height:y.height-k-X[T.$extra].height};case"position":default:return y}}function q(X){var y=X.w===""?NaN:X.w,k=X.h===""?NaN:X.h,n=0,S=0;switch(X.anchorType||""){case"bottomCenter":n=y/2,S=k;break;case"bottomLeft":n=0,S=k;break;case"bottomRight":n=y,S=k;break;case"middleCenter":n=y/2,S=k/2;break;case"middleLeft":n=0,S=k/2;break;case"middleRight":n=y,S=k/2;break;case"topCenter":n=y/2,S=0;break;case"topRight":n=y,S=0;break}var O,w;switch(X.rotate||0){case 0:O=-n,w=-S;break;case 90:O=-S,w=n;var p=[k,-y];y=p[0],k=p[1];break;case 180:O=n,w=S;var x=[-y,-k];y=x[0],k=x[1];break;case 270:O=S,w=-n;var f=[-k,y];y=f[0],k=f[1];break}return[X.x+O+Math.min(0,y),X.y+w+Math.min(0,k),Math.abs(y),Math.abs(k)]}function re(X,y){if(X[T.$getTemplateRoot]()[T.$extra].firstUnsplittable===null||X.w===0||X.h===0)return!0;var k=2,n=X[T.$getSubformParent](),S=n[T.$extra]&&n[T.$extra].attempt||0,O=q(X),w=e(O,4),p=w[1],x=w[2],f=w[3];switch(n.layout){case"lr-tb":case"rl-tb":return S===0?X[T.$getTemplateRoot]()[T.$extra].noLayoutFailure?X.w!==""?Math.round(x-y.width)<=k:y.width>k:X.h!==""&&Math.round(f-y.height)>k?!1:X.w!==""?Math.round(x-y.width)<=k?!0:n[T.$extra].numberInLine===0?y.height>k:!1:y.width>k:X[T.$getTemplateRoot]()[T.$extra].noLayoutFailure?!0:X.h!==""&&Math.round(f-y.height)>k?!1:X.w===""||Math.round(x-y.width)<=k?y.height>k:n[T.$isThereMoreWidth]()?!1:y.height>k;case"table":case"tb":return X[T.$getTemplateRoot]()[T.$extra].noLayoutFailure?!0:X.h!==""&&!X[T.$isSplittable]()?Math.round(f-y.height)<=k:X.w===""||Math.round(x-y.width)<=k?y.height>k:n[T.$isThereMoreWidth]()?!1:y.height>k;case"position":if(X[T.$getTemplateRoot]()[T.$extra].noLayoutFailure||X.h===""||Math.round(f+p-y.height)<=k)return!0;var h=X[T.$getTemplateRoot]()[T.$extra].currentContentArea;return f+p>h.h;case"rl-row":case"row":return X[T.$getTemplateRoot]()[T.$extra].noLayoutFailure?!0:X.h!==""?Math.round(f-y.height)<=k:!0;default:return!0}}},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.computeBbox=y,P.createWrapper=O,P.fixDimensions=k,P.fixTextIndent=w,P.fixURL=s,P.isPrintOnly=x,P.layoutClass=n,P.layoutNode=X,P.measureToString=d,P.setAccess=p,P.setFontFamily=F,P.setMinMaxDimensions=q,P.setPara=h,P.toStyle=S;var T=D(205),b=D(4),t=D(206),e=D(213),ge=D(214);function le(g,l){return ae(g)||xe(g,l)||ye(g,l)||V()}function V(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ye(g,l){if(!!g){if(typeof g=="string")return be(g,l);var a=Object.prototype.toString.call(g).slice(8,-1);if(a==="Object"&&g.constructor&&(a=g.constructor.name),a==="Map"||a==="Set")return Array.from(g);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return be(g,l)}}function be(g,l){(l==null||l>g.length)&&(l=g.length);for(var a=0,i=new Array(l);a<l;a++)i[a]=g[a];return i}function xe(g,l){var a=g==null?null:typeof Symbol!="undefined"&&g[Symbol.iterator]||g["@@iterator"];if(a!=null){var i=[],m=!0,o=!1,c,v;try{for(a=a.call(g);!(m=(c=a.next()).done)&&(i.push(c.value),!(l&&i.length===l));m=!0);}catch(A){o=!0,v=A}finally{try{!m&&a.return!=null&&a.return()}finally{if(o)throw v}}return i}}function ae(g){if(Array.isArray(g))return g}function d(g){return typeof g=="string"?"0px":Number.isInteger(g)?"".concat(g,"px"):"".concat(g.toFixed(2),"px")}var ce={anchorType:function(l,a){var i=l[T.$getSubformParent]();if(!(!i||i.layout&&i.layout!=="position"))switch("transform"in a||(a.transform=""),l.anchorType){case"bottomCenter":a.transform+="translate(-50%, -100%)";break;case"bottomLeft":a.transform+="translate(0,-100%)";break;case"bottomRight":a.transform+="translate(-100%,-100%)";break;case"middleCenter":a.transform+="translate(-50%,-50%)";break;case"middleLeft":a.transform+="translate(0,-50%)";break;case"middleRight":a.transform+="translate(-100%,-50%)";break;case"topCenter":a.transform+="translate(-50%,0)";break;case"topRight":a.transform+="translate(-100%,0)";break}},dimensions:function(l,a){var i=l[T.$getSubformParent](),m=l.w,o=l.h;if(i.layout&&i.layout.includes("row")){var c=i[T.$extra],v=l.colSpan,A;v===-1?(A=c.columnWidths.slice(c.currentColumn).reduce(function(u,C){return u+C},0),c.currentColumn=0):(A=c.columnWidths.slice(c.currentColumn,c.currentColumn+v).reduce(function(u,C){return u+C},0),c.currentColumn=(c.currentColumn+l.colSpan)%c.columnWidths.length),isNaN(A)||(m=l.w=A)}m!==""?a.width=d(m):a.width="auto",o!==""?a.height=d(o):a.height="auto"},position:function(l,a){var i=l[T.$getSubformParent]();i&&i.layout&&i.layout!=="position"||(a.position="absolute",a.left=d(l.x),a.top=d(l.y))},rotate:function(l,a){l.rotate&&("transform"in a||(a.transform=""),a.transform+="rotate(-".concat(l.rotate,"deg)"),a.transformOrigin="top left")},presence:function(l,a){switch(l.presence){case"invisible":a.visibility="hidden";break;case"hidden":case"inactive":a.display="none";break}},hAlign:function(l,a){if(l[T.$nodeName]==="para")switch(l.hAlign){case"justifyAll":a.textAlign="justify-all";break;case"radix":a.textAlign="left";break;default:a.textAlign=l.hAlign}else switch(l.hAlign){case"left":a.alignSelf="start";break;case"center":a.alignSelf="center";break;case"right":a.alignSelf="end";break}},margin:function(l,a){l.margin&&(a.margin=l.margin[T.$toStyle]().margin)}};function q(g,l){var a=g[T.$getSubformParent]();a.layout==="position"&&(g.minW>0&&(l.minWidth=d(g.minW)),g.maxW>0&&(l.maxWidth=d(g.maxW)),g.minH>0&&(l.minHeight=d(g.minH)),g.maxH>0&&(l.maxHeight=d(g.maxH)))}function re(g,l,a,i,m,o){var c=new ge.TextMeasure(l,a,i,m);return typeof g=="string"?c.addString(g):g[T.$pushGlyphs](c),c.compute(o)}function X(g,l){var a=null,i=null,m=!1;if((!g.w||!g.h)&&g.value){var o=0,c=0;g.margin&&(o=g.margin.leftInset+g.margin.rightInset,c=g.margin.topInset+g.margin.bottomInset);var v=null,A=null;g.para&&(A=Object.create(null),v=g.para.lineHeight===""?null:g.para.lineHeight,A.top=g.para.spaceAbove===""?0:g.para.spaceAbove,A.bottom=g.para.spaceBelow===""?0:g.para.spaceBelow,A.left=g.para.marginLeft===""?0:g.para.marginLeft,A.right=g.para.marginRight===""?0:g.para.marginRight);var u=g.font;if(!u)for(var C=g[T.$getTemplateRoot](),I=g[T.$getParent]();I&&I!==C;){if(I.font){u=I.font;break}I=I[T.$getParent]()}var E=(g.w?g.w:l.width)-o,N=g[T.$globalData].fontFinder;if(g.value.exData&&g.value.exData[T.$content]&&g.value.exData.contentType==="text/html"){var _=re(g.value.exData[T.$content],u,A,v,N,E);i=_.width,a=_.height,m=_.isBroken}else{var Y=g.value[T.$text]();if(Y){var H=re(Y,u,A,v,N,E);i=H.width,a=H.height,m=H.isBroken}}i!==null&&!g.w&&(i+=o),a!==null&&!g.h&&(a+=c)}return{w:i,h:a,isBroken:m}}function y(g,l,a){var i;if(g.w!==""&&g.h!=="")i=[g.x,g.y,g.w,g.h];else{if(!a)return null;var m=g.w;if(m===""){if(g.maxW===0){var o=g[T.$getSubformParent]();o.layout==="position"&&o.w!==""?m=0:m=g.minW}else m=Math.min(g.maxW,a.width);l.attributes.style.width=d(m)}var c=g.h;if(c===""){if(g.maxH===0){var v=g[T.$getSubformParent]();v.layout==="position"&&v.h!==""?c=0:c=g.minH}else c=Math.min(g.maxH,a.height);l.attributes.style.height=d(c)}i=[g.x,g.y,m,c]}return i}function k(g){var l=g[T.$getSubformParent]();if(l.layout&&l.layout.includes("row")){var a=l[T.$extra],i=g.colSpan,m;i===-1?m=a.columnWidths.slice(a.currentColumn).reduce(function(o,c){return o+c},0):m=a.columnWidths.slice(a.currentColumn,a.currentColumn+i).reduce(function(o,c){return o+c},0),isNaN(m)||(g.w=m)}l.layout&&l.layout!=="position"&&(g.x=g.y=0),g.layout==="table"&&g.w===""&&Array.isArray(g.columnWidths)&&(g.w=g.columnWidths.reduce(function(o,c){return o+c},0))}function n(g){switch(g.layout){case"position":return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb";default:return"xfaPosition"}}function S(g){for(var l=Object.create(null),a=arguments.length,i=new Array(a>1?a-1:0),m=1;m<a;m++)i[m-1]=arguments[m];for(var o=0,c=i;o<c.length;o++){var v=c[o],A=g[v];if(A!==null){if(ce.hasOwnProperty(v)){ce[v](g,l);continue}if(A instanceof T.XFAObject){var u=A[T.$toStyle]();u?Object.assign(l,u):(0,b.warn)("(DEBUG) - XFA - style for ".concat(v," not implemented yet"))}}}return l}function O(g,l){var a=l.attributes,i=a.style,m={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};if(a.class.push("xfaWrapped"),g.border){var o=g.border[T.$extra],c=o.widths,v=o.insets,A,u,C=v[0],I=v[3],E=v[0]+v[2],N=v[1]+v[3];switch(g.border.hand){case"even":C-=c[0]/2,I-=c[3]/2,A="calc(100% + ".concat((c[1]+c[3])/2-N,"px)"),u="calc(100% + ".concat((c[0]+c[2])/2-E,"px)");break;case"left":C-=c[0],I-=c[3],A="calc(100% + ".concat(c[1]+c[3]-N,"px)"),u="calc(100% + ".concat(c[0]+c[2]-E,"px)");break;case"right":A=N?"calc(100% - ".concat(N,"px)"):"100%",u=E?"calc(100% - ".concat(E,"px)"):"100%";break}var _=["xfaBorder"];x(g.border)&&_.push("xfaPrintOnly");for(var Y={name:"div",attributes:{class:_,style:{top:"".concat(C,"px"),left:"".concat(I,"px"),width:A,height:u}},children:[]},H=0,Z=["border","borderWidth","borderColor","borderRadius","borderStyle"];H<Z.length;H++){var ne=Z[H];i[ne]!==void 0&&(Y.attributes.style[ne]=i[ne],delete i[ne])}m.children.push(Y,l)}else m.children.push(l);for(var he=0,Se=["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"];he<Se.length;he++){var ue=Se[he];i[ue]!==void 0&&(m.attributes.style[ue]=i[ue],delete i[ue])}return i.position==="absolute"?m.attributes.style.position="absolute":m.attributes.style.position="relative",delete i.position,i.alignSelf&&(m.attributes.style.alignSelf=i.alignSelf,delete i.alignSelf),m}function w(g){var l=(0,t.getMeasurement)(g.textIndent,"0px");if(!(l>=0)){var a=g.textAlign==="right"?"right":"left",i="padding"+(a==="left"?"Left":"Right"),m=(0,t.getMeasurement)(g[i],"0px");g[i]="".concat(m-l,"px")}}function p(g,l){switch(g.access){case"nonInteractive":l.push("xfaNonInteractive");break;case"readOnly":l.push("xfaReadOnly");break;case"protected":l.push("xfaDisabled");break}}function x(g){return g.relevant.length>0&&!g.relevant[0].excluded&&g.relevant[0].viewname==="print"}function f(g){var l=g[T.$getTemplateRoot]()[T.$extra].paraStack;return l.length?l[l.length-1]:null}function h(g,l,a){if(a.attributes.class&&a.attributes.class.includes("xfaRich")){l&&(g.h===""&&(l.height="auto"),g.w===""&&(l.width="auto"));var i=f(g);if(i){var m=a.attributes.style;switch(m.display="flex",m.flexDirection="column",i.vAlign){case"top":m.justifyContent="start";break;case"bottom":m.justifyContent="end";break;case"middle":m.justifyContent="center";break}for(var o=i[T.$toStyle](),c=0,v=Object.entries(o);c<v.length;c++){var A=le(v[c],2),u=A[0],C=A[1];u in m||(m[u]=C)}}}}function F(g,l,a,i){if(!a){delete i.fontFamily;return}var m=(0,t.stripQuotes)(g.typeface);i.fontFamily='"'.concat(m,'"');var o=a.find(m);if(o){var c=o.regular.cssFontInfo.fontFamily;c!==m&&(i.fontFamily='"'.concat(c,'"'));var v=f(l);if(v&&v.lineHeight!==""||i.lineHeight)return;var A=(0,e.selectFont)(g,o);A&&(i.lineHeight=Math.max(1.2,A.lineHeight))}}function s(g){var l=(0,b.createValidAbsoluteUrl)(g,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return l?l.href:null}},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.FontFinder=void 0,P.getMetrics=X,P.selectFont=re;var T=D(205),b=D(206),t=D(4);function e(y,k){return V(y)||le(y,k)||be(y,k)||ge()}function ge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function le(y,k){var n=y==null?null:typeof Symbol!="undefined"&&y[Symbol.iterator]||y["@@iterator"];if(n!=null){var S=[],O=!0,w=!1,p,x;try{for(n=n.call(y);!(O=(p=n.next()).done)&&(S.push(p.value),!(k&&S.length===k));O=!0);}catch(f){w=!0,x=f}finally{try{!O&&n.return!=null&&n.return()}finally{if(w)throw x}}return S}}function V(y){if(Array.isArray(y))return y}function ye(y,k){var n=typeof Symbol!="undefined"&&y[Symbol.iterator]||y["@@iterator"];if(!n){if(Array.isArray(y)||(n=be(y))||k&&y&&typeof y.length=="number"){n&&(y=n);var S=0,O=function(){};return{s:O,n:function(){return S>=y.length?{done:!0}:{done:!1,value:y[S++]}},e:function(h){throw h},f:O}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,p=!1,x;return{s:function(){n=n.call(y)},n:function(){var h=n.next();return w=h.done,h},e:function(h){p=!0,x=h},f:function(){try{!w&&n.return!=null&&n.return()}finally{if(p)throw x}}}}function be(y,k){if(!!y){if(typeof y=="string")return xe(y,k);var n=Object.prototype.toString.call(y).slice(8,-1);if(n==="Object"&&y.constructor&&(n=y.constructor.name),n==="Map"||n==="Set")return Array.from(y);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xe(y,k)}}function xe(y,k){(k==null||k>y.length)&&(k=y.length);for(var n=0,S=new Array(k);n<k;n++)S[n]=y[n];return S}function ae(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function d(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function ce(y,k,n){return k&&d(y.prototype,k),n&&d(y,n),y}var q=function(){function y(k){ae(this,y),this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(k)}return ce(y,[{key:"add",value:function(n){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=ye(n),w;try{for(O.s();!(w=O.n()).done;){var p=w.value;this.addPdfFont(p)}}catch(a){O.e(a)}finally{O.f()}var x=ye(this.fonts.values()),f;try{for(x.s();!(f=x.n()).done;){var h=f.value;h.regular||(h.regular=h.italic||h.bold||h.bolditalic)}}catch(a){x.e(a)}finally{x.f()}if(!(!S||S.size===0)){var F=this.fonts.get("PdfJS-Fallback-PdfJS-XFA"),s=ye(S),g;try{for(s.s();!(g=s.n()).done;){var l=g.value;this.fonts.set(l,F)}}catch(a){s.e(a)}finally{s.f()}}}},{key:"addPdfFont",value:function(n){var S=n.cssFontInfo,O=S.fontFamily,w=this.fonts.get(O);w||(w=Object.create(null),this.fonts.set(O,w),this.defaultFont||(this.defaultFont=w));var p="",x=parseFloat(S.fontWeight);parseFloat(S.italicAngle)!==0?p=x>=700?"bolditalic":"italic":x>=700&&(p="bold"),p||((n.name.includes("Bold")||n.psName&&n.psName.includes("Bold"))&&(p="bold"),(n.name.includes("Italic")||n.name.endsWith("It")||n.psName&&(n.psName.includes("Italic")||n.psName.endsWith("It")))&&(p+="italic")),p||(p="regular"),w[p]=n}},{key:"getDefault",value:function(){return this.defaultFont}},{key:"find",value:function(n){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=this.fonts.get(n)||this.cache.get(n);if(O)return O;var w=/,|-|_| |bolditalic|bold|italic|regular|it/gi,p=n.replace(w,"");if(O=this.fonts.get(p),O)return this.cache.set(n,O),O;p=p.toLowerCase();var x=[],f=ye(this.fonts.entries()),h;try{for(f.s();!(h=f.n()).done;){var F=e(h.value,2),s=F[0],g=F[1];s.replace(w,"").toLowerCase().startsWith(p)&&x.push(g)}}catch(N){f.e(N)}finally{f.f()}if(x.length===0){var l=ye(this.fonts.entries()),a;try{for(l.s();!(a=l.n()).done;){var i=e(a.value,2),m=i[1];m.regular.name&&m.regular.name.replace(w,"").toLowerCase().startsWith(p)&&x.push(m)}}catch(N){l.e(N)}finally{l.f()}}if(x.length===0){p=p.replace(/psmt|mt/gi,"");var o=ye(this.fonts.entries()),c;try{for(o.s();!(c=o.n()).done;){var v=e(c.value,2),A=v[0],u=v[1];A.replace(w,"").toLowerCase().startsWith(p)&&x.push(u)}}catch(N){o.e(N)}finally{o.f()}}if(x.length===0){var C=ye(this.fonts.values()),I;try{for(C.s();!(I=C.n()).done;){var E=I.value;E.regular.name&&E.regular.name.replace(w,"").toLowerCase().startsWith(p)&&x.push(E)}}catch(N){C.e(N)}finally{C.f()}}return x.length>=1?(x.length!==1&&S&&(0,t.warn)("XFA - Too many choices to guess the correct font: ".concat(n)),this.cache.set(n,x[0]),x[0]):(S&&!this.warned.has(n)&&(this.warned.add(n),(0,t.warn)("XFA - Cannot find the font: ".concat(n))),null)}}]),y}();P.FontFinder=q;function re(y,k){return y.posture==="italic"?y.weight==="bold"?k.bolditalic:k.italic:y.weight==="bold"?k.bold:k.regular}function X(y){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=null;if(y){var S=(0,b.stripQuotes)(y.typeface),O=y[T.$globalData].fontFinder.find(S);n=re(y,O)}if(!n)return{lineHeight:12,lineGap:2,lineNoGap:10};var w=y.size||10,p=n.lineHeight?Math.max(k?0:1.2,n.lineHeight):1.2,x=n.lineGap===void 0?.2:n.lineGap;return{lineHeight:p*w,lineGap:x*w,lineNoGap:Math.max(1,p-x)*w}}},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.TextMeasure=void 0;var T=D(213);function b(X,y){var k=typeof Symbol!="undefined"&&X[Symbol.iterator]||X["@@iterator"];if(!k){if(Array.isArray(X)||(k=ge(X))||y&&X&&typeof X.length=="number"){k&&(X=k);var n=0,S=function(){};return{s:S,n:function(){return n>=X.length?{done:!0}:{done:!1,value:X[n++]}},e:function(f){throw f},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O=!0,w=!1,p;return{s:function(){k=k.call(X)},n:function(){var f=k.next();return O=f.done,f},e:function(f){w=!0,p=f},f:function(){try{!O&&k.return!=null&&k.return()}finally{if(w)throw p}}}}function t(X,y){return ye(X)||V(X,y)||ge(X,y)||e()}function e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ge(X,y){if(!!X){if(typeof X=="string")return le(X,y);var k=Object.prototype.toString.call(X).slice(8,-1);if(k==="Object"&&X.constructor&&(k=X.constructor.name),k==="Map"||k==="Set")return Array.from(X);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return le(X,y)}}function le(X,y){(y==null||y>X.length)&&(y=X.length);for(var k=0,n=new Array(y);k<y;k++)n[k]=X[k];return n}function V(X,y){var k=X==null?null:typeof Symbol!="undefined"&&X[Symbol.iterator]||X["@@iterator"];if(k!=null){var n=[],S=!0,O=!1,w,p;try{for(k=k.call(X);!(S=(w=k.next()).done)&&(n.push(w.value),!(y&&n.length===y));S=!0);}catch(x){O=!0,p=x}finally{try{!S&&k.return!=null&&k.return()}finally{if(O)throw p}}return n}}function ye(X){if(Array.isArray(X))return X}function be(X,y){if(!(X instanceof y))throw new TypeError("Cannot call a class as a function")}function xe(X,y){for(var k=0;k<y.length;k++){var n=y[k];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(X,n.key,n)}}function ae(X,y,k){return y&&xe(X.prototype,y),k&&xe(X,k),X}var d=1.02,ce=function(){function X(y,k,n,S){if(be(this,X),this.lineHeight=n,this.paraMargin=k||{top:0,bottom:0,left:0,right:0},!y){var O=this.defaultFont(S),w=t(O,2);this.pdfFont=w[0],this.xfaFont=w[1];return}this.xfaFont={typeface:y.typeface,posture:y.posture,weight:y.weight,size:y.size,letterSpacing:y.letterSpacing};var p=S.find(y.typeface);if(!p){var x=this.defaultFont(S),f=t(x,2);this.pdfFont=f[0],this.xfaFont=f[1];return}if(this.pdfFont=(0,T.selectFont)(y,p),!this.pdfFont){var h=this.defaultFont(S),F=t(h,2);this.pdfFont=F[0],this.xfaFont=F[1]}}return ae(X,[{key:"defaultFont",value:function(k){var n=k.find("Helvetica",!1)||k.find("Myriad Pro",!1)||k.find("Arial",!1)||k.getDefault();if(n&&n.regular){var S=n.regular,O=S.cssFontInfo,w={typeface:O.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0};return[S,w]}var p={typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0};return[null,p]}}]),X}(),q=function(){function X(y,k,n,S){be(this,X),this.fontFinder=S,this.stack=[new ce(y,k,n,S)]}return ae(X,[{key:"pushData",value:function(k,n,S){for(var O=this.stack[this.stack.length-1],w=0,p=["typeface","posture","weight","size","letterSpacing"];w<p.length;w++){var x=p[w];k[x]||(k[x]=O.xfaFont[x])}for(var f=0,h=["top","bottom","left","right"];f<h.length;f++){var F=h[f];isNaN(n[F])&&(n[F]=O.paraMargin[F])}var s=new ce(k,n,S||O.lineHeight,this.fontFinder);s.pdfFont||(s.pdfFont=O.pdfFont),this.stack.push(s)}},{key:"popFont",value:function(){this.stack.pop()}},{key:"topFont",value:function(){return this.stack[this.stack.length-1]}}]),X}(),re=function(){function X(y,k,n,S){be(this,X),this.glyphs=[],this.fontSelector=new q(y,k,n,S),this.extraHeight=0}return ae(X,[{key:"pushData",value:function(k,n,S){this.fontSelector.pushData(k,n,S)}},{key:"popFont",value:function(k){return this.fontSelector.popFont()}},{key:"addPara",value:function(){var k=this.fontSelector.topFont();this.extraHeight+=k.paraMargin.top+k.paraMargin.bottom}},{key:"addString",value:function(k){if(!!k){var n=this.fontSelector.topFont(),S=n.xfaFont.size;if(n.pdfFont){var O=n.xfaFont.letterSpacing,w=n.pdfFont,p=w.lineHeight||1.2,x=n.lineHeight||Math.max(1.2,p)*S,f=w.lineGap===void 0?.2:w.lineGap,h=p-f,F=Math.max(1,h)*S,s=S/1e3,g=w.defaultWidth||w.charsToGlyphs(" ")[0].width,l=b(k.split(/[\u2029\n]/)),a;try{for(l.s();!(a=l.n()).done;){var i=a.value,m=w.encodeString(i).join(""),o=w.charsToGlyphs(m),c=b(o),v;try{for(c.s();!(v=c.n()).done;){var A=v.value,u=A.width||g;this.glyphs.push([u*s+O,x,F,A.unicode,!1])}}catch(H){c.e(H)}finally{c.f()}this.glyphs.push([0,0,0,`
`,!0])}}catch(H){l.e(H)}finally{l.f()}this.glyphs.pop();return}var C=b(k.split(/[\u2029\n]/)),I;try{for(C.s();!(I=C.n()).done;){var E=I.value,N=b(E.split("")),_;try{for(N.s();!(_=N.n()).done;){var Y=_.value;this.glyphs.push([S,1.2*S,S,Y,!1])}}catch(H){N.e(H)}finally{N.f()}this.glyphs.push([0,0,0,`
`,!0])}}catch(H){C.e(H)}finally{C.f()}this.glyphs.pop()}}},{key:"compute",value:function(k){for(var n=-1,S=0,O=0,w=0,p=0,x=0,f=!1,h=!0,F=0,s=this.glyphs.length;F<s;F++){var g=t(this.glyphs[F],5),l=g[0],a=g[1],i=g[2],m=g[3],o=g[4],c=m===" ",v=h?i:a;if(o){O=Math.max(O,p),p=0,w+=x,x=v,n=-1,S=0,h=!1;continue}if(c){p+l>k?(O=Math.max(O,p),p=0,w+=x,x=v,n=-1,S=0,f=!0,h=!1):(x=Math.max(v,x),S=p,p+=l,n=F);continue}if(p+l>k){w+=x,x=v,n!==-1?(F=n,O=Math.max(O,S),p=0,n=-1,S=0):(O=Math.max(O,p),p=l),f=!0,h=!1;continue}p+=l,x=Math.max(v,x)}return O=Math.max(O,p),w+=x+this.extraHeight,{width:d*O,height:w,isBroken:f}}}]),X}();P.TextMeasure=re},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.DataHandler=void 0;var T=D(205);function b(ce,q){var re=typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(!re){if(Array.isArray(ce)||(re=ge(ce))||q&&ce&&typeof ce.length=="number"){re&&(ce=re);var X=0,y=function(){};return{s:y,n:function(){return X>=ce.length?{done:!0}:{done:!1,value:ce[X++]}},e:function(w){throw w},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=!0,n=!1,S;return{s:function(){re=re.call(ce)},n:function(){var w=re.next();return k=w.done,w},e:function(w){n=!0,S=w},f:function(){try{!k&&re.return!=null&&re.return()}finally{if(n)throw S}}}}function t(ce,q){return ye(ce)||V(ce,q)||ge(ce,q)||e()}function e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ge(ce,q){if(!!ce){if(typeof ce=="string")return le(ce,q);var re=Object.prototype.toString.call(ce).slice(8,-1);if(re==="Object"&&ce.constructor&&(re=ce.constructor.name),re==="Map"||re==="Set")return Array.from(ce);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return le(ce,q)}}function le(ce,q){(q==null||q>ce.length)&&(q=ce.length);for(var re=0,X=new Array(q);re<q;re++)X[re]=ce[re];return X}function V(ce,q){var re=ce==null?null:typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(re!=null){var X=[],y=!0,k=!1,n,S;try{for(re=re.call(ce);!(y=(n=re.next()).done)&&(X.push(n.value),!(q&&X.length===q));y=!0);}catch(O){k=!0,S=O}finally{try{!y&&re.return!=null&&re.return()}finally{if(k)throw S}}return X}}function ye(ce){if(Array.isArray(ce))return ce}function be(ce,q){if(!(ce instanceof q))throw new TypeError("Cannot call a class as a function")}function xe(ce,q){for(var re=0;re<q.length;re++){var X=q[re];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(ce,X.key,X)}}function ae(ce,q,re){return q&&xe(ce.prototype,q),re&&xe(ce,re),ce}var d=function(){function ce(q,re){be(this,ce),this.data=re,this.dataset=q.datasets||null}return ae(ce,[{key:"serialize",value:function(re){for(var X=[[-1,this.data[T.$getChildren]()]];X.length>0;){var y=X[X.length-1],k=t(y,2),n=k[0],S=k[1];if(n+1===S.length){X.pop();continue}var O=S[++y[0]],w=re.get(O[T.$uid]);if(w)O[T.$setValue](w);else{var p=O[T.$getAttributes](),x=b(p.values()),f;try{for(x.s();!(f=x.n()).done;){var h=f.value,F=re.get(h[T.$uid]);if(F){h[T.$setValue](F);break}}}catch(m){x.e(m)}finally{x.f()}}var s=O[T.$getChildren]();s.length>0&&X.push([-1,s])}var g=['<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">'];if(this.dataset){var l=b(this.dataset[T.$getChildren]()),a;try{for(l.s();!(a=l.n()).done;){var i=a.value;i[T.$nodeName]!=="data"&&i[T.$toString](g)}}catch(m){l.e(m)}finally{l.f()}}return this.data[T.$toString](g),g.push("</xfa:datasets>"),g.join("")}}]),ce}();P.DataHandler=d},(Me,P,D)=>{"use strict";function T(x){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(h){return typeof h}:T=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},T(x)}Object.defineProperty(P,"__esModule",{value:!0}),P.XFAParser=void 0;var b=D(205),t=D(198),e=D(217),ge=D(4);function le(x,f){return be(x)||ye(x,f)||ae(x,f)||V()}function V(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ye(x,f){var h=x==null?null:typeof Symbol!="undefined"&&x[Symbol.iterator]||x["@@iterator"];if(h!=null){var F=[],s=!0,g=!1,l,a;try{for(h=h.call(x);!(s=(l=h.next()).done)&&(F.push(l.value),!(f&&F.length===f));s=!0);}catch(i){g=!0,a=i}finally{try{!s&&h.return!=null&&h.return()}finally{if(g)throw a}}return F}}function be(x){if(Array.isArray(x))return x}function xe(x,f){var h=typeof Symbol!="undefined"&&x[Symbol.iterator]||x["@@iterator"];if(!h){if(Array.isArray(x)||(h=ae(x))||f&&x&&typeof x.length=="number"){h&&(x=h);var F=0,s=function(){};return{s,n:function(){return F>=x.length?{done:!0}:{done:!1,value:x[F++]}},e:function(m){throw m},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,l=!1,a;return{s:function(){h=h.call(x)},n:function(){var m=h.next();return g=m.done,m},e:function(m){l=!0,a=m},f:function(){try{!g&&h.return!=null&&h.return()}finally{if(l)throw a}}}}function ae(x,f){if(!!x){if(typeof x=="string")return d(x,f);var h=Object.prototype.toString.call(x).slice(8,-1);if(h==="Object"&&x.constructor&&(h=x.constructor.name),h==="Map"||h==="Set")return Array.from(x);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return d(x,f)}}function d(x,f){(f==null||f>x.length)&&(f=x.length);for(var h=0,F=new Array(f);h<f;h++)F[h]=x[h];return F}function ce(x,f){if(!(x instanceof f))throw new TypeError("Cannot call a class as a function")}function q(x,f){for(var h=0;h<f.length;h++){var F=f[h];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(x,F.key,F)}}function re(x,f,h){return f&&q(x.prototype,f),h&&q(x,h),x}function X(x,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(f&&f.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),f&&y(x,f)}function y(x,f){return y=Object.setPrototypeOf||function(F,s){return F.__proto__=s,F},y(x,f)}function k(x){var f=O();return function(){var F=w(x),s;if(f){var g=w(this).constructor;s=Reflect.construct(F,arguments,g)}else s=F.apply(this,arguments);return n(this,s)}}function n(x,f){if(f&&(T(f)==="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(x)}function S(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function O(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(x){return!1}}function w(x){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},w(x)}var p=function(x){X(h,x);var f=k(h);function h(){var F,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ce(this,h),F=f.call(this),F._builder=new e.Builder(s),F._stack=[],F._globalData={usedTypefaces:new Set},F._ids=new Map,F._current=F._builder.buildRoot(F._ids),F._errorCode=t.XMLParserErrorCode.NoError,F._whiteRegex=/^\s+$/,F._nbsps=/\xa0+/g,F._richText=g,F}return re(h,[{key:"parse",value:function(s){if(this.parseXml(s),this._errorCode===t.XMLParserErrorCode.NoError)return this._current[b.$finalize](),this._current.element}},{key:"onText",value:function(s){if(s=s.replace(this._nbsps,function(g){return g.slice(1)+" "}),this._richText||this._current[b.$acceptWhitespace]()){this._current[b.$onText](s,this._richText);return}this._whiteRegex.test(s)||this._current[b.$onText](s.trim())}},{key:"onCdata",value:function(s){this._current[b.$onText](s)}},{key:"_mkAttributes",value:function(s,g){var l=null,a=null,i=Object.create({}),m=xe(s),o;try{for(m.s();!(o=m.n()).done;){var c=o.value,v=c.name,A=c.value;if(v==="xmlns")l?(0,ge.warn)("XFA - multiple namespace definition in <".concat(g,">")):l=A;else if(v.startsWith("xmlns:")){var u=v.substring("xmlns:".length);a||(a=[]),a.push({prefix:u,value:A})}else{var C=v.indexOf(":");if(C===-1)i[v]=A;else{var I=i[b.$nsAttributes];I||(I=i[b.$nsAttributes]=Object.create(null));var E=[v.slice(0,C),v.slice(C+1)],N=E[0],_=E[1],Y=I[N];Y||(Y=I[N]=Object.create(null)),Y[_]=A}}}}catch(H){m.e(H)}finally{m.f()}return[l,a,i]}},{key:"_getNameAndPrefix",value:function(s,g){var l=s.indexOf(":");return l===-1?[s,null]:[s.substring(l+1),g?"":s.substring(0,l)]}},{key:"onBeginElement",value:function(s,g,l){var a=this._mkAttributes(g,s),i=le(a,3),m=i[0],o=i[1],c=i[2],v=this._getNameAndPrefix(s,this._builder.isNsAgnostic()),A=le(v,2),u=A[0],C=A[1],I=this._builder.build({nsPrefix:C,name:u,attributes:c,namespace:m,prefixes:o});if(I[b.$globalData]=this._globalData,l){I[b.$finalize](),this._current[b.$onChild](I)&&I[b.$setId](this._ids),I[b.$clean](this._builder);return}this._stack.push(this._current),this._current=I}},{key:"onEndElement",value:function(s){var g=this._current;if(g[b.$isCDATAXml]()&&typeof g[b.$content]=="string"){var l=new h;l._globalData=this._globalData;var a=l.parse(g[b.$content]);g[b.$content]=null,g[b.$onChild](a)}g[b.$finalize](),this._current=this._stack.pop(),this._current[b.$onChild](g)&&g[b.$setId](this._ids),g[b.$clean](this._builder)}},{key:"onError",value:function(s){this._errorCode=s}}]),h}(t.XMLParserBase);P.XFAParser=p},(Me,P,D)=>{"use strict";function T(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(v){return typeof v}:T=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},T(o)}Object.defineProperty(P,"__esModule",{value:!0}),P.Builder=void 0;var b=D(207),t=D(205),e=D(218),ge=D(210),le=D(227),V=D(4);function ye(o,c){var v=typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!v){if(Array.isArray(o)||(v=re(o))||c&&o&&typeof o.length=="number"){v&&(o=v);var A=0,u=function(){};return{s:u,n:function(){return A>=o.length?{done:!0}:{done:!1,value:o[A++]}},e:function(_){throw _},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var C=!0,I=!1,E;return{s:function(){v=v.call(o)},n:function(){var _=v.next();return C=_.done,_},e:function(_){I=!0,E=_},f:function(){try{!C&&v.return!=null&&v.return()}finally{if(I)throw E}}}}function be(o,c){return d(o)||ae(o,c)||re(o,c)||xe()}function xe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ae(o,c){var v=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(v!=null){var A=[],u=!0,C=!1,I,E;try{for(v=v.call(o);!(u=(I=v.next()).done)&&(A.push(I.value),!(c&&A.length===c));u=!0);}catch(N){C=!0,E=N}finally{try{!u&&v.return!=null&&v.return()}finally{if(C)throw E}}return A}}function d(o){if(Array.isArray(o))return o}function ce(o){return y(o)||X(o)||re(o)||q()}function q(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function re(o,c){if(!!o){if(typeof o=="string")return k(o,c);var v=Object.prototype.toString.call(o).slice(8,-1);if(v==="Object"&&o.constructor&&(v=o.constructor.name),v==="Map"||v==="Set")return Array.from(o);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return k(o,c)}}function X(o){if(typeof Symbol!="undefined"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}function y(o){if(Array.isArray(o))return k(o)}function k(o,c){(c==null||c>o.length)&&(c=o.length);for(var v=0,A=new Array(c);v<c;v++)A[v]=o[v];return A}function n(o,c){if(!(o instanceof c))throw new TypeError("Cannot call a class as a function")}function S(o,c){for(var v=0;v<c.length;v++){var A=c[v];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(o,A.key,A)}}function O(o,c,v){return c&&S(o.prototype,c),v&&S(o,v),o}function w(o,c,v){return typeof Reflect!="undefined"&&Reflect.get?w=Reflect.get:w=function(u,C,I){var E=p(u,C);if(!!E){var N=Object.getOwnPropertyDescriptor(E,C);return N.get?N.get.call(I):N.value}},w(o,c,v||o)}function p(o,c){for(;!Object.prototype.hasOwnProperty.call(o,c)&&(o=l(o),o!==null););return o}function x(o,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(c&&c.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),c&&f(o,c)}function f(o,c){return f=Object.setPrototypeOf||function(A,u){return A.__proto__=u,A},f(o,c)}function h(o){var c=g();return function(){var A=l(o),u;if(c){var C=l(this).constructor;u=Reflect.construct(A,arguments,C)}else u=A.apply(this,arguments);return F(this,u)}}function F(o,c){if(c&&(T(c)==="object"||typeof c=="function"))return c;if(c!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return s(o)}function s(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function g(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(o){return!1}}function l(o){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(v){return v.__proto__||Object.getPrototypeOf(v)},l(o)}var a=function(o){x(v,o);var c=h(v);function v(A){var u;return n(this,v),u=c.call(this,-1,"root",Object.create(null)),u.element=null,u[t.$ids]=A,u}return O(v,[{key:t.$onChild,value:function(u){return this.element=u,!0}},{key:t.$finalize,value:function(){w(l(v.prototype),t.$finalize,this).call(this),this.element.template instanceof ge.Template&&(this[t.$ids].set(t.$root,this.element),this.element.template[t.$resolvePrototypes](this[t.$ids]),this.element.template[t.$ids]=this[t.$ids])}}]),v}(t.XFAObject),i=function(o){x(v,o);var c=h(v);function v(){return n(this,v),c.call(this,-1,"",Object.create(null))}return O(v,[{key:t.$onChild,value:function(u){return!1}}]),v}(t.XFAObject),m=function(){function o(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;n(this,o),this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max.apply(Math,ce(Object.values(b.NamespaceIds).map(function(v){var A=v.id;return A}))),this._currentNamespace=c||new le.UnknownNamespace(++this._nextNsId)}return O(o,[{key:"buildRoot",value:function(v){return new a(v)}},{key:"build",value:function(v){var A=v.nsPrefix,u=v.name,C=v.attributes,I=v.namespace,E=v.prefixes,N=I!==null;if(N&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(I)),E&&this._addNamespacePrefix(E),C.hasOwnProperty(t.$nsAttributes)){for(var _=e.NamespaceSetUp.datasets,Y=C[t.$nsAttributes],H=null,Z=0,ne=Object.entries(Y);Z<ne.length;Z++){var he=be(ne[Z],2),Se=he[0],ue=he[1],te=this._getNamespaceToUse(Se);if(te===_){H={xfa:ue};break}}H?C[t.$nsAttributes]=H:delete C[t.$nsAttributes]}var $=this._getNamespaceToUse(A),j=$&&$[b.$buildXFAObject](u,C)||new i;return j[t.$isNsAgnostic]()&&this._nsAgnosticLevel++,(N||E||j[t.$isNsAgnostic]())&&(j[t.$cleanup]={hasNamespace:N,prefixes:E,nsAgnostic:j[t.$isNsAgnostic]()}),j}},{key:"isNsAgnostic",value:function(){return this._nsAgnosticLevel>0}},{key:"_searchNamespace",value:function(v){var A=this._namespaces.get(v);if(A)return A;for(var u=0,C=Object.entries(b.NamespaceIds);u<C.length;u++){var I=be(C[u],2),E=I[0],N=I[1].check;if(N(v)){if(A=e.NamespaceSetUp[E],A)return this._namespaces.set(v,A),A;break}}return A=new le.UnknownNamespace(++this._nextNsId),this._namespaces.set(v,A),A}},{key:"_addNamespacePrefix",value:function(v){var A=ye(v),u;try{for(A.s();!(u=A.n()).done;){var C=u.value,I=C.prefix,E=C.value,N=this._searchNamespace(E),_=this._namespacePrefixes.get(I);_||(_=[],this._namespacePrefixes.set(I,_)),_.push(N)}}catch(Y){A.e(Y)}finally{A.f()}}},{key:"_getNamespaceToUse",value:function(v){if(!v)return this._currentNamespace;var A=this._namespacePrefixes.get(v);return A&&A.length>0?A[A.length-1]:((0,V.warn)("Unknown namespace prefix: ".concat(v,".")),null)}},{key:"clean",value:function(v){var A=this,u=v.hasNamespace,C=v.prefixes,I=v.nsAgnostic;u&&(this._currentNamespace=this._namespaceStack.pop()),C&&C.forEach(function(E){var N=E.prefix;A._namespacePrefixes.get(N).pop()}),I&&this._nsAgnosticLevel--}}]),o}();P.Builder=m},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.NamespaceSetUp=void 0;var T=D(219),b=D(220),t=D(221),e=D(222),ge=D(223),le=D(224),V=D(210),ye=D(225),be=D(226),xe={config:T.ConfigNamespace,connection:b.ConnectionSetNamespace,datasets:t.DatasetsNamespace,localeSet:e.LocaleSetNamespace,signature:ge.SignatureNamespace,stylesheet:le.StylesheetNamespace,template:V.TemplateNamespace,xdp:ye.XdpNamespace,xhtml:be.XhtmlNamespace};P.NamespaceSetUp=xe},(Me,P,D)=>{"use strict";function T(Be){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(R){return typeof R}:T=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},T(Be)}Object.defineProperty(P,"__esModule",{value:!0}),P.ConfigNamespace=void 0;var b=D(207),t=D(205),e=D(206),ge=D(4);function le(Be,Ae){var R=typeof Symbol!="undefined"&&Be[Symbol.iterator]||Be["@@iterator"];if(!R){if(Array.isArray(Be)||(R=V(Be))||Ae&&Be&&typeof Be.length=="number"){R&&(Be=R);var Ye=0,Te=function(){};return{s:Te,n:function(){return Ye>=Be.length?{done:!0}:{done:!1,value:Be[Ye++]}},e:function(Oe){throw Oe},f:Te}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var zt=!0,Yt=!1,cr;return{s:function(){R=R.call(Be)},n:function(){var Oe=R.next();return zt=Oe.done,Oe},e:function(Oe){Yt=!0,cr=Oe},f:function(){try{!zt&&R.return!=null&&R.return()}finally{if(Yt)throw cr}}}}function V(Be,Ae){if(!!Be){if(typeof Be=="string")return ye(Be,Ae);var R=Object.prototype.toString.call(Be).slice(8,-1);if(R==="Object"&&Be.constructor&&(R=Be.constructor.name),R==="Map"||R==="Set")return Array.from(Be);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return ye(Be,Ae)}}function ye(Be,Ae){(Ae==null||Ae>Be.length)&&(Ae=Be.length);for(var R=0,Ye=new Array(Ae);R<Ae;R++)Ye[R]=Be[R];return Ye}function be(Be,Ae){for(var R=0;R<Ae.length;R++){var Ye=Ae[R];Ye.enumerable=Ye.enumerable||!1,Ye.configurable=!0,"value"in Ye&&(Ye.writable=!0),Object.defineProperty(Be,Ye.key,Ye)}}function xe(Be,Ae,R){return Ae&&be(Be.prototype,Ae),R&&be(Be,R),Be}function ae(Be,Ae){if(!(Be instanceof Ae))throw new TypeError("Cannot call a class as a function")}function d(Be,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Super expression must either be null or a function");Be.prototype=Object.create(Ae&&Ae.prototype,{constructor:{value:Be,writable:!0,configurable:!0}}),Ae&&ce(Be,Ae)}function ce(Be,Ae){return ce=Object.setPrototypeOf||function(Ye,Te){return Ye.__proto__=Te,Ye},ce(Be,Ae)}function q(Be){var Ae=y();return function(){var Ye=k(Be),Te;if(Ae){var zt=k(this).constructor;Te=Reflect.construct(Ye,arguments,zt)}else Te=Ye.apply(this,arguments);return re(this,Te)}}function re(Be,Ae){if(Ae&&(T(Ae)==="object"||typeof Ae=="function"))return Ae;if(Ae!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return X(Be)}function X(Be){if(Be===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Be}function y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Be){return!1}}function k(Be){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},k(Be)}var n=b.NamespaceIds.config.id,S=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"acrobat",!0),Te.acrobat7=null,Te.autoSave=null,Te.common=null,Te.validate=null,Te.validateApprovalSignatures=null,Te.submitUrl=new t.XFAObjectArray,Te}return R}(t.XFAObject),O=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"acrobat7",!0),Te.dynamicRender=null,Te}return R}(t.XFAObject),w=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"ADBE_JSConsole",["delegate","Enable","Disable"])}return R}(t.OptionObject),p=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"ADBE_JSDebugger",["delegate","Enable","Disable"])}return R}(t.OptionObject),x=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"addSilentPrint")}return R}(t.Option01),f=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"addViewerPreferences")}return R}(t.Option01),h=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"adjustData")}return R}(t.Option10),F=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"adobeExtensionLevel",0,function(Te){return Te>=1&&Te<=8})}return R}(t.IntegerObject),s=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"agent",!0),Te.name=Ye.name?Ye.name.trim():"",Te.common=new t.XFAObjectArray,Te}return R}(t.XFAObject),g=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"alwaysEmbed")}return R}(t.ContentObject),l=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"amd")}return R}(t.StringObject),a=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"area"),Te.level=(0,e.getInteger)({data:Ye.level,defaultValue:0,validate:function(Yt){return Yt>=1&&Yt<=3}}),Te.name=(0,e.getStringOption)(Ye.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"]),Te}return R}(t.XFAObject),i=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"attributes",["preserve","delegate","ignore"])}return R}(t.OptionObject),m=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"autoSave",["disabled","enabled"])}return R}(t.OptionObject),o=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"base")}return R}(t.StringObject),c=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"batchOutput"),Te.format=(0,e.getStringOption)(Ye.format,["none","concat","zip","zipCompress"]),Te}return R}(t.XFAObject),v=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"behaviorOverride")}return xe(R,[{key:t.$finalize,value:function(){this[t.$content]=new Map(this[t.$content].trim().split(/\s+/).filter(function(Te){return Te.includes(":")}).map(function(Te){return Te.split(":",2)}))}}]),R}(t.ContentObject),A=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"cache",!0),Te.templateCache=null,Te}return R}(t.XFAObject),u=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"change")}return R}(t.Option01),C=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"common",!0),Te.data=null,Te.locale=null,Te.localeSet=null,Te.messaging=null,Te.suppressBanner=null,Te.template=null,Te.validationMessaging=null,Te.versionControl=null,Te.log=new t.XFAObjectArray,Te}return R}(t.XFAObject),I=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"compress"),Te.scope=(0,e.getStringOption)(Ye.scope,["imageOnly","document"]),Te}return R}(t.XFAObject),E=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"compressLogicalStructure")}return R}(t.Option01),N=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"compressObjectStream")}return R}(t.Option10),_=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"compression",!0),Te.compressLogicalStructure=null,Te.compressObjectStream=null,Te.level=null,Te.type=null,Te}return R}(t.XFAObject),Y=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"config",!0),Te.acrobat=null,Te.present=null,Te.trace=null,Te.agent=new t.XFAObjectArray,Te}return R}(t.XFAObject),H=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"conformance",["A","B"])}return R}(t.OptionObject),Z=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"contentCopy")}return R}(t.Option01),ne=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"copies",1,function(Te){return Te>=1})}return R}(t.IntegerObject),he=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"creator")}return R}(t.StringObject),Se=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"currentPage",0,function(Te){return Te>=0})}return R}(t.IntegerObject),ue=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"data",!0),Te.adjustData=null,Te.attributes=null,Te.incrementalLoad=null,Te.outputXSL=null,Te.range=null,Te.record=null,Te.startNode=null,Te.uri=null,Te.window=null,Te.xsl=null,Te.excludeNS=new t.XFAObjectArray,Te.transform=new t.XFAObjectArray,Te}return R}(t.XFAObject),te=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"debug",!0),Te.uri=null,Te}return R}(t.XFAObject),$=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"defaultTypeface"),Te.writingScript=(0,e.getStringOption)(Ye.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"]),Te}return R}(t.ContentObject),j=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"destination",["pdf","pcl","ps","webClient","zpl"])}return R}(t.OptionObject),G=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"documentAssembly")}return R}(t.Option01),M=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"driver",!0),Te.name=Ye.name?Ye.name.trim():"",Te.fontInfo=null,Te.xdc=null,Te}return R}(t.XFAObject),W=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}return R}(t.OptionObject),z=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"dynamicRender",["forbidden","required"])}return R}(t.OptionObject),J=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"embed")}return R}(t.Option01),Q=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"encrypt")}return R}(t.Option01),K=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"encryption",!0),Te.encrypt=null,Te.encryptionLevel=null,Te.permissions=null,Te}return R}(t.XFAObject),de=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"encryptionLevel",["40bit","128bit"])}return R}(t.OptionObject),oe=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"enforce")}return R}(t.StringObject),pe=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"equate"),Te.force=(0,e.getInteger)({data:Ye.force,defaultValue:1,validate:function(Yt){return Yt===0}}),Te.from=Ye.from||"",Te.to=Ye.to||"",Te}return R}(t.XFAObject),fe=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"equateRange"),Te.from=Ye.from||"",Te.to=Ye.to||"",Te._unicodeRange=Ye.unicodeRange||"",Te}return xe(R,[{key:"unicodeRange",get:function(){var Te=[],zt=/U\+([0-9a-fA-F]+)/,Yt=this._unicodeRange,cr=le(Yt.split(",").map(function(U){return U.trim()}).filter(function(U){return!!U})),Pe;try{for(cr.s();!(Pe=cr.n()).done;){var Oe=Pe.value;Oe=Oe.split("-",2).map(function(U){var L=U.match(zt);return L?parseInt(L[1],16):0}),Oe.length===1&&Oe.push(Oe[0]),Te.push(Oe)}}catch(U){cr.e(U)}finally{cr.f()}return(0,ge.shadow)(this,"unicodeRange",Te)}}]),R}(t.XFAObject),ke=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"exclude")}return xe(R,[{key:t.$finalize,value:function(){this[t.$content]=this[t.$content].trim().split(/\s+/).filter(function(Te){return Te&&["calculate","close","enter","exit","initialize","ready","validate"].includes(Te)})}}]),R}(t.ContentObject),Re=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"excludeNS")}return R}(t.StringObject),ve=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"flipLabel",["usePrinterSetting","on","off"])}return R}(t.OptionObject),we=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"fontInfo",!0),Te.embed=null,Te.map=null,Te.subsetBelow=null,Te.alwaysEmbed=new t.XFAObjectArray,Te.defaultTypeface=new t.XFAObjectArray,Te.neverEmbed=new t.XFAObjectArray,Te}return R}(t.XFAObject),se=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"formFieldFilling")}return R}(t.Option01),me=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"groupParent")}return R}(t.StringObject),ee=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}return R}(t.OptionObject),Fe=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"includeXDPContent")}return R}(t.StringObject),Ee=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"incrementalLoad",["none","forwardOnly"])}return R}(t.OptionObject),Ce=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"incrementalMerge")}return R}(t.Option01),De=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"interactive")}return R}(t.Option01),_e=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"jog",["usePrinterSetting","none","pageSet"])}return R}(t.OptionObject),Ne=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"labelPrinter",!0),Te.name=(0,e.getStringOption)(Ye.name,["zpl","dpl","ipl","tcpl"]),Te.batchOutput=null,Te.flipLabel=null,Te.fontInfo=null,Te.xdc=null,Te}return R}(t.XFAObject),$e=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"layout",["paginate","panel"])}return R}(t.OptionObject),je=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"level",0,function(Te){return Te>0})}return R}(t.IntegerObject),Ve=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"linearized")}return R}(t.Option01),Ke=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"locale")}return R}(t.StringObject),Qe=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"localeSet")}return R}(t.StringObject),Ze=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"log",!0),Te.mode=null,Te.threshold=null,Te.to=null,Te.uri=null,Te}return R}(t.XFAObject),ze=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"map",!0),Te.equate=new t.XFAObjectArray,Te.equateRange=new t.XFAObjectArray,Te}return R}(t.XFAObject),ct=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"mediumInfo",!0),Te.map=null,Te}return R}(t.XFAObject),Je=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"message",!0),Te.msgId=null,Te.severity=null,Te}return R}(t.XFAObject),gt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"messaging",!0),Te.message=new t.XFAObjectArray,Te}return R}(t.XFAObject),xt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"mode",["append","overwrite"])}return R}(t.OptionObject),tt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"modifyAnnots")}return R}(t.Option01),yt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"msgId",1,function(Te){return Te>=1})}return R}(t.IntegerObject),It=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"nameAttr")}return R}(t.StringObject),ft=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"neverEmbed")}return R}(t.ContentObject),Ut=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"numberOfCopies",null,function(Te){return Te>=2&&Te<=5})}return R}(t.IntegerObject),kt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"openAction",!0),Te.destination=null,Te}return R}(t.XFAObject),Nt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"output",!0),Te.to=null,Te.type=null,Te.uri=null,Te}return R}(t.XFAObject),ar=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"outputBin")}return R}(t.StringObject),Qt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"outputXSL",!0),Te.uri=null,Te}return R}(t.XFAObject),He=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"overprint",["none","both","draw","field"])}return R}(t.OptionObject),et=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"packets")}return xe(R,[{key:t.$finalize,value:function(){this[t.$content]!=="*"&&(this[t.$content]=this[t.$content].trim().split(/\s+/).filter(function(Te){return["config","datasets","template","xfdf","xslt"].includes(Te)}))}}]),R}(t.StringObject),Ue=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"pageOffset"),Te.x=(0,e.getInteger)({data:Ye.x,defaultValue:"useXDCSetting",validate:function(Yt){return!0}}),Te.y=(0,e.getInteger)({data:Ye.y,defaultValue:"useXDCSetting",validate:function(Yt){return!0}}),Te}return R}(t.XFAObject),qe=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"pageRange")}return xe(R,[{key:t.$finalize,value:function(){for(var Te=this[t.$content].trim().split(/\s+/).map(function(Pe){return parseInt(Pe,10)}),zt=[],Yt=0,cr=Te.length;Yt<cr;Yt+=2)zt.push(Te.slice(Yt,Yt+2));this[t.$content]=zt}}]),R}(t.StringObject),ot=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"pagination",["simplex","duplexShortEdge","duplexLongEdge"])}return R}(t.OptionObject),nt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"paginationOverride",["none","forceDuplex","forceDuplexLongEdge","forceDuplexShortEdge","forceSimplex"])}return R}(t.OptionObject),Pt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"part",1,function(Te){return!1})}return R}(t.IntegerObject),Lt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"pcl",!0),Te.name=Ye.name||"",Te.batchOutput=null,Te.fontInfo=null,Te.jog=null,Te.mediumInfo=null,Te.outputBin=null,Te.pageOffset=null,Te.staple=null,Te.xdc=null,Te}return R}(t.XFAObject),bt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"pdf",!0),Te.name=Ye.name||"",Te.adobeExtensionLevel=null,Te.batchOutput=null,Te.compression=null,Te.creator=null,Te.encryption=null,Te.fontInfo=null,Te.interactive=null,Te.linearized=null,Te.openAction=null,Te.pdfa=null,Te.producer=null,Te.renderPolicy=null,Te.scriptModel=null,Te.silentPrint=null,Te.submitFormat=null,Te.tagged=null,Te.version=null,Te.viewerPreferences=null,Te.xdc=null,Te}return R}(t.XFAObject),Kt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"pdfa",!0),Te.amd=null,Te.conformance=null,Te.includeXDPContent=null,Te.part=null,Te}return R}(t.XFAObject),Jt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"permissions",!0),Te.accessibleContent=null,Te.change=null,Te.contentCopy=null,Te.documentAssembly=null,Te.formFieldFilling=null,Te.modifyAnnots=null,Te.plaintextMetadata=null,Te.print=null,Te.printHighQuality=null,Te}return R}(t.XFAObject),nr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"pickTrayByPDFSize")}return R}(t.Option01),pr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"picture")}return R}(t.StringObject),ur=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"plaintextMetadata")}return R}(t.Option01),yr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}return R}(t.OptionObject),Xt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"present",!0),Te.behaviorOverride=null,Te.cache=null,Te.common=null,Te.copies=null,Te.destination=null,Te.incrementalMerge=null,Te.layout=null,Te.output=null,Te.overprint=null,Te.pagination=null,Te.paginationOverride=null,Te.script=null,Te.validate=null,Te.xdp=null,Te.driver=new t.XFAObjectArray,Te.labelPrinter=new t.XFAObjectArray,Te.pcl=new t.XFAObjectArray,Te.pdf=new t.XFAObjectArray,Te.ps=new t.XFAObjectArray,Te.submitUrl=new t.XFAObjectArray,Te.webClient=new t.XFAObjectArray,Te.zpl=new t.XFAObjectArray,Te}return R}(t.XFAObject),fr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"print")}return R}(t.Option01),Dr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"printHighQuality")}return R}(t.Option01),Hr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"printScaling",["appdefault","noScaling"])}return R}(t.OptionObject),Kr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"printerName")}return R}(t.StringObject),Br=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"producer")}return R}(t.StringObject),Sr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"ps",!0),Te.name=Ye.name||"",Te.batchOutput=null,Te.fontInfo=null,Te.jog=null,Te.mediumInfo=null,Te.outputBin=null,Te.staple=null,Te.xdc=null,Te}return R}(t.XFAObject),hr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"range")}return xe(R,[{key:t.$finalize,value:function(){this[t.$content]=this[t.$content].trim().split(/\s*,\s*/,2).map(function(Te){return Te.split("-").map(function(zt){return parseInt(zt.trim(),10)})}).filter(function(Te){return Te.every(function(zt){return!isNaN(zt)})}).map(function(Te){return Te.length===1&&Te.push(Te[0]),Te})}}]),R}(t.ContentObject),vr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"record")}return xe(R,[{key:t.$finalize,value:function(){this[t.$content]=this[t.$content].trim();var Te=parseInt(this[t.$content],10);!isNaN(Te)&&Te>=0&&(this[t.$content]=Te)}}]),R}(t.ContentObject),zr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"relevant")}return xe(R,[{key:t.$finalize,value:function(){this[t.$content]=this[t.$content].trim().split(/\s+/)}}]),R}(t.ContentObject),br=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"rename")}return xe(R,[{key:t.$finalize,value:function(){this[t.$content]=this[t.$content].trim(),(this[t.$content].toLowerCase().startsWith("xml")||this[t.$content].match(new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u")))&&(0,ge.warn)("XFA - Rename: invalid XFA name")}}]),R}(t.ContentObject),qr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"renderPolicy",["server","client"])}return R}(t.OptionObject),Gr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"runScripts",["both","client","none","server"])}return R}(t.OptionObject),Ur=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"script",!0),Te.currentPage=null,Te.exclude=null,Te.runScripts=null,Te}return R}(t.XFAObject),Qr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"scriptModel",["XFA","none"])}return R}(t.OptionObject),na=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"severity",["ignore","error","information","trace","warning"])}return R}(t.OptionObject),ht=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"silentPrint",!0),Te.addSilentPrint=null,Te.printerName=null,Te}return R}(t.XFAObject),ut=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"staple"),Te.mode=(0,e.getStringOption)(Ye.mode,["usePrinterSetting","on","off"]),Te}return R}(t.XFAObject),We=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"startNode")}return R}(t.StringObject),it=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"startPage",0,function(Te){return!0})}return R}(t.IntegerObject),st=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"submitFormat",["html","delegate","fdf","xml","pdf"])}return R}(t.OptionObject),dt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"submitUrl")}return R}(t.StringObject),pt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"subsetBelow",100,function(Te){return Te>=0&&Te<=100})}return R}(t.IntegerObject),Dt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"suppressBanner")}return R}(t.Option01),_t=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"tagged")}return R}(t.Option01),qt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"template",!0),Te.base=null,Te.relevant=null,Te.startPage=null,Te.uri=null,Te.xsl=null,Te}return R}(t.XFAObject),Bt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"threshold",["trace","error","information","warning"])}return R}(t.OptionObject),Rt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"to",["null","memory","stderr","stdout","system","uri"])}return R}(t.OptionObject),Or=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"templateCache"),Te.maxEntries=(0,e.getInteger)({data:Ye.maxEntries,defaultValue:5,validate:function(Yt){return Yt>=0}}),Te}return R}(t.XFAObject),Tr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"trace",!0),Te.area=new t.XFAObjectArray,Te}return R}(t.XFAObject),Er=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"transform",!0),Te.groupParent=null,Te.ifEmpty=null,Te.nameAttr=null,Te.picture=null,Te.presence=null,Te.rename=null,Te.whitespace=null,Te}return R}(t.XFAObject),$r=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}return R}(t.OptionObject),wt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"uri")}return R}(t.StringObject),vt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"validate",["preSubmit","prePrint","preExecute","preSave"])}return R}(t.OptionObject),St=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"validateApprovalSignatures")}return xe(R,[{key:t.$finalize,value:function(){this[t.$content]=this[t.$content].trim().split(/\s+/).filter(function(Te){return["docReady","postSign"].includes(Te)})}}]),R}(t.ContentObject),Et=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}return R}(t.OptionObject),Mt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}return R}(t.OptionObject),jt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"VersionControl"),Te.outputBelow=(0,e.getStringOption)(Ye.outputBelow,["warn","error","update"]),Te.sourceAbove=(0,e.getStringOption)(Ye.sourceAbove,["warn","error"]),Te.sourceBelow=(0,e.getStringOption)(Ye.sourceBelow,["update","maintain"]),Te}return R}(t.XFAObject),Gt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"viewerPreferences",!0),Te.ADBE_JSConsole=null,Te.ADBE_JSDebugger=null,Te.addViewerPreferences=null,Te.duplexOption=null,Te.enforce=null,Te.numberOfCopies=null,Te.pageRange=null,Te.pickTrayByPDFSize=null,Te.printScaling=null,Te}return R}(t.XFAObject),Tt=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"webClient",!0),Te.name=Ye.name?Ye.name.trim():"",Te.fontInfo=null,Te.xdc=null,Te}return R}(t.XFAObject),sr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}return R}(t.OptionObject),tr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){return ae(this,R),Ae.call(this,n,"window")}return xe(R,[{key:t.$finalize,value:function(){var Te=this[t.$content].trim().split(/\s*,\s*/,2).map(function(zt){return parseInt(zt,10)});if(Te.some(function(zt){return isNaN(zt)})){this[t.$content]=[0,0];return}Te.length===1&&Te.push(Te[0]),this[t.$content]=Te}}]),R}(t.ContentObject),rr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"xdc",!0),Te.uri=new t.XFAObjectArray,Te.xsl=new t.XFAObjectArray,Te}return R}(t.XFAObject),Ht=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"xdp",!0),Te.packets=null,Te}return R}(t.XFAObject),Ar=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"xsl",!0),Te.debug=null,Te.uri=null,Te}return R}(t.XFAObject),dr=function(Be){d(R,Be);var Ae=q(R);function R(Ye){var Te;return ae(this,R),Te=Ae.call(this,n,"zpl",!0),Te.name=Ye.name?Ye.name.trim():"",Te.batchOutput=null,Te.flipLabel=null,Te.fontInfo=null,Te.xdc=null,Te}return R}(t.XFAObject),lr=function(){function Be(){ae(this,Be)}return xe(Be,null,[{key:b.$buildXFAObject,value:function(R,Ye){if(Be.hasOwnProperty(R))return Be[R](Ye)}},{key:"acrobat",value:function(R){return new S(R)}},{key:"acrobat7",value:function(R){return new O(R)}},{key:"ADBE_JSConsole",value:function(R){return new w(R)}},{key:"ADBE_JSDebugger",value:function(R){return new p(R)}},{key:"addSilentPrint",value:function(R){return new x(R)}},{key:"addViewerPreferences",value:function(R){return new f(R)}},{key:"adjustData",value:function(R){return new h(R)}},{key:"adobeExtensionLevel",value:function(R){return new F(R)}},{key:"agent",value:function(R){return new s(R)}},{key:"alwaysEmbed",value:function(R){return new g(R)}},{key:"amd",value:function(R){return new l(R)}},{key:"area",value:function(R){return new a(R)}},{key:"attributes",value:function(R){return new i(R)}},{key:"autoSave",value:function(R){return new m(R)}},{key:"base",value:function(R){return new o(R)}},{key:"batchOutput",value:function(R){return new c(R)}},{key:"behaviorOverride",value:function(R){return new v(R)}},{key:"cache",value:function(R){return new A(R)}},{key:"change",value:function(R){return new u(R)}},{key:"common",value:function(R){return new C(R)}},{key:"compress",value:function(R){return new I(R)}},{key:"compressLogicalStructure",value:function(R){return new E(R)}},{key:"compressObjectStream",value:function(R){return new N(R)}},{key:"compression",value:function(R){return new _(R)}},{key:"config",value:function(R){return new Y(R)}},{key:"conformance",value:function(R){return new H(R)}},{key:"contentCopy",value:function(R){return new Z(R)}},{key:"copies",value:function(R){return new ne(R)}},{key:"creator",value:function(R){return new he(R)}},{key:"currentPage",value:function(R){return new Se(R)}},{key:"data",value:function(R){return new ue(R)}},{key:"debug",value:function(R){return new te(R)}},{key:"defaultTypeface",value:function(R){return new $(R)}},{key:"destination",value:function(R){return new j(R)}},{key:"documentAssembly",value:function(R){return new G(R)}},{key:"driver",value:function(R){return new M(R)}},{key:"duplexOption",value:function(R){return new W(R)}},{key:"dynamicRender",value:function(R){return new z(R)}},{key:"embed",value:function(R){return new J(R)}},{key:"encrypt",value:function(R){return new Q(R)}},{key:"encryption",value:function(R){return new K(R)}},{key:"encryptionLevel",value:function(R){return new de(R)}},{key:"enforce",value:function(R){return new oe(R)}},{key:"equate",value:function(R){return new pe(R)}},{key:"equateRange",value:function(R){return new fe(R)}},{key:"exclude",value:function(R){return new ke(R)}},{key:"excludeNS",value:function(R){return new Re(R)}},{key:"flipLabel",value:function(R){return new ve(R)}},{key:"fontInfo",value:function(R){return new we(R)}},{key:"formFieldFilling",value:function(R){return new se(R)}},{key:"groupParent",value:function(R){return new me(R)}},{key:"ifEmpty",value:function(R){return new ee(R)}},{key:"includeXDPContent",value:function(R){return new Fe(R)}},{key:"incrementalLoad",value:function(R){return new Ee(R)}},{key:"incrementalMerge",value:function(R){return new Ce(R)}},{key:"interactive",value:function(R){return new De(R)}},{key:"jog",value:function(R){return new _e(R)}},{key:"labelPrinter",value:function(R){return new Ne(R)}},{key:"layout",value:function(R){return new $e(R)}},{key:"level",value:function(R){return new je(R)}},{key:"linearized",value:function(R){return new Ve(R)}},{key:"locale",value:function(R){return new Ke(R)}},{key:"localeSet",value:function(R){return new Qe(R)}},{key:"log",value:function(R){return new Ze(R)}},{key:"map",value:function(R){return new ze(R)}},{key:"mediumInfo",value:function(R){return new ct(R)}},{key:"message",value:function(R){return new Je(R)}},{key:"messaging",value:function(R){return new gt(R)}},{key:"mode",value:function(R){return new xt(R)}},{key:"modifyAnnots",value:function(R){return new tt(R)}},{key:"msgId",value:function(R){return new yt(R)}},{key:"nameAttr",value:function(R){return new It(R)}},{key:"neverEmbed",value:function(R){return new ft(R)}},{key:"numberOfCopies",value:function(R){return new Ut(R)}},{key:"openAction",value:function(R){return new kt(R)}},{key:"output",value:function(R){return new Nt(R)}},{key:"outputBin",value:function(R){return new ar(R)}},{key:"outputXSL",value:function(R){return new Qt(R)}},{key:"overprint",value:function(R){return new He(R)}},{key:"packets",value:function(R){return new et(R)}},{key:"pageOffset",value:function(R){return new Ue(R)}},{key:"pageRange",value:function(R){return new qe(R)}},{key:"pagination",value:function(R){return new ot(R)}},{key:"paginationOverride",value:function(R){return new nt(R)}},{key:"part",value:function(R){return new Pt(R)}},{key:"pcl",value:function(R){return new Lt(R)}},{key:"pdf",value:function(R){return new bt(R)}},{key:"pdfa",value:function(R){return new Kt(R)}},{key:"permissions",value:function(R){return new Jt(R)}},{key:"pickTrayByPDFSize",value:function(R){return new nr(R)}},{key:"picture",value:function(R){return new pr(R)}},{key:"plaintextMetadata",value:function(R){return new ur(R)}},{key:"presence",value:function(R){return new yr(R)}},{key:"present",value:function(R){return new Xt(R)}},{key:"print",value:function(R){return new fr(R)}},{key:"printHighQuality",value:function(R){return new Dr(R)}},{key:"printScaling",value:function(R){return new Hr(R)}},{key:"printerName",value:function(R){return new Kr(R)}},{key:"producer",value:function(R){return new Br(R)}},{key:"ps",value:function(R){return new Sr(R)}},{key:"range",value:function(R){return new hr(R)}},{key:"record",value:function(R){return new vr(R)}},{key:"relevant",value:function(R){return new zr(R)}},{key:"rename",value:function(R){return new br(R)}},{key:"renderPolicy",value:function(R){return new qr(R)}},{key:"runScripts",value:function(R){return new Gr(R)}},{key:"script",value:function(R){return new Ur(R)}},{key:"scriptModel",value:function(R){return new Qr(R)}},{key:"severity",value:function(R){return new na(R)}},{key:"silentPrint",value:function(R){return new ht(R)}},{key:"staple",value:function(R){return new ut(R)}},{key:"startNode",value:function(R){return new We(R)}},{key:"startPage",value:function(R){return new it(R)}},{key:"submitFormat",value:function(R){return new st(R)}},{key:"submitUrl",value:function(R){return new dt(R)}},{key:"subsetBelow",value:function(R){return new pt(R)}},{key:"suppressBanner",value:function(R){return new Dt(R)}},{key:"tagged",value:function(R){return new _t(R)}},{key:"template",value:function(R){return new qt(R)}},{key:"templateCache",value:function(R){return new Or(R)}},{key:"threshold",value:function(R){return new Bt(R)}},{key:"to",value:function(R){return new Rt(R)}},{key:"trace",value:function(R){return new Tr(R)}},{key:"transform",value:function(R){return new Er(R)}},{key:"type",value:function(R){return new $r(R)}},{key:"uri",value:function(R){return new wt(R)}},{key:"validate",value:function(R){return new vt(R)}},{key:"validateApprovalSignatures",value:function(R){return new St(R)}},{key:"validationMessaging",value:function(R){return new Et(R)}},{key:"version",value:function(R){return new Mt(R)}},{key:"versionControl",value:function(R){return new jt(R)}},{key:"viewerPreferences",value:function(R){return new Gt(R)}},{key:"webClient",value:function(R){return new Tt(R)}},{key:"whitespace",value:function(R){return new sr(R)}},{key:"window",value:function(R){return new tr(R)}},{key:"xdc",value:function(R){return new rr(R)}},{key:"xdp",value:function(R){return new Ht(R)}},{key:"xsl",value:function(R){return new Ar(R)}},{key:"zpl",value:function(R){return new dr(R)}}]),Be}();P.ConfigNamespace=lr},(Me,P,D)=>{"use strict";function T(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(l){return typeof l}:T=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},T(s)}Object.defineProperty(P,"__esModule",{value:!0}),P.ConnectionSetNamespace=void 0;var b=D(207),t=D(205);function e(s,g){for(var l=0;l<g.length;l++){var a=g[l];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}function ge(s,g,l){return g&&e(s.prototype,g),l&&e(s,l),s}function le(s,g){if(!(s instanceof g))throw new TypeError("Cannot call a class as a function")}function V(s,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(g&&g.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),g&&ye(s,g)}function ye(s,g){return ye=Object.setPrototypeOf||function(a,i){return a.__proto__=i,a},ye(s,g)}function be(s){var g=d();return function(){var a=ce(s),i;if(g){var m=ce(this).constructor;i=Reflect.construct(a,arguments,m)}else i=a.apply(this,arguments);return xe(this,i)}}function xe(s,g){if(g&&(T(g)==="object"||typeof g=="function"))return g;if(g!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(s)}function ae(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(s){return!1}}function ce(s){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(l){return l.__proto__||Object.getPrototypeOf(l)},ce(s)}var q=b.NamespaceIds.connectionSet.id,re=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"connectionSet",!0),i.wsdlConnection=new t.XFAObjectArray,i.xmlConnection=new t.XFAObjectArray,i.xsdConnection=new t.XFAObjectArray,i}return l}(t.XFAObject),X=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"effectiveInputPolicy"),i.id=a.id||"",i.name=a.name||"",i.use=a.use||"",i.usehref=a.usehref||"",i}return l}(t.XFAObject),y=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"effectiveOutputPolicy"),i.id=a.id||"",i.name=a.name||"",i.use=a.use||"",i.usehref=a.usehref||"",i}return l}(t.XFAObject),k=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"operation"),i.id=a.id||"",i.input=a.input||"",i.name=a.name||"",i.output=a.output||"",i.use=a.use||"",i.usehref=a.usehref||"",i}return l}(t.StringObject),n=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"rootElement"),i.id=a.id||"",i.name=a.name||"",i.use=a.use||"",i.usehref=a.usehref||"",i}return l}(t.StringObject),S=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"soapAction"),i.id=a.id||"",i.name=a.name||"",i.use=a.use||"",i.usehref=a.usehref||"",i}return l}(t.StringObject),O=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"soapAddress"),i.id=a.id||"",i.name=a.name||"",i.use=a.use||"",i.usehref=a.usehref||"",i}return l}(t.StringObject),w=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"uri"),i.id=a.id||"",i.name=a.name||"",i.use=a.use||"",i.usehref=a.usehref||"",i}return l}(t.StringObject),p=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"wsdlAddress"),i.id=a.id||"",i.name=a.name||"",i.use=a.use||"",i.usehref=a.usehref||"",i}return l}(t.StringObject),x=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"wsdlConnection",!0),i.dataDescription=a.dataDescription||"",i.name=a.name||"",i.effectiveInputPolicy=null,i.effectiveOutputPolicy=null,i.operation=null,i.soapAction=null,i.soapAddress=null,i.wsdlAddress=null,i}return l}(t.XFAObject),f=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"xmlConnection",!0),i.dataDescription=a.dataDescription||"",i.name=a.name||"",i.uri=null,i}return l}(t.XFAObject),h=function(s){V(l,s);var g=be(l);function l(a){var i;return le(this,l),i=g.call(this,q,"xsdConnection",!0),i.dataDescription=a.dataDescription||"",i.name=a.name||"",i.rootElement=null,i.uri=null,i}return l}(t.XFAObject),F=function(){function s(){le(this,s)}return ge(s,null,[{key:b.$buildXFAObject,value:function(l,a){if(s.hasOwnProperty(l))return s[l](a)}},{key:"connectionSet",value:function(l){return new re(l)}},{key:"effectiveInputPolicy",value:function(l){return new X(l)}},{key:"effectiveOutputPolicy",value:function(l){return new y(l)}},{key:"operation",value:function(l){return new k(l)}},{key:"rootElement",value:function(l){return new n(l)}},{key:"soapAction",value:function(l){return new S(l)}},{key:"soapAddress",value:function(l){return new O(l)}},{key:"uri",value:function(l){return new w(l)}},{key:"wsdlAddress",value:function(l){return new p(l)}},{key:"wsdlConnection",value:function(l){return new x(l)}},{key:"xmlConnection",value:function(l){return new f(l)}},{key:"xsdConnection",value:function(l){return new h(l)}}]),s}();P.ConnectionSetNamespace=F},(Me,P,D)=>{"use strict";function T(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(S){return typeof S}:T=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},T(k)}Object.defineProperty(P,"__esModule",{value:!0}),P.DatasetsNamespace=void 0;var b=D(205),t=D(207);function e(k,n){if(!(k instanceof n))throw new TypeError("Cannot call a class as a function")}function ge(k,n){for(var S=0;S<n.length;S++){var O=n[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(k,O.key,O)}}function le(k,n,S){return n&&ge(k.prototype,n),S&&ge(k,S),k}function V(k,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(n&&n.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),n&&ye(k,n)}function ye(k,n){return ye=Object.setPrototypeOf||function(O,w){return O.__proto__=w,O},ye(k,n)}function be(k){var n=d();return function(){var O=ce(k),w;if(n){var p=ce(this).constructor;w=Reflect.construct(O,arguments,p)}else w=O.apply(this,arguments);return xe(this,w)}}function xe(k,n){if(n&&(T(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(k)}function ae(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}function ce(k){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},ce(k)}var q=t.NamespaceIds.datasets.id,re=function(k){V(S,k);var n=be(S);function S(O){return e(this,S),n.call(this,q,"data",O)}return le(S,[{key:b.$isNsAgnostic,value:function(){return!0}}]),S}(b.XmlObject),X=function(k){V(S,k);var n=be(S);function S(O){var w;return e(this,S),w=n.call(this,q,"datasets",!0),w.data=null,w.Signature=null,w}return le(S,[{key:b.$onChild,value:function(w){var p=w[b.$nodeName];(p==="data"&&w[b.$namespaceId]===q||p==="Signature"&&w[b.$namespaceId]===t.NamespaceIds.signature.id)&&(this[p]=w),this[b.$appendChild](w)}}]),S}(b.XFAObject),y=function(){function k(){e(this,k)}return le(k,null,[{key:t.$buildXFAObject,value:function(S,O){if(k.hasOwnProperty(S))return k[S](O)}},{key:"datasets",value:function(S){return new X(S)}},{key:"data",value:function(S){return new re(S)}}]),k}();P.DatasetsNamespace=y},(Me,P,D)=>{"use strict";function T(E){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(_){return typeof _}:T=function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},T(E)}Object.defineProperty(P,"__esModule",{value:!0}),P.LocaleSetNamespace=void 0;var b=D(207),t=D(205),e=D(206);function ge(E,N){for(var _=0;_<N.length;_++){var Y=N[_];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(E,Y.key,Y)}}function le(E,N,_){return N&&ge(E.prototype,N),_&&ge(E,_),E}function V(E,N){if(!(E instanceof N))throw new TypeError("Cannot call a class as a function")}function ye(E,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),N&&be(E,N)}function be(E,N){return be=Object.setPrototypeOf||function(Y,H){return Y.__proto__=H,Y},be(E,N)}function xe(E){var N=ce();return function(){var Y=q(E),H;if(N){var Z=q(this).constructor;H=Reflect.construct(Y,arguments,Z)}else H=Y.apply(this,arguments);return ae(this,H)}}function ae(E,N){if(N&&(T(N)==="object"||typeof N=="function"))return N;if(N!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(E)}function d(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}function q(E){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(_){return _.__proto__||Object.getPrototypeOf(_)},q(E)}var re=b.NamespaceIds.localeSet.id,X=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"calendarSymbols",!0),H.name="gregorian",H.dayNames=new t.XFAObjectArray(2),H.eraNames=null,H.meridiemNames=null,H.monthNames=new t.XFAObjectArray(2),H}return _}(t.XFAObject),y=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"currencySymbol"),H.name=(0,e.getStringOption)(Y.name,["symbol","isoname","decimal"]),H}return _}(t.StringObject),k=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"currencySymbols",!0),H.currencySymbol=new t.XFAObjectArray(3),H}return _}(t.XFAObject),n=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"datePattern"),H.name=(0,e.getStringOption)(Y.name,["full","long","med","short"]),H}return _}(t.StringObject),S=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"datePatterns",!0),H.datePattern=new t.XFAObjectArray(4),H}return _}(t.XFAObject),O=function(E){ye(_,E);var N=xe(_);function _(Y){return V(this,_),N.call(this,re,"dateTimeSymbols")}return _}(t.ContentObject),w=function(E){ye(_,E);var N=xe(_);function _(Y){return V(this,_),N.call(this,re,"day")}return _}(t.StringObject),p=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"dayNames",!0),H.abbr=(0,e.getInteger)({data:Y.abbr,defaultValue:0,validate:function(ne){return ne===1}}),H.day=new t.XFAObjectArray(7),H}return _}(t.XFAObject),x=function(E){ye(_,E);var N=xe(_);function _(Y){return V(this,_),N.call(this,re,"era")}return _}(t.StringObject),f=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"eraNames",!0),H.era=new t.XFAObjectArray(2),H}return _}(t.XFAObject),h=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"locale",!0),H.desc=Y.desc||"",H.name="isoname",H.calendarSymbols=null,H.currencySymbols=null,H.datePatterns=null,H.dateTimeSymbols=null,H.numberPatterns=null,H.numberSymbols=null,H.timePatterns=null,H.typeFaces=null,H}return _}(t.XFAObject),F=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"localeSet",!0),H.locale=new t.XFAObjectArray,H}return _}(t.XFAObject),s=function(E){ye(_,E);var N=xe(_);function _(Y){return V(this,_),N.call(this,re,"meridiem")}return _}(t.StringObject),g=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"meridiemNames",!0),H.meridiem=new t.XFAObjectArray(2),H}return _}(t.XFAObject),l=function(E){ye(_,E);var N=xe(_);function _(Y){return V(this,_),N.call(this,re,"month")}return _}(t.StringObject),a=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"monthNames",!0),H.abbr=(0,e.getInteger)({data:Y.abbr,defaultValue:0,validate:function(ne){return ne===1}}),H.month=new t.XFAObjectArray(12),H}return _}(t.XFAObject),i=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"numberPattern"),H.name=(0,e.getStringOption)(Y.name,["full","long","med","short"]),H}return _}(t.StringObject),m=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"numberPatterns",!0),H.numberPattern=new t.XFAObjectArray(4),H}return _}(t.XFAObject),o=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"numberSymbol"),H.name=(0,e.getStringOption)(Y.name,["decimal","grouping","percent","minus","zero"]),H}return _}(t.StringObject),c=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"numberSymbols",!0),H.numberSymbol=new t.XFAObjectArray(5),H}return _}(t.XFAObject),v=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"timePattern"),H.name=(0,e.getStringOption)(Y.name,["full","long","med","short"]),H}return _}(t.StringObject),A=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"timePatterns",!0),H.timePattern=new t.XFAObjectArray(4),H}return _}(t.XFAObject),u=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"typeFace",!0),H.name=Y.name|"",H}return _}(t.XFAObject),C=function(E){ye(_,E);var N=xe(_);function _(Y){var H;return V(this,_),H=N.call(this,re,"typeFaces",!0),H.typeFace=new t.XFAObjectArray,H}return _}(t.XFAObject),I=function(){function E(){V(this,E)}return le(E,null,[{key:b.$buildXFAObject,value:function(_,Y){if(E.hasOwnProperty(_))return E[_](Y)}},{key:"calendarSymbols",value:function(_){return new X(_)}},{key:"currencySymbol",value:function(_){return new y(_)}},{key:"currencySymbols",value:function(_){return new k(_)}},{key:"datePattern",value:function(_){return new n(_)}},{key:"datePatterns",value:function(_){return new S(_)}},{key:"dateTimeSymbols",value:function(_){return new O(_)}},{key:"day",value:function(_){return new w(_)}},{key:"dayNames",value:function(_){return new p(_)}},{key:"era",value:function(_){return new x(_)}},{key:"eraNames",value:function(_){return new f(_)}},{key:"locale",value:function(_){return new h(_)}},{key:"localeSet",value:function(_){return new F(_)}},{key:"meridiem",value:function(_){return new s(_)}},{key:"meridiemNames",value:function(_){return new g(_)}},{key:"month",value:function(_){return new l(_)}},{key:"monthNames",value:function(_){return new a(_)}},{key:"numberPattern",value:function(_){return new i(_)}},{key:"numberPatterns",value:function(_){return new m(_)}},{key:"numberSymbol",value:function(_){return new o(_)}},{key:"numberSymbols",value:function(_){return new c(_)}},{key:"timePattern",value:function(_){return new v(_)}},{key:"timePatterns",value:function(_){return new A(_)}},{key:"typeFace",value:function(_){return new u(_)}},{key:"typeFaces",value:function(_){return new C(_)}}]),E}();P.LocaleSetNamespace=I},(Me,P,D)=>{"use strict";function T(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(n){return typeof n}:T=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T(y)}Object.defineProperty(P,"__esModule",{value:!0}),P.SignatureNamespace=void 0;var b=D(207),t=D(205);function e(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function ge(y,k,n){return k&&e(y.prototype,k),n&&e(y,n),y}function le(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function V(y,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(k&&k.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),k&&ye(y,k)}function ye(y,k){return ye=Object.setPrototypeOf||function(S,O){return S.__proto__=O,S},ye(y,k)}function be(y){var k=d();return function(){var S=ce(y),O;if(k){var w=ce(this).constructor;O=Reflect.construct(S,arguments,w)}else O=S.apply(this,arguments);return xe(this,O)}}function xe(y,k){if(k&&(T(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(y)}function ae(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}function ce(y){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ce(y)}var q=b.NamespaceIds.signature.id,re=function(y){V(n,y);var k=be(n);function n(S){return le(this,n),k.call(this,q,"signature",!0)}return n}(t.XFAObject),X=function(){function y(){le(this,y)}return ge(y,null,[{key:b.$buildXFAObject,value:function(n,S){if(y.hasOwnProperty(n))return y[n](S)}},{key:"signature",value:function(n){return new re(n)}}]),y}();P.SignatureNamespace=X},(Me,P,D)=>{"use strict";function T(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(n){return typeof n}:T=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T(y)}Object.defineProperty(P,"__esModule",{value:!0}),P.StylesheetNamespace=void 0;var b=D(207),t=D(205);function e(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function ge(y,k,n){return k&&e(y.prototype,k),n&&e(y,n),y}function le(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function V(y,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(k&&k.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),k&&ye(y,k)}function ye(y,k){return ye=Object.setPrototypeOf||function(S,O){return S.__proto__=O,S},ye(y,k)}function be(y){var k=d();return function(){var S=ce(y),O;if(k){var w=ce(this).constructor;O=Reflect.construct(S,arguments,w)}else O=S.apply(this,arguments);return xe(this,O)}}function xe(y,k){if(k&&(T(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(y)}function ae(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}function ce(y){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ce(y)}var q=b.NamespaceIds.stylesheet.id,re=function(y){V(n,y);var k=be(n);function n(S){return le(this,n),k.call(this,q,"stylesheet",!0)}return n}(t.XFAObject),X=function(){function y(){le(this,y)}return ge(y,null,[{key:b.$buildXFAObject,value:function(n,S){if(y.hasOwnProperty(n))return y[n](S)}},{key:"stylesheet",value:function(n){return new re(n)}}]),y}();P.StylesheetNamespace=X},(Me,P,D)=>{"use strict";function T(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(n){return typeof n}:T=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T(y)}Object.defineProperty(P,"__esModule",{value:!0}),P.XdpNamespace=void 0;var b=D(207),t=D(205);function e(y,k){if(!(y instanceof k))throw new TypeError("Cannot call a class as a function")}function ge(y,k){for(var n=0;n<k.length;n++){var S=k[n];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function le(y,k,n){return k&&ge(y.prototype,k),n&&ge(y,n),y}function V(y,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(k&&k.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),k&&ye(y,k)}function ye(y,k){return ye=Object.setPrototypeOf||function(S,O){return S.__proto__=O,S},ye(y,k)}function be(y){var k=d();return function(){var S=ce(y),O;if(k){var w=ce(this).constructor;O=Reflect.construct(S,arguments,w)}else O=S.apply(this,arguments);return xe(this,O)}}function xe(y,k){if(k&&(T(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ae(y)}function ae(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}function ce(y){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ce(y)}var q=b.NamespaceIds.xdp.id,re=function(y){V(n,y);var k=be(n);function n(S){var O;return e(this,n),O=k.call(this,q,"xdp",!0),O.uuid=S.uuid||"",O.timeStamp=S.timeStamp||"",O.config=null,O.connectionSet=null,O.datasets=null,O.localeSet=null,O.stylesheet=new t.XFAObjectArray,O.template=null,O}return le(n,[{key:t.$onChildCheck,value:function(O){var w=b.NamespaceIds[O[t.$nodeName]];return w&&O[t.$namespaceId]===w.id}}]),n}(t.XFAObject),X=function(){function y(){e(this,y)}return le(y,null,[{key:b.$buildXFAObject,value:function(n,S){if(y.hasOwnProperty(n))return y[n](S)}},{key:"xdp",value:function(n){return new re(n)}}]),y}();P.XdpNamespace=X},(Me,P,D)=>{"use strict";function T(ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function($){return typeof $}:T=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},T(ue)}Object.defineProperty(P,"__esModule",{value:!0}),P.XhtmlNamespace=void 0;var b=D(205),t=D(207),e=D(212),ge=D(206);function le(ue,te){if(!(ue instanceof te))throw new TypeError("Cannot call a class as a function")}function V(ue,te){for(var $=0;$<te.length;$++){var j=te[$];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(ue,j.key,j)}}function ye(ue,te,$){return te&&V(ue.prototype,te),$&&V(ue,$),ue}function be(ue,te,$){return typeof Reflect!="undefined"&&Reflect.get?be=Reflect.get:be=function(G,M,W){var z=xe(G,M);if(!!z){var J=Object.getOwnPropertyDescriptor(z,M);return J.get?J.get.call(W):J.value}},be(ue,te,$||ue)}function xe(ue,te){for(;!Object.prototype.hasOwnProperty.call(ue,te)&&(ue=y(ue),ue!==null););return ue}function ae(ue,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function");ue.prototype=Object.create(te&&te.prototype,{constructor:{value:ue,writable:!0,configurable:!0}}),te&&d(ue,te)}function d(ue,te){return d=Object.setPrototypeOf||function(j,G){return j.__proto__=G,j},d(ue,te)}function ce(ue){var te=X();return function(){var j=y(ue),G;if(te){var M=y(this).constructor;G=Reflect.construct(j,arguments,M)}else G=j.apply(this,arguments);return q(this,G)}}function q(ue,te){if(te&&(T(te)==="object"||typeof te=="function"))return te;if(te!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return re(ue)}function re(ue){if(ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ue}function X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ue){return!1}}function y(ue){return y=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},y(ue)}function k(ue,te){return O(ue)||S(ue,te)||p(ue,te)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S(ue,te){var $=ue==null?null:typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if($!=null){var j=[],G=!0,M=!1,W,z;try{for($=$.call(ue);!(G=(W=$.next()).done)&&(j.push(W.value),!(te&&j.length===te));G=!0);}catch(J){M=!0,z=J}finally{try{!G&&$.return!=null&&$.return()}finally{if(M)throw z}}return j}}function O(ue){if(Array.isArray(ue))return ue}function w(ue,te){var $=typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if(!$){if(Array.isArray(ue)||($=p(ue))||te&&ue&&typeof ue.length=="number"){$&&(ue=$);var j=0,G=function(){};return{s:G,n:function(){return j>=ue.length?{done:!0}:{done:!1,value:ue[j++]}},e:function(Q){throw Q},f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var M=!0,W=!1,z;return{s:function(){$=$.call(ue)},n:function(){var Q=$.next();return M=Q.done,Q},e:function(Q){W=!0,z=Q},f:function(){try{!M&&$.return!=null&&$.return()}finally{if(W)throw z}}}}function p(ue,te){if(!!ue){if(typeof ue=="string")return x(ue,te);var $=Object.prototype.toString.call(ue).slice(8,-1);if($==="Object"&&ue.constructor&&($=ue.constructor.name),$==="Map"||$==="Set")return Array.from(ue);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return x(ue,te)}}function x(ue,te){(te==null||te>ue.length)&&(te=ue.length);for(var $=0,j=new Array(te);$<te;$++)j[$]=ue[$];return j}var f=t.NamespaceIds.xhtml.id,h=Symbol(),F=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),s=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",function(ue){return ue==="none"?"none":"normal"}],["xfa-font-horizontal-scale",function(ue){return"scaleX(".concat(Math.max(0,Math.min(parseInt(ue)/100)).toFixed(2),")")}],["xfa-font-vertical-scale",function(ue){return"scaleY(".concat(Math.max(0,Math.min(parseInt(ue)/100)).toFixed(2),")")}],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",function(ue,te){return ue=te.fontSize=(0,ge.getMeasurement)(ue),(0,e.measureToString)(.99*ue)}],["letter-spacing",function(ue){return(0,e.measureToString)((0,ge.getMeasurement)(ue))}],["line-height",function(ue){return(0,e.measureToString)((0,ge.getMeasurement)(ue))}],["margin",function(ue){return(0,e.measureToString)((0,ge.getMeasurement)(ue))}],["margin-bottom",function(ue){return(0,e.measureToString)((0,ge.getMeasurement)(ue))}],["margin-left",function(ue){return(0,e.measureToString)((0,ge.getMeasurement)(ue))}],["margin-right",function(ue){return(0,e.measureToString)((0,ge.getMeasurement)(ue))}],["margin-top",function(ue){return(0,e.measureToString)((0,ge.getMeasurement)(ue))}],["text-indent",function(ue){return(0,e.measureToString)((0,ge.getMeasurement)(ue))}],["font-family",function(ue){return ue}],["vertical-align",function(ue){return(0,e.measureToString)((0,ge.getMeasurement)(ue))}]]),g=/\s+/g,l=/[\r\n]+/g,a=/\r\n?/g;function i(ue,te,$){var j=Object.create(null);if(!ue)return j;var G=Object.create(null),M=w(ue.split(";").map(function(ke){return ke.split(":",2)})),W;try{for(M.s();!(W=M.n()).done;){var z=k(W.value,2),J=z[0],Q=z[1],K=s.get(J);if(K!==""){var de=Q;K&&(typeof K=="string"?de=K:de=K(Q,G)),J.endsWith("scale")?j.transform?j.transform="".concat(j[J]," ").concat(de):j.transform=de:j[J.replaceAll(/-([a-zA-Z])/g,function(ke,Re){return Re.toUpperCase()})]=de}}}catch(ke){M.e(ke)}finally{M.f()}if(j.fontFamily&&(0,e.setFontFamily)({typeface:j.fontFamily,weight:j.fontWeight||"normal",posture:j.fontStyle||"normal",size:G.fontSize||0},te,te[b.$globalData].fontFinder,j),$&&j.verticalAlign&&j.verticalAlign!=="0px"&&j.fontSize){var oe=.583,pe=.333,fe=(0,ge.getMeasurement)(j.fontSize);j.fontSize=(0,e.measureToString)(fe*oe),j.verticalAlign=(0,e.measureToString)(Math.sign((0,ge.getMeasurement)(j.verticalAlign))*fe*pe)}return(0,e.fixTextIndent)(j),j}function m(ue){return ue.style?ue.style.trim().split(/\s*;\s*/).filter(function(te){return!!te}).map(function(te){return te.split(/\s*:\s*/,2)}).filter(function(te){var $=k(te,2),j=$[0],G=$[1];return j==="font-family"&&ue[b.$globalData].usedTypefaces.add(G),F.has(j)}).map(function(te){return te.join(":")}).join(";"):""}var o=new Set(["body","html"]),c=function(ue){ae($,ue);var te=ce($);function $(j,G){var M;return le(this,$),M=te.call(this,f,G),M[h]=!1,M.style=j.style||"",M}return ye($,[{key:b.$clean,value:function(G){be(y($.prototype),b.$clean,this).call(this,G),this.style=m(this)}},{key:b.$acceptWhitespace,value:function(){return!o.has(this[b.$nodeName])}},{key:b.$onText,value:function(G){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;M?this[h]=!0:(G=G.replace(l,""),this.style.includes("xfa-spacerun:yes")||(G=G.replace(g," "))),G&&(this[b.$content]+=G)}},{key:b.$pushGlyphs,value:function(G){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,W=Object.create(null),z={top:NaN,bottom:NaN,left:NaN,right:NaN},J=null,Q=w(this.style.split(";").map(function(we){return we.split(":",2)})),K;try{for(Q.s();!(K=Q.n()).done;){var de=k(K.value,2),oe=de[0],pe=de[1];switch(oe){case"font-family":W.typeface=(0,ge.stripQuotes)(pe);break;case"font-size":W.size=(0,ge.getMeasurement)(pe);break;case"font-weight":W.weight=pe;break;case"font-style":W.posture=pe;break;case"letter-spacing":W.letterSpacing=(0,ge.getMeasurement)(pe);break;case"margin":var fe=pe.split(/ \t/).map(function(we){return(0,ge.getMeasurement)(we)});switch(fe.length){case 1:z.top=z.bottom=z.left=z.right=fe[0];break;case 2:z.top=z.bottom=fe[0],z.left=z.right=fe[1];break;case 3:z.top=fe[0],z.bottom=fe[2],z.left=z.right=fe[1];break;case 4:z.top=fe[0],z.left=fe[1],z.bottom=fe[2],z.right=fe[3];break}break;case"margin-top":z.top=(0,ge.getMeasurement)(pe);break;case"margin-bottom":z.bottom=(0,ge.getMeasurement)(pe);break;case"margin-left":z.left=(0,ge.getMeasurement)(pe);break;case"margin-right":z.right=(0,ge.getMeasurement)(pe);break;case"line-height":J=(0,ge.getMeasurement)(pe);break}}}catch(we){Q.e(we)}finally{Q.f()}if(G.pushData(W,z,J),this[b.$content])G.addString(this[b.$content]);else{var ke=w(this[b.$getChildren]()),Re;try{for(ke.s();!(Re=ke.n()).done;){var ve=Re.value;if(ve[b.$nodeName]==="#text"){G.addString(ve[b.$content]);continue}ve[b.$pushGlyphs](G)}}catch(we){ke.e(we)}finally{ke.f()}}M&&G.popFont()}},{key:b.$toHTML,value:function(G){var M=[];if(this[b.$extra]={children:M},this[b.$childrenToHTML]({}),M.length===0&&!this[b.$content])return ge.HTMLResult.EMPTY;var W;return this[h]?W=this[b.$content]?this[b.$content].replace(a,`
`):void 0:W=this[b.$content]||void 0,ge.HTMLResult.success({name:this[b.$nodeName],attributes:{href:this.href,style:i(this.style,this,this[h])},children:M,value:W})}}]),$}(b.XmlObject),v=function(ue){ae($,ue);var te=ce($);function $(j){var G;return le(this,$),G=te.call(this,j,"a"),G.href=(0,e.fixURL)(j.href)||"",G}return $}(c),A=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"b")}return ye($,[{key:b.$pushGlyphs,value:function(G){G.pushFont({weight:"bold"}),be(y($.prototype),b.$pushGlyphs,this).call(this,G),G.popFont()}}]),$}(c),u=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"body")}return ye($,[{key:b.$toHTML,value:function(G){var M=be(y($.prototype),b.$toHTML,this).call(this,G),W=M.html;return W?(W.name="div",W.attributes.class=["xfaRich"],M):ge.HTMLResult.EMPTY}}]),$}(c),C=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"br")}return ye($,[{key:b.$text,value:function(){return`
`}},{key:b.$pushGlyphs,value:function(G){G.addString(`
`)}},{key:b.$toHTML,value:function(G){return ge.HTMLResult.success({name:"br"})}}]),$}(c),I=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"html")}return ye($,[{key:b.$toHTML,value:function(G){var M=[];if(this[b.$extra]={children:M},this[b.$childrenToHTML]({}),M.length===0)return ge.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[b.$content]||""});if(M.length===1){var W=M[0];if(W.attributes&&W.attributes.class.includes("xfaRich"))return ge.HTMLResult.success(W)}return ge.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:M})}}]),$}(c),E=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"i")}return ye($,[{key:b.$pushGlyphs,value:function(G){G.pushFont({posture:"italic"}),be(y($.prototype),b.$pushGlyphs,this).call(this,G),G.popFont()}}]),$}(c),N=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"li")}return $}(c),_=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"ol")}return $}(c),Y=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"p")}return ye($,[{key:b.$pushGlyphs,value:function(G){be(y($.prototype),b.$pushGlyphs,this).call(this,G,!1),G.addString(`
`),G.addPara(),G.popFont()}},{key:b.$text,value:function(){var G=this[b.$getParent]()[b.$getChildren]();return G[G.length-1]===this?be(y($.prototype),b.$text,this).call(this):be(y($.prototype),b.$text,this).call(this)+`
`}}]),$}(c),H=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"span")}return $}(c),Z=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"sub")}return $}(c),ne=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"sup")}return $}(c),he=function(ue){ae($,ue);var te=ce($);function $(j){return le(this,$),te.call(this,j,"ul")}return $}(c),Se=function(){function ue(){le(this,ue)}return ye(ue,null,[{key:t.$buildXFAObject,value:function($,j){if(ue.hasOwnProperty($))return ue[$](j)}},{key:"a",value:function($){return new v($)}},{key:"b",value:function($){return new A($)}},{key:"body",value:function($){return new u($)}},{key:"br",value:function($){return new C($)}},{key:"html",value:function($){return new I($)}},{key:"i",value:function($){return new E($)}},{key:"li",value:function($){return new N($)}},{key:"ol",value:function($){return new _($)}},{key:"p",value:function($){return new Y($)}},{key:"span",value:function($){return new H($)}},{key:"sub",value:function($){return new Z($)}},{key:"sup",value:function($){return new ne($)}},{key:"ul",value:function($){return new he($)}}]),ue}();P.XhtmlNamespace=Se},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.UnknownNamespace=void 0;var T=D(207),b=D(205);function t(V,ye){if(!(V instanceof ye))throw new TypeError("Cannot call a class as a function")}function e(V,ye){for(var be=0;be<ye.length;be++){var xe=ye[be];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(V,xe.key,xe)}}function ge(V,ye,be){return ye&&e(V.prototype,ye),be&&e(V,be),V}var le=function(){function V(ye){t(this,V),this.namespaceId=ye}return ge(V,[{key:T.$buildXFAObject,value:function(be,xe){return new b.XmlObject(this.namespaceId,be,xe)}}]),V}();P.UnknownNamespace=le},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.XRef=void 0;var T=ye(D(2)),b=D(4),t=D(135),e=D(139),ge=D(157),le=D(136),V=D(202);function ye(O){return O&&O.__esModule?O:{default:O}}function be(O,w,p,x,f,h,F){try{var s=O[h](F),g=s.value}catch(l){p(l);return}s.done?w(g):Promise.resolve(g).then(x,f)}function xe(O){return function(){var w=this,p=arguments;return new Promise(function(x,f){var h=O.apply(w,p);function F(g){be(h,x,f,F,s,"next",g)}function s(g){be(h,x,f,F,s,"throw",g)}F(void 0)})}}function ae(O,w){return X(O)||re(O,w)||ce(O,w)||d()}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ce(O,w){if(!!O){if(typeof O=="string")return q(O,w);var p=Object.prototype.toString.call(O).slice(8,-1);if(p==="Object"&&O.constructor&&(p=O.constructor.name),p==="Map"||p==="Set")return Array.from(O);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return q(O,w)}}function q(O,w){(w==null||w>O.length)&&(w=O.length);for(var p=0,x=new Array(w);p<w;p++)x[p]=O[p];return x}function re(O,w){var p=O==null?null:typeof Symbol!="undefined"&&O[Symbol.iterator]||O["@@iterator"];if(p!=null){var x=[],f=!0,h=!1,F,s;try{for(p=p.call(O);!(f=(F=p.next()).done)&&(x.push(F.value),!(w&&x.length===w));f=!0);}catch(g){h=!0,s=g}finally{try{!f&&p.return!=null&&p.return()}finally{if(h)throw s}}return x}}function X(O){if(Array.isArray(O))return O}function y(O,w){if(!(O instanceof w))throw new TypeError("Cannot call a class as a function")}function k(O,w){for(var p=0;p<w.length;p++){var x=w[p];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(O,x.key,x)}}function n(O,w,p){return w&&k(O.prototype,w),p&&k(O,p),O}var S=function(){function O(w,p){y(this,O),this.stream=w,this.pdfManager=p,this.entries=[],this.xrefstms=Object.create(null),this._cacheMap=new Map,this._pendingRefs=new t.RefSet,this.stats=new e.DocStats(p.msgHandler),this._newRefNum=null}return n(O,[{key:"getNewRef",value:function(){return this._newRefNum===null&&(this._newRefNum=this.entries.length),t.Ref.get(this._newRefNum++,0)}},{key:"resetNewRef",value:function(){this._newRefNum=null}},{key:"setStartXRef",value:function(p){this.startXRefQueue=[p]}},{key:"parse",value:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,x;p?((0,b.warn)("Indexing all PDF objects"),x=this.indexObjects()):x=this.readXRef(),x.assignXref(this),this.trailer=x;var f;try{f=x.get("Encrypt")}catch(l){if(l instanceof e.MissingDataException)throw l;(0,b.warn)('XRef.parse - Invalid "Encrypt" reference: "'.concat(l,'".'))}if(f instanceof t.Dict){var h=x.get("ID"),F=h&&h.length?h[0]:"";f.suppressEncryption=!0,this.encrypt=new V.CipherTransformFactory(f,F,this.pdfManager.password)}var s;try{s=x.get("Root")}catch(l){if(l instanceof e.MissingDataException)throw l;(0,b.warn)('XRef.parse - Invalid "Root" reference: "'.concat(l,'".'))}if(s instanceof t.Dict)try{var g=s.get("Pages");if(g instanceof t.Dict){this.root=s;return}}catch(l){if(l instanceof e.MissingDataException)throw l;(0,b.warn)('XRef.parse - Invalid "Pages" reference: "'.concat(l,'".'))}throw p?new b.InvalidPDFException("Invalid Root reference."):new e.XRefParseException}},{key:"processXRefTable",value:function(p){"tableState"in this||(this.tableState={entryNum:0,streamPos:p.lexer.stream.pos,parserBuf1:p.buf1,parserBuf2:p.buf2});var x=this.readXRefTable(p);if(!(0,t.isCmd)(x,"trailer"))throw new b.FormatError("Invalid XRef table: could not find trailer dictionary");var f=p.getObj();if(!(f instanceof t.Dict)&&f.dict&&(f=f.dict),!(f instanceof t.Dict))throw new b.FormatError("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,f}},{key:"readXRefTable",value:function(p){var x=p.lexer.stream,f=this.tableState;x.pos=f.streamPos,p.buf1=f.parserBuf1,p.buf2=f.parserBuf2;for(var h;;){if(!("firstEntryNum"in f)||!("entryCount"in f)){if((0,t.isCmd)(h=p.getObj(),"trailer"))break;f.firstEntryNum=h,f.entryCount=p.getObj()}var F=f.firstEntryNum,s=f.entryCount;if(!Number.isInteger(F)||!Number.isInteger(s))throw new b.FormatError("Invalid XRef table: wrong types in subsection header");for(var g=f.entryNum;g<s;g++){f.streamPos=x.pos,f.entryNum=g,f.parserBuf1=p.buf1,f.parserBuf2=p.buf2;var l={};l.offset=p.getObj(),l.gen=p.getObj();var a=p.getObj();if(a instanceof t.Cmd)switch(a.cmd){case"f":l.free=!0;break;case"n":l.uncompressed=!0;break}if(!Number.isInteger(l.offset)||!Number.isInteger(l.gen)||!(l.free||l.uncompressed))throw new b.FormatError("Invalid entry in XRef subsection: ".concat(F,", ").concat(s));g===0&&l.free&&F===1&&(F=0),this.entries[g+F]||(this.entries[g+F]=l)}f.entryNum=0,f.streamPos=x.pos,f.parserBuf1=p.buf1,f.parserBuf2=p.buf2,delete f.firstEntryNum,delete f.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new b.FormatError("Invalid XRef table: unexpected first object");return h}},{key:"processXRefStream",value:function(p){if(!("streamState"in this)){var x=p.dict,f=x.get("W"),h=x.get("Index");h||(h=[0,x.get("Size")]),this.streamState={entryRanges:h,byteWidths:f,entryNum:0,streamPos:p.pos}}return this.readXRefStream(p),delete this.streamState,p.dict}},{key:"readXRefStream",value:function(p){var x=this.streamState;p.pos=x.streamPos;for(var f=ae(x.byteWidths,3),h=f[0],F=f[1],s=f[2],g=x.entryRanges;g.length>0;){var l=ae(g,2),a=l[0],i=l[1];if(!Number.isInteger(a)||!Number.isInteger(i))throw new b.FormatError("Invalid XRef range fields: ".concat(a,", ").concat(i));if(!Number.isInteger(h)||!Number.isInteger(F)||!Number.isInteger(s))throw new b.FormatError("Invalid XRef entry fields length: ".concat(a,", ").concat(i));for(var m=x.entryNum;m<i;++m){x.entryNum=m,x.streamPos=p.pos;for(var o=0,c=0,v=0,A=0;A<h;++A){var u=p.getByte();if(u===-1)throw new b.FormatError("Invalid XRef byteWidths 'type'.");o=o<<8|u}h===0&&(o=1);for(var C=0;C<F;++C){var I=p.getByte();if(I===-1)throw new b.FormatError("Invalid XRef byteWidths 'offset'.");c=c<<8|I}for(var E=0;E<s;++E){var N=p.getByte();if(N===-1)throw new b.FormatError("Invalid XRef byteWidths 'generation'.");v=v<<8|N}var _={};switch(_.offset=c,_.gen=v,o){case 0:_.free=!0;break;case 1:_.uncompressed=!0;break;case 2:break;default:throw new b.FormatError("Invalid XRef entry type: ".concat(o))}this.entries[a+m]||(this.entries[a+m]=_)}x.entryNum=0,x.streamPos=p.pos,g.splice(0,2)}}},{key:"indexObjects",value:function(){var p=9,x=10,f=13,h=32,F=37,s=60;function g(ee,Fe){for(var Ee="",Ce=ee[Fe];Ce!==x&&Ce!==f&&Ce!==s&&!(++Fe>=ee.length);)Ee+=String.fromCharCode(Ce),Ce=ee[Fe];return Ee}function l(ee,Fe,Ee){for(var Ce=Ee.length,De=ee.length,_e=0;Fe<De;){for(var Ne=0;Ne<Ce&&ee[Fe+Ne]===Ee[Ne];)++Ne;if(Ne>=Ce)break;Fe++,_e++}return _e}var a=/^(\d+)\s+(\d+)\s+obj\b/,i=/\bendobj[\b\s]$/,m=/\s+(\d+\s+\d+\s+obj[\b\s<])$/,o=25,c=new Uint8Array([116,114,97,105,108,101,114]),v=new Uint8Array([115,116,97,114,116,120,114,101,102]),A=new Uint8Array([111,98,106]),u=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();var C=this.stream;C.pos=0;for(var I=C.getBytes(),E=I.length,N=C.start,_=[],Y=[];N<E;){var H=I[N];if(H===p||H===x||H===f||H===h){++N;continue}if(H===F){do{if(++N,N>=E)break;H=I[N]}while(H!==x&&H!==f);continue}var Z=g(I,N),ne=void 0;if(Z.startsWith("xref")&&(Z.length===4||/\s/.test(Z[4])))N+=l(I,N,c),_.push(N),N+=l(I,N,v);else if(ne=a.exec(Z)){var he=ne[1]|0,Se=ne[2]|0,ue=void 0,te=N+Z.length,$=!1;if(!this.entries[he])$=!0;else if(this.entries[he].gen===Se)try{var j=new ge.Parser({lexer:new ge.Lexer(C.makeSubStream(te))});j.getObj(),$=!0}catch(ee){ee instanceof e.ParserEOFException?(0,b.warn)("indexObjects -- checking object (".concat(Z,'): "').concat(ee,'".')):$=!0}for($&&(this.entries[he]={offset:N-C.start,gen:Se,uncompressed:!0});te<I.length;){var G=te+l(I,te,A)+4;ue=G-N;var M=Math.max(G-o,te),W=(0,b.bytesToString)(I.subarray(M,G));if(i.test(W))break;var z=m.exec(W);if(z&&z[1]){(0,b.warn)('indexObjects: Found new "obj" inside of another "obj", caused by missing "endobj" -- trying to recover.'),ue-=z[1].length;break}te=G}var J=I.subarray(N,N+ue),Q=l(J,0,u);Q<ue&&J[Q+5]<64&&(Y.push(N-C.start),this.xrefstms[N-C.start]=1),N+=ue}else Z.startsWith("trailer")&&(Z.length===7||/\s/.test(Z[7]))?(_.push(N),N+=l(I,N,v)):N+=Z.length+1}for(var K=0,de=Y.length;K<de;++K)this.startXRefQueue.push(Y[K]),this.readXRef(!0);for(var oe,pe=0,fe=_.length;pe<fe;++pe){C.pos=_[pe];var ke=new ge.Parser({lexer:new ge.Lexer(C),xref:this,allowStreams:!0,recoveryMode:!0}),Re=ke.getObj();if(!!(0,t.isCmd)(Re,"trailer")){var ve=ke.getObj();if(ve instanceof t.Dict){try{var we=ve.get("Root");if(!(we instanceof t.Dict))continue;var se=we.get("Pages");if(!(se instanceof t.Dict))continue;var me=se.get("Count");if(!Number.isInteger(me))continue}catch(ee){continue}if(ve.has("ID"))return ve;oe=ve}}}if(oe)return oe;if(this.topDict)return this.topDict;throw new b.InvalidPDFException("Invalid PDF structure.")}},{key:"readXRef",value:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,x=this.stream,f=new Set;try{for(;this.startXRefQueue.length;){var h=this.startXRefQueue[0];if(f.has(h)){(0,b.warn)("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}f.add(h),x.pos=h+x.start;var F=new ge.Parser({lexer:new ge.Lexer(x),xref:this,allowStreams:!0}),s=F.getObj(),g=void 0;if((0,t.isCmd)(s,"xref")){if(g=this.processXRefTable(F),this.topDict||(this.topDict=g),s=g.get("XRefStm"),Number.isInteger(s)){var l=s;l in this.xrefstms||(this.xrefstms[l]=1,this.startXRefQueue.push(l))}}else if(Number.isInteger(s)){if(!Number.isInteger(F.getObj())||!(0,t.isCmd)(F.getObj(),"obj")||!((s=F.getObj())instanceof le.BaseStream))throw new b.FormatError("Invalid XRef stream");if(g=this.processXRefStream(s),this.topDict||(this.topDict=g),!g)throw new b.FormatError("Failed to read XRef stream")}else throw new b.FormatError("Invalid XRef stream header");s=g.get("Prev"),Number.isInteger(s)?this.startXRefQueue.push(s):s instanceof t.Ref&&this.startXRefQueue.push(s.num),this.startXRefQueue.shift()}return this.topDict}catch(a){if(a instanceof e.MissingDataException)throw a;(0,b.info)("(while reading XRef): "+a),this.startXRefQueue.shift()}if(!p)throw new e.XRefParseException}},{key:"getEntry",value:function(p){var x=this.entries[p];return x&&!x.free&&x.offset?x:null}},{key:"fetchIfRef",value:function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return p instanceof t.Ref?this.fetch(p,x):p}},{key:"fetch",value:function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!(p instanceof t.Ref))throw new Error("ref object is not a reference");var f=p.num,h=this._cacheMap.get(f);if(h!==void 0)return h instanceof t.Dict&&!h.objId&&(h.objId=p.toString()),h;var F=this.getEntry(f);if(F===null)return this._cacheMap.set(f,F),F;if(this._pendingRefs.has(p))return this._pendingRefs.remove(p),(0,b.warn)("Ignoring circular reference: ".concat(p,".")),t.CIRCULAR_REF;this._pendingRefs.put(p);try{F.uncompressed?F=this.fetchUncompressed(p,F,x):F=this.fetchCompressed(p,F,x),this._pendingRefs.remove(p)}catch(s){throw this._pendingRefs.remove(p),s}return F instanceof t.Dict?F.objId=p.toString():F instanceof le.BaseStream&&(F.dict.objId=p.toString()),F}},{key:"fetchUncompressed",value:function(p,x){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=p.gen,F=p.num;if(x.gen!==h)throw new e.XRefEntryException("Inconsistent generation in XRef: ".concat(p));var s=this.stream.makeSubStream(x.offset+this.stream.start),g=new ge.Parser({lexer:new ge.Lexer(s),xref:this,allowStreams:!0}),l=g.getObj(),a=g.getObj(),i=g.getObj();if(l!==F||a!==h||!(i instanceof t.Cmd))throw new e.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(p));if(i.cmd!=="obj"){if(i.cmd.startsWith("obj")&&(F=parseInt(i.cmd.substring(3),10),!Number.isNaN(F)))return F;throw new e.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(p))}return this.encrypt&&!f?x=g.getObj(this.encrypt.createCipherTransform(F,h)):x=g.getObj(),x instanceof le.BaseStream||this._cacheMap.set(F,x),x}},{key:"fetchCompressed",value:function(p,x){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=x.offset,F=this.fetch(t.Ref.get(h,0));if(!(F instanceof le.BaseStream))throw new b.FormatError("bad ObjStm stream");var s=F.dict.get("First"),g=F.dict.get("N");if(!Number.isInteger(s)||!Number.isInteger(g))throw new b.FormatError("invalid first and n parameters for ObjStm stream");for(var l=new ge.Parser({lexer:new ge.Lexer(F),xref:this,allowStreams:!0}),a=new Array(g),i=new Array(g),m=0;m<g;++m){var o=l.getObj();if(!Number.isInteger(o))throw new b.FormatError("invalid object number in the ObjStm stream: ".concat(o));var c=l.getObj();if(!Number.isInteger(c))throw new b.FormatError("invalid object offset in the ObjStm stream: ".concat(c));a[m]=o,i[m]=c}for(var v=(F.start||0)+s,A=new Array(g),u=0;u<g;++u){var C=u<g-1?i[u+1]-i[u]:void 0;if(C<0)throw new b.FormatError("Invalid offset in the ObjStm stream.");l=new ge.Parser({lexer:new ge.Lexer(F.makeSubStream(v+i[u],C,F.dict)),xref:this,allowStreams:!0});var I=l.getObj();if(A[u]=I,!(I instanceof le.BaseStream)){var E=a[u],N=this.entries[E];N&&N.offset===h&&N.gen===u&&this._cacheMap.set(E,I)}}if(x=A[x.gen],x===void 0)throw new e.XRefEntryException("Bad (compressed) XRef entry: ".concat(p));return x}},{key:"fetchIfRefAsync",value:function(){var w=xe(T.default.mark(function x(f,h){return T.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(!(f instanceof t.Ref)){s.next=2;break}return s.abrupt("return",this.fetchAsync(f,h));case 2:return s.abrupt("return",f);case 3:case"end":return s.stop()}},x,this)}));function p(x,f){return w.apply(this,arguments)}return p}()},{key:"fetchAsync",value:function(){var w=xe(T.default.mark(function x(f,h){return T.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.abrupt("return",this.fetch(f,h));case 4:if(s.prev=4,s.t0=s.catch(0),s.t0 instanceof e.MissingDataException){s.next=8;break}throw s.t0;case 8:return s.next=10,this.pdfManager.requestRange(s.t0.begin,s.t0.end);case 10:return s.abrupt("return",this.fetchAsync(f,h));case 11:case"end":return s.stop()}},x,this,[[0,4]])}));function p(x,f){return w.apply(this,arguments)}return p}()},{key:"getCatalogObj",value:function(){return this.root}}]),O}();P.XRef=S},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.MessageHandler=void 0;var T=t(D(2)),b=D(4);function t(q){return q&&q.__esModule?q:{default:q}}function e(q,re,X,y,k,n,S){try{var O=q[n](S),w=O.value}catch(p){X(p);return}O.done?re(w):Promise.resolve(w).then(y,k)}function ge(q){return function(){var re=this,X=arguments;return new Promise(function(y,k){var n=q.apply(re,X);function S(w){e(n,y,k,S,O,"next",w)}function O(w){e(n,y,k,S,O,"throw",w)}S(void 0)})}}function le(q,re){if(!(q instanceof re))throw new TypeError("Cannot call a class as a function")}function V(q,re){for(var X=0;X<re.length;X++){var y=re[X];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(q,y.key,y)}}function ye(q,re,X){return re&&V(q.prototype,re),X&&V(q,X),q}function be(q){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?be=function(X){return typeof X}:be=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},be(q)}var xe={UNKNOWN:0,DATA:1,ERROR:2},ae={UNKNOWN:0,CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function d(q){if(!(q instanceof Error||be(q)==="object"&&q!==null))return(0,b.warn)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),q;switch(q.name){case"AbortException":return new b.AbortException(q.message);case"MissingPDFException":return new b.MissingPDFException(q.message);case"PasswordException":return new b.PasswordException(q.message,q.code);case"UnexpectedResponseException":return new b.UnexpectedResponseException(q.message,q.status);case"UnknownErrorException":return new b.UnknownErrorException(q.message,q.details);default:return new b.UnknownErrorException(q.message,q.toString())}}var ce=function(){function q(re,X,y){var k=this;le(this,q),this.sourceName=re,this.targetName=X,this.comObj=y,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(n){var S=n.data;if(S.targetName===k.sourceName){if(S.stream){k._processStreamMessage(S);return}if(S.callback){var O=S.callbackId,w=k.callbackCapabilities[O];if(!w)throw new Error("Cannot resolve callback ".concat(O));if(delete k.callbackCapabilities[O],S.callback===xe.DATA)w.resolve(S.data);else if(S.callback===xe.ERROR)w.reject(d(S.reason));else throw new Error("Unexpected callback case");return}var p=k.actionHandler[S.action];if(!p)throw new Error("Unknown action from worker: ".concat(S.action));if(S.callbackId){var x=k.sourceName,f=S.sourceName;new Promise(function(h){h(p(S.data))}).then(function(h){y.postMessage({sourceName:x,targetName:f,callback:xe.DATA,callbackId:S.callbackId,data:h})},function(h){y.postMessage({sourceName:x,targetName:f,callback:xe.ERROR,callbackId:S.callbackId,reason:d(h)})});return}if(S.streamId){k._createStreamSink(S);return}p(S.data)}},y.addEventListener("message",this._onComObjOnMessage)}return ye(q,[{key:"on",value:function(X,y){var k=this.actionHandler;if(k[X])throw new Error('There is already an actionName called "'.concat(X,'"'));k[X]=y}},{key:"send",value:function(X,y,k){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:X,data:y},k)}},{key:"sendWithPromise",value:function(X,y,k){var n=this.callbackId++,S=(0,b.createPromiseCapability)();this.callbackCapabilities[n]=S;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:X,callbackId:n,data:y},k)}catch(O){S.reject(O)}return S.promise}},{key:"sendWithStream",value:function(X,y,k,n){var S=this,O=this.streamId++,w=this.sourceName,p=this.targetName,x=this.comObj;return new ReadableStream({start:function(h){var F=(0,b.createPromiseCapability)();return S.streamControllers[O]={controller:h,startCall:F,pullCall:null,cancelCall:null,isClosed:!1},x.postMessage({sourceName:w,targetName:p,action:X,streamId:O,data:y,desiredSize:h.desiredSize},n),F.promise},pull:function(h){var F=(0,b.createPromiseCapability)();return S.streamControllers[O].pullCall=F,x.postMessage({sourceName:w,targetName:p,stream:ae.PULL,streamId:O,desiredSize:h.desiredSize}),F.promise},cancel:function(h){(0,b.assert)(h instanceof Error,"cancel must have a valid reason");var F=(0,b.createPromiseCapability)();return S.streamControllers[O].cancelCall=F,S.streamControllers[O].isClosed=!0,x.postMessage({sourceName:w,targetName:p,stream:ae.CANCEL,streamId:O,reason:d(h)}),F.promise}},k)}},{key:"_createStreamSink",value:function(X){var y=X.streamId,k=this.sourceName,n=X.sourceName,S=this.comObj,O=this,w=this.actionHandler[X.action],p={enqueue:function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,F=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var s=this.desiredSize;this.desiredSize-=h,s>0&&this.desiredSize<=0&&(this.sinkCapability=(0,b.createPromiseCapability)(),this.ready=this.sinkCapability.promise),S.postMessage({sourceName:k,targetName:n,stream:ae.ENQUEUE,streamId:y,chunk:f},F)}},close:function(){this.isCancelled||(this.isCancelled=!0,S.postMessage({sourceName:k,targetName:n,stream:ae.CLOSE,streamId:y}),delete O.streamSinks[y])},error:function(f){(0,b.assert)(f instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,S.postMessage({sourceName:k,targetName:n,stream:ae.ERROR,streamId:y,reason:d(f)}))},sinkCapability:(0,b.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:X.desiredSize,ready:null};p.sinkCapability.resolve(),p.ready=p.sinkCapability.promise,this.streamSinks[y]=p,new Promise(function(x){x(w(X.data,p))}).then(function(){S.postMessage({sourceName:k,targetName:n,stream:ae.START_COMPLETE,streamId:y,success:!0})},function(x){S.postMessage({sourceName:k,targetName:n,stream:ae.START_COMPLETE,streamId:y,reason:d(x)})})}},{key:"_processStreamMessage",value:function(X){var y=X.streamId,k=this.sourceName,n=X.sourceName,S=this.comObj,O=this.streamControllers[y],w=this.streamSinks[y];switch(X.stream){case ae.START_COMPLETE:X.success?O.startCall.resolve():O.startCall.reject(d(X.reason));break;case ae.PULL_COMPLETE:X.success?O.pullCall.resolve():O.pullCall.reject(d(X.reason));break;case ae.PULL:if(!w){S.postMessage({sourceName:k,targetName:n,stream:ae.PULL_COMPLETE,streamId:y,success:!0});break}w.desiredSize<=0&&X.desiredSize>0&&w.sinkCapability.resolve(),w.desiredSize=X.desiredSize,new Promise(function(p){p(w.onPull&&w.onPull())}).then(function(){S.postMessage({sourceName:k,targetName:n,stream:ae.PULL_COMPLETE,streamId:y,success:!0})},function(p){S.postMessage({sourceName:k,targetName:n,stream:ae.PULL_COMPLETE,streamId:y,reason:d(p)})});break;case ae.ENQUEUE:if((0,b.assert)(O,"enqueue should have stream controller"),O.isClosed)break;O.controller.enqueue(X.chunk);break;case ae.CLOSE:if((0,b.assert)(O,"close should have stream controller"),O.isClosed)break;O.isClosed=!0,O.controller.close(),this._deleteStreamController(O,y);break;case ae.ERROR:(0,b.assert)(O,"error should have stream controller"),O.controller.error(d(X.reason)),this._deleteStreamController(O,y);break;case ae.CANCEL_COMPLETE:X.success?O.cancelCall.resolve():O.cancelCall.reject(d(X.reason)),this._deleteStreamController(O,y);break;case ae.CANCEL:if(!w)break;new Promise(function(p){p(w.onCancel&&w.onCancel(d(X.reason)))}).then(function(){S.postMessage({sourceName:k,targetName:n,stream:ae.CANCEL_COMPLETE,streamId:y,success:!0})},function(p){S.postMessage({sourceName:k,targetName:n,stream:ae.CANCEL_COMPLETE,streamId:y,reason:d(p)})}),w.sinkCapability.reject(d(X.reason)),w.isCancelled=!0,delete this.streamSinks[y];break;default:throw new Error("Unexpected stream case")}}},{key:"_deleteStreamController",value:function(){var re=ge(T.default.mark(function y(k,n){return T.default.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,Promise.allSettled([k.startCall&&k.startCall.promise,k.pullCall&&k.pullCall.promise,k.cancelCall&&k.cancelCall.promise]);case 2:delete this.streamControllers[n];case 3:case"end":return O.stop()}},y,this)}));function X(y,k){return re.apply(this,arguments)}return X}()},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}]),q}();P.MessageHandler=ce},(Me,P,D)=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.PDFWorkerStream=void 0;var T=t(D(2)),b=D(4);function t(re){return re&&re.__esModule?re:{default:re}}function e(re,X,y,k,n,S,O){try{var w=re[S](O),p=w.value}catch(x){y(x);return}w.done?X(p):Promise.resolve(p).then(k,n)}function ge(re){return function(){var X=this,y=arguments;return new Promise(function(k,n){var S=re.apply(X,y);function O(p){e(S,k,n,O,w,"next",p)}function w(p){e(S,k,n,O,w,"throw",p)}O(void 0)})}}function le(re,X){var y=typeof Symbol!="undefined"&&re[Symbol.iterator]||re["@@iterator"];if(!y){if(Array.isArray(re)||(y=V(re))||X&&re&&typeof re.length=="number"){y&&(re=y);var k=0,n=function(){};return{s:n,n:function(){return k>=re.length?{done:!0}:{done:!1,value:re[k++]}},e:function(x){throw x},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S=!0,O=!1,w;return{s:function(){y=y.call(re)},n:function(){var x=y.next();return S=x.done,x},e:function(x){O=!0,w=x},f:function(){try{!S&&y.return!=null&&y.return()}finally{if(O)throw w}}}}function V(re,X){if(!!re){if(typeof re=="string")return ye(re,X);var y=Object.prototype.toString.call(re).slice(8,-1);if(y==="Object"&&re.constructor&&(y=re.constructor.name),y==="Map"||y==="Set")return Array.from(re);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return ye(re,X)}}function ye(re,X){(X==null||X>re.length)&&(X=re.length);for(var y=0,k=new Array(X);y<X;y++)k[y]=re[y];return k}function be(re,X){if(!(re instanceof X))throw new TypeError("Cannot call a class as a function")}function xe(re,X){for(var y=0;y<X.length;y++){var k=X[y];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(re,k.key,k)}}function ae(re,X,y){return X&&xe(re.prototype,X),y&&xe(re,y),re}var d=function(){function re(X){be(this,re),this._msgHandler=X,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}return ae(re,[{key:"getFullReader",value:function(){return(0,b.assert)(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new ce(this._msgHandler),this._fullRequestReader}},{key:"getRangeReader",value:function(y,k){var n=new q(y,k,this._msgHandler);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(y){this._fullRequestReader&&this._fullRequestReader.cancel(y);var k=le(this._rangeRequestReaders.slice(0)),n;try{for(k.s();!(n=k.n()).done;){var S=n.value;S.cancel(y)}}catch(O){k.e(O)}finally{k.f()}}}]),re}();P.PDFWorkerStream=d;var ce=function(){function re(X){var y=this;be(this,re),this._msgHandler=X,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;var k=this._msgHandler.sendWithStream("GetReader");this._reader=k.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then(function(n){y._isStreamingSupported=n.isStreamingSupported,y._isRangeSupported=n.isRangeSupported,y._contentLength=n.contentLength})}return ae(re,[{key:"headersReady",get:function(){return this._headersReady}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"read",value:function(){var X=ge(T.default.mark(function k(){var n,S,O;return T.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this._reader.read();case 2:if(n=p.sent,S=n.value,O=n.done,!O){p.next=7;break}return p.abrupt("return",{value:void 0,done:!0});case 7:return p.abrupt("return",{value:S.buffer,done:!1});case 8:case"end":return p.stop()}},k,this)}));function y(){return X.apply(this,arguments)}return y}()},{key:"cancel",value:function(y){this._reader.cancel(y)}}]),re}(),q=function(){function re(X,y,k){be(this,re),this._msgHandler=k,this.onProgress=null;var n=this._msgHandler.sendWithStream("GetRangeReader",{begin:X,end:y});this._reader=n.getReader()}return ae(re,[{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:function(){var X=ge(T.default.mark(function k(){var n,S,O;return T.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this._reader.read();case 2:if(n=p.sent,S=n.value,O=n.done,!O){p.next=7;break}return p.abrupt("return",{value:void 0,done:!0});case 7:return p.abrupt("return",{value:S.buffer,done:!1});case 8:case"end":return p.stop()}},k,this)}));function y(){return X.apply(this,arguments)}return y}()},{key:"cancel",value:function(y){this._reader.cancel(y)}}]),re}()}],Ra={};function sa(Me){var P=Ra[Me];if(P!==void 0)return P.exports;var D=Ra[Me]={id:Me,loaded:!1,exports:{}};return Za[Me].call(D.exports,D,D.exports,sa),D.loaded=!0,D.exports}(()=>{sa.d=(Me,P)=>{for(var D in P)sa.o(P,D)&&!sa.o(Me,D)&&Object.defineProperty(Me,D,{enumerable:!0,get:P[D]})}})(),(()=>{sa.o=(Me,P)=>Object.prototype.hasOwnProperty.call(Me,P)})(),(()=>{sa.r=Me=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Me,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Me,"__esModule",{value:!0})}})(),(()=>{sa.nmd=Me=>(Me.paths=[],Me.children||(Me.children=[]),Me)})();var Qa={};return(()=>{"use strict";var Me=Qa;Object.defineProperty(Me,"__esModule",{value:!0}),Object.defineProperty(Me,"WorkerMessageHandler",{enumerable:!0,get:function(){return P.WorkerMessageHandler}});var P=sa(1),D="2.12.313",T="a2ae56f39"})(),Qa})()});