var oa=Object.defineProperty;var ca=(Rt,Dt,Ut)=>Dt in Rt?oa(Rt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Rt[Dt]=Ut;var Xt=(Rt,Dt,Ut)=>(ca(Rt,typeof Dt!="symbol"?Dt+"":Dt,Ut),Ut),Ln=(Rt,Dt,Ut)=>{if(!Dt.has(Rt))throw TypeError("Cannot "+Ut)};var Bt=(Rt,Dt,Ut)=>(Ln(Rt,Dt,"read from private field"),Ut?Ut.call(Rt):Dt.get(Rt)),vt=(Rt,Dt,Ut)=>{if(Dt.has(Rt))throw TypeError("Cannot add the same private member more than once");Dt instanceof WeakSet?Dt.add(Rt):Dt.set(Rt,Ut)},gn=(Rt,Dt,Ut,Sn)=>(Ln(Rt,Dt,"write to private field"),Sn?Sn.call(Rt,Ut):Dt.set(Rt,Ut),Ut);var ct=(Rt,Dt,Ut)=>(Ln(Rt,Dt,"access private method"),Ut);(function(){"use strict";var Rt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dt={exports:{}};(function(Ut,Sn){(function(cn,ln){Ut.exports=cn.pdfjsWorker=ln()})(globalThis,()=>(()=>{var Vn=[,(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.WorkerTask=d.WorkerMessageHandler=void 0,i(2),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(140),i(144);var n=i(145),u=i(150),g=i(151),e=i(153),t=i(157),s=i(219),L=i(224),U=i(258),C=i(259),y=i(223);class f{constructor(v){this.name=v,this.terminated=!1,this._capability=new n.PromiseCapability}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}}d.WorkerTask=f;class x{static setup(v,P){let F=!1;v.on("test",function(B){F||(F=!0,v.send("test",B instanceof Uint8Array))}),v.on("configure",function(B){(0,n.setVerbosityLevel)(B.verbosity)}),v.on("GetDocRequest",function(B){return x.createDocumentHandler(B,P)})}static createDocumentHandler(v,P){let F,B=!1,W=null;const j=new Set,M=(0,n.getVerbosityLevel)(),{docId:T,apiVersion:c}=v,h="3.11.174";if(c!==h)throw new Error(`The API version "${c}" does not match the Worker version "${h}".`);const E=[];for(const A in[])E.push(A);if(E.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+E.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");const o=T+"_worker";let l=new U.MessageHandler(o,T,P);function b(){if(B)throw new Error("Worker was terminated")}function R(A){j.add(A)}function S(A){A.finish(),j.delete(A)}async function p(A){await F.ensureDoc("checkHeader"),await F.ensureDoc("parseStartXRef"),await F.ensureDoc("parse",[A]),await F.ensureDoc("checkFirstPage",[A]),await F.ensureDoc("checkLastPage",[A]);const D=await F.ensureDoc("isPureXfa");if(D){const H=new f("loadXfaFonts");R(H),await Promise.all([F.loadXfaFonts(l,H).catch(Y=>{}).then(()=>S(H)),F.loadXfaImages()])}const[w,m]=await Promise.all([F.ensureDoc("numPages"),F.ensureDoc("fingerprints")]),I=D?await F.ensureDoc("htmlForXfa"):null;return{numPages:w,fingerprints:m,htmlForXfa:I}}function G(A){let{data:D,password:w,disableAutoFetch:m,rangeChunkSize:I,length:H,docBaseUrl:Y,enableXfa:Q,evaluatorOptions:oe}=A;const ne={source:null,disableAutoFetch:m,docBaseUrl:Y,docId:T,enableXfa:Q,evaluatorOptions:oe,handler:l,length:H,password:w,rangeChunkSize:I},ce=new n.PromiseCapability;let J;if(D){try{ne.source=D,J=new e.LocalPdfManager(ne),ce.resolve(J)}catch(te){ce.reject(te)}return ce.promise}let _,k=[];try{_=new C.PDFWorkerStream(l)}catch(te){return ce.reject(te),ce.promise}const O=_.getFullReader();O.headersReady.then(function(){if(O.isRangeSupported){ne.source=_,ne.length=O.contentLength,ne.disableAutoFetch||(ne.disableAutoFetch=O.isStreamingSupported),J=new e.NetworkPdfManager(ne);for(const te of k)J.sendProgressiveData(te);k=[],ce.resolve(J),W=null}}).catch(function(te){ce.reject(te),W=null});let V=0;const K=function(){const te=(0,u.arrayBuffersToBytes)(k);H&&te.length!==H&&(0,n.warn)("reported HTTP length is different from actual");try{ne.source=te,J=new e.LocalPdfManager(ne),ce.resolve(J)}catch(re){ce.reject(re)}k=[]};return new Promise(function(te,re){const ie=function(Z){let{value:ee,done:q}=Z;try{if(b(),q){J||K(),W=null;return}V+=ee.byteLength,O.isStreamingSupported||l.send("DocProgress",{loaded:V,total:Math.max(V,O.contentLength||0)}),J?J.sendProgressiveData(ee):k.push(ee),O.read().then(ie,re)}catch(z){re(z)}};O.read().then(ie,re)}).catch(function(te){ce.reject(te),W=null}),W=function(te){_.cancelAllRequests(te)},ce.promise}function $(A){function D(I){b(),l.send("GetDoc",{pdfInfo:I})}function w(I){if(b(),I instanceof n.PasswordException){const H=new f(`PasswordException: response ${I.code}`);R(H),l.sendWithPromise("PasswordRequest",I).then(function(Y){let{password:Q}=Y;S(H),F.updatePassword(Q),m()}).catch(function(){S(H),l.send("DocException",I)})}else I instanceof n.InvalidPDFException||I instanceof n.MissingPDFException||I instanceof n.UnexpectedResponseException||I instanceof n.UnknownErrorException?l.send("DocException",I):l.send("DocException",new n.UnknownErrorException(I.message,I.toString()))}function m(){b(),p(!1).then(D,function(I){if(b(),!(I instanceof u.XRefParseException)){w(I);return}F.requestLoadedStream().then(function(){b(),p(!0).then(D,w)})})}b(),G(A).then(function(I){if(B)throw I.terminate(new n.AbortException("Worker was terminated.")),new Error("Worker was terminated");F=I,F.requestLoadedStream(!0).then(H=>{l.send("DataLoaded",{length:H.bytes.byteLength})})}).then(m,w)}return l.on("GetPage",function(A){return F.getPage(A.pageIndex).then(function(D){return Promise.all([F.ensure(D,"rotate"),F.ensure(D,"ref"),F.ensure(D,"userUnit"),F.ensure(D,"view")]).then(function(w){let[m,I,H,Y]=w;return{rotate:m,ref:I,userUnit:H,view:Y}})})}),l.on("GetPageIndex",function(A){const D=g.Ref.get(A.num,A.gen);return F.ensureCatalog("getPageIndex",[D])}),l.on("GetDestinations",function(A){return F.ensureCatalog("destinations")}),l.on("GetDestination",function(A){return F.ensureCatalog("getDestination",[A.id])}),l.on("GetPageLabels",function(A){return F.ensureCatalog("pageLabels")}),l.on("GetPageLayout",function(A){return F.ensureCatalog("pageLayout")}),l.on("GetPageMode",function(A){return F.ensureCatalog("pageMode")}),l.on("GetViewerPreferences",function(A){return F.ensureCatalog("viewerPreferences")}),l.on("GetOpenAction",function(A){return F.ensureCatalog("openAction")}),l.on("GetAttachments",function(A){return F.ensureCatalog("attachments")}),l.on("GetDocJSActions",function(A){return F.ensureCatalog("jsActions")}),l.on("GetPageJSActions",function(A){let{pageIndex:D}=A;return F.getPage(D).then(function(w){return F.ensure(w,"jsActions")})}),l.on("GetOutline",function(A){return F.ensureCatalog("documentOutline")}),l.on("GetOptionalContentConfig",function(A){return F.ensureCatalog("optionalContentConfig")}),l.on("GetPermissions",function(A){return F.ensureCatalog("permissions")}),l.on("GetMetadata",function(A){return Promise.all([F.ensureDoc("documentInfo"),F.ensureCatalog("metadata")])}),l.on("GetMarkInfo",function(A){return F.ensureCatalog("markInfo")}),l.on("GetData",function(A){return F.requestLoadedStream().then(function(D){return D.bytes})}),l.on("GetAnnotations",function(A){let{pageIndex:D,intent:w}=A;return F.getPage(D).then(function(m){const I=new f(`GetAnnotations: page ${D}`);return R(I),m.getAnnotationsData(l,I,w).then(H=>(S(I),H),H=>{throw S(I),H})})}),l.on("GetFieldObjects",function(A){return F.ensureDoc("fieldObjects")}),l.on("HasJSActions",function(A){return F.ensureDoc("hasJSActions")}),l.on("GetCalculationOrderIds",function(A){return F.ensureDoc("calculationOrderIds")}),l.on("SaveDocument",async function(A){let{isPureXfa:D,numPages:w,annotationStorage:m,filename:I}=A;const H=[F.requestLoadedStream(),F.ensureCatalog("acroForm"),F.ensureCatalog("acroFormRef"),F.ensureDoc("startXRef"),F.ensureDoc("xref"),F.ensureDoc("linearization"),F.ensureCatalog("structTreeRoot")],Y=[],Q=D?null:(0,u.getNewAnnotationsMap)(m),[oe,ne,ce,J,_,k,O]=await Promise.all(H),V=_.trailer.getRaw("Root")||null;let K;if(Q){O?await O.canUpdateStructTree({pdfManager:F,newAnnotationsByPage:Q})&&(K=O):await y.StructTreeRoot.canCreateStructureTree({catalogRef:V,pdfManager:F,newAnnotationsByPage:Q})&&(K=null);const se=t.AnnotationFactory.generateImages(m.values(),_,F.evaluatorOptions.isOffscreenCanvasSupported),le=K===void 0?Y:[];for(const[ue,fe]of Q)le.push(F.getPage(ue).then(ge=>{const me=new f(`Save (editor): page ${ue}`);return ge.saveNewAnnotations(l,me,fe,se).finally(function(){S(me)})}));K===null?Y.push(Promise.all(le).then(async ue=>(await y.StructTreeRoot.createStructureTree({newAnnotationsByPage:Q,xref:_,catalogRef:V,pdfManager:F,newRefs:ue}),ue))):K&&Y.push(Promise.all(le).then(async ue=>(await K.updateStructureTree({newAnnotationsByPage:Q,pdfManager:F,newRefs:ue}),ue)))}if(D)Y.push(F.serializeXfaData(m));else for(let se=0;sese.needAppearances),ee=ne instanceof g.Dict&&ne.get("XFA")||null;let q=null,z=!1;if(Array.isArray(ee)){for(let se=0,le=ee.length;se{typeof fe=="string"&&(se[ue]=(0,n.stringToPDFString)(fe))}),ae={rootRef:V,encryptRef:_.trailer.getRaw("Encrypt")||null,newRef:_.getNewTemporaryRef(),infoRef:_.trailer.getRaw("Info")||null,info:se,fileIds:_.trailer.get("ID")||null,startXRef:k?J:_.lastXRefStreamPos??J,filename:I}}return(0,L.incrementalUpdate)({originalData:oe.bytes,xrefInfo:ae,newRefs:re,xref:_,hasXfa:!!ee,xfaDatasetsRef:q,hasXfaDatasetsEntry:z,needAppearances:Z,acroFormRef:ce,acroForm:ne,xfaData:ie}).finally(()=>{_.resetNewTemporaryRef()})}),l.on("GetOperatorList",function(A,D){const w=A.pageIndex;F.getPage(w).then(function(m){const I=new f(`GetOperatorList: page ${w}`);R(I);const H=M>=n.VerbosityLevel.INFOS?Date.now():0;m.getOperatorList({handler:l,sink:D,task:I,intent:A.intent,cacheKey:A.cacheKey,annotationStorage:A.annotationStorage}).then(function(Y){S(I),H&&(0,n.info)(`page=${w+1} - getOperatorList: time=${Date.now()-H}ms, len=${Y.length}`),D.close()},function(Y){S(I),!I.terminated&&D.error(Y)})})}),l.on("GetTextContent",function(A,D){const{pageIndex:w,includeMarkedContent:m,disableNormalization:I}=A;F.getPage(w).then(function(H){const Y=new f("GetTextContent: page "+w);R(Y);const Q=M>=n.VerbosityLevel.INFOS?Date.now():0;H.extractTextContent({handler:l,task:Y,sink:D,includeMarkedContent:m,disableNormalization:I}).then(function(){S(Y),Q&&(0,n.info)(`page=${w+1} - getTextContent: time=${Date.now()-Q}ms`),D.close()},function(oe){S(Y),!Y.terminated&&D.error(oe)})})}),l.on("GetStructTree",function(A){return F.getPage(A.pageIndex).then(function(D){return F.ensure(D,"getStructTree")})}),l.on("FontFallback",function(A){return F.fontFallback(A.id,l)}),l.on("Cleanup",function(A){return F.cleanup(!0)}),l.on("Terminate",function(A){B=!0;const D=[];if(F){F.terminate(new n.AbortException("Worker was terminated."));const w=F.cleanup();D.push(w),F=null}else(0,s.clearGlobalCaches)();W&&W(new n.AbortException("Worker was terminated."));for(const w of j)D.push(w.finished),w.terminate();return Promise.all(D).then(function(){l.destroy(),l=null})}),l.on("Ready",function(A){$(v),v=null}),o}static initializeFromPort(v){const P=new U.MessageHandler("worker","main",v);x.setup(P,v),P.send("ready",null)}}d.WorkerMessageHandler=x;function a(N){return typeof N.postMessage=="function"&&"onmessage"in N}typeof window>"u"&&!n.isNodeJS&&typeof self<"u"&&a(self)&&x.initializeFromPort(self)},(he,d,i)=>{var n=i(3),u=i(4),g=i(69),e=i(70),t="WebAssembly",s=u[t],L=Error("e",{cause:7}).cause!==7,U=function(y,f){var x={};x[y]=e(y,f,L),n({global:!0,constructor:!0,arity:1,forced:L},x)},C=function(y,f){if(s&&s[y]){var x={};x[y]=e(t+"."+y,f,L),n({target:t,stat:!0,constructor:!0,arity:1,forced:L},x)}};U("Error",function(y){return function(x){return g(y,this,arguments)}}),U("EvalError",function(y){return function(x){return g(y,this,arguments)}}),U("RangeError",function(y){return function(x){return g(y,this,arguments)}}),U("ReferenceError",function(y){return function(x){return g(y,this,arguments)}}),U("SyntaxError",function(y){return function(x){return g(y,this,arguments)}}),U("TypeError",function(y){return function(x){return g(y,this,arguments)}}),U("URIError",function(y){return function(x){return g(y,this,arguments)}}),C("CompileError",function(y){return function(x){return g(y,this,arguments)}}),C("LinkError",function(y){return function(x){return g(y,this,arguments)}}),C("RuntimeError",function(y){return function(x){return g(y,this,arguments)}})},(he,d,i)=>{var n=i(4),u=i(5).f,g=i(44),e=i(48),t=i(38),s=i(56),L=i(68);he.exports=function(U,C){var y=U.target,f=U.global,x=U.stat,a,N,v,P,F,B;if(f?N=n:x?N=n[y]||t(y,{}):N=(n[y]||{}).prototype,N)for(v in C){if(F=C[v],U.dontCallGetSet?(B=u(N,v),P=B&&B.value):P=N[v],a=L(f?v:y+(x?".":"#")+v,U.forced),!a&&P!==void 0){if(typeof F==typeof P)continue;s(F,P)}(U.sham||P&&P.sham)&&g(F,"sham",!0),e(N,v,F,U)}}},function(he){var d=function(i){return i&&i.Math===Math&&i};he.exports=d(typeof globalThis=="object"&&globalThis)||d(typeof window=="object"&&window)||d(typeof self=="object"&&self)||d(typeof Rt=="object"&&Rt)||function(){return this}()||this||Function("return this")()},(he,d,i)=>{var n=i(6),u=i(8),g=i(10),e=i(11),t=i(12),s=i(18),L=i(39),U=i(42),C=Object.getOwnPropertyDescriptor;d.f=n?C:function(f,x){if(f=t(f),x=s(x),U)try{return C(f,x)}catch{}if(L(f,x))return e(!u(g.f,f,x),f[x])}},(he,d,i)=>{var n=i(7);he.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},he=>{he.exports=function(d){try{return!!d()}catch{return!0}}},(he,d,i)=>{var n=i(9),u=Function.prototype.call;he.exports=n?u.bind(u):function(){return u.apply(u,arguments)}},(he,d,i)=>{var n=i(7);he.exports=!n(function(){var u=(function(){}).bind();return typeof u!="function"||u.hasOwnProperty("prototype")})},(he,d)=>{var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,u=n&&!i.call({1:2},1);d.f=u?function(e){var t=n(this,e);return!!t&&t.enumerable}:i},he=>{he.exports=function(d,i){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:i}}},(he,d,i)=>{var n=i(13),u=i(16);he.exports=function(g){return n(u(g))}},(he,d,i)=>{var n=i(14),u=i(7),g=i(15),e=Object,t=n("".split);he.exports=u(function(){return!e("z").propertyIsEnumerable(0)})?function(s){return g(s)==="String"?t(s,""):e(s)}:e},(he,d,i)=>{var n=i(9),u=Function.prototype,g=u.call,e=n&&u.bind.bind(g,g);he.exports=n?e:function(t){return function(){return g.apply(t,arguments)}}},(he,d,i)=>{var n=i(14),u=n({}.toString),g=n("".slice);he.exports=function(e){return g(u(e),8,-1)}},(he,d,i)=>{var n=i(17),u=TypeError;he.exports=function(g){if(n(g))throw u("Can't call method on "+g);return g}},he=>{he.exports=function(d){return d==null}},(he,d,i)=>{var n=i(19),u=i(23);he.exports=function(g){var e=n(g,"string");return u(e)?e:e+""}},(he,d,i)=>{var n=i(8),u=i(20),g=i(23),e=i(30),t=i(33),s=i(34),L=TypeError,U=s("toPrimitive");he.exports=function(C,y){if(!u(C)||g(C))return C;var f=e(C,U),x;if(f){if(y===void 0&&(y="default"),x=n(f,C,y),!u(x)||g(x))return x;throw L("Can't convert object to primitive value")}return y===void 0&&(y="number"),t(C,y)}},(he,d,i)=>{var n=i(21),u=i(22),g=u.all;he.exports=u.IS_HTMLDDA?function(e){return typeof e=="object"?e!==null:n(e)||e===g}:function(e){return typeof e=="object"?e!==null:n(e)}},(he,d,i)=>{var n=i(22),u=n.all;he.exports=n.IS_HTMLDDA?function(g){return typeof g=="function"||g===u}:function(g){return typeof g=="function"}},he=>{var d=typeof document=="object"&&document.all,i=typeof d>"u"&&d!==void 0;he.exports={all:d,IS_HTMLDDA:i}},(he,d,i)=>{var n=i(24),u=i(21),g=i(25),e=i(26),t=Object;he.exports=e?function(s){return typeof s=="symbol"}:function(s){var L=n("Symbol");return u(L)&&g(L.prototype,t(s))}},(he,d,i)=>{var n=i(4),u=i(21),g=function(e){return u(e)?e:void 0};he.exports=function(e,t){return arguments.length<2?g(n[e]):n[e]&&n[e][t]}},(he,d,i)=>{var n=i(14);he.exports=n({}.isPrototypeOf)},(he,d,i)=>{var n=i(27);he.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},(he,d,i)=>{var n=i(28),u=i(7),g=i(4),e=g.String;he.exports=!!Object.getOwnPropertySymbols&&!u(function(){var t=Symbol("symbol detection");return!e(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},(he,d,i)=>{var n=i(4),u=i(29),g=n.process,e=n.Deno,t=g&&g.versions||e&&e.version,s=t&&t.v8,L,U;s&&(L=s.split("."),U=L[0]>0&&L[0]<4?1:+(L[0]+L[1])),!U&&u&&(L=u.match(/Edge\/(\d+)/),(!L||L[1]>=74)&&(L=u.match(/Chrome\/(\d+)/),L&&(U=+L[1]))),he.exports=U},he=>{he.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},(he,d,i)=>{var n=i(31),u=i(17);he.exports=function(g,e){var t=g[e];return u(t)?void 0:n(t)}},(he,d,i)=>{var n=i(21),u=i(32),g=TypeError;he.exports=function(e){if(n(e))return e;throw g(u(e)+" is not a function")}},he=>{var d=String;he.exports=function(i){try{return d(i)}catch{return"Object"}}},(he,d,i)=>{var n=i(8),u=i(21),g=i(20),e=TypeError;he.exports=function(t,s){var L,U;if(s==="string"&&u(L=t.toString)&&!g(U=n(L,t))||u(L=t.valueOf)&&!g(U=n(L,t))||s!=="string"&&u(L=t.toString)&&!g(U=n(L,t)))return U;throw e("Can't convert object to primitive value")}},(he,d,i)=>{var n=i(4),u=i(35),g=i(39),e=i(41),t=i(27),s=i(26),L=n.Symbol,U=u("wks"),C=s?L.for||L:L&&L.withoutSetter||e;he.exports=function(y){return g(U,y)||(U[y]=t&&g(L,y)?L[y]:C("Symbol."+y)),U[y]}},(he,d,i)=>{var n=i(36),u=i(37);(he.exports=function(g,e){return u[g]||(u[g]=e!==void 0?e:{})})("versions",[]).push({version:"3.32.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"})},he=>{he.exports=!1},(he,d,i)=>{var n=i(4),u=i(38),g="__core-js_shared__",e=n[g]||u(g,{});he.exports=e},(he,d,i)=>{var n=i(4),u=Object.defineProperty;he.exports=function(g,e){try{u(n,g,{value:e,configurable:!0,writable:!0})}catch{n[g]=e}return e}},(he,d,i)=>{var n=i(14),u=i(40),g=n({}.hasOwnProperty);he.exports=Object.hasOwn||function(t,s){return g(u(t),s)}},(he,d,i)=>{var n=i(16),u=Object;he.exports=function(g){return u(n(g))}},(he,d,i)=>{var n=i(14),u=0,g=Math.random(),e=n(1 .toString);he.exports=function(t){return"Symbol("+(t===void 0?"":t)+")_"+e(++u+g,36)}},(he,d,i)=>{var n=i(6),u=i(7),g=i(43);he.exports=!n&&!u(function(){return Object.defineProperty(g("div"),"a",{get:function(){return 7}}).a!==7})},(he,d,i)=>{var n=i(4),u=i(20),g=n.document,e=u(g)&&u(g.createElement);he.exports=function(t){return e?g.createElement(t):{}}},(he,d,i)=>{var n=i(6),u=i(45),g=i(11);he.exports=n?function(e,t,s){return u.f(e,t,g(1,s))}:function(e,t,s){return e[t]=s,e}},(he,d,i)=>{var n=i(6),u=i(42),g=i(46),e=i(47),t=i(18),s=TypeError,L=Object.defineProperty,U=Object.getOwnPropertyDescriptor,C="enumerable",y="configurable",f="writable";d.f=n?g?function(a,N,v){if(e(a),N=t(N),e(v),typeof a=="function"&&N==="prototype"&&"value"in v&&f in v&&!v[f]){var P=U(a,N);P&&P[f]&&(a[N]=v.value,v={configurable:y in v?v[y]:P[y],enumerable:C in v?v[C]:P[C],writable:!1})}return L(a,N,v)}:L:function(a,N,v){if(e(a),N=t(N),e(v),u)try{return L(a,N,v)}catch{}if("get"in v||"set"in v)throw s("Accessors not supported");return"value"in v&&(a[N]=v.value),a}},(he,d,i)=>{var n=i(6),u=i(7);he.exports=n&&u(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},(he,d,i)=>{var n=i(20),u=String,g=TypeError;he.exports=function(e){if(n(e))return e;throw g(u(e)+" is not an object")}},(he,d,i)=>{var n=i(21),u=i(45),g=i(49),e=i(38);he.exports=function(t,s,L,U){U||(U={});var C=U.enumerable,y=U.name!==void 0?U.name:s;if(n(L)&&g(L,y,U),U.global)C?t[s]=L:e(s,L);else{try{U.unsafe?t[s]&&(C=!0):delete t[s]}catch{}C?t[s]=L:u.f(t,s,{value:L,enumerable:!1,configurable:!U.nonConfigurable,writable:!U.nonWritable})}return t}},(he,d,i)=>{var n=i(14),u=i(7),g=i(21),e=i(39),t=i(6),s=i(50).CONFIGURABLE,L=i(51),U=i(52),C=U.enforce,y=U.get,f=String,x=Object.defineProperty,a=n("".slice),N=n("".replace),v=n([].join),P=t&&!u(function(){return x(function(){},"length",{value:8}).length!==8}),F=String(String).split("String"),B=he.exports=function(W,j,M){a(f(j),0,7)==="Symbol("&&(j="["+N(f(j),/^Symbol\(([^)]*)\)/,"$1")+"]"),M&&M.getter&&(j="get "+j),M&&M.setter&&(j="set "+j),(!e(W,"name")||s&&W.name!==j)&&(t?x(W,"name",{value:j,configurable:!0}):W.name=j),P&&M&&e(M,"arity")&&W.length!==M.arity&&x(W,"length",{value:M.arity});try{M&&e(M,"constructor")&&M.constructor?t&&x(W,"prototype",{writable:!1}):W.prototype&&(W.prototype=void 0)}catch{}var T=C(W);return e(T,"source")||(T.source=v(F,typeof j=="string"?j:"")),W};Function.prototype.toString=B(function(){return g(this)&&y(this).source||L(this)},"toString")},(he,d,i)=>{var n=i(6),u=i(39),g=Function.prototype,e=n&&Object.getOwnPropertyDescriptor,t=u(g,"name"),s=t&&(function(){}).name==="something",L=t&&(!n||n&&e(g,"name").configurable);he.exports={EXISTS:t,PROPER:s,CONFIGURABLE:L}},(he,d,i)=>{var n=i(14),u=i(21),g=i(37),e=n(Function.toString);u(g.inspectSource)||(g.inspectSource=function(t){return e(t)}),he.exports=g.inspectSource},(he,d,i)=>{var n=i(53),u=i(4),g=i(20),e=i(44),t=i(39),s=i(37),L=i(54),U=i(55),C="Object already initialized",y=u.TypeError,f=u.WeakMap,x,a,N,v=function(W){return N(W)?a(W):x(W,{})},P=function(W){return function(j){var M;if(!g(j)||(M=a(j)).type!==W)throw y("Incompatible receiver, "+W+" required");return M}};if(n||s.state){var F=s.state||(s.state=new f);F.get=F.get,F.has=F.has,F.set=F.set,x=function(W,j){if(F.has(W))throw y(C);return j.facade=W,F.set(W,j),j},a=function(W){return F.get(W)||{}},N=function(W){return F.has(W)}}else{var B=L("state");U[B]=!0,x=function(W,j){if(t(W,B))throw y(C);return j.facade=W,e(W,B,j),j},a=function(W){return t(W,B)?W[B]:{}},N=function(W){return t(W,B)}}he.exports={set:x,get:a,has:N,enforce:v,getterFor:P}},(he,d,i)=>{var n=i(4),u=i(21),g=n.WeakMap;he.exports=u(g)&&/native code/.test(String(g))},(he,d,i)=>{var n=i(35),u=i(41),g=n("keys");he.exports=function(e){return g[e]||(g[e]=u(e))}},he=>{he.exports={}},(he,d,i)=>{var n=i(39),u=i(57),g=i(5),e=i(45);he.exports=function(t,s,L){for(var U=u(s),C=e.f,y=g.f,f=0;f{var n=i(24),u=i(14),g=i(58),e=i(67),t=i(47),s=u([].concat);he.exports=n("Reflect","ownKeys")||function(U){var C=g.f(t(U)),y=e.f;return y?s(C,y(U)):C}},(he,d,i)=>{var n=i(59),u=i(66),g=u.concat("length","prototype");d.f=Object.getOwnPropertyNames||function(t){return n(t,g)}},(he,d,i)=>{var n=i(14),u=i(39),g=i(12),e=i(60).indexOf,t=i(55),s=n([].push);he.exports=function(L,U){var C=g(L),y=0,f=[],x;for(x in C)!u(t,x)&&u(C,x)&&s(f,x);for(;U.length>y;)u(C,x=U[y++])&&(~e(f,x)||s(f,x));return f}},(he,d,i)=>{var n=i(12),u=i(61),g=i(64),e=function(t){return function(s,L,U){var C=n(s),y=g(C),f=u(U,y),x;if(t&&L!==L){for(;y>f;)if(x=C[f++],x!==x)return!0}else for(;y>f;f++)if((t||f in C)&&C[f]===L)return t||f||0;return!t&&-1}};he.exports={includes:e(!0),indexOf:e(!1)}},(he,d,i)=>{var n=i(62),u=Math.max,g=Math.min;he.exports=function(e,t){var s=n(e);return s<0?u(s+t,0):g(s,t)}},(he,d,i)=>{var n=i(63);he.exports=function(u){var g=+u;return g!==g||g===0?0:n(g)}},he=>{var d=Math.ceil,i=Math.floor;he.exports=Math.trunc||function(u){var g=+u;return(g>0?i:d)(g)}},(he,d,i)=>{var n=i(65);he.exports=function(u){return n(u.length)}},(he,d,i)=>{var n=i(62),u=Math.min;he.exports=function(g){return g>0?u(n(g),9007199254740991):0}},he=>{he.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(he,d)=>{d.f=Object.getOwnPropertySymbols},(he,d,i)=>{var n=i(7),u=i(21),g=/#|\.prototype\./,e=function(C,y){var f=s[t(C)];return f===U?!0:f===L?!1:u(y)?n(y):!!y},t=e.normalize=function(C){return String(C).replace(g,".").toLowerCase()},s=e.data={},L=e.NATIVE="N",U=e.POLYFILL="P";he.exports=e},(he,d,i)=>{var n=i(9),u=Function.prototype,g=u.apply,e=u.call;he.exports=typeof Reflect=="object"&&Reflect.apply||(n?e.bind(g):function(){return e.apply(g,arguments)})},(he,d,i)=>{var n=i(24),u=i(39),g=i(44),e=i(25),t=i(71),s=i(56),L=i(74),U=i(75),C=i(76),y=i(80),f=i(81),x=i(6),a=i(36);he.exports=function(N,v,P,F){var B="stackTraceLimit",W=F?2:1,j=N.split("."),M=j[j.length-1],T=n.apply(null,j);if(T){var c=T.prototype;if(!a&&u(c,"cause")&&delete c.cause,!P)return T;var h=n("Error"),E=v(function(o,l){var b=C(F?l:o,void 0),R=F?new T(o):new T;return b!==void 0&&g(R,"message",b),f(R,E,R.stack,2),this&&e(c,this)&&U(R,this,E),arguments.length>W&&y(R,arguments[W]),R});if(E.prototype=c,M!=="Error"?t?t(E,h):s(E,h,{name:!0}):x&&B in T&&(L(E,T,B),L(E,T,"prepareStackTrace")),s(E,T),!a)try{c.name!==M&&g(c,"name",M),c.constructor=E}catch{}return E}}},(he,d,i)=>{var n=i(72),u=i(47),g=i(73);he.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},s;try{s=n(Object.prototype,"__proto__","set"),s(t,[]),e=t instanceof Array}catch{}return function(U,C){return u(U),g(C),e?s(U,C):U.__proto__=C,U}}():void 0)},(he,d,i)=>{var n=i(14),u=i(31);he.exports=function(g,e,t){try{return n(u(Object.getOwnPropertyDescriptor(g,e)[t]))}catch{}}},(he,d,i)=>{var n=i(21),u=String,g=TypeError;he.exports=function(e){if(typeof e=="object"||n(e))return e;throw g("Can't set "+u(e)+" as a prototype")}},(he,d,i)=>{var n=i(45).f;he.exports=function(u,g,e){e in u||n(u,e,{configurable:!0,get:function(){return g[e]},set:function(t){g[e]=t}})}},(he,d,i)=>{var n=i(21),u=i(20),g=i(71);he.exports=function(e,t,s){var L,U;return g&&n(L=t.constructor)&&L!==s&&u(U=L.prototype)&&U!==s.prototype&&g(e,U),e}},(he,d,i)=>{var n=i(77);he.exports=function(u,g){return u===void 0?arguments.length<2?"":g:n(u)}},(he,d,i)=>{var n=i(78),u=String;he.exports=function(g){if(n(g)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return u(g)}},(he,d,i)=>{var n=i(79),u=i(21),g=i(15),e=i(34),t=e("toStringTag"),s=Object,L=g(function(){return arguments}())==="Arguments",U=function(C,y){try{return C[y]}catch{}};he.exports=n?g:function(C){var y,f,x;return C===void 0?"Undefined":C===null?"Null":typeof(f=U(y=s(C),t))=="string"?f:L?g(y):(x=g(y))==="Object"&&u(y.callee)?"Arguments":x}},(he,d,i)=>{var n=i(34),u=n("toStringTag"),g={};g[u]="z",he.exports=String(g)==="[object z]"},(he,d,i)=>{var n=i(20),u=i(44);he.exports=function(g,e){n(e)&&"cause"in e&&u(g,"cause",e.cause)}},(he,d,i)=>{var n=i(44),u=i(82),g=i(83),e=Error.captureStackTrace;he.exports=function(t,s,L,U){g&&(e?e(t,s):n(t,"stack",u(L,U)))}},(he,d,i)=>{var n=i(14),u=Error,g=n("".replace),e=function(L){return String(u(L).stack)}("zxcasd"),t=/\n\s*at [^:]*:[^\n]*/,s=t.test(e);he.exports=function(L,U){if(s&&typeof L=="string"&&!u.prepareStackTrace)for(;U--;)L=g(L,t,"");return L}},(he,d,i)=>{var n=i(7),u=i(11);he.exports=!n(function(){var g=Error("a");return"stack"in g?(Object.defineProperty(g,"stack",u(1,7)),g.stack!==7):!0})},(he,d,i)=>{var n=i(85),u=i(90).findLast,g=n.aTypedArray,e=n.exportTypedArrayMethod;e("findLast",function(s){return u(g(this),s,arguments.length>1?arguments[1]:void 0)})},(he,d,i)=>{var n=i(86),u=i(6),g=i(4),e=i(21),t=i(20),s=i(39),L=i(78),U=i(32),C=i(44),y=i(48),f=i(87),x=i(25),a=i(88),N=i(71),v=i(34),P=i(41),F=i(52),B=F.enforce,W=F.get,j=g.Int8Array,M=j&&j.prototype,T=g.Uint8ClampedArray,c=T&&T.prototype,h=j&&a(j),E=M&&a(M),o=Object.prototype,l=g.TypeError,b=v("toStringTag"),R=P("TYPED_ARRAY_TAG"),S="TypedArrayConstructor",p=n&&!!N&&L(g.opera)!=="Opera",G=!1,$,A,D,w={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},m={BigInt64Array:8,BigUint64Array:8},I=function(_){if(!t(_))return!1;var k=L(_);return k==="DataView"||s(w,k)||s(m,k)},H=function(J){var _=a(J);if(t(_)){var k=W(_);return k&&s(k,S)?k[S]:H(_)}},Y=function(J){if(!t(J))return!1;var _=L(J);return s(w,_)||s(m,_)},Q=function(J){if(Y(J))return J;throw l("Target is not a typed array")},oe=function(J){if(e(J)&&(!N||x(h,J)))return J;throw l(U(J)+" is not a typed array constructor")},ne=function(J,_,k,O){if(u){if(k)for(var V in w){var K=g[V];if(K&&s(K.prototype,J))try{delete K.prototype[J]}catch{try{K.prototype[J]=_}catch{}}}(!E[J]||k)&&y(E,J,k?_:p&&M[J]||_,O)}},ce=function(J,_,k){var O,V;if(u){if(N){if(k){for(O in w)if(V=g[O],V&&s(V,J))try{delete V[J]}catch{}}if(!h[J]||k)try{return y(h,J,k?_:p&&h[J]||_)}catch{}else return}for(O in w)V=g[O],V&&(!V[J]||k)&&y(V,J,_)}};for($ in w)A=g[$],D=A&&A.prototype,D?B(D)[S]=A:p=!1;for($ in m)A=g[$],D=A&&A.prototype,D&&(B(D)[S]=A);if((!p||!e(h)||h===Function.prototype)&&(h=function(){throw l("Incorrect invocation")},p))for($ in w)g[$]&&N(g[$],h);if((!p||!E||E===o)&&(E=h.prototype,p))for($ in w)g[$]&&N(g[$].prototype,E);if(p&&a(c)!==E&&N(c,E),u&&!s(E,b)){G=!0,f(E,b,{configurable:!0,get:function(){return t(this)?this[R]:void 0}});for($ in w)g[$]&&C(g[$],R,$)}he.exports={NATIVE_ARRAY_BUFFER_VIEWS:p,TYPED_ARRAY_TAG:G&&R,aTypedArray:Q,aTypedArrayConstructor:oe,exportTypedArrayMethod:ne,exportTypedArrayStaticMethod:ce,getTypedArrayConstructor:H,isView:I,isTypedArray:Y,TypedArray:h,TypedArrayPrototype:E}},he=>{he.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},(he,d,i)=>{var n=i(49),u=i(45);he.exports=function(g,e,t){return t.get&&n(t.get,e,{getter:!0}),t.set&&n(t.set,e,{setter:!0}),u.f(g,e,t)}},(he,d,i)=>{var n=i(39),u=i(21),g=i(40),e=i(54),t=i(89),s=e("IE_PROTO"),L=Object,U=L.prototype;he.exports=t?L.getPrototypeOf:function(C){var y=g(C);if(n(y,s))return y[s];var f=y.constructor;return u(f)&&y instanceof f?f.prototype:y instanceof L?U:null}},(he,d,i)=>{var n=i(7);he.exports=!n(function(){function u(){}return u.prototype.constructor=null,Object.getPrototypeOf(new u)!==u.prototype})},(he,d,i)=>{var n=i(91),u=i(13),g=i(40),e=i(64),t=function(s){var L=s===1;return function(U,C,y){for(var f=g(U),x=u(f),a=n(C,y),N=e(x),v,P;N-- >0;)if(v=x[N],P=a(v,N,f),P)switch(s){case 0:return v;case 1:return N}return L?-1:void 0}};he.exports={findLast:t(0),findLastIndex:t(1)}},(he,d,i)=>{var n=i(92),u=i(31),g=i(9),e=n(n.bind);he.exports=function(t,s){return u(t),s===void 0?t:g?e(t,s):function(){return t.apply(s,arguments)}}},(he,d,i)=>{var n=i(15),u=i(14);he.exports=function(g){if(n(g)==="Function")return u(g)}},(he,d,i)=>{var n=i(85),u=i(90).findLastIndex,g=n.aTypedArray,e=n.exportTypedArrayMethod;e("findLastIndex",function(s){return u(g(this),s,arguments.length>1?arguments[1]:void 0)})},(he,d,i)=>{var n=i(4),u=i(8),g=i(85),e=i(64),t=i(95),s=i(40),L=i(7),U=n.RangeError,C=n.Int8Array,y=C&&C.prototype,f=y&&y.set,x=g.aTypedArray,a=g.exportTypedArrayMethod,N=!L(function(){var P=new Uint8ClampedArray(2);return u(f,P,{length:1,0:3},1),P[1]!==3}),v=N&&g.NATIVE_ARRAY_BUFFER_VIEWS&&L(function(){var P=new C(2);return P.set(1),P.set("2",1),P[0]!==0||P[1]!==2});a("set",function(F){x(this);var B=t(arguments.length>1?arguments[1]:void 0,1),W=s(F);if(N)return u(f,this,W,B);var j=this.length,M=e(W),T=0;if(M+B>j)throw U("Wrong length");for(;T{var n=i(96),u=RangeError;he.exports=function(g,e){var t=n(g);if(t%e)throw u("Wrong offset");return t}},(he,d,i)=>{var n=i(62),u=RangeError;he.exports=function(g){var e=n(g);if(e<0)throw u("The argument can't be less than 0");return e}},(he,d,i)=>{var n=i(98),u=i(85),g=u.aTypedArray,e=u.exportTypedArrayMethod,t=u.getTypedArrayConstructor;e("toReversed",function(){return n(g(this),t(this))})},(he,d,i)=>{var n=i(64);he.exports=function(u,g){for(var e=n(u),t=new g(e),s=0;s{var n=i(85),u=i(14),g=i(31),e=i(100),t=n.aTypedArray,s=n.getTypedArrayConstructor,L=n.exportTypedArrayMethod,U=u(n.TypedArrayPrototype.sort);L("toSorted",function(y){y!==void 0&&g(y);var f=t(this),x=e(s(f),f);return U(x,y)})},(he,d,i)=>{var n=i(64);he.exports=function(u,g){for(var e=0,t=n(g),s=new u(t);t>e;)s[e]=g[e++];return s}},(he,d,i)=>{var n=i(102),u=i(85),g=i(103),e=i(62),t=i(104),s=u.aTypedArray,L=u.getTypedArrayConstructor,U=u.exportTypedArrayMethod,C=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(y){return y===8}}();U("with",function(y,f){var x=s(this),a=e(y),N=g(x)?t(f):+f;return n(x,L(x),a,N)},!C)},(he,d,i)=>{var n=i(64),u=i(62),g=RangeError;he.exports=function(e,t,s,L){var U=n(e),C=u(s),y=C<0?U+C:C;if(y>=U||y<0)throw g("Incorrect index");for(var f=new t(U),x=0;x{var n=i(78);he.exports=function(u){var g=n(u);return g==="BigInt64Array"||g==="BigUint64Array"}},(he,d,i)=>{var n=i(19),u=TypeError;he.exports=function(g){var e=n(g,"number");if(typeof e=="number")throw u("Can't convert number to bigint");return BigInt(e)}},(he,d,i)=>{var n=i(6),u=i(87),g=i(106),e=ArrayBuffer.prototype;n&&!("detached"in e)&&u(e,"detached",{configurable:!0,get:function(){return g(this)}})},(he,d,i)=>{var n=i(14),u=i(107),g=n(ArrayBuffer.prototype.slice);he.exports=function(e){if(u(e)!==0)return!1;try{return g(e,0,0),!1}catch{return!0}}},(he,d,i)=>{var n=i(72),u=i(15),g=TypeError;he.exports=n(ArrayBuffer.prototype,"byteLength","get")||function(e){if(u(e)!=="ArrayBuffer")throw g("ArrayBuffer expected");return e.byteLength}},(he,d,i)=>{var n=i(3),u=i(109);u&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return u(this,arguments.length?arguments[0]:void 0,!0)}})},(he,d,i)=>{var n=i(4),u=i(14),g=i(72),e=i(110),t=i(106),s=i(107),L=i(111),U=n.TypeError,C=n.structuredClone,y=n.ArrayBuffer,f=n.DataView,x=Math.min,a=y.prototype,N=f.prototype,v=u(a.slice),P=g(a,"resizable","get"),F=g(a,"maxByteLength","get"),B=u(N.getInt8),W=u(N.setInt8);he.exports=L&&function(j,M,T){var c=s(j),h=M===void 0?c:e(M),E=!P||!P(j);if(t(j))throw U("ArrayBuffer is detached");var o=C(j,{transfer:[j]});if(c===h&&(T||E))return o;if(c>=h&&(!T||E))return v(o,0,h);for(var l=T&&!E&&F?{maxByteLength:F(o)}:void 0,b=new y(h,l),R=new f(o),S=new f(b),p=x(h,c),G=0;G{var n=i(62),u=i(65),g=RangeError;he.exports=function(e){if(e===void 0)return 0;var t=n(e),s=u(t);if(t!==s)throw g("Wrong length or index");return s}},(he,d,i)=>{var n=i(4),u=i(7),g=i(28),e=i(112),t=i(113),s=i(114),L=n.structuredClone;he.exports=!!L&&!u(function(){if(t&&g>92||s&&g>94||e&&g>97)return!1;var U=new ArrayBuffer(8),C=L(U,{transfer:[U]});return U.byteLength!==0||C.byteLength!==8})},(he,d,i)=>{var n=i(113),u=i(114);he.exports=!n&&!u&&typeof window=="object"&&typeof document=="object"},he=>{he.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},(he,d,i)=>{var n=i(4),u=i(15);he.exports=u(n.process)==="process"},(he,d,i)=>{var n=i(3),u=i(109);u&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return u(this,arguments.length?arguments[0]:void 0,!1)}})},(he,d,i)=>{var n=i(3),u=i(117),g=i(126);n({target:"Set",proto:!0,real:!0,forced:!g("difference")},{difference:u})},(he,d,i)=>{var n=i(118),u=i(119),g=i(120),e=i(123),t=i(124),s=i(121),L=i(122),U=u.has,C=u.remove;he.exports=function(f){var x=n(this),a=t(f),N=g(x);return e(x)<=a.size?s(x,function(v){a.includes(v)&&C(N,v)}):L(a.getIterator(),function(v){U(x,v)&&C(N,v)}),N}},(he,d,i)=>{var n=i(119).has;he.exports=function(u){return n(u),u}},(he,d,i)=>{var n=i(14),u=Set.prototype;he.exports={Set,add:n(u.add),has:n(u.has),remove:n(u.delete),proto:u}},(he,d,i)=>{var n=i(119),u=i(121),g=n.Set,e=n.add;he.exports=function(t){var s=new g;return u(t,function(L){e(s,L)}),s}},(he,d,i)=>{var n=i(14),u=i(122),g=i(119),e=g.Set,t=g.proto,s=n(t.forEach),L=n(t.keys),U=L(new e).next;he.exports=function(C,y,f){return f?u({iterator:L(C),next:U},y):s(C,y)}},(he,d,i)=>{var n=i(8);he.exports=function(u,g,e){for(var t=e?u:u.iterator,s=u.next,L,U;!(L=n(s,t)).done;)if(U=g(L.value),U!==void 0)return U}},(he,d,i)=>{var n=i(72),u=i(119);he.exports=n(u.proto,"size","get")||function(g){return g.size}},(he,d,i)=>{var n=i(31),u=i(47),g=i(8),e=i(62),t=i(125),s="Invalid size",L=RangeError,U=TypeError,C=Math.max,y=function(f,x,a,N){this.set=f,this.size=x,this.has=a,this.keys=N};y.prototype={getIterator:function(){return t(u(g(this.keys,this.set)))},includes:function(f){return g(this.has,this.set,f)}},he.exports=function(f){u(f);var x=+f.size;if(x!==x)throw U(s);var a=e(x);if(a<0)throw L(s);return new y(f,C(a,0),n(f.has),n(f.keys))}},he=>{he.exports=function(d){return{iterator:d,next:d.next,done:!1}}},(he,d,i)=>{var n=i(24),u=function(g){return{size:g,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};he.exports=function(g){var e=n("Set");try{new e()[g](u(0));try{return new e()[g](u(-1)),!1}catch{return!0}}catch{return!1}}},(he,d,i)=>{var n=i(3),u=i(7),g=i(128),e=i(126),t=!e("intersection")||u(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});n({target:"Set",proto:!0,real:!0,forced:t},{intersection:g})},(he,d,i)=>{var n=i(118),u=i(119),g=i(123),e=i(124),t=i(121),s=i(122),L=u.Set,U=u.add,C=u.has;he.exports=function(f){var x=n(this),a=e(f),N=new L;return g(x)>a.size?s(a.getIterator(),function(v){C(x,v)&&U(N,v)}):t(x,function(v){a.includes(v)&&U(N,v)}),N}},(he,d,i)=>{var n=i(3),u=i(130),g=i(126);n({target:"Set",proto:!0,real:!0,forced:!g("isDisjointFrom")},{isDisjointFrom:u})},(he,d,i)=>{var n=i(118),u=i(119).has,g=i(123),e=i(124),t=i(121),s=i(122),L=i(131);he.exports=function(C){var y=n(this),f=e(C);if(g(y)<=f.size)return t(y,function(a){if(f.includes(a))return!1},!0)!==!1;var x=f.getIterator();return s(x,function(a){if(u(y,a))return L(x,"normal",!1)})!==!1}},(he,d,i)=>{var n=i(8),u=i(47),g=i(30);he.exports=function(e,t,s){var L,U;u(e);try{if(L=g(e,"return"),!L){if(t==="throw")throw s;return s}L=n(L,e)}catch(C){U=!0,L=C}if(t==="throw")throw s;if(U)throw L;return u(L),s}},(he,d,i)=>{var n=i(3),u=i(133),g=i(126);n({target:"Set",proto:!0,real:!0,forced:!g("isSubsetOf")},{isSubsetOf:u})},(he,d,i)=>{var n=i(118),u=i(123),g=i(121),e=i(124);he.exports=function(s){var L=n(this),U=e(s);return u(L)>U.size?!1:g(L,function(C){if(!U.includes(C))return!1},!0)!==!1}},(he,d,i)=>{var n=i(3),u=i(135),g=i(126);n({target:"Set",proto:!0,real:!0,forced:!g("isSupersetOf")},{isSupersetOf:u})},(he,d,i)=>{var n=i(118),u=i(119).has,g=i(123),e=i(124),t=i(122),s=i(131);he.exports=function(U){var C=n(this),y=e(U);if(g(C){var n=i(3),u=i(137),g=i(126);n({target:"Set",proto:!0,real:!0,forced:!g("symmetricDifference")},{symmetricDifference:u})},(he,d,i)=>{var n=i(118),u=i(119),g=i(120),e=i(124),t=i(122),s=u.add,L=u.has,U=u.remove;he.exports=function(y){var f=n(this),x=e(y).getIterator(),a=g(f);return t(x,function(N){L(f,N)?U(a,N):s(a,N)}),a}},(he,d,i)=>{var n=i(3),u=i(139),g=i(126);n({target:"Set",proto:!0,real:!0,forced:!g("union")},{union:u})},(he,d,i)=>{var n=i(118),u=i(119).add,g=i(120),e=i(124),t=i(122);he.exports=function(L){var U=n(this),C=e(L).getIterator(),y=g(U);return t(C,function(f){u(y,f)}),y}},(he,d,i)=>{var n=i(3),u=i(40),g=i(64),e=i(141),t=i(143),s=i(7),L=s(function(){return[].push.call({length:4294967296},1)!==4294967297}),U=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(y){return y instanceof TypeError}},C=L||!U();n({target:"Array",proto:!0,arity:1,forced:C},{push:function(f){var x=u(this),a=g(x),N=arguments.length;t(a+N);for(var v=0;v{var n=i(6),u=i(142),g=TypeError,e=Object.getOwnPropertyDescriptor,t=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(s){return s instanceof TypeError}}();he.exports=t?function(s,L){if(u(s)&&!e(s,"length").writable)throw g("Cannot set read only .length");return s.length=L}:function(s,L){return s.length=L}},(he,d,i)=>{var n=i(15);he.exports=Array.isArray||function(g){return n(g)==="Array"}},he=>{var d=TypeError,i=9007199254740991;he.exports=function(n){if(n>i)throw d("Maximum allowed index exceeded");return n}},(he,d,i)=>{var n=i(3),u=i(4),g=i(87),e=i(6),t=TypeError,s=Object.defineProperty,L=u.self!==u;try{if(e){var U=Object.getOwnPropertyDescriptor(u,"self");(L||!U||!U.get||!U.enumerable)&&g(u,"self",{get:function(){return u},set:function(y){if(this!==u)throw t("Illegal invocation");s(u,"self",{value:y,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:L},{self:u})}catch{}},(he,d,i)=>{var Fe;Object.defineProperty(d,"__esModule",{value:!0}),d.VerbosityLevel=d.Util=d.UnknownErrorException=d.UnexpectedResponseException=d.TextRenderingMode=d.RenderingIntentFlag=d.PromiseCapability=d.PermissionFlag=d.PasswordResponses=d.PasswordException=d.PageActionEventType=d.OPS=d.MissingPDFException=d.MAX_IMAGE_SIZE_TO_CACHE=d.LINE_FACTOR=d.LINE_DESCENT_FACTOR=d.InvalidPDFException=d.ImageKind=d.IDENTITY_MATRIX=d.FormatError=d.FeatureTest=d.FONT_IDENTITY_MATRIX=d.DocumentActionEventType=d.CMapCompressionType=d.BaseException=d.BASELINE_FACTOR=d.AnnotationType=d.AnnotationReplyType=d.AnnotationPrefix=d.AnnotationMode=d.AnnotationFlag=d.AnnotationFieldFlag=d.AnnotationEditorType=d.AnnotationEditorPrefix=d.AnnotationEditorParamsType=d.AnnotationBorderStyleType=d.AnnotationActionEventType=d.AbortException=void 0,d.assert=A,d.bytesToString=_,d.createValidAbsoluteUrl=w,d.getModificationDate=fe,d.getUuid=Se,d.getVerbosityLevel=S,d.info=p,d.isArrayBuffer=le,d.isArrayEqual=ue,d.isNodeJS=void 0,d.normalizeUnicode=ye,d.objectFromMap=K,d.objectSize=V,d.setVerbosityLevel=R,d.shadow=m,d.string32=O,d.stringToBytes=k,d.stringToPDFString=z,d.stringToUTF8String=ae,d.unreachable=$,d.utf8StringToString=se,d.warn=G,i(2),i(146),i(148),i(149),i(140),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);const n=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser");d.isNodeJS=n;const u=[1,0,0,1,0,0];d.IDENTITY_MATRIX=u;const g=[.001,0,0,.001,0,0];d.FONT_IDENTITY_MATRIX=g;const e=1e7;d.MAX_IMAGE_SIZE_TO_CACHE=e;const t=1.35;d.LINE_FACTOR=t;const s=.35;d.LINE_DESCENT_FACTOR=s;const L=s/t;d.BASELINE_FACTOR=L;const U={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};d.RenderingIntentFlag=U;const C={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};d.AnnotationMode=C;const y="pdfjs_internal_editor_";d.AnnotationEditorPrefix=y;const f={DISABLE:-1,NONE:0,FREETEXT:3,STAMP:13,INK:15};d.AnnotationEditorType=f;const x={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23};d.AnnotationEditorParamsType=x;const a={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};d.PermissionFlag=a;const N={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};d.TextRenderingMode=N;const v={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};d.ImageKind=v;const P={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};d.AnnotationType=P;const F={GROUP:"Group",REPLY:"R"};d.AnnotationReplyType=F;const B={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};d.AnnotationFlag=B;const W={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};d.AnnotationFieldFlag=W;const j={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};d.AnnotationBorderStyleType=j;const M={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"};d.AnnotationActionEventType=M;const T={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};d.DocumentActionEventType=T;const c={O:"PageOpen",C:"PageClose"};d.PageActionEventType=c;const h={ERRORS:0,WARNINGS:1,INFOS:5};d.VerbosityLevel=h;const E={NONE:0,BINARY:1};d.CMapCompressionType=E;const o={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,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};d.OPS=o;const l={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};d.PasswordResponses=l;let b=h.WARNINGS;function R(xe){Number.isInteger(xe)&&(b=xe)}function S(){return b}function p(xe){b>=h.INFOS&&console.log(`Info: ${xe}`)}function G(xe){b>=h.WARNINGS&&console.log(`Warning: ${xe}`)}function $(xe){throw new Error(xe)}function A(xe,de){xe||$(de)}function D(xe){switch(xe==null?void 0:xe.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function w(xe){let de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!xe)return null;try{if(pe&&typeof xe=="string"){if(pe.addDefaultProtocol&&xe.startsWith("www.")){const we=xe.match(/\./g);(we==null?void 0:we.length)>=2&&(xe=`http://${xe}`)}if(pe.tryConvertEncoding)try{xe=ae(xe)}catch{}}const Ce=de?new URL(xe,de):new URL(xe);if(D(Ce))return Ce}catch{}return null}function m(xe,de,pe){let Ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Object.defineProperty(xe,de,{value:pe,enumerable:!Ce,configurable:!0,writable:!1}),pe}const I=function(){function de(pe,Ce){this.constructor===de&&$("Cannot initialize BaseException."),this.message=pe,this.name=Ce}return de.prototype=new Error,de.constructor=de,de}();d.BaseException=I;class H extends I{constructor(de,pe){super(de,"PasswordException"),this.code=pe}}d.PasswordException=H;class Y extends I{constructor(de,pe){super(de,"UnknownErrorException"),this.details=pe}}d.UnknownErrorException=Y;class Q extends I{constructor(de){super(de,"InvalidPDFException")}}d.InvalidPDFException=Q;class oe extends I{constructor(de){super(de,"MissingPDFException")}}d.MissingPDFException=oe;class ne extends I{constructor(de,pe){super(de,"UnexpectedResponseException"),this.status=pe}}d.UnexpectedResponseException=ne;class ce extends I{constructor(de){super(de,"FormatError")}}d.FormatError=ce;class J extends I{constructor(de){super(de,"AbortException")}}d.AbortException=J;function _(xe){(typeof xe!="object"||(xe==null?void 0:xe.length)===void 0)&&$("Invalid argument for bytesToString");const de=xe.length,pe=8192;if(de>24&255,xe>>16&255,xe>>8&255,xe&255)}function V(xe){return Object.keys(xe).length}function K(xe){const de=Object.create(null);for(const[pe,Ce]of xe)de[pe]=Ce;return de}function te(){const xe=new Uint8Array(4);return xe[0]=1,new Uint32Array(xe.buffer,0,1)[0]===1}function re(){try{return new Function(""),!0}catch{return!1}}class ie{static get isLittleEndian(){return m(this,"isLittleEndian",te())}static get isEvalSupported(){return m(this,"isEvalSupported",re())}static get isOffscreenCanvasSupported(){return m(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get platform(){return typeof navigator>"u"?m(this,"platform",{isWin:!1,isMac:!1}):m(this,"platform",{isWin:navigator.platform.includes("Win"),isMac:navigator.platform.includes("Mac")})}static get isCSSRoundSupported(){var de,pe;return m(this,"isCSSRoundSupported",(pe=(de=globalThis.CSS)==null?void 0:de.supports)==null?void 0:pe.call(de,"width: round(1.5px, 1px)"))}}d.FeatureTest=ie;const Z=[...Array(256).keys()].map(xe=>xe.toString(16).padStart(2,"0"));class ee{static makeHexColor(de,pe,Ce){return`#${Z[de]}${Z[pe]}${Z[Ce]}`}static scaleMinMax(de,pe){let Ce;de[0]?(de[0]<0&&(Ce=pe[0],pe[0]=pe[1],pe[1]=Ce),pe[0]*=de[0],pe[1]*=de[0],de[3]<0&&(Ce=pe[2],pe[2]=pe[3],pe[3]=Ce),pe[2]*=de[3],pe[3]*=de[3]):(Ce=pe[0],pe[0]=pe[2],pe[2]=Ce,Ce=pe[1],pe[1]=pe[3],pe[3]=Ce,de[1]<0&&(Ce=pe[2],pe[2]=pe[3],pe[3]=Ce),pe[2]*=de[1],pe[3]*=de[1],de[2]<0&&(Ce=pe[0],pe[0]=pe[1],pe[1]=Ce),pe[0]*=de[2],pe[1]*=de[2]),pe[0]+=de[4],pe[1]+=de[4],pe[2]+=de[5],pe[3]+=de[5]}static transform(de,pe){return[de[0]*pe[0]+de[2]*pe[1],de[1]*pe[0]+de[3]*pe[1],de[0]*pe[2]+de[2]*pe[3],de[1]*pe[2]+de[3]*pe[3],de[0]*pe[4]+de[2]*pe[5]+de[4],de[1]*pe[4]+de[3]*pe[5]+de[5]]}static applyTransform(de,pe){const Ce=de[0]*pe[0]+de[1]*pe[2]+pe[4],we=de[0]*pe[1]+de[1]*pe[3]+pe[5];return[Ce,we]}static applyInverseTransform(de,pe){const Ce=pe[0]*pe[3]-pe[1]*pe[2],we=(de[0]*pe[3]-de[1]*pe[2]+pe[2]*pe[5]-pe[4]*pe[3])/Ce,$e=(-de[0]*pe[1]+de[1]*pe[0]+pe[4]*pe[1]-pe[5]*pe[0])/Ce;return[we,$e]}static getAxialAlignedBoundingBox(de,pe){const Ce=this.applyTransform(de,pe),we=this.applyTransform(de.slice(2,4),pe),$e=this.applyTransform([de[0],de[3]],pe),ze=this.applyTransform([de[2],de[1]],pe);return[Math.min(Ce[0],we[0],$e[0],ze[0]),Math.min(Ce[1],we[1],$e[1],ze[1]),Math.max(Ce[0],we[0],$e[0],ze[0]),Math.max(Ce[1],we[1],$e[1],ze[1])]}static inverseTransform(de){const pe=de[0]*de[3]-de[1]*de[2];return[de[3]/pe,-de[1]/pe,-de[2]/pe,de[0]/pe,(de[2]*de[5]-de[4]*de[3])/pe,(de[4]*de[1]-de[5]*de[0])/pe]}static singularValueDecompose2dScale(de){const pe=[de[0],de[2],de[1],de[3]],Ce=de[0]*pe[0]+de[1]*pe[2],we=de[0]*pe[1]+de[1]*pe[3],$e=de[2]*pe[0]+de[3]*pe[2],ze=de[2]*pe[1]+de[3]*pe[3],Ee=(Ce+ze)/2,tt=Math.sqrt((Ce+ze)**2-4*(Ce*ze-$e*we))/2,nt=Ee+tt||1,We=Ee-tt||1;return[Math.sqrt(nt),Math.sqrt(We)]}static normalizeRect(de){const pe=de.slice(0);return de[0]>de[2]&&(pe[0]=de[2],pe[2]=de[0]),de[1]>de[3]&&(pe[1]=de[3],pe[3]=de[1]),pe}static intersect(de,pe){const Ce=Math.max(Math.min(de[0],de[2]),Math.min(pe[0],pe[2])),we=Math.min(Math.max(de[0],de[2]),Math.max(pe[0],pe[2]));if(Ce>we)return null;const $e=Math.max(Math.min(de[1],de[3]),Math.min(pe[1],pe[3])),ze=Math.min(Math.max(de[1],de[3]),Math.max(pe[1],pe[3]));return $e>ze?null:[Ce,$e,we,ze]}static bezierBoundingBox(de,pe,Ce,we,$e,ze,Ee,tt){const nt=[],We=[[],[]];let Le,Qe,gt,De,St,rt,At,Ot;for(let mt=0;mt<2;++mt){if(mt===0?(Qe=6*de-12*Ce+6*$e,Le=-3*de+9*Ce-9*$e+3*Ee,gt=3*Ce-3*de):(Qe=6*pe-12*we+6*ze,Le=-3*pe+9*we-9*ze+3*tt,gt=3*we-3*pe),Math.abs(Le)<1e-12){if(Math.abs(Qe)<1e-12)continue;De=-gt/Qe,0="ï"){let pe;if(xe[0]==="þ"&&xe[1]==="ÿ"?pe="utf-16be":xe[0]==="ÿ"&&xe[1]==="þ"?pe="utf-16le":xe[0]==="ï"&&xe[1]==="»"&&xe[2]==="¿"&&(pe="utf-8"),pe)try{const Ce=new TextDecoder(pe,{fatal:!0}),we=k(xe);return Ce.decode(we)}catch(Ce){G(`stringToPDFString: "${Ce}".`)}}const de=[];for(let pe=0,Ce=xe.length;pe0&&arguments[0]!==void 0?arguments[0]:new Date;return[xe.getUTCFullYear().toString(),(xe.getUTCMonth()+1).toString().padStart(2,"0"),xe.getUTCDate().toString().padStart(2,"0"),xe.getUTCHours().toString().padStart(2,"0"),xe.getUTCMinutes().toString().padStart(2,"0"),xe.getUTCSeconds().toString().padStart(2,"0")].join("")}class ge{constructor(){vt(this,Fe,!1);this.promise=new Promise((de,pe)=>{this.resolve=Ce=>{gn(this,Fe,!0),de(Ce)},this.reject=Ce=>{gn(this,Fe,!0),pe(Ce)}})}get settled(){return Bt(this,Fe)}}Fe=new WeakMap,d.PromiseCapability=ge;let me=null,be=null;function ye(xe){return me||(me=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,be=new Map([["ſt","ſt"]])),xe.replaceAll(me,(de,pe,Ce)=>pe?pe.normalize("NFKC"):be.get(Ce))}function Se(){if(typeof crypto<"u"&&typeof(crypto==null?void 0:crypto.randomUUID)=="function")return crypto.randomUUID();const xe=new Uint8Array(32);if(typeof crypto<"u"&&typeof(crypto==null?void 0:crypto.getRandomValues)=="function")crypto.getRandomValues(xe);else for(let de=0;de<32;de++)xe[de]=Math.floor(Math.random()*255);return _(xe)}const Ae="pdfjs_internal_id_";d.AnnotationPrefix=Ae},(he,d,i)=>{var n=i(48),u=i(14),g=i(77),e=i(147),t=URLSearchParams,s=t.prototype,L=u(s.append),U=u(s.delete),C=u(s.forEach),y=u([].push),f=new t("a=1&a=2&b=3");f.delete("a",1),f.delete("b",void 0),f+""!="a=2"&&n(s,"delete",function(x){var a=arguments.length,N=a<2?void 0:arguments[1];if(a&&N===void 0)return U(this,x);var v=[];C(this,function(c,h){y(v,{key:h,value:c})}),e(a,1);for(var P=g(x),F=g(N),B=0,W=0,j=!1,M=v.length,T;B{var d=TypeError;he.exports=function(i,n){if(i{var n=i(48),u=i(14),g=i(77),e=i(147),t=URLSearchParams,s=t.prototype,L=u(s.getAll),U=u(s.has),C=new t("a=1");(C.has("a",2)||!C.has("a",void 0))&&n(s,"has",function(f){var x=arguments.length,a=x<2?void 0:arguments[1];if(x&&a===void 0)return U(this,f);var N=L(this,f);e(x,1);for(var v=g(a),P=0;P{var n=i(6),u=i(14),g=i(87),e=URLSearchParams.prototype,t=u(e.forEach);n&&!("size"in e)&&g(e,"size",{get:function(){var L=0;return t(this,function(){L++}),L},configurable:!0,enumerable:!0})},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.XRefParseException=d.XRefEntryException=d.ParserEOFException=d.PDF_VERSION_REGEXP=d.MissingDataException=void 0,d.arrayBuffersToBytes=y,d.collectActions=c,d.encodeToXmlString=E,d.escapePDFName=j,d.escapeString=M,d.getInheritableProperty=f,d.getLookupTableFactory=t,d.getNewAnnotationsMap=S,d.getRotationMatrix=A,d.isAscii=p,d.isWhiteSpace=B,d.log2=N,d.numberToString=R,d.parseXFAPath=W,d.readInt8=v,d.readUint16=P,d.readUint32=F,d.recoverJsURL=b,d.stringToUTF16HexString=G,d.stringToUTF16String=$,d.toRomanNumerals=a,d.validateCSSFont=l,d.validateFontName=o,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140),i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(2);var n=i(145),u=i(151),g=i(152);const e=/^[1-9]\.\d$/;d.PDF_VERSION_REGEXP=e;function t(D){let w;return function(){return D&&(w=Object.create(null),D(w),D=null),w}}class s extends n.BaseException{constructor(w,m){super(`Missing data [${w}, ${m})`,"MissingDataException"),this.begin=w,this.end=m}}d.MissingDataException=s;class L extends n.BaseException{constructor(w){super(w,"ParserEOFException")}}d.ParserEOFException=L;class U extends n.BaseException{constructor(w){super(w,"XRefEntryException")}}d.XRefEntryException=U;class C extends n.BaseException{constructor(w){super(w,"XRefParseException")}}d.XRefParseException=C;function y(D){const w=D.length;if(w===0)return new Uint8Array(0);if(w===1)return new Uint8Array(D[0]);let m=0;for(let Y=0;Y1&&arguments[1]!==void 0?arguments[1]:!1;(0,n.assert)(Number.isInteger(D)&&D>0,"The number should be a positive integer.");const m=[];let I;for(;D>=1e3;)D-=1e3,m.push("M");I=D/100|0,D%=100,m.push(x[I]),I=D/10|0,D%=10,m.push(x[10+I]),m.push(x[20+D]);const H=m.join("");return w?H.toLowerCase():H}function N(D){return D<=0?0:Math.ceil(Math.log2(D))}function v(D,w){return D[w]<<24>>24}function P(D,w){return D[w]<<8|D[w+1]}function F(D,w){return(D[w]<<24|D[w+1]<<16|D[w+2]<<8|D[w+3])>>>0}function B(D){return D===32||D===9||D===13||D===10}function W(D){const w=/(.+)\[(\d+)\]$/;return D.split(".").map(m=>{const I=m.match(w);return I?{name:I[1],pos:parseInt(I[2],10)}:{name:m,pos:0}})}function j(D){const w=[];let m=0;for(let I=0,H=D.length;I126||Y===35||Y===40||Y===41||Y===60||Y===62||Y===91||Y===93||Y===123||Y===125||Y===47||Y===37)&&(mw===` `?"\\n":w==="\r"?"\\r":`\\${w}`)}function T(D,w,m,I){if(!D)return;let H=null;if(D instanceof u.Ref){if(I.has(D))return;H=D,I.put(H),D=w.fetch(D)}if(Array.isArray(D))for(const Y of D)T(Y,w,m,I);else if(D instanceof u.Dict){if((0,u.isName)(D.get("S"),"JavaScript")){const Y=D.get("JS");let Q;Y instanceof g.BaseStream?Q=Y.getString():typeof Y=="string"&&(Q=Y),Q&&(Q=(0,n.stringToPDFString)(Q).replaceAll("\0","")),Q&&m.push(Q)}T(D.getRaw("Next"),w,m,I)}H&&I.remove(H)}function c(D,w,m){const I=Object.create(null),H=f({dict:w,key:"AA",stopWhenFound:!1});if(H)for(let Y=H.length-1;Y>=0;Y--){const Q=H[Y];if(Q instanceof u.Dict)for(const oe of Q.getKeys()){const ne=m[oe];if(!ne)continue;const ce=Q.getRaw(oe),J=new u.RefSet,_=[];T(ce,D,_,J),_.length>0&&(I[ne]=_)}}if(w.has("A")){const Y=w.get("A"),Q=new u.RefSet,oe=[];T(Y,D,oe,Q),oe.length>0&&(I.Action=oe)}return(0,n.objectSize)(I)>0?I:null}const h={60:"<",62:">",38:"&",34:""",39:"'"};function E(D){const w=[];let m=0;for(let I=0,H=D.length;I55295&&(Y<57344||Y>65533)&&I++,m=I+1}return w.length===0?D:(m1&&arguments[1]!==void 0?arguments[1]:!1;const m=/^("|').*("|')$/.exec(D);if(m&&m[1]===m[2]){if(new RegExp(`[^\\\\]${m[1]}`).test(D.slice(1,-1)))return w&&(0,n.warn)(`FontFamily contains unescaped ${m[1]}: ${D}.`),!1}else for(const I of D.split(/[ \t]+/))if(/^(\d|(-(\d|-)))/.test(I)||!/^[\w-\\]+$/.test(I))return w&&(0,n.warn)(`FontFamily contains invalid : ${D}.`),!1;return!0}function l(D){const w="14",m="400",I=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),{fontFamily:H,fontWeight:Y,italicAngle:Q}=D;if(!o(H,!0))return!1;const oe=Y?Y.toString():"";D.fontWeight=I.has(oe)?oe:m;const ne=parseFloat(Q);return D.italicAngle=isNaN(ne)||ne<-90||ne>90?w:Q.toString(),!0}function b(D){const w=["app.launchURL","window.open","xfa.host.gotoURL"],I=new RegExp("^\\s*("+w.join("|").replaceAll(".","\\.")+`)\\((?:'|")([^'"]*)(?:'|")(?:,\\s*(\\w+)\\)|\\))`,"i").exec(D);if(I!=null&&I[2]){const H=I[2];let Y=!1;return I[3]==="true"&&I[1]==="app.launchURL"&&(Y=!0),{url:H,newWindow:Y}}return null}function R(D){if(Number.isInteger(D))return D.toString();const w=Math.round(D*100);return w%100===0?(w/100).toString():w%10===0?D.toFixed(1):D.toFixed(2)}function S(D){if(!D)return null;const w=new Map;for(const[m,I]of D){if(!m.startsWith(n.AnnotationEditorPrefix))continue;let H=w.get(I.pageIndex);H||(H=[],w.set(I.pageIndex,H)),H.push(I)}return w.size>0?w:null}function p(D){return/^[\x00-\x7F]*$/.test(D)}function G(D){const w=[];for(let m=0,I=D.length;m>8&255).toString(16).padStart(2,"0"),(H&255).toString(16).padStart(2,"0"))}return w.join("")}function $(D){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const m=[];w&&m.push("þÿ");for(let I=0,H=D.length;I>8&255),String.fromCharCode(Y&255))}return m.join("")}function A(D,w,m){switch(D){case 90:return[0,1,-1,0,w,0];case 180:return[-1,0,0,-1,w,m];case 270:return[0,-1,1,0,0,m];default:throw new Error("Invalid rotation")}}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.RefSetCache=d.RefSet=d.Ref=d.Name=d.EOF=d.Dict=d.Cmd=d.CIRCULAR_REF=void 0,d.clearPrimitiveCaches=L,d.isCmd=P,d.isDict=F,d.isName=v,d.isRefsEqual=B,i(140),i(116),i(127),i(129),i(132),i(134),i(136),i(138);var n=i(145);const u=Symbol("CIRCULAR_REF");d.CIRCULAR_REF=u;const g=Symbol("EOF");d.EOF=g;let e=Object.create(null),t=Object.create(null),s=Object.create(null);function L(){e=Object.create(null),t=Object.create(null),s=Object.create(null)}class U{constructor(j){this.name=j}static get(j){return t[j]||(t[j]=new U(j))}}d.Name=U;class C{constructor(j){this.cmd=j}static get(j){return e[j]||(e[j]=new C(j))}}d.Cmd=C;const y=function(){return y};class f{constructor(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._map=Object.create(null),this.xref=j,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=y}assignXref(j){this.xref=j}get size(){return Object.keys(this._map).length}get(j,M,T){let c=this._map[j];return c===void 0&&M!==void 0&&(c=this._map[M],c===void 0&&T!==void 0&&(c=this._map[T])),c instanceof x&&this.xref?this.xref.fetch(c,this.suppressEncryption):c}async getAsync(j,M,T){let c=this._map[j];return c===void 0&&M!==void 0&&(c=this._map[M],c===void 0&&T!==void 0&&(c=this._map[T])),c instanceof x&&this.xref?this.xref.fetchAsync(c,this.suppressEncryption):c}getArray(j,M,T){let c=this._map[j];if(c===void 0&&M!==void 0&&(c=this._map[M],c===void 0&&T!==void 0&&(c=this._map[T])),c instanceof x&&this.xref&&(c=this.xref.fetch(c,this.suppressEncryption)),Array.isArray(c)){c=c.slice();for(let h=0,E=c.length;h{(0,n.unreachable)("Should not call `set` on the empty dictionary.")},(0,n.shadow)(this,"empty",j)}static merge(j){let{xref:M,dictArray:T,mergeSubDicts:c=!1}=j;const h=new f(M),E=new Map;for(const o of T)if(o instanceof f)for(const[l,b]of Object.entries(o._map)){let R=E.get(l);if(R===void 0)R=[],E.set(l,R);else if(!c||!(b instanceof f))continue;R.push(b)}for(const[o,l]of E){if(l.length===1||!(l[0]instanceof f)){h._map[o]=l[0];continue}const b=new f(M);for(const R of l)for(const[S,p]of Object.entries(R._map))b._map[S]===void 0&&(b._map[S]=p);b.size>0&&(h._map[o]=b)}return E.clear(),h.size>0?h:f.empty}clone(){const j=new f(this.xref);for(const M of this.getKeys())j.set(M,this.getRaw(M));return j}}d.Dict=f;class x{constructor(j,M){this.num=j,this.gen=M}toString(){return this.gen===0?`${this.num}R`:`${this.num}R${this.gen}`}static fromString(j){const M=s[j];if(M)return M;const T=/^(\d+)R(\d*)$/.exec(j);return!T||T[1]==="0"?null:s[j]=new x(parseInt(T[1]),T[2]?parseInt(T[2]):0)}static get(j,M){const T=M===0?`${j}R`:`${j}R${M}`;return s[T]||(s[T]=new x(j,M))}}d.Ref=x;class a{constructor(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._set=new Set(j==null?void 0:j._set)}has(j){return this._set.has(j.toString())}put(j){this._set.add(j.toString())}remove(j){this._set.delete(j.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}d.RefSet=a;class N{constructor(){this._map=new Map}get size(){return this._map.size}get(j){return this._map.get(j.toString())}has(j){return this._map.has(j.toString())}put(j,M){this._map.set(j.toString(),M)}putAlias(j,M){this._map.set(j.toString(),this.get(M))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}}d.RefSetCache=N;function v(W,j){return W instanceof U&&(j===void 0||W.name===j)}function P(W,j){return W instanceof C&&(j===void 0||W.cmd===j)}function F(W,j){return W instanceof f&&(j===void 0||v(W.get("Type"),j))}function B(W,j){return W.num===j.num&&W.gen===j.gen}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.BaseStream=void 0;var n=i(145);class u{constructor(){this.constructor===u&&(0,n.unreachable)("Cannot initialize BaseStream.")}get length(){(0,n.unreachable)("Abstract getter `length` accessed")}get isEmpty(){(0,n.unreachable)("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return(0,n.shadow)(this,"isDataLoaded",!0)}getByte(){(0,n.unreachable)("Abstract method `getByte` called")}getBytes(e){(0,n.unreachable)("Abstract method `getBytes` called")}peekByte(){const e=this.getByte();return e!==-1&&this.pos--,e}peekBytes(e){const t=this.getBytes(e);return this.pos-=t.length,t}getUint16(){const e=this.getByte(),t=this.getByte();return e===-1||t===-1?-1:(e<<8)+t}getInt32(){const e=this.getByte(),t=this.getByte(),s=this.getByte(),L=this.getByte();return(e<<24)+(t<<16)+(s<<8)+L}getByteRange(e,t){(0,n.unreachable)("Abstract method `getByteRange` called")}getString(e){return(0,n.bytesToString)(this.getBytes(e))}skip(e){this.pos+=e||1}reset(){(0,n.unreachable)("Abstract method `reset` called")}moveStart(){(0,n.unreachable)("Abstract method `moveStart` called")}makeSubStream(e,t){(0,n.unreachable)("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}d.BaseStream=u},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.NetworkPdfManager=d.LocalPdfManager=void 0;var n=i(145),u=i(154),g=i(150),e=i(156),t=i(155);function s(y){if(y){const f=(0,n.createValidAbsoluteUrl)(y);if(f)return f.href;(0,n.warn)(`Invalid absolute docBaseUrl: "${y}".`)}return null}class L{constructor(f){var x;this.constructor===L&&(0,n.unreachable)("Cannot initialize BasePdfManager."),this._docBaseUrl=s(f.docBaseUrl),this._docId=f.docId,this._password=f.password,this.enableXfa=f.enableXfa,(x=f.evaluatorOptions).isOffscreenCanvasSupported&&(x.isOffscreenCanvasSupported=n.FeatureTest.isOffscreenCanvasSupported),this.evaluatorOptions=f.evaluatorOptions}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){return this._docBaseUrl}get catalog(){return this.pdfDocument.catalog}ensureDoc(f,x){return this.ensure(this.pdfDocument,f,x)}ensureXRef(f,x){return this.ensure(this.pdfDocument.xref,f,x)}ensureCatalog(f,x){return this.ensure(this.pdfDocument.catalog,f,x)}getPage(f){return this.pdfDocument.getPage(f)}fontFallback(f,x){return this.pdfDocument.fontFallback(f,x)}loadXfaFonts(f,x){return this.pdfDocument.loadXfaFonts(f,x)}loadXfaImages(){return this.pdfDocument.loadXfaImages()}serializeXfaData(f){return this.pdfDocument.serializeXfaData(f)}cleanup(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.pdfDocument.cleanup(f)}async ensure(f,x,a){(0,n.unreachable)("Abstract method `ensure` called")}requestRange(f,x){(0,n.unreachable)("Abstract method `requestRange` called")}requestLoadedStream(){(0,n.unreachable)("Abstract method `requestLoadedStream` called")}sendProgressiveData(f){(0,n.unreachable)("Abstract method `sendProgressiveData` called")}updatePassword(f){this._password=f}terminate(f){(0,n.unreachable)("Abstract method `terminate` called")}}class U extends L{constructor(f){super(f);const x=new t.Stream(f.source);this.pdfDocument=new e.PDFDocument(this,x),this._loadedStreamPromise=Promise.resolve(x)}async ensure(f,x,a){const N=f[x];return typeof N=="function"?N.apply(f,a):N}requestRange(f,x){return Promise.resolve()}requestLoadedStream(){return this._loadedStreamPromise}terminate(f){}}d.LocalPdfManager=U;class C extends L{constructor(f){super(f),this.streamManager=new u.ChunkedStreamManager(f.source,{msgHandler:f.handler,length:f.length,disableAutoFetch:f.disableAutoFetch,rangeChunkSize:f.rangeChunkSize}),this.pdfDocument=new e.PDFDocument(this,this.streamManager.getStream())}async ensure(f,x,a){try{const N=f[x];return typeof N=="function"?N.apply(f,a):N}catch(N){if(!(N instanceof g.MissingDataException))throw N;return await this.requestRange(N.begin,N.end),this.ensure(f,x,a)}}requestRange(f,x){return this.streamManager.requestRange(f,x)}requestLoadedStream(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.streamManager.requestAllChunks(f)}sendProgressiveData(f){this.streamManager.onReceiveData({chunk:f})}terminate(f){this.streamManager.abort(f)}}d.NetworkPdfManager=C},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.ChunkedStreamManager=d.ChunkedStream=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(140),i(2);var n=i(150),u=i(145),g=i(155);class e extends g.Stream{constructor(L,U,C){super(new Uint8Array(L),0,L,null),this.chunkSize=U,this._loadedChunks=new Set,this.numChunks=Math.ceil(L/U),this.manager=C,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1}getMissingChunks(){const L=[];for(let U=0,C=this.numChunks;U=this.end?this.numChunks:Math.floor(U/this.chunkSize);for(let f=C;fthis.numChunks)&&U!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(U))throw new n.MissingDataException(L,L+1);this.lastSuccessfulEnsureByteChunk=U}}ensureRange(L,U){if(L>=U||U<=this.progressiveDataLength)return;const C=Math.floor(L/this.chunkSize);if(C>this.numChunks)return;const y=Math.min(Math.floor((U-1)/this.chunkSize)+1,this.numChunks);for(let f=C;f=this.end?-1:(L>=this.progressiveDataLength&&this.ensureByte(L),this.bytes[this.pos++])}getBytes(L){const U=this.bytes,C=this.pos,y=this.end;if(!L)return y>this.progressiveDataLength&&this.ensureRange(C,y),U.subarray(C,y);let f=C+L;return f>y&&(f=y),f>this.progressiveDataLength&&this.ensureRange(C,f),this.pos=f,U.subarray(C,f)}getByteRange(L,U){return L<0&&(L=0),U>this.end&&(U=this.end),U>this.progressiveDataLength&&this.ensureRange(L,U),this.bytes.subarray(L,U)}makeSubStream(L,U){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;U?L+U>this.progressiveDataLength&&this.ensureRange(L,L+U):L>=this.progressiveDataLength&&this.ensureByte(L);function y(){}y.prototype=Object.create(this),y.prototype.getMissingChunks=function(){const x=this.chunkSize,a=Math.floor(this.start/x),N=Math.floor((this.end-1)/x)+1,v=[];for(let P=a;P{const N=v=>{let{value:P,done:F}=v;try{if(F){const B=(0,n.arrayBuffersToBytes)(y);y=null,x(B);return}f+=P.byteLength,C.isStreamingSupported&&this.onProgress({loaded:f}),y.push(P),C.read().then(N,a)}catch(B){a(B)}};C.read().then(N,a)}).then(x=>{this.aborted||this.onReceiveData({chunk:x,begin:L})})}requestAllChunks(){if(!(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)){const U=this.stream.getMissingChunks();this._requestChunks(U)}return this._loadedStreamCapability.promise}_requestChunks(L){const U=this.currRequestId++,C=new Set;this._chunksNeededByRequest.set(U,C);for(const x of L)this.stream.hasChunk(x)||C.add(x);if(C.size===0)return Promise.resolve();const y=new u.PromiseCapability;this._promisesByRequest.set(U,y);const f=[];for(const x of C){let a=this._requestsByChunk.get(x);a||(a=[],this._requestsByChunk.set(x,a),f.push(x)),a.push(U)}if(f.length>0){const x=this.groupChunks(f);for(const a of x){const N=a.beginChunk*this.chunkSize,v=Math.min(a.endChunk*this.chunkSize,this.length);this.sendRequest(N,v).catch(y.reject)}}return y.promise.catch(x=>{if(!this.aborted)throw x})}getStream(){return this.stream}requestRange(L,U){U=Math.min(U,this.length);const C=this.getBeginChunk(L),y=this.getEndChunk(U),f=[];for(let x=C;x0&&arguments[0]!==void 0?arguments[0]:[];const U=[];for(const C of L){const y=this.getBeginChunk(C.begin),f=this.getEndChunk(C.end);for(let x=y;x=0&&y+1!==a&&(U.push({beginChunk:C,endChunk:y+1}),C=a),f+1===L.length&&U.push({beginChunk:C,endChunk:a+1}),y=a}return U}onProgress(L){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+L.loaded,total:this.length})}onReceiveData(L){const U=L.chunk,C=L.begin===void 0,y=C?this.progressiveDataLength:L.begin,f=y+U.byteLength,x=Math.floor(y/this.chunkSize),a=f0)&&N.push(F)}}}if(!this.disableAutoFetch&&this._requestsByChunk.size===0){let v;if(this.stream.numChunksLoaded===1){const P=this.stream.numChunks-1;this.stream.hasChunk(P)||(v=P)}else v=this.stream.nextEmptyChunk(a);Number.isInteger(v)&&this._requestChunks([v])}for(const v of N){const P=this._promisesByRequest.get(v);this._promisesByRequest.delete(v),P.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}onError(L){this._loadedStreamCapability.reject(L)}getBeginChunk(L){return Math.floor(L/this.chunkSize)}getEndChunk(L){return Math.floor((L-1)/this.chunkSize)+1}abort(L){var U;this.aborted=!0,(U=this.pdfNetworkStream)==null||U.cancelAllRequests(L);for(const C of this._promisesByRequest.values())C.reject(L)}}d.ChunkedStreamManager=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.StringStream=d.Stream=d.NullStream=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(152),u=i(145);class g extends n.BaseStream{constructor(L,U,C,y){super(),this.bytes=L instanceof Uint8Array?L:new Uint8Array(L),this.start=U||0,this.pos=this.start,this.end=U+C||this.bytes.length,this.dict=y}get length(){return this.end-this.start}get isEmpty(){return this.length===0}getByte(){return this.pos>=this.end?-1:this.bytes[this.pos++]}getBytes(L){const U=this.bytes,C=this.pos,y=this.end;if(!L)return U.subarray(C,y);let f=C+L;return f>y&&(f=y),this.pos=f,U.subarray(C,f)}getByteRange(L,U){return L<0&&(L=0),U>this.end&&(U=this.end),this.bytes.subarray(L,U)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(L,U){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return new g(this.bytes.buffer,L,U,C)}}d.Stream=g;class e extends g{constructor(L){super((0,u.stringToBytes)(L))}}d.StringStream=e;class t extends g{constructor(){super(new Uint8Array(0))}}d.NullStream=t},(he,d,i)=>{var p,Bn,$,$n;Object.defineProperty(d,"__esModule",{value:!0}),d.Page=d.PDFDocument=void 0,i(2),i(140),i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(145),u=i(157),g=i(150),e=i(151),t=i(202),s=i(152),L=i(225),U=i(217),C=i(219),y=i(256),f=i(167),x=i(155),a=i(227),N=i(215),v=i(164),P=i(169),F=i(223),B=i(224),W=i(228),j=i(257);const M=1,T=[0,0,612,792];class c{constructor(w){vt(this,p);let{pdfManager:m,xref:I,pageIndex:H,pageDict:Y,ref:Q,globalIdFactory:oe,fontCache:ne,builtInCMapCache:ce,standardFontDataCache:J,globalImageCache:_,systemFontCache:k,nonBlendModesSet:O,xfaFactory:V}=w;this.pdfManager=m,this.pageIndex=H,this.pageDict=Y,this.xref=I,this.ref=Q,this.fontCache=ne,this.builtInCMapCache=ce,this.standardFontDataCache=J,this.globalImageCache=_,this.systemFontCache=k,this.nonBlendModesSet=O,this.evaluatorOptions=m.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=V;const K={obj:0};this._localIdFactory=class extends oe{static createObjId(){return`p${H}_${++K.obj}`}static getPageObjId(){return`p${Q.toString()}`}}}_getInheritableProperty(w){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const I=(0,g.getInheritableProperty)({dict:this.pageDict,key:w,getArray:m,stopWhenFound:!1});return Array.isArray(I)?I.length===1||!(I[0]instanceof e.Dict)?I[0]:e.Dict.merge({xref:this.xref,dictArray:I}):I}get content(){return this.pageDict.getArray("Contents")}get resources(){const w=this._getInheritableProperty("Resources");return(0,n.shadow)(this,"resources",w instanceof e.Dict?w:e.Dict.empty)}_getBoundingBox(w){if(this.xfaData)return this.xfaData.bbox;let m=this._getInheritableProperty(w,!0);if(Array.isArray(m)&&m.length===4){if(m=n.Util.normalizeRect(m),m[2]-m[0]>0&&m[3]-m[1]>0)return m;(0,n.warn)(`Empty, or invalid, /${w} entry.`)}return null}get mediaBox(){return(0,n.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||T)}get cropBox(){return(0,n.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}get userUnit(){let w=this.pageDict.get("UserUnit");return(typeof w!="number"||w<=0)&&(w=M),(0,n.shadow)(this,"userUnit",w)}get view(){const{cropBox:w,mediaBox:m}=this;if(w!==m&&!(0,n.isArrayEqual)(w,m)){const I=n.Util.intersect(w,m);if(I&&I[2]-I[0]>0&&I[3]-I[1]>0)return(0,n.shadow)(this,"view",I);(0,n.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,n.shadow)(this,"view",m)}get rotate(){let w=this._getInheritableProperty("Rotate")||0;return w%90!==0?w=0:w>=360?w%=360:w<0&&(w=(w%360+360)%360),(0,n.shadow)(this,"rotate",w)}_onSubStreamError(w,m){if(this.evaluatorOptions.ignoreErrors){(0,n.warn)(`getContentStream - ignoring sub-stream (${m}): "${w}".`);return}throw w}getContentStream(){return this.pdfManager.ensure(this,"content").then(w=>w instanceof s.BaseStream?w:Array.isArray(w)?new P.StreamsSequenceStream(w,this._onSubStreamError.bind(this)):new x.NullStream)}get xfaData(){return(0,n.shadow)(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async saveNewAnnotations(w,m,I,H){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");const Y=new v.PartialEvaluator({xref:this.xref,handler:w,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),Q=new e.RefSet,oe=new e.RefSet;ct(this,p,Bn).call(this,I,Q,oe);const ne=this.pageDict,ce=this.annotations.filter(V=>!(V instanceof e.Ref&&Q.has(V))),J=await u.AnnotationFactory.saveNewAnnotations(Y,m,I,H);for(const{ref:V}of J.annotations)V instanceof e.Ref&&!oe.has(V)&&ce.push(V);const _=ne.get("Annots");ne.set("Annots",ce);const k=[];await(0,B.writeObject)(this.ref,ne,k,this.xref),_&&ne.set("Annots",_);const O=J.dependencies;return O.push({ref:this.ref,data:k.join("")},...J.annotations),O}save(w,m,I){const H=new v.PartialEvaluator({xref:this.xref,handler:w,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions});return this._parsedAnnotations.then(function(Y){const Q=[];for(const oe of Y)oe.mustBePrinted(I)&&Q.push(oe.save(H,m,I).catch(function(ne){return(0,n.warn)(`save - ignoring annotation data during "${m.name}" task: "${ne}".`),null}));return Promise.all(Q).then(function(oe){return oe.filter(ne=>!!ne)})})}loadResources(w){return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then(()=>new a.ObjectLoader(this.resources,w,this.xref).load())}getOperatorList(w){let{handler:m,sink:I,task:H,intent:Y,cacheKey:Q,annotationStorage:oe=null}=w;const ne=this.getContentStream(),ce=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),J=new v.PartialEvaluator({xref:this.xref,handler:m,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),_=this.xfaFactory?null:(0,g.getNewAnnotationsMap)(oe);let k=null,O=Promise.resolve(null);if(_){const te=_.get(this.pageIndex);if(te){const re=this.pdfManager.ensureDoc("annotationGlobals");let ie;const Z=new Set;for(const{bitmapId:q,bitmap:z}of te)q&&!z&&!Z.has(q)&&Z.add(q);const{isOffscreenCanvasSupported:ee}=this.evaluatorOptions;if(Z.size>0){const q=te.slice();for(const[z,ae]of oe)z.startsWith(n.AnnotationEditorPrefix)&&ae.bitmap&&Z.has(ae.bitmapId)&&q.push(ae);ie=u.AnnotationFactory.generateImages(q,this.xref,ee)}else ie=u.AnnotationFactory.generateImages(te,this.xref,ee);k=new e.RefSet,ct(this,p,Bn).call(this,te,k,null),O=re.then(q=>q?u.AnnotationFactory.printNewAnnotations(q,J,H,te,ie):null)}}const K=Promise.all([ne,ce]).then(te=>{let[re]=te;const ie=new N.OperatorList(Y,I);return m.send("StartRenderPage",{transparency:J.hasBlendModes(this.resources,this.nonBlendModesSet),pageIndex:this.pageIndex,cacheKey:Q}),J.getOperatorList({stream:re,task:H,resources:this.resources,operatorList:ie}).then(function(){return ie})});return Promise.all([K,this._parsedAnnotations,O]).then(function(te){let[re,ie,Z]=te;if(Z){ie=ie.filter(le=>!(le.ref&&k.has(le.ref)));for(let le=0,ue=Z.length;leme.ref&&(0,e.isRefsEqual)(me.ref,fe.refToReplace));ge>=0&&(ie.splice(ge,1,fe),Z.splice(le--,1),ue--)}}ie=ie.concat(Z)}if(ie.length===0||Y&n.RenderingIntentFlag.ANNOTATIONS_DISABLE)return re.flush(!0),{length:re.totalLength};const ee=!!(Y&n.RenderingIntentFlag.ANNOTATIONS_FORMS),q=!!(Y&n.RenderingIntentFlag.ANY),z=!!(Y&n.RenderingIntentFlag.DISPLAY),ae=!!(Y&n.RenderingIntentFlag.PRINT),se=[];for(const le of ie)(q||z&&le.mustBeViewed(oe,ee)||ae&&le.mustBePrinted(oe))&&se.push(le.getOperatorList(J,H,Y,ee,oe).catch(function(ue){return(0,n.warn)(`getOperatorList - ignoring annotation data during "${H.name}" task: "${ue}".`),{opList:null,separateForm:!1,separateCanvas:!1}}));return Promise.all(se).then(function(le){let ue=!1,fe=!1;for(const{opList:ge,separateForm:me,separateCanvas:be}of le)re.addOpList(ge),ue||(ue=me),fe||(fe=be);return re.flush(!0,{form:ue,canvas:fe}),{length:re.totalLength}})})}extractTextContent(w){let{handler:m,task:I,includeMarkedContent:H,disableNormalization:Y,sink:Q}=w;const oe=this.getContentStream(),ne=this.loadResources(["ExtGState","Font","Properties","XObject"]);return Promise.all([oe,ne]).then(J=>{let[_]=J;return new v.PartialEvaluator({xref:this.xref,handler:m,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}).getTextContent({stream:_,task:I,resources:this.resources,includeMarkedContent:H,disableNormalization:Y,sink:Q,viewBox:this.view})})}async getStructTree(){const w=await this.pdfManager.ensureCatalog("structTreeRoot");return w?(await this._parsedAnnotations,(await this.pdfManager.ensure(this,"_parseStructTree",[w])).serializable):null}_parseStructTree(w){const m=new F.StructTreePage(w,this.pageDict);return m.parse(this.ref),m}async getAnnotationsData(w,m,I){const H=await this._parsedAnnotations;if(H.length===0)return H;const Y=[],Q=[];let oe;const ne=!!(I&n.RenderingIntentFlag.ANY),ce=!!(I&n.RenderingIntentFlag.DISPLAY),J=!!(I&n.RenderingIntentFlag.PRINT);for(const _ of H){const k=ne||ce&&_.viewable;(k||J&&_.printable)&&Y.push(_.data),_.hasTextContent&&k&&(oe||(oe=new v.PartialEvaluator({xref:this.xref,handler:w,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions})),Q.push(_.extractTextContent(oe,m,[-1/0,-1/0,1/0,1/0]).catch(function(O){(0,n.warn)(`getAnnotationsData - ignoring textContent during "${m.name}" task: "${O}".`)})))}return await Promise.all(Q),Y}get annotations(){const w=this._getInheritableProperty("Annots");return(0,n.shadow)(this,"annotations",Array.isArray(w)?w:[])}get _parsedAnnotations(){const w=this.pdfManager.ensure(this,"annotations").then(async m=>{if(m.length===0)return m;const I=await this.pdfManager.ensureDoc("annotationGlobals");if(!I)return[];const H=[];for(const oe of m)H.push(u.AnnotationFactory.create(this.xref,oe,I,this._localIdFactory,!1,this.ref).catch(function(ne){return(0,n.warn)(`_parsedAnnotations: "${ne}".`),null}));const Y=[];let Q;for(const oe of await Promise.all(H))if(oe){if(oe instanceof u.PopupAnnotation){(Q||(Q=[])).push(oe);continue}Y.push(oe)}return Q&&Y.push(...Q),Y});return(0,n.shadow)(this,"_parsedAnnotations",w)}get jsActions(){const w=(0,g.collectActions)(this.xref,this.pageDict,n.PageActionEventType);return(0,n.shadow)(this,"jsActions",w)}}p=new WeakSet,Bn=function(w,m,I){for(const H of w)if(H.id){const Y=e.Ref.fromString(H.id);if(!Y){(0,n.warn)(`A non-linked annotation cannot be modified: ${H.id}`);continue}if(H.deleted){m.put(Y);continue}I==null||I.put(Y),H.ref=Y,delete H.id}},d.Page=c;const h=new Uint8Array([37,80,68,70,45]),E=new Uint8Array([115,116,97,114,116,120,114,101,102]),o=new Uint8Array([101,110,100,111,98,106]),l=1024,b="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";function R(D,w){let m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1024,I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const H=w.length,Y=D.peekBytes(m),Q=Y.length-H;if(Q<=0)return!1;if(I){const oe=H-1;let ne=Y.length-1;for(;ne>=oe;){let ce=0;for(;ce=H)return D.pos+=ne-oe,!0;ne--}}else{let oe=0;for(;oe<=Q;){let ne=0;for(;ne=H)return D.pos+=oe,!0;oe++}}return!1}class S{constructor(w,m){vt(this,$);if(m.length<=0)throw new n.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=w,this.stream=m,this.xref=new j.XRef(m,w),this._pagePromises=new Map,this._version=null;const I={font:0};this._globalIdFactory=class{static getDocId(){return`g_${w.docId}`}static createFontId(){return`f${++I.font}`}static createObjId(){(0,n.unreachable)("Abstract method `createObjId` called.")}static getPageObjId(){(0,n.unreachable)("Abstract method `getPageObjId` called.")}}}parse(w){this.xref.parse(w),this.catalog=new U.Catalog(this.pdfManager,this.xref)}get linearization(){let w=null;try{w=f.Linearization.create(this.stream)}catch(m){if(m instanceof g.MissingDataException)throw m;(0,n.info)(m)}return(0,n.shadow)(this,"linearization",w)}get startXRef(){const w=this.stream;let m=0;if(this.linearization)w.reset(),R(w,o)&&(m=w.pos+6-w.start);else{const H=E.length;let Y=!1,Q=w.end;for(;!Y&&Q>0;)Q-=1024-H,Q<0&&(Q=0),w.pos=Q,Y=R(w,E,1024,!0);if(Y){w.skip(9);let oe;do oe=w.getByte();while((0,g.isWhiteSpace)(oe));let ne="";for(;oe>=32&&oe<=57;)ne+=String.fromCharCode(oe),oe=w.getByte();m=parseInt(ne,10),isNaN(m)&&(m=0)}}return(0,n.shadow)(this,"startXRef",m)}checkHeader(){const w=this.stream;if(w.reset(),!R(w,h))return;w.moveStart(),w.skip(h.length);let m="",I;for(;(I=w.getByte())>32&&m.length<7;)m+=String.fromCharCode(I);g.PDF_VERSION_REGEXP.test(m)?this._version=m:(0,n.warn)(`Invalid PDF header version: ${m}`)}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){let w=0;return this.catalog.hasActualNumPages?w=this.catalog.numPages:this.xfaFactory?w=this.xfaFactory.getNumPages():this.linearization?w=this.linearization.numPages:w=this.catalog.numPages,(0,n.shadow)(this,"numPages",w)}_hasOnlyDocumentSignatures(w){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const I=10;return Array.isArray(w)?w.every(H=>{if(H=this.xref.fetchIfRef(H),!(H instanceof e.Dict))return!1;if(H.has("Kids"))return++m>I?((0,n.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):this._hasOnlyDocumentSignatures(H.get("Kids"),m);const Y=(0,e.isName)(H.get("FT"),"Sig"),Q=H.get("Rect"),oe=Array.isArray(Q)&&Q.every(ne=>ne===0);return Y&&oe}):!1}get _xfaStreams(){const w=this.catalog.acroForm;if(!w)return null;const m=w.get("XFA"),I={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(m instanceof s.BaseStream&&!m.isEmpty)return I["xdp:xdp"]=m,I;if(!Array.isArray(m)||m.length===0)return null;for(let H=0,Y=m.length;H{k.set(te,re)});const O=[];for(const[te,re]of k){const ie=re.get("FontDescriptor");if(!(ie instanceof e.Dict))continue;let Z=ie.get("FontFamily");Z=Z.replaceAll(/[ ]+(\d)/g,"$1");const ee=ie.get("FontWeight"),q=-ie.get("ItalicAngle"),z={fontFamily:Z,fontWeight:ee,italicAngle:q};(0,g.validateCSSFont)(z)&&O.push(ne.handleSetFont(H,[e.Name.get(te),1],null,ce,m,_,null,z).catch(function(ae){return(0,n.warn)(`loadXfaFonts: "${ae}".`),null}))}await Promise.all(O);const V=this.xfaFactory.setFonts(J);if(!V)return;oe.ignoreErrors=!0,O.length=0,J.length=0;const K=new Set;for(const te of V)(0,t.getXfaFontName)(`${te}-Regular`)||K.add(te);K.size&&V.push("PdfJS-Fallback");for(const te of V)if(!K.has(te))for(const re of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const ie=`${te}-${re.name}`,Z=(0,t.getXfaFontDict)(ie);O.push(ne.handleSetFont(H,[e.Name.get(ie),1],null,ce,m,_,Z,{fontFamily:te,fontWeight:re.fontWeight,italicAngle:re.italicAngle}).catch(function(ee){return(0,n.warn)(`loadXfaFonts: "${ee}".`),null}))}await Promise.all(O),this.xfaFactory.appendFonts(J,K)}async serializeXfaData(w){return this.xfaFactory?this.xfaFactory.serializeData(w):null}get version(){return this.catalog.version||this._version}get formInfo(){const w={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},m=this.catalog.acroForm;if(!m)return(0,n.shadow)(this,"formInfo",w);try{const I=m.get("Fields"),H=Array.isArray(I)&&I.length>0;w.hasFields=H;const Y=m.get("XFA");w.hasXfa=Array.isArray(Y)&&Y.length>0||Y instanceof s.BaseStream&&!Y.isEmpty;const oe=!!(m.get("SigFlags")&1),ne=oe&&this._hasOnlyDocumentSignatures(I);w.hasAcroForm=H&&!ne,w.hasSignatures=oe}catch(I){if(I instanceof g.MissingDataException)throw I;(0,n.warn)(`Cannot fetch form information: "${I}".`)}return(0,n.shadow)(this,"formInfo",w)}get documentInfo(){const w={PDFFormatVersion:this.version,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};let m;try{m=this.xref.trailer.get("Info")}catch(I){if(I instanceof g.MissingDataException)throw I;(0,n.info)("The document information dictionary is invalid.")}if(!(m instanceof e.Dict))return(0,n.shadow)(this,"documentInfo",w);for(const I of m.getKeys()){const H=m.get(I);switch(I){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if(typeof H=="string"){w[I]=(0,n.stringToPDFString)(H);continue}break;case"Trapped":if(H instanceof e.Name){w[I]=H;continue}break;default:let Y;switch(typeof H){case"string":Y=(0,n.stringToPDFString)(H);break;case"number":case"boolean":Y=H;break;default:H instanceof e.Name&&(Y=H);break}if(Y===void 0){(0,n.warn)(`Bad value, for custom key "${I}", in Info: ${H}.`);continue}w.Custom||(w.Custom=Object.create(null)),w.Custom[I]=Y;continue}(0,n.warn)(`Bad value, for key "${I}", in Info: ${H}.`)}return(0,n.shadow)(this,"documentInfo",w)}get fingerprints(){function w(Q){return typeof Q=="string"&&Q.length>0&&Q!==b}function m(Q){const oe=[];for(const ne of Q){const ce=ne.toString(16);oe.push(ce.padStart(2,"0"))}return oe.join("")}const I=this.xref.trailer.get("ID");let H,Y;return Array.isArray(I)&&w(I[0])?(H=(0,n.stringToBytes)(I[0]),I[1]!==I[0]&&w(I[1])&&(Y=(0,n.stringToBytes)(I[1]))):H=(0,L.calculateMD5)(this.stream.getByteRange(0,l),0,l),(0,n.shadow)(this,"fingerprints",[m(H),Y?m(Y):null])}async _getLinearizationPage(w){const{catalog:m,linearization:I,xref:H}=this,Y=e.Ref.get(I.objectNumberFirst,0);try{const Q=await H.fetchAsync(Y);if(Q instanceof e.Dict){let oe=Q.getRaw("Type");if(oe instanceof e.Ref&&(oe=await H.fetchAsync(oe)),(0,e.isName)(oe,"Page")||!Q.has("Type")&&!Q.has("Kids"))return m.pageKidsCountCache.has(Y)||m.pageKidsCountCache.put(Y,1),m.pageIndexCache.has(Y)||m.pageIndexCache.put(Y,0),[Q,Y]}throw new n.FormatError("The Linearization dictionary doesn't point to a valid Page dictionary.")}catch(Q){return(0,n.warn)(`_getLinearizationPage: "${Q.message}".`),m.getPageDict(w)}}getPage(w){const m=this._pagePromises.get(w);if(m)return m;const{catalog:I,linearization:H,xfaFactory:Y}=this;let Q;return Y?Q=Promise.resolve([e.Dict.empty,null]):(H==null?void 0:H.pageFirst)===w?Q=this._getLinearizationPage(w):Q=I.getPageDict(w),Q=Q.then(oe=>{let[ne,ce]=oe;return new c({pdfManager:this.pdfManager,xref:this.xref,pageIndex:w,pageDict:ne,ref:ce,globalIdFactory:this._globalIdFactory,fontCache:I.fontCache,builtInCMapCache:I.builtInCMapCache,standardFontDataCache:I.standardFontDataCache,globalImageCache:I.globalImageCache,systemFontCache:I.systemFontCache,nonBlendModesSet:I.nonBlendModesSet,xfaFactory:Y})}),this._pagePromises.set(w,Q),Q}async checkFirstPage(){if(!(arguments.length>0&&arguments[0]!==void 0&&arguments[0]))try{await this.getPage(0)}catch(m){if(m instanceof g.XRefEntryException)throw this._pagePromises.delete(0),await this.cleanup(),new g.XRefParseException}}async checkLastPage(){let w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const{catalog:m,pdfManager:I}=this;m.setActualNumPages();let H;try{if(await Promise.all([I.ensureDoc("xfaFactory"),I.ensureDoc("linearization"),I.ensureCatalog("numPages")]),this.xfaFactory)return;if(this.linearization?H=this.linearization.numPages:H=m.numPages,Number.isInteger(H)){if(H<=1)return}else throw new n.FormatError("Page count is not an integer.");await this.getPage(H-1)}catch(Y){if(this._pagePromises.delete(H-1),await this.cleanup(),Y instanceof g.XRefEntryException&&!w)throw new g.XRefParseException;(0,n.warn)(`checkLastPage - invalid /Pages tree /Count: ${H}.`);let Q;try{Q=await m.getAllPageDicts(w)}catch(oe){if(oe instanceof g.XRefEntryException&&!w)throw new g.XRefParseException;m.setActualNumPages(1);return}for(const[oe,[ne,ce]]of Q){let J;ne instanceof Error?(J=Promise.reject(ne),J.catch(()=>{})):J=Promise.resolve(new c({pdfManager:I,xref:this.xref,pageIndex:oe,pageDict:ne,ref:ce,globalIdFactory:this._globalIdFactory,fontCache:m.fontCache,builtInCMapCache:m.builtInCMapCache,standardFontDataCache:m.standardFontDataCache,globalImageCache:m.globalImageCache,systemFontCache:m.systemFontCache,nonBlendModesSet:m.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(oe,J)}m.setActualNumPages(Q.size)}}fontFallback(w,m){return this.catalog.fontFallback(w,m)}async cleanup(){let w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.catalog?this.catalog.cleanup(w):(0,C.clearGlobalCaches)()}get fieldObjects(){if(!this.formInfo.hasFields)return(0,n.shadow)(this,"fieldObjects",Promise.resolve(null));const w=this.pdfManager.ensureDoc("annotationGlobals").then(async m=>{if(!m)return null;const I=Object.create(null),H=new Map;for(const Q of this.catalog.acroForm.get("Fields"))ct(this,$,$n).call(this,"",Q,H,m);const Y=[];for(const[Q,oe]of H)Y.push(Promise.all(oe).then(ne=>{ne=ne.filter(ce=>!!ce),ne.length>0&&(I[Q]=ne)}));return await Promise.all(Y),I});return(0,n.shadow)(this,"fieldObjects",w)}get hasJSActions(){const w=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,n.shadow)(this,"hasJSActions",w)}async _parseHasJSActions(){const[w,m]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return w?!0:m?Object.values(m).some(I=>I.some(H=>H.actions!==null)):!1}get calculationOrderIds(){const w=this.catalog.acroForm;if(!(w!=null&&w.has("CO")))return(0,n.shadow)(this,"calculationOrderIds",null);const m=w.get("CO");if(!Array.isArray(m)||m.length===0)return(0,n.shadow)(this,"calculationOrderIds",null);const I=[];for(const H of m)H instanceof e.Ref&&I.push(H.toString());return I.length===0?(0,n.shadow)(this,"calculationOrderIds",null):(0,n.shadow)(this,"calculationOrderIds",I)}get annotationGlobals(){return(0,n.shadow)(this,"annotationGlobals",u.AnnotationFactory.createGlobals(this.pdfManager))}}$=new WeakSet,$n=function(w,m,I,H){const Y=this.xref.fetchIfRef(m);if(Y.has("T")){const Q=(0,n.stringToPDFString)(Y.get("T"));w=w===""?Q:`${w}.${Q}`}if(I.has(w)||I.set(w,[]),I.get(w).push(u.AnnotationFactory.create(this.xref,m,H,this._localIdFactory,!0,null).then(Q=>Q==null?void 0:Q.getFieldObject()).catch(function(Q){return(0,n.warn)(`#collectFieldObjects: "${Q}".`),null})),Y.has("Kids"))for(const Q of Y.get("Kids"))ct(this,$,$n).call(this,w,Q,I,H)},d.PDFDocument=S},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.PopupAnnotation=d.MarkupAnnotation=d.AnnotationFactory=d.AnnotationBorderStyle=d.Annotation=void 0,d.getQuadPoints=W,i(140),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(158),i(160);var n=i(145),u=i(150),g=i(162),e=i(151),t=i(155),s=i(152),L=i(211),U=i(217),C=i(163),y=i(220),f=i(177),x=i(227),a=i(215),N=i(224),v=i(228);class P{static createGlobals(k){return Promise.all([k.ensureCatalog("acroForm"),k.ensureDoc("xfaDatasets"),k.ensureCatalog("structTreeRoot"),k.ensureCatalog("baseUrl"),k.ensureCatalog("attachments")]).then(O=>{let[V,K,te,re,ie]=O;return{pdfManager:k,acroForm:V instanceof e.Dict?V:e.Dict.empty,xfaDatasets:K,structTreeRoot:te,baseUrl:re,attachments:ie}},O=>((0,n.warn)(`createGlobals: "${O}".`),null))}static async create(k,O,V,K,te,re){const ie=te?await this._getPageIndex(k,O,V.pdfManager):null;return V.pdfManager.ensure(this,"_create",[k,O,V,K,te,ie,re])}static _create(k,O,V,K){let te=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,re=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,ie=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null;const Z=k.fetchIfRef(O);if(!(Z instanceof e.Dict))return;const{acroForm:ee,pdfManager:q}=V,z=O instanceof e.Ref?O.toString():`annot_${K.createObjId()}`;let ae=Z.get("Subtype");ae=ae instanceof e.Name?ae.name:null;const se={xref:k,ref:O,dict:Z,subtype:ae,id:z,annotationGlobals:V,collectFields:te,needAppearances:!te&&ee.get("NeedAppearances")===!0,pageIndex:re,evaluatorOptions:q.evaluatorOptions,pageRef:ie};switch(ae){case"Link":return new S(se);case"Text":return new R(se);case"Widget":let le=(0,u.getInheritableProperty)({dict:Z,key:"FT"});switch(le=le instanceof e.Name?le.name:null,le){case"Tx":return new E(se);case"Btn":return new o(se);case"Ch":return new l(se);case"Sig":return new b(se)}return(0,n.warn)(`Unimplemented widget field type "${le}", falling back to base field type.`),new h(se);case"Popup":return new p(se);case"FreeText":return new G(se);case"Line":return new $(se);case"Square":return new A(se);case"Circle":return new D(se);case"PolyLine":return new w(se);case"Polygon":return new m(se);case"Caret":return new I(se);case"Ink":return new H(se);case"Highlight":return new Y(se);case"Underline":return new Q(se);case"Squiggly":return new oe(se);case"StrikeOut":return new ne(se);case"Stamp":return new ce(se);case"FileAttachment":return new J(se);default:return te||(ae?(0,n.warn)(`Unimplemented annotation type "${ae}", falling back to base annotation.`):(0,n.warn)("Annotation is missing the required /Subtype.")),new M(se)}}static async _getPageIndex(k,O,V){try{const K=await k.fetchIfRefAsync(O);if(!(K instanceof e.Dict))return-1;const te=K.getRaw("P");if(te instanceof e.Ref)try{return await V.ensureCatalog("getPageIndex",[te])}catch(ie){(0,n.info)(`_getPageIndex -- not a valid page reference: "${ie}".`)}if(K.has("Kids"))return-1;const re=await V.ensureDoc("numPages");for(let ie=0;ie1&&arguments[1]!==void 0?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(_))return k;const O=k||new Uint8ClampedArray(3);switch(_.length){case 0:return null;case 1:return C.ColorSpace.singletons.gray.getRgbItem(_,0,O,0),O;case 3:return C.ColorSpace.singletons.rgb.getRgbItem(_,0,O,0),O;case 4:return C.ColorSpace.singletons.cmyk.getRgbItem(_,0,O,0),O;default:return k}}function B(_){return Array.from(_,k=>k/255)}function W(_,k){const O=_.getArray("QuadPoints");if(!Array.isArray(O)||O.length===0||O.length%8>0)return null;const V=[];for(let K=0,te=O.length/8;Kk[2]||Zk[3]))return null;V.push([{x:re,y:ee},{x:ie,y:ee},{x:re,y:Z},{x:ie,y:Z}])}return V}function j(_,k,O){const[V,K,te,re]=n.Util.getAxialAlignedBoundingBox(k,O);if(V===te||K===re)return[1,0,0,1,_[0],_[1]];const ie=(_[2]-_[0])/(te-V),Z=(_[3]-_[1])/(re-K);return[ie,0,0,Z,_[0]-V*ie,_[1]-K*Z]}class M{constructor(k){const{dict:O,xref:V,annotationGlobals:K}=k;this.setTitle(O.get("T")),this.setContents(O.get("Contents")),this.setModificationDate(O.get("M")),this.setFlags(O.get("F")),this.setRectangle(O.getArray("Rect")),this.setColor(O.getArray("C")),this.setBorderStyle(O),this.setAppearance(O),this.setOptionalContent(O);const te=O.get("MK");this.setBorderAndBackgroundColors(te),this.setRotation(te,O),this.ref=k.ref instanceof e.Ref?k.ref:null,this._streams=[],this.appearance&&this._streams.push(this.appearance);const re=!!(this.flags&n.AnnotationFlag.LOCKED),ie=!!(this.flags&n.AnnotationFlag.LOCKEDCONTENTS);if(K.structTreeRoot){let Z=O.get("StructParent");Z=Number.isInteger(Z)&&Z>=0?Z:-1,K.structTreeRoot.addAnnotationIdToPage(k.pageRef,Z)}if(this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:k.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:k.subtype,hasOwnCanvas:!1,noRotate:!!(this.flags&n.AnnotationFlag.NOROTATE),noHTML:re&&ie},k.collectFields){const Z=O.get("Kids");if(Array.isArray(Z)){const ee=[];for(const q of Z)q instanceof e.Ref&&ee.push(q.toString());ee.length!==0&&(this.data.kidIds=ee)}this.data.actions=(0,u.collectActions)(V,O,n.AnnotationActionEventType),this.data.fieldName=this._constructFieldName(O),this.data.pageIndex=k.pageIndex}this._isOffscreenCanvasSupported=k.evaluatorOptions.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}_hasFlag(k,O){return!!(k&O)}_isViewable(k){return!this._hasFlag(k,n.AnnotationFlag.INVISIBLE)&&!this._hasFlag(k,n.AnnotationFlag.NOVIEW)}_isPrintable(k){return this._hasFlag(k,n.AnnotationFlag.PRINT)&&!this._hasFlag(k,n.AnnotationFlag.HIDDEN)&&!this._hasFlag(k,n.AnnotationFlag.INVISIBLE)}mustBeViewed(k,O){var K;const V=(K=k==null?void 0:k.get(this.data.id))==null?void 0:K.noView;return V!==void 0?!V:this.viewable&&!this._hasFlag(this.flags,n.AnnotationFlag.HIDDEN)}mustBePrinted(k){var V;const O=(V=k==null?void 0:k.get(this.data.id))==null?void 0:V.noPrint;return O!==void 0?!O:this.printable}get viewable(){return this.data.quadPoints===null?!1:this.flags===0?!0:this._isViewable(this.flags)}get printable(){return this.data.quadPoints===null||this.flags===0?!1:this._isPrintable(this.flags)}_parseStringHelper(k){const O=typeof k=="string"?(0,n.stringToPDFString)(k):"",V=O&&(0,L.bidi)(O).dir==="rtl"?"rtl":"ltr";return{str:O,dir:V}}setDefaultAppearance(k){const{dict:O,annotationGlobals:V}=k,K=(0,u.getInheritableProperty)({dict:O,key:"DA"})||V.acroForm.get("DA");this._defaultAppearance=typeof K=="string"?K:"",this.data.defaultAppearanceData=(0,g.parseDefaultAppearance)(this._defaultAppearance)}setTitle(k){this._title=this._parseStringHelper(k)}setContents(k){this._contents=this._parseStringHelper(k)}setModificationDate(k){this.modificationDate=typeof k=="string"?k:null}setFlags(k){this.flags=Number.isInteger(k)&&k>0?k:0}hasFlag(k){return this._hasFlag(this.flags,k)}setRectangle(k){this.rectangle=Array.isArray(k)&&k.length===4?n.Util.normalizeRect(k):[0,0,0,0]}setColor(k){this.color=F(k)}setLineEndings(k){if(this.lineEndings=["None","None"],Array.isArray(k)&&k.length===2)for(let O=0;O<2;O++){const V=k[O];if(V instanceof e.Name)switch(V.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[O]=V.name;continue}(0,n.warn)(`Ignoring invalid lineEnding: ${V}`)}}setRotation(k,O){this.rotation=0;let V=k instanceof e.Dict?k.get("R")||0:O.get("Rotate")||0;Number.isInteger(V)&&V!==0&&(V%=360,V<0&&(V+=360),V%90===0&&(this.rotation=V))}setBorderAndBackgroundColors(k){k instanceof e.Dict?(this.borderColor=F(k.getArray("BC"),null),this.backgroundColor=F(k.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}setBorderStyle(k){if(this.borderStyle=new T,k instanceof e.Dict)if(k.has("BS")){const O=k.get("BS"),V=O.get("Type");(!V||(0,e.isName)(V,"Border"))&&(this.borderStyle.setWidth(O.get("W"),this.rectangle),this.borderStyle.setStyle(O.get("S")),this.borderStyle.setDashArray(O.getArray("D")))}else if(k.has("Border")){const O=k.getArray("Border");Array.isArray(O)&&O.length>=3&&(this.borderStyle.setHorizontalCornerRadius(O[0]),this.borderStyle.setVerticalCornerRadius(O[1]),this.borderStyle.setWidth(O[2],this.rectangle),O.length===4&&this.borderStyle.setDashArray(O[3],!0))}else this.borderStyle.setWidth(0)}setAppearance(k){this.appearance=null;const O=k.get("AP");if(!(O instanceof e.Dict))return;const V=O.get("N");if(V instanceof s.BaseStream){this.appearance=V;return}if(!(V instanceof e.Dict))return;const K=k.get("AS");if(!(K instanceof e.Name)||!V.has(K.name))return;const te=V.get(K.name);te instanceof s.BaseStream&&(this.appearance=te)}setOptionalContent(k){this.oc=null;const O=k.get("OC");O instanceof e.Name?(0,n.warn)("setOptionalContent: Support for /Name-entry is not implemented."):O instanceof e.Dict&&(this.oc=O)}loadResources(k,O){return O.dict.getAsync("Resources").then(V=>V?new x.ObjectLoader(V,k,V.xref).load().then(function(){return V}):void 0)}async getOperatorList(k,O,V,K,te){const re=this.data;let ie=this.appearance;const Z=!!(this.data.hasOwnCanvas&&V&n.RenderingIntentFlag.DISPLAY);if(!ie){if(!Z)return{opList:new a.OperatorList,separateForm:!1,separateCanvas:!1};ie=new t.StringStream(""),ie.dict=new e.Dict}const ee=ie.dict,q=await this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],ie),z=ee.getArray("BBox")||[0,0,1,1],ae=ee.getArray("Matrix")||[1,0,0,1,0,0],se=j(re.rect,z,ae),le=new a.OperatorList;let ue;return this.oc&&(ue=await k.parseMarkedContentProps(this.oc,null)),ue!==void 0&&le.addOp(n.OPS.beginMarkedContentProps,["OC",ue]),le.addOp(n.OPS.beginAnnotation,[re.id,re.rect,se,ae,Z]),await k.getOperatorList({stream:ie,task:O,resources:q,operatorList:le,fallbackFontDict:this._fallbackFontDict}),le.addOp(n.OPS.endAnnotation,[]),ue!==void 0&&le.addOp(n.OPS.endMarkedContent,[]),this.reset(),{opList:le,separateForm:!1,separateCanvas:Z}}async save(k,O,V){return null}get hasTextContent(){return!1}async extractTextContent(k,O,V){if(!this.appearance)return;const K=await this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance),te=[],re=[];let ie=null;const Z={desiredSize:Math.Infinity,ready:!0,enqueue(ee,q){for(const z of ee.items)z.str!==void 0&&(ie||(ie=z.transform.slice(-2)),re.push(z.str),z.hasEOL&&(te.push(re.join("")),re.length=0))}};if(await k.getTextContent({stream:this.appearance,task:O,resources:K,includeMarkedContent:!0,sink:Z,viewBox:V}),this.reset(),re.length&&te.push(re.join("")),te.length>1||te[0]){const ee=this.appearance.dict,q=ee.getArray("BBox")||[0,0,1,1],z=ee.getArray("Matrix")||[1,0,0,1,0,0],ae=this.data.rect,se=j(ae,q,z);se[4]-=ae[0],se[5]-=ae[1],ie=n.Util.applyTransform(ie,se),ie=n.Util.applyTransform(ie,z),this.data.textPosition=ie,this.data.textContent=te}}getFieldObject(){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,rotation:this.rotation}:null}reset(){for(const k of this._streams)k.reset()}_constructFieldName(k){if(!k.has("T")&&!k.has("Parent"))return(0,n.warn)("Unknown field name, falling back to empty field name."),"";if(!k.has("Parent"))return(0,n.stringToPDFString)(k.get("T"));const O=[];k.has("T")&&O.unshift((0,n.stringToPDFString)(k.get("T")));let V=k;const K=new e.RefSet;for(k.objId&&K.put(k.objId);V.has("Parent")&&(V=V.get("Parent"),!(!(V instanceof e.Dict)||V.objId&&K.has(V.objId)));)V.objId&&K.put(V.objId),V.has("T")&&O.unshift((0,n.stringToPDFString)(V.get("T")));return O.join(".")}}d.Annotation=M;class T{constructor(){this.width=1,this.style=n.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}setWidth(k){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0,0];if(k instanceof e.Name){this.width=0;return}if(typeof k=="number"){if(k>0){const V=(O[2]-O[0])/2,K=(O[3]-O[1])/2;V>0&&K>0&&(k>V||k>K)&&((0,n.warn)(`AnnotationBorderStyle.setWidth - ignoring width: ${k}`),k=1)}this.width=k}}setStyle(k){if(k instanceof e.Name)switch(k.name){case"S":this.style=n.AnnotationBorderStyleType.SOLID;break;case"D":this.style=n.AnnotationBorderStyleType.DASHED;break;case"B":this.style=n.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=n.AnnotationBorderStyleType.INSET;break;case"U":this.style=n.AnnotationBorderStyleType.UNDERLINE;break}}setDashArray(k){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray(k)&&k.length>0){let V=!0,K=!0;for(const te of k)if(+te>=0)te>0&&(K=!1);else{V=!1;break}V&&!K?(this.dashArray=k,O&&this.setStyle(e.Name.get("D"))):this.width=0}else k&&(this.width=0)}setHorizontalCornerRadius(k){Number.isInteger(k)&&(this.horizontalCornerRadius=k)}setVerticalCornerRadius(k){Number.isInteger(k)&&(this.verticalCornerRadius=k)}}d.AnnotationBorderStyle=T;class c extends M{constructor(k){super(k);const{dict:O}=k;if(O.has("IRT")){const K=O.getRaw("IRT");this.data.inReplyTo=K instanceof e.Ref?K.toString():null;const te=O.get("RT");this.data.replyType=te instanceof e.Name?te.name:n.AnnotationReplyType.REPLY}let V=null;if(this.data.replyType===n.AnnotationReplyType.GROUP){const K=O.get("IRT");this.setTitle(K.get("T")),this.data.titleObj=this._title,this.setContents(K.get("Contents")),this.data.contentsObj=this._contents,K.has("CreationDate")?(this.setCreationDate(K.get("CreationDate")),this.data.creationDate=this.creationDate):this.data.creationDate=null,K.has("M")?(this.setModificationDate(K.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,V=K.getRaw("Popup"),K.has("C")?(this.setColor(K.getArray("C")),this.data.color=this.color):this.data.color=null}else this.data.titleObj=this._title,this.setCreationDate(O.get("CreationDate")),this.data.creationDate=this.creationDate,V=O.getRaw("Popup"),O.has("C")||(this.data.color=null);this.data.popupRef=V instanceof e.Ref?V.toString():null,O.has("RC")&&(this.data.richText=v.XFAFactory.getRichTextAsHtml(O.get("RC")))}setCreationDate(k){this.creationDate=typeof k=="string"?k:null}_setDefaultAppearance(k){let{xref:O,extra:V,strokeColor:K,fillColor:te,blendMode:re,strokeAlpha:ie,fillAlpha:Z,pointsCallback:ee}=k,q=Number.MAX_VALUE,z=Number.MAX_VALUE,ae=Number.MIN_VALUE,se=Number.MIN_VALUE;const le=["q"];V&&le.push(V),K&&le.push(`${K[0]} ${K[1]} ${K[2]} RG`),te&&le.push(`${te[0]} ${te[1]} ${te[2]} rg`);let ue=this.data.quadPoints;ue||(ue=[[{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]}]]);for(const xe of ue){const[de,pe,Ce,we]=ee(le,xe);q=Math.min(q,de),ae=Math.max(ae,pe),z=Math.min(z,Ce),se=Math.max(se,we)}le.push("Q");const fe=new e.Dict(O),ge=new e.Dict(O);ge.set("Subtype",e.Name.get("Form"));const me=new t.StringStream(le.join(" "));me.dict=ge,fe.set("Fm0",me);const be=new e.Dict(O);re&&be.set("BM",e.Name.get(re)),typeof ie=="number"&&be.set("CA",ie),typeof Z=="number"&&be.set("ca",Z);const ye=new e.Dict(O);ye.set("GS0",be);const Se=new e.Dict(O);Se.set("ExtGState",ye),Se.set("XObject",fe);const Ae=new e.Dict(O);Ae.set("Resources",Se);const Fe=this.data.rect=[q,z,ae,se];Ae.set("BBox",Fe),this.appearance=new t.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=Ae,this._streams.push(this.appearance,me)}static async createNewAnnotation(k,O,V,K){const te=O.ref||(O.ref=k.getNewTemporaryRef()),re=await this.createNewAppearanceStream(O,k,K),ie=[];let Z;if(re){const ee=k.getNewTemporaryRef();Z=this.createNewDict(O,k,{apRef:ee}),await(0,N.writeObject)(ee,re,ie,k),V.push({ref:ee,data:ie.join("")})}else Z=this.createNewDict(O,k,{});return Number.isInteger(O.parentTreeId)&&Z.set("StructParent",O.parentTreeId),ie.length=0,await(0,N.writeObject)(te,Z,ie,k),{ref:te,data:ie.join("")}}static async createNewPrintAnnotation(k,O,V,K){const te=await this.createNewAppearanceStream(V,O,K),re=this.createNewDict(V,O,{ap:te}),ie=new this.prototype.constructor({dict:re,xref:O,annotationGlobals:k,evaluatorOptions:K.evaluatorOptions});return V.ref&&(ie.ref=ie.refToReplace=V.ref),ie}}d.MarkupAnnotation=c;class h extends M{constructor(k){var ae;super(k);const{dict:O,xref:V,annotationGlobals:K}=k,te=this.data;this._needAppearances=k.needAppearances,te.annotationType=n.AnnotationType.WIDGET,te.fieldName===void 0&&(te.fieldName=this._constructFieldName(O)),te.actions===void 0&&(te.actions=(0,u.collectActions)(V,O,n.AnnotationActionEventType));let re=(0,u.getInheritableProperty)({dict:O,key:"V",getArray:!0});te.fieldValue=this._decodeFormValue(re);const ie=(0,u.getInheritableProperty)({dict:O,key:"DV",getArray:!0});if(te.defaultFieldValue=this._decodeFormValue(ie),re===void 0&&K.xfaDatasets){const se=this._title.str;se&&(this._hasValueFromXFA=!0,te.fieldValue=re=K.xfaDatasets.getValue(se))}re===void 0&&te.defaultFieldValue!==null&&(te.fieldValue=te.defaultFieldValue),te.alternativeText=(0,n.stringToPDFString)(O.get("TU")||""),this.setDefaultAppearance(k),te.hasAppearance||(te.hasAppearance=this._needAppearances&&te.fieldValue!==void 0&&te.fieldValue!==null);const Z=(0,u.getInheritableProperty)({dict:O,key:"FT"});te.fieldType=Z instanceof e.Name?Z.name:null;const ee=(0,u.getInheritableProperty)({dict:O,key:"DR"}),q=K.acroForm.get("DR"),z=(ae=this.appearance)==null?void 0:ae.dict.get("Resources");this._fieldResources={localResources:ee,acroFormResources:q,appearanceResources:z,mergedResources:e.Dict.merge({xref:V,dictArray:[ee,z,q],mergeSubDicts:!0})},te.fieldFlags=(0,u.getInheritableProperty)({dict:O,key:"Ff"}),(!Number.isInteger(te.fieldFlags)||te.fieldFlags<0)&&(te.fieldFlags=0),te.readOnly=this.hasFieldFlag(n.AnnotationFieldFlag.READONLY),te.required=this.hasFieldFlag(n.AnnotationFieldFlag.REQUIRED),te.hidden=this._hasFlag(te.annotationFlags,n.AnnotationFlag.HIDDEN)||this._hasFlag(te.annotationFlags,n.AnnotationFlag.NOVIEW)}_decodeFormValue(k){return Array.isArray(k)?k.filter(O=>typeof O=="string").map(O=>(0,n.stringToPDFString)(O)):k instanceof e.Name?(0,n.stringToPDFString)(k.name):typeof k=="string"?(0,n.stringToPDFString)(k):null}hasFieldFlag(k){return!!(this.data.fieldFlags&k)}_isViewable(k){return!this._hasFlag(k,n.AnnotationFlag.INVISIBLE)}mustBeViewed(k,O){return O?this.viewable:super.mustBeViewed(k,O)&&!this._hasFlag(this.flags,n.AnnotationFlag.NOVIEW)}getRotationMatrix(k){var te;let O=(te=k==null?void 0:k.get(this.data.id))==null?void 0:te.rotation;if(O===void 0&&(O=this.rotation),O===0)return n.IDENTITY_MATRIX;const V=this.data.rect[2]-this.data.rect[0],K=this.data.rect[3]-this.data.rect[1];return(0,u.getRotationMatrix)(O,V,K)}getBorderAndBackgroundAppearances(k){var ie;let O=(ie=k==null?void 0:k.get(this.data.id))==null?void 0:ie.rotation;if(O===void 0&&(O=this.rotation),!this.backgroundColor&&!this.borderColor)return"";const V=this.data.rect[2]-this.data.rect[0],K=this.data.rect[3]-this.data.rect[1],te=O===0||O===180?`0 0 ${V} ${K} re`:`0 0 ${K} ${V} re`;let re="";if(this.backgroundColor&&(re=`${(0,g.getPdfColor)(this.backgroundColor,!0)} ${te} f `),this.borderColor){const Z=this.borderStyle.width||1;re+=`${Z} w ${(0,g.getPdfColor)(this.borderColor,!1)} ${te} S `}return re}async getOperatorList(k,O,V,K,te){if(K&&!(this instanceof b)&&!this.data.noHTML&&!this.data.hasOwnCanvas)return{opList:new a.OperatorList,separateForm:!0,separateCanvas:!1};if(!this._hasText)return super.getOperatorList(k,O,V,K,te);const re=await this._getAppearance(k,O,V,te);if(this.appearance&&re===null)return super.getOperatorList(k,O,V,K,te);const ie=new a.OperatorList;if(!this._defaultAppearance||re===null)return{opList:ie,separateForm:!1,separateCanvas:!1};const Z=!!(this.data.hasOwnCanvas&&V&n.RenderingIntentFlag.DISPLAY),ee=[1,0,0,1,0,0],q=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],z=j(this.data.rect,q,ee);let ae;this.oc&&(ae=await k.parseMarkedContentProps(this.oc,null)),ae!==void 0&&ie.addOp(n.OPS.beginMarkedContentProps,["OC",ae]),ie.addOp(n.OPS.beginAnnotation,[this.data.id,this.data.rect,z,this.getRotationMatrix(te),Z]);const se=new t.StringStream(re);return await k.getOperatorList({stream:se,task:O,resources:this._fieldResources.mergedResources,operatorList:ie}),ie.addOp(n.OPS.endAnnotation,[]),ae!==void 0&&ie.addOp(n.OPS.endMarkedContent,[]),{opList:ie,separateForm:!1,separateCanvas:Z}}_getMKDict(k){const O=new e.Dict(null);return k&&O.set("R",k),this.borderColor&&O.set("BC",B(this.borderColor)),this.backgroundColor&&O.set("BG",B(this.backgroundColor)),O.size>0?O:null}amendSavedDict(k,O){}async save(k,O,V){const K=V==null?void 0:V.get(this.data.id);let te=K==null?void 0:K.value,re=K==null?void 0:K.rotation;if(te===this.data.fieldValue||te===void 0){if(!this._hasValueFromXFA&&re===void 0)return null;te||(te=this.data.fieldValue)}if(re===void 0&&!this._hasValueFromXFA&&Array.isArray(te)&&Array.isArray(this.data.fieldValue)&&te.length===this.data.fieldValue.length&&te.every((ge,me)=>ge===this.data.fieldValue[me]))return null;re===void 0&&(re=this.rotation);let ie=null;if(!this._needAppearances&&(ie=await this._getAppearance(k,O,n.RenderingIntentFlag.SAVE,V),ie===null))return null;let Z=!1;ie!=null&&ie.needAppearances&&(Z=!0,ie=null);const{xref:ee}=k,q=ee.fetchIfRef(this.ref);if(!(q instanceof e.Dict))return null;const z=new e.Dict(ee);for(const ge of q.getKeys())ge!=="AP"&&z.set(ge,q.getRaw(ge));const ae={path:this.data.fieldName,value:te},se=ge=>(0,u.isAscii)(ge)?ge:(0,u.stringToUTF16String)(ge,!0);z.set("V",Array.isArray(te)?te.map(se):se(te)),this.amendSavedDict(V,z);const le=this._getMKDict(re);le&&z.set("MK",le);const ue=[],fe=[{ref:this.ref,data:"",xfa:ae,needAppearances:Z}];if(ie!==null){const ge=ee.getNewTemporaryRef(),me=new e.Dict(ee);z.set("AP",me),me.set("N",ge);const be=this._getSaveFieldResources(ee),ye=new t.StringStream(ie),Se=ye.dict=new e.Dict(ee);Se.set("Subtype",e.Name.get("Form")),Se.set("Resources",be),Se.set("BBox",[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]]);const Ae=this.getRotationMatrix(V);Ae!==n.IDENTITY_MATRIX&&Se.set("Matrix",Ae),await(0,N.writeObject)(ge,ye,ue,ee),fe.push({ref:ge,data:ue.join(""),xfa:null,needAppearances:!1}),ue.length=0}return z.set("M",`D:${(0,n.getModificationDate)()}`),await(0,N.writeObject)(this.ref,z,ue,ee),fe[0].data=ue.join(""),fe}async _getAppearance(k,O,V,K){if(this.hasFieldFlag(n.AnnotationFieldFlag.PASSWORD))return null;const re=K==null?void 0:K.get(this.data.id);let ie,Z;if(re&&(ie=re.formattedValue||re.value,Z=re.rotation),Z===void 0&&ie===void 0&&!this._needAppearances&&(!this._hasValueFromXFA||this.appearance))return null;const ee=this.getBorderAndBackgroundAppearances(K);if(ie===void 0&&(ie=this.data.fieldValue,!ie))return`/Tx BMC q ${ee}Q EMC`;if(Array.isArray(ie)&&ie.length===1&&(ie=ie[0]),(0,n.assert)(typeof ie=="string","Expected `value` to be a string."),ie=ie.trim(),this.data.combo){const we=this.data.options.find($e=>{let{exportValue:ze}=$e;return ie===ze});ie=(we==null?void 0:we.displayValue)||ie}if(ie==="")return`/Tx BMC q ${ee}Q EMC`;Z===void 0&&(Z=this.rotation);let q=-1,z;this.data.multiLine?(z=ie.split(/\r\n?|\n/).map(we=>we.normalize("NFC")),q=z.length):z=[ie.replace(/\r\n?|\n/,"").normalize("NFC")];const ae=1,se=2;let le=this.data.rect[3]-this.data.rect[1],ue=this.data.rect[2]-this.data.rect[0];(Z===90||Z===270)&&([ue,le]=[le,ue]),this._defaultAppearance||(this.data.defaultAppearanceData=(0,g.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g"));let fe=await h._getFontData(k,O,this.data.defaultAppearanceData,this._fieldResources.mergedResources),ge,me,be;const ye=[];let Se=!1;for(const we of z){const $e=fe.encodeString(we);$e.length>1&&(Se=!0),ye.push($e.join(""))}if(Se&&V&n.RenderingIntentFlag.SAVE)return{needAppearances:!0};if(Se&&this._isOffscreenCanvasSupported){const we=this.data.comb?"monospace":"sans-serif",$e=new g.FakeUnicodeFont(k.xref,we),ze=$e.createFontResources(z.join("")),Ee=ze.getRaw("Font");if(this._fieldResources.mergedResources.has("Font")){const We=this._fieldResources.mergedResources.get("Font");for(const Le of Ee.getKeys())We.set(Le,Ee.getRaw(Le))}else this._fieldResources.mergedResources.set("Font",Ee);const tt=$e.fontName.name;fe=await h._getFontData(k,O,{fontName:tt,fontSize:0},ze);for(let We=0,Le=ye.length;We2)return`/Tx BMC q ${ee}BT `+ge+` 1 0 0 1 ${(0,u.numberToString)(se)} ${(0,u.numberToString)(de)} Tm (${(0,u.escapeString)(ye[0])}) Tj ET Q EMC`;const pe={shift:0},Ce=this._renderText(ye[0],fe,me,ue,xe,pe,se,de);return`/Tx BMC q ${ee}BT `+ge+` 1 0 0 1 0 0 Tm ${Ce} ET Q EMC`}static async _getFontData(k,O,V,K){const te=new a.OperatorList,re={font:null,clone(){return this}},{fontName:ie,fontSize:Z}=V;return await k.handleSetFont(K,[ie&&e.Name.get(ie),Z],null,te,O,re,null),re.font}_getTextWidth(k,O){return O.charsToGlyphs(k).reduce((V,K)=>V+K.width,0)/1e3}_computeFontSize(k,O,V,K,te){let{fontSize:re}=this.data.defaultAppearanceData,ie=(re||12)*n.LINE_FACTOR,Z=Math.round(k/ie);if(!re){const ee=ae=>Math.floor(ae*100)/100;if(te===-1){const ae=this._getTextWidth(V,K);re=ee(Math.min(k/n.LINE_FACTOR,ae>O?O/ae:1/0)),Z=1}else{const ae=V.split(/\r\n?|\n/),se=[];for(const ue of ae){const fe=K.encodeString(ue).join(""),ge=K.charsToGlyphs(fe),me=K.getCharPositions(fe);se.push({line:fe,glyphs:ge,positions:me})}const le=ue=>{let fe=0;for(const ge of se){const me=this._splitLine(null,K,ue,O,ge);if(fe+=me.length*ue,fe>k)return!0}return!1};for(Z=Math.max(Z,te);;){if(ie=k/Z,re=ee(ie/n.LINE_FACTOR),le(re)){Z++;continue}break}}const{fontName:q,fontColor:z}=this.data.defaultAppearanceData;this._defaultAppearance=(0,g.createDefaultAppearance)({fontSize:re,fontName:q,fontColor:z})}return[this._defaultAppearance,re,k/Z]}_renderText(k,O,V,K,te,re,ie,Z){let ee;if(te===1){const z=this._getTextWidth(k,O)*V;ee=(K-z)/2}else if(te===2){const z=this._getTextWidth(k,O)*V;ee=K-z-ie}else ee=ie;const q=(0,u.numberToString)(ee-re.shift);return re.shift=ee,Z=(0,u.numberToString)(Z),`${q} ${Z} Td (${(0,u.escapeString)(k)}) Tj`}_getSaveFieldResources(k){var re;const{localResources:O,appearanceResources:V,acroFormResources:K}=this._fieldResources,te=(re=this.data.defaultAppearanceData)==null?void 0:re.fontName;if(!te)return O||e.Dict.empty;for(const ie of[O,V])if(ie instanceof e.Dict){const Z=ie.get("Font");if(Z instanceof e.Dict&&Z.has(te))return ie}if(K instanceof e.Dict){const ie=K.get("Font");if(ie instanceof e.Dict&&ie.has(te)){const Z=new e.Dict(k);Z.set(te,ie.getRaw(te));const ee=new e.Dict(k);return ee.set("Font",Z),e.Dict.merge({xref:k,dictArray:[ee,O],mergeSubDicts:!0})}}return O||e.Dict.empty}getFieldObject(){return null}}class E extends h{constructor(k){super(k),this.data.hasOwnCanvas=this.data.readOnly&&!this.data.noHTML,this._hasText=!0;const O=k.dict;typeof this.data.fieldValue!="string"&&(this.data.fieldValue="");let V=(0,u.getInheritableProperty)({dict:O,key:"Q"});(!Number.isInteger(V)||V<0||V>2)&&(V=null),this.data.textAlignment=V;let K=(0,u.getInheritableProperty)({dict:O,key:"MaxLen"});(!Number.isInteger(K)||K<0)&&(K=0),this.data.maxLen=K,this.data.multiLine=this.hasFieldFlag(n.AnnotationFieldFlag.MULTILINE),this.data.comb=this.hasFieldFlag(n.AnnotationFieldFlag.COMB)&&!this.hasFieldFlag(n.AnnotationFieldFlag.MULTILINE)&&!this.hasFieldFlag(n.AnnotationFieldFlag.PASSWORD)&&!this.hasFieldFlag(n.AnnotationFieldFlag.FILESELECT)&&this.data.maxLen!==0,this.data.doNotScroll=this.hasFieldFlag(n.AnnotationFieldFlag.DONOTSCROLL)}get hasTextContent(){return!!this.appearance&&!this._needAppearances}_getCombAppearance(k,O,V,K,te,re,ie,Z,ee,q,z){const ae=te/this.data.maxLen,se=this.getBorderAndBackgroundAppearances(z),le=[],ue=O.getCharPositions(V);for(const[ge,me]of ue)le.push(`(${(0,u.escapeString)(V.substring(ge,me))}) Tj`);const fe=le.join(` ${(0,u.numberToString)(ae)} 0 Td `);return`/Tx BMC q ${se}BT `+k+` 1 0 0 1 ${(0,u.numberToString)(ie)} ${(0,u.numberToString)(Z+ee)} Tm ${fe} ET Q EMC`}_getMultilineAppearance(k,O,V,K,te,re,ie,Z,ee,q,z,ae){const se=[],le=te-2*Z,ue={shift:0};for(let me=0,be=O.length;me4&&arguments[4]!==void 0?arguments[4]:{};k=te.line||k;const re=te.glyphs||O.charsToGlyphs(k);if(re.length<=1)return[k];const ie=te.positions||O.getCharPositions(k),Z=V/1e3,ee=[];let q=-1,z=-1,ae=-1,se=0,le=0;for(let ue=0,fe=re.length;ueK?(ee.push(k.substring(se,ge)),se=ge,le=ye,q=-1,ae=-1):(le+=ye,q=ge,z=me,ae=ue):le+ye>K?q!==-1?(ee.push(k.substring(se,z)),se=z,ue=ae+1,q=-1,le=0):(ee.push(k.substring(se,ge)),se=ge,le=ye):le+=ye}return seq!=="Off");re.length=0,re.push("Off",ee)}re.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=re[1];const ie=V.get(this.data.exportValue);this.checkedAppearance=ie instanceof s.BaseStream?ie:null;const Z=V.get("Off");this.uncheckedAppearance=Z instanceof s.BaseStream?Z:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(k,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,this.data.defaultFieldValue===null&&(this.data.defaultFieldValue="Off")}_processRadioButton(k){this.data.fieldValue=this.data.buttonValue=null;const O=k.dict.get("Parent");if(O instanceof e.Dict){this.parent=k.dict.getRaw("Parent");const ie=O.get("V");ie instanceof e.Name&&(this.data.fieldValue=this._decodeFormValue(ie))}const V=k.dict.get("AP");if(!(V instanceof e.Dict))return;const K=V.get("N");if(!(K instanceof e.Dict))return;for(const ie of K.getKeys())if(ie!=="Off"){this.data.buttonValue=this._decodeFormValue(ie);break}const te=K.get(this.data.buttonValue);this.checkedAppearance=te instanceof s.BaseStream?te:null;const re=K.get("Off");this.uncheckedAppearance=re instanceof s.BaseStream?re:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(k,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,this.data.defaultFieldValue===null&&(this.data.defaultFieldValue="Off")}_processPushButton(k){const{dict:O,annotationGlobals:V}=k;if(!O.has("A")&&!O.has("AA")&&!this.data.alternativeText){(0,n.warn)("Push buttons without action dictionaries are not supported");return}this.data.isTooltipOnly=!O.has("A")&&!O.has("AA"),U.Catalog.parseDestDictionary({destDict:O,resultObj:this.data,docBaseUrl:V.baseUrl,docAttachments:V.attachments})}getFieldObject(){let k="button",O;return this.data.checkBox?(k="checkbox",O=this.data.exportValue):this.data.radioButton&&(k="radiobutton",O=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:O,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,rotation:this.rotation,type:k}}get fallbackFontDict(){const k=new e.Dict;return k.set("BaseFont",e.Name.get("ZapfDingbats")),k.set("Type",e.Name.get("FallbackType")),k.set("Subtype",e.Name.get("FallbackType")),k.set("Encoding",e.Name.get("ZapfDingbatsEncoding")),(0,n.shadow)(this,"fallbackFontDict",k)}}class l extends h{constructor(k){super(k);const{dict:O,xref:V}=k;this.indices=O.getArray("I"),this.hasIndices=Array.isArray(this.indices)&&this.indices.length>0,this.data.options=[];const K=(0,u.getInheritableProperty)({dict:O,key:"Opt"});if(Array.isArray(K))for(let te=0,re=K.length;te=0&&re0?this.data.fieldValue[0]:null;return{id:this.data.id,value:O,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,rotation:this.rotation,type:k}}amendSavedDict(k,O){var re;if(!this.hasIndices)return;let V=(re=k==null?void 0:k.get(this.data.id))==null?void 0:re.value;Array.isArray(V)||(V=[V]);const K=[],{options:te}=this.data;for(let ie=0,Z=0,ee=te.length;iede&&(de=we,pe=Ce)}[ue,fe]=this._computeFontSize(xe,z-2*ee,pe,le,-1)}const ge=fe*n.LINE_FACTOR,me=(ge-fe)/2,be=Math.floor(q/ge);let ye=0;if(se.length>0){const xe=Math.min(...se),de=Math.max(...se);ye=Math.max(0,de-be+1),ye>xe&&(ye=xe)}const Se=Math.min(ye+be+1,ae),Ae=["/Tx BMC q",`1 1 ${z} ${q} re W n`];if(se.length){Ae.push("0.600006 0.756866 0.854904 rg");for(const xe of se)ye<=xe&&xe1)return null;rt=At.join(""),xe.push(rt);let Ot=0;const Ve=le.charsToGlyphs(rt);for(const Ge of Ve)Ot+=Ge.width*Ae;Fe=Math.max(Fe,Ot)}let de=1;Fe>be&&(de=be/Fe);let pe=1;const Ce=n.LINE_FACTOR*Z,we=(n.LINE_FACTOR-n.LINE_DESCENT_FACTOR)*Z,$e=Ce*Se.length;$e>ye&&(pe=ye/$e);const ze=Math.min(de,pe),Ee=Z*ze;let tt,nt,We;switch(q){case 0:We=[1,0,0,1],nt=[ee[0],ee[1],be,ye],tt=[ee[0],ee[3]-we];break;case 90:We=[0,1,-1,0],nt=[ee[1],-ee[2],be,ye],tt=[ee[1],-ee[0]-we];break;case 180:We=[-1,0,0,-1],nt=[-ee[2],-ee[3],be,ye],tt=[-ee[2],-ee[1]-we];break;case 270:We=[0,-1,1,0],nt=[-ee[3],ee[0],be,ye],tt=[-ee[3],ee[2]-we];break}const Le=["q",`${We.join(" ")} 0 0 cm`,`${nt.join(" ")} re W n`,"BT",`${(0,g.getPdfColor)(ie,!0)}`,`0 Tc /Helv ${(0,u.numberToString)(Ee)} Tf`];Le.push(`${tt.join(" ")} Td (${(0,u.escapeString)(xe[0])}) Tj`);const Qe=(0,u.numberToString)(Ce);for(let rt=1,At=xe.length;rt(se.push(`${K[0]} ${K[1]} m`,`${K[2]} ${K[3]} l`,"S"),[le[0].x-q,le[1].x+q,le[3].y-q,le[1].y+q])})}}}class A extends c{constructor(k){super(k);const{dict:O,xref:V}=k;if(this.data.annotationType=n.AnnotationType.SQUARE,this.data.hasOwnCanvas=this.data.noRotate,!this.appearance){const K=this.color?B(this.color):[0,0,0],te=O.get("CA"),re=F(O.getArray("IC"),null),ie=re?B(re):null,Z=ie?te:null;if(this.borderStyle.width===0&&!ie)return;this._setDefaultAppearance({xref:V,extra:`${this.borderStyle.width} w`,strokeColor:K,fillColor:ie,strokeAlpha:te,fillAlpha:Z,pointsCallback:(ee,q)=>{const z=q[2].x+this.borderStyle.width/2,ae=q[2].y+this.borderStyle.width/2,se=q[3].x-q[2].x-this.borderStyle.width,le=q[1].y-q[3].y-this.borderStyle.width;return ee.push(`${z} ${ae} ${se} ${le} re`),ie?ee.push("B"):ee.push("S"),[q[0].x,q[1].x,q[3].y,q[1].y]}})}}}class D extends c{constructor(k){super(k);const{dict:O,xref:V}=k;if(this.data.annotationType=n.AnnotationType.CIRCLE,!this.appearance){const K=this.color?B(this.color):[0,0,0],te=O.get("CA"),re=F(O.getArray("IC"),null),ie=re?B(re):null,Z=ie?te:null;if(this.borderStyle.width===0&&!ie)return;const ee=4/3*Math.tan(Math.PI/(2*4));this._setDefaultAppearance({xref:V,extra:`${this.borderStyle.width} w`,strokeColor:K,fillColor:ie,strokeAlpha:te,fillAlpha:Z,pointsCallback:(q,z)=>{const ae=z[0].x+this.borderStyle.width/2,se=z[0].y-this.borderStyle.width/2,le=z[3].x-this.borderStyle.width/2,ue=z[3].y+this.borderStyle.width/2,fe=ae+(le-ae)/2,ge=se+(ue-se)/2,me=(le-ae)/2*ee,be=(ue-se)/2*ee;return q.push(`${fe} ${ue} m`,`${fe+me} ${ue} ${le} ${ge+be} ${le} ${ge} c`,`${le} ${ge-be} ${fe+me} ${se} ${fe} ${se} c`,`${fe-me} ${se} ${ae} ${ge-be} ${ae} ${ge} c`,`${ae} ${ge+be} ${fe-me} ${ue} ${fe} ${ue} c`,"h"),ie?q.push("B"):q.push("S"),[z[0].x,z[1].x,z[3].y,z[1].y]}})}}}class w extends c{constructor(k){super(k);const{dict:O,xref:V}=k;this.data.annotationType=n.AnnotationType.POLYLINE,this.data.hasOwnCanvas=this.data.noRotate,this.data.vertices=[],this instanceof m||(this.setLineEndings(O.getArray("LE")),this.data.lineEndings=this.lineEndings);const K=O.getArray("Vertices");if(Array.isArray(K)){for(let te=0,re=K.length;te{const ae=this.data.vertices;for(let se=0,le=ae.length;se{for(const ae of this.data.inkLists){for(let se=0,le=ae.length;seue.points)),ae.set("F",4),ae.set("Rotate",q);const se=new e.Dict(O);ae.set("BS",se),se.set("W",z),ae.set("C",Array.from(re,ue=>ue/255)),ae.set("CA",ie);const le=new e.Dict(O);return ae.set("AP",le),K?le.set("N",K):le.set("N",te),ae}static async createNewAppearanceStream(k,O,V){const{color:K,rect:te,paths:re,thickness:ie,opacity:Z}=k,ee=[`${ie} w 1 J 1 j`,`${(0,g.getPdfColor)(K,!1)}`];Z!==1&&ee.push("/R0 gs");const q=[];for(const{bezier:le}of re){q.length=0,q.push(`${(0,u.numberToString)(le[0])} ${(0,u.numberToString)(le[1])} m`);for(let ue=2,fe=le.length;ue(ee.push(`${q[0].x} ${q[0].y} m`,`${q[1].x} ${q[1].y} l`,`${q[3].x} ${q[3].y} l`,`${q[2].x} ${q[2].y} l`,"f"),[q[0].x,q[1].x,q[3].y,q[1].y])})}}else this.data.popupRef=null}}class Q extends c{constructor(k){super(k);const{dict:O,xref:V}=k;if(this.data.annotationType=n.AnnotationType.UNDERLINE,this.data.quadPoints=W(O,null)){if(!this.appearance){const te=this.color?B(this.color):[0,0,0],re=O.get("CA");this._setDefaultAppearance({xref:V,extra:"[] 0 d 0.571 w",strokeColor:te,strokeAlpha:re,pointsCallback:(ie,Z)=>(ie.push(`${Z[2].x} ${Z[2].y+1.3} m`,`${Z[3].x} ${Z[3].y+1.3} l`,"S"),[Z[0].x,Z[1].x,Z[3].y,Z[1].y])})}}else this.data.popupRef=null}}class oe extends c{constructor(k){super(k);const{dict:O,xref:V}=k;if(this.data.annotationType=n.AnnotationType.SQUIGGLY,this.data.quadPoints=W(O,null)){if(!this.appearance){const te=this.color?B(this.color):[0,0,0],re=O.get("CA");this._setDefaultAppearance({xref:V,extra:"[] 0 d 1 w",strokeColor:te,strokeAlpha:re,pointsCallback:(ie,Z)=>{const ee=(Z[0].y-Z[2].y)/6;let q=ee,z=Z[2].x;const ae=Z[2].y,se=Z[3].x;ie.push(`${z} ${ae+q} m`);do z+=2,q=q===0?ee:0,ie.push(`${z} ${ae+q} l`);while(z(ie.push(`${(Z[0].x+Z[2].x)/2} ${(Z[0].y+Z[2].y)/2} m`,`${(Z[1].x+Z[3].x)/2} ${(Z[1].y+Z[3].y)/2} l`,"S"),[Z[0].x,Z[1].x,Z[3].y,Z[1].y])})}}else this.data.popupRef=null}}class ce extends c{constructor(k){super(k),this.data.annotationType=n.AnnotationType.STAMP,this.data.hasOwnCanvas=this.data.noRotate}static async createImage(k,O){const{width:V,height:K}=k,te=new OffscreenCanvas(V,K),re=te.getContext("2d",{alpha:!0});re.drawImage(k,0,0);const ie=re.getImageData(0,0,V,K).data,Z=new Uint32Array(ie.buffer),ee=Z.some(n.FeatureTest.isLittleEndian?fe=>fe>>>24!==255:fe=>(fe&255)!==255);ee&&(re.fillStyle="white",re.fillRect(0,0,V,K),re.drawImage(k,0,0));const q=te.convertToBlob({type:"image/jpeg",quality:1}).then(fe=>fe.arrayBuffer()),z=e.Name.get("XObject"),ae=e.Name.get("Image"),se=new e.Dict(O);se.set("Type",z),se.set("Subtype",ae),se.set("BitsPerComponent",8),se.set("ColorSpace",e.Name.get("DeviceRGB")),se.set("Filter",e.Name.get("DCTDecode")),se.set("BBox",[0,0,V,K]),se.set("Width",V),se.set("Height",K);let le=null;if(ee){const fe=new Uint8Array(Z.length);if(n.FeatureTest.isLittleEndian)for(let me=0,be=Z.length;me>>24;else for(let me=0,be=Z.length;me=0&&re<=1?re:null}}},(he,d,i)=>{var n=i(4),u=i(6),g=i(87),e=i(159),t=i(7),s=n.RegExp,L=s.prototype,U=u&&t(function(){var C=!0;try{s(".","d")}catch{C=!1}var y={},f="",x=C?"dgimsy":"gimsy",a=function(F,B){Object.defineProperty(y,F,{get:function(){return f+=B,!0}})},N={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};C&&(N.hasIndices="d");for(var v in N)a(v,N[v]);var P=Object.getOwnPropertyDescriptor(L,"flags").get.call(y);return P!==x||f!==x});U&&g(L,"flags",{configurable:!0,get:e})},(he,d,i)=>{var n=i(47);he.exports=function(){var u=n(this),g="";return u.hasIndices&&(g+="d"),u.global&&(g+="g"),u.ignoreCase&&(g+="i"),u.multiline&&(g+="m"),u.dotAll&&(g+="s"),u.unicode&&(g+="u"),u.unicodeSets&&(g+="v"),u.sticky&&(g+="y"),g}},(he,d,i)=>{var n=i(3),u=i(40),g=i(64),e=i(141),t=i(161),s=i(143),L=[].unshift(0)!==1,U=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(y){return y instanceof TypeError}},C=L||!U();n({target:"Array",proto:!0,arity:1,forced:C},{unshift:function(f){var x=u(this),a=g(x),N=arguments.length;if(N){s(a+N);for(var v=a;v--;){var P=v+N;v in x?x[P]=x[v]:t(x,P)}for(var F=0;F{var n=i(32),u=TypeError;he.exports=function(g,e){if(!delete g[e])throw u("Cannot delete property "+n(e)+" of "+n(g))}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.FakeUnicodeFont=void 0,d.createDefaultAppearance=N,d.getPdfColor=a,d.parseAppearanceStream=x,d.parseDefaultAppearance=y,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140);var n=i(151),u=i(150),g=i(145),e=i(163),t=i(164),s=i(210),L=i(208),U=i(155);class C extends t.EvaluatorPreprocessor{constructor(F){super(new U.StringStream(F))}parse(){const F={fn:0,args:[]},B={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;F.args.length=0,!!this.read(F);){if(this.savedStatesDepth!==0)continue;const{fn:W,args:j}=F;switch(W|0){case g.OPS.setFont:const[M,T]=j;M instanceof n.Name&&(B.fontName=M.name),typeof T=="number"&&T>0&&(B.fontSize=T);break;case g.OPS.setFillRGBColor:e.ColorSpace.singletons.rgb.getRgbItem(j,0,B.fontColor,0);break;case g.OPS.setFillGray:e.ColorSpace.singletons.gray.getRgbItem(j,0,B.fontColor,0);break;case g.OPS.setFillCMYKColor:e.ColorSpace.singletons.cmyk.getRgbItem(j,0,B.fontColor,0);break}}}catch(W){(0,g.warn)(`parseDefaultAppearance - ignoring errors: "${W}".`)}return B}}function y(P){return new C(P).parse()}class f extends t.EvaluatorPreprocessor{constructor(F,B,W){var j;super(F),this.stream=F,this.evaluatorOptions=B,this.xref=W,this.resources=(j=F.dict)==null?void 0:j.get("Resources")}parse(){const F={fn:0,args:[]};let B={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:e.ColorSpace.singletons.gray},W=!1;const j=[];try{for(;F.args.length=0,!(W||!this.read(F));){const{fn:M,args:T}=F;switch(M|0){case g.OPS.save:j.push({scaleFactor:B.scaleFactor,fontSize:B.fontSize,fontName:B.fontName,fontColor:B.fontColor.slice(),fillColorSpace:B.fillColorSpace});break;case g.OPS.restore:B=j.pop()||B;break;case g.OPS.setTextMatrix:B.scaleFactor*=Math.hypot(T[0],T[1]);break;case g.OPS.setFont:const[c,h]=T;c instanceof n.Name&&(B.fontName=c.name),typeof h=="number"&&h>0&&(B.fontSize=h*B.scaleFactor);break;case g.OPS.setFillColorSpace:B.fillColorSpace=e.ColorSpace.parse({cs:T[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:this._localColorSpaceCache});break;case g.OPS.setFillColor:B.fillColorSpace.getRgbItem(T,0,B.fontColor,0);break;case g.OPS.setFillRGBColor:e.ColorSpace.singletons.rgb.getRgbItem(T,0,B.fontColor,0);break;case g.OPS.setFillGray:e.ColorSpace.singletons.gray.getRgbItem(T,0,B.fontColor,0);break;case g.OPS.setFillCMYKColor:e.ColorSpace.singletons.cmyk.getRgbItem(T,0,B.fontColor,0);break;case g.OPS.showText:case g.OPS.showSpacedText:case g.OPS.nextLineShowText:case g.OPS.nextLineSetSpacingShowText:W=!0;break}}}catch(M){(0,g.warn)(`parseAppearanceStream - ignoring errors: "${M}".`)}return this.stream.reset(),delete B.scaleFactor,delete B.fillColorSpace,B}get _localColorSpaceCache(){return(0,g.shadow)(this,"_localColorSpaceCache",new s.LocalColorSpaceCache)}get _pdfFunctionFactory(){const F=new L.PDFFunctionFactory({xref:this.xref,isEvalSupported:this.evaluatorOptions.isEvalSupported});return(0,g.shadow)(this,"_pdfFunctionFactory",F)}}function x(P,F,B){return new f(P,F,B).parse()}function a(P,F){if(P[0]===P[1]&&P[1]===P[2]){const B=P[0]/255;return`${(0,u.numberToString)(B)} ${F?"g":"G"}`}return Array.from(P,B=>(0,u.numberToString)(B/255)).join(" ")+` ${F?"rg":"RG"}`}function N(P){let{fontSize:F,fontName:B,fontColor:W}=P;return`/${(0,u.escapePDFName)(B)} ${F} Tf ${a(W,!0)}`}class v{constructor(F,B){this.xref=F,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=B;const W=new OffscreenCanvas(1,1);this.ctxMeasure=W.getContext("2d"),v._fontNameId||(v._fontNameId=1),this.fontName=n.Name.get(`InvalidPDFjsFont_${B}_${v._fontNameId++}`)}get toUnicodeRef(){if(!v._toUnicodeRef){const F=`/CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (Adobe) /Ordering (UCS) /Supplement 0 >> def /CMapName /Adobe-Identity-UCS def /CMapType 2 def 1 begincodespacerange <0000> endcodespacerange 1 beginbfrange <0000> <0000> endbfrange endcmap CMapName currentdict /CMap defineresource pop end end`,B=v.toUnicodeStream=new U.StringStream(F),W=new n.Dict(this.xref);B.dict=W,W.set("Length",F.length),v._toUnicodeRef=this.xref.getNewPersistentRef(B)}return v._toUnicodeRef}get fontDescriptorRef(){if(!v._fontDescriptorRef){const F=new n.Dict(this.xref);F.set("Type",n.Name.get("FontDescriptor")),F.set("FontName",this.fontName),F.set("FontFamily","MyriadPro Regular"),F.set("FontBBox",[0,0,0,0]),F.set("FontStretch",n.Name.get("Normal")),F.set("FontWeight",400),F.set("ItalicAngle",0),v._fontDescriptorRef=this.xref.getNewPersistentRef(F)}return v._fontDescriptorRef}get descendantFontRef(){const F=new n.Dict(this.xref);F.set("BaseFont",this.fontName),F.set("Type",n.Name.get("Font")),F.set("Subtype",n.Name.get("CIDFontType0")),F.set("CIDToGIDMap",n.Name.get("Identity")),F.set("FirstChar",this.firstChar),F.set("LastChar",this.lastChar),F.set("FontDescriptor",this.fontDescriptorRef),F.set("DW",1e3);const B=[],W=[...this.widths.entries()].sort();let j=null,M=null;for(const[c,h]of W){if(!j){j=c,M=[h];continue}c===j+M.length?M.push(h):(B.push(j,M),j=c,M=[h])}j&&B.push(j,M),F.set("W",B);const T=new n.Dict(this.xref);return T.set("Ordering","Identity"),T.set("Registry","Adobe"),T.set("Supplement",0),F.set("CIDSystemInfo",T),this.xref.getNewPersistentRef(F)}get baseFontRef(){const F=new n.Dict(this.xref);return F.set("BaseFont",this.fontName),F.set("Type",n.Name.get("Font")),F.set("Subtype",n.Name.get("Type0")),F.set("Encoding",n.Name.get("Identity-H")),F.set("DescendantFonts",[this.descendantFontRef]),F.set("ToUnicode",this.toUnicodeRef),this.xref.getNewPersistentRef(F)}get resources(){const F=new n.Dict(this.xref),B=new n.Dict(this.xref);return B.set(this.fontName.name,this.baseFontRef),F.set("Font",B),F}_createContext(){return this.widths=new Map,this.ctxMeasure.font=`1000px ${this.fontFamily}`,this.ctxMeasure}createFontResources(F){const B=this._createContext();for(const W of F.split(/\r\n?|\n/))for(const j of W.split("")){const M=j.charCodeAt(0);if(this.widths.has(M))continue;const T=B.measureText(j),c=Math.ceil(T.width);this.widths.set(M,c),this.firstChar=Math.min(M,this.firstChar),this.lastChar=Math.max(M,this.lastChar)}return this.resources}createAppearance(F,B,W,j,M,T){const c=this._createContext(),h=[];let E=-1/0;for(const J of F.split(/\r\n?|\n/)){h.push(J);const _=c.measureText(J).width;E=Math.max(E,_);for(const k of J.split("")){const O=k.charCodeAt(0);let V=this.widths.get(O);if(V===void 0){const K=c.measureText(k);V=Math.ceil(K.width),this.widths.set(O,V),this.firstChar=Math.min(O,this.firstChar),this.lastChar=Math.max(O,this.lastChar)}}}E*=j/1e3;const[o,l,b,R]=B;let S=b-o,p=R-l;W%180!==0&&([S,p]=[p,S]);let G=1;E>S&&(G=S/E);let $=1;const A=g.LINE_FACTOR*j,D=g.LINE_DESCENT_FACTOR*j,w=A*h.length;w>p&&($=p/w);const m=Math.min(G,$),I=j*m,H=["q",`0 0 ${(0,u.numberToString)(S)} ${(0,u.numberToString)(p)} re W n`,"BT",`1 0 0 1 0 ${(0,u.numberToString)(p+D)} Tm 0 Tc ${a(M,!0)}`,`/${this.fontName.name} ${(0,u.numberToString)(I)} Tf`],{resources:Y}=this;if(T=typeof T=="number"&&T>=0&&T<=1?T:1,T!==1){H.push("/R0 gs");const J=new n.Dict(this.xref),_=new n.Dict(this.xref);_.set("ca",T),_.set("CA",T),_.set("Type",n.Name.get("ExtGState")),J.set("R0",_),Y.set("ExtGState",J)}const Q=(0,u.numberToString)(A);for(const J of h)H.push(`0 -${Q} Td <${(0,u.stringToUTF16HexString)(J)}> Tj`);H.push("ET","Q");const oe=H.join(` `),ne=new n.Dict(this.xref);if(ne.set("Subtype",n.Name.get("Form")),ne.set("Type",n.Name.get("XObject")),ne.set("BBox",[0,0,S,p]),ne.set("Length",oe.length),ne.set("Resources",Y),W){const J=(0,u.getRotationMatrix)(W,S,p);ne.set("Matrix",J)}const ce=new U.StringStream(oe);return ce.dict=ne,ce}}d.FakeUnicodeFont=v},(he,d,i)=>{var P,Un,B,Xn,j,M,T,c,h,E,o,l,b,en,S,Yn,G,Jn,A,xn,w,tn,I,nn,Y,Zn,oe,Qn,ce,qn,_,Hn,V,mn,te,pn,ie,zn;Object.defineProperty(d,"__esModule",{value:!0}),d.ColorSpace=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(2);var n=i(145),u=i(151),g=i(152),e=i(150);function t(ee,q,z,ae,se,le,ue){ue=ue!==1?0:ue;const ge=z/se,me=ae/le;let be=0,ye;const Se=new Uint16Array(se),Ae=z*3;for(let Fe=0;FeSe&&this.name!=="DeviceGray"&&this.name!=="DeviceRGB"){const Fe=fe<=8?new Uint8Array(Se):new Uint16Array(Se);for(let de=0;de2&&arguments[2]!==void 0?arguments[2]:null,se=arguments.length>3?arguments[3]:void 0;if(q=z.fetchIfRef(q),q instanceof u.Name)switch(q.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 U(null);default:if(ae instanceof u.Dict){const le=ae.get("ColorSpace");if(le instanceof u.Dict){const ue=le.get(q.name);if(ue){if(ue instanceof u.Name)return this._parse(ue,z,ae,se);q=ue;break}}}throw new n.FormatError(`Unrecognized ColorSpace: ${q.name}`)}if(Array.isArray(q)){const le=z.fetchIfRef(q[0]).name;let ue,fe,ge,me,be,ye;switch(le){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 ue=z.fetchIfRef(q[1]),me=ue.getArray("WhitePoint"),be=ue.getArray("BlackPoint"),ye=ue.get("Gamma"),new a(me,be,ye);case"CalRGB":ue=z.fetchIfRef(q[1]),me=ue.getArray("WhitePoint"),be=ue.getArray("BlackPoint"),ye=ue.getArray("Gamma");const Se=ue.getArray("Matrix");return new N(me,be,ye,Se);case"ICCBased":const Fe=z.fetchIfRef(q[1]).dict;fe=Fe.get("N");const xe=Fe.get("Alternate");if(xe){const ze=this._parse(xe,z,ae,se);if(ze.numComps===fe)return ze;(0,n.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(fe===1)return this.singletons.gray;if(fe===3)return this.singletons.rgb;if(fe===4)return this.singletons.cmyk;break;case"Pattern":return ge=q[1]||null,ge&&(ge=this._parse(ge,z,ae,se)),new U(ge);case"I":case"Indexed":ge=this._parse(q[1],z,ae,se);const de=z.fetchIfRef(q[2])+1,pe=z.fetchIfRef(q[3]);return new C(ge,de,pe);case"Separation":case"DeviceN":const Ce=z.fetchIfRef(q[1]);fe=Array.isArray(Ce)?Ce.length:1,ge=this._parse(q[2],z,ae,se);const we=se.create(q[3]);return new L(fe,ge,we);case"Lab":ue=z.fetchIfRef(q[1]),me=ue.getArray("WhitePoint"),be=ue.getArray("BlackPoint");const $e=ue.getArray("Range");return new v(me,be,$e);default:throw new n.FormatError(`Unimplemented ColorSpace object: ${le}`)}}throw new n.FormatError(`Unrecognized ColorSpace object: ${q}`)}static isDefaultDecode(q,z){if(!Array.isArray(q))return!0;if(z*2!==q.length)return(0,n.warn)("The decode map is not the correct length"),!0;for(let ae=0,se=q.length;ae=.99554525?1:ct(this,w,tn).call(this,0,1,1.055*z**.4166666666666667-.055)},w=new WeakSet,tn=function(z,ae,se){return Math.max(z,Math.min(ae,se))},I=new WeakSet,nn=function(z){return z<0?-ct(this,I,nn).call(this,-z):z>8?((z+16)/116)**3:z*Bt(O,l)},Y=new WeakSet,Zn=function(z,ae,se){if(z[0]===0&&z[1]===0&&z[2]===0){se[0]=ae[0],se[1]=ae[1],se[2]=ae[2];return}const le=ct(this,I,nn).call(this,0),ue=le,fe=ct(this,I,nn).call(this,z[0]),ge=le,me=ct(this,I,nn).call(this,z[1]),be=le,ye=ct(this,I,nn).call(this,z[2]),Se=(1-ue)/(1-fe),Ae=1-Se,Fe=(1-ge)/(1-me),xe=1-Fe,de=(1-be)/(1-ye),pe=1-de;se[0]=ae[0]*Se+Ae,se[1]=ae[1]*Fe+xe,se[2]=ae[2]*de+pe},oe=new WeakSet,Qn=function(z,ae,se){if(z[0]===1&&z[2]===1){se[0]=ae[0],se[1]=ae[1],se[2]=ae[2];return}const le=se;ct(this,b,en).call(this,Bt(O,j),ae,le);const ue=Bt(O,h);ct(this,S,Yn).call(this,z,le,ue),ct(this,b,en).call(this,Bt(O,M),ue,se)},ce=new WeakSet,qn=function(z,ae,se){const le=se;ct(this,b,en).call(this,Bt(O,j),ae,le);const ue=Bt(O,h);ct(this,G,Jn).call(this,z,le,ue),ct(this,b,en).call(this,Bt(O,M),ue,se)},_=new WeakSet,Hn=function(z,ae,se,le,ue){const fe=ct(this,w,tn).call(this,0,1,z[ae]*ue),ge=ct(this,w,tn).call(this,0,1,z[ae+1]*ue),me=ct(this,w,tn).call(this,0,1,z[ae+2]*ue),be=fe===1?1:fe**this.GR,ye=ge===1?1:ge**this.GG,Se=me===1?1:me**this.GB,Ae=this.MXA*be+this.MXB*ye+this.MXC*Se,Fe=this.MYA*be+this.MYB*ye+this.MYC*Se,xe=this.MZA*be+this.MZB*ye+this.MZC*Se,de=Bt(O,E);de[0]=Ae,de[1]=Fe,de[2]=xe;const pe=Bt(O,o);ct(this,oe,Qn).call(this,this.whitePoint,de,pe);const Ce=Bt(O,E);ct(this,Y,Zn).call(this,this.blackPoint,pe,Ce);const we=Bt(O,o);ct(this,ce,qn).call(this,Bt(O,c),Ce,we);const $e=Bt(O,E);ct(this,b,en).call(this,Bt(O,T),we,$e),se[le]=ct(this,A,xn).call(this,$e[0])*255,se[le+1]=ct(this,A,xn).call(this,$e[1])*255,se[le+2]=ct(this,A,xn).call(this,$e[2])*255},vt(O,j,new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296])),vt(O,M,new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867])),vt(O,T,new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252])),vt(O,c,new Float32Array([1,1,1])),vt(O,h,new Float32Array(3)),vt(O,E,new Float32Array(3)),vt(O,o,new Float32Array(3)),vt(O,l,.0011070564598794539);let N=O;class v extends s{constructor(z,ae,se){super("Lab",3);vt(this,V);vt(this,te);vt(this,ie);if(!z)throw new n.FormatError("WhitePoint missing - required for color space Lab");if([this.XW,this.YW,this.ZW]=z,[this.amin,this.amax,this.bmin,this.bmax]=se||[-100,100,-100,100],[this.XB,this.YB,this.ZB]=ae||[0,0,0],this.XW<0||this.ZW<0||this.YW!==1)throw new n.FormatError("Invalid WhitePoint components, no fallback available");(this.XB<0||this.YB<0||this.ZB<0)&&((0,n.info)("Invalid BlackPoint, falling back to default"),this.XB=this.YB=this.ZB=0),(this.amin>this.amax||this.bmin>this.bmax)&&((0,n.info)("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}getRgbItem(z,ae,se,le){ct(this,ie,zn).call(this,z,ae,!1,se,le)}getRgbBuffer(z,ae,se,le,ue,fe,ge){const me=(1<=.20689655172413793?z**3:.12841854934601665*(z-.13793103448275862)},te=new WeakSet,pn=function(z,ae,se,le){return se+z*(le-se)/ae},ie=new WeakSet,zn=function(z,ae,se,le,ue){let fe=z[ae],ge=z[ae+1],me=z[ae+2];se!==!1&&(fe=ct(this,te,pn).call(this,fe,se,0,100),ge=ct(this,te,pn).call(this,ge,se,this.amin,this.amax),me=ct(this,te,pn).call(this,me,se,this.bmin,this.bmax)),ge>this.amax?ge=this.amax:gethis.bmax?me=this.bmax:me{Object.defineProperty(d,"__esModule",{value:!0}),d.PartialEvaluator=d.EvaluatorPreprocessor=void 0,i(140),i(2),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(158),i(160);var n=i(145),u=i(165),g=i(151),e=i(185),t=i(188),s=i(192),L=i(201),U=i(202),C=i(193),y=i(208),f=i(167),x=i(210),a=i(155),N=i(152),v=i(211),P=i(163),F=i(169),B=i(189),W=i(212),j=i(190),M=i(196),T=i(191),c=i(213),h=i(214),E=i(215),o=i(216);const l=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,isOffscreenCanvasSupported:!1,canvasMaxAreaInBytes:-1,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),b={TILING:1,SHADING:2},R=10,S=Promise.resolve();function p(oe){let ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray(oe)){for(const ce of oe){const J=p(ce,!0);if(J)return J}return(0,n.warn)(`Unsupported blend mode Array: ${oe}`),"source-over"}if(!(oe instanceof g.Name))return ne?null:"source-over";switch(oe.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 ne?null:((0,n.warn)(`Unsupported blend mode: ${oe.name}`),"source-over")}function G(oe){var ne;oe.fn===n.OPS.paintImageMaskXObject&&((ne=oe.args[0])==null?void 0:ne.count)>0&&oe.args[0].count++}const Y=class Y{constructor(){this.reset()}check(){return++this.checked0&&arguments[0]!==void 0?arguments[0]:null;const ce=Object.create(this);return ce.options=Object.assign(Object.create(null),this.options,ne),ce}hasBlendModes(ne,ce){if(!(ne instanceof g.Dict)||ne.objId&&ce.has(ne.objId))return!1;const J=new g.RefSet(ce);ne.objId&&J.put(ne.objId);const _=[ne],k=this.xref;for(;_.length;){const O=_.shift(),V=O.get("ExtGState");if(V instanceof g.Dict)for(let te of V.getRawValues()){if(te instanceof g.Ref){if(J.has(te))continue;try{te=k.fetch(te)}catch(ie){J.put(te),(0,n.info)(`hasBlendModes - ignoring ExtGState: "${ie}".`);continue}}if(!(te instanceof g.Dict))continue;te.objId&&J.put(te.objId);const re=te.get("BM");if(re instanceof g.Name){if(re.name!=="Normal")return!0;continue}if(re!==void 0&&Array.isArray(re)){for(const ie of re)if(ie instanceof g.Name&&ie.name!=="Normal")return!0}}const K=O.get("XObject");if(K instanceof g.Dict)for(let te of K.getRawValues()){if(te instanceof g.Ref){if(J.has(te))continue;try{te=k.fetch(te)}catch(ie){J.put(te),(0,n.info)(`hasBlendModes - ignoring XObject: "${ie}".`);continue}}if(!(te instanceof N.BaseStream))continue;te.dict.objId&&J.put(te.dict.objId);const re=te.dict.get("Resources");re instanceof g.Dict&&(re.objId&&J.has(re.objId)||(_.push(re),re.objId&&J.put(re.objId)))}}for(const O of J)ce.put(O);return!1}async fetchBuiltInCMap(ne){const ce=this.builtInCMapCache.get(ne);if(ce)return ce;let J;if(this.options.cMapUrl!==null){const _=`${this.options.cMapUrl}${ne}.bcmap`,k=await fetch(_);if(!k.ok)throw new Error(`fetchBuiltInCMap: failed to fetch file "${_}" with "${k.statusText}".`);J={cMapData:new Uint8Array(await k.arrayBuffer()),compressionType:n.CMapCompressionType.BINARY}}else J=await this.handler.sendWithPromise("FetchBuiltInCMap",{name:ne});return J.compressionType!==n.CMapCompressionType.NONE&&this.builtInCMapCache.set(ne,J),J}async fetchStandardFontData(ne){const ce=this.standardFontDataCache.get(ne);if(ce)return new a.Stream(ce);if(this.options.useSystemFonts&&ne!=="Symbol"&&ne!=="ZapfDingbats")return null;const J=(0,s.getFontNameToFileMap)(),_=J[ne];let k;if(this.options.standardFontDataUrl!==null){const O=`${this.options.standardFontDataUrl}${_}`,V=await fetch(O);V.ok?k=await V.arrayBuffer():(0,n.warn)(`fetchStandardFontData: failed to fetch file "${O}" with "${V.statusText}".`)}else try{k=await this.handler.sendWithPromise("FetchStandardFontData",{filename:_})}catch(O){(0,n.warn)(`fetchStandardFontData: failed to fetch file "${_}" with "${O}".`)}return k?(this.standardFontDataCache.set(ne,k),new a.Stream(k)):null}async buildFormXObject(ne,ce,J,_,k,O,V){const K=ce.dict,te=K.getArray("Matrix");let re=K.getArray("BBox");re=Array.isArray(re)&&re.length===4?n.Util.normalizeRect(re):null;let ie,Z;K.has("OC")&&(ie=await this.parseMarkedContentProps(K.get("OC"),ne)),ie!==void 0&&_.addOp(n.OPS.beginMarkedContentProps,["OC",ie]);const ee=K.get("Group");if(ee){Z={matrix:te,bbox:re,smask:J,isolated:!1,knockout:!1};const z=ee.get("S");let ae=null;if((0,g.isName)(z,"Transparency")&&(Z.isolated=ee.get("I")||!1,Z.knockout=ee.get("K")||!1,ee.has("CS"))){const se=ee.getRaw("CS"),le=P.ColorSpace.getCached(se,this.xref,V);le?ae=le:ae=await this.parseColorSpace({cs:se,resources:ne,localColorSpaceCache:V})}J!=null&&J.backdrop&&(ae||(ae=P.ColorSpace.singletons.rgb),J.backdrop=ae.getRgb(J.backdrop,0)),_.addOp(n.OPS.beginGroup,[Z])}const q=ee?[te,null]:[te,re];return _.addOp(n.OPS.paintFormXObjectBegin,q),this.getOperatorList({stream:ce,task:k,resources:K.get("Resources")||ne,operatorList:_,initialState:O}).then(function(){_.addOp(n.OPS.paintFormXObjectEnd,[]),ee&&_.addOp(n.OPS.endGroup,[Z]),ie!==void 0&&_.addOp(n.OPS.endMarkedContent,[])})}_sendImgData(ne,ce){let J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const _=ce?[ce.bitmap||ce.data.buffer]:null;return this.parsingType3Font||J?this.handler.send("commonobj",[ne,"Image",ce],_):this.handler.send("obj",[ne,this.pageIndex,"Image",ce],_)}async buildPaintImageXObject(ne){let{resources:ce,image:J,isInline:_=!1,operatorList:k,cacheKey:O,localImageCache:V,localColorSpaceCache:K}=ne;const te=J.dict,re=te.objId,ie=te.get("W","Width"),Z=te.get("H","Height");if(!(ie&&typeof ie=="number")||!(Z&&typeof Z=="number")){(0,n.warn)("Image dimensions are missing, or not numbers.");return}const ee=this.options.maxImageSize;if(ee!==-1&&ie*Z>ee){const ge="Image exceeded maximum allowed size and was removed.";if(this.options.ignoreErrors){(0,n.warn)(ge);return}throw new Error(ge)}let q;te.has("OC")&&(q=await this.parseMarkedContentProps(te.get("OC"),ce));const z=te.get("IM","ImageMask")||!1;let ae,se;if(z){const ge=te.get("I","Interpolate"),me=ie+7>>3,be=J.getBytes(me*Z),ye=te.getArray("D","Decode");if(this.parsingType3Font){if(ae=o.PDFImage.createRawMask({imgArray:be,width:ie,height:Z,imageIsFromDecodeStream:J instanceof F.DecodeStream,inverseDecode:(ye==null?void 0:ye[0])>0,interpolate:ge}),ae.cached=!!O,se=[ae],k.addImageOps(n.OPS.paintImageMaskXObject,se,q),O){const Ae={fn:n.OPS.paintImageMaskXObject,args:se,optionalContent:q};V.set(O,re,Ae),re&&this._regionalImageCache.set(null,re,Ae)}return}if(ae=await o.PDFImage.createMask({imgArray:be,width:ie,height:Z,imageIsFromDecodeStream:J instanceof F.DecodeStream,inverseDecode:(ye==null?void 0:ye[0])>0,interpolate:ge,isOffscreenCanvasSupported:this.options.isOffscreenCanvasSupported}),ae.isSingleOpaquePixel){if(k.addImageOps(n.OPS.paintSolidColorImageMask,[],q),O){const Ae={fn:n.OPS.paintSolidColorImageMask,args:[],optionalContent:q};V.set(O,re,Ae),re&&this._regionalImageCache.set(null,re,Ae)}return}const Se=`mask_${this.idFactory.createObjId()}`;if(k.addDependency(Se),this._sendImgData(Se,ae),se=[{data:Se,width:ae.width,height:ae.height,interpolate:ae.interpolate,count:1}],k.addImageOps(n.OPS.paintImageMaskXObject,se,q),O){const Ae={fn:n.OPS.paintImageMaskXObject,args:se,optionalContent:q};V.set(O,re,Ae),re&&this._regionalImageCache.set(null,re,Ae)}return}const le=200;if(_&&!te.has("SMask")&&!te.has("Mask")&&ie+Z{if(ae=await ge.createImageData(!1,this.options.isOffscreenCanvasSupported),O&&re&&fe){const me=ae.bitmap?ae.width*ae.height*4:ae.data.length;this.globalImageCache.addByteSize(re,me)}return this._sendImgData(ue,ae,fe)}).catch(ge=>((0,n.warn)(`Unable to decode image "${ue}": "${ge}".`),this._sendImgData(ue,null,fe))),k.addImageOps(n.OPS.paintImageXObject,se,q),O){const ge={fn:n.OPS.paintImageXObject,args:se,optionalContent:q};V.set(O,re,ge),re&&(this._regionalImageCache.set(null,re,ge),fe&&((0,n.assert)(!_,"Cannot cache an inline image globally."),this.globalImageCache.setData(re,{objId:ue,fn:n.OPS.paintImageXObject,args:se,optionalContent:q,byteSize:0})))}}handleSMask(ne,ce,J,_,k,O){const V=ne.get("G"),K={subtype:ne.get("S").name,backdrop:ne.get("BC")},te=ne.get("TR");if((0,y.isPDFFunction)(te)){const re=this._pdfFunctionFactory.create(te),ie=new Uint8Array(256),Z=new Float32Array(1);for(let ee=0;ee<256;ee++)Z[0]=ee/255,re(Z,0,Z,0),ie[ee]=Z[0]*255|0;K.transferMap=ie}return this.buildFormXObject(ce,V,K,J,_,k.state.clone(),O)}handleTransferFunction(ne){let ce;if(Array.isArray(ne))ce=ne;else if((0,y.isPDFFunction)(ne))ce=[ne];else return null;const J=[];let _=0,k=0;for(const O of ce){const V=this.xref.fetchIfRef(O);if(_++,(0,g.isName)(V,"Identity")){J.push(null);continue}else if(!(0,y.isPDFFunction)(V))return null;const K=this._pdfFunctionFactory.create(V),te=new Uint8Array(256),re=new Float32Array(1);for(let ie=0;ie<256;ie++)re[0]=ie/255,K(re,0,re,0),te[ie]=re[0]*255|0;J.push(te),k++}return!(_===1||_===4)||k===0?null:J}handleTilingType(ne,ce,J,_,k,O,V,K){const te=new E.OperatorList,re=g.Dict.merge({xref:this.xref,dictArray:[k.get("Resources"),J]});return this.getOperatorList({stream:_,task:V,resources:re,operatorList:te}).then(function(){const ie=te.getIR(),Z=(0,L.getTilingPatternIR)(ie,k,ce);O.addDependencies(te.dependencies),O.addOp(ne,Z),k.objId&&K.set(null,k.objId,{operatorListIR:ie,dict:k})}).catch(ie=>{if(!(ie instanceof n.AbortException)){if(this.options.ignoreErrors){(0,n.warn)(`handleTilingType - ignoring pattern: "${ie}".`);return}throw ie}})}handleSetFont(ne,ce,J,_,k,O){let V=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,K=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;const te=(ce==null?void 0:ce[0])instanceof g.Name?ce[0].name:null;return this.loadFont(te,J,ne,V,K).then(re=>re.font.isType3Font?re.loadType3Data(this,ne,k).then(function(){return _.addDependencies(re.type3Dependencies),re}).catch(ie=>new D({loadedName:"g_font_error",font:new e.ErrorFont(`Type3 font load error: ${ie}`),dict:re.font,evaluatorOptions:this.options})):re).then(re=>(O.font=re.font,re.send(this.handler),re.loadedName))}handleText(ne,ce){const J=ce.font,_=J.charsToGlyphs(ne);return J.data&&(ce.textRenderingMode&n.TextRenderingMode.ADD_TO_PATH_FLAG||ce.fillColorSpace.name==="Pattern"||J.disableFontFace||this.options.disableFontFace)&&A.buildFontPaths(J,_,this.handler,this.options),_}ensureStateFont(ne){if(ne.font)return;const ce=new n.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(this.options.ignoreErrors){(0,n.warn)(`ensureStateFont: "${ce}".`);return}throw ce}async setGState(ne){let{resources:ce,gState:J,operatorList:_,cacheKey:k,task:O,stateManager:V,localGStateCache:K,localColorSpaceCache:te}=ne;const re=J.objId;let ie=!0;const Z=[];let ee=Promise.resolve();for(const q of J.getKeys()){const z=J.get(q);switch(q){case"Type":break;case"LW":case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":Z.push([q,z]);break;case"Font":ie=!1,ee=ee.then(()=>this.handleSetFont(ce,null,z[0],_,O,V.state).then(function(se){_.addDependency(se),Z.push([q,[se,z[1]]])}));break;case"BM":Z.push([q,p(z)]);break;case"SMask":if((0,g.isName)(z,"None")){Z.push([q,!1]);break}z instanceof g.Dict?(ie=!1,ee=ee.then(()=>this.handleSMask(z,ce,_,O,V,te)),Z.push([q,!0])):(0,n.warn)("Unsupported SMask type");break;case"TR":const ae=this.handleTransferFunction(z);Z.push([q,ae]);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,n.info)("graphic state operator "+q);break;default:(0,n.info)("Unknown graphic state operator "+q);break}}return ee.then(function(){Z.length>0&&_.addOp(n.OPS.setGState,[Z]),ie&&K.set(k,re,Z)})}loadFont(ne,ce,J){let _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,k=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;const O=async()=>new D({loadedName:"g_font_error",font:new e.ErrorFont(`Font "${ne}" is not available.`),dict:ce,evaluatorOptions:this.options});let V;if(ce)ce instanceof g.Ref&&(V=ce);else{const q=J.get("Font");q&&(V=q.getRaw(ne))}if(V){if(this.parsingType3Font&&this.type3FontRefs.has(V))return O();if(this.fontCache.has(V))return this.fontCache.get(V);ce=this.xref.fetchIfRef(V)}if(!(ce instanceof g.Dict)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,n.warn)(`Font "${ne}" is not available.`),O();(0,n.warn)(`Font "${ne}" is not available -- attempting to fallback to a default font.`),ce=_||A.fallbackFontDict}if(ce.cacheKey&&this.fontCache.has(ce.cacheKey))return this.fontCache.get(ce.cacheKey);const K=new n.PromiseCapability;let te;try{te=this.preEvaluateFont(ce),te.cssFontInfo=k}catch(q){return(0,n.warn)(`loadFont - preEvaluateFont failed: "${q}".`),O()}const{descriptor:re,hash:ie}=te,Z=V instanceof g.Ref;let ee;if(ie&&re instanceof g.Dict){const q=re.fontAliases||(re.fontAliases=Object.create(null));if(q[ie]){const z=q[ie].aliasRef;if(Z&&z&&this.fontCache.has(z))return this.fontCache.putAlias(V,z),this.fontCache.get(V)}else q[ie]={fontID:this.idFactory.createFontId()};Z&&(q[ie].aliasRef=V),ee=q[ie].fontID}else ee=this.idFactory.createFontId();return(0,n.assert)(ee==null?void 0:ee.startsWith("f"),'The "fontID" must be (correctly) defined.'),Z?this.fontCache.put(V,K.promise):(ce.cacheKey=`cacheKey_${ee}`,this.fontCache.put(ce.cacheKey,K.promise)),ce.loadedName=`${this.idFactory.getDocId()}_${ee}`,this.translateFont(te).then(q=>{K.resolve(new D({loadedName:ce.loadedName,font:q,dict:ce,evaluatorOptions:this.options}))}).catch(q=>{(0,n.warn)(`loadFont - translateFont failed: "${q}".`),K.resolve(new D({loadedName:ce.loadedName,font:new e.ErrorFont(q instanceof Error?q.message:q),dict:ce,evaluatorOptions:this.options}))}),K.promise}buildPath(ne,ce,J){let _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const k=ne.length-1;if(J||(J=[]),k<0||ne.fnArray[k]!==n.OPS.constructPath){_&&((0,n.warn)(`Encountered path operator "${ce}" inside of a text object.`),ne.addOp(n.OPS.save,null));let O;switch(ce){case n.OPS.rectangle:const V=J[0]+J[2],K=J[1]+J[3];O=[Math.min(J[0],V),Math.max(J[0],V),Math.min(J[1],K),Math.max(J[1],K)];break;case n.OPS.moveTo:case n.OPS.lineTo:O=[J[0],J[0],J[1],J[1]];break;default:O=[1/0,-1/0,1/0,-1/0];break}ne.addOp(n.OPS.constructPath,[[ce],J,O]),_&&ne.addOp(n.OPS.restore,null)}else{const O=ne.argsArray[k];O[0].push(ce),O[1].push(...J);const V=O[2];switch(ce){case n.OPS.rectangle:const K=J[0]+J[2],te=J[1]+J[3];V[0]=Math.min(V[0],J[0],K),V[1]=Math.max(V[1],J[0],K),V[2]=Math.min(V[2],J[1],te),V[3]=Math.max(V[3],J[1],te);break;case n.OPS.moveTo:case n.OPS.lineTo:V[0]=Math.min(V[0],J[0]),V[1]=Math.max(V[1],J[0]),V[2]=Math.min(V[2],J[1]),V[3]=Math.max(V[3],J[1]);break}}}parseColorSpace(ne){let{cs:ce,resources:J,localColorSpaceCache:_}=ne;return P.ColorSpace.parseAsync({cs:ce,xref:this.xref,resources:J,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:_}).catch(k=>{if(k instanceof n.AbortException)return null;if(this.options.ignoreErrors)return(0,n.warn)(`parseColorSpace - ignoring ColorSpace: "${k}".`),null;throw k})}parseShading(ne){let{shading:ce,resources:J,localColorSpaceCache:_,localShadingPatternCache:k}=ne,O=k.get(ce);if(!O){var V=L.Pattern.parseShading(ce,this.xref,J,this._pdfFunctionFactory,_);const K=V.getIR();O=`pattern_${this.idFactory.createObjId()}`,this.parsingType3Font&&(O=`${this.idFactory.getDocId()}_type3_${O}`),k.set(ce,O),this.parsingType3Font?this.handler.send("commonobj",[O,"Pattern",K]):this.handler.send("obj",[O,this.pageIndex,"Pattern",K])}return O}handleColorN(ne,ce,J,_,k,O,V,K,te,re){const ie=J.pop();if(ie instanceof g.Name){const Z=k.getRaw(ie.name),ee=Z instanceof g.Ref&&te.getByRef(Z);if(ee)try{const z=_.base?_.base.getRgb(J,0):null,ae=(0,L.getTilingPatternIR)(ee.operatorListIR,ee.dict,z);ne.addOp(ce,ae);return}catch{}const q=this.xref.fetchIfRef(Z);if(q){const z=q instanceof N.BaseStream?q.dict:q,ae=z.get("PatternType");if(ae===b.TILING){const se=_.base?_.base.getRgb(J,0):null;return this.handleTilingType(ce,se,O,q,z,ne,V,te)}else if(ae===b.SHADING){const se=z.get("Shading"),le=z.getArray("Matrix"),ue=this.parseShading({shading:se,resources:O,localColorSpaceCache:K,localShadingPatternCache:re});ne.addOp(ce,["Shading",ue,le]);return}throw new n.FormatError(`Unknown PatternType: ${ae}`)}}throw new n.FormatError(`Unknown PatternName: ${ie}`)}_parseVisibilityExpression(ne,ce,J){if(++ce>10){(0,n.warn)("Visibility expression is too deeply nested");return}const k=ne.length,O=this.xref.fetchIfRef(ne[0]);if(k<2||!(O instanceof g.Name)){(0,n.warn)("Invalid visibility expression");return}switch(O.name){case"And":case"Or":case"Not":J.push(O.name);break;default:(0,n.warn)(`Invalid operator ${O.name} in visibility expression`);return}for(let V=1;V0)return{type:"OCMD",expression:K}}const V=J.get("OCGs");if(Array.isArray(V)||V instanceof g.Dict){const K=[];if(Array.isArray(V))for(const te of V)K.push(te.toString());else K.push(V.objId);return{type:_,ids:K,policy:J.get("P")instanceof g.Name?J.get("P").name:null,expression:null}}else if(V instanceof g.Ref)return{type:_,id:V.toString()}}return null}getOperatorList(ne){let{stream:ce,task:J,resources:_,operatorList:k,initialState:O=null,fallbackFontDict:V=null}=ne;if(_||(_=g.Dict.empty),O||(O=new I),!k)throw new Error('getOperatorList: missing "operatorList" parameter');const K=this,te=this.xref;let re=!1;const ie=new x.LocalImageCache,Z=new x.LocalColorSpaceCache,ee=new x.LocalGStateCache,q=new x.LocalTilingPatternCache,z=new Map,ae=_.get("XObject")||g.Dict.empty,se=_.get("Pattern")||g.Dict.empty,le=new w(O),ue=new H(ce,te,le),fe=new $;function ge(me){for(let be=0,ye=ue.savedStatesDepth;be0&&k.addOp(n.OPS.setGState,[De]),Le=null;continue}}Se(new Promise(function(De,St){if(!we)throw new n.FormatError("GState must be referred to by name.");const rt=_.get("ExtGState");if(!(rt instanceof g.Dict))throw new n.FormatError("ExtGState should be a dictionary.");const At=rt.get(Ce);if(!(At instanceof g.Dict))throw new n.FormatError("GState should be a dictionary.");K.setGState({resources:_,gState:At,operatorList:k,cacheKey:Ce,task:J,stateManager:le,localGStateCache:ee,localColorSpaceCache:Z}).then(De,St)}).catch(function(De){if(!(De instanceof n.AbortException)){if(K.options.ignoreErrors){(0,n.warn)(`getOperatorList - ignoring ExtGState: "${De}".`);return}throw De}}));return;case n.OPS.moveTo:case n.OPS.lineTo:case n.OPS.curveTo:case n.OPS.curveTo2:case n.OPS.curveTo3:case n.OPS.closePath:case n.OPS.rectangle:K.buildPath(k,Qe,Le,re);continue;case n.OPS.markPoint:case n.OPS.markPointProps:case n.OPS.beginCompat:case n.OPS.endCompat:continue;case n.OPS.beginMarkedContentProps:if(!(Le[0]instanceof g.Name)){(0,n.warn)(`Expected name for beginMarkedContentProps arg0=${Le[0]}`);continue}if(Le[0].name==="OC"){Se(K.parseMarkedContentProps(Le[1],_).then(De=>{k.addOp(n.OPS.beginMarkedContentProps,["OC",De])}).catch(De=>{if(!(De instanceof n.AbortException)){if(K.options.ignoreErrors){(0,n.warn)(`getOperatorList - ignoring beginMarkedContentProps: "${De}".`);return}throw De}}));return}Le=[Le[0].name,Le[1]instanceof g.Dict?Le[1].get("MCID"):null];break;case n.OPS.beginMarkedContent:case n.OPS.endMarkedContent:default:if(Le!==null){for(xe=0,de=Le.length;xe{if(!(me instanceof n.AbortException)){if(this.options.ignoreErrors){(0,n.warn)(`getOperatorList - ignoring errors during "${J.name}" task: "${me}".`),ge();return}throw me}})}getTextContent(ne){let{stream:ce,task:J,resources:_,stateManager:k=null,includeMarkedContent:O=!1,sink:V,seenStyles:K=new Set,viewBox:te,markedContentData:re=null,disableNormalization:ie=!1}=ne;_||(_=g.Dict.empty),k||(k=new w(new m)),O&&(re||(re={level:0}));const Z={items:[],styles:Object.create(null)},ee={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},q=[" "," "];let z=0;function ae(Ve){const Ge=(z+1)%2,Ye=q[z]!==" "&&q[Ge]===" ";return q[z]=Ve,z=Ge,Ye}function se(){return q[z]!==" "&&q[(z+1)%2]===" "}function le(){q[0]=q[1]=" ",z=0}const ue=.102,fe=.03,ge=-.2,me=.102,be=.6,ye=.25,Se=this,Ae=this.xref,Fe=[];let xe=null;const de=new x.LocalImageCache,pe=new x.LocalGStateCache,Ce=new H(ce,Ae,k);let we;function $e(Ve){let{width:Ge=0,height:Ye=0,transform:mt=ee.prevTransform,fontName:kt=ee.fontName}=Ve;Z.items.push({str:" ",dir:"ltr",width:Ge,height:Ye,transform:mt,fontName:kt,hasEOL:!1})}function ze(){const Ve=we.font,Ge=[we.fontSize*we.textHScale,0,0,we.fontSize,0,we.textRise];if(Ve.isType3Font&&(we.fontSize<=1||Ve.isCharBBox)&&!(0,n.isArrayEqual)(we.fontMatrix,n.FONT_IDENTITY_MATRIX)){const Ye=Ve.bbox[3]-Ve.bbox[1];Ye>0&&(Ge[3]*=Ye*we.fontMatrix[3])}return n.Util.transform(we.ctm,n.Util.transform(we.textMatrix,Ge))}function Ee(){if(ee.initialized)return ee;const{font:Ve,loadedName:Ge}=we;K.has(Ge)||(K.add(Ge),Z.styles[Ge]={fontFamily:Ve.fallbackName,ascent:Ve.ascent,descent:Ve.descent,vertical:Ve.vertical}),ee.fontName=Ge;const Ye=ee.transform=ze();Ve.vertical?(ee.width=ee.totalWidth=Math.hypot(Ye[0],Ye[1]),ee.height=ee.totalHeight=0,ee.vertical=!0):(ee.width=ee.totalWidth=0,ee.height=ee.totalHeight=Math.hypot(Ye[2],Ye[3]),ee.vertical=!1);const mt=Math.hypot(we.textLineMatrix[0],we.textLineMatrix[1]),kt=Math.hypot(we.ctm[0],we.ctm[1]);ee.textAdvanceScale=kt*mt;const{fontSize:It}=we;return ee.trackingSpaceMin=It*ue,ee.notASpace=It*fe,ee.negativeSpaceMax=It*ge,ee.spaceInFlowMin=It*me,ee.spaceInFlowMax=It*be,ee.hasEOL=!1,ee.initialized=!0,ee}function tt(){if(!ee.initialized)return;const Ve=Math.hypot(we.textLineMatrix[0],we.textLineMatrix[1]),Ye=Math.hypot(we.ctm[0],we.ctm[1])*Ve;Ye!==ee.textAdvanceScale&&(ee.vertical?(ee.totalHeight+=ee.height*ee.textAdvanceScale,ee.height=0):(ee.totalWidth+=ee.width*ee.textAdvanceScale,ee.width=0),ee.textAdvanceScale=Ye)}function nt(Ve){let Ge=Ve.str.join("");ie||(Ge=(0,n.normalizeUnicode)(Ge));const Ye=(0,v.bidi)(Ge,-1,Ve.vertical);return{str:Ye.str,dir:Ye.dir,width:Math.abs(Ve.totalWidth),height:Math.abs(Ve.totalHeight),transform:Ve.transform,fontName:Ve.fontName,hasEOL:Ve.hasEOL}}function We(Ve,Ge){return Se.loadFont(Ve,Ge,_).then(function(Ye){return Ye.font.isType3Font?Ye.loadType3Data(Se,_,J).catch(function(){}).then(function(){return Ye}):Ye}).then(function(Ye){we.loadedName=Ye.loadedName,we.font=Ye.font,we.fontMatrix=Ye.font.fontMatrix||n.FONT_IDENTITY_MATRIX})}function Le(Ve,Ge,Ye){const mt=Math.hypot(Ye[0],Ye[1]);return[(Ye[0]*Ve+Ye[1]*Ge)/mt,(Ye[2]*Ve+Ye[3]*Ge)/mt]}function Qe(Ve){var Re;const Ge=ze();let Ye=Ge[4],mt=Ge[5];if((Re=we.font)!=null&&Re.vertical){if(Yete[2]||mt+Vete[3])return!1}else if(Ye+Vete[2]||mtte[3])return!1;if(!we.font||!ee.prevTransform)return!0;let kt=ee.prevTransform[4],It=ee.prevTransform[5];if(kt===Ye&&It===mt)return!0;let at=-1;switch(Ge[0]&&Ge[1]===0&&Ge[2]===0?at=Ge[0]>0?0:180:Ge[1]&&Ge[0]===0&&Ge[3]===0&&(at=Ge[1]>0?90:270),at){case 0:break;case 90:[Ye,mt]=[mt,Ye],[kt,It]=[It,kt];break;case 180:[Ye,mt,kt,It]=[-Ye,-mt,-kt,-It];break;case 270:[Ye,mt]=[-mt,-Ye],[kt,It]=[-It,-kt];break;default:[Ye,mt]=Le(Ye,mt,Ge),[kt,It]=Le(kt,It,ee.prevTransform)}if(we.font.vertical){const Ne=(It-mt)/ee.textAdvanceScale,Be=Ye-kt,je=Math.sign(ee.height);return Ne.5*ee.width?(De(),!0):(le(),rt(),!0):Math.abs(Be)>ee.width?(De(),!0):(Ne<=je*ee.notASpace&&le(),Ne<=je*ee.trackingSpaceMin?se()?(le(),rt(),$e({height:Math.abs(Ne)})):ee.height+=Ne:St(Ne,ee.prevTransform,je)||(ee.str.length===0?(le(),$e({height:Math.abs(Ne)})):ee.height+=Ne),Math.abs(Be)>ee.width*ye&&rt(),!0)}const Nt=(Ye-kt)/ee.textAdvanceScale,Me=mt-It,Oe=Math.sign(ee.width);return Nt.5*ee.height?(De(),!0):(le(),rt(),!0):Math.abs(Me)>ee.height?(De(),!0):(Nt<=Oe*ee.notASpace&&le(),Nt<=Oe*ee.trackingSpaceMin?se()?(le(),rt(),$e({width:Math.abs(Nt)})):ee.width+=Nt:St(Nt,ee.prevTransform,Oe)||(ee.str.length===0?(le(),$e({width:Math.abs(Nt)})):ee.width+=Nt),Math.abs(Me)>ee.height*ye&&rt(),!0)}function gt(Ve){let{chars:Ge,extraSpacing:Ye}=Ve;const mt=we.font;if(!Ge){const at=we.charSpacing+Ye;at&&(mt.vertical?we.translateTextMatrix(0,-at):we.translateTextMatrix(at*we.textHScale,0));return}const kt=mt.charsToGlyphs(Ge),It=we.fontMatrix[0]*we.fontSize;for(let at=0,Nt=kt.length;at0&&arguments[0]!==void 0?arguments[0]:!1;const Ge=Z.items.length;Ge!==0&&(Ve&&Ge0){const Te=Fe.join("");Fe.length=0,gt({chars:Te,extraSpacing:0})}break;case n.OPS.showText:if(!k.state.font){Se.ensureStateFont(k.state);continue}gt({chars:at[0],extraSpacing:0});break;case n.OPS.nextLineShowText:if(!k.state.font){Se.ensureStateFont(k.state);continue}we.carriageReturn(),gt({chars:at[0],extraSpacing:0});break;case n.OPS.nextLineSetSpacingShowText:if(!k.state.font){Se.ensureStateFont(k.state);continue}we.wordSpacing=at[0],we.charSpacing=at[1],we.carriageReturn(),gt({chars:at[2],extraSpacing:0});break;case n.OPS.paintXObject:rt(),xe||(xe=_.get("XObject")||g.Dict.empty);var Oe=at[0]instanceof g.Name,Re=at[0].name;if(Oe&&de.getByName(Re))break;mt(new Promise(function(Te,it){if(!Oe)throw new n.FormatError("XObject must be referred to by name.");let Je=xe.getRaw(Re);if(Je instanceof g.Ref){if(de.getByRef(Je)){Te();return}if(Se.globalImageCache.getData(Je,Se.pageIndex)){Te();return}Je=Ae.fetch(Je)}if(!(Je instanceof N.BaseStream))throw new n.FormatError("XObject should be a stream");const xt=Je.dict.get("Subtype");if(!(xt instanceof g.Name))throw new n.FormatError("XObject should have a Name subtype");if(xt.name!=="Form"){de.set(Re,Je.dict.objId,!0),Te();return}const qe=k.state.clone(),st=new w(qe),ut=Je.dict.getArray("Matrix");Array.isArray(ut)&&ut.length===6&&st.transform(ut),At();const Ke={enqueueInvoked:!1,enqueue(ot,He){this.enqueueInvoked=!0,V.enqueue(ot,He)},get desiredSize(){return V.desiredSize},get ready(){return V.ready}};Se.getTextContent({stream:Je,task:J,resources:Je.dict.get("Resources")||_,stateManager:st,includeMarkedContent:O,sink:Ke,seenStyles:K,viewBox:te,markedContentData:re,disableNormalization:ie}).then(function(){Ke.enqueueInvoked||de.set(Re,Je.dict.objId,!0),Te()},it)}).catch(function(Te){if(!(Te instanceof n.AbortException)){if(Se.options.ignoreErrors){(0,n.warn)(`getTextContent - ignoring XObject: "${Te}".`);return}throw Te}}));return;case n.OPS.setGState:if(Oe=at[0]instanceof g.Name,Re=at[0].name,Oe&&pe.getByName(Re))break;mt(new Promise(function(Te,it){if(!Oe)throw new n.FormatError("GState must be referred to by name.");const Je=_.get("ExtGState");if(!(Je instanceof g.Dict))throw new n.FormatError("ExtGState should be a dictionary.");const xt=Je.get(Re);if(!(xt instanceof g.Dict))throw new n.FormatError("GState should be a dictionary.");const qe=xt.get("Font");if(!qe){pe.set(Re,xt.objId,!0),Te();return}rt(),we.fontName=null,we.fontSize=qe[1],We(null,qe[0]).then(Te,it)}).catch(function(Te){if(!(Te instanceof n.AbortException)){if(Se.options.ignoreErrors){(0,n.warn)(`getTextContent - ignoring ExtGState: "${Te}".`);return}throw Te}}));return;case n.OPS.beginMarkedContent:rt(),O&&(re.level++,Z.items.push({type:"beginMarkedContent",tag:at[0]instanceof g.Name?at[0].name:null}));break;case n.OPS.beginMarkedContentProps:if(rt(),O){re.level++;let Te=null;at[1]instanceof g.Dict&&(Te=at[1].get("MCID")),Z.items.push({type:"beginMarkedContentProps",id:Number.isInteger(Te)?`${Se.idFactory.getPageObjId()}_mc${Te}`:null,tag:at[0]instanceof g.Name?at[0].name:null})}break;case n.OPS.endMarkedContent:if(rt(),O){if(re.level===0)break;re.level--,Z.items.push({type:"endMarkedContent"})}break;case n.OPS.restore:Ne&&(Ne.font!==we.font||Ne.fontSize!==we.fontSize||Ne.fontName!==we.fontName)&&rt();break}if(Z.items.length>=V.desiredSize){It=!0;break}}if(It){mt(S);return}rt(),At(),Ge()}).catch(Ve=>{if(!(Ve instanceof n.AbortException)){if(this.options.ignoreErrors){(0,n.warn)(`getTextContent - ignoring errors during "${J.name}" task: "${Ve}".`),rt(),At();return}throw Ve}})}extractDataStructures(ne,ce,J){const _=this.xref;let k;const O=this.readToUnicode(J.toUnicode||ne.get("ToUnicode")||ce.get("ToUnicode"));if(J.composite){const Z=ne.get("CIDSystemInfo");Z instanceof g.Dict&&(J.cidSystemInfo={registry:(0,n.stringToPDFString)(Z.get("Registry")),ordering:(0,n.stringToPDFString)(Z.get("Ordering")),supplement:Z.get("Supplement")});try{const ee=ne.get("CIDToGIDMap");ee instanceof N.BaseStream&&(k=ee.getBytes())}catch(ee){if(!this.options.ignoreErrors)throw ee;(0,n.warn)(`extractDataStructures - ignoring CIDToGIDMap data: "${ee}".`)}}const V=[];let K=null,te;if(ne.has("Encoding")){if(te=ne.get("Encoding"),te instanceof g.Dict){if(K=te.get("BaseEncoding"),K=K instanceof g.Name?K.name:null,te.has("Differences")){const Z=te.get("Differences");let ee=0;for(const q of Z){const z=_.fetchIfRef(q);if(typeof z=="number")ee=z;else if(z instanceof g.Name)V[ee++]=z.name;else throw new n.FormatError(`Invalid entry in 'Differences' array: ${z}`)}}}else if(te instanceof g.Name)K=te.name;else{const Z="Encoding is not a Name nor a Dict";if(!this.options.ignoreErrors)throw new n.FormatError(Z);(0,n.warn)(Z)}K!=="MacRomanEncoding"&&K!=="MacExpertEncoding"&&K!=="WinAnsiEncoding"&&(K=null)}const re=!J.file||J.isInternalFont,ie=(0,s.getSymbolsFonts)()[J.name];if(K&&re&&ie&&(K=null),K)J.defaultEncoding=(0,t.getEncoding)(K);else{const Z=!!(J.flags&B.FontFlags.Symbolic),ee=!!(J.flags&B.FontFlags.Nonsymbolic);te=t.StandardEncoding,J.type==="TrueType"&&!ee&&(te=t.WinAnsiEncoding),(Z||ie)&&(te=t.MacRomanEncoding,re&&(/Symbol/i.test(J.name)?te=t.SymbolSetEncoding:/Dingbats/i.test(J.name)?te=t.ZapfDingbatsEncoding:/Wingdings/i.test(J.name)&&(te=t.WinAnsiEncoding))),J.defaultEncoding=te}return J.differences=V,J.baseEncodingName=K,J.hasEncoding=!!K||V.length>0,J.dict=ne,O.then(Z=>(J.toUnicode=Z,this.buildToUnicode(J))).then(Z=>(J.toUnicode=Z,k&&(J.cidToGidMap=this.readCidToGidMap(k,Z)),J))}_simpleFontToUnicode(ne){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,n.assert)(!ne.composite,"Must be a simple font.");const J=[],_=ne.defaultEncoding.slice(),k=ne.baseEncodingName,O=ne.differences;for(const K in O){const te=O[K];te!==".notdef"&&(_[K]=te)}const V=(0,j.getGlyphsUnicode)();for(const K in _){let te=_[K];if(te==="")continue;let re=V[te];if(re!==void 0){J[K]=String.fromCharCode(re);continue}let ie=0;switch(te[0]){case"G":te.length===3&&(ie=parseInt(te.substring(1),16));break;case"g":te.length===5&&(ie=parseInt(te.substring(1),16));break;case"C":case"c":if(te.length>=3&&te.length<=4){const Z=te.substring(1);if(ce){ie=parseInt(Z,16);break}if(ie=+Z,Number.isNaN(ie)&&Number.isInteger(parseInt(Z,16)))return this._simpleFontToUnicode(ne,!0)}break;case"u":re=(0,T.getUnicodeForGlyph)(te,V),re!==-1&&(ie=re);break;default:switch(te){case"f_h":case"f_t":case"T_h":J[K]=te.replaceAll("_","");continue}break}if(ie>0&&ie<=1114111&&Number.isInteger(ie)){if(k&&ie===+K){const Z=(0,t.getEncoding)(k);if(Z&&(te=Z[K])){J[K]=String.fromCharCode(V[te]);continue}}J[K]=String.fromCodePoint(ie)}}return J}async buildToUnicode(ne){var ce;if(ne.hasIncludedToUnicodeMap=((ce=ne.toUnicode)==null?void 0:ce.length)>0,ne.hasIncludedToUnicodeMap)return!ne.composite&&ne.hasEncoding&&(ne.fallbackToUnicode=this._simpleFontToUnicode(ne)),ne.toUnicode;if(!ne.composite)return new C.ToUnicodeMap(this._simpleFontToUnicode(ne));if(ne.composite&&(ne.cMap.builtInCMap&&!(ne.cMap instanceof u.IdentityCMap)||ne.cidSystemInfo.registry==="Adobe"&&(ne.cidSystemInfo.ordering==="GB1"||ne.cidSystemInfo.ordering==="CNS1"||ne.cidSystemInfo.ordering==="Japan1"||ne.cidSystemInfo.ordering==="Korea1"))){const{registry:J,ordering:_}=ne.cidSystemInfo,k=g.Name.get(`${J}-${_}-UCS2`),O=await u.CMapFactory.create({encoding:k,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),V=[],K=[];return ne.cMap.forEach(function(te,re){if(re>65535)throw new n.FormatError("Max size of CID is 65,535");const ie=O.lookup(re);if(ie){K.length=0;for(let Z=0,ee=ie.length;Z{if(ce instanceof n.AbortException)return null;if(this.options.ignoreErrors)return(0,n.warn)(`readToUnicode - ignoring ToUnicode data: "${ce}".`),null;throw ce}):Promise.resolve(null):Promise.resolve(null)}readCidToGidMap(ne,ce){const J=[];for(let _=0,k=ne.length;_>1;O===0&&!ce.has(V)||(J[V]=O)}return J}extractWidths(ne,ce,J){const _=this.xref;let k=[],O=0;const V=[];let K,te,re,ie,Z,ee,q,z;if(J.composite){if(O=ne.has("DW")?ne.get("DW"):1e3,z=ne.get("W"),z)for(te=0,re=z.length;te{if(de){const $e=[];let ze=V;for(const Ee of de)$e[ze++]=this.xref.fetchIfRef(Ee);we.widths=$e}else we.widths=this.buildCharCodeToWidth(Ae.widths,we);return new e.Font(Se,Ce,we)})}let ee=ce.get("FontName"),q=J.get("BaseFont");typeof ee=="string"&&(ee=g.Name.get(ee)),typeof q=="string"&&(q=g.Name.get(q));const z=ee==null?void 0:ee.name,ae=q==null?void 0:q.name;if(!ie&&z!==ae&&((0,n.info)(`The FontDescriptor's FontName is "${z}" but should be the same as the Font's BaseFont "${ae}".`),z&&ae&&(ae.startsWith(z)||!(0,s.isKnownFontName)(z)&&(0,s.isKnownFontName)(ae))&&(ee=null)),ee||(ee=q),!(ee instanceof g.Name))throw new n.FormatError("invalid font name");let se,le,ue,fe,ge;try{se=ce.get("FontFile","FontFile2","FontFile3")}catch(Se){if(!this.options.ignoreErrors)throw Se;(0,n.warn)(`translateFont - fetching "${ee.name}" font file: "${Se}".`),se=new a.NullStream}let me=!1,be=null,ye=null;if(se){if(se.dict){const Se=se.dict.get("Subtype");Se instanceof g.Name&&(le=Se.name),ue=se.dict.get("Length1"),fe=se.dict.get("Length2"),ge=se.dict.get("Length3")}}else if(re){const Se=(0,U.getXfaFontName)(ee.name);Se&&(re.fontFamily=`${re.fontFamily}-PdfJS-XFA`,re.metrics=Se.metrics||null,be=Se.factors||null,se=await this.fetchStandardFontData(Se.name),me=!!se,_=J=(0,U.getXfaFontDict)(ee.name),k=!0)}else if(!ie){const Se=(0,s.getStandardFontName)(ee.name);Se&&(se=await this.fetchStandardFontData(Se),me=!!se),!me&&this.options.useSystemFonts&&(ye=(0,W.getFontSubstitution)(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,ee.name,Se))}if(Z={type:O,name:ee.name,subtype:le,file:se,length1:ue,length2:fe,length3:ge,isInternalFont:me,loadedName:_.loadedName,composite:k,fixedPitch:!1,fontMatrix:J.getArray("FontMatrix")||n.FONT_IDENTITY_MATRIX,firstChar:V,lastChar:K,toUnicode:te,bbox:ce.getArray("FontBBox")||J.getArray("FontBBox"),ascent:ce.get("Ascent"),descent:ce.get("Descent"),xHeight:ce.get("XHeight")||0,capHeight:ce.get("CapHeight")||0,flags:ce.get("Flags"),italicAngle:ce.get("ItalicAngle")||0,isType3Font:ie,cssFontInfo:re,scaleFactors:be,systemFontInfo:ye},k){const Se=_.get("Encoding");Se instanceof g.Name&&(Z.cidEncoding=Se.name);const Ae=await u.CMapFactory.create({encoding:Se,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});Z.cMap=Ae,Z.vertical=Z.cMap.vertical}return this.extractDataStructures(J,_,Z).then(Se=>(this.extractWidths(J,ce,Se),new e.Font(ee.name,se,Se)))}static buildFontPaths(ne,ce,J,_){function k(O){const V=`${ne.loadedName}_path_${O}`;try{if(ne.renderer.hasBuiltPath(O))return;J.send("commonobj",[V,"FontPath",ne.renderer.getPathJs(O)])}catch(K){if(_.ignoreErrors){(0,n.warn)(`buildFontPaths - ignoring ${V} glyph: "${K}".`);return}throw K}}for(const O of ce){k(O.fontChar);const V=O.accent;V!=null&&V.fontChar&&k(V.fontChar)}}static get fallbackFontDict(){const ne=new g.Dict;return ne.set("BaseFont",g.Name.get("Helvetica")),ne.set("Type",g.Name.get("FallbackType")),ne.set("Subtype",g.Name.get("FallbackType")),ne.set("Encoding",g.Name.get("WinAnsiEncoding")),(0,n.shadow)(this,"fallbackFontDict",ne)}}d.PartialEvaluator=A;class D{constructor(ne){let{loadedName:ce,font:J,dict:_,evaluatorOptions:k}=ne;this.loadedName=ce,this.font=J,this.dict=_,this._evaluatorOptions=k||l,this.type3Loaded=null,this.type3Dependencies=J.isType3Font?new Set:null,this.sent=!1}send(ne){this.sent||(this.sent=!0,ne.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}fallback(ne){this.font.data&&(this.font.disableFontFace=!0,A.buildFontPaths(this.font,this.font.glyphCacheValues,ne,this._evaluatorOptions))}loadType3Data(ne,ce,J){if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");const _=ne.clone({ignoreErrors:!1});_.parsingType3Font=!0;const k=new g.RefSet(ne.type3FontRefs);this.dict.objId&&!k.has(this.dict.objId)&&k.put(this.dict.objId),_.type3FontRefs=k;const O=this.font,V=this.type3Dependencies;let K=Promise.resolve();const te=this.dict.get("CharProcs"),re=this.dict.get("Resources")||ce,ie=Object.create(null),Z=n.Util.normalizeRect(O.bbox||[0,0,0,0]),ee=Z[2]-Z[0],q=Z[3]-Z[1],z=Math.hypot(ee,q);for(const ae of te.getKeys())K=K.then(()=>{const se=te.get(ae),le=new E.OperatorList;return _.getOperatorList({stream:se,task:J,resources:re,operatorList:le}).then(()=>{le.fnArray[0]===n.OPS.setCharWidthAndBounds&&this._removeType3ColorOperators(le,z),ie[ae]=le.getIR();for(const ue of le.dependencies)V.add(ue)}).catch(function(ue){(0,n.warn)(`Type3 font resource "${ae}" is not available.`);const fe=new E.OperatorList;ie[ae]=fe.getIR()})});return this.type3Loaded=K.then(()=>{O.charProcOperatorList=ie,this._bbox&&(O.isCharBBox=!0,O.bbox=this._bbox)}),this.type3Loaded}_removeType3ColorOperators(ne){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN;const J=n.Util.normalizeRect(ne.argsArray[0].slice(2)),_=J[2]-J[0],k=J[3]-J[1],O=Math.hypot(_,k);_===0||k===0?(ne.fnArray.splice(0,1),ne.argsArray.splice(0,1)):(ce===0||Math.round(O/ce)>=10)&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],J[0]),this._bbox[1]=Math.min(this._bbox[1],J[1]),this._bbox[2]=Math.max(this._bbox[2],J[2]),this._bbox[3]=Math.max(this._bbox[3],J[3]));let V=0,K=ne.length;for(;V0&&arguments[0]!==void 0?arguments[0]:new I;this.state=ne,this.stateStack=[]}save(){const ne=this.state;this.stateStack.push(this.state),this.state=ne.clone()}restore(){const ne=this.stateStack.pop();ne&&(this.state=ne)}transform(ne){this.state.ctm=n.Util.transform(this.state.ctm,ne)}}class m{constructor(){this.ctm=new Float32Array(n.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.loadedName=null,this.font=null,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.textMatrix=n.IDENTITY_MATRIX.slice(),this.textLineMatrix=n.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}setTextMatrix(ne,ce,J,_,k,O){const V=this.textMatrix;V[0]=ne,V[1]=ce,V[2]=J,V[3]=_,V[4]=k,V[5]=O}setTextLineMatrix(ne,ce,J,_,k,O){const V=this.textLineMatrix;V[0]=ne,V[1]=ce,V[2]=J,V[3]=_,V[4]=k,V[5]=O}translateTextMatrix(ne,ce){const J=this.textMatrix;J[4]=J[0]*ne+J[2]*ce+J[4],J[5]=J[1]*ne+J[3]*ce+J[5]}translateTextLineMatrix(ne,ce){const J=this.textLineMatrix;J[4]=J[0]*ne+J[2]*ce+J[4],J[5]=J[1]*ne+J[3]*ce+J[5]}carriageReturn(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}clone(){const ne=Object.create(this);return ne.textMatrix=this.textMatrix.slice(),ne.textLineMatrix=this.textLineMatrix.slice(),ne.fontMatrix=this.fontMatrix.slice(),ne}}class I{constructor(){this.ctm=new Float32Array(n.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=n.TextRenderingMode.FILL,this.fillColorSpace=P.ColorSpace.singletons.gray,this.strokeColorSpace=P.ColorSpace.singletons.gray}clone(){return Object.create(this)}}const Q=class Q{static get opMap(){return(0,n.shadow)(this,"opMap",{w:{id:n.OPS.setLineWidth,numArgs:1,variableArgs:!1},J:{id:n.OPS.setLineCap,numArgs:1,variableArgs:!1},j:{id:n.OPS.setLineJoin,numArgs:1,variableArgs:!1},M:{id:n.OPS.setMiterLimit,numArgs:1,variableArgs:!1},d:{id:n.OPS.setDash,numArgs:2,variableArgs:!1},ri:{id:n.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},i:{id:n.OPS.setFlatness,numArgs:1,variableArgs:!1},gs:{id:n.OPS.setGState,numArgs:1,variableArgs:!1},q:{id:n.OPS.save,numArgs:0,variableArgs:!1},Q:{id:n.OPS.restore,numArgs:0,variableArgs:!1},cm:{id:n.OPS.transform,numArgs:6,variableArgs:!1},m:{id:n.OPS.moveTo,numArgs:2,variableArgs:!1},l:{id:n.OPS.lineTo,numArgs:2,variableArgs:!1},c:{id:n.OPS.curveTo,numArgs:6,variableArgs:!1},v:{id:n.OPS.curveTo2,numArgs:4,variableArgs:!1},y:{id:n.OPS.curveTo3,numArgs:4,variableArgs:!1},h:{id:n.OPS.closePath,numArgs:0,variableArgs:!1},re:{id:n.OPS.rectangle,numArgs:4,variableArgs:!1},S:{id:n.OPS.stroke,numArgs:0,variableArgs:!1},s:{id:n.OPS.closeStroke,numArgs:0,variableArgs:!1},f:{id:n.OPS.fill,numArgs:0,variableArgs:!1},F:{id:n.OPS.fill,numArgs:0,variableArgs:!1},"f*":{id:n.OPS.eoFill,numArgs:0,variableArgs:!1},B:{id:n.OPS.fillStroke,numArgs:0,variableArgs:!1},"B*":{id:n.OPS.eoFillStroke,numArgs:0,variableArgs:!1},b:{id:n.OPS.closeFillStroke,numArgs:0,variableArgs:!1},"b*":{id:n.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},n:{id:n.OPS.endPath,numArgs:0,variableArgs:!1},W:{id:n.OPS.clip,numArgs:0,variableArgs:!1},"W*":{id:n.OPS.eoClip,numArgs:0,variableArgs:!1},BT:{id:n.OPS.beginText,numArgs:0,variableArgs:!1},ET:{id:n.OPS.endText,numArgs:0,variableArgs:!1},Tc:{id:n.OPS.setCharSpacing,numArgs:1,variableArgs:!1},Tw:{id:n.OPS.setWordSpacing,numArgs:1,variableArgs:!1},Tz:{id:n.OPS.setHScale,numArgs:1,variableArgs:!1},TL:{id:n.OPS.setLeading,numArgs:1,variableArgs:!1},Tf:{id:n.OPS.setFont,numArgs:2,variableArgs:!1},Tr:{id:n.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},Ts:{id:n.OPS.setTextRise,numArgs:1,variableArgs:!1},Td:{id:n.OPS.moveText,numArgs:2,variableArgs:!1},TD:{id:n.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},Tm:{id:n.OPS.setTextMatrix,numArgs:6,variableArgs:!1},"T*":{id:n.OPS.nextLine,numArgs:0,variableArgs:!1},Tj:{id:n.OPS.showText,numArgs:1,variableArgs:!1},TJ:{id:n.OPS.showSpacedText,numArgs:1,variableArgs:!1},"'":{id:n.OPS.nextLineShowText,numArgs:1,variableArgs:!1},'"':{id:n.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},d0:{id:n.OPS.setCharWidth,numArgs:2,variableArgs:!1},d1:{id:n.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},CS:{id:n.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},cs:{id:n.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},SC:{id:n.OPS.setStrokeColor,numArgs:4,variableArgs:!0},SCN:{id:n.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},sc:{id:n.OPS.setFillColor,numArgs:4,variableArgs:!0},scn:{id:n.OPS.setFillColorN,numArgs:33,variableArgs:!0},G:{id:n.OPS.setStrokeGray,numArgs:1,variableArgs:!1},g:{id:n.OPS.setFillGray,numArgs:1,variableArgs:!1},RG:{id:n.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},rg:{id:n.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},K:{id:n.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},k:{id:n.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},sh:{id:n.OPS.shadingFill,numArgs:1,variableArgs:!1},BI:{id:n.OPS.beginInlineImage,numArgs:0,variableArgs:!1},ID:{id:n.OPS.beginImageData,numArgs:0,variableArgs:!1},EI:{id:n.OPS.endInlineImage,numArgs:1,variableArgs:!1},Do:{id:n.OPS.paintXObject,numArgs:1,variableArgs:!1},MP:{id:n.OPS.markPoint,numArgs:1,variableArgs:!1},DP:{id:n.OPS.markPointProps,numArgs:2,variableArgs:!1},BMC:{id:n.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},BDC:{id:n.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},EMC:{id:n.OPS.endMarkedContent,numArgs:0,variableArgs:!1},BX:{id:n.OPS.beginCompat,numArgs:0,variableArgs:!1},EX:{id:n.OPS.endCompat,numArgs:0,variableArgs:!1},BM:null,BD:null,true:null,fa:null,fal:null,fals:null,false:null,nu:null,nul:null,null:null})}constructor(ne,ce){let J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new w;this.parser=new f.Parser({lexer:new f.Lexer(ne,Q.opMap),xref:ce}),this.stateManager=J,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}get savedStatesDepth(){return this.stateManager.stateStack.length}read(ne){let ce=ne.args;for(;;){const J=this.parser.getObj();if(J instanceof g.Cmd){const _=J.cmd,k=Q.opMap[_];if(!k){(0,n.warn)(`Unknown command "${_}".`);continue}const O=k.id,V=k.numArgs;let K=ce!==null?ce.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=O>=n.OPS.moveTo&&O<=n.OPS.endPath,k.variableArgs)K>V&&(0,n.info)(`Command ${_}: expected [0, ${V}] args, but received ${K} args.`);else{if(K!==V){const te=this.nonProcessedArgs;for(;K>V;)te.push(ce.shift()),K--;for(;KQ.MAX_INVALID_PATH_OPS)throw new n.FormatError(`Invalid ${te}`);(0,n.warn)(`Skipping ${te}`),ce!==null&&(ce.length=0);continue}}return this.preprocessCommand(O,ce),ne.fn=O,ne.args=ce,!0}if(J===g.EOF)return!1;if(J!==null&&(ce===null&&(ce=[]),ce.push(J),ce.length>33))throw new n.FormatError("Too many arguments")}}preprocessCommand(ne,ce){switch(ne|0){case n.OPS.save:this.stateManager.save();break;case n.OPS.restore:this.stateManager.restore();break;case n.OPS.transform:this.stateManager.transform(ce);break}}};Xt(Q,"MAX_INVALID_PATH_OPS",10);let H=Q;d.EvaluatorPreprocessor=H},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.IdentityCMap=d.CMapFactory=d.CMap=void 0,i(140),i(2);var n=i(145),u=i(151),g=i(152),e=i(166),t=i(167),s=i(150),L=i(155);const U=["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"],C=2**24-1;class y{constructor(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=l}addCodespaceRange(l,b,R){this.codespaceRanges[l-1].push(b,R),this.numCodespaceRanges++}mapCidRange(l,b,R){if(b-l>C)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;l<=b;)this._map[l++]=R++}mapBfRange(l,b,R){if(b-l>C)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");const S=R.length-1;for(;l<=b;){this._map[l++]=R;const p=R.charCodeAt(S)+1;if(p>255){R=R.substring(0,S-1)+String.fromCharCode(R.charCodeAt(S-1)+1)+"\0";continue}R=R.substring(0,S)+String.fromCharCode(p)}}mapBfRangeToArray(l,b,R){if(b-l>C)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");const S=R.length;let p=0;for(;l<=b&&p>>0;const A=p[G];for(let D=0,w=A.length;D=m&&S<=I){R.charcode=S,R.length=G+1;return}}}R.charcode=0,R.length=1}getCharCodeLength(l){const b=this.codespaceRanges;for(let R=0,S=b.length;R=A&&l<=D)return R+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if(!(this.name==="Identity-H"||this.name==="Identity-V")||this._map.length!==65536)return!1;for(let l=0;l<65536;l++)if(this._map[l]!==l)return!1;return!0}}d.CMap=y;class f extends y{constructor(l,b){super(),this.vertical=l,this.addCodespaceRange(b,0,65535)}mapCidRange(l,b,R){(0,n.unreachable)("should not call mapCidRange")}mapBfRange(l,b,R){(0,n.unreachable)("should not call mapBfRange")}mapBfRangeToArray(l,b,R){(0,n.unreachable)("should not call mapBfRangeToArray")}mapOne(l,b){(0,n.unreachable)("should not call mapCidOne")}lookup(l){return Number.isInteger(l)&&l<=65535?l:void 0}contains(l){return Number.isInteger(l)&&l<=65535}forEach(l){for(let b=0;b<=65535;b++)l(b,b)}charCodeOf(l){return Number.isInteger(l)&&l<=65535?l:-1}getMap(){const l=new Array(65536);for(let b=0;b<=65535;b++)l[b]=b;return l}get length(){return 65536}get isIdentityCMap(){(0,n.unreachable)("should not access .isIdentityCMap")}}d.IdentityCMap=f;function x(o){let l=0;for(let b=0;b>>0}function a(o){if(typeof o!="string")throw new n.FormatError("Malformed CMap: expected string.")}function N(o){if(!Number.isInteger(o))throw new n.FormatError("Malformed CMap: expected int.")}function v(o,l){for(;;){let b=l.getObj();if(b===u.EOF)break;if((0,u.isCmd)(b,"endbfchar"))return;a(b);const R=x(b);b=l.getObj(),a(b);const S=b;o.mapOne(R,S)}}function P(o,l){for(;;){let b=l.getObj();if(b===u.EOF)break;if((0,u.isCmd)(b,"endbfrange"))return;a(b);const R=x(b);b=l.getObj(),a(b);const S=x(b);if(b=l.getObj(),Number.isInteger(b)||typeof b=="string"){const p=Number.isInteger(b)?String.fromCharCode(b):b;o.mapBfRange(R,S,p)}else if((0,u.isCmd)(b,"[")){b=l.getObj();const p=[];for(;!(0,u.isCmd)(b,"]")&&b!==u.EOF;)p.push(b),b=l.getObj();o.mapBfRangeToArray(R,S,p)}else break}throw new n.FormatError("Invalid bf range.")}function F(o,l){for(;;){let b=l.getObj();if(b===u.EOF)break;if((0,u.isCmd)(b,"endcidchar"))return;a(b);const R=x(b);b=l.getObj(),N(b);const S=b;o.mapOne(R,S)}}function B(o,l){for(;;){let b=l.getObj();if(b===u.EOF)break;if((0,u.isCmd)(b,"endcidrange"))return;a(b);const R=x(b);b=l.getObj(),a(b);const S=x(b);b=l.getObj(),N(b);const p=b;o.mapCidRange(R,S,p)}}function W(o,l){for(;;){let b=l.getObj();if(b===u.EOF)break;if((0,u.isCmd)(b,"endcodespacerange"))return;if(typeof b!="string")break;const R=x(b);if(b=l.getObj(),typeof b!="string")break;const S=x(b);o.addCodespaceRange(b.length,R,S)}throw new n.FormatError("Invalid codespace range.")}function j(o,l){const b=l.getObj();Number.isInteger(b)&&(o.vertical=!!b)}function M(o,l){const b=l.getObj();b instanceof u.Name&&(o.name=b.name)}async function T(o,l,b,R){let S,p;e:for(;;)try{const G=l.getObj();if(G===u.EOF)break;if(G instanceof u.Name)G.name==="WMode"?j(o,l):G.name==="CMapName"&&M(o,l),S=G;else if(G instanceof u.Cmd)switch(G.cmd){case"endcmap":break e;case"usecmap":S instanceof u.Name&&(p=S.name);break;case"begincodespacerange":W(o,l);break;case"beginbfchar":v(o,l);break;case"begincidchar":F(o,l);break;case"beginbfrange":P(o,l);break;case"begincidrange":B(o,l);break}}catch(G){if(G instanceof s.MissingDataException)throw G;(0,n.warn)("Invalid cMap data: "+G);continue}return!R&&p&&(R=p),R?c(o,b,R):o}async function c(o,l,b){if(o.useCMap=await h(b,l),o.numCodespaceRanges===0){const R=o.useCMap.codespaceRanges;for(let S=0;Sc(S,l,p));if(R===n.CMapCompressionType.NONE){const p=new t.Lexer(new L.Stream(b));return T(S,p,l,null)}throw new Error(`Invalid CMap "compressionType" value: ${R}`)}class E{static async create(l){let{encoding:b,fetchBuiltInCMap:R,useCMap:S}=l;if(b instanceof u.Name)return h(b.name,R);if(b instanceof g.BaseStream){const p=await T(new y,new t.Lexer(b),R,S);return p.isIdentityCMap?h(p.name,R):p}throw new Error("Encoding required.")}}d.CMapFactory=E},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.BinaryCMapReader=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(2);var n=i(145);function u(y,f){let x=0;for(let a=0;a<=f;a++)x=x<<8|y[a];return x>>>0}function g(y,f){return f===1?String.fromCharCode(y[0],y[1]):f===3?String.fromCharCode(y[0],y[1],y[2],y[3]):String.fromCharCode(...y.subarray(0,f+1))}function e(y,f,x){let a=0;for(let N=x;N>=0;N--)a+=y[N]+f[N],y[N]=a&255,a>>=8}function t(y,f){let x=1;for(let a=f;a>=0&&x>0;a--)x+=y[a],y[a]=x&255,x>>=8}const s=16,L=19;class U{constructor(f){this.buffer=f,this.pos=0,this.end=f.length,this.tmpBuf=new Uint8Array(L)}readByte(){return this.pos>=this.end?-1:this.buffer[this.pos++]}readNumber(){let f=0,x;do{const a=this.readByte();if(a<0)throw new n.FormatError("unexpected EOF in bcmap");x=!(a&128),f=f<<7|a&127}while(!x);return f}readSigned(){const f=this.readNumber();return f&1?~(f>>>1):f>>>1}readHex(f,x){f.set(this.buffer.subarray(this.pos,this.pos+x+1)),this.pos+=x+1}readHexNumber(f,x){let a;const N=this.tmpBuf;let v=0;do{const W=this.readByte();if(W<0)throw new n.FormatError("unexpected EOF in bcmap");a=!(W&128),N[v++]=W&127}while(!a);let P=x,F=0,B=0;for(;P>=0;){for(;B<8&&N.length>0;)F|=N[--v]<>=8,B-=8}}readHexSigned(f,x){this.readHexNumber(f,x);const a=f[x]&1?255:0;let N=0;for(let v=0;v<=x;v++)N=(N&1)<<8|f[v],f[v]=N>>1^a}readString(){const f=this.readNumber(),x=new Array(f);for(let a=0;a=0;){const h=c>>5;if(h===7){switch(c&31){case 0:N.readString();break;case 1:P=N.readString();break}continue}const E=!!(c&16),o=c&15;if(o+1>s)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const l=1,b=N.readNumber();switch(h){case 0:N.readHex(F,o),N.readHexNumber(B,o),e(B,F,o),x.addCodespaceRange(o+1,u(F,o),u(B,o));for(let R=1;R{Object.defineProperty(d,"__esModule",{value:!0}),d.Parser=d.Linearization=d.Lexer=void 0,i(140),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(2);var n=i(145),u=i(151),g=i(150),e=i(155),t=i(168),s=i(170),L=i(171),U=i(173),C=i(174),y=i(177),f=i(180),x=i(182),a=i(183),N=i(184);const v=1e3;function P(T){const c=[],h=T.length;let E=0;for(;E0&&arguments[0]!==void 0?arguments[0]:null;const h=this.buf1;if(this.shift(),h instanceof u.Cmd)switch(h.cmd){case"BI":return this.makeInlineImage(c);case"[":const E=[];for(;!(0,u.isCmd)(this.buf1,"]")&&this.buf1!==u.EOF;)E.push(this.getObj(c));if(this.buf1===u.EOF){if(this.recoveryMode)return E;throw new g.ParserEOFException("End of file inside array.")}return this.shift(),E;case"<<":const o=new u.Dict(this.xref);for(;!(0,u.isCmd)(this.buf1,">>")&&this.buf1!==u.EOF;){if(!(this.buf1 instanceof u.Name)){(0,n.info)("Malformed dictionary: key must be a name object"),this.shift();continue}const l=this.buf1.name;if(this.shift(),this.buf1===u.EOF)break;o.set(l,this.getObj(c))}if(this.buf1===u.EOF){if(this.recoveryMode)return o;throw new g.ParserEOFException("End of file inside dictionary.")}return(0,u.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(o,c):o:(this.shift(),o);default:return h}if(Number.isInteger(h)){if(Number.isInteger(this.buf1)&&(0,u.isCmd)(this.buf2,"R")){const E=u.Ref.get(h,this.buf1);return this.shift(),this.shift(),E}return h}return typeof h=="string"&&c?c.decryptString(h):h}findDefaultInlineStreamEnd(c){const{knownCommands:S}=this.lexer,p=c.pos,G=15;let $=0,A,D;for(;(A=c.getByte())!==-1;)if($===0)$=A===69?1:0;else if($===1)$=A===73?2:0;else if(A===32||A===10||A===13){D=c.pos;const m=c.peekBytes(G),I=m.length;if(I===0)break;for(let Q=0;Q127)){$=0;break}if($!==2)continue;if(!S){(0,n.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}const H=new j(new e.Stream(m.slice()),S);H._hexStringWarn=()=>{};let Y=0;for(;;){const Q=H.getObj();if(Q===u.EOF){$=0;break}if(Q instanceof u.Cmd){const oe=S[Q.cmd];if(oe){if(oe.variableArgs?Y<=oe.numArgs:Y===oe.numArgs)break}else{$=0;break}Y=0;continue}Y++}if($===2)break}else $=0;A===-1&&((0,n.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),D&&((0,n.warn)('... trying to recover by using the last "EI" occurrence.'),c.skip(-(c.pos-D))));let w=4;return c.skip(-w),A=c.peekByte(),c.skip(w),(0,g.isWhiteSpace)(A)||w--,c.pos-w-p}findDCTDecodeInlineStreamEnd(c){const h=c.pos;let E=!1,o,l;for(;(o=c.getByte())!==-1;)if(o===255){switch(c.getByte()){case 0:break;case 255:c.skip(-1);break;case 217:E=!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:l=c.getUint16(),l>2?c.skip(l-2):c.skip(-2);break}if(E)break}const b=c.pos-h;return o===-1?((0,n.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),c.skip(-b),this.findDefaultInlineStreamEnd(c)):(this.inlineStreamSkipEI(c),b)}findASCII85DecodeInlineStreamEnd(c){const o=c.pos;let l;for(;(l=c.getByte())!==-1;)if(l===126){const R=c.pos;for(l=c.peekByte();(0,g.isWhiteSpace)(l);)c.skip(),l=c.peekByte();if(l===62){c.skip();break}if(c.pos>R){const S=c.peekBytes(2);if(S[0]===69&&S[1]===73)break}}const b=c.pos-o;return l===-1?((0,n.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),c.skip(-b),this.findDefaultInlineStreamEnd(c)):(this.inlineStreamSkipEI(c),b)}findASCIIHexDecodeInlineStreamEnd(c){const E=c.pos;let o;for(;(o=c.getByte())!==-1&&o!==62;);const l=c.pos-E;return o===-1?((0,n.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),c.skip(-l),this.findDefaultInlineStreamEnd(c)):(this.inlineStreamSkipEI(c),l)}inlineStreamSkipEI(c){let o=0,l;for(;(l=c.getByte())!==-1;)if(o===0)o=l===69?1:0;else if(o===1)o=l===73?2:0;else if(o===2)break}makeInlineImage(c){const h=this.lexer,E=h.stream,o=Object.create(null);let l;for(;!(0,u.isCmd)(this.buf1,"ID")&&this.buf1!==u.EOF;){if(!(this.buf1 instanceof u.Name))throw new n.FormatError("Dictionary key must be a name object");const D=this.buf1.name;if(this.shift(),this.buf1===u.EOF)break;o[D]=this.getObj(c)}h.beginInlineImagePos!==-1&&(l=E.pos-h.beginInlineImagePos);const b=this.xref.fetchIfRef(o.F||o.Filter);let R;if(b instanceof u.Name)R=b.name;else if(Array.isArray(b)){const D=this.xref.fetchIfRef(b[0]);D instanceof u.Name&&(R=D.name)}const S=E.pos;let p;switch(R){case"DCT":case"DCTDecode":p=this.findDCTDecodeInlineStreamEnd(E);break;case"A85":case"ASCII85Decode":p=this.findASCII85DecodeInlineStreamEnd(E);break;case"AHx":case"ASCIIHexDecode":p=this.findASCIIHexDecodeInlineStreamEnd(E);break;default:p=this.findDefaultInlineStreamEnd(E)}let G;if(p0){const D=E.pos;E.pos=h.beginInlineImagePos,G=P(E.getBytes(l+p)),E.pos=D;const w=this.imageCache[G];if(w!==void 0)return this.buf2=u.Cmd.get("EI"),this.shift(),w.reset(),w}const $=new u.Dict(this.xref);for(const D in o)$.set(D,o[D]);let A=E.makeSubStream(S,p,$);return c&&(A=c.createStream(A,p)),A=this.filter(A,$,p),A.dict=$,G!==void 0&&(A.cacheKey=`inline_img_${++this._imageId}`,this.imageCache[G]=A),this.buf2=u.Cmd.get("EI"),this.shift(),A}_findStreamLength(c,h){const{stream:E}=this.lexer;E.pos=c;const o=2048,l=h.length;for(;E.pos=l)return E.pos+=S,E.pos-c;S++}E.pos+=R}return-1}makeStream(c,h){const E=this.lexer;let o=E.stream;E.skipToNextLine();const l=o.pos-1;let b=c.get("Length");if(Number.isInteger(b)||((0,n.info)(`Bad length "${b&&b.toString()}" in stream.`),b=0),o.pos=l+b,E.nextChar(),this.tryShift()&&(0,u.isCmd)(this.buf2,"endstream"))this.shift();else{const R=new Uint8Array([101,110,100,115,116,114,101,97,109]);let S=this._findStreamLength(l,R);if(S<0){for(let G=1;G<=1;G++){const $=R.length-G,A=R.slice(0,$),D=this._findStreamLength(l,A);if(D>=0){const w=o.peekBytes($+1)[$];if(!(0,g.isWhiteSpace)(w))break;(0,n.info)(`Found "${(0,n.bytesToString)(A)}" when searching for endstream command.`),S=D;break}}if(S<0)throw new n.FormatError("Missing endstream command.")}b=S,E.nextChar(),this.shift(),this.shift()}return this.shift(),o=o.makeSubStream(l,b,c),h&&(o=h.createStream(o,b)),o=this.filter(o,c,b),o.dict=c,o}filter(c,h,E){let o=h.get("F","Filter"),l=h.get("DP","DecodeParms");if(o instanceof u.Name)return Array.isArray(l)&&(0,n.warn)("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(c,o.name,E,l);let b=E;if(Array.isArray(o)){const R=o,S=l;for(let p=0,G=R.length;p=48&&T<=57?T&15:T>=65&&T<=70||T>=97&&T<=102?(T&15)+9:-1}class j{constructor(c){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.stream=c,this.nextChar(),this.strBuf=[],this.knownCommands=h,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let c=this.currentChar,h=!1,E=0,o=1;if(c===45?(o=-1,c=this.nextChar(),c===45&&(c=this.nextChar())):c===43&&(c=this.nextChar()),c===10||c===13)do c=this.nextChar();while(c===10||c===13);if(c===46&&(E=10,c=this.nextChar()),c<48||c>57){const S=`Invalid number: ${String.fromCharCode(c)} (charCode ${c})`;if((0,g.isWhiteSpace)(c)||c===-1)return(0,n.info)(`Lexer.getNumber - "${S}".`),0;throw new n.FormatError(S)}let l=c-48,b=0,R=1;for(;(c=this.nextChar())>=0;)if(c>=48&&c<=57){const S=c-48;h?b=b*10+S:(E!==0&&(E*=10),l=l*10+S)}else if(c===46)if(E===0)E=1;else break;else if(c===45)(0,n.warn)("Badly formatted number: minus sign in the middle");else if(c===69||c===101){if(c=this.peekChar(),c===43||c===45)R=c===45?-1:1,this.nextChar();else if(c<48||c>57)break;h=!0}else break;return E!==0&&(l/=E),h&&(l*=10**(R*b)),o*l}getString(){let c=1,h=!1;const E=this.strBuf;E.length=0;let o=this.nextChar();for(;;){let l=!1;switch(o|0){case-1:(0,n.warn)("Unterminated string"),h=!0;break;case 40:++c,E.push("(");break;case 41:--c===0?(this.nextChar(),h=!0):E.push(")");break;case 92:switch(o=this.nextChar(),o){case-1:(0,n.warn)("Unterminated string"),h=!0;break;case 110:E.push(` `);break;case 114:E.push("\r");break;case 116:E.push(" ");break;case 98:E.push("\b");break;case 102:E.push("\f");break;case 92:case 40:case 41:E.push(String.fromCharCode(o));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let b=o&15;o=this.nextChar(),l=!0,o>=48&&o<=55&&(b=(b<<3)+(o&15),o=this.nextChar(),o>=48&&o<=55&&(l=!1,b=(b<<3)+(o&15))),E.push(String.fromCharCode(b));break;case 13:this.peekChar()===10&&this.nextChar();break;case 10:break;default:E.push(String.fromCharCode(o));break}break;default:E.push(String.fromCharCode(o));break}if(h)break;l||(o=this.nextChar())}return E.join("")}getName(){let c,h;const E=this.strBuf;for(E.length=0;(c=this.nextChar())>=0&&!B[c];)if(c===35){if(c=this.nextChar(),B[c]){(0,n.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),E.push("#");break}const o=W(c);if(o!==-1){h=c,c=this.nextChar();const l=W(c);if(l===-1){if((0,n.warn)(`Lexer_getName: Illegal digit (${String.fromCharCode(c)}) in hexadecimal number.`),E.push("#",String.fromCharCode(h)),B[c])break;E.push(String.fromCharCode(c));continue}E.push(String.fromCharCode(o<<4|l))}else E.push("#",String.fromCharCode(c))}else E.push(String.fromCharCode(c));return E.length>127&&(0,n.warn)(`Name token is longer than allowed by the spec: ${E.length}`),u.Name.get(E.join(""))}_hexStringWarn(c){if(this._hexStringNumWarn++===5){(0,n.warn)("getHexString - ignoring additional invalid characters.");return}this._hexStringNumWarn>5||(0,n.warn)(`getHexString - ignoring invalid character: ${c}`)}getHexString(){const c=this.strBuf;c.length=0;let h=this.currentChar,E=!0,o,l;for(this._hexStringNumWarn=0;;)if(h<0){(0,n.warn)("Unterminated hex string");break}else if(h===62){this.nextChar();break}else if(B[h]===1){h=this.nextChar();continue}else{if(E){if(o=W(h),o===-1){this._hexStringWarn(h),h=this.nextChar();continue}}else{if(l=W(h),l===-1){this._hexStringWarn(h),h=this.nextChar();continue}c.push(String.fromCharCode(o<<4|l))}E=!E,h=this.nextChar()}return c.join("")}getObj(){let c=!1,h=this.currentChar;for(;;){if(h<0)return u.EOF;if(c)(h===10||h===13)&&(c=!1);else if(h===37)c=!0;else if(B[h]!==1)break;h=this.nextChar()}switch(h|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(),u.Cmd.get("[");case 93:return this.nextChar(),u.Cmd.get("]");case 60:return h=this.nextChar(),h===60?(this.nextChar(),u.Cmd.get("<<")):this.getHexString();case 62:return h=this.nextChar(),h===62?(this.nextChar(),u.Cmd.get(">>")):u.Cmd.get(">");case 123:return this.nextChar(),u.Cmd.get("{");case 125:return this.nextChar(),u.Cmd.get("}");case 41:throw this.nextChar(),new n.FormatError(`Illegal character: ${h}`)}let E=String.fromCharCode(h);if(h<32||h>127){const b=this.peekChar();if(b>=32&&b<=127)return this.nextChar(),u.Cmd.get(E)}const o=this.knownCommands;let l=(o==null?void 0:o[E])!==void 0;for(;(h=this.nextChar())>=0&&!B[h];){const b=E+String.fromCharCode(h);if(l&&o[b]===void 0)break;if(E.length===128)throw new n.FormatError(`Command token too long: ${E.length}`);E=b,l=(o==null?void 0:o[E])!==void 0}return E==="true"?!0:E==="false"?!1:E==="null"?null:(E==="BI"&&(this.beginInlineImagePos=this.stream.pos),u.Cmd.get(E))}skipToNextLine(){let c=this.currentChar;for(;c>=0;){if(c===13){c=this.nextChar(),c===10&&this.nextChar();break}else if(c===10){this.nextChar();break}c=this.nextChar()}}}d.Lexer=j;class M{static create(c){function h($,A){let D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const w=$.get(A);if(Number.isInteger(w)&&(D?w>=0:w>0))return w;throw new Error(`The "${A}" parameter in the linearization dictionary is invalid.`)}function E($){const A=$.get("H");let D;if(Array.isArray(A)&&((D=A.length)===2||D===4)){for(let w=0;w0))throw new Error(`Hint (${w}) in the linearization dictionary is invalid.`)}return A}throw new Error("Hint array in the linearization dictionary is invalid.")}const o=new F({lexer:new j(c),xref:null}),l=o.getObj(),b=o.getObj(),R=o.getObj(),S=o.getObj();let p,G;if(Number.isInteger(l)&&Number.isInteger(b)&&(0,u.isCmd)(R,"obj")&&S instanceof u.Dict&&typeof(p=S.get("Linearized"))=="number"&&p>0){if((G=h(S,"L"))!==c.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.')}else return null;return{length:G,hints:E(S),objectNumberFirst:h(S,"O"),endFirst:h(S,"E"),numPages:h(S,"N"),mainXRefEntriesOffset:h(S,"T"),pageFirst:S.has("P")?h(S,"P",!0):0}}}d.Linearization=M},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.Ascii85Stream=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(169),u=i(150);class g extends n.DecodeStream{constructor(t,s){s&&(s*=.8),super(s),this.str=t,this.dict=t.dict,this.input=new Uint8Array(5)}readBlock(){const U=this.str;let C=U.getByte();for(;(0,u.isWhiteSpace)(C);)C=U.getByte();if(C===-1||C===126){this.eof=!0;return}const y=this.bufferLength;let f,x;if(C===122){for(f=this.ensureBuffer(y+4),x=0;x<4;++x)f[y+x]=0;this.bufferLength+=4}else{const a=this.input;for(a[0]=C,x=1;x<5;++x){for(C=U.getByte();(0,u.isWhiteSpace)(C);)C=U.getByte();if(a[x]=C,C===-1||C===126)break}if(f=this.ensureBuffer(y+x-1),this.bufferLength+=x-1,x<5){for(;x<5;++x)a[x]=117;this.eof=!0}let N=0;for(x=0;x<5;++x)N=N*85+(a[x]-33);for(x=3;x>=0;--x)f[y+x]=N&255,N>>=8}}}d.Ascii85Stream=g},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.StreamsSequenceStream=d.DecodeStream=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140);var n=i(152),u=i(155);const g=new Uint8Array(0);class e extends n.BaseStream{constructor(L){if(super(),this._rawMinBufferLength=L||0,this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=g,this.minBufferLength=512,L)for(;this.minBufferLengthy&&(C=y)}else{for(;!this.eof;)this.readBlock();C=this.bufferLength}return this.pos=C,this.buffer.subarray(U,C)}reset(){this.pos=0}makeSubStream(L,U){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(U===void 0)for(;!this.eof;)this.readBlock();else{const y=L+U;for(;this.bufferLength<=y&&!this.eof;)this.readBlock()}return new u.Stream(this.buffer,L,U,C)}getBaseStreams(){return this.str?this.str.getBaseStreams():null}}d.DecodeStream=e;class t extends e{constructor(L){let U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=0;for(const y of L)C+=y instanceof e?y._rawMinBufferLength:y.length;super(C),this.streams=L,this._onError=U}readBlock(){var a;const L=this.streams;if(L.length===0){this.eof=!0;return}const U=L.shift();let C;try{C=U.getBytes()}catch(N){if(this._onError){this._onError(N,(a=U.dict)==null?void 0:a.objId);return}throw N}const y=this.bufferLength,f=y+C.length;this.ensureBuffer(f).set(C,y),this.bufferLength=f}getBaseStreams(){const L=[];for(const U of this.streams){const C=U.getBaseStreams();C&&L.push(...C)}return L.length>0?L:null}}d.StreamsSequenceStream=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.AsciiHexStream=void 0;var n=i(169);class u extends n.DecodeStream{constructor(e,t){t&&(t*=.5),super(t),this.str=e,this.dict=e.dict,this.firstDigit=-1}readBlock(){const t=this.str.getBytes(8e3);if(!t.length){this.eof=!0;return}const s=t.length+1>>1,L=this.ensureBuffer(this.bufferLength+s);let U=this.bufferLength,C=this.firstDigit;for(const y of t){let f;if(y>=48&&y<=57)f=y&15;else if(y>=65&&y<=70||y>=97&&y<=102)f=(y&15)+9;else if(y===62){this.eof=!0;break}else continue;C<0?C=f:(L[U++]=C<<4|f,C=-1)}C>=0&&this.eof&&(L[U++]=C<<4,C=-1),this.firstDigit=C,this.bufferLength=U}}d.AsciiHexStream=u},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.CCITTFaxStream=void 0;var n=i(172),u=i(169),g=i(151);class e extends u.DecodeStream{constructor(s,L,U){super(L),this.str=s,this.dict=s.dict,U instanceof g.Dict||(U=g.Dict.empty);const C={next(){return s.getByte()}};this.ccittFaxDecoder=new n.CCITTFaxDecoder(C,{K:U.get("K"),EndOfLine:U.get("EndOfLine"),EncodedByteAlign:U.get("EncodedByteAlign"),Columns:U.get("Columns"),Rows:U.get("Rows"),EndOfBlock:U.get("EndOfBlock"),BlackIs1:U.get("BlackIs1")})}readBlock(){for(;!this.eof;){const s=this.ccittFaxDecoder.readNextChar();if(s===-1){this.eof=!0;return}this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=s}}}d.CCITTFaxStream=e},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.CCITTFaxDecoder=void 0,i(2),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(145);const u=-2,g=-1,e=0,t=1,s=2,L=3,U=4,C=5,y=6,f=7,x=8,a=[[-1,-1],[-1,-1],[7,x],[7,f],[6,y],[6,y],[6,C],[6,C],[4,e],[4,e],[4,e],[4,e],[4,e],[4,e],[4,e],[4,e],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,t],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,U],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[3,L],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s],[1,s]],N=[[-1,-1],[12,u],[-1,-1],[-1,-1],[-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]],v=[[-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]],P=[[-1,-1],[-1,-1],[12,u],[12,u],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-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]],F=[[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]],B=[[-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]];class W{constructor(M){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!M||typeof M.next!="function")throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=M,this.eof=!1,this.encoding=T.K||0,this.eoline=T.EndOfLine||!1,this.byteAlign=T.EncodedByteAlign||!1,this.columns=T.Columns||1728,this.rows=T.Rows||0,this.eoblock=T.EndOfBlock??!0,this.black=T.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;let c;for(;(c=this._lookBits(12))===0;)this._eatBits(1);c===1&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}readNextChar(){if(this.eof)return-1;const M=this.refLine,T=this.codingLine,c=this.columns;let h,E,o,l;if(this.outputBits===0){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;this.err=!1;let R,S,p;if(this.nextLine2D){for(l=0;T[l]=64);do S+=p=this._getWhiteCode();while(p>=64)}else{do R+=p=this._getWhiteCode();while(p>=64);do S+=p=this._getBlackCode();while(p>=64)}for(this._addPixels(T[this.codingPos]+R,E),T[this.codingPos]0?--h:++h;M[h]<=T[this.codingPos]&&M[h]0?--h:++h;M[h]<=T[this.codingPos]&&M[h]0?--h:++h;M[h]<=T[this.codingPos]&&M[h]=64);else do R+=p=this._getWhiteCode();while(p>=64);this._addPixels(T[this.codingPos]+R,E),E^=1}let G=!1;if(this.byteAlign&&(this.inputBits&=-8),!this.eoblock&&this.row===this.rows-1)this.rowsDone=!0;else{if(R=this._lookBits(12),this.eoline)for(;R!==g&&R!==1;)this._eatBits(1),R=this._lookBits(12);else for(;R===0;)this._eatBits(1),R=this._lookBits(12);R===1?(this._eatBits(12),G=!0):R===g&&(this.eof=!0)}if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&G&&this.byteAlign){if(R=this._lookBits(12),R===1){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(l=0;l<4;++l)R=this._lookBits(12),R!==1&&(0,n.info)("bad rtc code: "+R),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(R=this._lookBits(13),R===g)return this.eof=!0,-1;if(R>>1===1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(R&1))}this.outputBits=T[0]>0?T[this.codingPos=0]:T[this.codingPos=1],this.row++}let b;if(this.outputBits>=8)b=this.codingPos&1?0:255,this.outputBits-=8,this.outputBits===0&&T[this.codingPos]o?(b<<=o,this.codingPos&1||(b|=255>>8-o),this.outputBits-=o,o=0):(b<<=this.outputBits,this.codingPos&1||(b|=255>>8-this.outputBits),o-=this.outputBits,this.outputBits=0,T[this.codingPos]0&&(b<<=o,o=0))}while(o)}return this.black&&(b^=255),b}_addPixels(M,T){const c=this.codingLine;let h=this.codingPos;M>c[h]&&(M>this.columns&&((0,n.info)("row is wrong length"),this.err=!0,M=this.columns),h&1^T&&++h,c[h]=M),this.codingPos=h}_addPixelsNeg(M,T){const c=this.codingLine;let h=this.codingPos;if(M>c[h])M>this.columns&&((0,n.info)("row is wrong length"),this.err=!0,M=this.columns),h&1^T&&++h,c[h]=M;else if(M0&&M=E){const b=c[l-E];if(b[0]===o)return this._eatBits(o),[!0,b[1],!0]}}return[!1,0,!1]}_getTwoDimCode(){let M=0,T;if(this.eoblock){if(M=this._lookBits(7),T=a[M],(T==null?void 0:T[0])>0)return this._eatBits(T[0]),T[1]}else{const c=this._findTableCode(1,7,a);if(c[0]&&c[2])return c[1]}return(0,n.info)("Bad two dim code"),g}_getWhiteCode(){let M=0,T;if(this.eoblock){if(M=this._lookBits(12),M===g)return 1;if(T=M>>5?v[M>>3]:N[M],T[0]>0)return this._eatBits(T[0]),T[1]}else{let c=this._findTableCode(1,9,v);if(c[0]||(c=this._findTableCode(11,12,N),c[0]))return c[1]}return(0,n.info)("bad white code"),this._eatBits(1),1}_getBlackCode(){let M,T;if(this.eoblock){if(M=this._lookBits(13),M===g)return 1;if(M>>7?!(M>>9)&&M>>7?T=F[(M>>1)-64]:T=B[M>>7]:T=P[M],T[0]>0)return this._eatBits(T[0]),T[1]}else{let c=this._findTableCode(2,6,B);if(c[0]||(c=this._findTableCode(7,12,F,64),c[0])||(c=this._findTableCode(10,13,P),c[0]))return c[1]}return(0,n.info)("bad black code"),this._eatBits(1),1}_lookBits(M){let T;for(;this.inputBits>16-M;this.inputBuf=this.inputBuf<<8|T,this.inputBits+=8}return this.inputBuf>>this.inputBits-M&65535>>16-M}_eatBits(M){(this.inputBits-=M)<0&&(this.inputBits=0)}}d.CCITTFaxDecoder=W},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.FlateStream=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(169),u=i(145);const g=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),e=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]),t=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]),s=[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],L=[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];class U extends n.DecodeStream{constructor(y,f){super(f),this.str=y,this.dict=y.dict;const x=y.getByte(),a=y.getByte();if(x===-1||a===-1)throw new u.FormatError(`Invalid header in flate stream: ${x}, ${a}`);if((x&15)!==8)throw new u.FormatError(`Unknown compression method in flate stream: ${x}, ${a}`);if(((x<<8)+a)%31!==0)throw new u.FormatError(`Bad FCHECK in flate stream: ${x}, ${a}`);if(a&32)throw new u.FormatError(`FDICT bit set in flate stream: ${x}, ${a}`);this.codeSize=0,this.codeBuf=0}getBits(y){const f=this.str;let x=this.codeSize,a=this.codeBuf,N;for(;x>y,this.codeSize=x-=y,N}getCode(y){const f=this.str,x=y[0],a=y[1];let N=this.codeSize,v=this.codeBuf,P;for(;N>16,W=F&65535;if(B<1||N>B,this.codeSize=N-B,W}generateHuffmanTable(y){const f=y.length;let x=0,a;for(a=0;ax&&(x=y[a]);const N=1<>=1;for(a=j;a>=1,a===0){let B;if((B=x.getByte())===-1)throw new u.FormatError("Bad block header in flate stream");let W=B;if((B=x.getByte())===-1)throw new u.FormatError("Bad block header in flate stream");if(W|=B<<8,(B=x.getByte())===-1)throw new u.FormatError("Bad block header in flate stream");let j=B;if((B=x.getByte())===-1)throw new u.FormatError("Bad block header in flate stream");if(j|=B<<8,j!==(~W&65535)&&(W!==0||j!==0))throw new u.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;const M=this.bufferLength,T=M+W;if(y=this.ensureBuffer(T),this.bufferLength=T,W===0)x.peekByte()===-1&&(this.eof=!0);else{const c=x.getBytes(W);y.set(c,M),c.length0;)E[T++]=b}N=this.generateHuffmanTable(E.subarray(0,B)),v=this.generateHuffmanTable(E.subarray(B,h))}else throw new u.FormatError("Unknown block type in flate stream");y=this.buffer;let P=y?y.length:0,F=this.bufferLength;for(;;){let B=this.getCode(N);if(B<256){F+1>=P&&(y=this.ensureBuffer(F+1),P=y.length),y[F++]=B;continue}if(B===256){this.bufferLength=F;return}B-=257,B=e[B];let W=B>>16;W>0&&(W=this.getBits(W)),f=(B&65535)+W,B=this.getCode(v),B=t[B],W=B>>16,W>0&&(W=this.getBits(W));const j=(B&65535)+W;F+f>=P&&(y=this.ensureBuffer(F+f),P=y.length);for(let M=0;M{Object.defineProperty(d,"__esModule",{value:!0}),d.Jbig2Stream=void 0,i(140);var n=i(152),u=i(169),g=i(151),e=i(175),t=i(145);class s extends u.DecodeStream{constructor(U,C,y){super(C),this.stream=U,this.dict=U.dict,this.maybeLength=C,this.params=y}get bytes(){return(0,t.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(U){}readBlock(){if(this.eof)return;const U=new e.Jbig2Image,C=[];if(this.params instanceof g.Dict){const x=this.params.get("JBIG2Globals");if(x instanceof n.BaseStream){const a=x.getBytes();C.push({data:a,start:0,end:a.length})}}C.push({data:this.bytes,start:0,end:this.bytes.length});const y=U.parseChunks(C),f=y.length;for(let x=0;x{Object.defineProperty(d,"__esModule",{value:!0}),d.Jbig2Image=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140),i(2);var n=i(145),u=i(150),g=i(176),e=i(172);class t extends n.BaseException{constructor(_){super(`JBIG2 error: ${_}`,"Jbig2Error")}}class s{getContexts(_){return _ in this?this[_]:this[_]=new Int8Array(65536)}}class L{constructor(_,k,O){this.data=_,this.start=k,this.end=O}get decoder(){const _=new g.ArithmeticDecoder(this.data,this.start,this.end);return(0,n.shadow)(this,"decoder",_)}get contextCache(){const _=new s;return(0,n.shadow)(this,"contextCache",_)}}const U=2**31-1,C=-(2**31);function y(J,_,k){const O=J.getContexts(_);let V=1;function K(Z){let ee=0;for(let q=0;q>>0}const te=K(1),re=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);let ie;return te===0?ie=re:re>0&&(ie=-re),ie>=C&&ie<=U?ie:null}function f(J,_,k){const O=J.getContexts("IAID");let V=1;for(let K=0;K=Fe&&tt=xe)for(Le=Le<<1&se,me=0;me=0&&We<_&&(nt=De+z[me],nt>=0&&(Qe=we[nt][We],Qe&&(Le|=Qe<=J?$e<<=1:$e=$e<<1|ye[Ce][we];for(ae=0;ae=me||we<0||we>=ge?$e<<=1:$e=$e<<1|O[Ce][we];const ze=Se.readBit(Ae,$e);de[pe]=ze}}return ye}function j(J,_,k,O,V,K,te,re,ie,Z,ee,q){if(J&&_)throw new t("symbol refinement with Huffman is not supported");const z=[];let ae=0,se=(0,u.log2)(k.length+O);const le=ee.decoder,ue=ee.contextCache;let fe,ge;for(J&&(fe=m(1),ge=[],se=Math.max(se,1));z.length1)$e=M(J,_,de,ae,0,ze,1,k.concat(z),se,0,0,1,0,K,ie,Z,ee,0,q);else{const Ee=f(ue,le,se),tt=y(ue,"IARDX",le),nt=y(ue,"IARDY",le),We=Ee1&&(we=J?ge.readBits(fe):y(Ae,"IAIT",Se));const $e=te*Fe+we,ze=J?ae.symbolIDTable.decode(ge):f(Ae,Se,ie),Ee=_&&(J?ge.readBit():y(Ae,"IARI",Se));let tt=re[ze],nt=tt[0].length,We=tt.length;if(Ee){const At=y(Ae,"IARDW",Se),Ot=y(Ae,"IARDH",Se),Ve=y(Ae,"IARDX",Se),Ge=y(Ae,"IARDY",Se);nt+=At,We+=Ot,tt=W(nt,We,se,tt,(At>>1)+Ve,(Ot>>1)+Ge,!1,le,ue)}const Le=$e-(q&1?0:We-1),Qe=Ce-(q&2?nt-1:0);let gt,De,St;if(Z){for(gt=0;gt=0;fe--)J?Ce=ne(pe,ie,Z,!0):Ce=B(!1,ie,Z,k,!1,null,xe,se),de[fe]=Ce;let we,$e,ze,Ee,tt,nt,We,Le,Qe;for(we=0;we=0;ge--)ze^=de[ge][we][$e],Ee|=ze<>8,We=q+we*z-$e*ae>>8,nt>=0&&nt+Se<=O&&We>=0&&We+Ae<=V)for(fe=0;fe=V))for(Qe=ue[De],Le=tt[fe],ge=0;ge=0&>>5&7;const ie=[te&31];let Z=_+6;if(te===7){re=(0,u.readUint32)(J,Z-1)&536870911,Z+=3;let se=re+7>>3;for(ie[0]=J[Z++];--se>0;)ie.push(J[Z++])}else if(te===5||te===6)throw new t("invalid referred-to flags");k.retainBits=ie;let ee=4;k.number<=256?ee=1:k.number<=65536&&(ee=2);const q=[];let z,ae;for(z=0;z>>24&255,ge[3]=se.height>>16&255,ge[4]=se.height>>8&255,ge[5]=se.height&255,z=Z,ae=J.length;z>2&3,q.huffmanDWSelector=z>>4&3,q.bitmapSizeSelector=z>>6&1,q.aggregationInstancesSelector=z>>7&1,q.bitmapCodingContextUsed=!!(z&256),q.bitmapCodingContextRetained=!!(z&512),q.template=z>>10&3,q.refinementTemplate=z>>12&1,K+=2,!q.huffman){for(Z=q.template===0?4:1,re=[],ie=0;ie>2&3,ae.stripSize=1<>4&3,ae.transposed=!!(se&64),ae.combinationOperator=se>>7&3,ae.defaultPixelValue=se>>9&1,ae.dsOffset=se<<17>>27,ae.refinementTemplate=se>>15&1,ae.huffman){const Ae=(0,u.readUint16)(O,K);K+=2,ae.huffmanFS=Ae&3,ae.huffmanDS=Ae>>2&3,ae.huffmanDT=Ae>>4&3,ae.huffmanRefinementDW=Ae>>6&3,ae.huffmanRefinementDH=Ae>>8&3,ae.huffmanRefinementDX=Ae>>10&3,ae.huffmanRefinementDY=Ae>>12&3,ae.huffmanRefinementSizeSelector=!!(Ae&16384)}if(ae.refinement&&!ae.refinementTemplate){for(re=[],ie=0;ie<2;ie++)re.push({x:(0,u.readInt8)(O,K),y:(0,u.readInt8)(O,K+1)}),K+=2;ae.refinementAt=re}ae.numberOfSymbolInstances=(0,u.readUint32)(O,K),K+=4,te=[ae,k.referredTo,O,K,V];break;case 16:const le={},ue=O[K++];le.mmr=!!(ue&1),le.template=ue>>1&3,le.patternWidth=O[K++],le.patternHeight=O[K++],le.maxPatternIndex=(0,u.readUint32)(O,K),K+=4,te=[le,k.number,O,K,V];break;case 22:case 23:const fe={};fe.info=o(O,K),K+=l;const ge=O[K++];fe.mmr=!!(ge&1),fe.template=ge>>1&3,fe.enableSkip=!!(ge&8),fe.combinationOperator=ge>>4&7,fe.defaultPixelValue=ge>>7&1,fe.gridWidth=(0,u.readUint32)(O,K),K+=4,fe.gridHeight=(0,u.readUint32)(O,K),K+=4,fe.gridOffsetX=(0,u.readUint32)(O,K)&4294967295,K+=4,fe.gridOffsetY=(0,u.readUint32)(O,K)&4294967295,K+=4,fe.gridVectorX=(0,u.readUint16)(O,K),K+=2,fe.gridVectorY=(0,u.readUint16)(O,K),K+=2,te=[fe,k.referredTo,O,K,V];break;case 38:case 39:const me={};me.info=o(O,K),K+=l;const be=O[K++];if(me.mmr=!!(be&1),me.template=be>>1&3,me.prediction=!!(be&8),!me.mmr){for(Z=me.template===0?4:1,re=[],ie=0;ie>2&1,ye.combinationOperator=Se>>3&3,ye.requiresBuffer=!!(Se&32),ye.combinationOperatorOverride=!!(Se&64),te=[ye];break;case 49:break;case 50:break;case 51:break;case 53:te=[k.number,O,K,V];break;case 62:break;default:throw new t(`segment type ${k.typeName}(${k.type}) is not implemented`)}const ee="on"+k.typeName;ee in _&&_[ee].apply(_,te)}function R(J,_){for(let k=0,O=J.length;k>3,O=new Uint8ClampedArray(k*_.height);_.defaultPixelValue&&O.fill(255),this.buffer=O}drawBitmap(_,k){const O=this.currentPageInfo,V=_.width,K=_.height,te=O.width+7>>3,re=O.combinationOperatorOverride?_.combinationOperator:O.combinationOperator,ie=this.buffer,Z=128>>(_.x&7);let ee=_.y*te+(_.x>>3),q,z,ae,se;switch(re){case 0:for(q=0;q>=1,ae||(ae=128,se++);ee+=te}break;case 2:for(q=0;q>=1,ae||(ae=128,se++);ee+=te}break;default:throw new t(`operator ${re} is not supported`)}}onImmediateGenericRegion(_,k,O,V){const K=_.info,te=new L(k,O,V),re=B(_.mmr,K.width,K.height,_.template,_.prediction,null,_.at,te);this.drawBitmap(K,re)}onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion(...arguments)}onSymbolDictionary(_,k,O,V,K,te){let re,ie;_.huffman&&(re=Q(_,O,this.customTables),ie=new I(V,K,te));let Z=this.symbols;Z||(this.symbols=Z={});const ee=[];for(const z of O){const ae=Z[z];ae&&ee.push(...ae)}const q=new L(V,K,te);Z[k]=j(_.huffman,_.refinement,ee,_.numberOfNewSymbols,_.numberOfExportedSymbols,re,_.template,_.at,_.refinementTemplate,_.refinementAt,q,ie)}onImmediateTextRegion(_,k,O,V,K){const te=_.info;let re,ie;const Z=this.symbols,ee=[];for(const se of k){const le=Z[se];le&&ee.push(...le)}const q=(0,u.log2)(ee.length);_.huffman&&(ie=new I(O,V,K),re=Y(_,k,this.customTables,ee.length,ie));const z=new L(O,V,K),ae=M(_.huffman,_.refinement,te.width,te.height,_.defaultPixelValue,_.numberOfSymbolInstances,_.stripSize,ee,q,_.transposed,_.dsOffset,_.referenceCorner,_.combinationOperator,re,_.refinementTemplate,_.refinementAt,z,_.logStripSize,ie);this.drawBitmap(te,ae)}onImmediateLosslessTextRegion(){this.onImmediateTextRegion(...arguments)}onPatternDictionary(_,k,O,V,K){let te=this.patterns;te||(this.patterns=te={});const re=new L(O,V,K);te[k]=T(_.mmr,_.patternWidth,_.patternHeight,_.maxPatternIndex,_.template,re)}onImmediateHalftoneRegion(_,k,O,V,K){const te=this.patterns[k[0]],re=_.info,ie=new L(O,V,K),Z=c(_.mmr,te,_.template,re.width,re.height,_.defaultPixelValue,_.enableSkip,_.combinationOperator,_.gridWidth,_.gridHeight,_.gridOffsetX,_.gridOffsetY,_.gridVectorX,_.gridVectorY,ie);this.drawBitmap(re,Z)}onImmediateLosslessHalftoneRegion(){this.onImmediateHalftoneRegion(...arguments)}onTables(_,k,O,V){let K=this.customTables;K||(this.customTables=K={}),K[_]=D(k,O,V)}}class G{constructor(_){_.length===2?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=_[0],this.rangeLength=0,this.prefixCode=_[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=_[0],this.prefixLength=_[1],this.rangeLength=_[2],this.prefixCode=_[3],this.isLowerRange=_[4]==="lower")}}class ${constructor(_){this.children=[],_?(this.isLeaf=!0,this.rangeLength=_.rangeLength,this.rangeLow=_.rangeLow,this.isLowerRange=_.isLowerRange,this.isOOB=_.isOOB):this.isLeaf=!1}buildTree(_,k){const O=_.prefixCode>>k&1;if(k<=0)this.children[O]=new $(_);else{let V=this.children[O];V||(this.children[O]=V=new $(null)),V.buildTree(_,k-1)}}decodeNode(_){if(this.isLeaf){if(this.isOOB)return null;const O=_.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-O:O)}const k=this.children[_.readBit()];if(!k)throw new t("invalid Huffman data");return k.decodeNode(_)}}class A{constructor(_,k){k||this.assignPrefixCodes(_),this.rootNode=new $(null);for(let O=0,V=_.length;O0&&this.rootNode.buildTree(K,K.prefixLength-1)}}decode(_){return this.rootNode.decodeNode(_)}assignPrefixCodes(_){const k=_.length;let O=0;for(let ee=0;ee>1&7)+1,ie=(O>>4&7)+1,Z=[];let ee,q,z=V;do ee=te.readBits(re),q=te.readBits(ie),Z.push(new G([z,ee,q,0])),z+=1<=this.end)throw new t("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}const _=this.currentByte>>this.shift&1;return this.shift--,_}readBits(_){let k=0,O;for(O=_-1;O>=0;O--)k|=this.readBit()<=this.end?-1:this.data[this.position++]}}function H(J,_,k){let O=0;for(let V=0,K=_.length;V=32){let se,le,ue;switch(ae){case 32:if(z===0)throw new t("no previous value in symbol ID table");le=V.readBits(2)+3,se=K[z-1].prefixLength;break;case 33:le=V.readBits(3)+3,se=0;break;case 34:le=V.readBits(7)+11,se=0;break;default:throw new t("invalid code length in symbol ID table")}for(ue=0;ue>q&1,q--}if(O&&!ie)for(let ee=0;ee<5&&K.readNextChar()!==-1;ee++);return te}class ce{parseChunks(_){return S(_)}parse(_){throw new Error("Not implemented: Jbig2Image.parse")}}d.Jbig2Image=ce},(he,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.ArithmeticDecoder=void 0;const i=[{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}];class n{constructor(g,e,t){this.data=g,this.bp=e,this.dataEnd=t,this.chigh=g[e],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}byteIn(){const g=this.data;let e=this.bp;g[e]===255?g[e+1]>143?(this.clow+=65280,this.ct=8):(e++,this.clow+=g[e]<<9,this.ct=7,this.bp=e):(e++,this.clow+=e65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}readBit(g,e){let t=g[e]>>1,s=g[e]&1;const L=i[t],U=L.qe;let C,y=this.a-U;if(this.chigh>15&1,this.clow=this.clow<<1&65535,this.ct--;while(!(y&32768));return this.a=y,g[e]=t<<1|s,C}}d.ArithmeticDecoder=n},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.JpegStream=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(169),u=i(151),g=i(178),e=i(145);class t extends n.DecodeStream{constructor(L,U,C){let y;for(;(y=L.getByte())!==-1;)if(y===255){L.skip(-1);break}super(U),this.stream=L,this.dict=L.dict,this.maybeLength=U,this.params=C}get bytes(){return(0,e.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(L){}readBlock(){if(this.eof)return;const L={decodeTransform:void 0,colorTransform:void 0},U=this.dict.getArray("D","Decode");if((this.forceRGBA||this.forceRGB)&&Array.isArray(U)){const f=this.dict.get("BPC","BitsPerComponent")||8,x=U.length,a=new Int32Array(x);let N=!1;const v=(1<{Object.defineProperty(d,"__esModule",{value:!0}),d.JpegImage=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140);var n=i(145),u=i(179),g=i(150);class e extends n.BaseException{constructor(h){super(`JPEG error: ${h}`,"JpegError")}}class t extends n.BaseException{constructor(h,E){super(h,"DNLMarkerError"),this.scanLines=E}}class s extends n.BaseException{constructor(h){super(h,"EOIMarkerError")}}const L=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]),U=4017,C=799,y=3406,f=2276,x=1567,a=3784,N=5793,v=2896;function P(c,h){let E=0,o,l,b=16;for(;b>0&&!c[b-1];)b--;const R=[{children:[],index:0}];let S=R[0],p;for(o=0;o0;)S=R.pop();for(S.index++,R.push(S);R.length<=o;)R.push(p={children:[],index:0}),S.children[S.index]=p.children,S=p;E++}o+19&&arguments[9]!==void 0?arguments[9]:!1;const $=E.mcusPerLine,A=E.progressive,D=h;let w=0,m=0;function I(){if(m>0)return m--,w>>m&1;if(w=c[h++],w===255){const be=c[h++];if(be){if(be===220&&G){h+=2;const ye=(0,g.readUint16)(c,h);if(h+=2,ye>0&&ye!==E.scanLines)throw new t("Found DNL marker (0xFFDC) while parsing scan data",ye)}else if(be===217){if(G){const ye=K*(E.precision===8?8:0);if(ye>0&&Math.round(E.scanLines/ye)>=5)throw new t("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",ye)}throw new s("Found EOI marker (0xFFD9) while parsing scan data")}throw new e(`unexpected marker ${(w<<8|be).toString(16)}`)}}return m=7,w>>>7}function H(be){let ye=be;for(;;){switch(ye=ye[I()],typeof ye){case"number":return ye;case"object":continue}throw new e("invalid huffman sequence")}}function Y(be){let ye=0;for(;be>0;)ye=ye<<1|I(),be--;return ye}function Q(be){if(be===1)return I()===1?1:-1;const ye=Y(be);return ye>=1<>4;if(de===0){if(pe<15)break;Fe+=16;continue}Fe+=pe;const Ce=L[Fe];be.blockData[ye+Ce]=Q(de),Fe++}}function ne(be,ye){const Se=H(be.huffmanTableDC),Ae=Se===0?0:Q(Se)<0){J--;return}let Se=b;const Ae=R;for(;Se<=Ae;){const Fe=H(be.huffmanTableAC),xe=Fe&15,de=Fe>>4;if(xe===0){if(de<15){J=Y(de)+(1<>4,xe===0)Fe<15?(J=Y(Fe)+(1<0){for(ee=0;ee0?"unexpected":"excessive";(0,n.warn)(`decodeScan - ${ye} MCU data, current marker is: ${ue.invalid}`),h=ue.offset}if(ue.marker>=65488&&ue.marker<=65495)h+=2;else break}return h-D}function W(c,h,E){const o=c.quantizationTable,l=c.blockData;let b,R,S,p,G,$,A,D,w,m,I,H,Y,Q,oe,ne,ce;if(!o)throw new e("missing required Quantization Table.");for(let J=0;J<64;J+=8){if(w=l[h+J],m=l[h+J+1],I=l[h+J+2],H=l[h+J+3],Y=l[h+J+4],Q=l[h+J+5],oe=l[h+J+6],ne=l[h+J+7],w*=o[J],!(m|I|H|Y|Q|oe|ne)){ce=N*w+512>>10,E[J]=ce,E[J+1]=ce,E[J+2]=ce,E[J+3]=ce,E[J+4]=ce,E[J+5]=ce,E[J+6]=ce,E[J+7]=ce;continue}m*=o[J+1],I*=o[J+2],H*=o[J+3],Y*=o[J+4],Q*=o[J+5],oe*=o[J+6],ne*=o[J+7],b=N*w+128>>8,R=N*Y+128>>8,S=I,p=oe,G=v*(m-ne)+128>>8,D=v*(m+ne)+128>>8,$=H<<4,A=Q<<4,b=b+R+1>>1,R=b-R,ce=S*a+p*x+128>>8,S=S*x-p*a+128>>8,p=ce,G=G+A+1>>1,A=G-A,D=D+$+1>>1,$=D-$,b=b+p+1>>1,p=b-p,R=R+S+1>>1,S=R-S,ce=G*f+D*y+2048>>12,G=G*y-D*f+2048>>12,D=ce,ce=$*C+A*U+2048>>12,$=$*U-A*C+2048>>12,A=ce,E[J]=b+D,E[J+7]=b-D,E[J+1]=R+A,E[J+6]=R-A,E[J+2]=S+$,E[J+5]=S-$,E[J+3]=p+G,E[J+4]=p-G}for(let J=0;J<8;++J){if(w=E[J],m=E[J+8],I=E[J+16],H=E[J+24],Y=E[J+32],Q=E[J+40],oe=E[J+48],ne=E[J+56],!(m|I|H|Y|Q|oe|ne)){ce=N*w+8192>>14,ce<-2040?ce=0:ce>=2024?ce=255:ce=ce+2056>>4,l[h+J]=ce,l[h+J+8]=ce,l[h+J+16]=ce,l[h+J+24]=ce,l[h+J+32]=ce,l[h+J+40]=ce,l[h+J+48]=ce,l[h+J+56]=ce;continue}b=N*w+2048>>12,R=N*Y+2048>>12,S=I,p=oe,G=v*(m-ne)+2048>>12,D=v*(m+ne)+2048>>12,$=H,A=Q,b=(b+R+1>>1)+4112,R=b-R,ce=S*a+p*x+2048>>12,S=S*x-p*a+2048>>12,p=ce,G=G+A+1>>1,A=G-A,D=D+$+1>>1,$=D-$,b=b+p+1>>1,p=b-p,R=R+S+1>>1,S=R-S,ce=G*f+D*y+2048>>12,G=G*y-D*f+2048>>12,D=ce,ce=$*C+A*U+2048>>12,$=$*U-A*C+2048>>12,A=ce,w=b+D,ne=b-D,m=R+A,oe=R-A,I=S+$,Q=S-$,H=p+G,Y=p-G,w<16?w=0:w>=4080?w=255:w>>=4,m<16?m=0:m>=4080?m=255:m>>=4,I<16?I=0:I>=4080?I=255:I>>=4,H<16?H=0:H>=4080?H=255:H>>=4,Y<16?Y=0:Y>=4080?Y=255:Y>>=4,Q<16?Q=0:Q>=4080?Q=255:Q>>=4,oe<16?oe=0:oe>=4080?oe=255:oe>>=4,ne<16?ne=0:ne>=4080?ne=255:ne>>=4,l[h+J]=w,l[h+J+8]=m,l[h+J+16]=I,l[h+J+24]=H,l[h+J+32]=Y,l[h+J+40]=Q,l[h+J+48]=oe,l[h+J+56]=ne}}function j(c,h){const E=h.blocksPerLine,o=h.blocksPerColumn,l=new Int16Array(64);for(let b=0;b2&&arguments[2]!==void 0?arguments[2]:h;const o=c.length-1;let l=E=o)return null;const b=(0,g.readUint16)(c,h);if(b>=65472&&b<=65534)return{invalid:null,marker:b,offset:h};let R=(0,g.readUint16)(c,l);for(;!(R>=65472&&R<=65534);){if(++l>=o)return null;R=(0,g.readUint16)(c,l)}return{invalid:b.toString(16),marker:R,offset:l}}class T{constructor(){let{decodeTransform:h=null,colorTransform:E=-1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._decodeTransform=h,this._colorTransform=E}parse(h){let{dnlScanLines:E=null}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function o(){const I=(0,g.readUint16)(h,b);b+=2;let H=b+I-2;const Y=M(h,H,b);Y!=null&&Y.invalid&&((0,n.warn)("readDataBlock - incorrect length, current marker is: "+Y.invalid),H=Y.offset);const Q=h.subarray(b,H);return b+=Q.length,Q}function l(I){const H=Math.ceil(I.samplesPerLine/8/I.maxH),Y=Math.ceil(I.scanLines/8/I.maxV);for(const Q of I.components){const oe=Math.ceil(Math.ceil(I.samplesPerLine/8)*Q.h/I.maxH),ne=Math.ceil(Math.ceil(I.scanLines/8)*Q.v/I.maxV),ce=H*Q.h,_=64*(Y*Q.v)*(ce+1);Q.blockData=new Int16Array(_),Q.blocksPerLine=oe,Q.blocksPerColumn=ne}I.mcusPerLine=H,I.mcusPerColumn=Y}let b=0,R=null,S=null,p,G,$=0;const A=[],D=[],w=[];let m=(0,g.readUint16)(h,b);if(b+=2,m!==65496)throw new e("SOI not found");m=(0,g.readUint16)(h,b),b+=2;e:for(;m!==65497;){let I,H,Y;switch(m){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:const Q=o();m===65504&&Q[0]===74&&Q[1]===70&&Q[2]===73&&Q[3]===70&&Q[4]===0&&(R={version:{major:Q[5],minor:Q[6]},densityUnits:Q[7],xDensity:Q[8]<<8|Q[9],yDensity:Q[10]<<8|Q[11],thumbWidth:Q[12],thumbHeight:Q[13],thumbData:Q.subarray(14,14+3*Q[12]*Q[13])}),m===65518&&Q[0]===65&&Q[1]===100&&Q[2]===111&&Q[3]===98&&Q[4]===101&&(S={version:Q[5]<<8|Q[6],flags0:Q[7]<<8|Q[8],flags1:Q[9]<<8|Q[10],transformCode:Q[11]});break;case 65499:const oe=(0,g.readUint16)(h,b);b+=2;const ne=oe+b-2;let ce;for(;b>4)if(z>>4===1)for(H=0;H<64;H++)ce=L[H],ae[ce]=(0,g.readUint16)(h,b),b+=2;else throw new e("DQT - invalid table spec");else for(H=0;H<64;H++)ce=L[H],ae[ce]=h[b++];A[z&15]=ae}break;case 65472:case 65473:case 65474:if(p)throw new e("Only single frame JPEGs supported");b+=2,p={},p.extended=m===65473,p.progressive=m===65474,p.precision=h[b++];const J=(0,g.readUint16)(h,b);b+=2,p.scanLines=E||J,p.samplesPerLine=(0,g.readUint16)(h,b),b+=2,p.components=[],p.componentIds={};const _=h[b++];let k=0,O=0;for(I=0;I<_;I++){const z=h[b],ae=h[b+1]>>4,se=h[b+1]&15;k>4?D:w)[z&15]=P(ae,le)}break;case 65501:b+=2,G=(0,g.readUint16)(h,b),b+=2;break;case 65498:const K=++$===1&&!E;b+=2;const te=h[b++],re=[];for(I=0;I>4],se.huffmanTableAC=D[le&15],re.push(se)}const ie=h[b++],Z=h[b++],ee=h[b++];try{const z=B(h,b,p,re,G,ie,Z,ee>>4,ee&15,K);b+=z}catch(z){if(z instanceof t)return(0,n.warn)(`${z.message} -- attempting to re-parse the JPEG image.`),this.parse(h,{dnlScanLines:z.scanLines});if(z instanceof s){(0,n.warn)(`${z.message} -- ignoring the rest of the image data.`);break e}throw z}break;case 65500:b+=4;break;case 65535:h[b]!==255&&b--;break;default:const q=M(h,b-2,b-3);if(q!=null&&q.invalid){(0,n.warn)("JpegImage.parse - unexpected data, current marker is: "+q.invalid),b=q.offset;break}if(!q||b>=h.length-1){(0,n.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new e("JpegImage.parse - unknown marker: "+m.toString(16))}m=(0,g.readUint16)(h,b),b+=2}this.width=p.samplesPerLine,this.height=p.scanLines,this.jfif=R,this.adobe=S,this.components=[];for(const I of p.components){const H=A[I.quantizationId];H&&(I.quantizationTable=H),this.components.push({index:I.index,output:j(p,I),scaleX:I.h/p.maxH,scaleY:I.v/p.maxV,blocksPerLine:I.blocksPerLine,blocksPerColumn:I.blocksPerColumn})}this.numComponents=this.components.length}_getLinearizedBlockData(h,E){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const l=this.width/h,b=this.height/E;let R,S,p,G,$,A,D,w,m,I,H=0,Y;const Q=this.components.length,oe=h*E*Q,ne=new Uint8ClampedArray(oe),ce=new Uint32Array(h),J=4294967288;let _;for(D=0;D>8)+k[m+1];return ne}get _isColorConversionNeeded(){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}_convertYccToRgb(h){let E,o,l;for(let b=0,R=h.length;b4)throw new e("Unsupported color mode");const S=this._getLinearizedBlockData(E,o,R);if(this.numComponents===1&&(l||b)){const p=S.length*(l?4:3),G=new Uint8ClampedArray(p);let $=0;if(l)(0,u.grayToRGBA)(S,new Uint32Array(G.buffer));else for(const A of S)G[$++]=A,G[$++]=A,G[$++]=A;return G}else if(this.numComponents===3&&this._isColorConversionNeeded){if(l){const p=new Uint8ClampedArray(S.length/3*4);return this._convertYccToRgba(S,p)}return this._convertYccToRgb(S)}else if(this.numComponents===4){if(this._isColorConversionNeeded)return l?this._convertYcckToRgba(S):b?this._convertYcckToRgb(S):this._convertYcckToCmyk(S);if(l)return this._convertCmykToRgba(S);if(b)return this._convertCmykToRgb(S)}return S}}d.JpegImage=T},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.convertBlackAndWhiteToRGBA=g,d.convertToRGBA=u,d.grayToRGBA=t,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(145);function u(s){switch(s.kind){case n.ImageKind.GRAYSCALE_1BPP:return g(s);case n.ImageKind.RGB_24BPP:return e(s)}return null}function g(s){let{src:L,srcPos:U=0,dest:C,width:y,height:f,nonBlackColor:x=4294967295,inverseDecode:a=!1}=s;const N=n.FeatureTest.isLittleEndian?4278190080:255,[v,P]=a?[x,N]:[N,x],F=y>>3,B=y&7,W=L.length;C=new Uint32Array(C.buffer);let j=0;for(let M=0;M>2,v=new Uint32Array(L.buffer,U,N);if(n.FeatureTest.isLittleEndian){for(;a>>24|F<<8|4278190080,C[y+2]=F>>>16|B<<16|4278190080,C[y+3]=B>>>8|4278190080}for(let P=a*4,F=L.length;P>>8|255,C[y+2]=F<<16|B>>>16|255,C[y+3]=B<<8|255}for(let P=a*4,F=L.length;P{Object.defineProperty(d,"__esModule",{value:!0}),d.JpxStream=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(169),u=i(181),g=i(145);class e extends n.DecodeStream{constructor(s,L,U){super(L),this.stream=s,this.dict=s.dict,this.maybeLength=L,this.params=U}get bytes(){return(0,g.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(s){}readBlock(){if(this.eof)return;const s=new u.JpxImage;s.parse(this.bytes);const L=s.width,U=s.height,C=s.componentsCount,y=s.tiles.length;if(y===1)this.buffer=s.tiles[0].items;else{const f=new Uint8ClampedArray(L*U*C);for(let x=0;x{Object.defineProperty(d,"__esModule",{value:!0}),d.JpxImage=void 0,i(140),i(2),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(145),u=i(150),g=i(176);class e extends n.BaseException{constructor(A){super(`JPX error: ${A}`,"JpxError")}}const t={LL:0,LH:1,HL:1,HH:2};class s{constructor(){this.failOnCorruptedImage=!1}parse(A){if((0,u.readUint16)(A,0)===65359){this.parseCodestream(A,0,A.length);return}const w=A.length;let m=0;for(;m>24&255,Y>>16&255,Y>>8&255,Y&255);(0,n.warn)(`Unsupported header type ${Y} (${ce}).`);break}oe&&(m+=Q)}}parseImageProperties(A){let D=A.getByte();for(;D>=0;){const w=D;if(D=A.getByte(),(w<<8|D)===65361){A.skip(4);const I=A.getInt32()>>>0,H=A.getInt32()>>>0,Y=A.getInt32()>>>0,Q=A.getInt32()>>>0;A.skip(16);const oe=A.getUint16();this.width=I-Y,this.height=H-Q,this.componentsCount=oe,this.bitsPerComponent=8;return}}throw new e("No size marker found in JPX stream")}parseCodestream(A,D,w){const m={};let I=!1;try{let H=D;for(;H+1>5,ce=[];oe>3,ae.mu=0):(ae.epsilon=A[oe]>>3,ae.mu=(A[oe]&7)<<8|A[oe+1],oe+=2),ce.push(ae)}te.SPqcds=ce,m.mainHeader?m.QCD=te:(m.currentTile.QCD=te,m.currentTile.QCC=[]);break;case 65373:Q=(0,u.readUint16)(A,H);const re={};oe=H+2;let ie;switch(m.SIZ.Csiz<257?ie=A[oe++]:(ie=(0,u.readUint16)(A,oe),oe+=2),ne=A[oe++],ne&31){case 0:J=8,_=!0;break;case 1:J=16,_=!1;break;case 2:J=16,_=!0;break;default:throw new Error("Invalid SQcd value "+ne)}for(re.noQuantization=J===8,re.scalarExpounded=_,re.guardBits=ne>>5,ce=[];oe>3,ae.mu=0):(ae.epsilon=A[oe]>>3,ae.mu=(A[oe]&7)<<8|A[oe+1],oe+=2),ce.push(ae)}re.SPqcds=ce,m.mainHeader?m.QCC[ie]=re:m.currentTile.QCC[ie]=re;break;case 65362:Q=(0,u.readUint16)(A,H);const Z={};oe=H+2;const ee=A[oe++];Z.entropyCoderWithCustomPrecincts=!!(ee&1),Z.sopMarkerUsed=!!(ee&2),Z.ephMarkerUsed=!!(ee&4),Z.progressionOrder=A[oe++],Z.layersCount=(0,u.readUint16)(A,oe),oe+=2,Z.multipleComponentTransform=A[oe++],Z.decompositionLevelsCount=A[oe++],Z.xcb=(A[oe++]&15)+2,Z.ycb=(A[oe++]&15)+2;const q=A[oe++];if(Z.selectiveArithmeticCodingBypass=!!(q&1),Z.resetContextProbabilities=!!(q&2),Z.terminationOnEachCodingPass=!!(q&4),Z.verticallyStripe=!!(q&8),Z.predictableTermination=!!(q&16),Z.segmentationSymbolUsed=!!(q&32),Z.reversibleTransformation=A[oe++],Z.entropyCoderWithCustomPrecincts){const ae=[];for(;oe>4})}Z.precinctsSizes=ae}const z=[];Z.selectiveArithmeticCodingBypass&&z.push("selectiveArithmeticCodingBypass"),Z.terminationOnEachCodingPass&&z.push("terminationOnEachCodingPass"),Z.verticallyStripe&&z.push("verticallyStripe"),Z.predictableTermination&&z.push("predictableTermination"),z.length>0&&(I=!0,(0,n.warn)(`JPX: Unsupported COD options (${z.join(", ")}).`)),m.mainHeader?m.COD=Z:(m.currentTile.COD=Z,m.currentTile.COC=[]);break;case 65424:Q=(0,u.readUint16)(A,H),k={},k.index=(0,u.readUint16)(A,H+2),k.length=(0,u.readUint32)(A,H+4),k.dataEnd=k.length+H-2,k.partIndex=A[H+8],k.partsCount=A[H+9],m.mainHeader=!1,k.partIndex===0&&(k.COD=m.COD,k.COC=m.COC.slice(0),k.QCD=m.QCD,k.QCC=m.QCC.slice(0)),m.currentTile=k;break;case 65427:k=m.currentTile,k.partIndex===0&&(E(m,k.index),j(m)),Q=k.dataEnd-H,M(m,A,H,Q);break;case 65363:(0,n.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:Q=(0,u.readUint16)(A,H);break;default:throw new Error("Unknown codestream code: "+Y.toString(16))}H+=Q}}catch(H){if(I||this.failOnCorruptedImage)throw new e(H.message);(0,n.warn)(`JPX: Trying to recover from: "${H.message}".`)}this.tiles=h(m),this.width=m.SIZ.Xsiz-m.SIZ.XOsiz,this.height=m.SIZ.Ysiz-m.SIZ.YOsiz,this.componentsCount=m.SIZ.Csiz}}d.JpxImage=s;function L($,A){$.x0=Math.ceil(A.XOsiz/$.XRsiz),$.x1=Math.ceil(A.Xsiz/$.XRsiz),$.y0=Math.ceil(A.YOsiz/$.YRsiz),$.y1=Math.ceil(A.Ysiz/$.YRsiz),$.width=$.x1-$.x0,$.height=$.y1-$.y0}function U($,A){const D=$.SIZ,w=[];let m;const I=Math.ceil((D.Xsiz-D.XTOsiz)/D.XTsiz),H=Math.ceil((D.Ysiz-D.YTOsiz)/D.YTsiz);for(let Q=0;Q0?Math.min(w.xcb,m.PPx-1):Math.min(w.xcb,m.PPx),m.ycb_=D>0?Math.min(w.ycb,m.PPy-1):Math.min(w.ycb,m.PPy),m}function y($,A,D){const w=1<A.trx0?Math.ceil(A.trx1/w)-Math.floor(A.trx0/w):0,oe=A.try1>A.try0?Math.ceil(A.try1/m)-Math.floor(A.try0/m):0,ne=Q*oe;A.precinctParameters={precinctWidth:w,precinctHeight:m,numprecinctswide:Q,numprecinctshigh:oe,numprecincts:ne,precinctWidthInSubband:H,precinctHeightInSubband:Y}}function f($,A,D){const w=D.xcb_,m=D.ycb_,I=1<>w,Q=A.tby0>>m,oe=A.tbx1+I-1>>w,ne=A.tby1+H-1>>m,ce=A.resolution.precinctParameters,J=[],_=[];let k,O,V,K;for(O=Q;Oie.cbxMax&&(ie.cbxMax=k),Oie.cbyMax&&(ie.cbyMax=O)):_[K]=ie={cbxMin:k,cbyMin:O,cbxMax:k,cbyMax:O},V.precinct=ie}A.codeblockParameters={codeblockWidth:w,codeblockHeight:m,numcodeblockwide:oe-Y+1,numcodeblockhigh:ne-Q+1},A.codeblocks=J,A.precincts=_}function x($,A,D){const w=[],m=$.subbands;for(let I=0,H=m.length;IJ.codingStyleParameters.decompositionLevelsCount)continue;const _=J.resolutions[Q],k=_.precinctParameters.numprecincts;for(;neJ.codingStyleParameters.decompositionLevelsCount)continue;const _=J.resolutions[Y],k=_.precinctParameters.numprecincts;for(;ne_.codingStyleParameters.decompositionLevelsCount)continue;const k=_.resolutions[Y],O=k.precinctParameters.numprecincts;if(!(oe>=O)){for(;H=0;--V){const K=Q.resolutions[V],te=O*K.precinctParameters.precinctWidth,re=O*K.precinctParameters.precinctHeight;ce=Math.min(ce,te),J=Math.min(J,re),_=Math.max(_,K.precinctParameters.numprecinctswide),k=Math.max(k,K.precinctParameters.numprecinctshigh),ne[V]={width:te,height:re},O<<=1}D=Math.min(D,ce),w=Math.min(w,J),m=Math.max(m,_),I=Math.max(I,k),H[Y]={resolutions:ne,minWidth:ce,minHeight:J,maxNumWide:_,maxNumHigh:k}}return{components:H,minWidth:D,minHeight:w,maxNumWide:m,maxNumHigh:I}}function j($){const A=$.SIZ,D=$.currentTile.index,w=$.tiles[D],m=A.Csiz;for(let H=0;H>>H&(1<0;){const ee=ie.shift();Z=ee.codeblock,Z.data===void 0&&(Z.data=[]),Z.data.push({data:A,start:D+m,end:D+m+ee.dataLength,codingpasses:ee.codingpasses}),m+=ee.dataLength}}return m}function T($,A,D,w,m,I,H,Y,Q){const oe=w.tbx0,ne=w.tby0,ce=w.tbx1-w.tbx0,J=w.codeblocks,_=w.type.charAt(0)==="H"?1:0,k=w.type.charAt(1)==="H"?A:0;for(let O=0,V=J.length;O=I?xe:xe*(1<0?1-te:0));const le=re.subbands[q],ue=t[le.type],fe=_?1:2**(J+ue-se)*(1+ae/2048),ge=oe+se-1;T(ee,ie,Z,le,fe,ge,_,ne,ce)}O.push({width:ie,height:Z,items:ee})}const K=k.calculate(O,w.tcx0,w.tcy0);return{left:w.tcx0,top:w.tcy0,width:K.width,height:K.height,items:K.items}}function h($){const A=$.SIZ,D=$.components,w=A.Csiz,m=[];for(let I=0,H=$.tiles.length;I>2);ne[k++]=le+re>>J,ne[k++]=le>>J,ne[k++]=le+te>>J}else for(O=0;O>J,ne[k++]=K-.34413*te-.71414*re>>J,ne[k++]=K+1.772*te>>J;if(ie)for(O=0,k=3;O>J}else for(let ie=0;ie>J,k+=w}m.push(ce)}return m}function E($,A){const w=$.SIZ.Csiz,m=$.tiles[A];for(let I=0;I>=1,D>>=1,w++}w--,I=this.levels[w],I.items[I.index]=m,this.currentLevel=w,delete this.value}incrementValue(){const A=this.levels[this.currentLevel];A.items[A.index]++}nextLevel(){let A=this.currentLevel,D=this.levels[A];const w=D.items[D.index];return A--,A<0?(this.value=w,!1):(this.currentLevel=A,D=this.levels[A],D.items[D.index]=w,!0)}}class l{constructor(A,D,w){const m=(0,u.log2)(Math.max(A,D))+1;this.levels=[];for(let I=0;Iw)return this.currentLevel=m,this.propagateValues(),!1;A>>=1,D>>=1,m++}return this.currentLevel=m-1,!0}incrementValue(A){const D=this.levels[this.currentLevel];D.items[D.index]=A+1,this.propagateValues()}propagateValues(){let A=this.currentLevel,D=this.levels[A];const w=D.items[D.index];for(;--A>=0;)D=this.levels[A],D.items[D.index]=w}nextLevel(){let A=this.currentLevel,D=this.levels[A];const w=D.items[D.index];return D.items[D.index]=255,A--,A<0?!1:(this.currentLevel=A,D=this.levels[A],D.items[D.index]=w,!0)}}const G=class G{constructor(A,D,w,m,I){this.width=A,this.height=D;let H;w==="HH"?H=G.HHContextLabel:w==="HL"?H=G.HLContextLabel:H=G.LLAndLHContextsLabel,this.contextLabelTable=H;const Y=A*D;this.neighborsSignificance=new Uint8Array(Y),this.coefficentsSign=new Uint8Array(Y);let Q;I>14?Q=new Uint32Array(Y):I>6?Q=new Uint16Array(Y):Q=new Uint8Array(Y),this.coefficentsMagnitude=Q,this.processingFlags=new Uint8Array(Y);const oe=new Uint8Array(Y);if(m!==0)for(let ne=0;ne0,Q=D+10&&(oe=w-I,Y&&(m[oe-1]+=16),Q&&(m[oe+1]+=16),m[oe]+=4),A+1=w)break;if(Y[V]&=ce,m[V]||!H[V])continue;const re=oe[H[V]];if(A.readBit(Q,re)){const Z=this.decodeSignBit(te,O,V);I[V]=Z,m[V]=1,this.setNeighborsSignificance(te,O,V),Y[V]|=_}ne[V]++,Y[V]|=J}}}decodeSignBit(A,D,w){const m=this.width,I=this.height,H=this.coefficentsMagnitude,Y=this.coefficentsSign;let Q,oe,ne,ce,J,_;ce=D>0&&H[w-1]!==0,D+10&&H[w-m]!==0,A+1=0?(J=9+Q,_=this.decoder.readBit(this.contexts,J)):(J=9-Q,_=this.decoder.readBit(this.contexts,J)^1),_}runMagnitudeRefinementPass(){const A=this.decoder,D=this.width,w=this.height,m=this.coefficentsMagnitude,I=this.neighborsSignificance,H=this.contexts,Y=this.bitsDecoded,Q=this.processingFlags,oe=1,ne=2,ce=D*w,J=D*4;for(let _=0,k;_>1;D|=0;let I,H,Y,Q;const oe=-1.586134342059924,ne=-.052980118572961,ce=.882911075530934,J=.443506852043971,_=1.230174104914001,k=1/_;for(I=D-3,H=m+4;H--;I+=2)A[I]*=k;for(I=D-2,Y=J*A[I-1],H=m+3;H--&&(Q=J*A[I+1],A[I]=_*A[I]-Y-Q,H--);I+=2)I+=2,Y=J*A[I+1],A[I]=_*A[I]-Y-Q;for(I=D-1,Y=ce*A[I-1],H=m+2;H--&&(Q=ce*A[I+1],A[I]-=Y+Q,H--);I+=2)I+=2,Y=ce*A[I+1],A[I]-=Y+Q;for(I=D,Y=ne*A[I-1],H=m+1;H--&&(Q=ne*A[I+1],A[I]-=Y+Q,H--);I+=2)I+=2,Y=ne*A[I+1],A[I]-=Y+Q;if(m!==0)for(I=D+1,Y=oe*A[I-1],H=m;H--&&(Q=oe*A[I+1],A[I]-=Y+Q,H--);I+=2)I+=2,Y=oe*A[I+1],A[I]-=Y+Q}}class p extends R{filter(A,D,w){const m=w>>1;D|=0;let I,H;for(I=D,H=m+1;H--;I+=2)A[I]-=A[I-1]+A[I+1]+2>>2;for(I=D+1,H=m;H--;I+=2)A[I]+=A[I-1]+A[I+1]>>1}}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.LZWStream=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(169);class u extends n.DecodeStream{constructor(e,t,s){super(t),this.str=e,this.dict=e.dict,this.cachedData=0,this.bitsCached=0;const L=4096,U={earlyChange:s,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(L),dictionaryLengths:new Uint16Array(L),dictionaryPrevCodes:new Uint16Array(L),currentSequence:new Uint8Array(L),currentSequenceLength:0};for(let C=0;C<256;++C)U.dictionaryValues[C]=C,U.dictionaryLengths[C]=1;this.lzwState=U}readBits(e){let t=this.bitsCached,s=this.cachedData;for(;t>>t&(1<0;if(c<256)B[0]=c,W=1;else if(c>=258)if(c=0;U--)B[U]=a[C],C=v[C];else B[W++]=B[0];else if(c===256){P=9,x=258,W=0;continue}else{this.eof=!0,delete this.lzwState;break}if(h&&(v[x]=F,N[x]=N[F]+1,a[x]=B[0],x++,P=x+f&x+f-1?P:Math.min(Math.log(x+f)/.6931471805599453+1,12)|0),F=c,j+=W,s{Object.defineProperty(d,"__esModule",{value:!0}),d.PredictorStream=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(169),u=i(151),g=i(145);class e extends n.DecodeStream{constructor(s,L,U){if(super(L),!(U instanceof u.Dict))return s;const C=this.predictor=U.get("Predictor")||1;if(C<=1)return s;if(C!==2&&(C<10||C>15))throw new g.FormatError(`Unsupported predictor: ${C}`);this.readBlock=C===2?this.readBlockTiff:this.readBlockPng,this.str=s,this.dict=s.dict;const y=this.colors=U.get("Colors")||1,f=this.bits=U.get("BPC","BitsPerComponent")||8,x=this.columns=U.get("Columns")||1;return this.pixBytes=y*f+7>>3,this.rowBytes=x*y*f+7>>3,this}readBlockTiff(){const s=this.rowBytes,L=this.bufferLength,U=this.ensureBuffer(L+s),C=this.bits,y=this.colors,f=this.str.getBytes(s);if(this.eof=!f.length,this.eof)return;let x=0,a=0,N=0,v=0,P=L,F;if(C===1&&y===1)for(F=0;F>1,B^=B>>2,B^=B>>4,x=(B&1)<<7,U[P++]=B}else if(C===8){for(F=0;F>8&255,U[P++]=W&255}}else{const B=new Uint8Array(y+1),W=(1<>N-C)&W,N-=C,a=a<=8&&(U[M++]=a>>v-8&255,v-=8);v>0&&(U[M++]=(a<<8-v)+(x&(1<<8-v)-1))}this.bufferLength+=s}readBlockPng(){const s=this.rowBytes,L=this.pixBytes,U=this.str.getByte(),C=this.str.getBytes(s);if(this.eof=!C.length,this.eof)return;const y=this.bufferLength,f=this.ensureBuffer(y+s);let x=f.subarray(y-s,y);x.length===0&&(x=new Uint8Array(s));let a,N=y,v,P;switch(U){case 0:for(a=0;a>1)+C[a];for(;a>1)+C[a]&255,N++;break;case 4:for(a=0;a{Object.defineProperty(d,"__esModule",{value:!0}),d.RunLengthStream=void 0;var n=i(169);class u extends n.DecodeStream{constructor(e,t){super(t),this.str=e,this.dict=e.dict}readBlock(){const e=this.str.getBytes(2);if(!e||e.length<2||e[0]===128){this.eof=!0;return}let t,s=this.bufferLength,L=e[0];if(L<128){if(t=this.ensureBuffer(s+L+1),t[s++]=e[1],L>0){const U=this.str.getBytes(L);t.set(U,s),s+=L}}else{L=257-L;const U=e[1];t=this.ensureBuffer(s+L+1);for(let C=0;C{Object.defineProperty(d,"__esModule",{value:!0}),d.Font=d.ErrorFont=void 0,i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(140),i(158),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(145),u=i(186),g=i(189),e=i(191),t=i(190),s=i(188),L=i(192),U=i(193),C=i(194),y=i(195),f=i(196),x=i(197),a=i(165),N=i(198),v=i(150),P=i(155),F=i(199);const B=[[57344,63743],[1048576,1114109]],W=1e3,j=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","isInvalidPDFjsFont","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","systemFontInfo","type","vertical"],M=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function T(Z){if(!Z.fontMatrix||Z.fontMatrix[0]===n.FONT_IDENTITY_MATRIX[0])return;const ee=.001/Z.fontMatrix[0],q=Z.widths;for(const z in q)q[z]*=ee;Z.defaultWidth*=ee}function c(Z,ee,q){if(Z.isInternalFont||Z.hasIncludedToUnicodeMap||Z.hasEncoding||Z.toUnicode instanceof U.IdentityToUnicodeMap||!ee||q.length===0||Z.defaultEncoding===s.WinAnsiEncoding)return;for(const le of q)if(!oe(le))return;const z=s.WinAnsiEncoding,ae=[],se=(0,t.getGlyphsUnicode)();for(const le in z){const ue=z[le];if(ue==="")continue;const fe=se[ue];fe!==void 0&&(ae[le]=String.fromCharCode(fe))}ae.length>0&&Z.toUnicode.amend(ae)}function h(Z,ee){if(Z.isInternalFont||Z.hasIncludedToUnicodeMap||ee===Z.defaultEncoding||Z.toUnicode instanceof U.IdentityToUnicodeMap)return;const q=[],z=(0,t.getGlyphsUnicode)();for(const ae in ee){if(Z.hasEncoding&&(Z.baseEncodingName||Z.differences[ae]!==void 0))continue;const se=ee[ae],le=(0,e.getUnicodeForGlyph)(se,z);le!==-1&&(q[ae]=String.fromCharCode(le))}q.length>0&&Z.toUnicode.amend(q)}function E(Z){if(!Z.fallbackToUnicode||Z.toUnicode instanceof U.IdentityToUnicodeMap)return;const ee=[];for(const q in Z.fallbackToUnicode)Z.toUnicode.has(q)||(ee[q]=Z.fallbackToUnicode[q]);ee.length>0&&Z.toUnicode.amend(ee)}class o{constructor(ee,q,z,ae,se,le,ue,fe,ge){this.originalCharCode=ee,this.fontChar=q,this.unicode=z,this.accent=ae,this.width=se,this.vmetric=le,this.operatorListId=ue,this.isSpace=fe,this.isInFont=ge}get category(){return(0,n.shadow)(this,"category",(0,e.getCharUnicodeCategory)(this.unicode),!0)}}function l(Z,ee){return(Z<<8)+ee}function b(Z,ee,q){Z[ee+1]=q,Z[ee]=q>>>8}function R(Z,ee){const q=(Z<<8)+ee;return q&32768?q-65536:q}function S(Z,ee,q,z){return(Z<<24)+(ee<<16)+(q<<8)+z}function p(Z){return String.fromCharCode(Z>>8&255,Z&255)}function G(Z){return Z>32767?Z=32767:Z<-32768&&(Z=-32768),String.fromCharCode(Z>>8&255,Z&255)}function $(Z){const ee=Z.peekBytes(4);return(0,v.readUint32)(ee,0)===65536||(0,n.bytesToString)(ee)==="true"}function A(Z){const ee=Z.peekBytes(4);return(0,n.bytesToString)(ee)==="ttcf"}function D(Z){const ee=Z.peekBytes(4);return(0,n.bytesToString)(ee)==="OTTO"}function w(Z){const ee=Z.peekBytes(2);return ee[0]===37&&ee[1]===33||ee[0]===128&&ee[1]===1}function m(Z){const ee=Z.peekBytes(4);return ee[0]>=1&&ee[3]>=1&&ee[3]<=4}function I(Z,ee){let{type:q,subtype:z,composite:ae}=ee,se,le;return $(Z)||A(Z)?se=ae?"CIDFontType2":"TrueType":D(Z)?se=ae?"CIDFontType2":"OpenType":w(Z)?ae?se="CIDFontType0":se=q==="MMType1"?"MMType1":"Type1":m(Z)?ae?(se="CIDFontType0",le="CIDFontType0C"):(se=q==="MMType1"?"MMType1":"Type1",le="Type1C"):((0,n.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),se=q,le=z),[se,le]}function H(Z,ee){for(const q in ee)Z[+q]=ee[q]}function Y(Z,ee,q){const z=[];let ae;for(let se=0,le=Z.length;se2&&arguments[2]!==void 0?arguments[2]:!1;switch(ee.length){case 1:return ee.charCodeAt(0);case 2:return ee.charCodeAt(0)<<8|ee.charCodeAt(1)}const z=`Unsupported CID string (charCode ${Z}): "${ee}".`;if(q)throw new n.FormatError(z);return(0,n.warn)(z),ee}function ce(Z,ee,q,z){const ae=Object.create(null),se=new Map,le=[],ue=new Set;let fe=0,me=B[fe][0],be=B[fe][1];const ye=Se=>B[0][0]<=Se&&Se<=B[0][1]||B[1][0]<=Se&&Se<=B[1][1];for(let Se in Z){Se|=0;let Ae=Z[Se];if(!ee(Ae))continue;if(me>be){if(fe++,fe>=B.length){(0,n.warn)("Ran out of space in font private use area.");break}me=B[fe][0],be=B[fe][1]}const Fe=me++;Ae===0&&(Ae=q);let xe=z.get(Se);typeof xe=="string"&&(xe=xe.codePointAt(0)),xe&&!ye(xe)&&!ue.has(Ae)&&(se.set(xe,Ae),ue.add(Ae)),ae[Fe]=Ae,le[Se]=Fe}return{toFontChar:le,charCodeToGlyphId:ae,toUnicodeExtraMap:se,nextAvailableFontCharCode:me}}function J(Z,ee,q){const z=[];for(const le in Z)Z[le]>=q||z.push({fontCharCode:le|0,glyphId:Z[le]});if(ee)for(const[le,ue]of ee)ue>=q||z.push({fontCharCode:le,glyphId:ue});z.length===0&&z.push({fontCharCode:0,glyphId:0}),z.sort(function(ue,fe){return ue.fontCharCode-fe.fontCharCode});const ae=[],se=z.length;for(let le=0;le65535?2:1;let se="\0\0"+p(ae)+"\0\0"+(0,n.string32)(4+ae*8),le,ue,fe,ge;for(le=z.length-1;le>=0&&!(z[le][0]<=65535);--le);const me=le+1;z[le][0]<65535&&z[le][1]===65535&&(z[le][1]=65534);const be=z[le][1]<65535?1:0,ye=me+be,Se=N.OpenTypeFileBuilder.getSearchParams(ye,2);let Ae="",Fe="",xe="",de="",pe="",Ce=0,we,$e,ze,Ee;for(le=0,ue=me;le0&&(Fe+="ÿÿ",Ae+="ÿÿ",xe+="\0",de+="\0\0");const tt="\0\0"+p(2*ye)+p(Se.range)+p(Se.entry)+p(Se.rangeShift)+Fe+"\0\0"+Ae+xe+de+pe;let nt="",We="";if(ae>1){for(se+=`\0\0 `+(0,n.string32)(4+ae*8+4+tt.length),nt="",le=0,ue=z.length;lese||(ee.skip(6),ee.getUint16()===0)?!1:(Z.data[8]=Z.data[9]=0,!0)}function O(Z,ee,q){q||(q={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0});let z=0,ae=0,se=0,le=0,ue=null,fe=0,ge=-1;if(ee){for(let de in ee)if(de|=0,(ue>de||!ue)&&(ue=de),fe 123 are reserved for internal usage");fe>65535&&(fe=65535)}else ue=0,fe=255;const me=Z.bbox||[0,0,0,0],be=q.unitsPerEm||1/(Z.fontMatrix||n.FONT_IDENTITY_MATRIX)[0],ye=Z.ascentScaled?1:be/W,Se=q.ascent||Math.round(ye*(Z.ascent||me[3]));let Ae=q.descent||Math.round(ye*(Z.descent||me[1]));Ae>0&&Z.descent>0&&me[1]<0&&(Ae=-Ae);const Fe=q.yMax||Se,xe=-q.yMin||-Ae;return"\0$ô\0\0\0Š»\0\0\0ŒŠ»\0\0ß\x001\0\0\0\0"+String.fromCharCode(Z.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,n.string32)(z)+(0,n.string32)(ae)+(0,n.string32)(se)+(0,n.string32)(le)+"*21*"+p(Z.italicAngle?1:0)+p(ue||Z.firstChar)+p(fe||Z.lastChar)+p(Se)+p(Ae)+"\0d"+p(Fe)+p(xe)+"\0\0\0\0\0\0\0\0"+p(Z.xHeight)+p(Z.capHeight)+p(0)+p(ue||Z.firstChar)+"\0"}function V(Z){const ee=Math.floor(Z.italicAngle*65536);return"\0\0\0"+(0,n.string32)(ee)+"\0\0\0\0"+(0,n.string32)(Z.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function K(Z){return Z.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function te(Z,ee){ee||(ee=[[],[]]);const q=[ee[0][0]||"Original licence",ee[0][1]||Z,ee[0][2]||"Unknown",ee[0][3]||"uniqueID",ee[0][4]||Z,ee[0][5]||"Version 0.11",ee[0][6]||K(Z),ee[0][7]||"Unknown",ee[0][8]||"Unknown",ee[0][9]||"Unknown"],z=[];let ae,se,le,ue,fe;for(ae=0,se=q.length;ae0&&arguments[0]!==void 0?arguments[0]:!1)?[...j,...M]:j,z=Object.create(null);let ae,se;for(ae of q)se=this[ae],se!==void 0&&(z[ae]=se);return z}fallbackToSystemFont(ee){this.missingFile=!0;const{name:q,type:z}=this;let ae=(0,g.normalizeFontName)(q);const se=(0,L.getStdFontMap)(),le=(0,L.getNonStdFontMap)(),ue=!!se[ae],fe=!!(le[ae]&&se[le[ae]]);ae=se[ae]||le[ae]||ae;const me=(0,f.getFontBasicMetrics)()[ae];me&&(isNaN(this.ascent)&&(this.ascent=me.ascent/W),isNaN(this.descent)&&(this.descent=me.descent/W),isNaN(this.capHeight)&&(this.capHeight=me.capHeight/W)),this.bold=/bold/gi.test(ae),this.italic=/oblique|italic/gi.test(ae),this.black=/Black/g.test(q);const be=/Narrow/g.test(q);if(this.remeasure=(!ue||be)&&Object.keys(this.widths).length>0,(ue||fe)&&z==="CIDFontType2"&&this.cidEncoding.startsWith("Identity-")){const ye=ee.cidToGidMap,Se=[];if(H(Se,(0,L.getGlyphMapForStandardFonts)()),/Arial-?Black/i.test(q)?H(Se,(0,L.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(q)&&H(Se,(0,L.getSupplementalGlyphMapForCalibri)()),ye){for(const Ae in Se){const Fe=Se[Ae];ye[Fe]!==void 0&&(Se[+Ae]=ye[Fe])}ye.length!==this.toUnicode.length&&ee.hasIncludedToUnicodeMap&&this.toUnicode instanceof U.IdentityToUnicodeMap&&this.toUnicode.forEach(function(Ae,Fe){const xe=Se[Ae];ye[xe]===void 0&&(Se[+Ae]=Fe)})}this.toUnicode instanceof U.IdentityToUnicodeMap||this.toUnicode.forEach(function(Ae,Fe){Se[+Ae]=Fe}),this.toFontChar=Se,this.toUnicode=new U.ToUnicodeMap(Se)}else if(/Symbol/i.test(ae))this.toFontChar=Y(s.SymbolSetEncoding,(0,t.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(ae))this.toFontChar=Y(s.ZapfDingbatsEncoding,(0,t.getDingbatsGlyphsUnicode)(),this.differences);else if(ue){const ye=Y(this.defaultEncoding,(0,t.getGlyphsUnicode)(),this.differences);z==="CIDFontType2"&&!this.cidEncoding.startsWith("Identity-")&&!(this.toUnicode instanceof U.IdentityToUnicodeMap)&&this.toUnicode.forEach(function(Se,Ae){ye[+Se]=Ae}),this.toFontChar=ye}else{const ye=(0,t.getGlyphsUnicode)(),Se=[];this.toUnicode.forEach((Ae,Fe)=>{if(!this.composite){const xe=this.differences[Ae]||this.defaultEncoding[Ae],de=(0,e.getUnicodeForGlyph)(xe,ye);de!==-1&&(Fe=de)}Se[+Ae]=Fe}),this.composite&&this.toUnicode instanceof U.IdentityToUnicodeMap&&/Tahoma|Verdana/i.test(q)&&H(Se,(0,L.getGlyphMapForStandardFonts)()),this.toFontChar=Se}E(ee),this.loadedName=ae.split("-")[0]}checkAndRepair(ee,q,z){var It,at,Nt;const ae=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function se(Me,Oe){const Re=Object.create(null);Re["OS/2"]=null,Re.cmap=null,Re.head=null,Re.hhea=null,Re.hmtx=null,Re.maxp=null,Re.name=null,Re.post=null;for(let Ne=0;Ne>>0,Ne=Me.getInt32()>>>0,Be=Me.getInt32()>>>0,je=Me.pos;Me.pos=Me.start||0,Me.skip(Ne);const Xe=Me.getBytes(Be);return Me.pos=je,Oe==="head"&&(Xe[8]=Xe[9]=Xe[10]=Xe[11]=0,Xe[17]|=32),{tag:Oe,checksum:Re,length:Be,offset:Ne,data:Xe}}function ue(Me){return{version:Me.getString(4),numTables:Me.getUint16(),searchRange:Me.getUint16(),entrySelector:Me.getUint16(),rangeShift:Me.getUint16()}}function fe(Me){const Oe=Me.getString(4);(0,n.assert)(Oe==="ttcf","Must be a TrueType Collection font.");const Re=Me.getUint16(),Ne=Me.getUint16(),Be=Me.getInt32()>>>0,je=[];for(let Te=0;Te>>0);const Xe={ttcTag:Oe,majorVersion:Re,minorVersion:Ne,numFonts:Be,offsetTable:je};switch(Re){case 1:return Xe;case 2:return Xe.dsigTag=Me.getInt32()>>>0,Xe.dsigLength=Me.getInt32()>>>0,Xe.dsigOffset=Me.getInt32()>>>0,Xe}throw new n.FormatError(`Invalid TrueType Collection majorVersion: ${Re}.`)}function ge(Me,Oe){var Xe;const{numFonts:Re,offsetTable:Ne}=fe(Me),Be=Oe.split("+");let je;for(let Te=0;Te>>0;let bt=!1;if(!((Te==null?void 0:Te.platformId)===ot&&(Te==null?void 0:Te.encodingId)===He)){if(ot===0&&(He===0||He===1||He===3))bt=!0;else if(ot===1&&He===0)bt=!0;else if(ot===3&&He===1&&(Ne||!Te))bt=!0,Re||(it=!0);else if(Re&&ot===3&&He===0){bt=!0;let $t=!0;if(Ke>3;Ke.push(bt),ot=Math.max(bt,ot)}const He=[];for(let ft=0;ft<=ot;ft++)He.push({firstCode:Oe.getUint16(),entryCount:Oe.getUint16(),idDelta:R(Oe.getByte(),Oe.getByte()),idRangePos:Oe.pos+Oe.getUint16()});for(let ft=0;ft<256;ft++)if(Ke[ft]===0)Oe.pos=He[0].idRangePos+2*ft,ut=Oe.getUint16(),qe.push({charCode:ft,glyphId:ut});else{const bt=He[Ke[ft]];for(st=0;st>1;Oe.skip(6);const ot=[];let He;for(He=0;He>1)-(Ke-He),Be.offsetIndex=bt,ft=Math.max(ft,bt+Be.end-Be.start+1)}const $t=[];for(st=0;st>>0;for(st=0;st>>0,He=Oe.getInt32()>>>0;let ft=Oe.getInt32()>>>0;for(let bt=ot;bt<=He;bt++)qe.push({charCode:bt,glyphId:ft++})}}else return(0,n.warn)("cmap table has unsupported format: "+Je),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};qe.sort(function(Ke,ot){return Ke.charCode-ot.charCode});for(let Ke=1;KeBe&&((0,n.info)(`The numOfMetrics (${Te}) should not be greater than the numGlyphs (${Be}).`),Te=Be,Oe.data[34]=(Te&65280)>>8,Oe.data[35]=Te&255);const Je=Be-Te-(Re.length-Te*4>>1);if(Je>0){const xt=new Uint8Array(Re.length+Je*2);xt.set(Re.data),je&&(xt[Re.length]=Re.data[2],xt[Re.length+1]=Re.data[3]),Re.data=xt}}function ye(Me,Oe,Re,Ne,Be,je){const Xe={length:0,sizeOfInstructions:0};if(Oe<0||Oe>=Me.length||Re>Me.length||Re-Oe<=12)return Xe;const Te=Me.subarray(Oe,Re),it=R(Te[2],Te[3]),Je=R(Te[4],Te[5]),xt=R(Te[6],Te[7]),qe=R(Te[8],Te[9]);it>xt&&(b(Te,2,xt),b(Te,6,it)),Je>qe&&(b(Te,4,qe),b(Te,8,Je));const st=R(Te[0],Te[1]);if(st<0)return st<-1||(Ne.set(Te,Be),Xe.length=Te.length),Xe;let ut,Ke=10,ot=0;for(ut=0;utTe.length?Xe:!je&&ft>0?(Ne.set(Te.subarray(0,He),Be),Ne.set([0,0],Be+He),Ne.set(Te.subarray(bt,lt),Be+He+2),lt-=ft,Te.length-lt>3&&(lt=lt+3&-4),Xe.length=lt,Xe):Te.length-lt>3?(lt=lt+3&-4,Ne.set(Te.subarray(0,lt),Be),Xe.length=lt,Xe):(Ne.set(Te,Be),Xe.length=Te.length,Xe)}function Se(Me,Oe,Re){const Ne=Me.data,Be=S(Ne[0],Ne[1],Ne[2],Ne[3]);Be>>16!==1&&((0,n.info)("Attempting to fix invalid version in head table: "+Be),Ne[0]=0,Ne[1]=1,Ne[2]=0,Ne[3]=0);const je=l(Ne[50],Ne[51]);if(je<0||je>1){(0,n.info)("Attempting to fix invalid indexToLocFormat in head table: "+je);const Xe=Oe+1;if(Re===Xe<<1)Ne[50]=0,Ne[51]=0;else if(Re===Xe<<2)Ne[50]=0,Ne[51]=1;else throw new n.FormatError("Could not fix indexToLocFormat: "+je)}}function Ae(Me,Oe,Re,Ne,Be,je,Xe){let Te,it,Je;Ne?(Te=4,it=function(Ct,Mt){return Ct[Mt]<<24|Ct[Mt+1]<<16|Ct[Mt+2]<<8|Ct[Mt+3]},Je=function(Ct,Mt,jt){Ct[Mt]=jt>>>24&255,Ct[Mt+1]=jt>>16&255,Ct[Mt+2]=jt>>8&255,Ct[Mt+3]=jt&255}):(Te=2,it=function(Ct,Mt){return Ct[Mt]<<9|Ct[Mt+1]<<1},Je=function(Ct,Mt,jt){Ct[Mt]=jt>>9&255,Ct[Mt+1]=jt>>1&255});const xt=je?Re+1:Re,qe=Te*(1+xt),st=new Uint8Array(qe);st.set(Me.data.subarray(0,qe)),Me.data=st;const ut=Oe.data,Ke=ut.length,ot=new Uint8Array(Ke);let He,ft;const bt=[];for(He=0,ft=0;HeKe&&(ht=Ke),bt.push({index:He,offset:ht,endOffset:0})}for(bt.sort((ht,Ct)=>ht.offset-Ct.offset),He=0;Heht.index-Ct.index),He=0;HeXe&&(Xe=ht.sizeOfInstructions),lt+=Ct,Je(st,ft,lt)}if(lt===0){const ht=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(He=0,ft=Te;Heht+lt?Oe.data=ot.subarray(0,ht+lt):(Oe.data=new Uint8Array(ht+lt),Oe.data.set(ot.subarray(0,lt))),Oe.data.set(ot.subarray(0,ht),lt),Je(Me.data,st.length-Te,lt+ht)}else Oe.data=ot.subarray(0,lt);return{missingGlyphs:$t,maxSizeOfInstructions:Xe}}function Fe(Me,Oe,Re){const Ne=(q.start||0)+Me.offset;q.pos=Ne;const Be=Me.length,je=Ne+Be,Xe=q.getInt32();q.skip(28);let Te,it=!0,Je;switch(Xe){case 65536:Te=g.MacStandardGlyphOrdering;break;case 131072:const xt=q.getUint16();if(xt!==Re){it=!1;break}const qe=[];for(Je=0;Je=32768){it=!1;break}qe.push(Ke)}if(!it)break;const st=[],ut=[];for(;q.posje)continue;q.pos=Ke;const ot=ut.name;if(ut.encoding){let He="";for(let ft=0,bt=ut.length;ft0&&(Ne+=ht-1)}if(!ot&&!ft){let ht=0;for(lt<=142?ht=de[lt]:lt>=192&<<=223?ht=-1:lt>=224&&(ht=-2),lt>=113&<<=117&&(je=qe.pop(),isNaN(je)||(ht=-je*2));ht<0&&qe.length>0;)qe.pop(),ht++;for(;ht>0;)qe.push(NaN),ht--}}Oe.tooComplexToFollowFunctions=Ke;const bt=[Re];Ne>Re.length&&bt.push(new Uint8Array(Ne-Re.length)),xt>Je&&((0,n.warn)("TT: complementing a missing function tail"),bt.push(new Uint8Array([34,45]))),we(Me,bt)}function Ce(Me,Oe){if(!Me.tooComplexToFollowFunctions){if(Me.functionsDefined.length>Oe){(0,n.warn)("TT: more functions defined than expected"),Me.hintsValid=!1;return}for(let Re=0,Ne=Me.functionsUsed.length;ReOe){(0,n.warn)("TT: invalid function id: "+Re),Me.hintsValid=!1;return}if(Me.functionsUsed[Re]&&!Me.functionsDefined[Re]){(0,n.warn)("TT: undefined function: "+Re),Me.hintsValid=!1;return}}}}function we(Me,Oe){if(Oe.length>1){let Re=0,Ne,Be;for(Ne=0,Be=Oe.length;Ne0||!(z.cMap instanceof a.IdentityCMap));if(ze.version==="OTTO"&&!Me||!Ee.head||!Ee.hhea||!Ee.maxp||!Ee.post)return nt=new P.Stream(Ee["CFF "].data),tt=new C.CFFFont(nt,z),T(z),this.convert(ee,tt,z);delete Ee.glyf,delete Ee.loca,delete Ee.fpgm,delete Ee.prep,delete Ee["cvt "],this.isOpenType=!0}if(!Ee.maxp)throw new n.FormatError('Required "maxp" table is not found');q.pos=(q.start||0)+Ee.maxp.offset;const Le=q.getInt32(),Qe=q.getUint16();if(((at=z.scaleFactors)==null?void 0:at.length)===Qe&&We){const{scaleFactors:Me}=z,Oe=l(Ee.head.data[50],Ee.head.data[51]),Re=new x.GlyfTable({glyfTable:Ee.glyf.data,isGlyphLocationsLong:Oe,locaTable:Ee.loca.data,numGlyphs:Qe});Re.scale(Me);const{glyf:Ne,loca:Be,isLocationLong:je}=Re.write();Ee.glyf.data=Ne,Ee.loca.data=Be,je!==!!Oe&&(Ee.head.data[50]=0,Ee.head.data[51]=je?1:0);const Xe=Ee.hmtx.data;for(let Te=0;Te>8&255,Xe[it+1]=Je&255;const xt=Math.round(Me[Te]*R(Xe[it+2],Xe[it+3]));b(Xe,it+2,xt)}}let gt=Qe+1,De=!0;gt>65535&&(De=!1,gt=Qe,(0,n.warn)("Not enough space in glyfs to duplicate first glyph."));let St=0,rt=0;Le>=65536&&Ee.maxp.length>=22&&(q.pos+=8,q.getUint16()>2&&(Ee.maxp.data[14]=0,Ee.maxp.data[15]=2),q.pos+=4,St=q.getUint16(),q.pos+=4,rt=q.getUint16()),Ee.maxp.data[4]=gt>>8,Ee.maxp.data[5]=gt&255;const At=$e(Ee.fpgm,Ee.prep,Ee["cvt "],St);if(At||(delete Ee.fpgm,delete Ee.prep,delete Ee["cvt "]),be(q,Ee.hhea,Ee.hmtx,Ee.head,gt,De),!Ee.head)throw new n.FormatError('Required "head" table is not found');Se(Ee.head,Qe,We?Ee.loca.length:0);let Ot=Object.create(null);if(We){const Me=l(Ee.head.data[50],Ee.head.data[51]),Oe=Ae(Ee.loca,Ee.glyf,Qe,Me,At,De,rt);Ot=Oe.missingGlyphs,Le>=65536&&Ee.maxp.length>=22&&(Ee.maxp.data[26]=Oe.maxSizeOfInstructions>>8,Ee.maxp.data[27]=Oe.maxSizeOfInstructions&255)}if(!Ee.hhea)throw new n.FormatError('Required "hhea" table is not found');Ee.hhea.data[10]===0&&Ee.hhea.data[11]===0&&(Ee.hhea.data[10]=255,Ee.hhea.data[11]=255);const Ve={unitsPerEm:l(Ee.head.data[18],Ee.head.data[19]),yMax:R(Ee.head.data[42],Ee.head.data[43]),yMin:R(Ee.head.data[38],Ee.head.data[39]),ascent:R(Ee.hhea.data[4],Ee.hhea.data[5]),descent:R(Ee.hhea.data[6],Ee.hhea.data[7]),lineGap:R(Ee.hhea.data[8],Ee.hhea.data[9])};this.ascent=Ve.ascent/Ve.unitsPerEm,this.descent=Ve.descent/Ve.unitsPerEm,this.lineGap=Ve.lineGap/Ve.unitsPerEm,(Nt=this.cssFontInfo)!=null&&Nt.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,Ee.post&&Fe(Ee.post,z,Qe),Ee.post={tag:"post",data:V(z)};const Ge=[];function Ye(Me){return!Ot[Me]}if(z.composite){const Me=z.cidToGidMap||[],Oe=Me.length===0;z.cMap.forEach(function(Re,Ne){if(typeof Ne=="string"&&(Ne=ne(Re,Ne,!0)),Ne>65535)throw new n.FormatError("Max size of CID is 65,535");let Be=-1;Oe?Be=Ne:Me[Ne]!==void 0&&(Be=Me[Ne]),Be>=0&&Be=61440&&Te<=61695&&(Te&=255),Ge[Te]=Xe.glyphId}if(z.glyphNames&&(Be.length||this.differences.length))for(let Xe=0;Xe<256;++Xe){if(!je&&Ge[Xe]!==void 0)continue;const Te=this.differences[Xe]||Be[Xe];if(!Te)continue;const it=z.glyphNames.indexOf(Te);it>0&&Ye(it)&&(Ge[Xe]=it)}}Ge.length===0&&(Ge[0]=0);let mt=gt-1;if(De||(mt=0),!z.cssFontInfo){const Me=ce(Ge,Ye,mt,this.toUnicode);this.toFontChar=Me.toFontChar,Ee.cmap={tag:"cmap",data:_(Me.charCodeToGlyphId,Me.toUnicodeExtraMap,gt)},(!Ee["OS/2"]||!k(Ee["OS/2"],q))&&(Ee["OS/2"]={tag:"OS/2",data:O(z,Me.charCodeToGlyphId,Ve)})}if(!We)try{nt=new P.Stream(Ee["CFF "].data),tt=new u.CFFParser(nt,z,g.SEAC_ANALYSIS_ENABLED).parse(),tt.duplicateFirstGlyph();const Oe=new u.CFFCompiler(tt);Ee["CFF "].data=Oe.compile()}catch{(0,n.warn)("Failed to compile font "+z.loadedName)}if(!Ee.name)Ee.name={tag:"name",data:te(this.name)};else{const[Me,Oe]=xe(Ee.name);Ee.name.data=te(ee,Me),this.psName=Me[0][6]||null,z.composite||c(z,this.isSymbolicFont,Oe)}const kt=new N.OpenTypeFileBuilder(ze.version);for(const Me in Ee)kt.addTable(Me,Ee[Me].data);return kt.toArray()}convert(ee,q,z){z.fixedPitch=!1,z.builtInEncoding&&h(z,z.builtInEncoding);let ae=1;q instanceof C.CFFFont&&(ae=q.numGlyphs-1);const se=q.getGlyphMapping(z);let le=null,ue=se,fe=null;z.cssFontInfo||(le=ce(se,q.hasGlyphId.bind(q),ae,this.toUnicode),this.toFontChar=le.toFontChar,ue=le.charCodeToGlyphId,fe=le.toUnicodeExtraMap);const ge=q.numGlyphs;function me(Fe,xe){let de=null;for(const pe in Fe)xe===Fe[pe]&&(de||(de=[])).push(pe|0);return de}function be(Fe,xe){for(const de in Fe)if(xe===Fe[de])return de|0;return le.charCodeToGlyphId[le.nextAvailableFontCharCode]=xe,le.nextAvailableFontCharCode++}const ye=q.seacs;if(le&&g.SEAC_ANALYSIS_ENABLED&&(ye!=null&&ye.length)){const Fe=z.fontMatrix||n.FONT_IDENTITY_MATRIX,xe=q.getCharset(),de=Object.create(null);for(let pe in ye){pe|=0;const Ce=ye[pe],we=s.StandardEncoding[Ce[2]],$e=s.StandardEncoding[Ce[3]],ze=xe.indexOf(we),Ee=xe.indexOf($e);if(ze<0||Ee<0)continue;const tt={x:Ce[0]*Fe[0]+Ce[1]*Fe[2]+Fe[4],y:Ce[0]*Fe[1]+Ce[1]*Fe[3]+Fe[5]},nt=me(se,pe);if(nt)for(const We of nt){const Le=le.charCodeToGlyphId,Qe=be(Le,ze),gt=be(Le,Ee);de[We]={baseFontCharCode:Qe,accentFontCharCode:gt,accentOffset:tt}}}z.seacMap=de}const Se=1/(z.fontMatrix||n.FONT_IDENTITY_MATRIX)[0],Ae=new N.OpenTypeFileBuilder("OTTO");return Ae.addTable("CFF ",q.data),Ae.addTable("OS/2",O(z,ue)),Ae.addTable("cmap",_(ue,fe,ge)),Ae.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+G(Se)+"\0\0\0\0ž\v~'\0\0\0\0ž\v~'\0\0"+G(z.descent)+"ÿ"+G(z.ascent)+p(z.italicAngle?2:0)+"\0\0\0\0\0\0\0"),Ae.addTable("hhea","\0\0\0"+G(z.ascent)+G(z.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+G(z.capHeight)+G(Math.tan(z.italicAngle)*z.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+p(ge)),Ae.addTable("hmtx",function(){const xe=q.charstrings,de=q.cff?q.cff.widths:null;let pe="\0\0\0\0";for(let Ce=1,we=ge;Ce1&&arguments[1]!==void 0?arguments[1]:!1,z=this._glyphCache[ee];if((z==null?void 0:z.isSpace)===q)return z;let ae,se,le,ue=ee;(Se=this.cMap)!=null&&Se.contains(ee)&&(ue=this.cMap.lookup(ee),typeof ue=="string"&&(ue=ne(ee,ue))),se=this.widths[ue],typeof se!="number"&&(se=this.defaultWidth);const fe=(Ae=this.vmetrics)==null?void 0:Ae[ue];let ge=this.toUnicode.get(ee)||ee;typeof ge=="number"&&(ge=String.fromCharCode(ge));let me=this.toFontChar[ee]!==void 0;if(ae=this.toFontChar[ee]||ee,this.missingFile){const xe=this.differences[ee]||this.defaultEncoding[ee];(xe===".notdef"||xe==="")&&this.type==="Type1"&&(ae=32),ae=(0,e.mapSpecialUnicodeValues)(ae)}this.isType3Font&&(le=ae);let be=null;if((Fe=this.seacMap)!=null&&Fe[ee]){me=!0;const xe=this.seacMap[ee];ae=xe.baseFontCharCode,be={fontChar:String.fromCodePoint(xe.accentFontCharCode),offset:xe.accentOffset}}let ye="";return typeof ae=="number"&&(ae<=1114111?ye=String.fromCodePoint(ae):(0,n.warn)(`charToGlyph - invalid fontCharCode: ${ae}`)),z=new o(ee,ye,ge,be,se,fe,le,q,me),this._glyphCache[ee]=z}charsToGlyphs(ee){let q=this._charsCache[ee];if(q)return q;if(q=[],this.cMap){const z=Object.create(null),ae=ee.length;let se=0;for(;seq.length%2===1,se=this.toUnicode instanceof U.IdentityToUnicodeMap?le=>this.toUnicode.charCodeOf(le):le=>this.toUnicode.charCodeOf(String.fromCodePoint(le));for(let le=0,ue=ee.length;le55295&&(fe<57344||fe>65533)&&le++,this.toUnicode){const ge=se(fe);if(ge!==-1){ae()&&(q.push(z.join("")),z.length=0);const me=this.cMap?this.cMap.getCharCodeLength(ge):1;for(let be=me-1;be>=0;be--)z.push(String.fromCharCode(ge>>8*be&255));continue}}ae()||(q.push(z.join("")),z.length=0),z.push(String.fromCodePoint(fe))}return q.push(z.join("")),q}}d.Font=re;class ie{constructor(ee){this.error=ee,this.loadedName="g_font_error",this.missingFile=!0}charsToGlyphs(){return[]}encodeString(ee){return[ee]}exportData(){return{error:this.error}}}d.ErrorFont=ie},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.CFFTopDict=d.CFFStrings=d.CFFStandardStrings=d.CFFPrivateDict=d.CFFParser=d.CFFIndex=d.CFFHeader=d.CFFFDSelect=d.CFFCompiler=d.CFFCharset=d.CFF=void 0,i(140),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(145),u=i(187),g=i(188);const e=10,t=[".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"];d.CFFStandardStrings=t;const s=391,L=[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}],U=[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(E,o){E[o-2]=E[o-2]+E[o-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(E,o){E[o-2]=E[o-2]-E[o-1]}},{id:"div",min:2,stackDelta:-1,stackFn(E,o){E[o-2]=E[o-2]/E[o-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(E,o){E[o-1]=-E[o-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(E,o){E[o-2]=E[o-2]*E[o-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}];class C{constructor(o,l,b){this.bytes=o.getBytes(),this.properties=l,this.seacAnalysisEnabled=!!b}parse(){const o=this.properties,l=new y;this.cff=l;const b=this.parseHeader(),R=this.parseIndex(b.endPos),S=this.parseIndex(R.endPos),p=this.parseIndex(S.endPos),G=this.parseIndex(p.endPos),$=this.parseDict(S.obj.get(0)),A=this.createDict(P,$,l.strings);l.header=b.obj,l.names=this.parseNameIndex(R.obj),l.strings=this.parseStringIndex(p.obj),l.topDict=A,l.globalSubrIndex=G.obj,this.parsePrivateDict(l.topDict),l.isCIDFont=A.hasName("ROS");const D=A.getByName("CharStrings"),w=this.parseIndex(D).obj,m=A.getByName("FontMatrix");m&&(o.fontMatrix=m);const I=A.getByName("FontBBox");I&&(o.ascent=Math.max(I[3],I[1]),o.descent=Math.min(I[1],I[3]),o.ascentScaled=!0);let H,Y;if(l.isCIDFont){const oe=this.parseIndex(A.getByName("FDArray")).obj;for(let ne=0,ce=oe.count;ne=l)throw new n.FormatError("Invalid CFF header");b!==0&&((0,n.info)("cff data is shifted"),o=o.subarray(b),this.bytes=o);const R=o[0],S=o[1],p=o[2],G=o[3];return{obj:new f(R,S,p,G),endPos:p}}parseDict(o){let l=0;function b(){let $=o[l++];return $===30?R():$===28?($=o[l++],$=($<<24|o[l++]<<16)>>16,$):$===29?($=o[l++],$=$<<8|o[l++],$=$<<8|o[l++],$=$<<8|o[l++],$):$>=32&&$<=246?$-139:$>=247&&$<=250?($-247)*256+o[l++]+108:$>=251&&$<=254?-(($-251)*256)-o[l++]-108:((0,n.warn)('CFFParser_parseDict: "'+$+'" is a reserved command.'),NaN)}function R(){let $="";const D=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],w=o.length;for(;l>4,H=m&15;if(I===15||($+=D[I],H===15))break;$+=D[H]}return parseFloat($)}let S=[];const p=[];l=0;const G=o.length;for(;le)return!1;let S=o.stackSize;const p=o.stack;let G=l.length;for(let $=0;$>16,$+=2,S++;else if(A===14){if(S>=4&&(S-=4,this.seacAnalysisEnabled))return o.seac=p.slice(S,S+4),!1;D=L[A]}else if(A>=32&&A<=246)p[S]=A-139,S++;else if(A>=247&&A<=254)p[S]=A<251?(A-247<<8)+l[$]+108:-(A-251<<8)-l[$]-108,$++,S++;else if(A===255)p[S]=(l[$]<<24|l[$+1]<<16|l[$+2]<<8|l[$+3])/65536,$+=4,S++;else if(A===19||A===20){if(o.hints+=S>>1,o.hints===0){l.copyWithin($-1,$,-1),$-=1,G-=1;continue}$+=o.hints+7>>3,S%=2,D=L[A]}else if(A===10||A===29){const w=A===10?b:R;if(!w)return D=L[A],(0,n.warn)("Missing subrsIndex for "+D.id),!1;let m=32768;w.count<1240?m=107:w.count<33900&&(m=1131);const I=p[--S]+m;if(I<0||I>=w.count||isNaN(I))return D=L[A],(0,n.warn)("Out of bounds subrIndex for "+D.id),!1;if(o.stackSize=S,o.callDepth++,!this.parseCharString(o,w.get(I),b,R))return!1;o.callDepth--,S=o.stackSize;continue}else{if(A===11)return o.stackSize=S,!0;if(A===0&&$===l.length)l[$-1]=14,D=L[14];else if(A===9){l.copyWithin($-1,$,-1),$-=1,G-=1;continue}else D=L[A]}if(D){if(D.stem&&(o.hints+=S>>1,A===3||A===23?o.hasVStems=!0:o.hasVStems&&(A===1||A===18)&&((0,n.warn)("CFF stem hints are in wrong order"),l[$-1]=A===1?3:23)),"min"in D&&!o.undefStack&&S=2&&D.stem?S%=2:S>1&&(0,n.warn)("Found too many parameters for stack-clearing command"),S>0&&(o.width=p[S-1])),"stackDelta"in D?("stackFn"in D&&D.stackFn(p,S),S+=D.stackDelta):D.stackClearing?S=0:D.resetStack?(S=0,o.undefStack=!1):D.undefStack&&(S=0,o.undefStack=!0,o.firstStackClearing=!1)}}return G=p.length&&((0,n.warn)("Invalid fd index for glyph index."),H=!1),H&&(Q=p[oe].privateDict,Y=Q.subrsIndex)}else b&&(Y=b);if(H&&(H=this.parseCharString(I,m,Y,R)),I.width!==null){const oe=Q.getByName("nominalWidthX");A[w]=oe+I.width}else{const oe=Q.getByName("defaultWidthX");A[w]=oe}I.seac!==null&&($[w]=I.seac),H||l.set(w,new Uint8Array([14]))}return{charStrings:l,seacs:$,widths:A}}emptyPrivateDictionary(o){const l=this.createDict(B,[],o.strings);o.setByKey(18,[0,0]),o.privateDict=l}parsePrivateDict(o){if(!o.hasName("Private")){this.emptyPrivateDictionary(o);return}const l=o.getByName("Private");if(!Array.isArray(l)||l.length!==2){o.removeByName("Private");return}const b=l[0],R=l[1];if(b===0||R>=this.bytes.length){this.emptyPrivateDictionary(o);return}const S=R+b,p=this.bytes.subarray(R,S),G=this.parseDict(p),$=this.createDict(B,G,o.strings);if(o.privateDict=$,$.getByName("ExpansionFactor")===0&&$.setByName("ExpansionFactor",.06),!$.getByName("Subrs"))return;const A=$.getByName("Subrs"),D=R+A;if(A===0||D>=this.bytes.length){this.emptyPrivateDictionary(o);return}const w=this.parseIndex(D);$.subrsIndex=w.obj}parseCharsets(o,l,b,R){if(o===0)return new j(!0,W.ISO_ADOBE,u.ISOAdobeCharset);if(o===1)return new j(!0,W.EXPERT,u.ExpertCharset);if(o===2)return new j(!0,W.EXPERT_SUBSET,u.ExpertSubsetCharset);const S=this.bytes,p=o,G=S[o++],$=[R?0:".notdef"];let A,D,w;switch(l-=1,G){case 0:for(w=0;w=65535){(0,n.warn)("Not enough space in charstrings to duplicate first glyph.");return}const o=this.charStrings.get(0);this.charStrings.add(o),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}hasGlyphId(o){return o<0||o>=this.charStrings.count?!1:this.charStrings.get(o).length>0}}d.CFF=y;class f{constructor(o,l,b,R){this.major=o,this.minor=l,this.hdrSize=b,this.offSize=R}}d.CFFHeader=f;class x{constructor(){this.strings=[]}get(o){return o>=0&&o<=s-1?t[o]:o-s<=this.strings.length?this.strings[o-s]:t[0]}getSID(o){let l=t.indexOf(o);return l!==-1?l:(l=this.strings.indexOf(o),l!==-1?l+s:-1)}add(o){this.strings.push(o)}get count(){return this.strings.length}}d.CFFStrings=x;class a{constructor(){this.objects=[],this.length=0}add(o){this.length+=o.length,this.objects.push(o)}set(o,l){this.length+=l.length-this.objects[o].length,this.objects[o]=l}get(o){return this.objects[o]}get count(){return this.objects.length}}d.CFFIndex=a;class N{constructor(o,l){this.keyToNameMap=o.keyToNameMap,this.nameToKeyMap=o.nameToKeyMap,this.defaults=o.defaults,this.types=o.types,this.opcodes=o.opcodes,this.order=o.order,this.strings=l,this.values=Object.create(null)}setByKey(o,l){if(!(o in this.keyToNameMap))return!1;if(l.length===0)return!0;for(const R of l)if(isNaN(R))return(0,n.warn)(`Invalid CFFDict value: "${l}" for key "${o}".`),!0;const b=this.types[o];return(b==="num"||b==="sid"||b==="offset")&&(l=l[0]),this.values[o]=l,!0}setByName(o,l){if(!(o in this.nameToKeyMap))throw new n.FormatError(`Invalid dictionary name "${o}"`);this.values[this.nameToKeyMap[o]]=l}hasName(o){return this.nameToKeyMap[o]in this.values}getByName(o){if(!(o in this.nameToKeyMap))throw new n.FormatError(`Invalid dictionary name ${o}"`);const l=this.nameToKeyMap[o];return l in this.values?this.values[l]:this.defaults[l]}removeByName(o){delete this.values[this.nameToKeyMap[o]]}static createTables(o){const l={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]};for(const b of o){const R=Array.isArray(b[0])?(b[0][0]<<8)+b[0][1]:b[0];l.keyToNameMap[R]=b[1],l.nameToKeyMap[b[1]]=R,l.types[R]=b[2],l.defaults[R]=b[3],l.opcodes[R]=Array.isArray(b[0])?b[0]:[b[0]],l.order.push(R)}return l}}const v=[[[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]];class P extends N{static get tables(){return(0,n.shadow)(this,"tables",this.createTables(v))}constructor(o){super(P.tables,o),this.privateDict=null}}d.CFFTopDict=P;const F=[[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]];class B extends N{static get tables(){return(0,n.shadow)(this,"tables",this.createTables(F))}constructor(o){super(B.tables,o),this.subrsIndex=null}}d.CFFPrivateDict=B;const W={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2};class j{constructor(o,l,b,R){this.predefined=o,this.format=l,this.charset=b,this.raw=R}}d.CFFCharset=j;class M{constructor(o,l,b,R){this.predefined=o,this.format=l,this.encoding=b,this.raw=R}}class T{constructor(o,l){this.format=o,this.fdSelect=l}getFDIndex(o){return o<0||o>=this.fdSelect.length?-1:this.fdSelect[o]}}d.CFFFDSelect=T;class c{constructor(){this.offsets=Object.create(null)}isTracking(o){return o in this.offsets}track(o,l){if(o in this.offsets)throw new n.FormatError(`Already tracking location of ${o}`);this.offsets[o]=l}offset(o){for(const l in this.offsets)this.offsets[l]+=o}setEntryLocation(o,l,b){if(!(o in this.offsets))throw new n.FormatError(`Not tracking location of ${o}`);const R=b.data,S=this.offsets[o],p=5;for(let G=0,$=l.length;G<$;++G){const A=G*p+S,D=A+1,w=A+2,m=A+3,I=A+4;if(R[A]!==29||R[D]!==0||R[w]!==0||R[m]!==0||R[I]!==0)throw new n.FormatError("writing to an offset that is not empty");const H=l[G];R[A]=29,R[D]=H>>24&255,R[w]=H>>16&255,R[m]=H>>8&255,R[I]=H&255}}}class h{constructor(o){this.cff=o}compile(){const o=this.cff,l={data:[],length:0,add(m){try{this.data.push(...m)}catch{this.data=this.data.concat(m)}this.length=this.data.length}},b=this.compileHeader(o.header);l.add(b);const R=this.compileNameIndex(o.names);if(l.add(R),o.isCIDFont&&o.topDict.hasName("FontMatrix")){const m=o.topDict.getByName("FontMatrix");o.topDict.removeByName("FontMatrix");for(const I of o.fdArray){let H=m.slice(0);I.hasName("FontMatrix")&&(H=n.Util.transform(H,I.getByName("FontMatrix"))),I.setByName("FontMatrix",H)}}const S=o.topDict.getByName("XUID");(S==null?void 0:S.length)>16&&o.topDict.removeByName("XUID"),o.topDict.setByName("charset",0);let p=this.compileTopDicts([o.topDict],l.length,o.isCIDFont);l.add(p.output);const G=p.trackers[0],$=this.compileStringIndex(o.strings.strings);l.add($);const A=this.compileIndex(o.globalSubrIndex);if(l.add(A),o.encoding&&o.topDict.hasName("Encoding"))if(o.encoding.predefined)G.setEntryLocation("Encoding",[o.encoding.format],l);else{const m=this.compileEncoding(o.encoding);G.setEntryLocation("Encoding",[l.length],l),l.add(m)}const D=this.compileCharset(o.charset,o.charStrings.count,o.strings,o.isCIDFont);G.setEntryLocation("charset",[l.length],l),l.add(D);const w=this.compileCharStrings(o.charStrings);if(G.setEntryLocation("CharStrings",[l.length],l),l.add(w),o.isCIDFont){G.setEntryLocation("FDSelect",[l.length],l);const m=this.compileFDSelect(o.fdSelect);l.add(m),p=this.compileTopDicts(o.fdArray,l.length,!0),G.setEntryLocation("FDArray",[l.length],l),l.add(p.output);const I=p.trackers;this.compilePrivateDicts(o.fdArray,I,l)}return this.compilePrivateDicts([o.topDict],[G],l),l.add([0]),l.data}encodeNumber(o){return Number.isInteger(o)?this.encodeInteger(o):this.encodeFloat(o)}static get EncodeFloatRegExp(){return(0,n.shadow)(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(o){let l=o.toString();const b=h.EncodeFloatRegExp.exec(l);if(b){const $=parseFloat("1e"+((b[2]?+b[2]:0)+b[1].length));l=(Math.round(o*$)/$).toString()}let R="",S,p;for(S=0,p=l.length;S=-107&&o<=107?l=[o+139]:o>=108&&o<=1131?(o-=108,l=[(o>>8)+247,o&255]):o>=-1131&&o<=-108?(o=-o-108,l=[(o>>8)+251,o&255]):o>=-32768&&o<=32767?l=[28,o>>8&255,o&255]:l=[29,o>>24&255,o>>16&255,o>>8&255,o&255],l}compileHeader(o){return[o.major,o.minor,4,o.offSize]}compileNameIndex(o){const l=new a;for(const b of o){const R=Math.min(b.length,127);let S=new Array(R);for(let p=0;p"~"||G==="["||G==="]"||G==="("||G===")"||G==="{"||G==="}"||G==="<"||G===">"||G==="/"||G==="%")&&(G="_"),S[p]=G}S=S.join(""),S===""&&(S="Bad_Font_Name"),l.add((0,n.stringToBytes)(S))}return this.compileIndex(l)}compileTopDicts(o,l,b){const R=[];let S=new a;for(const p of o){b&&(p.removeByName("CIDFontVersion"),p.removeByName("CIDFontRevision"),p.removeByName("CIDFontType"),p.removeByName("CIDCount"),p.removeByName("UIDBase"));const G=new c,$=this.compileDict(p,G);R.push(G),S.add($),G.offset(l)}return S=this.compileIndex(S,R),{trackers:R,output:S}}compilePrivateDicts(o,l,b){for(let R=0,S=o.length;R>8&255,p&255]);else{const G=1+p*2;S=new Uint8Array(G),S[0]=0;let $=0;const A=o.charset.length;let D=!1;for(let w=1;w>8&255,S[w+1]=m&255}}return this.compileTypedArray(S)}compileEncoding(o){return this.compileTypedArray(o.raw)}compileFDSelect(o){const l=o.format;let b,R;switch(l){case 0:for(b=new Uint8Array(1+o.fdSelect.length),b[0]=l,R=0;R>8&255,S&255,p];for(R=1;R>8&255,R&255,A),p=A)}const $=(G.length-3)/3;G[1]=$>>8&255,G[2]=$&255,G.push(R>>8&255,R&255),b=new Uint8Array(G);break}return this.compileTypedArray(b)}compileTypedArray(o){return Array.from(o)}compileIndex(o){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const b=o.objects,R=b.length;if(R===0)return[0,0];const S=[R>>8&255,R&255];let p=1,G;for(G=0;G>8&255,A&255):$===3?S.push(A>>16&255,A>>8&255,A&255):S.push(A>>>24&255,A>>16&255,A>>8&255,A&255),b[G]&&(A+=b[G].length);for(G=0;G{Object.defineProperty(d,"__esModule",{value:!0}),d.ISOAdobeCharset=d.ExpertSubsetCharset=d.ExpertCharset=void 0;const i=[".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"];d.ISOAdobeCharset=i;const n=[".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"];d.ExpertCharset=n;const u=[".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"];d.ExpertSubsetCharset=u},(he,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.ZapfDingbatsEncoding=d.WinAnsiEncoding=d.SymbolSetEncoding=d.StandardEncoding=d.MacRomanEncoding=d.ExpertEncoding=void 0,d.getEncoding=L;const i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];d.ExpertEncoding=i;const n=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","","","",""],u=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];d.MacRomanEncoding=u;const g=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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","","","",""];d.StandardEncoding=g;const 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"];d.WinAnsiEncoding=e;const t=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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",""];d.SymbolSetEncoding=t;const s=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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",""];d.ZapfDingbatsEncoding=s;function L(U){switch(U){case"WinAnsiEncoding":return e;case"StandardEncoding":return g;case"MacRomanEncoding":return u;case"SymbolSetEncoding":return t;case"ZapfDingbatsEncoding":return s;case"ExpertEncoding":return i;case"MacExpertEncoding":return n;default:return null}}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.SEAC_ANALYSIS_ENABLED=d.MacStandardGlyphOrdering=d.FontFlags=void 0,d.normalizeFontName=y,d.recoverGlyphName=U,d.type1FontGlyphMapping=C,i(158);var n=i(188),u=i(190),g=i(191),e=i(145);const t=!0;d.SEAC_ANALYSIS_ENABLED=t;const s={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};d.FontFlags=s;const L=[".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"];d.MacStandardGlyphOrdering=L;function U(f,x){if(x[f]!==void 0)return f;const a=(0,g.getUnicodeForGlyph)(f,x);if(a!==-1){for(const N in x)if(x[N]===a)return N}return(0,e.info)("Unable to recover a standard glyph name for: "+f),f}function C(f,x,a){const N=Object.create(null);let v,P,F;const B=!!(f.flags&s.Symbolic);if(f.isInternalFont)for(F=x,P=0;P=0?v:0;else if(f.baseEncodingName)for(F=(0,n.getEncoding)(f.baseEncodingName),P=0;P=0?v:0;else if(B)for(P in x)N[P]=x[P];else for(F=n.StandardEncoding,P=0;P=0?v:0;const W=f.differences;let j;if(W)for(P in W){const M=W[P];if(v=a.indexOf(M),v===-1){j||(j=(0,u.getGlyphsUnicode)());const T=U(M,j);T!==M&&(v=a.indexOf(T))}N[P]=v>=0?v:0}return N}function y(f){return f.replaceAll(/[,_]/g,"-").replaceAll(/\s/g,"")}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.getGlyphsUnicode=d.getDingbatsGlyphsUnicode=void 0;var n=i(150);const u=(0,n.getLookupTableFactory)(function(e){e.A=65,e.AE=198,e.AEacute=508,e.AEmacron=482,e.AEsmall=63462,e.Aacute=193,e.Aacutesmall=63457,e.Abreve=258,e.Abreveacute=7854,e.Abrevecyrillic=1232,e.Abrevedotbelow=7862,e.Abrevegrave=7856,e.Abrevehookabove=7858,e.Abrevetilde=7860,e.Acaron=461,e.Acircle=9398,e.Acircumflex=194,e.Acircumflexacute=7844,e.Acircumflexdotbelow=7852,e.Acircumflexgrave=7846,e.Acircumflexhookabove=7848,e.Acircumflexsmall=63458,e.Acircumflextilde=7850,e.Acute=63177,e.Acutesmall=63412,e.Acyrillic=1040,e.Adblgrave=512,e.Adieresis=196,e.Adieresiscyrillic=1234,e.Adieresismacron=478,e.Adieresissmall=63460,e.Adotbelow=7840,e.Adotmacron=480,e.Agrave=192,e.Agravesmall=63456,e.Ahookabove=7842,e.Aiecyrillic=1236,e.Ainvertedbreve=514,e.Alpha=913,e.Alphatonos=902,e.Amacron=256,e.Amonospace=65313,e.Aogonek=260,e.Aring=197,e.Aringacute=506,e.Aringbelow=7680,e.Aringsmall=63461,e.Asmall=63329,e.Atilde=195,e.Atildesmall=63459,e.Aybarmenian=1329,e.B=66,e.Bcircle=9399,e.Bdotaccent=7682,e.Bdotbelow=7684,e.Becyrillic=1041,e.Benarmenian=1330,e.Beta=914,e.Bhook=385,e.Blinebelow=7686,e.Bmonospace=65314,e.Brevesmall=63220,e.Bsmall=63330,e.Btopbar=386,e.C=67,e.Caarmenian=1342,e.Cacute=262,e.Caron=63178,e.Caronsmall=63221,e.Ccaron=268,e.Ccedilla=199,e.Ccedillaacute=7688,e.Ccedillasmall=63463,e.Ccircle=9400,e.Ccircumflex=264,e.Cdot=266,e.Cdotaccent=266,e.Cedillasmall=63416,e.Chaarmenian=1353,e.Cheabkhasiancyrillic=1212,e.Checyrillic=1063,e.Chedescenderabkhasiancyrillic=1214,e.Chedescendercyrillic=1206,e.Chedieresiscyrillic=1268,e.Cheharmenian=1347,e.Chekhakassiancyrillic=1227,e.Cheverticalstrokecyrillic=1208,e.Chi=935,e.Chook=391,e.Circumflexsmall=63222,e.Cmonospace=65315,e.Coarmenian=1361,e.Csmall=63331,e.D=68,e.DZ=497,e.DZcaron=452,e.Daarmenian=1332,e.Dafrican=393,e.Dcaron=270,e.Dcedilla=7696,e.Dcircle=9401,e.Dcircumflexbelow=7698,e.Dcroat=272,e.Ddotaccent=7690,e.Ddotbelow=7692,e.Decyrillic=1044,e.Deicoptic=1006,e.Delta=8710,e.Deltagreek=916,e.Dhook=394,e.Dieresis=63179,e.DieresisAcute=63180,e.DieresisGrave=63181,e.Dieresissmall=63400,e.Digammagreek=988,e.Djecyrillic=1026,e.Dlinebelow=7694,e.Dmonospace=65316,e.Dotaccentsmall=63223,e.Dslash=272,e.Dsmall=63332,e.Dtopbar=395,e.Dz=498,e.Dzcaron=453,e.Dzeabkhasiancyrillic=1248,e.Dzecyrillic=1029,e.Dzhecyrillic=1039,e.E=69,e.Eacute=201,e.Eacutesmall=63465,e.Ebreve=276,e.Ecaron=282,e.Ecedillabreve=7708,e.Echarmenian=1333,e.Ecircle=9402,e.Ecircumflex=202,e.Ecircumflexacute=7870,e.Ecircumflexbelow=7704,e.Ecircumflexdotbelow=7878,e.Ecircumflexgrave=7872,e.Ecircumflexhookabove=7874,e.Ecircumflexsmall=63466,e.Ecircumflextilde=7876,e.Ecyrillic=1028,e.Edblgrave=516,e.Edieresis=203,e.Edieresissmall=63467,e.Edot=278,e.Edotaccent=278,e.Edotbelow=7864,e.Efcyrillic=1060,e.Egrave=200,e.Egravesmall=63464,e.Eharmenian=1335,e.Ehookabove=7866,e.Eightroman=8551,e.Einvertedbreve=518,e.Eiotifiedcyrillic=1124,e.Elcyrillic=1051,e.Elevenroman=8554,e.Emacron=274,e.Emacronacute=7702,e.Emacrongrave=7700,e.Emcyrillic=1052,e.Emonospace=65317,e.Encyrillic=1053,e.Endescendercyrillic=1186,e.Eng=330,e.Enghecyrillic=1188,e.Enhookcyrillic=1223,e.Eogonek=280,e.Eopen=400,e.Epsilon=917,e.Epsilontonos=904,e.Ercyrillic=1056,e.Ereversed=398,e.Ereversedcyrillic=1069,e.Escyrillic=1057,e.Esdescendercyrillic=1194,e.Esh=425,e.Esmall=63333,e.Eta=919,e.Etarmenian=1336,e.Etatonos=905,e.Eth=208,e.Ethsmall=63472,e.Etilde=7868,e.Etildebelow=7706,e.Euro=8364,e.Ezh=439,e.Ezhcaron=494,e.Ezhreversed=440,e.F=70,e.Fcircle=9403,e.Fdotaccent=7710,e.Feharmenian=1366,e.Feicoptic=996,e.Fhook=401,e.Fitacyrillic=1138,e.Fiveroman=8548,e.Fmonospace=65318,e.Fourroman=8547,e.Fsmall=63334,e.G=71,e.GBsquare=13191,e.Gacute=500,e.Gamma=915,e.Gammaafrican=404,e.Gangiacoptic=1002,e.Gbreve=286,e.Gcaron=486,e.Gcedilla=290,e.Gcircle=9404,e.Gcircumflex=284,e.Gcommaaccent=290,e.Gdot=288,e.Gdotaccent=288,e.Gecyrillic=1043,e.Ghadarmenian=1346,e.Ghemiddlehookcyrillic=1172,e.Ghestrokecyrillic=1170,e.Gheupturncyrillic=1168,e.Ghook=403,e.Gimarmenian=1331,e.Gjecyrillic=1027,e.Gmacron=7712,e.Gmonospace=65319,e.Grave=63182,e.Gravesmall=63328,e.Gsmall=63335,e.Gsmallhook=667,e.Gstroke=484,e.H=72,e.H18533=9679,e.H18543=9642,e.H18551=9643,e.H22073=9633,e.HPsquare=13259,e.Haabkhasiancyrillic=1192,e.Hadescendercyrillic=1202,e.Hardsigncyrillic=1066,e.Hbar=294,e.Hbrevebelow=7722,e.Hcedilla=7720,e.Hcircle=9405,e.Hcircumflex=292,e.Hdieresis=7718,e.Hdotaccent=7714,e.Hdotbelow=7716,e.Hmonospace=65320,e.Hoarmenian=1344,e.Horicoptic=1e3,e.Hsmall=63336,e.Hungarumlaut=63183,e.Hungarumlautsmall=63224,e.Hzsquare=13200,e.I=73,e.IAcyrillic=1071,e.IJ=306,e.IUcyrillic=1070,e.Iacute=205,e.Iacutesmall=63469,e.Ibreve=300,e.Icaron=463,e.Icircle=9406,e.Icircumflex=206,e.Icircumflexsmall=63470,e.Icyrillic=1030,e.Idblgrave=520,e.Idieresis=207,e.Idieresisacute=7726,e.Idieresiscyrillic=1252,e.Idieresissmall=63471,e.Idot=304,e.Idotaccent=304,e.Idotbelow=7882,e.Iebrevecyrillic=1238,e.Iecyrillic=1045,e.Ifraktur=8465,e.Igrave=204,e.Igravesmall=63468,e.Ihookabove=7880,e.Iicyrillic=1048,e.Iinvertedbreve=522,e.Iishortcyrillic=1049,e.Imacron=298,e.Imacroncyrillic=1250,e.Imonospace=65321,e.Iniarmenian=1339,e.Iocyrillic=1025,e.Iogonek=302,e.Iota=921,e.Iotaafrican=406,e.Iotadieresis=938,e.Iotatonos=906,e.Ismall=63337,e.Istroke=407,e.Itilde=296,e.Itildebelow=7724,e.Izhitsacyrillic=1140,e.Izhitsadblgravecyrillic=1142,e.J=74,e.Jaarmenian=1345,e.Jcircle=9407,e.Jcircumflex=308,e.Jecyrillic=1032,e.Jheharmenian=1355,e.Jmonospace=65322,e.Jsmall=63338,e.K=75,e.KBsquare=13189,e.KKsquare=13261,e.Kabashkircyrillic=1184,e.Kacute=7728,e.Kacyrillic=1050,e.Kadescendercyrillic=1178,e.Kahookcyrillic=1219,e.Kappa=922,e.Kastrokecyrillic=1182,e.Kaverticalstrokecyrillic=1180,e.Kcaron=488,e.Kcedilla=310,e.Kcircle=9408,e.Kcommaaccent=310,e.Kdotbelow=7730,e.Keharmenian=1364,e.Kenarmenian=1343,e.Khacyrillic=1061,e.Kheicoptic=998,e.Khook=408,e.Kjecyrillic=1036,e.Klinebelow=7732,e.Kmonospace=65323,e.Koppacyrillic=1152,e.Koppagreek=990,e.Ksicyrillic=1134,e.Ksmall=63339,e.L=76,e.LJ=455,e.LL=63167,e.Lacute=313,e.Lambda=923,e.Lcaron=317,e.Lcedilla=315,e.Lcircle=9409,e.Lcircumflexbelow=7740,e.Lcommaaccent=315,e.Ldot=319,e.Ldotaccent=319,e.Ldotbelow=7734,e.Ldotbelowmacron=7736,e.Liwnarmenian=1340,e.Lj=456,e.Ljecyrillic=1033,e.Llinebelow=7738,e.Lmonospace=65324,e.Lslash=321,e.Lslashsmall=63225,e.Lsmall=63340,e.M=77,e.MBsquare=13190,e.Macron=63184,e.Macronsmall=63407,e.Macute=7742,e.Mcircle=9410,e.Mdotaccent=7744,e.Mdotbelow=7746,e.Menarmenian=1348,e.Mmonospace=65325,e.Msmall=63341,e.Mturned=412,e.Mu=924,e.N=78,e.NJ=458,e.Nacute=323,e.Ncaron=327,e.Ncedilla=325,e.Ncircle=9411,e.Ncircumflexbelow=7754,e.Ncommaaccent=325,e.Ndotaccent=7748,e.Ndotbelow=7750,e.Nhookleft=413,e.Nineroman=8552,e.Nj=459,e.Njecyrillic=1034,e.Nlinebelow=7752,e.Nmonospace=65326,e.Nowarmenian=1350,e.Nsmall=63342,e.Ntilde=209,e.Ntildesmall=63473,e.Nu=925,e.O=79,e.OE=338,e.OEsmall=63226,e.Oacute=211,e.Oacutesmall=63475,e.Obarredcyrillic=1256,e.Obarreddieresiscyrillic=1258,e.Obreve=334,e.Ocaron=465,e.Ocenteredtilde=415,e.Ocircle=9412,e.Ocircumflex=212,e.Ocircumflexacute=7888,e.Ocircumflexdotbelow=7896,e.Ocircumflexgrave=7890,e.Ocircumflexhookabove=7892,e.Ocircumflexsmall=63476,e.Ocircumflextilde=7894,e.Ocyrillic=1054,e.Odblacute=336,e.Odblgrave=524,e.Odieresis=214,e.Odieresiscyrillic=1254,e.Odieresissmall=63478,e.Odotbelow=7884,e.Ogoneksmall=63227,e.Ograve=210,e.Ogravesmall=63474,e.Oharmenian=1365,e.Ohm=8486,e.Ohookabove=7886,e.Ohorn=416,e.Ohornacute=7898,e.Ohorndotbelow=7906,e.Ohorngrave=7900,e.Ohornhookabove=7902,e.Ohorntilde=7904,e.Ohungarumlaut=336,e.Oi=418,e.Oinvertedbreve=526,e.Omacron=332,e.Omacronacute=7762,e.Omacrongrave=7760,e.Omega=8486,e.Omegacyrillic=1120,e.Omegagreek=937,e.Omegaroundcyrillic=1146,e.Omegatitlocyrillic=1148,e.Omegatonos=911,e.Omicron=927,e.Omicrontonos=908,e.Omonospace=65327,e.Oneroman=8544,e.Oogonek=490,e.Oogonekmacron=492,e.Oopen=390,e.Oslash=216,e.Oslashacute=510,e.Oslashsmall=63480,e.Osmall=63343,e.Ostrokeacute=510,e.Otcyrillic=1150,e.Otilde=213,e.Otildeacute=7756,e.Otildedieresis=7758,e.Otildesmall=63477,e.P=80,e.Pacute=7764,e.Pcircle=9413,e.Pdotaccent=7766,e.Pecyrillic=1055,e.Peharmenian=1354,e.Pemiddlehookcyrillic=1190,e.Phi=934,e.Phook=420,e.Pi=928,e.Piwrarmenian=1363,e.Pmonospace=65328,e.Psi=936,e.Psicyrillic=1136,e.Psmall=63344,e.Q=81,e.Qcircle=9414,e.Qmonospace=65329,e.Qsmall=63345,e.R=82,e.Raarmenian=1356,e.Racute=340,e.Rcaron=344,e.Rcedilla=342,e.Rcircle=9415,e.Rcommaaccent=342,e.Rdblgrave=528,e.Rdotaccent=7768,e.Rdotbelow=7770,e.Rdotbelowmacron=7772,e.Reharmenian=1360,e.Rfraktur=8476,e.Rho=929,e.Ringsmall=63228,e.Rinvertedbreve=530,e.Rlinebelow=7774,e.Rmonospace=65330,e.Rsmall=63346,e.Rsmallinverted=641,e.Rsmallinvertedsuperior=694,e.S=83,e.SF010000=9484,e.SF020000=9492,e.SF030000=9488,e.SF040000=9496,e.SF050000=9532,e.SF060000=9516,e.SF070000=9524,e.SF080000=9500,e.SF090000=9508,e.SF100000=9472,e.SF110000=9474,e.SF190000=9569,e.SF200000=9570,e.SF210000=9558,e.SF220000=9557,e.SF230000=9571,e.SF240000=9553,e.SF250000=9559,e.SF260000=9565,e.SF270000=9564,e.SF280000=9563,e.SF360000=9566,e.SF370000=9567,e.SF380000=9562,e.SF390000=9556,e.SF400000=9577,e.SF410000=9574,e.SF420000=9568,e.SF430000=9552,e.SF440000=9580,e.SF450000=9575,e.SF460000=9576,e.SF470000=9572,e.SF480000=9573,e.SF490000=9561,e.SF500000=9560,e.SF510000=9554,e.SF520000=9555,e.SF530000=9579,e.SF540000=9578,e.Sacute=346,e.Sacutedotaccent=7780,e.Sampigreek=992,e.Scaron=352,e.Scarondotaccent=7782,e.Scaronsmall=63229,e.Scedilla=350,e.Schwa=399,e.Schwacyrillic=1240,e.Schwadieresiscyrillic=1242,e.Scircle=9416,e.Scircumflex=348,e.Scommaaccent=536,e.Sdotaccent=7776,e.Sdotbelow=7778,e.Sdotbelowdotaccent=7784,e.Seharmenian=1357,e.Sevenroman=8550,e.Shaarmenian=1351,e.Shacyrillic=1064,e.Shchacyrillic=1065,e.Sheicoptic=994,e.Shhacyrillic=1210,e.Shimacoptic=1004,e.Sigma=931,e.Sixroman=8549,e.Smonospace=65331,e.Softsigncyrillic=1068,e.Ssmall=63347,e.Stigmagreek=986,e.T=84,e.Tau=932,e.Tbar=358,e.Tcaron=356,e.Tcedilla=354,e.Tcircle=9417,e.Tcircumflexbelow=7792,e.Tcommaaccent=354,e.Tdotaccent=7786,e.Tdotbelow=7788,e.Tecyrillic=1058,e.Tedescendercyrillic=1196,e.Tenroman=8553,e.Tetsecyrillic=1204,e.Theta=920,e.Thook=428,e.Thorn=222,e.Thornsmall=63486,e.Threeroman=8546,e.Tildesmall=63230,e.Tiwnarmenian=1359,e.Tlinebelow=7790,e.Tmonospace=65332,e.Toarmenian=1337,e.Tonefive=444,e.Tonesix=388,e.Tonetwo=423,e.Tretroflexhook=430,e.Tsecyrillic=1062,e.Tshecyrillic=1035,e.Tsmall=63348,e.Twelveroman=8555,e.Tworoman=8545,e.U=85,e.Uacute=218,e.Uacutesmall=63482,e.Ubreve=364,e.Ucaron=467,e.Ucircle=9418,e.Ucircumflex=219,e.Ucircumflexbelow=7798,e.Ucircumflexsmall=63483,e.Ucyrillic=1059,e.Udblacute=368,e.Udblgrave=532,e.Udieresis=220,e.Udieresisacute=471,e.Udieresisbelow=7794,e.Udieresiscaron=473,e.Udieresiscyrillic=1264,e.Udieresisgrave=475,e.Udieresismacron=469,e.Udieresissmall=63484,e.Udotbelow=7908,e.Ugrave=217,e.Ugravesmall=63481,e.Uhookabove=7910,e.Uhorn=431,e.Uhornacute=7912,e.Uhorndotbelow=7920,e.Uhorngrave=7914,e.Uhornhookabove=7916,e.Uhorntilde=7918,e.Uhungarumlaut=368,e.Uhungarumlautcyrillic=1266,e.Uinvertedbreve=534,e.Ukcyrillic=1144,e.Umacron=362,e.Umacroncyrillic=1262,e.Umacrondieresis=7802,e.Umonospace=65333,e.Uogonek=370,e.Upsilon=933,e.Upsilon1=978,e.Upsilonacutehooksymbolgreek=979,e.Upsilonafrican=433,e.Upsilondieresis=939,e.Upsilondieresishooksymbolgreek=980,e.Upsilonhooksymbol=978,e.Upsilontonos=910,e.Uring=366,e.Ushortcyrillic=1038,e.Usmall=63349,e.Ustraightcyrillic=1198,e.Ustraightstrokecyrillic=1200,e.Utilde=360,e.Utildeacute=7800,e.Utildebelow=7796,e.V=86,e.Vcircle=9419,e.Vdotbelow=7806,e.Vecyrillic=1042,e.Vewarmenian=1358,e.Vhook=434,e.Vmonospace=65334,e.Voarmenian=1352,e.Vsmall=63350,e.Vtilde=7804,e.W=87,e.Wacute=7810,e.Wcircle=9420,e.Wcircumflex=372,e.Wdieresis=7812,e.Wdotaccent=7814,e.Wdotbelow=7816,e.Wgrave=7808,e.Wmonospace=65335,e.Wsmall=63351,e.X=88,e.Xcircle=9421,e.Xdieresis=7820,e.Xdotaccent=7818,e.Xeharmenian=1341,e.Xi=926,e.Xmonospace=65336,e.Xsmall=63352,e.Y=89,e.Yacute=221,e.Yacutesmall=63485,e.Yatcyrillic=1122,e.Ycircle=9422,e.Ycircumflex=374,e.Ydieresis=376,e.Ydieresissmall=63487,e.Ydotaccent=7822,e.Ydotbelow=7924,e.Yericyrillic=1067,e.Yerudieresiscyrillic=1272,e.Ygrave=7922,e.Yhook=435,e.Yhookabove=7926,e.Yiarmenian=1349,e.Yicyrillic=1031,e.Yiwnarmenian=1362,e.Ymonospace=65337,e.Ysmall=63353,e.Ytilde=7928,e.Yusbigcyrillic=1130,e.Yusbigiotifiedcyrillic=1132,e.Yuslittlecyrillic=1126,e.Yuslittleiotifiedcyrillic=1128,e.Z=90,e.Zaarmenian=1334,e.Zacute=377,e.Zcaron=381,e.Zcaronsmall=63231,e.Zcircle=9423,e.Zcircumflex=7824,e.Zdot=379,e.Zdotaccent=379,e.Zdotbelow=7826,e.Zecyrillic=1047,e.Zedescendercyrillic=1176,e.Zedieresiscyrillic=1246,e.Zeta=918,e.Zhearmenian=1338,e.Zhebrevecyrillic=1217,e.Zhecyrillic=1046,e.Zhedescendercyrillic=1174,e.Zhedieresiscyrillic=1244,e.Zlinebelow=7828,e.Zmonospace=65338,e.Zsmall=63354,e.Zstroke=437,e.a=97,e.aabengali=2438,e.aacute=225,e.aadeva=2310,e.aagujarati=2694,e.aagurmukhi=2566,e.aamatragurmukhi=2622,e.aarusquare=13059,e.aavowelsignbengali=2494,e.aavowelsigndeva=2366,e.aavowelsigngujarati=2750,e.abbreviationmarkarmenian=1375,e.abbreviationsigndeva=2416,e.abengali=2437,e.abopomofo=12570,e.abreve=259,e.abreveacute=7855,e.abrevecyrillic=1233,e.abrevedotbelow=7863,e.abrevegrave=7857,e.abrevehookabove=7859,e.abrevetilde=7861,e.acaron=462,e.acircle=9424,e.acircumflex=226,e.acircumflexacute=7845,e.acircumflexdotbelow=7853,e.acircumflexgrave=7847,e.acircumflexhookabove=7849,e.acircumflextilde=7851,e.acute=180,e.acutebelowcmb=791,e.acutecmb=769,e.acutecomb=769,e.acutedeva=2388,e.acutelowmod=719,e.acutetonecmb=833,e.acyrillic=1072,e.adblgrave=513,e.addakgurmukhi=2673,e.adeva=2309,e.adieresis=228,e.adieresiscyrillic=1235,e.adieresismacron=479,e.adotbelow=7841,e.adotmacron=481,e.ae=230,e.aeacute=509,e.aekorean=12624,e.aemacron=483,e.afii00208=8213,e.afii08941=8356,e.afii10017=1040,e.afii10018=1041,e.afii10019=1042,e.afii10020=1043,e.afii10021=1044,e.afii10022=1045,e.afii10023=1025,e.afii10024=1046,e.afii10025=1047,e.afii10026=1048,e.afii10027=1049,e.afii10028=1050,e.afii10029=1051,e.afii10030=1052,e.afii10031=1053,e.afii10032=1054,e.afii10033=1055,e.afii10034=1056,e.afii10035=1057,e.afii10036=1058,e.afii10037=1059,e.afii10038=1060,e.afii10039=1061,e.afii10040=1062,e.afii10041=1063,e.afii10042=1064,e.afii10043=1065,e.afii10044=1066,e.afii10045=1067,e.afii10046=1068,e.afii10047=1069,e.afii10048=1070,e.afii10049=1071,e.afii10050=1168,e.afii10051=1026,e.afii10052=1027,e.afii10053=1028,e.afii10054=1029,e.afii10055=1030,e.afii10056=1031,e.afii10057=1032,e.afii10058=1033,e.afii10059=1034,e.afii10060=1035,e.afii10061=1036,e.afii10062=1038,e.afii10063=63172,e.afii10064=63173,e.afii10065=1072,e.afii10066=1073,e.afii10067=1074,e.afii10068=1075,e.afii10069=1076,e.afii10070=1077,e.afii10071=1105,e.afii10072=1078,e.afii10073=1079,e.afii10074=1080,e.afii10075=1081,e.afii10076=1082,e.afii10077=1083,e.afii10078=1084,e.afii10079=1085,e.afii10080=1086,e.afii10081=1087,e.afii10082=1088,e.afii10083=1089,e.afii10084=1090,e.afii10085=1091,e.afii10086=1092,e.afii10087=1093,e.afii10088=1094,e.afii10089=1095,e.afii10090=1096,e.afii10091=1097,e.afii10092=1098,e.afii10093=1099,e.afii10094=1100,e.afii10095=1101,e.afii10096=1102,e.afii10097=1103,e.afii10098=1169,e.afii10099=1106,e.afii10100=1107,e.afii10101=1108,e.afii10102=1109,e.afii10103=1110,e.afii10104=1111,e.afii10105=1112,e.afii10106=1113,e.afii10107=1114,e.afii10108=1115,e.afii10109=1116,e.afii10110=1118,e.afii10145=1039,e.afii10146=1122,e.afii10147=1138,e.afii10148=1140,e.afii10192=63174,e.afii10193=1119,e.afii10194=1123,e.afii10195=1139,e.afii10196=1141,e.afii10831=63175,e.afii10832=63176,e.afii10846=1241,e.afii299=8206,e.afii300=8207,e.afii301=8205,e.afii57381=1642,e.afii57388=1548,e.afii57392=1632,e.afii57393=1633,e.afii57394=1634,e.afii57395=1635,e.afii57396=1636,e.afii57397=1637,e.afii57398=1638,e.afii57399=1639,e.afii57400=1640,e.afii57401=1641,e.afii57403=1563,e.afii57407=1567,e.afii57409=1569,e.afii57410=1570,e.afii57411=1571,e.afii57412=1572,e.afii57413=1573,e.afii57414=1574,e.afii57415=1575,e.afii57416=1576,e.afii57417=1577,e.afii57418=1578,e.afii57419=1579,e.afii57420=1580,e.afii57421=1581,e.afii57422=1582,e.afii57423=1583,e.afii57424=1584,e.afii57425=1585,e.afii57426=1586,e.afii57427=1587,e.afii57428=1588,e.afii57429=1589,e.afii57430=1590,e.afii57431=1591,e.afii57432=1592,e.afii57433=1593,e.afii57434=1594,e.afii57440=1600,e.afii57441=1601,e.afii57442=1602,e.afii57443=1603,e.afii57444=1604,e.afii57445=1605,e.afii57446=1606,e.afii57448=1608,e.afii57449=1609,e.afii57450=1610,e.afii57451=1611,e.afii57452=1612,e.afii57453=1613,e.afii57454=1614,e.afii57455=1615,e.afii57456=1616,e.afii57457=1617,e.afii57458=1618,e.afii57470=1607,e.afii57505=1700,e.afii57506=1662,e.afii57507=1670,e.afii57508=1688,e.afii57509=1711,e.afii57511=1657,e.afii57512=1672,e.afii57513=1681,e.afii57514=1722,e.afii57519=1746,e.afii57534=1749,e.afii57636=8362,e.afii57645=1470,e.afii57658=1475,e.afii57664=1488,e.afii57665=1489,e.afii57666=1490,e.afii57667=1491,e.afii57668=1492,e.afii57669=1493,e.afii57670=1494,e.afii57671=1495,e.afii57672=1496,e.afii57673=1497,e.afii57674=1498,e.afii57675=1499,e.afii57676=1500,e.afii57677=1501,e.afii57678=1502,e.afii57679=1503,e.afii57680=1504,e.afii57681=1505,e.afii57682=1506,e.afii57683=1507,e.afii57684=1508,e.afii57685=1509,e.afii57686=1510,e.afii57687=1511,e.afii57688=1512,e.afii57689=1513,e.afii57690=1514,e.afii57694=64298,e.afii57695=64299,e.afii57700=64331,e.afii57705=64287,e.afii57716=1520,e.afii57717=1521,e.afii57718=1522,e.afii57723=64309,e.afii57793=1460,e.afii57794=1461,e.afii57795=1462,e.afii57796=1467,e.afii57797=1464,e.afii57798=1463,e.afii57799=1456,e.afii57800=1458,e.afii57801=1457,e.afii57802=1459,e.afii57803=1474,e.afii57804=1473,e.afii57806=1465,e.afii57807=1468,e.afii57839=1469,e.afii57841=1471,e.afii57842=1472,e.afii57929=700,e.afii61248=8453,e.afii61289=8467,e.afii61352=8470,e.afii61573=8236,e.afii61574=8237,e.afii61575=8238,e.afii61664=8204,e.afii63167=1645,e.afii64937=701,e.agrave=224,e.agujarati=2693,e.agurmukhi=2565,e.ahiragana=12354,e.ahookabove=7843,e.aibengali=2448,e.aibopomofo=12574,e.aideva=2320,e.aiecyrillic=1237,e.aigujarati=2704,e.aigurmukhi=2576,e.aimatragurmukhi=2632,e.ainarabic=1593,e.ainfinalarabic=65226,e.aininitialarabic=65227,e.ainmedialarabic=65228,e.ainvertedbreve=515,e.aivowelsignbengali=2504,e.aivowelsigndeva=2376,e.aivowelsigngujarati=2760,e.akatakana=12450,e.akatakanahalfwidth=65393,e.akorean=12623,e.alef=1488,e.alefarabic=1575,e.alefdageshhebrew=64304,e.aleffinalarabic=65166,e.alefhamzaabovearabic=1571,e.alefhamzaabovefinalarabic=65156,e.alefhamzabelowarabic=1573,e.alefhamzabelowfinalarabic=65160,e.alefhebrew=1488,e.aleflamedhebrew=64335,e.alefmaddaabovearabic=1570,e.alefmaddaabovefinalarabic=65154,e.alefmaksuraarabic=1609,e.alefmaksurafinalarabic=65264,e.alefmaksurainitialarabic=65267,e.alefmaksuramedialarabic=65268,e.alefpatahhebrew=64302,e.alefqamatshebrew=64303,e.aleph=8501,e.allequal=8780,e.alpha=945,e.alphatonos=940,e.amacron=257,e.amonospace=65345,e.ampersand=38,e.ampersandmonospace=65286,e.ampersandsmall=63270,e.amsquare=13250,e.anbopomofo=12578,e.angbopomofo=12580,e.angbracketleft=12296,e.angbracketright=12297,e.angkhankhuthai=3674,e.angle=8736,e.anglebracketleft=12296,e.anglebracketleftvertical=65087,e.anglebracketright=12297,e.anglebracketrightvertical=65088,e.angleleft=9001,e.angleright=9002,e.angstrom=8491,e.anoteleia=903,e.anudattadeva=2386,e.anusvarabengali=2434,e.anusvaradeva=2306,e.anusvaragujarati=2690,e.aogonek=261,e.apaatosquare=13056,e.aparen=9372,e.apostrophearmenian=1370,e.apostrophemod=700,e.apple=63743,e.approaches=8784,e.approxequal=8776,e.approxequalorimage=8786,e.approximatelyequal=8773,e.araeaekorean=12686,e.araeakorean=12685,e.arc=8978,e.arighthalfring=7834,e.aring=229,e.aringacute=507,e.aringbelow=7681,e.arrowboth=8596,e.arrowdashdown=8675,e.arrowdashleft=8672,e.arrowdashright=8674,e.arrowdashup=8673,e.arrowdblboth=8660,e.arrowdbldown=8659,e.arrowdblleft=8656,e.arrowdblright=8658,e.arrowdblup=8657,e.arrowdown=8595,e.arrowdownleft=8601,e.arrowdownright=8600,e.arrowdownwhite=8681,e.arrowheaddownmod=709,e.arrowheadleftmod=706,e.arrowheadrightmod=707,e.arrowheadupmod=708,e.arrowhorizex=63719,e.arrowleft=8592,e.arrowleftdbl=8656,e.arrowleftdblstroke=8653,e.arrowleftoverright=8646,e.arrowleftwhite=8678,e.arrowright=8594,e.arrowrightdblstroke=8655,e.arrowrightheavy=10142,e.arrowrightoverleft=8644,e.arrowrightwhite=8680,e.arrowtableft=8676,e.arrowtabright=8677,e.arrowup=8593,e.arrowupdn=8597,e.arrowupdnbse=8616,e.arrowupdownbase=8616,e.arrowupleft=8598,e.arrowupleftofdown=8645,e.arrowupright=8599,e.arrowupwhite=8679,e.arrowvertex=63718,e.asciicircum=94,e.asciicircummonospace=65342,e.asciitilde=126,e.asciitildemonospace=65374,e.ascript=593,e.ascriptturned=594,e.asmallhiragana=12353,e.asmallkatakana=12449,e.asmallkatakanahalfwidth=65383,e.asterisk=42,e.asteriskaltonearabic=1645,e.asteriskarabic=1645,e.asteriskmath=8727,e.asteriskmonospace=65290,e.asterisksmall=65121,e.asterism=8258,e.asuperior=63209,e.asymptoticallyequal=8771,e.at=64,e.atilde=227,e.atmonospace=65312,e.atsmall=65131,e.aturned=592,e.aubengali=2452,e.aubopomofo=12576,e.audeva=2324,e.augujarati=2708,e.augurmukhi=2580,e.aulengthmarkbengali=2519,e.aumatragurmukhi=2636,e.auvowelsignbengali=2508,e.auvowelsigndeva=2380,e.auvowelsigngujarati=2764,e.avagrahadeva=2365,e.aybarmenian=1377,e.ayin=1506,e.ayinaltonehebrew=64288,e.ayinhebrew=1506,e.b=98,e.babengali=2476,e.backslash=92,e.backslashmonospace=65340,e.badeva=2348,e.bagujarati=2732,e.bagurmukhi=2604,e.bahiragana=12400,e.bahtthai=3647,e.bakatakana=12496,e.bar=124,e.barmonospace=65372,e.bbopomofo=12549,e.bcircle=9425,e.bdotaccent=7683,e.bdotbelow=7685,e.beamedsixteenthnotes=9836,e.because=8757,e.becyrillic=1073,e.beharabic=1576,e.behfinalarabic=65168,e.behinitialarabic=65169,e.behiragana=12409,e.behmedialarabic=65170,e.behmeeminitialarabic=64671,e.behmeemisolatedarabic=64520,e.behnoonfinalarabic=64621,e.bekatakana=12505,e.benarmenian=1378,e.bet=1489,e.beta=946,e.betasymbolgreek=976,e.betdagesh=64305,e.betdageshhebrew=64305,e.bethebrew=1489,e.betrafehebrew=64332,e.bhabengali=2477,e.bhadeva=2349,e.bhagujarati=2733,e.bhagurmukhi=2605,e.bhook=595,e.bihiragana=12403,e.bikatakana=12499,e.bilabialclick=664,e.bindigurmukhi=2562,e.birusquare=13105,e.blackcircle=9679,e.blackdiamond=9670,e.blackdownpointingtriangle=9660,e.blackleftpointingpointer=9668,e.blackleftpointingtriangle=9664,e.blacklenticularbracketleft=12304,e.blacklenticularbracketleftvertical=65083,e.blacklenticularbracketright=12305,e.blacklenticularbracketrightvertical=65084,e.blacklowerlefttriangle=9699,e.blacklowerrighttriangle=9698,e.blackrectangle=9644,e.blackrightpointingpointer=9658,e.blackrightpointingtriangle=9654,e.blacksmallsquare=9642,e.blacksmilingface=9787,e.blacksquare=9632,e.blackstar=9733,e.blackupperlefttriangle=9700,e.blackupperrighttriangle=9701,e.blackuppointingsmalltriangle=9652,e.blackuppointingtriangle=9650,e.blank=9251,e.blinebelow=7687,e.block=9608,e.bmonospace=65346,e.bobaimaithai=3610,e.bohiragana=12412,e.bokatakana=12508,e.bparen=9373,e.bqsquare=13251,e.braceex=63732,e.braceleft=123,e.braceleftbt=63731,e.braceleftmid=63730,e.braceleftmonospace=65371,e.braceleftsmall=65115,e.bracelefttp=63729,e.braceleftvertical=65079,e.braceright=125,e.bracerightbt=63742,e.bracerightmid=63741,e.bracerightmonospace=65373,e.bracerightsmall=65116,e.bracerighttp=63740,e.bracerightvertical=65080,e.bracketleft=91,e.bracketleftbt=63728,e.bracketleftex=63727,e.bracketleftmonospace=65339,e.bracketlefttp=63726,e.bracketright=93,e.bracketrightbt=63739,e.bracketrightex=63738,e.bracketrightmonospace=65341,e.bracketrighttp=63737,e.breve=728,e.brevebelowcmb=814,e.brevecmb=774,e.breveinvertedbelowcmb=815,e.breveinvertedcmb=785,e.breveinverteddoublecmb=865,e.bridgebelowcmb=810,e.bridgeinvertedbelowcmb=826,e.brokenbar=166,e.bstroke=384,e.bsuperior=63210,e.btopbar=387,e.buhiragana=12406,e.bukatakana=12502,e.bullet=8226,e.bulletinverse=9688,e.bulletoperator=8729,e.bullseye=9678,e.c=99,e.caarmenian=1390,e.cabengali=2458,e.cacute=263,e.cadeva=2330,e.cagujarati=2714,e.cagurmukhi=2586,e.calsquare=13192,e.candrabindubengali=2433,e.candrabinducmb=784,e.candrabindudeva=2305,e.candrabindugujarati=2689,e.capslock=8682,e.careof=8453,e.caron=711,e.caronbelowcmb=812,e.caroncmb=780,e.carriagereturn=8629,e.cbopomofo=12568,e.ccaron=269,e.ccedilla=231,e.ccedillaacute=7689,e.ccircle=9426,e.ccircumflex=265,e.ccurl=597,e.cdot=267,e.cdotaccent=267,e.cdsquare=13253,e.cedilla=184,e.cedillacmb=807,e.cent=162,e.centigrade=8451,e.centinferior=63199,e.centmonospace=65504,e.centoldstyle=63394,e.centsuperior=63200,e.chaarmenian=1401,e.chabengali=2459,e.chadeva=2331,e.chagujarati=2715,e.chagurmukhi=2587,e.chbopomofo=12564,e.cheabkhasiancyrillic=1213,e.checkmark=10003,e.checyrillic=1095,e.chedescenderabkhasiancyrillic=1215,e.chedescendercyrillic=1207,e.chedieresiscyrillic=1269,e.cheharmenian=1395,e.chekhakassiancyrillic=1228,e.cheverticalstrokecyrillic=1209,e.chi=967,e.chieuchacirclekorean=12919,e.chieuchaparenkorean=12823,e.chieuchcirclekorean=12905,e.chieuchkorean=12618,e.chieuchparenkorean=12809,e.chochangthai=3594,e.chochanthai=3592,e.chochingthai=3593,e.chochoethai=3596,e.chook=392,e.cieucacirclekorean=12918,e.cieucaparenkorean=12822,e.cieuccirclekorean=12904,e.cieuckorean=12616,e.cieucparenkorean=12808,e.cieucuparenkorean=12828,e.circle=9675,e.circlecopyrt=169,e.circlemultiply=8855,e.circleot=8857,e.circleplus=8853,e.circlepostalmark=12342,e.circlewithlefthalfblack=9680,e.circlewithrighthalfblack=9681,e.circumflex=710,e.circumflexbelowcmb=813,e.circumflexcmb=770,e.clear=8999,e.clickalveolar=450,e.clickdental=448,e.clicklateral=449,e.clickretroflex=451,e.club=9827,e.clubsuitblack=9827,e.clubsuitwhite=9831,e.cmcubedsquare=13220,e.cmonospace=65347,e.cmsquaredsquare=13216,e.coarmenian=1409,e.colon=58,e.colonmonetary=8353,e.colonmonospace=65306,e.colonsign=8353,e.colonsmall=65109,e.colontriangularhalfmod=721,e.colontriangularmod=720,e.comma=44,e.commaabovecmb=787,e.commaaboverightcmb=789,e.commaaccent=63171,e.commaarabic=1548,e.commaarmenian=1373,e.commainferior=63201,e.commamonospace=65292,e.commareversedabovecmb=788,e.commareversedmod=701,e.commasmall=65104,e.commasuperior=63202,e.commaturnedabovecmb=786,e.commaturnedmod=699,e.compass=9788,e.congruent=8773,e.contourintegral=8750,e.control=8963,e.controlACK=6,e.controlBEL=7,e.controlBS=8,e.controlCAN=24,e.controlCR=13,e.controlDC1=17,e.controlDC2=18,e.controlDC3=19,e.controlDC4=20,e.controlDEL=127,e.controlDLE=16,e.controlEM=25,e.controlENQ=5,e.controlEOT=4,e.controlESC=27,e.controlETB=23,e.controlETX=3,e.controlFF=12,e.controlFS=28,e.controlGS=29,e.controlHT=9,e.controlLF=10,e.controlNAK=21,e.controlNULL=0,e.controlRS=30,e.controlSI=15,e.controlSO=14,e.controlSOT=2,e.controlSTX=1,e.controlSUB=26,e.controlSYN=22,e.controlUS=31,e.controlVT=11,e.copyright=169,e.copyrightsans=63721,e.copyrightserif=63193,e.cornerbracketleft=12300,e.cornerbracketlefthalfwidth=65378,e.cornerbracketleftvertical=65089,e.cornerbracketright=12301,e.cornerbracketrighthalfwidth=65379,e.cornerbracketrightvertical=65090,e.corporationsquare=13183,e.cosquare=13255,e.coverkgsquare=13254,e.cparen=9374,e.cruzeiro=8354,e.cstretched=663,e.curlyand=8911,e.curlyor=8910,e.currency=164,e.cyrBreve=63185,e.cyrFlex=63186,e.cyrbreve=63188,e.cyrflex=63189,e.d=100,e.daarmenian=1380,e.dabengali=2470,e.dadarabic=1590,e.dadeva=2342,e.dadfinalarabic=65214,e.dadinitialarabic=65215,e.dadmedialarabic=65216,e.dagesh=1468,e.dageshhebrew=1468,e.dagger=8224,e.daggerdbl=8225,e.dagujarati=2726,e.dagurmukhi=2598,e.dahiragana=12384,e.dakatakana=12480,e.dalarabic=1583,e.dalet=1491,e.daletdagesh=64307,e.daletdageshhebrew=64307,e.dalethebrew=1491,e.dalfinalarabic=65194,e.dammaarabic=1615,e.dammalowarabic=1615,e.dammatanaltonearabic=1612,e.dammatanarabic=1612,e.danda=2404,e.dargahebrew=1447,e.dargalefthebrew=1447,e.dasiapneumatacyrilliccmb=1157,e.dblGrave=63187,e.dblanglebracketleft=12298,e.dblanglebracketleftvertical=65085,e.dblanglebracketright=12299,e.dblanglebracketrightvertical=65086,e.dblarchinvertedbelowcmb=811,e.dblarrowleft=8660,e.dblarrowright=8658,e.dbldanda=2405,e.dblgrave=63190,e.dblgravecmb=783,e.dblintegral=8748,e.dbllowline=8215,e.dbllowlinecmb=819,e.dbloverlinecmb=831,e.dblprimemod=698,e.dblverticalbar=8214,e.dblverticallineabovecmb=782,e.dbopomofo=12553,e.dbsquare=13256,e.dcaron=271,e.dcedilla=7697,e.dcircle=9427,e.dcircumflexbelow=7699,e.dcroat=273,e.ddabengali=2465,e.ddadeva=2337,e.ddagujarati=2721,e.ddagurmukhi=2593,e.ddalarabic=1672,e.ddalfinalarabic=64393,e.dddhadeva=2396,e.ddhabengali=2466,e.ddhadeva=2338,e.ddhagujarati=2722,e.ddhagurmukhi=2594,e.ddotaccent=7691,e.ddotbelow=7693,e.decimalseparatorarabic=1643,e.decimalseparatorpersian=1643,e.decyrillic=1076,e.degree=176,e.dehihebrew=1453,e.dehiragana=12391,e.deicoptic=1007,e.dekatakana=12487,e.deleteleft=9003,e.deleteright=8998,e.delta=948,e.deltaturned=397,e.denominatorminusonenumeratorbengali=2552,e.dezh=676,e.dhabengali=2471,e.dhadeva=2343,e.dhagujarati=2727,e.dhagurmukhi=2599,e.dhook=599,e.dialytikatonos=901,e.dialytikatonoscmb=836,e.diamond=9830,e.diamondsuitwhite=9826,e.dieresis=168,e.dieresisacute=63191,e.dieresisbelowcmb=804,e.dieresiscmb=776,e.dieresisgrave=63192,e.dieresistonos=901,e.dihiragana=12386,e.dikatakana=12482,e.dittomark=12291,e.divide=247,e.divides=8739,e.divisionslash=8725,e.djecyrillic=1106,e.dkshade=9619,e.dlinebelow=7695,e.dlsquare=13207,e.dmacron=273,e.dmonospace=65348,e.dnblock=9604,e.dochadathai=3598,e.dodekthai=3604,e.dohiragana=12393,e.dokatakana=12489,e.dollar=36,e.dollarinferior=63203,e.dollarmonospace=65284,e.dollaroldstyle=63268,e.dollarsmall=65129,e.dollarsuperior=63204,e.dong=8363,e.dorusquare=13094,e.dotaccent=729,e.dotaccentcmb=775,e.dotbelowcmb=803,e.dotbelowcomb=803,e.dotkatakana=12539,e.dotlessi=305,e.dotlessj=63166,e.dotlessjstrokehook=644,e.dotmath=8901,e.dottedcircle=9676,e.doubleyodpatah=64287,e.doubleyodpatahhebrew=64287,e.downtackbelowcmb=798,e.downtackmod=725,e.dparen=9375,e.dsuperior=63211,e.dtail=598,e.dtopbar=396,e.duhiragana=12389,e.dukatakana=12485,e.dz=499,e.dzaltone=675,e.dzcaron=454,e.dzcurl=677,e.dzeabkhasiancyrillic=1249,e.dzecyrillic=1109,e.dzhecyrillic=1119,e.e=101,e.eacute=233,e.earth=9793,e.ebengali=2447,e.ebopomofo=12572,e.ebreve=277,e.ecandradeva=2317,e.ecandragujarati=2701,e.ecandravowelsigndeva=2373,e.ecandravowelsigngujarati=2757,e.ecaron=283,e.ecedillabreve=7709,e.echarmenian=1381,e.echyiwnarmenian=1415,e.ecircle=9428,e.ecircumflex=234,e.ecircumflexacute=7871,e.ecircumflexbelow=7705,e.ecircumflexdotbelow=7879,e.ecircumflexgrave=7873,e.ecircumflexhookabove=7875,e.ecircumflextilde=7877,e.ecyrillic=1108,e.edblgrave=517,e.edeva=2319,e.edieresis=235,e.edot=279,e.edotaccent=279,e.edotbelow=7865,e.eegurmukhi=2575,e.eematragurmukhi=2631,e.efcyrillic=1092,e.egrave=232,e.egujarati=2703,e.eharmenian=1383,e.ehbopomofo=12573,e.ehiragana=12360,e.ehookabove=7867,e.eibopomofo=12575,e.eight=56,e.eightarabic=1640,e.eightbengali=2542,e.eightcircle=9319,e.eightcircleinversesansserif=10129,e.eightdeva=2414,e.eighteencircle=9329,e.eighteenparen=9349,e.eighteenperiod=9369,e.eightgujarati=2798,e.eightgurmukhi=2670,e.eighthackarabic=1640,e.eighthangzhou=12328,e.eighthnotebeamed=9835,e.eightideographicparen=12839,e.eightinferior=8328,e.eightmonospace=65304,e.eightoldstyle=63288,e.eightparen=9339,e.eightperiod=9359,e.eightpersian=1784,e.eightroman=8567,e.eightsuperior=8312,e.eightthai=3672,e.einvertedbreve=519,e.eiotifiedcyrillic=1125,e.ekatakana=12456,e.ekatakanahalfwidth=65396,e.ekonkargurmukhi=2676,e.ekorean=12628,e.elcyrillic=1083,e.element=8712,e.elevencircle=9322,e.elevenparen=9342,e.elevenperiod=9362,e.elevenroman=8570,e.ellipsis=8230,e.ellipsisvertical=8942,e.emacron=275,e.emacronacute=7703,e.emacrongrave=7701,e.emcyrillic=1084,e.emdash=8212,e.emdashvertical=65073,e.emonospace=65349,e.emphasismarkarmenian=1371,e.emptyset=8709,e.enbopomofo=12579,e.encyrillic=1085,e.endash=8211,e.endashvertical=65074,e.endescendercyrillic=1187,e.eng=331,e.engbopomofo=12581,e.enghecyrillic=1189,e.enhookcyrillic=1224,e.enspace=8194,e.eogonek=281,e.eokorean=12627,e.eopen=603,e.eopenclosed=666,e.eopenreversed=604,e.eopenreversedclosed=606,e.eopenreversedhook=605,e.eparen=9376,e.epsilon=949,e.epsilontonos=941,e.equal=61,e.equalmonospace=65309,e.equalsmall=65126,e.equalsuperior=8316,e.equivalence=8801,e.erbopomofo=12582,e.ercyrillic=1088,e.ereversed=600,e.ereversedcyrillic=1101,e.escyrillic=1089,e.esdescendercyrillic=1195,e.esh=643,e.eshcurl=646,e.eshortdeva=2318,e.eshortvowelsigndeva=2374,e.eshreversedloop=426,e.eshsquatreversed=645,e.esmallhiragana=12359,e.esmallkatakana=12455,e.esmallkatakanahalfwidth=65386,e.estimated=8494,e.esuperior=63212,e.eta=951,e.etarmenian=1384,e.etatonos=942,e.eth=240,e.etilde=7869,e.etildebelow=7707,e.etnahtafoukhhebrew=1425,e.etnahtafoukhlefthebrew=1425,e.etnahtahebrew=1425,e.etnahtalefthebrew=1425,e.eturned=477,e.eukorean=12641,e.euro=8364,e.evowelsignbengali=2503,e.evowelsigndeva=2375,e.evowelsigngujarati=2759,e.exclam=33,e.exclamarmenian=1372,e.exclamdbl=8252,e.exclamdown=161,e.exclamdownsmall=63393,e.exclammonospace=65281,e.exclamsmall=63265,e.existential=8707,e.ezh=658,e.ezhcaron=495,e.ezhcurl=659,e.ezhreversed=441,e.ezhtail=442,e.f=102,e.fadeva=2398,e.fagurmukhi=2654,e.fahrenheit=8457,e.fathaarabic=1614,e.fathalowarabic=1614,e.fathatanarabic=1611,e.fbopomofo=12552,e.fcircle=9429,e.fdotaccent=7711,e.feharabic=1601,e.feharmenian=1414,e.fehfinalarabic=65234,e.fehinitialarabic=65235,e.fehmedialarabic=65236,e.feicoptic=997,e.female=9792,e.ff=64256,e.f_f=64256,e.ffi=64259,e.f_f_i=64259,e.ffl=64260,e.f_f_l=64260,e.fi=64257,e.f_i=64257,e.fifteencircle=9326,e.fifteenparen=9346,e.fifteenperiod=9366,e.figuredash=8210,e.filledbox=9632,e.filledrect=9644,e.finalkaf=1498,e.finalkafdagesh=64314,e.finalkafdageshhebrew=64314,e.finalkafhebrew=1498,e.finalmem=1501,e.finalmemhebrew=1501,e.finalnun=1503,e.finalnunhebrew=1503,e.finalpe=1507,e.finalpehebrew=1507,e.finaltsadi=1509,e.finaltsadihebrew=1509,e.firsttonechinese=713,e.fisheye=9673,e.fitacyrillic=1139,e.five=53,e.fivearabic=1637,e.fivebengali=2539,e.fivecircle=9316,e.fivecircleinversesansserif=10126,e.fivedeva=2411,e.fiveeighths=8541,e.fivegujarati=2795,e.fivegurmukhi=2667,e.fivehackarabic=1637,e.fivehangzhou=12325,e.fiveideographicparen=12836,e.fiveinferior=8325,e.fivemonospace=65301,e.fiveoldstyle=63285,e.fiveparen=9336,e.fiveperiod=9356,e.fivepersian=1781,e.fiveroman=8564,e.fivesuperior=8309,e.fivethai=3669,e.fl=64258,e.f_l=64258,e.florin=402,e.fmonospace=65350,e.fmsquare=13209,e.fofanthai=3615,e.fofathai=3613,e.fongmanthai=3663,e.forall=8704,e.four=52,e.fourarabic=1636,e.fourbengali=2538,e.fourcircle=9315,e.fourcircleinversesansserif=10125,e.fourdeva=2410,e.fourgujarati=2794,e.fourgurmukhi=2666,e.fourhackarabic=1636,e.fourhangzhou=12324,e.fourideographicparen=12835,e.fourinferior=8324,e.fourmonospace=65300,e.fournumeratorbengali=2551,e.fouroldstyle=63284,e.fourparen=9335,e.fourperiod=9355,e.fourpersian=1780,e.fourroman=8563,e.foursuperior=8308,e.fourteencircle=9325,e.fourteenparen=9345,e.fourteenperiod=9365,e.fourthai=3668,e.fourthtonechinese=715,e.fparen=9377,e.fraction=8260,e.franc=8355,e.g=103,e.gabengali=2455,e.gacute=501,e.gadeva=2327,e.gafarabic=1711,e.gaffinalarabic=64403,e.gafinitialarabic=64404,e.gafmedialarabic=64405,e.gagujarati=2711,e.gagurmukhi=2583,e.gahiragana=12364,e.gakatakana=12460,e.gamma=947,e.gammalatinsmall=611,e.gammasuperior=736,e.gangiacoptic=1003,e.gbopomofo=12557,e.gbreve=287,e.gcaron=487,e.gcedilla=291,e.gcircle=9430,e.gcircumflex=285,e.gcommaaccent=291,e.gdot=289,e.gdotaccent=289,e.gecyrillic=1075,e.gehiragana=12370,e.gekatakana=12466,e.geometricallyequal=8785,e.gereshaccenthebrew=1436,e.gereshhebrew=1523,e.gereshmuqdamhebrew=1437,e.germandbls=223,e.gershayimaccenthebrew=1438,e.gershayimhebrew=1524,e.getamark=12307,e.ghabengali=2456,e.ghadarmenian=1394,e.ghadeva=2328,e.ghagujarati=2712,e.ghagurmukhi=2584,e.ghainarabic=1594,e.ghainfinalarabic=65230,e.ghaininitialarabic=65231,e.ghainmedialarabic=65232,e.ghemiddlehookcyrillic=1173,e.ghestrokecyrillic=1171,e.gheupturncyrillic=1169,e.ghhadeva=2394,e.ghhagurmukhi=2650,e.ghook=608,e.ghzsquare=13203,e.gihiragana=12366,e.gikatakana=12462,e.gimarmenian=1379,e.gimel=1490,e.gimeldagesh=64306,e.gimeldageshhebrew=64306,e.gimelhebrew=1490,e.gjecyrillic=1107,e.glottalinvertedstroke=446,e.glottalstop=660,e.glottalstopinverted=662,e.glottalstopmod=704,e.glottalstopreversed=661,e.glottalstopreversedmod=705,e.glottalstopreversedsuperior=740,e.glottalstopstroke=673,e.glottalstopstrokereversed=674,e.gmacron=7713,e.gmonospace=65351,e.gohiragana=12372,e.gokatakana=12468,e.gparen=9378,e.gpasquare=13228,e.gradient=8711,e.grave=96,e.gravebelowcmb=790,e.gravecmb=768,e.gravecomb=768,e.gravedeva=2387,e.gravelowmod=718,e.gravemonospace=65344,e.gravetonecmb=832,e.greater=62,e.greaterequal=8805,e.greaterequalorless=8923,e.greatermonospace=65310,e.greaterorequivalent=8819,e.greaterorless=8823,e.greateroverequal=8807,e.greatersmall=65125,e.gscript=609,e.gstroke=485,e.guhiragana=12368,e.guillemotleft=171,e.guillemotright=187,e.guilsinglleft=8249,e.guilsinglright=8250,e.gukatakana=12464,e.guramusquare=13080,e.gysquare=13257,e.h=104,e.haabkhasiancyrillic=1193,e.haaltonearabic=1729,e.habengali=2489,e.hadescendercyrillic=1203,e.hadeva=2361,e.hagujarati=2745,e.hagurmukhi=2617,e.haharabic=1581,e.hahfinalarabic=65186,e.hahinitialarabic=65187,e.hahiragana=12399,e.hahmedialarabic=65188,e.haitusquare=13098,e.hakatakana=12495,e.hakatakanahalfwidth=65418,e.halantgurmukhi=2637,e.hamzaarabic=1569,e.hamzalowarabic=1569,e.hangulfiller=12644,e.hardsigncyrillic=1098,e.harpoonleftbarbup=8636,e.harpoonrightbarbup=8640,e.hasquare=13258,e.hatafpatah=1458,e.hatafpatah16=1458,e.hatafpatah23=1458,e.hatafpatah2f=1458,e.hatafpatahhebrew=1458,e.hatafpatahnarrowhebrew=1458,e.hatafpatahquarterhebrew=1458,e.hatafpatahwidehebrew=1458,e.hatafqamats=1459,e.hatafqamats1b=1459,e.hatafqamats28=1459,e.hatafqamats34=1459,e.hatafqamatshebrew=1459,e.hatafqamatsnarrowhebrew=1459,e.hatafqamatsquarterhebrew=1459,e.hatafqamatswidehebrew=1459,e.hatafsegol=1457,e.hatafsegol17=1457,e.hatafsegol24=1457,e.hatafsegol30=1457,e.hatafsegolhebrew=1457,e.hatafsegolnarrowhebrew=1457,e.hatafsegolquarterhebrew=1457,e.hatafsegolwidehebrew=1457,e.hbar=295,e.hbopomofo=12559,e.hbrevebelow=7723,e.hcedilla=7721,e.hcircle=9431,e.hcircumflex=293,e.hdieresis=7719,e.hdotaccent=7715,e.hdotbelow=7717,e.he=1492,e.heart=9829,e.heartsuitblack=9829,e.heartsuitwhite=9825,e.hedagesh=64308,e.hedageshhebrew=64308,e.hehaltonearabic=1729,e.heharabic=1607,e.hehebrew=1492,e.hehfinalaltonearabic=64423,e.hehfinalalttwoarabic=65258,e.hehfinalarabic=65258,e.hehhamzaabovefinalarabic=64421,e.hehhamzaaboveisolatedarabic=64420,e.hehinitialaltonearabic=64424,e.hehinitialarabic=65259,e.hehiragana=12408,e.hehmedialaltonearabic=64425,e.hehmedialarabic=65260,e.heiseierasquare=13179,e.hekatakana=12504,e.hekatakanahalfwidth=65421,e.hekutaarusquare=13110,e.henghook=615,e.herutusquare=13113,e.het=1495,e.hethebrew=1495,e.hhook=614,e.hhooksuperior=689,e.hieuhacirclekorean=12923,e.hieuhaparenkorean=12827,e.hieuhcirclekorean=12909,e.hieuhkorean=12622,e.hieuhparenkorean=12813,e.hihiragana=12402,e.hikatakana=12498,e.hikatakanahalfwidth=65419,e.hiriq=1460,e.hiriq14=1460,e.hiriq21=1460,e.hiriq2d=1460,e.hiriqhebrew=1460,e.hiriqnarrowhebrew=1460,e.hiriqquarterhebrew=1460,e.hiriqwidehebrew=1460,e.hlinebelow=7830,e.hmonospace=65352,e.hoarmenian=1392,e.hohipthai=3627,e.hohiragana=12411,e.hokatakana=12507,e.hokatakanahalfwidth=65422,e.holam=1465,e.holam19=1465,e.holam26=1465,e.holam32=1465,e.holamhebrew=1465,e.holamnarrowhebrew=1465,e.holamquarterhebrew=1465,e.holamwidehebrew=1465,e.honokhukthai=3630,e.hookabovecomb=777,e.hookcmb=777,e.hookpalatalizedbelowcmb=801,e.hookretroflexbelowcmb=802,e.hoonsquare=13122,e.horicoptic=1001,e.horizontalbar=8213,e.horncmb=795,e.hotsprings=9832,e.house=8962,e.hparen=9379,e.hsuperior=688,e.hturned=613,e.huhiragana=12405,e.huiitosquare=13107,e.hukatakana=12501,e.hukatakanahalfwidth=65420,e.hungarumlaut=733,e.hungarumlautcmb=779,e.hv=405,e.hyphen=45,e.hypheninferior=63205,e.hyphenmonospace=65293,e.hyphensmall=65123,e.hyphensuperior=63206,e.hyphentwo=8208,e.i=105,e.iacute=237,e.iacyrillic=1103,e.ibengali=2439,e.ibopomofo=12583,e.ibreve=301,e.icaron=464,e.icircle=9432,e.icircumflex=238,e.icyrillic=1110,e.idblgrave=521,e.ideographearthcircle=12943,e.ideographfirecircle=12939,e.ideographicallianceparen=12863,e.ideographiccallparen=12858,e.ideographiccentrecircle=12965,e.ideographicclose=12294,e.ideographiccomma=12289,e.ideographiccommaleft=65380,e.ideographiccongratulationparen=12855,e.ideographiccorrectcircle=12963,e.ideographicearthparen=12847,e.ideographicenterpriseparen=12861,e.ideographicexcellentcircle=12957,e.ideographicfestivalparen=12864,e.ideographicfinancialcircle=12950,e.ideographicfinancialparen=12854,e.ideographicfireparen=12843,e.ideographichaveparen=12850,e.ideographichighcircle=12964,e.ideographiciterationmark=12293,e.ideographiclaborcircle=12952,e.ideographiclaborparen=12856,e.ideographicleftcircle=12967,e.ideographiclowcircle=12966,e.ideographicmedicinecircle=12969,e.ideographicmetalparen=12846,e.ideographicmoonparen=12842,e.ideographicnameparen=12852,e.ideographicperiod=12290,e.ideographicprintcircle=12958,e.ideographicreachparen=12867,e.ideographicrepresentparen=12857,e.ideographicresourceparen=12862,e.ideographicrightcircle=12968,e.ideographicsecretcircle=12953,e.ideographicselfparen=12866,e.ideographicsocietyparen=12851,e.ideographicspace=12288,e.ideographicspecialparen=12853,e.ideographicstockparen=12849,e.ideographicstudyparen=12859,e.ideographicsunparen=12848,e.ideographicsuperviseparen=12860,e.ideographicwaterparen=12844,e.ideographicwoodparen=12845,e.ideographiczero=12295,e.ideographmetalcircle=12942,e.ideographmooncircle=12938,e.ideographnamecircle=12948,e.ideographsuncircle=12944,e.ideographwatercircle=12940,e.ideographwoodcircle=12941,e.ideva=2311,e.idieresis=239,e.idieresisacute=7727,e.idieresiscyrillic=1253,e.idotbelow=7883,e.iebrevecyrillic=1239,e.iecyrillic=1077,e.ieungacirclekorean=12917,e.ieungaparenkorean=12821,e.ieungcirclekorean=12903,e.ieungkorean=12615,e.ieungparenkorean=12807,e.igrave=236,e.igujarati=2695,e.igurmukhi=2567,e.ihiragana=12356,e.ihookabove=7881,e.iibengali=2440,e.iicyrillic=1080,e.iideva=2312,e.iigujarati=2696,e.iigurmukhi=2568,e.iimatragurmukhi=2624,e.iinvertedbreve=523,e.iishortcyrillic=1081,e.iivowelsignbengali=2496,e.iivowelsigndeva=2368,e.iivowelsigngujarati=2752,e.ij=307,e.ikatakana=12452,e.ikatakanahalfwidth=65394,e.ikorean=12643,e.ilde=732,e.iluyhebrew=1452,e.imacron=299,e.imacroncyrillic=1251,e.imageorapproximatelyequal=8787,e.imatragurmukhi=2623,e.imonospace=65353,e.increment=8710,e.infinity=8734,e.iniarmenian=1387,e.integral=8747,e.integralbottom=8993,e.integralbt=8993,e.integralex=63733,e.integraltop=8992,e.integraltp=8992,e.intersection=8745,e.intisquare=13061,e.invbullet=9688,e.invcircle=9689,e.invsmileface=9787,e.iocyrillic=1105,e.iogonek=303,e.iota=953,e.iotadieresis=970,e.iotadieresistonos=912,e.iotalatin=617,e.iotatonos=943,e.iparen=9380,e.irigurmukhi=2674,e.ismallhiragana=12355,e.ismallkatakana=12451,e.ismallkatakanahalfwidth=65384,e.issharbengali=2554,e.istroke=616,e.isuperior=63213,e.iterationhiragana=12445,e.iterationkatakana=12541,e.itilde=297,e.itildebelow=7725,e.iubopomofo=12585,e.iucyrillic=1102,e.ivowelsignbengali=2495,e.ivowelsigndeva=2367,e.ivowelsigngujarati=2751,e.izhitsacyrillic=1141,e.izhitsadblgravecyrillic=1143,e.j=106,e.jaarmenian=1393,e.jabengali=2460,e.jadeva=2332,e.jagujarati=2716,e.jagurmukhi=2588,e.jbopomofo=12560,e.jcaron=496,e.jcircle=9433,e.jcircumflex=309,e.jcrossedtail=669,e.jdotlessstroke=607,e.jecyrillic=1112,e.jeemarabic=1580,e.jeemfinalarabic=65182,e.jeeminitialarabic=65183,e.jeemmedialarabic=65184,e.jeharabic=1688,e.jehfinalarabic=64395,e.jhabengali=2461,e.jhadeva=2333,e.jhagujarati=2717,e.jhagurmukhi=2589,e.jheharmenian=1403,e.jis=12292,e.jmonospace=65354,e.jparen=9381,e.jsuperior=690,e.k=107,e.kabashkircyrillic=1185,e.kabengali=2453,e.kacute=7729,e.kacyrillic=1082,e.kadescendercyrillic=1179,e.kadeva=2325,e.kaf=1499,e.kafarabic=1603,e.kafdagesh=64315,e.kafdageshhebrew=64315,e.kaffinalarabic=65242,e.kafhebrew=1499,e.kafinitialarabic=65243,e.kafmedialarabic=65244,e.kafrafehebrew=64333,e.kagujarati=2709,e.kagurmukhi=2581,e.kahiragana=12363,e.kahookcyrillic=1220,e.kakatakana=12459,e.kakatakanahalfwidth=65398,e.kappa=954,e.kappasymbolgreek=1008,e.kapyeounmieumkorean=12657,e.kapyeounphieuphkorean=12676,e.kapyeounpieupkorean=12664,e.kapyeounssangpieupkorean=12665,e.karoriisquare=13069,e.kashidaautoarabic=1600,e.kashidaautonosidebearingarabic=1600,e.kasmallkatakana=12533,e.kasquare=13188,e.kasraarabic=1616,e.kasratanarabic=1613,e.kastrokecyrillic=1183,e.katahiraprolongmarkhalfwidth=65392,e.kaverticalstrokecyrillic=1181,e.kbopomofo=12558,e.kcalsquare=13193,e.kcaron=489,e.kcedilla=311,e.kcircle=9434,e.kcommaaccent=311,e.kdotbelow=7731,e.keharmenian=1412,e.kehiragana=12369,e.kekatakana=12465,e.kekatakanahalfwidth=65401,e.kenarmenian=1391,e.kesmallkatakana=12534,e.kgreenlandic=312,e.khabengali=2454,e.khacyrillic=1093,e.khadeva=2326,e.khagujarati=2710,e.khagurmukhi=2582,e.khaharabic=1582,e.khahfinalarabic=65190,e.khahinitialarabic=65191,e.khahmedialarabic=65192,e.kheicoptic=999,e.khhadeva=2393,e.khhagurmukhi=2649,e.khieukhacirclekorean=12920,e.khieukhaparenkorean=12824,e.khieukhcirclekorean=12906,e.khieukhkorean=12619,e.khieukhparenkorean=12810,e.khokhaithai=3586,e.khokhonthai=3589,e.khokhuatthai=3587,e.khokhwaithai=3588,e.khomutthai=3675,e.khook=409,e.khorakhangthai=3590,e.khzsquare=13201,e.kihiragana=12365,e.kikatakana=12461,e.kikatakanahalfwidth=65399,e.kiroguramusquare=13077,e.kiromeetorusquare=13078,e.kirosquare=13076,e.kiyeokacirclekorean=12910,e.kiyeokaparenkorean=12814,e.kiyeokcirclekorean=12896,e.kiyeokkorean=12593,e.kiyeokparenkorean=12800,e.kiyeoksioskorean=12595,e.kjecyrillic=1116,e.klinebelow=7733,e.klsquare=13208,e.kmcubedsquare=13222,e.kmonospace=65355,e.kmsquaredsquare=13218,e.kohiragana=12371,e.kohmsquare=13248,e.kokaithai=3585,e.kokatakana=12467,e.kokatakanahalfwidth=65402,e.kooposquare=13086,e.koppacyrillic=1153,e.koreanstandardsymbol=12927,e.koroniscmb=835,e.kparen=9382,e.kpasquare=13226,e.ksicyrillic=1135,e.ktsquare=13263,e.kturned=670,e.kuhiragana=12367,e.kukatakana=12463,e.kukatakanahalfwidth=65400,e.kvsquare=13240,e.kwsquare=13246,e.l=108,e.labengali=2482,e.lacute=314,e.ladeva=2354,e.lagujarati=2738,e.lagurmukhi=2610,e.lakkhangyaothai=3653,e.lamaleffinalarabic=65276,e.lamalefhamzaabovefinalarabic=65272,e.lamalefhamzaaboveisolatedarabic=65271,e.lamalefhamzabelowfinalarabic=65274,e.lamalefhamzabelowisolatedarabic=65273,e.lamalefisolatedarabic=65275,e.lamalefmaddaabovefinalarabic=65270,e.lamalefmaddaaboveisolatedarabic=65269,e.lamarabic=1604,e.lambda=955,e.lambdastroke=411,e.lamed=1500,e.lameddagesh=64316,e.lameddageshhebrew=64316,e.lamedhebrew=1500,e.lamfinalarabic=65246,e.lamhahinitialarabic=64714,e.laminitialarabic=65247,e.lamjeeminitialarabic=64713,e.lamkhahinitialarabic=64715,e.lamlamhehisolatedarabic=65010,e.lammedialarabic=65248,e.lammeemhahinitialarabic=64904,e.lammeeminitialarabic=64716,e.largecircle=9711,e.lbar=410,e.lbelt=620,e.lbopomofo=12556,e.lcaron=318,e.lcedilla=316,e.lcircle=9435,e.lcircumflexbelow=7741,e.lcommaaccent=316,e.ldot=320,e.ldotaccent=320,e.ldotbelow=7735,e.ldotbelowmacron=7737,e.leftangleabovecmb=794,e.lefttackbelowcmb=792,e.less=60,e.lessequal=8804,e.lessequalorgreater=8922,e.lessmonospace=65308,e.lessorequivalent=8818,e.lessorgreater=8822,e.lessoverequal=8806,e.lesssmall=65124,e.lezh=622,e.lfblock=9612,e.lhookretroflex=621,e.lira=8356,e.liwnarmenian=1388,e.lj=457,e.ljecyrillic=1113,e.ll=63168,e.lladeva=2355,e.llagujarati=2739,e.llinebelow=7739,e.llladeva=2356,e.llvocalicbengali=2529,e.llvocalicdeva=2401,e.llvocalicvowelsignbengali=2531,e.llvocalicvowelsigndeva=2403,e.lmiddletilde=619,e.lmonospace=65356,e.lmsquare=13264,e.lochulathai=3628,e.logicaland=8743,e.logicalnot=172,e.logicalnotreversed=8976,e.logicalor=8744,e.lolingthai=3621,e.longs=383,e.lowlinecenterline=65102,e.lowlinecmb=818,e.lowlinedashed=65101,e.lozenge=9674,e.lparen=9383,e.lslash=322,e.lsquare=8467,e.lsuperior=63214,e.ltshade=9617,e.luthai=3622,e.lvocalicbengali=2444,e.lvocalicdeva=2316,e.lvocalicvowelsignbengali=2530,e.lvocalicvowelsigndeva=2402,e.lxsquare=13267,e.m=109,e.mabengali=2478,e.macron=175,e.macronbelowcmb=817,e.macroncmb=772,e.macronlowmod=717,e.macronmonospace=65507,e.macute=7743,e.madeva=2350,e.magujarati=2734,e.magurmukhi=2606,e.mahapakhhebrew=1444,e.mahapakhlefthebrew=1444,e.mahiragana=12414,e.maichattawalowleftthai=63637,e.maichattawalowrightthai=63636,e.maichattawathai=3659,e.maichattawaupperleftthai=63635,e.maieklowleftthai=63628,e.maieklowrightthai=63627,e.maiekthai=3656,e.maiekupperleftthai=63626,e.maihanakatleftthai=63620,e.maihanakatthai=3633,e.maitaikhuleftthai=63625,e.maitaikhuthai=3655,e.maitholowleftthai=63631,e.maitholowrightthai=63630,e.maithothai=3657,e.maithoupperleftthai=63629,e.maitrilowleftthai=63634,e.maitrilowrightthai=63633,e.maitrithai=3658,e.maitriupperleftthai=63632,e.maiyamokthai=3654,e.makatakana=12510,e.makatakanahalfwidth=65423,e.male=9794,e.mansyonsquare=13127,e.maqafhebrew=1470,e.mars=9794,e.masoracirclehebrew=1455,e.masquare=13187,e.mbopomofo=12551,e.mbsquare=13268,e.mcircle=9436,e.mcubedsquare=13221,e.mdotaccent=7745,e.mdotbelow=7747,e.meemarabic=1605,e.meemfinalarabic=65250,e.meeminitialarabic=65251,e.meemmedialarabic=65252,e.meemmeeminitialarabic=64721,e.meemmeemisolatedarabic=64584,e.meetorusquare=13133,e.mehiragana=12417,e.meizierasquare=13182,e.mekatakana=12513,e.mekatakanahalfwidth=65426,e.mem=1502,e.memdagesh=64318,e.memdageshhebrew=64318,e.memhebrew=1502,e.menarmenian=1396,e.merkhahebrew=1445,e.merkhakefulahebrew=1446,e.merkhakefulalefthebrew=1446,e.merkhalefthebrew=1445,e.mhook=625,e.mhzsquare=13202,e.middledotkatakanahalfwidth=65381,e.middot=183,e.mieumacirclekorean=12914,e.mieumaparenkorean=12818,e.mieumcirclekorean=12900,e.mieumkorean=12609,e.mieumpansioskorean=12656,e.mieumparenkorean=12804,e.mieumpieupkorean=12654,e.mieumsioskorean=12655,e.mihiragana=12415,e.mikatakana=12511,e.mikatakanahalfwidth=65424,e.minus=8722,e.minusbelowcmb=800,e.minuscircle=8854,e.minusmod=727,e.minusplus=8723,e.minute=8242,e.miribaarusquare=13130,e.mirisquare=13129,e.mlonglegturned=624,e.mlsquare=13206,e.mmcubedsquare=13219,e.mmonospace=65357,e.mmsquaredsquare=13215,e.mohiragana=12418,e.mohmsquare=13249,e.mokatakana=12514,e.mokatakanahalfwidth=65427,e.molsquare=13270,e.momathai=3617,e.moverssquare=13223,e.moverssquaredsquare=13224,e.mparen=9384,e.mpasquare=13227,e.mssquare=13235,e.msuperior=63215,e.mturned=623,e.mu=181,e.mu1=181,e.muasquare=13186,e.muchgreater=8811,e.muchless=8810,e.mufsquare=13196,e.mugreek=956,e.mugsquare=13197,e.muhiragana=12416,e.mukatakana=12512,e.mukatakanahalfwidth=65425,e.mulsquare=13205,e.multiply=215,e.mumsquare=13211,e.munahhebrew=1443,e.munahlefthebrew=1443,e.musicalnote=9834,e.musicalnotedbl=9835,e.musicflatsign=9837,e.musicsharpsign=9839,e.mussquare=13234,e.muvsquare=13238,e.muwsquare=13244,e.mvmegasquare=13241,e.mvsquare=13239,e.mwmegasquare=13247,e.mwsquare=13245,e.n=110,e.nabengali=2472,e.nabla=8711,e.nacute=324,e.nadeva=2344,e.nagujarati=2728,e.nagurmukhi=2600,e.nahiragana=12394,e.nakatakana=12490,e.nakatakanahalfwidth=65413,e.napostrophe=329,e.nasquare=13185,e.nbopomofo=12555,e.nbspace=160,e.ncaron=328,e.ncedilla=326,e.ncircle=9437,e.ncircumflexbelow=7755,e.ncommaaccent=326,e.ndotaccent=7749,e.ndotbelow=7751,e.nehiragana=12397,e.nekatakana=12493,e.nekatakanahalfwidth=65416,e.newsheqelsign=8362,e.nfsquare=13195,e.ngabengali=2457,e.ngadeva=2329,e.ngagujarati=2713,e.ngagurmukhi=2585,e.ngonguthai=3591,e.nhiragana=12435,e.nhookleft=626,e.nhookretroflex=627,e.nieunacirclekorean=12911,e.nieunaparenkorean=12815,e.nieuncieuckorean=12597,e.nieuncirclekorean=12897,e.nieunhieuhkorean=12598,e.nieunkorean=12596,e.nieunpansioskorean=12648,e.nieunparenkorean=12801,e.nieunsioskorean=12647,e.nieuntikeutkorean=12646,e.nihiragana=12395,e.nikatakana=12491,e.nikatakanahalfwidth=65414,e.nikhahitleftthai=63641,e.nikhahitthai=3661,e.nine=57,e.ninearabic=1641,e.ninebengali=2543,e.ninecircle=9320,e.ninecircleinversesansserif=10130,e.ninedeva=2415,e.ninegujarati=2799,e.ninegurmukhi=2671,e.ninehackarabic=1641,e.ninehangzhou=12329,e.nineideographicparen=12840,e.nineinferior=8329,e.ninemonospace=65305,e.nineoldstyle=63289,e.nineparen=9340,e.nineperiod=9360,e.ninepersian=1785,e.nineroman=8568,e.ninesuperior=8313,e.nineteencircle=9330,e.nineteenparen=9350,e.nineteenperiod=9370,e.ninethai=3673,e.nj=460,e.njecyrillic=1114,e.nkatakana=12531,e.nkatakanahalfwidth=65437,e.nlegrightlong=414,e.nlinebelow=7753,e.nmonospace=65358,e.nmsquare=13210,e.nnabengali=2467,e.nnadeva=2339,e.nnagujarati=2723,e.nnagurmukhi=2595,e.nnnadeva=2345,e.nohiragana=12398,e.nokatakana=12494,e.nokatakanahalfwidth=65417,e.nonbreakingspace=160,e.nonenthai=3603,e.nonuthai=3609,e.noonarabic=1606,e.noonfinalarabic=65254,e.noonghunnaarabic=1722,e.noonghunnafinalarabic=64415,e.nooninitialarabic=65255,e.noonjeeminitialarabic=64722,e.noonjeemisolatedarabic=64587,e.noonmedialarabic=65256,e.noonmeeminitialarabic=64725,e.noonmeemisolatedarabic=64590,e.noonnoonfinalarabic=64653,e.notcontains=8716,e.notelement=8713,e.notelementof=8713,e.notequal=8800,e.notgreater=8815,e.notgreaternorequal=8817,e.notgreaternorless=8825,e.notidentical=8802,e.notless=8814,e.notlessnorequal=8816,e.notparallel=8742,e.notprecedes=8832,e.notsubset=8836,e.notsucceeds=8833,e.notsuperset=8837,e.nowarmenian=1398,e.nparen=9385,e.nssquare=13233,e.nsuperior=8319,e.ntilde=241,e.nu=957,e.nuhiragana=12396,e.nukatakana=12492,e.nukatakanahalfwidth=65415,e.nuktabengali=2492,e.nuktadeva=2364,e.nuktagujarati=2748,e.nuktagurmukhi=2620,e.numbersign=35,e.numbersignmonospace=65283,e.numbersignsmall=65119,e.numeralsigngreek=884,e.numeralsignlowergreek=885,e.numero=8470,e.nun=1504,e.nundagesh=64320,e.nundageshhebrew=64320,e.nunhebrew=1504,e.nvsquare=13237,e.nwsquare=13243,e.nyabengali=2462,e.nyadeva=2334,e.nyagujarati=2718,e.nyagurmukhi=2590,e.o=111,e.oacute=243,e.oangthai=3629,e.obarred=629,e.obarredcyrillic=1257,e.obarreddieresiscyrillic=1259,e.obengali=2451,e.obopomofo=12571,e.obreve=335,e.ocandradeva=2321,e.ocandragujarati=2705,e.ocandravowelsigndeva=2377,e.ocandravowelsigngujarati=2761,e.ocaron=466,e.ocircle=9438,e.ocircumflex=244,e.ocircumflexacute=7889,e.ocircumflexdotbelow=7897,e.ocircumflexgrave=7891,e.ocircumflexhookabove=7893,e.ocircumflextilde=7895,e.ocyrillic=1086,e.odblacute=337,e.odblgrave=525,e.odeva=2323,e.odieresis=246,e.odieresiscyrillic=1255,e.odotbelow=7885,e.oe=339,e.oekorean=12634,e.ogonek=731,e.ogonekcmb=808,e.ograve=242,e.ogujarati=2707,e.oharmenian=1413,e.ohiragana=12362,e.ohookabove=7887,e.ohorn=417,e.ohornacute=7899,e.ohorndotbelow=7907,e.ohorngrave=7901,e.ohornhookabove=7903,e.ohorntilde=7905,e.ohungarumlaut=337,e.oi=419,e.oinvertedbreve=527,e.okatakana=12458,e.okatakanahalfwidth=65397,e.okorean=12631,e.olehebrew=1451,e.omacron=333,e.omacronacute=7763,e.omacrongrave=7761,e.omdeva=2384,e.omega=969,e.omega1=982,e.omegacyrillic=1121,e.omegalatinclosed=631,e.omegaroundcyrillic=1147,e.omegatitlocyrillic=1149,e.omegatonos=974,e.omgujarati=2768,e.omicron=959,e.omicrontonos=972,e.omonospace=65359,e.one=49,e.onearabic=1633,e.onebengali=2535,e.onecircle=9312,e.onecircleinversesansserif=10122,e.onedeva=2407,e.onedotenleader=8228,e.oneeighth=8539,e.onefitted=63196,e.onegujarati=2791,e.onegurmukhi=2663,e.onehackarabic=1633,e.onehalf=189,e.onehangzhou=12321,e.oneideographicparen=12832,e.oneinferior=8321,e.onemonospace=65297,e.onenumeratorbengali=2548,e.oneoldstyle=63281,e.oneparen=9332,e.oneperiod=9352,e.onepersian=1777,e.onequarter=188,e.oneroman=8560,e.onesuperior=185,e.onethai=3665,e.onethird=8531,e.oogonek=491,e.oogonekmacron=493,e.oogurmukhi=2579,e.oomatragurmukhi=2635,e.oopen=596,e.oparen=9386,e.openbullet=9702,e.option=8997,e.ordfeminine=170,e.ordmasculine=186,e.orthogonal=8735,e.oshortdeva=2322,e.oshortvowelsigndeva=2378,e.oslash=248,e.oslashacute=511,e.osmallhiragana=12361,e.osmallkatakana=12457,e.osmallkatakanahalfwidth=65387,e.ostrokeacute=511,e.osuperior=63216,e.otcyrillic=1151,e.otilde=245,e.otildeacute=7757,e.otildedieresis=7759,e.oubopomofo=12577,e.overline=8254,e.overlinecenterline=65098,e.overlinecmb=773,e.overlinedashed=65097,e.overlinedblwavy=65100,e.overlinewavy=65099,e.overscore=175,e.ovowelsignbengali=2507,e.ovowelsigndeva=2379,e.ovowelsigngujarati=2763,e.p=112,e.paampssquare=13184,e.paasentosquare=13099,e.pabengali=2474,e.pacute=7765,e.padeva=2346,e.pagedown=8671,e.pageup=8670,e.pagujarati=2730,e.pagurmukhi=2602,e.pahiragana=12401,e.paiyannoithai=3631,e.pakatakana=12497,e.palatalizationcyrilliccmb=1156,e.palochkacyrillic=1216,e.pansioskorean=12671,e.paragraph=182,e.parallel=8741,e.parenleft=40,e.parenleftaltonearabic=64830,e.parenleftbt=63725,e.parenleftex=63724,e.parenleftinferior=8333,e.parenleftmonospace=65288,e.parenleftsmall=65113,e.parenleftsuperior=8317,e.parenlefttp=63723,e.parenleftvertical=65077,e.parenright=41,e.parenrightaltonearabic=64831,e.parenrightbt=63736,e.parenrightex=63735,e.parenrightinferior=8334,e.parenrightmonospace=65289,e.parenrightsmall=65114,e.parenrightsuperior=8318,e.parenrighttp=63734,e.parenrightvertical=65078,e.partialdiff=8706,e.paseqhebrew=1472,e.pashtahebrew=1433,e.pasquare=13225,e.patah=1463,e.patah11=1463,e.patah1d=1463,e.patah2a=1463,e.patahhebrew=1463,e.patahnarrowhebrew=1463,e.patahquarterhebrew=1463,e.patahwidehebrew=1463,e.pazerhebrew=1441,e.pbopomofo=12550,e.pcircle=9439,e.pdotaccent=7767,e.pe=1508,e.pecyrillic=1087,e.pedagesh=64324,e.pedageshhebrew=64324,e.peezisquare=13115,e.pefinaldageshhebrew=64323,e.peharabic=1662,e.peharmenian=1402,e.pehebrew=1508,e.pehfinalarabic=64343,e.pehinitialarabic=64344,e.pehiragana=12410,e.pehmedialarabic=64345,e.pekatakana=12506,e.pemiddlehookcyrillic=1191,e.perafehebrew=64334,e.percent=37,e.percentarabic=1642,e.percentmonospace=65285,e.percentsmall=65130,e.period=46,e.periodarmenian=1417,e.periodcentered=183,e.periodhalfwidth=65377,e.periodinferior=63207,e.periodmonospace=65294,e.periodsmall=65106,e.periodsuperior=63208,e.perispomenigreekcmb=834,e.perpendicular=8869,e.perthousand=8240,e.peseta=8359,e.pfsquare=13194,e.phabengali=2475,e.phadeva=2347,e.phagujarati=2731,e.phagurmukhi=2603,e.phi=966,e.phi1=981,e.phieuphacirclekorean=12922,e.phieuphaparenkorean=12826,e.phieuphcirclekorean=12908,e.phieuphkorean=12621,e.phieuphparenkorean=12812,e.philatin=632,e.phinthuthai=3642,e.phisymbolgreek=981,e.phook=421,e.phophanthai=3614,e.phophungthai=3612,e.phosamphaothai=3616,e.pi=960,e.pieupacirclekorean=12915,e.pieupaparenkorean=12819,e.pieupcieuckorean=12662,e.pieupcirclekorean=12901,e.pieupkiyeokkorean=12658,e.pieupkorean=12610,e.pieupparenkorean=12805,e.pieupsioskiyeokkorean=12660,e.pieupsioskorean=12612,e.pieupsiostikeutkorean=12661,e.pieupthieuthkorean=12663,e.pieuptikeutkorean=12659,e.pihiragana=12404,e.pikatakana=12500,e.pisymbolgreek=982,e.piwrarmenian=1411,e.planckover2pi=8463,e.planckover2pi1=8463,e.plus=43,e.plusbelowcmb=799,e.pluscircle=8853,e.plusminus=177,e.plusmod=726,e.plusmonospace=65291,e.plussmall=65122,e.plussuperior=8314,e.pmonospace=65360,e.pmsquare=13272,e.pohiragana=12413,e.pointingindexdownwhite=9759,e.pointingindexleftwhite=9756,e.pointingindexrightwhite=9758,e.pointingindexupwhite=9757,e.pokatakana=12509,e.poplathai=3611,e.postalmark=12306,e.postalmarkface=12320,e.pparen=9387,e.precedes=8826,e.prescription=8478,e.primemod=697,e.primereversed=8245,e.product=8719,e.projective=8965,e.prolongedkana=12540,e.propellor=8984,e.propersubset=8834,e.propersuperset=8835,e.proportion=8759,e.proportional=8733,e.psi=968,e.psicyrillic=1137,e.psilipneumatacyrilliccmb=1158,e.pssquare=13232,e.puhiragana=12407,e.pukatakana=12503,e.pvsquare=13236,e.pwsquare=13242,e.q=113,e.qadeva=2392,e.qadmahebrew=1448,e.qafarabic=1602,e.qaffinalarabic=65238,e.qafinitialarabic=65239,e.qafmedialarabic=65240,e.qamats=1464,e.qamats10=1464,e.qamats1a=1464,e.qamats1c=1464,e.qamats27=1464,e.qamats29=1464,e.qamats33=1464,e.qamatsde=1464,e.qamatshebrew=1464,e.qamatsnarrowhebrew=1464,e.qamatsqatanhebrew=1464,e.qamatsqatannarrowhebrew=1464,e.qamatsqatanquarterhebrew=1464,e.qamatsqatanwidehebrew=1464,e.qamatsquarterhebrew=1464,e.qamatswidehebrew=1464,e.qarneyparahebrew=1439,e.qbopomofo=12561,e.qcircle=9440,e.qhook=672,e.qmonospace=65361,e.qof=1511,e.qofdagesh=64327,e.qofdageshhebrew=64327,e.qofhebrew=1511,e.qparen=9388,e.quarternote=9833,e.qubuts=1467,e.qubuts18=1467,e.qubuts25=1467,e.qubuts31=1467,e.qubutshebrew=1467,e.qubutsnarrowhebrew=1467,e.qubutsquarterhebrew=1467,e.qubutswidehebrew=1467,e.question=63,e.questionarabic=1567,e.questionarmenian=1374,e.questiondown=191,e.questiondownsmall=63423,e.questiongreek=894,e.questionmonospace=65311,e.questionsmall=63295,e.quotedbl=34,e.quotedblbase=8222,e.quotedblleft=8220,e.quotedblmonospace=65282,e.quotedblprime=12318,e.quotedblprimereversed=12317,e.quotedblright=8221,e.quoteleft=8216,e.quoteleftreversed=8219,e.quotereversed=8219,e.quoteright=8217,e.quoterightn=329,e.quotesinglbase=8218,e.quotesingle=39,e.quotesinglemonospace=65287,e.r=114,e.raarmenian=1404,e.rabengali=2480,e.racute=341,e.radeva=2352,e.radical=8730,e.radicalex=63717,e.radoverssquare=13230,e.radoverssquaredsquare=13231,e.radsquare=13229,e.rafe=1471,e.rafehebrew=1471,e.ragujarati=2736,e.ragurmukhi=2608,e.rahiragana=12425,e.rakatakana=12521,e.rakatakanahalfwidth=65431,e.ralowerdiagonalbengali=2545,e.ramiddlediagonalbengali=2544,e.ramshorn=612,e.ratio=8758,e.rbopomofo=12566,e.rcaron=345,e.rcedilla=343,e.rcircle=9441,e.rcommaaccent=343,e.rdblgrave=529,e.rdotaccent=7769,e.rdotbelow=7771,e.rdotbelowmacron=7773,e.referencemark=8251,e.reflexsubset=8838,e.reflexsuperset=8839,e.registered=174,e.registersans=63720,e.registerserif=63194,e.reharabic=1585,e.reharmenian=1408,e.rehfinalarabic=65198,e.rehiragana=12428,e.rekatakana=12524,e.rekatakanahalfwidth=65434,e.resh=1512,e.reshdageshhebrew=64328,e.reshhebrew=1512,e.reversedtilde=8765,e.reviahebrew=1431,e.reviamugrashhebrew=1431,e.revlogicalnot=8976,e.rfishhook=638,e.rfishhookreversed=639,e.rhabengali=2525,e.rhadeva=2397,e.rho=961,e.rhook=637,e.rhookturned=635,e.rhookturnedsuperior=693,e.rhosymbolgreek=1009,e.rhotichookmod=734,e.rieulacirclekorean=12913,e.rieulaparenkorean=12817,e.rieulcirclekorean=12899,e.rieulhieuhkorean=12608,e.rieulkiyeokkorean=12602,e.rieulkiyeoksioskorean=12649,e.rieulkorean=12601,e.rieulmieumkorean=12603,e.rieulpansioskorean=12652,e.rieulparenkorean=12803,e.rieulphieuphkorean=12607,e.rieulpieupkorean=12604,e.rieulpieupsioskorean=12651,e.rieulsioskorean=12605,e.rieulthieuthkorean=12606,e.rieultikeutkorean=12650,e.rieulyeorinhieuhkorean=12653,e.rightangle=8735,e.righttackbelowcmb=793,e.righttriangle=8895,e.rihiragana=12426,e.rikatakana=12522,e.rikatakanahalfwidth=65432,e.ring=730,e.ringbelowcmb=805,e.ringcmb=778,e.ringhalfleft=703,e.ringhalfleftarmenian=1369,e.ringhalfleftbelowcmb=796,e.ringhalfleftcentered=723,e.ringhalfright=702,e.ringhalfrightbelowcmb=825,e.ringhalfrightcentered=722,e.rinvertedbreve=531,e.rittorusquare=13137,e.rlinebelow=7775,e.rlongleg=636,e.rlonglegturned=634,e.rmonospace=65362,e.rohiragana=12429,e.rokatakana=12525,e.rokatakanahalfwidth=65435,e.roruathai=3619,e.rparen=9389,e.rrabengali=2524,e.rradeva=2353,e.rragurmukhi=2652,e.rreharabic=1681,e.rrehfinalarabic=64397,e.rrvocalicbengali=2528,e.rrvocalicdeva=2400,e.rrvocalicgujarati=2784,e.rrvocalicvowelsignbengali=2500,e.rrvocalicvowelsigndeva=2372,e.rrvocalicvowelsigngujarati=2756,e.rsuperior=63217,e.rtblock=9616,e.rturned=633,e.rturnedsuperior=692,e.ruhiragana=12427,e.rukatakana=12523,e.rukatakanahalfwidth=65433,e.rupeemarkbengali=2546,e.rupeesignbengali=2547,e.rupiah=63197,e.ruthai=3620,e.rvocalicbengali=2443,e.rvocalicdeva=2315,e.rvocalicgujarati=2699,e.rvocalicvowelsignbengali=2499,e.rvocalicvowelsigndeva=2371,e.rvocalicvowelsigngujarati=2755,e.s=115,e.sabengali=2488,e.sacute=347,e.sacutedotaccent=7781,e.sadarabic=1589,e.sadeva=2360,e.sadfinalarabic=65210,e.sadinitialarabic=65211,e.sadmedialarabic=65212,e.sagujarati=2744,e.sagurmukhi=2616,e.sahiragana=12373,e.sakatakana=12469,e.sakatakanahalfwidth=65403,e.sallallahoualayhewasallamarabic=65018,e.samekh=1505,e.samekhdagesh=64321,e.samekhdageshhebrew=64321,e.samekhhebrew=1505,e.saraaathai=3634,e.saraaethai=3649,e.saraaimaimalaithai=3652,e.saraaimaimuanthai=3651,e.saraamthai=3635,e.saraathai=3632,e.saraethai=3648,e.saraiileftthai=63622,e.saraiithai=3637,e.saraileftthai=63621,e.saraithai=3636,e.saraothai=3650,e.saraueeleftthai=63624,e.saraueethai=3639,e.saraueleftthai=63623,e.sarauethai=3638,e.sarauthai=3640,e.sarauuthai=3641,e.sbopomofo=12569,e.scaron=353,e.scarondotaccent=7783,e.scedilla=351,e.schwa=601,e.schwacyrillic=1241,e.schwadieresiscyrillic=1243,e.schwahook=602,e.scircle=9442,e.scircumflex=349,e.scommaaccent=537,e.sdotaccent=7777,e.sdotbelow=7779,e.sdotbelowdotaccent=7785,e.seagullbelowcmb=828,e.second=8243,e.secondtonechinese=714,e.section=167,e.seenarabic=1587,e.seenfinalarabic=65202,e.seeninitialarabic=65203,e.seenmedialarabic=65204,e.segol=1462,e.segol13=1462,e.segol1f=1462,e.segol2c=1462,e.segolhebrew=1462,e.segolnarrowhebrew=1462,e.segolquarterhebrew=1462,e.segoltahebrew=1426,e.segolwidehebrew=1462,e.seharmenian=1405,e.sehiragana=12379,e.sekatakana=12475,e.sekatakanahalfwidth=65406,e.semicolon=59,e.semicolonarabic=1563,e.semicolonmonospace=65307,e.semicolonsmall=65108,e.semivoicedmarkkana=12444,e.semivoicedmarkkanahalfwidth=65439,e.sentisquare=13090,e.sentosquare=13091,e.seven=55,e.sevenarabic=1639,e.sevenbengali=2541,e.sevencircle=9318,e.sevencircleinversesansserif=10128,e.sevendeva=2413,e.seveneighths=8542,e.sevengujarati=2797,e.sevengurmukhi=2669,e.sevenhackarabic=1639,e.sevenhangzhou=12327,e.sevenideographicparen=12838,e.seveninferior=8327,e.sevenmonospace=65303,e.sevenoldstyle=63287,e.sevenparen=9338,e.sevenperiod=9358,e.sevenpersian=1783,e.sevenroman=8566,e.sevensuperior=8311,e.seventeencircle=9328,e.seventeenparen=9348,e.seventeenperiod=9368,e.seventhai=3671,e.sfthyphen=173,e.shaarmenian=1399,e.shabengali=2486,e.shacyrillic=1096,e.shaddaarabic=1617,e.shaddadammaarabic=64609,e.shaddadammatanarabic=64606,e.shaddafathaarabic=64608,e.shaddakasraarabic=64610,e.shaddakasratanarabic=64607,e.shade=9618,e.shadedark=9619,e.shadelight=9617,e.shademedium=9618,e.shadeva=2358,e.shagujarati=2742,e.shagurmukhi=2614,e.shalshelethebrew=1427,e.shbopomofo=12565,e.shchacyrillic=1097,e.sheenarabic=1588,e.sheenfinalarabic=65206,e.sheeninitialarabic=65207,e.sheenmedialarabic=65208,e.sheicoptic=995,e.sheqel=8362,e.sheqelhebrew=8362,e.sheva=1456,e.sheva115=1456,e.sheva15=1456,e.sheva22=1456,e.sheva2e=1456,e.shevahebrew=1456,e.shevanarrowhebrew=1456,e.shevaquarterhebrew=1456,e.shevawidehebrew=1456,e.shhacyrillic=1211,e.shimacoptic=1005,e.shin=1513,e.shindagesh=64329,e.shindageshhebrew=64329,e.shindageshshindot=64300,e.shindageshshindothebrew=64300,e.shindageshsindot=64301,e.shindageshsindothebrew=64301,e.shindothebrew=1473,e.shinhebrew=1513,e.shinshindot=64298,e.shinshindothebrew=64298,e.shinsindot=64299,e.shinsindothebrew=64299,e.shook=642,e.sigma=963,e.sigma1=962,e.sigmafinal=962,e.sigmalunatesymbolgreek=1010,e.sihiragana=12375,e.sikatakana=12471,e.sikatakanahalfwidth=65404,e.siluqhebrew=1469,e.siluqlefthebrew=1469,e.similar=8764,e.sindothebrew=1474,e.siosacirclekorean=12916,e.siosaparenkorean=12820,e.sioscieuckorean=12670,e.sioscirclekorean=12902,e.sioskiyeokkorean=12666,e.sioskorean=12613,e.siosnieunkorean=12667,e.siosparenkorean=12806,e.siospieupkorean=12669,e.siostikeutkorean=12668,e.six=54,e.sixarabic=1638,e.sixbengali=2540,e.sixcircle=9317,e.sixcircleinversesansserif=10127,e.sixdeva=2412,e.sixgujarati=2796,e.sixgurmukhi=2668,e.sixhackarabic=1638,e.sixhangzhou=12326,e.sixideographicparen=12837,e.sixinferior=8326,e.sixmonospace=65302,e.sixoldstyle=63286,e.sixparen=9337,e.sixperiod=9357,e.sixpersian=1782,e.sixroman=8565,e.sixsuperior=8310,e.sixteencircle=9327,e.sixteencurrencydenominatorbengali=2553,e.sixteenparen=9347,e.sixteenperiod=9367,e.sixthai=3670,e.slash=47,e.slashmonospace=65295,e.slong=383,e.slongdotaccent=7835,e.smileface=9786,e.smonospace=65363,e.sofpasuqhebrew=1475,e.softhyphen=173,e.softsigncyrillic=1100,e.sohiragana=12381,e.sokatakana=12477,e.sokatakanahalfwidth=65407,e.soliduslongoverlaycmb=824,e.solidusshortoverlaycmb=823,e.sorusithai=3625,e.sosalathai=3624,e.sosothai=3595,e.sosuathai=3626,e.space=32,e.spacehackarabic=32,e.spade=9824,e.spadesuitblack=9824,e.spadesuitwhite=9828,e.sparen=9390,e.squarebelowcmb=827,e.squarecc=13252,e.squarecm=13213,e.squarediagonalcrosshatchfill=9641,e.squarehorizontalfill=9636,e.squarekg=13199,e.squarekm=13214,e.squarekmcapital=13262,e.squareln=13265,e.squarelog=13266,e.squaremg=13198,e.squaremil=13269,e.squaremm=13212,e.squaremsquared=13217,e.squareorthogonalcrosshatchfill=9638,e.squareupperlefttolowerrightfill=9639,e.squareupperrighttolowerleftfill=9640,e.squareverticalfill=9637,e.squarewhitewithsmallblack=9635,e.srsquare=13275,e.ssabengali=2487,e.ssadeva=2359,e.ssagujarati=2743,e.ssangcieuckorean=12617,e.ssanghieuhkorean=12677,e.ssangieungkorean=12672,e.ssangkiyeokkorean=12594,e.ssangnieunkorean=12645,e.ssangpieupkorean=12611,e.ssangsioskorean=12614,e.ssangtikeutkorean=12600,e.ssuperior=63218,e.sterling=163,e.sterlingmonospace=65505,e.strokelongoverlaycmb=822,e.strokeshortoverlaycmb=821,e.subset=8834,e.subsetnotequal=8842,e.subsetorequal=8838,e.succeeds=8827,e.suchthat=8715,e.suhiragana=12377,e.sukatakana=12473,e.sukatakanahalfwidth=65405,e.sukunarabic=1618,e.summation=8721,e.sun=9788,e.superset=8835,e.supersetnotequal=8843,e.supersetorequal=8839,e.svsquare=13276,e.syouwaerasquare=13180,e.t=116,e.tabengali=2468,e.tackdown=8868,e.tackleft=8867,e.tadeva=2340,e.tagujarati=2724,e.tagurmukhi=2596,e.taharabic=1591,e.tahfinalarabic=65218,e.tahinitialarabic=65219,e.tahiragana=12383,e.tahmedialarabic=65220,e.taisyouerasquare=13181,e.takatakana=12479,e.takatakanahalfwidth=65408,e.tatweelarabic=1600,e.tau=964,e.tav=1514,e.tavdages=64330,e.tavdagesh=64330,e.tavdageshhebrew=64330,e.tavhebrew=1514,e.tbar=359,e.tbopomofo=12554,e.tcaron=357,e.tccurl=680,e.tcedilla=355,e.tcheharabic=1670,e.tchehfinalarabic=64379,e.tchehinitialarabic=64380,e.tchehmedialarabic=64381,e.tcircle=9443,e.tcircumflexbelow=7793,e.tcommaaccent=355,e.tdieresis=7831,e.tdotaccent=7787,e.tdotbelow=7789,e.tecyrillic=1090,e.tedescendercyrillic=1197,e.teharabic=1578,e.tehfinalarabic=65174,e.tehhahinitialarabic=64674,e.tehhahisolatedarabic=64524,e.tehinitialarabic=65175,e.tehiragana=12390,e.tehjeeminitialarabic=64673,e.tehjeemisolatedarabic=64523,e.tehmarbutaarabic=1577,e.tehmarbutafinalarabic=65172,e.tehmedialarabic=65176,e.tehmeeminitialarabic=64676,e.tehmeemisolatedarabic=64526,e.tehnoonfinalarabic=64627,e.tekatakana=12486,e.tekatakanahalfwidth=65411,e.telephone=8481,e.telephoneblack=9742,e.telishagedolahebrew=1440,e.telishaqetanahebrew=1449,e.tencircle=9321,e.tenideographicparen=12841,e.tenparen=9341,e.tenperiod=9361,e.tenroman=8569,e.tesh=679,e.tet=1496,e.tetdagesh=64312,e.tetdageshhebrew=64312,e.tethebrew=1496,e.tetsecyrillic=1205,e.tevirhebrew=1435,e.tevirlefthebrew=1435,e.thabengali=2469,e.thadeva=2341,e.thagujarati=2725,e.thagurmukhi=2597,e.thalarabic=1584,e.thalfinalarabic=65196,e.thanthakhatlowleftthai=63640,e.thanthakhatlowrightthai=63639,e.thanthakhatthai=3660,e.thanthakhatupperleftthai=63638,e.theharabic=1579,e.thehfinalarabic=65178,e.thehinitialarabic=65179,e.thehmedialarabic=65180,e.thereexists=8707,e.therefore=8756,e.theta=952,e.theta1=977,e.thetasymbolgreek=977,e.thieuthacirclekorean=12921,e.thieuthaparenkorean=12825,e.thieuthcirclekorean=12907,e.thieuthkorean=12620,e.thieuthparenkorean=12811,e.thirteencircle=9324,e.thirteenparen=9344,e.thirteenperiod=9364,e.thonangmonthothai=3601,e.thook=429,e.thophuthaothai=3602,e.thorn=254,e.thothahanthai=3607,e.thothanthai=3600,e.thothongthai=3608,e.thothungthai=3606,e.thousandcyrillic=1154,e.thousandsseparatorarabic=1644,e.thousandsseparatorpersian=1644,e.three=51,e.threearabic=1635,e.threebengali=2537,e.threecircle=9314,e.threecircleinversesansserif=10124,e.threedeva=2409,e.threeeighths=8540,e.threegujarati=2793,e.threegurmukhi=2665,e.threehackarabic=1635,e.threehangzhou=12323,e.threeideographicparen=12834,e.threeinferior=8323,e.threemonospace=65299,e.threenumeratorbengali=2550,e.threeoldstyle=63283,e.threeparen=9334,e.threeperiod=9354,e.threepersian=1779,e.threequarters=190,e.threequartersemdash=63198,e.threeroman=8562,e.threesuperior=179,e.threethai=3667,e.thzsquare=13204,e.tihiragana=12385,e.tikatakana=12481,e.tikatakanahalfwidth=65409,e.tikeutacirclekorean=12912,e.tikeutaparenkorean=12816,e.tikeutcirclekorean=12898,e.tikeutkorean=12599,e.tikeutparenkorean=12802,e.tilde=732,e.tildebelowcmb=816,e.tildecmb=771,e.tildecomb=771,e.tildedoublecmb=864,e.tildeoperator=8764,e.tildeoverlaycmb=820,e.tildeverticalcmb=830,e.timescircle=8855,e.tipehahebrew=1430,e.tipehalefthebrew=1430,e.tippigurmukhi=2672,e.titlocyrilliccmb=1155,e.tiwnarmenian=1407,e.tlinebelow=7791,e.tmonospace=65364,e.toarmenian=1385,e.tohiragana=12392,e.tokatakana=12488,e.tokatakanahalfwidth=65412,e.tonebarextrahighmod=741,e.tonebarextralowmod=745,e.tonebarhighmod=742,e.tonebarlowmod=744,e.tonebarmidmod=743,e.tonefive=445,e.tonesix=389,e.tonetwo=424,e.tonos=900,e.tonsquare=13095,e.topatakthai=3599,e.tortoiseshellbracketleft=12308,e.tortoiseshellbracketleftsmall=65117,e.tortoiseshellbracketleftvertical=65081,e.tortoiseshellbracketright=12309,e.tortoiseshellbracketrightsmall=65118,e.tortoiseshellbracketrightvertical=65082,e.totaothai=3605,e.tpalatalhook=427,e.tparen=9391,e.trademark=8482,e.trademarksans=63722,e.trademarkserif=63195,e.tretroflexhook=648,e.triagdn=9660,e.triaglf=9668,e.triagrt=9658,e.triagup=9650,e.ts=678,e.tsadi=1510,e.tsadidagesh=64326,e.tsadidageshhebrew=64326,e.tsadihebrew=1510,e.tsecyrillic=1094,e.tsere=1461,e.tsere12=1461,e.tsere1e=1461,e.tsere2b=1461,e.tserehebrew=1461,e.tserenarrowhebrew=1461,e.tserequarterhebrew=1461,e.tserewidehebrew=1461,e.tshecyrillic=1115,e.tsuperior=63219,e.ttabengali=2463,e.ttadeva=2335,e.ttagujarati=2719,e.ttagurmukhi=2591,e.tteharabic=1657,e.ttehfinalarabic=64359,e.ttehinitialarabic=64360,e.ttehmedialarabic=64361,e.tthabengali=2464,e.tthadeva=2336,e.tthagujarati=2720,e.tthagurmukhi=2592,e.tturned=647,e.tuhiragana=12388,e.tukatakana=12484,e.tukatakanahalfwidth=65410,e.tusmallhiragana=12387,e.tusmallkatakana=12483,e.tusmallkatakanahalfwidth=65391,e.twelvecircle=9323,e.twelveparen=9343,e.twelveperiod=9363,e.twelveroman=8571,e.twentycircle=9331,e.twentyhangzhou=21316,e.twentyparen=9351,e.twentyperiod=9371,e.two=50,e.twoarabic=1634,e.twobengali=2536,e.twocircle=9313,e.twocircleinversesansserif=10123,e.twodeva=2408,e.twodotenleader=8229,e.twodotleader=8229,e.twodotleadervertical=65072,e.twogujarati=2792,e.twogurmukhi=2664,e.twohackarabic=1634,e.twohangzhou=12322,e.twoideographicparen=12833,e.twoinferior=8322,e.twomonospace=65298,e.twonumeratorbengali=2549,e.twooldstyle=63282,e.twoparen=9333,e.twoperiod=9353,e.twopersian=1778,e.tworoman=8561,e.twostroke=443,e.twosuperior=178,e.twothai=3666,e.twothirds=8532,e.u=117,e.uacute=250,e.ubar=649,e.ubengali=2441,e.ubopomofo=12584,e.ubreve=365,e.ucaron=468,e.ucircle=9444,e.ucircumflex=251,e.ucircumflexbelow=7799,e.ucyrillic=1091,e.udattadeva=2385,e.udblacute=369,e.udblgrave=533,e.udeva=2313,e.udieresis=252,e.udieresisacute=472,e.udieresisbelow=7795,e.udieresiscaron=474,e.udieresiscyrillic=1265,e.udieresisgrave=476,e.udieresismacron=470,e.udotbelow=7909,e.ugrave=249,e.ugujarati=2697,e.ugurmukhi=2569,e.uhiragana=12358,e.uhookabove=7911,e.uhorn=432,e.uhornacute=7913,e.uhorndotbelow=7921,e.uhorngrave=7915,e.uhornhookabove=7917,e.uhorntilde=7919,e.uhungarumlaut=369,e.uhungarumlautcyrillic=1267,e.uinvertedbreve=535,e.ukatakana=12454,e.ukatakanahalfwidth=65395,e.ukcyrillic=1145,e.ukorean=12636,e.umacron=363,e.umacroncyrillic=1263,e.umacrondieresis=7803,e.umatragurmukhi=2625,e.umonospace=65365,e.underscore=95,e.underscoredbl=8215,e.underscoremonospace=65343,e.underscorevertical=65075,e.underscorewavy=65103,e.union=8746,e.universal=8704,e.uogonek=371,e.uparen=9392,e.upblock=9600,e.upperdothebrew=1476,e.upsilon=965,e.upsilondieresis=971,e.upsilondieresistonos=944,e.upsilonlatin=650,e.upsilontonos=973,e.uptackbelowcmb=797,e.uptackmod=724,e.uragurmukhi=2675,e.uring=367,e.ushortcyrillic=1118,e.usmallhiragana=12357,e.usmallkatakana=12453,e.usmallkatakanahalfwidth=65385,e.ustraightcyrillic=1199,e.ustraightstrokecyrillic=1201,e.utilde=361,e.utildeacute=7801,e.utildebelow=7797,e.uubengali=2442,e.uudeva=2314,e.uugujarati=2698,e.uugurmukhi=2570,e.uumatragurmukhi=2626,e.uuvowelsignbengali=2498,e.uuvowelsigndeva=2370,e.uuvowelsigngujarati=2754,e.uvowelsignbengali=2497,e.uvowelsigndeva=2369,e.uvowelsigngujarati=2753,e.v=118,e.vadeva=2357,e.vagujarati=2741,e.vagurmukhi=2613,e.vakatakana=12535,e.vav=1493,e.vavdagesh=64309,e.vavdagesh65=64309,e.vavdageshhebrew=64309,e.vavhebrew=1493,e.vavholam=64331,e.vavholamhebrew=64331,e.vavvavhebrew=1520,e.vavyodhebrew=1521,e.vcircle=9445,e.vdotbelow=7807,e.vecyrillic=1074,e.veharabic=1700,e.vehfinalarabic=64363,e.vehinitialarabic=64364,e.vehmedialarabic=64365,e.vekatakana=12537,e.venus=9792,e.verticalbar=124,e.verticallineabovecmb=781,e.verticallinebelowcmb=809,e.verticallinelowmod=716,e.verticallinemod=712,e.vewarmenian=1406,e.vhook=651,e.vikatakana=12536,e.viramabengali=2509,e.viramadeva=2381,e.viramagujarati=2765,e.visargabengali=2435,e.visargadeva=2307,e.visargagujarati=2691,e.vmonospace=65366,e.voarmenian=1400,e.voicediterationhiragana=12446,e.voicediterationkatakana=12542,e.voicedmarkkana=12443,e.voicedmarkkanahalfwidth=65438,e.vokatakana=12538,e.vparen=9393,e.vtilde=7805,e.vturned=652,e.vuhiragana=12436,e.vukatakana=12532,e.w=119,e.wacute=7811,e.waekorean=12633,e.wahiragana=12431,e.wakatakana=12527,e.wakatakanahalfwidth=65436,e.wakorean=12632,e.wasmallhiragana=12430,e.wasmallkatakana=12526,e.wattosquare=13143,e.wavedash=12316,e.wavyunderscorevertical=65076,e.wawarabic=1608,e.wawfinalarabic=65262,e.wawhamzaabovearabic=1572,e.wawhamzaabovefinalarabic=65158,e.wbsquare=13277,e.wcircle=9446,e.wcircumflex=373,e.wdieresis=7813,e.wdotaccent=7815,e.wdotbelow=7817,e.wehiragana=12433,e.weierstrass=8472,e.wekatakana=12529,e.wekorean=12638,e.weokorean=12637,e.wgrave=7809,e.whitebullet=9702,e.whitecircle=9675,e.whitecircleinverse=9689,e.whitecornerbracketleft=12302,e.whitecornerbracketleftvertical=65091,e.whitecornerbracketright=12303,e.whitecornerbracketrightvertical=65092,e.whitediamond=9671,e.whitediamondcontainingblacksmalldiamond=9672,e.whitedownpointingsmalltriangle=9663,e.whitedownpointingtriangle=9661,e.whiteleftpointingsmalltriangle=9667,e.whiteleftpointingtriangle=9665,e.whitelenticularbracketleft=12310,e.whitelenticularbracketright=12311,e.whiterightpointingsmalltriangle=9657,e.whiterightpointingtriangle=9655,e.whitesmallsquare=9643,e.whitesmilingface=9786,e.whitesquare=9633,e.whitestar=9734,e.whitetelephone=9743,e.whitetortoiseshellbracketleft=12312,e.whitetortoiseshellbracketright=12313,e.whiteuppointingsmalltriangle=9653,e.whiteuppointingtriangle=9651,e.wihiragana=12432,e.wikatakana=12528,e.wikorean=12639,e.wmonospace=65367,e.wohiragana=12434,e.wokatakana=12530,e.wokatakanahalfwidth=65382,e.won=8361,e.wonmonospace=65510,e.wowaenthai=3623,e.wparen=9394,e.wring=7832,e.wsuperior=695,e.wturned=653,e.wynn=447,e.x=120,e.xabovecmb=829,e.xbopomofo=12562,e.xcircle=9447,e.xdieresis=7821,e.xdotaccent=7819,e.xeharmenian=1389,e.xi=958,e.xmonospace=65368,e.xparen=9395,e.xsuperior=739,e.y=121,e.yaadosquare=13134,e.yabengali=2479,e.yacute=253,e.yadeva=2351,e.yaekorean=12626,e.yagujarati=2735,e.yagurmukhi=2607,e.yahiragana=12420,e.yakatakana=12516,e.yakatakanahalfwidth=65428,e.yakorean=12625,e.yamakkanthai=3662,e.yasmallhiragana=12419,e.yasmallkatakana=12515,e.yasmallkatakanahalfwidth=65388,e.yatcyrillic=1123,e.ycircle=9448,e.ycircumflex=375,e.ydieresis=255,e.ydotaccent=7823,e.ydotbelow=7925,e.yeharabic=1610,e.yehbarreearabic=1746,e.yehbarreefinalarabic=64431,e.yehfinalarabic=65266,e.yehhamzaabovearabic=1574,e.yehhamzaabovefinalarabic=65162,e.yehhamzaaboveinitialarabic=65163,e.yehhamzaabovemedialarabic=65164,e.yehinitialarabic=65267,e.yehmedialarabic=65268,e.yehmeeminitialarabic=64733,e.yehmeemisolatedarabic=64600,e.yehnoonfinalarabic=64660,e.yehthreedotsbelowarabic=1745,e.yekorean=12630,e.yen=165,e.yenmonospace=65509,e.yeokorean=12629,e.yeorinhieuhkorean=12678,e.yerahbenyomohebrew=1450,e.yerahbenyomolefthebrew=1450,e.yericyrillic=1099,e.yerudieresiscyrillic=1273,e.yesieungkorean=12673,e.yesieungpansioskorean=12675,e.yesieungsioskorean=12674,e.yetivhebrew=1434,e.ygrave=7923,e.yhook=436,e.yhookabove=7927,e.yiarmenian=1397,e.yicyrillic=1111,e.yikorean=12642,e.yinyang=9775,e.yiwnarmenian=1410,e.ymonospace=65369,e.yod=1497,e.yoddagesh=64313,e.yoddageshhebrew=64313,e.yodhebrew=1497,e.yodyodhebrew=1522,e.yodyodpatahhebrew=64287,e.yohiragana=12424,e.yoikorean=12681,e.yokatakana=12520,e.yokatakanahalfwidth=65430,e.yokorean=12635,e.yosmallhiragana=12423,e.yosmallkatakana=12519,e.yosmallkatakanahalfwidth=65390,e.yotgreek=1011,e.yoyaekorean=12680,e.yoyakorean=12679,e.yoyakthai=3618,e.yoyingthai=3597,e.yparen=9396,e.ypogegrammeni=890,e.ypogegrammenigreekcmb=837,e.yr=422,e.yring=7833,e.ysuperior=696,e.ytilde=7929,e.yturned=654,e.yuhiragana=12422,e.yuikorean=12684,e.yukatakana=12518,e.yukatakanahalfwidth=65429,e.yukorean=12640,e.yusbigcyrillic=1131,e.yusbigiotifiedcyrillic=1133,e.yuslittlecyrillic=1127,e.yuslittleiotifiedcyrillic=1129,e.yusmallhiragana=12421,e.yusmallkatakana=12517,e.yusmallkatakanahalfwidth=65389,e.yuyekorean=12683,e.yuyeokorean=12682,e.yyabengali=2527,e.yyadeva=2399,e.z=122,e.zaarmenian=1382,e.zacute=378,e.zadeva=2395,e.zagurmukhi=2651,e.zaharabic=1592,e.zahfinalarabic=65222,e.zahinitialarabic=65223,e.zahiragana=12374,e.zahmedialarabic=65224,e.zainarabic=1586,e.zainfinalarabic=65200,e.zakatakana=12470,e.zaqefgadolhebrew=1429,e.zaqefqatanhebrew=1428,e.zarqahebrew=1432,e.zayin=1494,e.zayindagesh=64310,e.zayindageshhebrew=64310,e.zayinhebrew=1494,e.zbopomofo=12567,e.zcaron=382,e.zcircle=9449,e.zcircumflex=7825,e.zcurl=657,e.zdot=380,e.zdotaccent=380,e.zdotbelow=7827,e.zecyrillic=1079,e.zedescendercyrillic=1177,e.zedieresiscyrillic=1247,e.zehiragana=12380,e.zekatakana=12476,e.zero=48,e.zeroarabic=1632,e.zerobengali=2534,e.zerodeva=2406,e.zerogujarati=2790,e.zerogurmukhi=2662,e.zerohackarabic=1632,e.zeroinferior=8320,e.zeromonospace=65296,e.zerooldstyle=63280,e.zeropersian=1776,e.zerosuperior=8304,e.zerothai=3664,e.zerowidthjoiner=65279,e.zerowidthnonjoiner=8204,e.zerowidthspace=8203,e.zeta=950,e.zhbopomofo=12563,e.zhearmenian=1386,e.zhebrevecyrillic=1218,e.zhecyrillic=1078,e.zhedescendercyrillic=1175,e.zhedieresiscyrillic=1245,e.zihiragana=12376,e.zikatakana=12472,e.zinorhebrew=1454,e.zlinebelow=7829,e.zmonospace=65370,e.zohiragana=12382,e.zokatakana=12478,e.zparen=9397,e.zretroflexhook=656,e.zstroke=438,e.zuhiragana=12378,e.zukatakana=12474,e[".notdef"]=0,e.angbracketleftbig=9001,e.angbracketleftBig=9001,e.angbracketleftbigg=9001,e.angbracketleftBigg=9001,e.angbracketrightBig=9002,e.angbracketrightbig=9002,e.angbracketrightBigg=9002,e.angbracketrightbigg=9002,e.arrowhookleft=8618,e.arrowhookright=8617,e.arrowlefttophalf=8636,e.arrowleftbothalf=8637,e.arrownortheast=8599,e.arrownorthwest=8598,e.arrowrighttophalf=8640,e.arrowrightbothalf=8641,e.arrowsoutheast=8600,e.arrowsouthwest=8601,e.backslashbig=8726,e.backslashBig=8726,e.backslashBigg=8726,e.backslashbigg=8726,e.bardbl=8214,e.bracehtipdownleft=65079,e.bracehtipdownright=65079,e.bracehtipupleft=65080,e.bracehtipupright=65080,e.braceleftBig=123,e.braceleftbig=123,e.braceleftbigg=123,e.braceleftBigg=123,e.bracerightBig=125,e.bracerightbig=125,e.bracerightbigg=125,e.bracerightBigg=125,e.bracketleftbig=91,e.bracketleftBig=91,e.bracketleftbigg=91,e.bracketleftBigg=91,e.bracketrightBig=93,e.bracketrightbig=93,e.bracketrightbigg=93,e.bracketrightBigg=93,e.ceilingleftbig=8968,e.ceilingleftBig=8968,e.ceilingleftBigg=8968,e.ceilingleftbigg=8968,e.ceilingrightbig=8969,e.ceilingrightBig=8969,e.ceilingrightbigg=8969,e.ceilingrightBigg=8969,e.circledotdisplay=8857,e.circledottext=8857,e.circlemultiplydisplay=8855,e.circlemultiplytext=8855,e.circleplusdisplay=8853,e.circleplustext=8853,e.contintegraldisplay=8750,e.contintegraltext=8750,e.coproductdisplay=8720,e.coproducttext=8720,e.floorleftBig=8970,e.floorleftbig=8970,e.floorleftbigg=8970,e.floorleftBigg=8970,e.floorrightbig=8971,e.floorrightBig=8971,e.floorrightBigg=8971,e.floorrightbigg=8971,e.hatwide=770,e.hatwider=770,e.hatwidest=770,e.intercal=7488,e.integraldisplay=8747,e.integraltext=8747,e.intersectiondisplay=8898,e.intersectiontext=8898,e.logicalanddisplay=8743,e.logicalandtext=8743,e.logicalordisplay=8744,e.logicalortext=8744,e.parenleftBig=40,e.parenleftbig=40,e.parenleftBigg=40,e.parenleftbigg=40,e.parenrightBig=41,e.parenrightbig=41,e.parenrightBigg=41,e.parenrightbigg=41,e.prime=8242,e.productdisplay=8719,e.producttext=8719,e.radicalbig=8730,e.radicalBig=8730,e.radicalBigg=8730,e.radicalbigg=8730,e.radicalbt=8730,e.radicaltp=8730,e.radicalvertex=8730,e.slashbig=47,e.slashBig=47,e.slashBigg=47,e.slashbigg=47,e.summationdisplay=8721,e.summationtext=8721,e.tildewide=732,e.tildewider=732,e.tildewidest=732,e.uniondisplay=8899,e.unionmultidisplay=8846,e.unionmultitext=8846,e.unionsqdisplay=8852,e.unionsqtext=8852,e.uniontext=8899,e.vextenddouble=8741,e.vextendsingle=8739});d.getGlyphsUnicode=u;const g=(0,n.getLookupTableFactory)(function(e){e.space=32,e.a1=9985,e.a2=9986,e.a202=9987,e.a3=9988,e.a4=9742,e.a5=9990,e.a119=9991,e.a118=9992,e.a117=9993,e.a11=9755,e.a12=9758,e.a13=9996,e.a14=9997,e.a15=9998,e.a16=9999,e.a105=1e4,e.a17=10001,e.a18=10002,e.a19=10003,e.a20=10004,e.a21=10005,e.a22=10006,e.a23=10007,e.a24=10008,e.a25=10009,e.a26=10010,e.a27=10011,e.a28=10012,e.a6=10013,e.a7=10014,e.a8=10015,e.a9=10016,e.a10=10017,e.a29=10018,e.a30=10019,e.a31=10020,e.a32=10021,e.a33=10022,e.a34=10023,e.a35=9733,e.a36=10025,e.a37=10026,e.a38=10027,e.a39=10028,e.a40=10029,e.a41=10030,e.a42=10031,e.a43=10032,e.a44=10033,e.a45=10034,e.a46=10035,e.a47=10036,e.a48=10037,e.a49=10038,e.a50=10039,e.a51=10040,e.a52=10041,e.a53=10042,e.a54=10043,e.a55=10044,e.a56=10045,e.a57=10046,e.a58=10047,e.a59=10048,e.a60=10049,e.a61=10050,e.a62=10051,e.a63=10052,e.a64=10053,e.a65=10054,e.a66=10055,e.a67=10056,e.a68=10057,e.a69=10058,e.a70=10059,e.a71=9679,e.a72=10061,e.a73=9632,e.a74=10063,e.a203=10064,e.a75=10065,e.a204=10066,e.a76=9650,e.a77=9660,e.a78=9670,e.a79=10070,e.a81=9687,e.a82=10072,e.a83=10073,e.a84=10074,e.a97=10075,e.a98=10076,e.a99=10077,e.a100=10078,e.a101=10081,e.a102=10082,e.a103=10083,e.a104=10084,e.a106=10085,e.a107=10086,e.a108=10087,e.a112=9827,e.a111=9830,e.a110=9829,e.a109=9824,e.a120=9312,e.a121=9313,e.a122=9314,e.a123=9315,e.a124=9316,e.a125=9317,e.a126=9318,e.a127=9319,e.a128=9320,e.a129=9321,e.a130=10102,e.a131=10103,e.a132=10104,e.a133=10105,e.a134=10106,e.a135=10107,e.a136=10108,e.a137=10109,e.a138=10110,e.a139=10111,e.a140=10112,e.a141=10113,e.a142=10114,e.a143=10115,e.a144=10116,e.a145=10117,e.a146=10118,e.a147=10119,e.a148=10120,e.a149=10121,e.a150=10122,e.a151=10123,e.a152=10124,e.a153=10125,e.a154=10126,e.a155=10127,e.a156=10128,e.a157=10129,e.a158=10130,e.a159=10131,e.a160=10132,e.a161=8594,e.a163=8596,e.a164=8597,e.a196=10136,e.a165=10137,e.a192=10138,e.a166=10139,e.a167=10140,e.a168=10141,e.a169=10142,e.a170=10143,e.a171=10144,e.a172=10145,e.a173=10146,e.a162=10147,e.a174=10148,e.a175=10149,e.a176=10150,e.a177=10151,e.a178=10152,e.a179=10153,e.a193=10154,e.a180=10155,e.a199=10156,e.a181=10157,e.a200=10158,e.a182=10159,e.a201=10161,e.a183=10162,e.a184=10163,e.a197=10164,e.a185=10165,e.a194=10166,e.a198=10167,e.a186=10168,e.a195=10169,e.a187=10170,e.a188=10171,e.a189=10172,e.a190=10173,e.a191=10174,e.a89=10088,e.a90=10089,e.a93=10090,e.a94=10091,e.a91=10092,e.a92=10093,e.a205=10094,e.a85=10095,e.a206=10096,e.a86=10097,e.a87=10098,e.a88=10099,e.a95=10100,e.a96=10101,e[".notdef"]=0});d.getDingbatsGlyphsUnicode=g},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.clearUnicodeCaches=y,d.getCharUnicodeCategory=C,d.getUnicodeForGlyph=e,d.getUnicodeRangeFor=s,d.mapSpecialUnicodeValues=g;var n=i(150);const u=(0,n.getLookupTableFactory)(function(f){f[63721]=169,f[63193]=169,f[63720]=174,f[63194]=174,f[63722]=8482,f[63195]=8482,f[63729]=9127,f[63730]=9128,f[63731]=9129,f[63740]=9131,f[63741]=9132,f[63742]=9133,f[63726]=9121,f[63727]=9122,f[63728]=9123,f[63737]=9124,f[63738]=9125,f[63739]=9126,f[63723]=9115,f[63724]=9116,f[63725]=9117,f[63734]=9118,f[63735]=9119,f[63736]=9120});function g(f){return f>=65520&&f<=65535?0:f>=62976&&f<=63743?u()[f]||f:f===173?45:f}function e(f,x){let a=x[f];if(a!==void 0)return a;if(!f)return-1;if(f[0]==="u"){const N=f.length;let v;if(N===7&&f[1]==="n"&&f[2]==="i")v=f.substring(3);else if(N>=5&&N<=7)v=f.substring(1);else return-1;if(v===v.toUpperCase()&&(a=parseInt(v,16),a>=0))return a}return-1}const t=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];function s(f){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;if(x!==-1){const a=t[x];for(let N=0,v=a.length;N=a[N]&&f<=a[N+1])return x}for(let a=0,N=t.length;a=v[P]&&f<=v[P+1])return a}return-1}const L=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),U=new Map;function C(f){const x=U.get(f);if(x)return x;const a=f.match(L),N={isWhitespace:!!(a!=null&&a[1]),isZeroWidthDiacritic:!!(a!=null&&a[2]),isInvisibleFormatMark:!!(a!=null&&a[3])};return U.set(f,N),N}function y(){U.clear()}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.getSerifFonts=d.getNonStdFontMap=d.getGlyphMapForStandardFonts=d.getFontNameToFileMap=void 0,d.getStandardFontName=f,d.getSymbolsFonts=d.getSupplementalGlyphMapForCalibri=d.getSupplementalGlyphMapForArialBlack=d.getStdFontMap=void 0,d.isKnownFontName=x;var n=i(150),u=i(189);const g=(0,n.getLookupTableFactory)(function(a){a["Times-Roman"]="Times-Roman",a.Helvetica="Helvetica",a.Courier="Courier",a.Symbol="Symbol",a["Times-Bold"]="Times-Bold",a["Helvetica-Bold"]="Helvetica-Bold",a["Courier-Bold"]="Courier-Bold",a.ZapfDingbats="ZapfDingbats",a["Times-Italic"]="Times-Italic",a["Helvetica-Oblique"]="Helvetica-Oblique",a["Courier-Oblique"]="Courier-Oblique",a["Times-BoldItalic"]="Times-BoldItalic",a["Helvetica-BoldOblique"]="Helvetica-BoldOblique",a["Courier-BoldOblique"]="Courier-BoldOblique",a.ArialNarrow="Helvetica",a["ArialNarrow-Bold"]="Helvetica-Bold",a["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",a["ArialNarrow-Italic"]="Helvetica-Oblique",a.ArialBlack="Helvetica",a["ArialBlack-Bold"]="Helvetica-Bold",a["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",a["ArialBlack-Italic"]="Helvetica-Oblique",a["Arial-Black"]="Helvetica",a["Arial-Black-Bold"]="Helvetica-Bold",a["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",a["Arial-Black-Italic"]="Helvetica-Oblique",a.Arial="Helvetica",a["Arial-Bold"]="Helvetica-Bold",a["Arial-BoldItalic"]="Helvetica-BoldOblique",a["Arial-Italic"]="Helvetica-Oblique",a.ArialMT="Helvetica",a["Arial-BoldItalicMT"]="Helvetica-BoldOblique",a["Arial-BoldMT"]="Helvetica-Bold",a["Arial-ItalicMT"]="Helvetica-Oblique",a["Arial-BoldItalicMT-BoldItalic"]="Helvetica-BoldOblique",a["Arial-BoldMT-Bold"]="Helvetica-Bold",a["Arial-ItalicMT-Italic"]="Helvetica-Oblique",a.ArialUnicodeMS="Helvetica",a["ArialUnicodeMS-Bold"]="Helvetica-Bold",a["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",a["ArialUnicodeMS-Italic"]="Helvetica-Oblique",a["Courier-BoldItalic"]="Courier-BoldOblique",a["Courier-Italic"]="Courier-Oblique",a.CourierNew="Courier",a["CourierNew-Bold"]="Courier-Bold",a["CourierNew-BoldItalic"]="Courier-BoldOblique",a["CourierNew-Italic"]="Courier-Oblique",a["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",a["CourierNewPS-BoldMT"]="Courier-Bold",a["CourierNewPS-ItalicMT"]="Courier-Oblique",a.CourierNewPSMT="Courier",a["Helvetica-BoldItalic"]="Helvetica-BoldOblique",a["Helvetica-Italic"]="Helvetica-Oblique",a["Symbol-Bold"]="Symbol",a["Symbol-BoldItalic"]="Symbol",a["Symbol-Italic"]="Symbol",a.TimesNewRoman="Times-Roman",a["TimesNewRoman-Bold"]="Times-Bold",a["TimesNewRoman-BoldItalic"]="Times-BoldItalic",a["TimesNewRoman-Italic"]="Times-Italic",a.TimesNewRomanPS="Times-Roman",a["TimesNewRomanPS-Bold"]="Times-Bold",a["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",a["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",a["TimesNewRomanPS-BoldMT"]="Times-Bold",a["TimesNewRomanPS-Italic"]="Times-Italic",a["TimesNewRomanPS-ItalicMT"]="Times-Italic",a.TimesNewRomanPSMT="Times-Roman",a["TimesNewRomanPSMT-Bold"]="Times-Bold",a["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",a["TimesNewRomanPSMT-Italic"]="Times-Italic"});d.getStdFontMap=g;const e=(0,n.getLookupTableFactory)(function(a){a.Courier="FoxitFixed.pfb",a["Courier-Bold"]="FoxitFixedBold.pfb",a["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",a["Courier-Oblique"]="FoxitFixedItalic.pfb",a.Helvetica="LiberationSans-Regular.ttf",a["Helvetica-Bold"]="LiberationSans-Bold.ttf",a["Helvetica-BoldOblique"]="LiberationSans-BoldItalic.ttf",a["Helvetica-Oblique"]="LiberationSans-Italic.ttf",a["Times-Roman"]="FoxitSerif.pfb",a["Times-Bold"]="FoxitSerifBold.pfb",a["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",a["Times-Italic"]="FoxitSerifItalic.pfb",a.Symbol="FoxitSymbol.pfb",a.ZapfDingbats="FoxitDingbats.pfb",a["LiberationSans-Regular"]="LiberationSans-Regular.ttf",a["LiberationSans-Bold"]="LiberationSans-Bold.ttf",a["LiberationSans-Italic"]="LiberationSans-Italic.ttf",a["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"});d.getFontNameToFileMap=e;const t=(0,n.getLookupTableFactory)(function(a){a.Calibri="Helvetica",a["Calibri-Bold"]="Helvetica-Bold",a["Calibri-BoldItalic"]="Helvetica-BoldOblique",a["Calibri-Italic"]="Helvetica-Oblique",a.CenturyGothic="Helvetica",a["CenturyGothic-Bold"]="Helvetica-Bold",a["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",a["CenturyGothic-Italic"]="Helvetica-Oblique",a.ComicSansMS="Comic Sans MS",a["ComicSansMS-Bold"]="Comic Sans MS-Bold",a["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",a["ComicSansMS-Italic"]="Comic Sans MS-Italic",a.Impact="Helvetica",a["ItcSymbol-Bold"]="Helvetica-Bold",a["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",a["ItcSymbol-Book"]="Helvetica",a["ItcSymbol-BookItalic"]="Helvetica-Oblique",a["ItcSymbol-Medium"]="Helvetica",a["ItcSymbol-MediumItalic"]="Helvetica-Oblique",a.LucidaConsole="Courier",a["LucidaConsole-Bold"]="Courier-Bold",a["LucidaConsole-BoldItalic"]="Courier-BoldOblique",a["LucidaConsole-Italic"]="Courier-Oblique",a["LucidaSans-Demi"]="Helvetica-Bold",a["MS-Gothic"]="MS Gothic",a["MS-Gothic-Bold"]="MS Gothic-Bold",a["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",a["MS-Gothic-Italic"]="MS Gothic-Italic",a["MS-Mincho"]="MS Mincho",a["MS-Mincho-Bold"]="MS Mincho-Bold",a["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",a["MS-Mincho-Italic"]="MS Mincho-Italic",a["MS-PGothic"]="MS PGothic",a["MS-PGothic-Bold"]="MS PGothic-Bold",a["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",a["MS-PGothic-Italic"]="MS PGothic-Italic",a["MS-PMincho"]="MS PMincho",a["MS-PMincho-Bold"]="MS PMincho-Bold",a["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",a["MS-PMincho-Italic"]="MS PMincho-Italic",a.NuptialScript="Times-Italic",a.SegoeUISymbol="Helvetica"});d.getNonStdFontMap=t;const s=(0,n.getLookupTableFactory)(function(a){a["Adobe Jenson"]=!0,a["Adobe Text"]=!0,a.Albertus=!0,a.Aldus=!0,a.Alexandria=!0,a.Algerian=!0,a["American Typewriter"]=!0,a.Antiqua=!0,a.Apex=!0,a.Arno=!0,a.Aster=!0,a.Aurora=!0,a.Baskerville=!0,a.Bell=!0,a.Bembo=!0,a["Bembo Schoolbook"]=!0,a.Benguiat=!0,a["Berkeley Old Style"]=!0,a["Bernhard Modern"]=!0,a["Berthold City"]=!0,a.Bodoni=!0,a["Bauer Bodoni"]=!0,a["Book Antiqua"]=!0,a.Bookman=!0,a["Bordeaux Roman"]=!0,a["Californian FB"]=!0,a.Calisto=!0,a.Calvert=!0,a.Capitals=!0,a.Cambria=!0,a.Cartier=!0,a.Caslon=!0,a.Catull=!0,a.Centaur=!0,a["Century Old Style"]=!0,a["Century Schoolbook"]=!0,a.Chaparral=!0,a["Charis SIL"]=!0,a.Cheltenham=!0,a["Cholla Slab"]=!0,a.Clarendon=!0,a.Clearface=!0,a.Cochin=!0,a.Colonna=!0,a["Computer Modern"]=!0,a["Concrete Roman"]=!0,a.Constantia=!0,a["Cooper Black"]=!0,a.Corona=!0,a.Ecotype=!0,a.Egyptienne=!0,a.Elephant=!0,a.Excelsior=!0,a.Fairfield=!0,a["FF Scala"]=!0,a.Folkard=!0,a.Footlight=!0,a.FreeSerif=!0,a["Friz Quadrata"]=!0,a.Garamond=!0,a.Gentium=!0,a.Georgia=!0,a.Gloucester=!0,a["Goudy Old Style"]=!0,a["Goudy Schoolbook"]=!0,a["Goudy Pro Font"]=!0,a.Granjon=!0,a["Guardian Egyptian"]=!0,a.Heather=!0,a.Hercules=!0,a["High Tower Text"]=!0,a.Hiroshige=!0,a["Hoefler Text"]=!0,a["Humana Serif"]=!0,a.Imprint=!0,a["Ionic No. 5"]=!0,a.Janson=!0,a.Joanna=!0,a.Korinna=!0,a.Lexicon=!0,a.LiberationSerif=!0,a["Liberation Serif"]=!0,a["Linux Libertine"]=!0,a.Literaturnaya=!0,a.Lucida=!0,a["Lucida Bright"]=!0,a.Melior=!0,a.Memphis=!0,a.Miller=!0,a.Minion=!0,a.Modern=!0,a["Mona Lisa"]=!0,a["Mrs Eaves"]=!0,a["MS Serif"]=!0,a["Museo Slab"]=!0,a["New York"]=!0,a["Nimbus Roman"]=!0,a["NPS Rawlinson Roadway"]=!0,a.NuptialScript=!0,a.Palatino=!0,a.Perpetua=!0,a.Plantin=!0,a["Plantin Schoolbook"]=!0,a.Playbill=!0,a["Poor Richard"]=!0,a["Rawlinson Roadway"]=!0,a.Renault=!0,a.Requiem=!0,a.Rockwell=!0,a.Roman=!0,a["Rotis Serif"]=!0,a.Sabon=!0,a.Scala=!0,a.Seagull=!0,a.Sistina=!0,a.Souvenir=!0,a.STIX=!0,a["Stone Informal"]=!0,a["Stone Serif"]=!0,a.Sylfaen=!0,a.Times=!0,a.Trajan=!0,a.Trinité=!0,a["Trump Mediaeval"]=!0,a.Utopia=!0,a["Vale Type"]=!0,a["Bitstream Vera"]=!0,a["Vera Serif"]=!0,a.Versailles=!0,a.Wanted=!0,a.Weiss=!0,a["Wide Latin"]=!0,a.Windsor=!0,a.XITS=!0});d.getSerifFonts=s;const L=(0,n.getLookupTableFactory)(function(a){a.Dingbats=!0,a.Symbol=!0,a.ZapfDingbats=!0,a.Wingdings=!0,a["Wingdings-Bold"]=!0,a["Wingdings-Regular"]=!0});d.getSymbolsFonts=L;const U=(0,n.getLookupTableFactory)(function(a){a[2]=10,a[3]=32,a[4]=33,a[5]=34,a[6]=35,a[7]=36,a[8]=37,a[9]=38,a[10]=39,a[11]=40,a[12]=41,a[13]=42,a[14]=43,a[15]=44,a[16]=45,a[17]=46,a[18]=47,a[19]=48,a[20]=49,a[21]=50,a[22]=51,a[23]=52,a[24]=53,a[25]=54,a[26]=55,a[27]=56,a[28]=57,a[29]=58,a[30]=894,a[31]=60,a[32]=61,a[33]=62,a[34]=63,a[35]=64,a[36]=65,a[37]=66,a[38]=67,a[39]=68,a[40]=69,a[41]=70,a[42]=71,a[43]=72,a[44]=73,a[45]=74,a[46]=75,a[47]=76,a[48]=77,a[49]=78,a[50]=79,a[51]=80,a[52]=81,a[53]=82,a[54]=83,a[55]=84,a[56]=85,a[57]=86,a[58]=87,a[59]=88,a[60]=89,a[61]=90,a[62]=91,a[63]=92,a[64]=93,a[65]=94,a[66]=95,a[67]=96,a[68]=97,a[69]=98,a[70]=99,a[71]=100,a[72]=101,a[73]=102,a[74]=103,a[75]=104,a[76]=105,a[77]=106,a[78]=107,a[79]=108,a[80]=109,a[81]=110,a[82]=111,a[83]=112,a[84]=113,a[85]=114,a[86]=115,a[87]=116,a[88]=117,a[89]=118,a[90]=119,a[91]=120,a[92]=121,a[93]=122,a[94]=123,a[95]=124,a[96]=125,a[97]=126,a[98]=196,a[99]=197,a[100]=199,a[101]=201,a[102]=209,a[103]=214,a[104]=220,a[105]=225,a[106]=224,a[107]=226,a[108]=228,a[109]=227,a[110]=229,a[111]=231,a[112]=233,a[113]=232,a[114]=234,a[115]=235,a[116]=237,a[117]=236,a[118]=238,a[119]=239,a[120]=241,a[121]=243,a[122]=242,a[123]=244,a[124]=246,a[125]=245,a[126]=250,a[127]=249,a[128]=251,a[129]=252,a[130]=8224,a[131]=176,a[132]=162,a[133]=163,a[134]=167,a[135]=8226,a[136]=182,a[137]=223,a[138]=174,a[139]=169,a[140]=8482,a[141]=180,a[142]=168,a[143]=8800,a[144]=198,a[145]=216,a[146]=8734,a[147]=177,a[148]=8804,a[149]=8805,a[150]=165,a[151]=181,a[152]=8706,a[153]=8721,a[154]=8719,a[156]=8747,a[157]=170,a[158]=186,a[159]=8486,a[160]=230,a[161]=248,a[162]=191,a[163]=161,a[164]=172,a[165]=8730,a[166]=402,a[167]=8776,a[168]=8710,a[169]=171,a[170]=187,a[171]=8230,a[179]=8220,a[180]=8221,a[181]=8216,a[182]=8217,a[200]=193,a[203]=205,a[207]=211,a[210]=218,a[223]=711,a[224]=321,a[225]=322,a[226]=352,a[227]=353,a[228]=381,a[229]=382,a[233]=221,a[234]=253,a[252]=263,a[253]=268,a[254]=269,a[258]=258,a[260]=260,a[261]=261,a[265]=280,a[266]=281,a[267]=282,a[268]=283,a[269]=313,a[275]=323,a[276]=324,a[278]=328,a[283]=344,a[284]=345,a[285]=346,a[286]=347,a[292]=367,a[295]=377,a[296]=378,a[298]=380,a[305]=963,a[306]=964,a[307]=966,a[308]=8215,a[309]=8252,a[310]=8319,a[311]=8359,a[312]=8592,a[313]=8593,a[337]=9552,a[493]=1039,a[494]=1040,a[672]=1488,a[673]=1489,a[674]=1490,a[675]=1491,a[676]=1492,a[677]=1493,a[678]=1494,a[679]=1495,a[680]=1496,a[681]=1497,a[682]=1498,a[683]=1499,a[684]=1500,a[685]=1501,a[686]=1502,a[687]=1503,a[688]=1504,a[689]=1505,a[690]=1506,a[691]=1507,a[692]=1508,a[693]=1509,a[694]=1510,a[695]=1511,a[696]=1512,a[697]=1513,a[698]=1514,a[705]=1524,a[706]=8362,a[710]=64288,a[711]=64298,a[759]=1617,a[761]=1776,a[763]=1778,a[775]=1652,a[777]=1764,a[778]=1780,a[779]=1781,a[780]=1782,a[782]=771,a[783]=64726,a[786]=8363,a[788]=8532,a[790]=768,a[791]=769,a[792]=768,a[795]=803,a[797]=64336,a[798]=64337,a[799]=64342,a[800]=64343,a[801]=64344,a[802]=64345,a[803]=64362,a[804]=64363,a[805]=64364,a[2424]=7821,a[2425]=7822,a[2426]=7823,a[2427]=7824,a[2428]=7825,a[2429]=7826,a[2430]=7827,a[2433]=7682,a[2678]=8045,a[2679]=8046,a[2830]=1552,a[2838]=686,a[2840]=751,a[2842]=753,a[2843]=754,a[2844]=755,a[2846]=757,a[2856]=767,a[2857]=848,a[2858]=849,a[2862]=853,a[2863]=854,a[2864]=855,a[2865]=861,a[2866]=862,a[2906]=7460,a[2908]=7462,a[2909]=7463,a[2910]=7464,a[2912]=7466,a[2913]=7467,a[2914]=7468,a[2916]=7470,a[2917]=7471,a[2918]=7472,a[2920]=7474,a[2921]=7475,a[2922]=7476,a[2924]=7478,a[2925]=7479,a[2926]=7480,a[2928]=7482,a[2929]=7483,a[2930]=7484,a[2932]=7486,a[2933]=7487,a[2934]=7488,a[2936]=7490,a[2937]=7491,a[2938]=7492,a[2940]=7494,a[2941]=7495,a[2942]=7496,a[2944]=7498,a[2946]=7500,a[2948]=7502,a[2950]=7504,a[2951]=7505,a[2952]=7506,a[2954]=7508,a[2955]=7509,a[2956]=7510,a[2958]=7512,a[2959]=7513,a[2960]=7514,a[2962]=7516,a[2963]=7517,a[2964]=7518,a[2966]=7520,a[2967]=7521,a[2968]=7522,a[2970]=7524,a[2971]=7525,a[2972]=7526,a[2974]=7528,a[2975]=7529,a[2976]=7530,a[2978]=1537,a[2979]=1538,a[2980]=1539,a[2982]=1549,a[2983]=1551,a[2984]=1552,a[2986]=1554,a[2987]=1555,a[2988]=1556,a[2990]=1623,a[2991]=1624,a[2995]=1775,a[2999]=1791,a[3002]=64290,a[3003]=64291,a[3004]=64292,a[3006]=64294,a[3007]=64295,a[3008]=64296,a[3011]=1900,a[3014]=8223,a[3015]=8244,a[3017]=7532,a[3018]=7533,a[3019]=7534,a[3075]=7590,a[3076]=7591,a[3079]=7594,a[3080]=7595,a[3083]=7598,a[3084]=7599,a[3087]=7602,a[3088]=7603,a[3091]=7606,a[3092]=7607,a[3095]=7610,a[3096]=7611,a[3099]=7614,a[3100]=7615,a[3103]=7618,a[3104]=7619,a[3107]=8337,a[3108]=8338,a[3116]=1884,a[3119]=1885,a[3120]=1885,a[3123]=1886,a[3124]=1886,a[3127]=1887,a[3128]=1887,a[3131]=1888,a[3132]=1888,a[3135]=1889,a[3136]=1889,a[3139]=1890,a[3140]=1890,a[3143]=1891,a[3144]=1891,a[3147]=1892,a[3148]=1892,a[3153]=580,a[3154]=581,a[3157]=584,a[3158]=585,a[3161]=588,a[3162]=589,a[3165]=891,a[3166]=892,a[3169]=1274,a[3170]=1275,a[3173]=1278,a[3174]=1279,a[3181]=7622,a[3182]=7623,a[3282]=11799,a[3316]=578,a[3379]=42785,a[3393]=1159,a[3416]=8377});d.getGlyphMapForStandardFonts=U;const C=(0,n.getLookupTableFactory)(function(a){a[227]=322,a[264]=261,a[291]=346});d.getSupplementalGlyphMapForArialBlack=C;const y=(0,n.getLookupTableFactory)(function(a){a[1]=32,a[4]=65,a[5]=192,a[6]=193,a[9]=196,a[17]=66,a[18]=67,a[21]=268,a[24]=68,a[28]=69,a[29]=200,a[30]=201,a[32]=282,a[38]=70,a[39]=71,a[44]=72,a[47]=73,a[48]=204,a[49]=205,a[58]=74,a[60]=75,a[62]=76,a[68]=77,a[69]=78,a[75]=79,a[76]=210,a[80]=214,a[87]=80,a[89]=81,a[90]=82,a[92]=344,a[94]=83,a[97]=352,a[100]=84,a[104]=85,a[109]=220,a[115]=86,a[116]=87,a[121]=88,a[122]=89,a[124]=221,a[127]=90,a[129]=381,a[258]=97,a[259]=224,a[260]=225,a[263]=228,a[268]=261,a[271]=98,a[272]=99,a[273]=263,a[275]=269,a[282]=100,a[286]=101,a[287]=232,a[288]=233,a[290]=283,a[295]=281,a[296]=102,a[336]=103,a[346]=104,a[349]=105,a[350]=236,a[351]=237,a[361]=106,a[364]=107,a[367]=108,a[371]=322,a[373]=109,a[374]=110,a[381]=111,a[382]=242,a[383]=243,a[386]=246,a[393]=112,a[395]=113,a[396]=114,a[398]=345,a[400]=115,a[401]=347,a[403]=353,a[410]=116,a[437]=117,a[442]=252,a[448]=118,a[449]=119,a[454]=120,a[455]=121,a[457]=253,a[460]=122,a[462]=382,a[463]=380,a[853]=44,a[855]=58,a[856]=46,a[876]=47,a[878]=45,a[882]=45,a[894]=40,a[895]=41,a[896]=91,a[897]=93,a[923]=64,a[1004]=48,a[1005]=49,a[1006]=50,a[1007]=51,a[1008]=52,a[1009]=53,a[1010]=54,a[1011]=55,a[1012]=56,a[1013]=57,a[1081]=37,a[1085]=43,a[1086]=45});d.getSupplementalGlyphMapForCalibri=y;function f(a){const N=(0,u.normalizeFontName)(a);return g()[N]}function x(a){const N=(0,u.normalizeFontName)(a);return!!(g()[N]||t()[N]||s()[N]||L()[N])}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.ToUnicodeMap=d.IdentityToUnicodeMap=void 0;var n=i(145);class u{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this._map=t}get length(){return this._map.length}forEach(t){for(const s in this._map)t(s,this._map[s].charCodeAt(0))}has(t){return this._map[t]!==void 0}get(t){return this._map[t]}charCodeOf(t){const s=this._map;if(s.length<=65536)return s.indexOf(t);for(const L in s)if(s[L]===t)return L|0;return-1}amend(t){for(const s in t)this._map[s]=t[s]}}d.ToUnicodeMap=u;class g{constructor(t,s){this.firstChar=t,this.lastChar=s}get length(){return this.lastChar+1-this.firstChar}forEach(t){for(let s=this.firstChar,L=this.lastChar;s<=L;s++)t(s,s)}has(t){return this.firstChar<=t&&t<=this.lastChar}get(t){if(this.firstChar<=t&&t<=this.lastChar)return String.fromCharCode(t)}charCodeOf(t){return Number.isInteger(t)&&t>=this.firstChar&&t<=this.lastChar?t:-1}amend(t){(0,n.unreachable)("Should not call amend()")}}d.IdentityToUnicodeMap=g},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.CFFFont=void 0;var n=i(186),u=i(189),g=i(145);class e{constructor(s,L){this.properties=L;const U=new n.CFFParser(s,L,u.SEAC_ANALYSIS_ENABLED);this.cff=U.parse(),this.cff.duplicateFirstGlyph();const C=new n.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=C.compile()}catch{(0,g.warn)("Failed to compile font "+L.loadedName),this.data=s}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const s=this.cff,L=this.properties,{cidToGidMap:U,cMap:C}=L,y=s.charset.charset;let f,x;if(L.composite){let N;if((U==null?void 0:U.length)>0){N=Object.create(null);for(let P=0,F=U.length;P=0){const a=U[x];a&&(y[f]=a)}}y.length>0&&(this.properties.builtInEncoding=y)}}d.CFFFont=e},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.FontRendererFactory=void 0,i(140),i(158),i(160),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(145),u=i(186),g=i(190),e=i(188),t=i(155);function s(c,h){return(c[h]<<24|c[h+1]<<16|c[h+2]<<8|c[h+3])>>>0}function L(c,h){return c[h]<<8|c[h+1]}function U(c,h){return(c[h]<<24|c[h+1]<<16)>>16}function C(c,h){return c[h]<<24>>24}function y(c,h){return U(c,h)/16384}function f(c){const h=c.length;let E=32768;return h<1240?E=107:h<33900&&(E=1131),E}function x(c,h,E){const o=L(c,h+2)===1?s(c,h+8):s(c,h+16),l=L(c,h+o);let b,R,S;if(l===4){L(c,h+o+2);const p=L(c,h+o+6)>>1;for(R=h+o+14,b=[],S=0;S2*L(S,p));const b=[];let R=l(h,0);for(let S=o;S>1;E0;)H.push({flags:p})}for(D=0;D>1,I=!0;break;case 3:$+=S.length>>1,I=!0;break;case 4:G+=S.pop(),l(p,G),I=!0;break;case 5:for(;S.length>0;)p+=S.shift(),G+=S.shift(),b(p,G);break;case 6:for(;S.length>0&&(p+=S.shift(),b(p,G),S.length!==0);)G+=S.shift(),b(p,G);break;case 7:for(;S.length>0&&(G+=S.shift(),b(p,G),S.length!==0);)p+=S.shift(),b(p,G);break;case 8:for(;S.length>0;)Y=p+S.shift(),oe=G+S.shift(),Q=Y+S.shift(),ne=oe+S.shift(),p=Q+S.shift(),G=ne+S.shift(),R(Y,oe,Q,ne,p,G);break;case 10:if(k=S.pop(),O=null,E.isCFFCIDFont){const V=E.fdSelect.getFDIndex(o);if(V>=0&&VMath.abs(G-K)?p+=S.shift():G+=S.shift(),R(Y,oe,Q,ne,p,G);break;default:throw new n.FormatError(`unknown operator: 12 ${H}`)}break;case 14:if(S.length>=4){const V=S.pop(),K=S.pop();G=S.pop(),p=S.pop(),h.push({cmd:"save"},{cmd:"translate",args:[p,G]});let te=v(E.cmap,String.fromCharCode(E.glyphNameMap[e.StandardEncoding[V]]));F(E.glyphs[te.glyphId],h,E,te.glyphId),h.push({cmd:"restore"}),te=v(E.cmap,String.fromCharCode(E.glyphNameMap[e.StandardEncoding[K]])),F(E.glyphs[te.glyphId],h,E,te.glyphId)}return;case 18:$+=S.length>>1,I=!0;break;case 19:$+=S.length>>1,w+=$+7>>3,I=!0;break;case 20:$+=S.length>>1,w+=$+7>>3,I=!0;break;case 21:G+=S.pop(),p+=S.pop(),l(p,G),I=!0;break;case 22:p+=S.pop(),l(p,G),I=!0;break;case 23:$+=S.length>>1,I=!0;break;case 24:for(;S.length>2;)Y=p+S.shift(),oe=G+S.shift(),Q=Y+S.shift(),ne=oe+S.shift(),p=Q+S.shift(),G=ne+S.shift(),R(Y,oe,Q,ne,p,G);p+=S.shift(),G+=S.shift(),b(p,G);break;case 25:for(;S.length>6;)p+=S.shift(),G+=S.shift(),b(p,G);Y=p+S.shift(),oe=G+S.shift(),Q=Y+S.shift(),ne=oe+S.shift(),p=Q+S.shift(),G=ne+S.shift(),R(Y,oe,Q,ne,p,G);break;case 26:for(S.length%2&&(p+=S.shift());S.length>0;)Y=p,oe=G+S.shift(),Q=Y+S.shift(),ne=oe+S.shift(),p=Q,G=ne+S.shift(),R(Y,oe,Q,ne,p,G);break;case 27:for(S.length%2&&(G+=S.shift());S.length>0;)Y=p+S.shift(),oe=G,Q=Y+S.shift(),ne=oe+S.shift(),p=Q+S.shift(),G=ne,R(Y,oe,Q,ne,p,G);break;case 28:S.push((D[w]<<24|D[w+1]<<16)>>16),w+=2;break;case 29:k=S.pop()+E.gsubrsBias,O=E.gsubrs[k],O&&A(O);break;case 30:for(;S.length>0&&(Y=p,oe=G+S.shift(),Q=Y+S.shift(),ne=oe+S.shift(),p=Q+S.shift(),G=ne+(S.length===1?S.shift():0),R(Y,oe,Q,ne,p,G),S.length!==0);)Y=p+S.shift(),oe=G,Q=Y+S.shift(),ne=oe+S.shift(),G=ne+S.shift(),p=Q+(S.length===1?S.shift():0),R(Y,oe,Q,ne,p,G);break;case 31:for(;S.length>0&&(Y=p+S.shift(),oe=G,Q=Y+S.shift(),ne=oe+S.shift(),G=ne+S.shift(),p=Q+(S.length===1?S.shift():0),R(Y,oe,Q,ne,p,G),S.length!==0);)Y=p,oe=G+S.shift(),Q=Y+S.shift(),ne=oe+S.shift(),p=Q+S.shift(),G=ne+(S.length===1?S.shift():0),R(Y,oe,Q,ne,p,G);break;default:if(H<32)throw new n.FormatError(`unknown operator: ${H}`);H<247?S.push(H-139):H<251?S.push((H-247)*256+D[w++]+108):H<255?S.push(-(H-251)*256-D[w++]-108):(S.push((D[w]<<24|D[w+1]<<16|D[w+2]<<8|D[w+3])/65536),w+=4);break}I&&(S.length=0)}}A(c)}const B=[];class W{constructor(h){this.constructor===W&&(0,n.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=h,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}getPathJs(h){const{charCode:E,glyphId:o}=v(this.cmap,h);let l=this.compiledGlyphs[o];if(!l)try{l=this.compileGlyph(this.glyphs[o],o),this.compiledGlyphs[o]=l}catch(b){throw this.compiledGlyphs[o]=B,this.compiledCharCodeToGlyphId[E]===void 0&&(this.compiledCharCodeToGlyphId[E]=o),b}return this.compiledCharCodeToGlyphId[E]===void 0&&(this.compiledCharCodeToGlyphId[E]=o),l}compileGlyph(h,E){if(!h||h.length===0||h[0]===14)return B;let o=this.fontMatrix;if(this.isCFFCIDFont){const b=this.fdSelect.getFDIndex(E);b>=0&&b{Object.defineProperty(d,"__esModule",{value:!0}),d.getMetrics=d.getFontBasicMetrics=void 0;var n=i(150);const u=(0,n.getLookupTableFactory)(function(e){e.Courier=600,e["Courier-Bold"]=600,e["Courier-BoldOblique"]=600,e["Courier-Oblique"]=600,e.Helvetica=(0,n.getLookupTableFactory)(function(t){t.space=278,t.exclam=278,t.quotedbl=355,t.numbersign=556,t.dollar=556,t.percent=889,t.ampersand=667,t.quoteright=222,t.parenleft=333,t.parenright=333,t.asterisk=389,t.plus=584,t.comma=278,t.hyphen=333,t.period=278,t.slash=278,t.zero=556,t.one=556,t.two=556,t.three=556,t.four=556,t.five=556,t.six=556,t.seven=556,t.eight=556,t.nine=556,t.colon=278,t.semicolon=278,t.less=584,t.equal=584,t.greater=584,t.question=556,t.at=1015,t.A=667,t.B=667,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=722,t.I=278,t.J=500,t.K=667,t.L=556,t.M=833,t.N=722,t.O=778,t.P=667,t.Q=778,t.R=722,t.S=667,t.T=611,t.U=722,t.V=667,t.W=944,t.X=667,t.Y=667,t.Z=611,t.bracketleft=278,t.backslash=278,t.bracketright=278,t.asciicircum=469,t.underscore=556,t.quoteleft=222,t.a=556,t.b=556,t.c=500,t.d=556,t.e=556,t.f=278,t.g=556,t.h=556,t.i=222,t.j=222,t.k=500,t.l=222,t.m=833,t.n=556,t.o=556,t.p=556,t.q=556,t.r=333,t.s=500,t.t=278,t.u=556,t.v=500,t.w=722,t.x=500,t.y=500,t.z=500,t.braceleft=334,t.bar=260,t.braceright=334,t.asciitilde=584,t.exclamdown=333,t.cent=556,t.sterling=556,t.fraction=167,t.yen=556,t.florin=556,t.section=556,t.currency=556,t.quotesingle=191,t.quotedblleft=333,t.guillemotleft=556,t.guilsinglleft=333,t.guilsinglright=333,t.fi=500,t.fl=500,t.endash=556,t.dagger=556,t.daggerdbl=556,t.periodcentered=278,t.paragraph=537,t.bullet=350,t.quotesinglbase=222,t.quotedblbase=333,t.quotedblright=333,t.guillemotright=556,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=611,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=370,t.Lslash=556,t.Oslash=778,t.OE=1e3,t.ordmasculine=365,t.ae=889,t.dotlessi=278,t.lslash=222,t.oslash=611,t.oe=944,t.germandbls=611,t.Idieresis=278,t.eacute=556,t.abreve=556,t.uhungarumlaut=556,t.ecaron=556,t.Ydieresis=667,t.divide=584,t.Yacute=667,t.Acircumflex=667,t.aacute=556,t.Ucircumflex=722,t.yacute=500,t.scommaaccent=500,t.ecircumflex=556,t.Uring=722,t.Udieresis=722,t.aogonek=556,t.Uacute=722,t.uogonek=556,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=737,t.Emacron=667,t.ccaron=500,t.aring=556,t.Ncommaaccent=722,t.lacute=222,t.agrave=556,t.Tcommaaccent=611,t.Cacute=722,t.atilde=556,t.Edotaccent=667,t.scaron=500,t.scedilla=500,t.iacute=278,t.lozenge=471,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=556,t.acircumflex=556,t.Amacron=667,t.rcaron=333,t.ccedilla=500,t.Zdotaccent=611,t.Thorn=667,t.Omacron=778,t.Racute=722,t.Sacute=667,t.dcaron=643,t.Umacron=722,t.uring=556,t.threesuperior=333,t.Ograve=778,t.Agrave=667,t.Abreve=667,t.multiply=584,t.uacute=556,t.Tcaron=611,t.partialdiff=476,t.ydieresis=500,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=556,t.edieresis=556,t.cacute=500,t.nacute=556,t.umacron=556,t.Ncaron=722,t.Iacute=278,t.plusminus=584,t.brokenbar=260,t.registered=737,t.Gbreve=778,t.Idotaccent=278,t.summation=600,t.Egrave=667,t.racute=333,t.omacron=556,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=222,t.tcaron=317,t.eogonek=556,t.Uogonek=722,t.Aacute=667,t.Adieresis=667,t.egrave=556,t.zacute=500,t.iogonek=222,t.Oacute=778,t.oacute=556,t.amacron=556,t.sacute=500,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=556,t.twosuperior=333,t.Odieresis=778,t.mu=556,t.igrave=278,t.ohungarumlaut=556,t.Eogonek=667,t.dcroat=556,t.threequarters=834,t.Scedilla=667,t.lcaron=299,t.Kcommaaccent=667,t.Lacute=556,t.trademark=1e3,t.edotaccent=556,t.Igrave=278,t.Imacron=278,t.Lcaron=556,t.onehalf=834,t.lessequal=549,t.ocircumflex=556,t.ntilde=556,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=556,t.gbreve=556,t.onequarter=834,t.Scaron=667,t.Scommaaccent=667,t.Ohungarumlaut=778,t.degree=400,t.ograve=556,t.Ccaron=722,t.ugrave=556,t.radical=453,t.Dcaron=722,t.rcommaaccent=333,t.Ntilde=722,t.otilde=556,t.Rcommaaccent=722,t.Lcommaaccent=556,t.Atilde=667,t.Aogonek=667,t.Aring=667,t.Otilde=778,t.zdotaccent=500,t.Ecaron=667,t.Iogonek=278,t.kcommaaccent=500,t.minus=584,t.Icircumflex=278,t.ncaron=556,t.tcommaaccent=278,t.logicalnot=584,t.odieresis=556,t.udieresis=556,t.notequal=549,t.gcommaaccent=556,t.eth=556,t.zcaron=500,t.ncommaaccent=556,t.onesuperior=333,t.imacron=278,t.Euro=556}),e["Helvetica-Bold"]=(0,n.getLookupTableFactory)(function(t){t.space=278,t.exclam=333,t.quotedbl=474,t.numbersign=556,t.dollar=556,t.percent=889,t.ampersand=722,t.quoteright=278,t.parenleft=333,t.parenright=333,t.asterisk=389,t.plus=584,t.comma=278,t.hyphen=333,t.period=278,t.slash=278,t.zero=556,t.one=556,t.two=556,t.three=556,t.four=556,t.five=556,t.six=556,t.seven=556,t.eight=556,t.nine=556,t.colon=333,t.semicolon=333,t.less=584,t.equal=584,t.greater=584,t.question=611,t.at=975,t.A=722,t.B=722,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=722,t.I=278,t.J=556,t.K=722,t.L=611,t.M=833,t.N=722,t.O=778,t.P=667,t.Q=778,t.R=722,t.S=667,t.T=611,t.U=722,t.V=667,t.W=944,t.X=667,t.Y=667,t.Z=611,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=584,t.underscore=556,t.quoteleft=278,t.a=556,t.b=611,t.c=556,t.d=611,t.e=556,t.f=333,t.g=611,t.h=611,t.i=278,t.j=278,t.k=556,t.l=278,t.m=889,t.n=611,t.o=611,t.p=611,t.q=611,t.r=389,t.s=556,t.t=333,t.u=611,t.v=556,t.w=778,t.x=556,t.y=556,t.z=500,t.braceleft=389,t.bar=280,t.braceright=389,t.asciitilde=584,t.exclamdown=333,t.cent=556,t.sterling=556,t.fraction=167,t.yen=556,t.florin=556,t.section=556,t.currency=556,t.quotesingle=238,t.quotedblleft=500,t.guillemotleft=556,t.guilsinglleft=333,t.guilsinglright=333,t.fi=611,t.fl=611,t.endash=556,t.dagger=556,t.daggerdbl=556,t.periodcentered=278,t.paragraph=556,t.bullet=350,t.quotesinglbase=278,t.quotedblbase=500,t.quotedblright=500,t.guillemotright=556,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=611,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=370,t.Lslash=611,t.Oslash=778,t.OE=1e3,t.ordmasculine=365,t.ae=889,t.dotlessi=278,t.lslash=278,t.oslash=611,t.oe=944,t.germandbls=611,t.Idieresis=278,t.eacute=556,t.abreve=556,t.uhungarumlaut=611,t.ecaron=556,t.Ydieresis=667,t.divide=584,t.Yacute=667,t.Acircumflex=722,t.aacute=556,t.Ucircumflex=722,t.yacute=556,t.scommaaccent=556,t.ecircumflex=556,t.Uring=722,t.Udieresis=722,t.aogonek=556,t.Uacute=722,t.uogonek=611,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=737,t.Emacron=667,t.ccaron=556,t.aring=556,t.Ncommaaccent=722,t.lacute=278,t.agrave=556,t.Tcommaaccent=611,t.Cacute=722,t.atilde=556,t.Edotaccent=667,t.scaron=556,t.scedilla=556,t.iacute=278,t.lozenge=494,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=611,t.acircumflex=556,t.Amacron=722,t.rcaron=389,t.ccedilla=556,t.Zdotaccent=611,t.Thorn=667,t.Omacron=778,t.Racute=722,t.Sacute=667,t.dcaron=743,t.Umacron=722,t.uring=611,t.threesuperior=333,t.Ograve=778,t.Agrave=722,t.Abreve=722,t.multiply=584,t.uacute=611,t.Tcaron=611,t.partialdiff=494,t.ydieresis=556,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=556,t.edieresis=556,t.cacute=556,t.nacute=611,t.umacron=611,t.Ncaron=722,t.Iacute=278,t.plusminus=584,t.brokenbar=280,t.registered=737,t.Gbreve=778,t.Idotaccent=278,t.summation=600,t.Egrave=667,t.racute=389,t.omacron=611,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=278,t.tcaron=389,t.eogonek=556,t.Uogonek=722,t.Aacute=722,t.Adieresis=722,t.egrave=556,t.zacute=500,t.iogonek=278,t.Oacute=778,t.oacute=611,t.amacron=556,t.sacute=556,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=611,t.twosuperior=333,t.Odieresis=778,t.mu=611,t.igrave=278,t.ohungarumlaut=611,t.Eogonek=667,t.dcroat=611,t.threequarters=834,t.Scedilla=667,t.lcaron=400,t.Kcommaaccent=722,t.Lacute=611,t.trademark=1e3,t.edotaccent=556,t.Igrave=278,t.Imacron=278,t.Lcaron=611,t.onehalf=834,t.lessequal=549,t.ocircumflex=611,t.ntilde=611,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=556,t.gbreve=611,t.onequarter=834,t.Scaron=667,t.Scommaaccent=667,t.Ohungarumlaut=778,t.degree=400,t.ograve=611,t.Ccaron=722,t.ugrave=611,t.radical=549,t.Dcaron=722,t.rcommaaccent=389,t.Ntilde=722,t.otilde=611,t.Rcommaaccent=722,t.Lcommaaccent=611,t.Atilde=722,t.Aogonek=722,t.Aring=722,t.Otilde=778,t.zdotaccent=500,t.Ecaron=667,t.Iogonek=278,t.kcommaaccent=556,t.minus=584,t.Icircumflex=278,t.ncaron=611,t.tcommaaccent=333,t.logicalnot=584,t.odieresis=611,t.udieresis=611,t.notequal=549,t.gcommaaccent=611,t.eth=611,t.zcaron=500,t.ncommaaccent=611,t.onesuperior=333,t.imacron=278,t.Euro=556}),e["Helvetica-BoldOblique"]=(0,n.getLookupTableFactory)(function(t){t.space=278,t.exclam=333,t.quotedbl=474,t.numbersign=556,t.dollar=556,t.percent=889,t.ampersand=722,t.quoteright=278,t.parenleft=333,t.parenright=333,t.asterisk=389,t.plus=584,t.comma=278,t.hyphen=333,t.period=278,t.slash=278,t.zero=556,t.one=556,t.two=556,t.three=556,t.four=556,t.five=556,t.six=556,t.seven=556,t.eight=556,t.nine=556,t.colon=333,t.semicolon=333,t.less=584,t.equal=584,t.greater=584,t.question=611,t.at=975,t.A=722,t.B=722,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=722,t.I=278,t.J=556,t.K=722,t.L=611,t.M=833,t.N=722,t.O=778,t.P=667,t.Q=778,t.R=722,t.S=667,t.T=611,t.U=722,t.V=667,t.W=944,t.X=667,t.Y=667,t.Z=611,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=584,t.underscore=556,t.quoteleft=278,t.a=556,t.b=611,t.c=556,t.d=611,t.e=556,t.f=333,t.g=611,t.h=611,t.i=278,t.j=278,t.k=556,t.l=278,t.m=889,t.n=611,t.o=611,t.p=611,t.q=611,t.r=389,t.s=556,t.t=333,t.u=611,t.v=556,t.w=778,t.x=556,t.y=556,t.z=500,t.braceleft=389,t.bar=280,t.braceright=389,t.asciitilde=584,t.exclamdown=333,t.cent=556,t.sterling=556,t.fraction=167,t.yen=556,t.florin=556,t.section=556,t.currency=556,t.quotesingle=238,t.quotedblleft=500,t.guillemotleft=556,t.guilsinglleft=333,t.guilsinglright=333,t.fi=611,t.fl=611,t.endash=556,t.dagger=556,t.daggerdbl=556,t.periodcentered=278,t.paragraph=556,t.bullet=350,t.quotesinglbase=278,t.quotedblbase=500,t.quotedblright=500,t.guillemotright=556,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=611,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=370,t.Lslash=611,t.Oslash=778,t.OE=1e3,t.ordmasculine=365,t.ae=889,t.dotlessi=278,t.lslash=278,t.oslash=611,t.oe=944,t.germandbls=611,t.Idieresis=278,t.eacute=556,t.abreve=556,t.uhungarumlaut=611,t.ecaron=556,t.Ydieresis=667,t.divide=584,t.Yacute=667,t.Acircumflex=722,t.aacute=556,t.Ucircumflex=722,t.yacute=556,t.scommaaccent=556,t.ecircumflex=556,t.Uring=722,t.Udieresis=722,t.aogonek=556,t.Uacute=722,t.uogonek=611,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=737,t.Emacron=667,t.ccaron=556,t.aring=556,t.Ncommaaccent=722,t.lacute=278,t.agrave=556,t.Tcommaaccent=611,t.Cacute=722,t.atilde=556,t.Edotaccent=667,t.scaron=556,t.scedilla=556,t.iacute=278,t.lozenge=494,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=611,t.acircumflex=556,t.Amacron=722,t.rcaron=389,t.ccedilla=556,t.Zdotaccent=611,t.Thorn=667,t.Omacron=778,t.Racute=722,t.Sacute=667,t.dcaron=743,t.Umacron=722,t.uring=611,t.threesuperior=333,t.Ograve=778,t.Agrave=722,t.Abreve=722,t.multiply=584,t.uacute=611,t.Tcaron=611,t.partialdiff=494,t.ydieresis=556,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=556,t.edieresis=556,t.cacute=556,t.nacute=611,t.umacron=611,t.Ncaron=722,t.Iacute=278,t.plusminus=584,t.brokenbar=280,t.registered=737,t.Gbreve=778,t.Idotaccent=278,t.summation=600,t.Egrave=667,t.racute=389,t.omacron=611,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=278,t.tcaron=389,t.eogonek=556,t.Uogonek=722,t.Aacute=722,t.Adieresis=722,t.egrave=556,t.zacute=500,t.iogonek=278,t.Oacute=778,t.oacute=611,t.amacron=556,t.sacute=556,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=611,t.twosuperior=333,t.Odieresis=778,t.mu=611,t.igrave=278,t.ohungarumlaut=611,t.Eogonek=667,t.dcroat=611,t.threequarters=834,t.Scedilla=667,t.lcaron=400,t.Kcommaaccent=722,t.Lacute=611,t.trademark=1e3,t.edotaccent=556,t.Igrave=278,t.Imacron=278,t.Lcaron=611,t.onehalf=834,t.lessequal=549,t.ocircumflex=611,t.ntilde=611,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=556,t.gbreve=611,t.onequarter=834,t.Scaron=667,t.Scommaaccent=667,t.Ohungarumlaut=778,t.degree=400,t.ograve=611,t.Ccaron=722,t.ugrave=611,t.radical=549,t.Dcaron=722,t.rcommaaccent=389,t.Ntilde=722,t.otilde=611,t.Rcommaaccent=722,t.Lcommaaccent=611,t.Atilde=722,t.Aogonek=722,t.Aring=722,t.Otilde=778,t.zdotaccent=500,t.Ecaron=667,t.Iogonek=278,t.kcommaaccent=556,t.minus=584,t.Icircumflex=278,t.ncaron=611,t.tcommaaccent=333,t.logicalnot=584,t.odieresis=611,t.udieresis=611,t.notequal=549,t.gcommaaccent=611,t.eth=611,t.zcaron=500,t.ncommaaccent=611,t.onesuperior=333,t.imacron=278,t.Euro=556}),e["Helvetica-Oblique"]=(0,n.getLookupTableFactory)(function(t){t.space=278,t.exclam=278,t.quotedbl=355,t.numbersign=556,t.dollar=556,t.percent=889,t.ampersand=667,t.quoteright=222,t.parenleft=333,t.parenright=333,t.asterisk=389,t.plus=584,t.comma=278,t.hyphen=333,t.period=278,t.slash=278,t.zero=556,t.one=556,t.two=556,t.three=556,t.four=556,t.five=556,t.six=556,t.seven=556,t.eight=556,t.nine=556,t.colon=278,t.semicolon=278,t.less=584,t.equal=584,t.greater=584,t.question=556,t.at=1015,t.A=667,t.B=667,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=722,t.I=278,t.J=500,t.K=667,t.L=556,t.M=833,t.N=722,t.O=778,t.P=667,t.Q=778,t.R=722,t.S=667,t.T=611,t.U=722,t.V=667,t.W=944,t.X=667,t.Y=667,t.Z=611,t.bracketleft=278,t.backslash=278,t.bracketright=278,t.asciicircum=469,t.underscore=556,t.quoteleft=222,t.a=556,t.b=556,t.c=500,t.d=556,t.e=556,t.f=278,t.g=556,t.h=556,t.i=222,t.j=222,t.k=500,t.l=222,t.m=833,t.n=556,t.o=556,t.p=556,t.q=556,t.r=333,t.s=500,t.t=278,t.u=556,t.v=500,t.w=722,t.x=500,t.y=500,t.z=500,t.braceleft=334,t.bar=260,t.braceright=334,t.asciitilde=584,t.exclamdown=333,t.cent=556,t.sterling=556,t.fraction=167,t.yen=556,t.florin=556,t.section=556,t.currency=556,t.quotesingle=191,t.quotedblleft=333,t.guillemotleft=556,t.guilsinglleft=333,t.guilsinglright=333,t.fi=500,t.fl=500,t.endash=556,t.dagger=556,t.daggerdbl=556,t.periodcentered=278,t.paragraph=537,t.bullet=350,t.quotesinglbase=222,t.quotedblbase=333,t.quotedblright=333,t.guillemotright=556,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=611,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=370,t.Lslash=556,t.Oslash=778,t.OE=1e3,t.ordmasculine=365,t.ae=889,t.dotlessi=278,t.lslash=222,t.oslash=611,t.oe=944,t.germandbls=611,t.Idieresis=278,t.eacute=556,t.abreve=556,t.uhungarumlaut=556,t.ecaron=556,t.Ydieresis=667,t.divide=584,t.Yacute=667,t.Acircumflex=667,t.aacute=556,t.Ucircumflex=722,t.yacute=500,t.scommaaccent=500,t.ecircumflex=556,t.Uring=722,t.Udieresis=722,t.aogonek=556,t.Uacute=722,t.uogonek=556,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=737,t.Emacron=667,t.ccaron=500,t.aring=556,t.Ncommaaccent=722,t.lacute=222,t.agrave=556,t.Tcommaaccent=611,t.Cacute=722,t.atilde=556,t.Edotaccent=667,t.scaron=500,t.scedilla=500,t.iacute=278,t.lozenge=471,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=556,t.acircumflex=556,t.Amacron=667,t.rcaron=333,t.ccedilla=500,t.Zdotaccent=611,t.Thorn=667,t.Omacron=778,t.Racute=722,t.Sacute=667,t.dcaron=643,t.Umacron=722,t.uring=556,t.threesuperior=333,t.Ograve=778,t.Agrave=667,t.Abreve=667,t.multiply=584,t.uacute=556,t.Tcaron=611,t.partialdiff=476,t.ydieresis=500,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=556,t.edieresis=556,t.cacute=500,t.nacute=556,t.umacron=556,t.Ncaron=722,t.Iacute=278,t.plusminus=584,t.brokenbar=260,t.registered=737,t.Gbreve=778,t.Idotaccent=278,t.summation=600,t.Egrave=667,t.racute=333,t.omacron=556,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=222,t.tcaron=317,t.eogonek=556,t.Uogonek=722,t.Aacute=667,t.Adieresis=667,t.egrave=556,t.zacute=500,t.iogonek=222,t.Oacute=778,t.oacute=556,t.amacron=556,t.sacute=500,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=556,t.twosuperior=333,t.Odieresis=778,t.mu=556,t.igrave=278,t.ohungarumlaut=556,t.Eogonek=667,t.dcroat=556,t.threequarters=834,t.Scedilla=667,t.lcaron=299,t.Kcommaaccent=667,t.Lacute=556,t.trademark=1e3,t.edotaccent=556,t.Igrave=278,t.Imacron=278,t.Lcaron=556,t.onehalf=834,t.lessequal=549,t.ocircumflex=556,t.ntilde=556,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=556,t.gbreve=556,t.onequarter=834,t.Scaron=667,t.Scommaaccent=667,t.Ohungarumlaut=778,t.degree=400,t.ograve=556,t.Ccaron=722,t.ugrave=556,t.radical=453,t.Dcaron=722,t.rcommaaccent=333,t.Ntilde=722,t.otilde=556,t.Rcommaaccent=722,t.Lcommaaccent=556,t.Atilde=667,t.Aogonek=667,t.Aring=667,t.Otilde=778,t.zdotaccent=500,t.Ecaron=667,t.Iogonek=278,t.kcommaaccent=500,t.minus=584,t.Icircumflex=278,t.ncaron=556,t.tcommaaccent=278,t.logicalnot=584,t.odieresis=556,t.udieresis=556,t.notequal=549,t.gcommaaccent=556,t.eth=556,t.zcaron=500,t.ncommaaccent=556,t.onesuperior=333,t.imacron=278,t.Euro=556}),e.Symbol=(0,n.getLookupTableFactory)(function(t){t.space=250,t.exclam=333,t.universal=713,t.numbersign=500,t.existential=549,t.percent=833,t.ampersand=778,t.suchthat=439,t.parenleft=333,t.parenright=333,t.asteriskmath=500,t.plus=549,t.comma=250,t.minus=549,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=278,t.semicolon=278,t.less=549,t.equal=549,t.greater=549,t.question=444,t.congruent=549,t.Alpha=722,t.Beta=667,t.Chi=722,t.Delta=612,t.Epsilon=611,t.Phi=763,t.Gamma=603,t.Eta=722,t.Iota=333,t.theta1=631,t.Kappa=722,t.Lambda=686,t.Mu=889,t.Nu=722,t.Omicron=722,t.Pi=768,t.Theta=741,t.Rho=556,t.Sigma=592,t.Tau=611,t.Upsilon=690,t.sigma1=439,t.Omega=768,t.Xi=645,t.Psi=795,t.Zeta=611,t.bracketleft=333,t.therefore=863,t.bracketright=333,t.perpendicular=658,t.underscore=500,t.radicalex=500,t.alpha=631,t.beta=549,t.chi=549,t.delta=494,t.epsilon=439,t.phi=521,t.gamma=411,t.eta=603,t.iota=329,t.phi1=603,t.kappa=549,t.lambda=549,t.mu=576,t.nu=521,t.omicron=549,t.pi=549,t.theta=521,t.rho=549,t.sigma=603,t.tau=439,t.upsilon=576,t.omega1=713,t.omega=686,t.xi=493,t.psi=686,t.zeta=494,t.braceleft=480,t.bar=200,t.braceright=480,t.similar=549,t.Euro=750,t.Upsilon1=620,t.minute=247,t.lessequal=549,t.fraction=167,t.infinity=713,t.florin=500,t.club=753,t.diamond=753,t.heart=753,t.spade=753,t.arrowboth=1042,t.arrowleft=987,t.arrowup=603,t.arrowright=987,t.arrowdown=603,t.degree=400,t.plusminus=549,t.second=411,t.greaterequal=549,t.multiply=549,t.proportional=713,t.partialdiff=494,t.bullet=460,t.divide=549,t.notequal=549,t.equivalence=549,t.approxequal=549,t.ellipsis=1e3,t.arrowvertex=603,t.arrowhorizex=1e3,t.carriagereturn=658,t.aleph=823,t.Ifraktur=686,t.Rfraktur=795,t.weierstrass=987,t.circlemultiply=768,t.circleplus=768,t.emptyset=823,t.intersection=768,t.union=768,t.propersuperset=713,t.reflexsuperset=713,t.notsubset=713,t.propersubset=713,t.reflexsubset=713,t.element=713,t.notelement=713,t.angle=768,t.gradient=713,t.registerserif=790,t.copyrightserif=790,t.trademarkserif=890,t.product=823,t.radical=549,t.dotmath=250,t.logicalnot=713,t.logicaland=603,t.logicalor=603,t.arrowdblboth=1042,t.arrowdblleft=987,t.arrowdblup=603,t.arrowdblright=987,t.arrowdbldown=603,t.lozenge=494,t.angleleft=329,t.registersans=790,t.copyrightsans=790,t.trademarksans=786,t.summation=713,t.parenlefttp=384,t.parenleftex=384,t.parenleftbt=384,t.bracketlefttp=384,t.bracketleftex=384,t.bracketleftbt=384,t.bracelefttp=494,t.braceleftmid=494,t.braceleftbt=494,t.braceex=494,t.angleright=329,t.integral=274,t.integraltp=686,t.integralex=686,t.integralbt=686,t.parenrighttp=384,t.parenrightex=384,t.parenrightbt=384,t.bracketrighttp=384,t.bracketrightex=384,t.bracketrightbt=384,t.bracerighttp=494,t.bracerightmid=494,t.bracerightbt=494,t.apple=790}),e["Times-Roman"]=(0,n.getLookupTableFactory)(function(t){t.space=250,t.exclam=333,t.quotedbl=408,t.numbersign=500,t.dollar=500,t.percent=833,t.ampersand=778,t.quoteright=333,t.parenleft=333,t.parenright=333,t.asterisk=500,t.plus=564,t.comma=250,t.hyphen=333,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=278,t.semicolon=278,t.less=564,t.equal=564,t.greater=564,t.question=444,t.at=921,t.A=722,t.B=667,t.C=667,t.D=722,t.E=611,t.F=556,t.G=722,t.H=722,t.I=333,t.J=389,t.K=722,t.L=611,t.M=889,t.N=722,t.O=722,t.P=556,t.Q=722,t.R=667,t.S=556,t.T=611,t.U=722,t.V=722,t.W=944,t.X=722,t.Y=722,t.Z=611,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=469,t.underscore=500,t.quoteleft=333,t.a=444,t.b=500,t.c=444,t.d=500,t.e=444,t.f=333,t.g=500,t.h=500,t.i=278,t.j=278,t.k=500,t.l=278,t.m=778,t.n=500,t.o=500,t.p=500,t.q=500,t.r=333,t.s=389,t.t=278,t.u=500,t.v=500,t.w=722,t.x=500,t.y=500,t.z=444,t.braceleft=480,t.bar=200,t.braceright=480,t.asciitilde=541,t.exclamdown=333,t.cent=500,t.sterling=500,t.fraction=167,t.yen=500,t.florin=500,t.section=500,t.currency=500,t.quotesingle=180,t.quotedblleft=444,t.guillemotleft=500,t.guilsinglleft=333,t.guilsinglright=333,t.fi=556,t.fl=556,t.endash=500,t.dagger=500,t.daggerdbl=500,t.periodcentered=250,t.paragraph=453,t.bullet=350,t.quotesinglbase=333,t.quotedblbase=444,t.quotedblright=444,t.guillemotright=500,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=444,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=889,t.ordfeminine=276,t.Lslash=611,t.Oslash=722,t.OE=889,t.ordmasculine=310,t.ae=667,t.dotlessi=278,t.lslash=278,t.oslash=500,t.oe=722,t.germandbls=500,t.Idieresis=333,t.eacute=444,t.abreve=444,t.uhungarumlaut=500,t.ecaron=444,t.Ydieresis=722,t.divide=564,t.Yacute=722,t.Acircumflex=722,t.aacute=444,t.Ucircumflex=722,t.yacute=500,t.scommaaccent=389,t.ecircumflex=444,t.Uring=722,t.Udieresis=722,t.aogonek=444,t.Uacute=722,t.uogonek=500,t.Edieresis=611,t.Dcroat=722,t.commaaccent=250,t.copyright=760,t.Emacron=611,t.ccaron=444,t.aring=444,t.Ncommaaccent=722,t.lacute=278,t.agrave=444,t.Tcommaaccent=611,t.Cacute=667,t.atilde=444,t.Edotaccent=611,t.scaron=389,t.scedilla=389,t.iacute=278,t.lozenge=471,t.Rcaron=667,t.Gcommaaccent=722,t.ucircumflex=500,t.acircumflex=444,t.Amacron=722,t.rcaron=333,t.ccedilla=444,t.Zdotaccent=611,t.Thorn=556,t.Omacron=722,t.Racute=667,t.Sacute=556,t.dcaron=588,t.Umacron=722,t.uring=500,t.threesuperior=300,t.Ograve=722,t.Agrave=722,t.Abreve=722,t.multiply=564,t.uacute=500,t.Tcaron=611,t.partialdiff=476,t.ydieresis=500,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=611,t.adieresis=444,t.edieresis=444,t.cacute=444,t.nacute=500,t.umacron=500,t.Ncaron=722,t.Iacute=333,t.plusminus=564,t.brokenbar=200,t.registered=760,t.Gbreve=722,t.Idotaccent=333,t.summation=600,t.Egrave=611,t.racute=333,t.omacron=500,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=667,t.lcommaaccent=278,t.tcaron=326,t.eogonek=444,t.Uogonek=722,t.Aacute=722,t.Adieresis=722,t.egrave=444,t.zacute=444,t.iogonek=278,t.Oacute=722,t.oacute=500,t.amacron=444,t.sacute=389,t.idieresis=278,t.Ocircumflex=722,t.Ugrave=722,t.Delta=612,t.thorn=500,t.twosuperior=300,t.Odieresis=722,t.mu=500,t.igrave=278,t.ohungarumlaut=500,t.Eogonek=611,t.dcroat=500,t.threequarters=750,t.Scedilla=556,t.lcaron=344,t.Kcommaaccent=722,t.Lacute=611,t.trademark=980,t.edotaccent=444,t.Igrave=333,t.Imacron=333,t.Lcaron=611,t.onehalf=750,t.lessequal=549,t.ocircumflex=500,t.ntilde=500,t.Uhungarumlaut=722,t.Eacute=611,t.emacron=444,t.gbreve=500,t.onequarter=750,t.Scaron=556,t.Scommaaccent=556,t.Ohungarumlaut=722,t.degree=400,t.ograve=500,t.Ccaron=667,t.ugrave=500,t.radical=453,t.Dcaron=722,t.rcommaaccent=333,t.Ntilde=722,t.otilde=500,t.Rcommaaccent=667,t.Lcommaaccent=611,t.Atilde=722,t.Aogonek=722,t.Aring=722,t.Otilde=722,t.zdotaccent=444,t.Ecaron=611,t.Iogonek=333,t.kcommaaccent=500,t.minus=564,t.Icircumflex=333,t.ncaron=500,t.tcommaaccent=278,t.logicalnot=564,t.odieresis=500,t.udieresis=500,t.notequal=549,t.gcommaaccent=500,t.eth=500,t.zcaron=444,t.ncommaaccent=500,t.onesuperior=300,t.imacron=278,t.Euro=500}),e["Times-Bold"]=(0,n.getLookupTableFactory)(function(t){t.space=250,t.exclam=333,t.quotedbl=555,t.numbersign=500,t.dollar=500,t.percent=1e3,t.ampersand=833,t.quoteright=333,t.parenleft=333,t.parenright=333,t.asterisk=500,t.plus=570,t.comma=250,t.hyphen=333,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=333,t.semicolon=333,t.less=570,t.equal=570,t.greater=570,t.question=500,t.at=930,t.A=722,t.B=667,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=778,t.I=389,t.J=500,t.K=778,t.L=667,t.M=944,t.N=722,t.O=778,t.P=611,t.Q=778,t.R=722,t.S=556,t.T=667,t.U=722,t.V=722,t.W=1e3,t.X=722,t.Y=722,t.Z=667,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=581,t.underscore=500,t.quoteleft=333,t.a=500,t.b=556,t.c=444,t.d=556,t.e=444,t.f=333,t.g=500,t.h=556,t.i=278,t.j=333,t.k=556,t.l=278,t.m=833,t.n=556,t.o=500,t.p=556,t.q=556,t.r=444,t.s=389,t.t=333,t.u=556,t.v=500,t.w=722,t.x=500,t.y=500,t.z=444,t.braceleft=394,t.bar=220,t.braceright=394,t.asciitilde=520,t.exclamdown=333,t.cent=500,t.sterling=500,t.fraction=167,t.yen=500,t.florin=500,t.section=500,t.currency=500,t.quotesingle=278,t.quotedblleft=500,t.guillemotleft=500,t.guilsinglleft=333,t.guilsinglright=333,t.fi=556,t.fl=556,t.endash=500,t.dagger=500,t.daggerdbl=500,t.periodcentered=250,t.paragraph=540,t.bullet=350,t.quotesinglbase=333,t.quotedblbase=500,t.quotedblright=500,t.guillemotright=500,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=500,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=300,t.Lslash=667,t.Oslash=778,t.OE=1e3,t.ordmasculine=330,t.ae=722,t.dotlessi=278,t.lslash=278,t.oslash=500,t.oe=722,t.germandbls=556,t.Idieresis=389,t.eacute=444,t.abreve=500,t.uhungarumlaut=556,t.ecaron=444,t.Ydieresis=722,t.divide=570,t.Yacute=722,t.Acircumflex=722,t.aacute=500,t.Ucircumflex=722,t.yacute=500,t.scommaaccent=389,t.ecircumflex=444,t.Uring=722,t.Udieresis=722,t.aogonek=500,t.Uacute=722,t.uogonek=556,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=747,t.Emacron=667,t.ccaron=444,t.aring=500,t.Ncommaaccent=722,t.lacute=278,t.agrave=500,t.Tcommaaccent=667,t.Cacute=722,t.atilde=500,t.Edotaccent=667,t.scaron=389,t.scedilla=389,t.iacute=278,t.lozenge=494,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=556,t.acircumflex=500,t.Amacron=722,t.rcaron=444,t.ccedilla=444,t.Zdotaccent=667,t.Thorn=611,t.Omacron=778,t.Racute=722,t.Sacute=556,t.dcaron=672,t.Umacron=722,t.uring=556,t.threesuperior=300,t.Ograve=778,t.Agrave=722,t.Abreve=722,t.multiply=570,t.uacute=556,t.Tcaron=667,t.partialdiff=494,t.ydieresis=500,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=500,t.edieresis=444,t.cacute=444,t.nacute=556,t.umacron=556,t.Ncaron=722,t.Iacute=389,t.plusminus=570,t.brokenbar=220,t.registered=747,t.Gbreve=778,t.Idotaccent=389,t.summation=600,t.Egrave=667,t.racute=444,t.omacron=500,t.Zacute=667,t.Zcaron=667,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=278,t.tcaron=416,t.eogonek=444,t.Uogonek=722,t.Aacute=722,t.Adieresis=722,t.egrave=444,t.zacute=444,t.iogonek=278,t.Oacute=778,t.oacute=500,t.amacron=500,t.sacute=389,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=556,t.twosuperior=300,t.Odieresis=778,t.mu=556,t.igrave=278,t.ohungarumlaut=500,t.Eogonek=667,t.dcroat=556,t.threequarters=750,t.Scedilla=556,t.lcaron=394,t.Kcommaaccent=778,t.Lacute=667,t.trademark=1e3,t.edotaccent=444,t.Igrave=389,t.Imacron=389,t.Lcaron=667,t.onehalf=750,t.lessequal=549,t.ocircumflex=500,t.ntilde=556,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=444,t.gbreve=500,t.onequarter=750,t.Scaron=556,t.Scommaaccent=556,t.Ohungarumlaut=778,t.degree=400,t.ograve=500,t.Ccaron=722,t.ugrave=556,t.radical=549,t.Dcaron=722,t.rcommaaccent=444,t.Ntilde=722,t.otilde=500,t.Rcommaaccent=722,t.Lcommaaccent=667,t.Atilde=722,t.Aogonek=722,t.Aring=722,t.Otilde=778,t.zdotaccent=444,t.Ecaron=667,t.Iogonek=389,t.kcommaaccent=556,t.minus=570,t.Icircumflex=389,t.ncaron=556,t.tcommaaccent=333,t.logicalnot=570,t.odieresis=500,t.udieresis=556,t.notequal=549,t.gcommaaccent=500,t.eth=500,t.zcaron=444,t.ncommaaccent=556,t.onesuperior=300,t.imacron=278,t.Euro=500}),e["Times-BoldItalic"]=(0,n.getLookupTableFactory)(function(t){t.space=250,t.exclam=389,t.quotedbl=555,t.numbersign=500,t.dollar=500,t.percent=833,t.ampersand=778,t.quoteright=333,t.parenleft=333,t.parenright=333,t.asterisk=500,t.plus=570,t.comma=250,t.hyphen=333,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=333,t.semicolon=333,t.less=570,t.equal=570,t.greater=570,t.question=500,t.at=832,t.A=667,t.B=667,t.C=667,t.D=722,t.E=667,t.F=667,t.G=722,t.H=778,t.I=389,t.J=500,t.K=667,t.L=611,t.M=889,t.N=722,t.O=722,t.P=611,t.Q=722,t.R=667,t.S=556,t.T=611,t.U=722,t.V=667,t.W=889,t.X=667,t.Y=611,t.Z=611,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=570,t.underscore=500,t.quoteleft=333,t.a=500,t.b=500,t.c=444,t.d=500,t.e=444,t.f=333,t.g=500,t.h=556,t.i=278,t.j=278,t.k=500,t.l=278,t.m=778,t.n=556,t.o=500,t.p=500,t.q=500,t.r=389,t.s=389,t.t=278,t.u=556,t.v=444,t.w=667,t.x=500,t.y=444,t.z=389,t.braceleft=348,t.bar=220,t.braceright=348,t.asciitilde=570,t.exclamdown=389,t.cent=500,t.sterling=500,t.fraction=167,t.yen=500,t.florin=500,t.section=500,t.currency=500,t.quotesingle=278,t.quotedblleft=500,t.guillemotleft=500,t.guilsinglleft=333,t.guilsinglright=333,t.fi=556,t.fl=556,t.endash=500,t.dagger=500,t.daggerdbl=500,t.periodcentered=250,t.paragraph=500,t.bullet=350,t.quotesinglbase=333,t.quotedblbase=500,t.quotedblright=500,t.guillemotright=500,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=500,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=944,t.ordfeminine=266,t.Lslash=611,t.Oslash=722,t.OE=944,t.ordmasculine=300,t.ae=722,t.dotlessi=278,t.lslash=278,t.oslash=500,t.oe=722,t.germandbls=500,t.Idieresis=389,t.eacute=444,t.abreve=500,t.uhungarumlaut=556,t.ecaron=444,t.Ydieresis=611,t.divide=570,t.Yacute=611,t.Acircumflex=667,t.aacute=500,t.Ucircumflex=722,t.yacute=444,t.scommaaccent=389,t.ecircumflex=444,t.Uring=722,t.Udieresis=722,t.aogonek=500,t.Uacute=722,t.uogonek=556,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=747,t.Emacron=667,t.ccaron=444,t.aring=500,t.Ncommaaccent=722,t.lacute=278,t.agrave=500,t.Tcommaaccent=611,t.Cacute=667,t.atilde=500,t.Edotaccent=667,t.scaron=389,t.scedilla=389,t.iacute=278,t.lozenge=494,t.Rcaron=667,t.Gcommaaccent=722,t.ucircumflex=556,t.acircumflex=500,t.Amacron=667,t.rcaron=389,t.ccedilla=444,t.Zdotaccent=611,t.Thorn=611,t.Omacron=722,t.Racute=667,t.Sacute=556,t.dcaron=608,t.Umacron=722,t.uring=556,t.threesuperior=300,t.Ograve=722,t.Agrave=667,t.Abreve=667,t.multiply=570,t.uacute=556,t.Tcaron=611,t.partialdiff=494,t.ydieresis=444,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=500,t.edieresis=444,t.cacute=444,t.nacute=556,t.umacron=556,t.Ncaron=722,t.Iacute=389,t.plusminus=570,t.brokenbar=220,t.registered=747,t.Gbreve=722,t.Idotaccent=389,t.summation=600,t.Egrave=667,t.racute=389,t.omacron=500,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=667,t.lcommaaccent=278,t.tcaron=366,t.eogonek=444,t.Uogonek=722,t.Aacute=667,t.Adieresis=667,t.egrave=444,t.zacute=389,t.iogonek=278,t.Oacute=722,t.oacute=500,t.amacron=500,t.sacute=389,t.idieresis=278,t.Ocircumflex=722,t.Ugrave=722,t.Delta=612,t.thorn=500,t.twosuperior=300,t.Odieresis=722,t.mu=576,t.igrave=278,t.ohungarumlaut=500,t.Eogonek=667,t.dcroat=500,t.threequarters=750,t.Scedilla=556,t.lcaron=382,t.Kcommaaccent=667,t.Lacute=611,t.trademark=1e3,t.edotaccent=444,t.Igrave=389,t.Imacron=389,t.Lcaron=611,t.onehalf=750,t.lessequal=549,t.ocircumflex=500,t.ntilde=556,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=444,t.gbreve=500,t.onequarter=750,t.Scaron=556,t.Scommaaccent=556,t.Ohungarumlaut=722,t.degree=400,t.ograve=500,t.Ccaron=667,t.ugrave=556,t.radical=549,t.Dcaron=722,t.rcommaaccent=389,t.Ntilde=722,t.otilde=500,t.Rcommaaccent=667,t.Lcommaaccent=611,t.Atilde=667,t.Aogonek=667,t.Aring=667,t.Otilde=722,t.zdotaccent=389,t.Ecaron=667,t.Iogonek=389,t.kcommaaccent=500,t.minus=606,t.Icircumflex=389,t.ncaron=556,t.tcommaaccent=278,t.logicalnot=606,t.odieresis=500,t.udieresis=556,t.notequal=549,t.gcommaaccent=500,t.eth=500,t.zcaron=389,t.ncommaaccent=556,t.onesuperior=300,t.imacron=278,t.Euro=500}),e["Times-Italic"]=(0,n.getLookupTableFactory)(function(t){t.space=250,t.exclam=333,t.quotedbl=420,t.numbersign=500,t.dollar=500,t.percent=833,t.ampersand=778,t.quoteright=333,t.parenleft=333,t.parenright=333,t.asterisk=500,t.plus=675,t.comma=250,t.hyphen=333,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=333,t.semicolon=333,t.less=675,t.equal=675,t.greater=675,t.question=500,t.at=920,t.A=611,t.B=611,t.C=667,t.D=722,t.E=611,t.F=611,t.G=722,t.H=722,t.I=333,t.J=444,t.K=667,t.L=556,t.M=833,t.N=667,t.O=722,t.P=611,t.Q=722,t.R=611,t.S=500,t.T=556,t.U=722,t.V=611,t.W=833,t.X=611,t.Y=556,t.Z=556,t.bracketleft=389,t.backslash=278,t.bracketright=389,t.asciicircum=422,t.underscore=500,t.quoteleft=333,t.a=500,t.b=500,t.c=444,t.d=500,t.e=444,t.f=278,t.g=500,t.h=500,t.i=278,t.j=278,t.k=444,t.l=278,t.m=722,t.n=500,t.o=500,t.p=500,t.q=500,t.r=389,t.s=389,t.t=278,t.u=500,t.v=444,t.w=667,t.x=444,t.y=444,t.z=389,t.braceleft=400,t.bar=275,t.braceright=400,t.asciitilde=541,t.exclamdown=389,t.cent=500,t.sterling=500,t.fraction=167,t.yen=500,t.florin=500,t.section=500,t.currency=500,t.quotesingle=214,t.quotedblleft=556,t.guillemotleft=500,t.guilsinglleft=333,t.guilsinglright=333,t.fi=500,t.fl=500,t.endash=500,t.dagger=500,t.daggerdbl=500,t.periodcentered=250,t.paragraph=523,t.bullet=350,t.quotesinglbase=333,t.quotedblbase=556,t.quotedblright=556,t.guillemotright=500,t.ellipsis=889,t.perthousand=1e3,t.questiondown=500,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=889,t.AE=889,t.ordfeminine=276,t.Lslash=556,t.Oslash=722,t.OE=944,t.ordmasculine=310,t.ae=667,t.dotlessi=278,t.lslash=278,t.oslash=500,t.oe=667,t.germandbls=500,t.Idieresis=333,t.eacute=444,t.abreve=500,t.uhungarumlaut=500,t.ecaron=444,t.Ydieresis=556,t.divide=675,t.Yacute=556,t.Acircumflex=611,t.aacute=500,t.Ucircumflex=722,t.yacute=444,t.scommaaccent=389,t.ecircumflex=444,t.Uring=722,t.Udieresis=722,t.aogonek=500,t.Uacute=722,t.uogonek=500,t.Edieresis=611,t.Dcroat=722,t.commaaccent=250,t.copyright=760,t.Emacron=611,t.ccaron=444,t.aring=500,t.Ncommaaccent=667,t.lacute=278,t.agrave=500,t.Tcommaaccent=556,t.Cacute=667,t.atilde=500,t.Edotaccent=611,t.scaron=389,t.scedilla=389,t.iacute=278,t.lozenge=471,t.Rcaron=611,t.Gcommaaccent=722,t.ucircumflex=500,t.acircumflex=500,t.Amacron=611,t.rcaron=389,t.ccedilla=444,t.Zdotaccent=556,t.Thorn=611,t.Omacron=722,t.Racute=611,t.Sacute=500,t.dcaron=544,t.Umacron=722,t.uring=500,t.threesuperior=300,t.Ograve=722,t.Agrave=611,t.Abreve=611,t.multiply=675,t.uacute=500,t.Tcaron=556,t.partialdiff=476,t.ydieresis=444,t.Nacute=667,t.icircumflex=278,t.Ecircumflex=611,t.adieresis=500,t.edieresis=444,t.cacute=444,t.nacute=500,t.umacron=500,t.Ncaron=667,t.Iacute=333,t.plusminus=675,t.brokenbar=275,t.registered=760,t.Gbreve=722,t.Idotaccent=333,t.summation=600,t.Egrave=611,t.racute=389,t.omacron=500,t.Zacute=556,t.Zcaron=556,t.greaterequal=549,t.Eth=722,t.Ccedilla=667,t.lcommaaccent=278,t.tcaron=300,t.eogonek=444,t.Uogonek=722,t.Aacute=611,t.Adieresis=611,t.egrave=444,t.zacute=389,t.iogonek=278,t.Oacute=722,t.oacute=500,t.amacron=500,t.sacute=389,t.idieresis=278,t.Ocircumflex=722,t.Ugrave=722,t.Delta=612,t.thorn=500,t.twosuperior=300,t.Odieresis=722,t.mu=500,t.igrave=278,t.ohungarumlaut=500,t.Eogonek=611,t.dcroat=500,t.threequarters=750,t.Scedilla=500,t.lcaron=300,t.Kcommaaccent=667,t.Lacute=556,t.trademark=980,t.edotaccent=444,t.Igrave=333,t.Imacron=333,t.Lcaron=611,t.onehalf=750,t.lessequal=549,t.ocircumflex=500,t.ntilde=500,t.Uhungarumlaut=722,t.Eacute=611,t.emacron=444,t.gbreve=500,t.onequarter=750,t.Scaron=500,t.Scommaaccent=500,t.Ohungarumlaut=722,t.degree=400,t.ograve=500,t.Ccaron=667,t.ugrave=500,t.radical=453,t.Dcaron=722,t.rcommaaccent=389,t.Ntilde=667,t.otilde=500,t.Rcommaaccent=611,t.Lcommaaccent=556,t.Atilde=611,t.Aogonek=611,t.Aring=611,t.Otilde=722,t.zdotaccent=389,t.Ecaron=611,t.Iogonek=333,t.kcommaaccent=444,t.minus=675,t.Icircumflex=333,t.ncaron=500,t.tcommaaccent=278,t.logicalnot=675,t.odieresis=500,t.udieresis=500,t.notequal=549,t.gcommaaccent=500,t.eth=500,t.zcaron=389,t.ncommaaccent=500,t.onesuperior=300,t.imacron=278,t.Euro=500}),e.ZapfDingbats=(0,n.getLookupTableFactory)(function(t){t.space=278,t.a1=974,t.a2=961,t.a202=974,t.a3=980,t.a4=719,t.a5=789,t.a119=790,t.a118=791,t.a117=690,t.a11=960,t.a12=939,t.a13=549,t.a14=855,t.a15=911,t.a16=933,t.a105=911,t.a17=945,t.a18=974,t.a19=755,t.a20=846,t.a21=762,t.a22=761,t.a23=571,t.a24=677,t.a25=763,t.a26=760,t.a27=759,t.a28=754,t.a6=494,t.a7=552,t.a8=537,t.a9=577,t.a10=692,t.a29=786,t.a30=788,t.a31=788,t.a32=790,t.a33=793,t.a34=794,t.a35=816,t.a36=823,t.a37=789,t.a38=841,t.a39=823,t.a40=833,t.a41=816,t.a42=831,t.a43=923,t.a44=744,t.a45=723,t.a46=749,t.a47=790,t.a48=792,t.a49=695,t.a50=776,t.a51=768,t.a52=792,t.a53=759,t.a54=707,t.a55=708,t.a56=682,t.a57=701,t.a58=826,t.a59=815,t.a60=789,t.a61=789,t.a62=707,t.a63=687,t.a64=696,t.a65=689,t.a66=786,t.a67=787,t.a68=713,t.a69=791,t.a70=785,t.a71=791,t.a72=873,t.a73=761,t.a74=762,t.a203=762,t.a75=759,t.a204=759,t.a76=892,t.a77=892,t.a78=788,t.a79=784,t.a81=438,t.a82=138,t.a83=277,t.a84=415,t.a97=392,t.a98=392,t.a99=668,t.a100=668,t.a89=390,t.a90=390,t.a93=317,t.a94=317,t.a91=276,t.a92=276,t.a205=509,t.a85=509,t.a206=410,t.a86=410,t.a87=234,t.a88=234,t.a95=334,t.a96=334,t.a101=732,t.a102=544,t.a103=544,t.a104=910,t.a106=667,t.a107=760,t.a108=760,t.a112=776,t.a111=595,t.a110=694,t.a109=626,t.a120=788,t.a121=788,t.a122=788,t.a123=788,t.a124=788,t.a125=788,t.a126=788,t.a127=788,t.a128=788,t.a129=788,t.a130=788,t.a131=788,t.a132=788,t.a133=788,t.a134=788,t.a135=788,t.a136=788,t.a137=788,t.a138=788,t.a139=788,t.a140=788,t.a141=788,t.a142=788,t.a143=788,t.a144=788,t.a145=788,t.a146=788,t.a147=788,t.a148=788,t.a149=788,t.a150=788,t.a151=788,t.a152=788,t.a153=788,t.a154=788,t.a155=788,t.a156=788,t.a157=788,t.a158=788,t.a159=788,t.a160=894,t.a161=838,t.a163=1016,t.a164=458,t.a196=748,t.a165=924,t.a192=748,t.a166=918,t.a167=927,t.a168=928,t.a169=928,t.a170=834,t.a171=873,t.a172=828,t.a173=924,t.a162=924,t.a174=917,t.a175=930,t.a176=931,t.a177=463,t.a178=883,t.a179=836,t.a193=836,t.a180=867,t.a199=867,t.a181=696,t.a200=696,t.a182=874,t.a201=874,t.a183=760,t.a184=946,t.a197=771,t.a185=865,t.a194=771,t.a198=888,t.a186=967,t.a195=888,t.a187=831,t.a188=873,t.a189=927,t.a190=970,t.a191=918})});d.getMetrics=u;const g=(0,n.getLookupTableFactory)(function(e){e.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},e["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},e["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},e["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},e["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},e["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},e.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},e.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}});d.getFontBasicMetrics=g},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.GlyfTable=void 0,i(140),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(158);const n=1,u=2,g=4,e=8,t=16,s=32,L=64,U=1,C=2,y=8,f=32,x=64,a=128,N=256;class v{constructor(T){let{glyfTable:c,isGlyphLocationsLong:h,locaTable:E,numGlyphs:o}=T;this.glyphs=[];const l=new DataView(E.buffer,E.byteOffset,E.byteLength),b=new DataView(c.buffer,c.byteOffset,c.byteLength),R=h?4:2;let S=h?l.getUint32(0):2*l.getUint16(0),p=0;for(let G=0;G{const h=c.getSize();return T+(h+3&-4)},0)}write(){const T=this.getSize(),c=new DataView(new ArrayBuffer(T)),h=T>131070,E=h?4:2,o=new DataView(new ArrayBuffer((this.glyphs.length+1)*E));h?o.setUint32(0,0):o.setUint16(0,0);let l=0,b=0;for(const R of this.glyphs)l+=R.write(l,c),l=l+3&-4,b+=E,h?o.setUint32(b,l):o.setUint16(b,l>>1);return{isLocationLong:h,loca:new Uint8Array(o.buffer),glyf:new Uint8Array(c.buffer)}}scale(T){for(let c=0,h=this.glyphs.length;cc+h.getSize(),0);return this.header.getSize()+T}write(T,c){if(!this.header)return 0;const h=T;if(T+=this.header.write(T,c),this.simple)T+=this.simple.write(T,c);else for(const E of this.composites)T+=E.write(T,c);return T-h}scale(T){if(!this.header)return;const c=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(c,T),this.simple)this.simple.scale(c,T);else for(const h of this.composites)h.scale(c,T)}}class F{constructor(T){let{numberOfContours:c,xMin:h,yMin:E,xMax:o,yMax:l}=T;this.numberOfContours=c,this.xMin=h,this.yMin=E,this.xMax=o,this.yMax=l}static parse(T,c){return[10,new F({numberOfContours:c.getInt16(T),xMin:c.getInt16(T+2),yMin:c.getInt16(T+4),xMax:c.getInt16(T+6),yMax:c.getInt16(T+8)})]}getSize(){return 10}write(T,c){return c.setInt16(T,this.numberOfContours),c.setInt16(T+2,this.xMin),c.setInt16(T+4,this.yMin),c.setInt16(T+6,this.xMax),c.setInt16(T+8,this.yMax),10}scale(T,c){this.xMin=Math.round(T+(this.xMin-T)*c),this.xMax=Math.round(T+(this.xMax-T)*c)}}class B{constructor(T){let{flags:c,xCoordinates:h,yCoordinates:E}=T;this.xCoordinates=h,this.yCoordinates=E,this.flags=c}}class W{constructor(T){let{contours:c,instructions:h}=T;this.contours=c,this.instructions=h}static parse(T,c,h){const E=[];for(let m=0;m255?T+=2:S>0&&(T+=1),c=b,S=Math.abs(R-h),S>255?T+=2:S>0&&(T+=1),h=R}}return T}write(T,c){const h=T,E=[],o=[],l=[];let b=0,R=0;for(const S of this.contours){for(let p=0,G=S.xCoordinates.length;p=0?u|t:u,E.push(m)):E.push(D)}b=A;const w=S.yCoordinates[p];if(D=w-R,D===0)$|=s,o.push(0);else{const m=Math.abs(D);m<=255?($|=D>=0?g|s:g,o.push(m)):o.push(D)}R=w,l.push($)}c.setUint16(T,E.length-1),T+=2}c.setUint16(T,this.instructions.length),T+=2,this.instructions.length&&(new Uint8Array(c.buffer,0,c.buffer.byteLength).set(this.instructions,T),T+=this.instructions.length);for(const S of l)c.setUint8(T++,S);for(let S=0,p=E.length;S=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(T+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(T+=2),T}write(T,c){const h=T;return this.flags&C?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=U):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=U),c.setUint16(T,this.flags),c.setUint16(T+2,this.glyphIndex),T+=4,this.flags&U?(this.flags&C?(c.setInt16(T,this.argument1),c.setInt16(T+2,this.argument2)):(c.setUint16(T,this.argument1),c.setUint16(T+2,this.argument2)),T+=4):(c.setUint8(T,this.argument1),c.setUint8(T+1,this.argument2),T+=2),this.flags&N&&(c.setUint16(T,this.instructions.length),T+=2,this.instructions.length&&(new Uint8Array(c.buffer,0,c.buffer.byteLength).set(this.instructions,T),T+=this.instructions.length)),T-h}scale(T,c){}}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.OpenTypeFileBuilder=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140),i(2);var n=i(150),u=i(145);function g(C,y,f){C[y]=f>>8&255,C[y+1]=f&255}function e(C,y,f){C[y]=f>>24&255,C[y+1]=f>>16&255,C[y+2]=f>>8&255,C[y+3]=f&255}function t(C,y,f){if(f instanceof Uint8Array)C.set(f,y);else if(typeof f=="string")for(let x=0,a=f.length;xx;)x<<=1,a++;const N=x*f;return{range:N,entry:a,rangeShift:f*y-N}}toArray(){let y=this.sfnt;const f=this.tables,x=Object.keys(f);x.sort();const a=x.length;let N,v,P,F,B,W=s+a*L;const j=[W];for(N=0;N>>0;W+=c,j.push(W)}const M=new Uint8Array(W);for(N=0;N>>0}e(M,W+4,c),e(M,W+8,j[N]),e(M,W+12,f[B].length),W+=L}return M}addTable(y,f){if(y in this.tables)throw new Error("Table "+y+" already exists");this.tables[y]=f}}d.OpenTypeFileBuilder=U},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.Type1Font=void 0,i(140);var n=i(186),u=i(145),g=i(189),e=i(150),t=i(155),s=i(200);function L(f,x,a){const N=f.length,v=x.length,P=N-v;let F=a,B=!1;for(;F=v){for(F+=W;F=0&&(v[B]=P)}return(0,g.type1FontGlyphMapping)(x,v,N)}hasGlyphId(x){return x<0||x>=this.numGlyphs?!1:x===0?!0:this.charstrings[x-1].charstring.length>0}getSeacs(x){const a=[];for(let N=0,v=x.length;N0;p--)S[p]-=S[p-1];E.setByName(R,S)}F.topDict.privateDict=E;const l=new n.CFFIndex;for(T=0,c=v.length;T{Object.defineProperty(d,"__esModule",{value:!0}),d.Type1Parser=void 0,i(140),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(160);var n=i(188),u=i(150),g=i(155),e=i(145);const t=!1,s={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]};class L{constructor(){this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}convert(P,F,B){const W=P.length;let j=!1,M,T,c;for(let h=0;hW)return!0;const j=W-P;for(let M=j;M>8&255,T&255):(T=65536*T|0,this.output.push(255,T>>24&255,T>>16&255,T>>8&255,T&255))}return this.output.push(...F),B?this.stack.splice(j,P):this.stack.length=0,!1}}const U=55665,C=4330;function y(v){return v>=48&&v<=57||v>=65&&v<=70||v>=97&&v<=102}function f(v,P,F){if(F>=v.length)return new Uint8Array(0);const B=52845,W=22719;let j=P|0,M,T;for(M=0;M>8,j=(E+j)*B+W&65535}return h}function x(v,P,F){let j=P|0;const M=v.length,T=M>>>1,c=new Uint8Array(T);let h,E;for(h=0,E=0;h>8,j=(b+j)*52845+22719&65535}}return c.slice(F,E)}function a(v){return v===47||v===91||v===93||v===123||v===125||v===40||v===41}class N{constructor(P,F,B){if(F){const W=P.getBytes(),j=!((y(W[0])||(0,u.isWhiteSpace)(W[0]))&&y(W[1])&&y(W[2])&&y(W[3])&&y(W[4])&&y(W[5])&&y(W[6])&&y(W[7]));P=new g.Stream(j?f(W,U,4):x(W,U,4))}this.seacAnalysisEnabled=!!B,this.stream=P,this.nextChar()}readNumberArray(){this.getToken();const P=[];for(;;){const F=this.getToken();if(F===null||F==="]"||F==="}")break;P.push(parseFloat(F||0))}return P}readNumber(){const P=this.getToken();return parseFloat(P||0)}readInt(){const P=this.getToken();return parseInt(P||0,10)|0}readBoolean(){return this.getToken()==="true"?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}getToken(){let P=!1,F=this.currentChar;for(;;){if(F===-1)return null;if(P)(F===10||F===13)&&(P=!1);else if(F===37)P=!0;else if(!(0,u.isWhiteSpace)(F))break;F=this.nextChar()}if(a(F))return this.nextChar(),String.fromCharCode(F);let B="";do B+=String.fromCharCode(F),F=this.nextChar();while(F>=0&&!(0,u.isWhiteSpace)(F)&&!a(F));return B}readCharStrings(P,F){return F===-1?P:f(P,C,F)}extractFontProgram(P){const F=this.stream,B=[],W=[],j=Object.create(null);j.lenIV=4;const M={subrs:[],charstrings:[],properties:{privateData:j}};let T,c,h,E;for(;(T=this.getToken())!==null;)if(T==="/")switch(T=this.getToken(),T){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();T=this.getToken(),!(T===null||T==="end");){if(T!=="/")continue;const l=this.getToken();c=this.readInt(),this.getToken(),h=c>0?F.getBytes(c):new Uint8Array(0),E=M.properties.privateData.lenIV;const b=this.readCharStrings(h,E);this.nextChar(),T=this.getToken(),T==="noaccess"?this.getToken():T==="/"&&this.prevChar(),W.push({glyph:l,encoded:b})}break;case"Subrs":for(this.readInt(),this.getToken();this.getToken()==="dup";){const l=this.readInt();c=this.readInt(),this.getToken(),h=c>0?F.getBytes(c):new Uint8Array(0),E=M.properties.privateData.lenIV;const b=this.readCharStrings(h,E);this.nextChar(),T=this.getToken(),T==="noaccess"&&this.getToken(),B[l]=b}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const o=this.readNumberArray();o.length>0&&o.length%2===0&&t&&(M.properties.privateData[T]=o);break;case"StemSnapH":case"StemSnapV":M.properties.privateData[T]=this.readNumberArray();break;case"StdHW":case"StdVW":M.properties.privateData[T]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":M.properties.privateData[T]=this.readNumber();break;case"ExpansionFactor":M.properties.privateData[T]=this.readNumber()||.06;break;case"ForceBold":M.properties.privateData[T]=this.readBoolean();break}for(const{encoded:o,glyph:l}of W){const b=new L,R=b.convert(o,B,this.seacAnalysisEnabled);let S=b.output;R&&(S=[14]);const p={glyphName:l,charstring:S,width:b.width,lsb:b.lsb,seac:b.seac};if(l===".notdef"?M.charstrings.unshift(p):M.charstrings.push(p),P.builtInEncoding){const G=P.builtInEncoding.indexOf(l);G>-1&&P.widths[G]===void 0&&G>=P.firstChar&&G<=P.lastChar&&(P.widths[G]=b.width)}}return M}extractFontHeader(P){let F;for(;(F=this.getToken())!==null;)if(F==="/")switch(F=this.getToken(),F){case"FontMatrix":const B=this.readNumberArray();P.fontMatrix=B;break;case"Encoding":const W=this.getToken();let j;if(!/^\d+$/.test(W))j=(0,n.getEncoding)(W);else{j=[];const T=parseInt(W,10)|0;this.getToken();for(let c=0;c{Object.defineProperty(d,"__esModule",{value:!0}),d.Pattern=void 0,d.clearPatternCaches=a,d.getTilingPatternIR=P,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140),i(160);var n=i(145),u=i(152),g=i(163),e=i(150);const t={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7};class s{constructor(){(0,n.unreachable)("Cannot initialize Pattern.")}static parseShading(j,M,T,c,h){const E=j instanceof u.BaseStream?j.dict:j,o=E.get("ShadingType");try{switch(o){case t.AXIAL:case t.RADIAL:return new U(E,M,T,c,h);case t.FREE_FORM_MESH:case t.LATTICE_FORM_MESH:case t.COONS_PATCH_MESH:case t.TENSOR_PATCH_MESH:return new N(j,M,T,c,h);default:throw new n.FormatError("Unsupported ShadingType: "+o)}}catch(l){if(l instanceof e.MissingDataException)throw l;return(0,n.warn)(l),new v}}}d.Pattern=s;const F=class F{constructor(){this.constructor===F&&(0,n.unreachable)("Cannot initialize BaseShading.")}getIR(){(0,n.unreachable)("Abstract method `getIR` called.")}};Xt(F,"SMALL_NUMBER",1e-6);let L=F;class U extends L{constructor(j,M,T,c,h){super(),this.coordsArr=j.getArray("Coords"),this.shadingType=j.get("ShadingType");const E=g.ColorSpace.parse({cs:j.getRaw("CS")||j.getRaw("ColorSpace"),xref:M,resources:T,pdfFunctionFactory:c,localColorSpaceCache:h}),o=j.getArray("BBox");this.bbox=Array.isArray(o)&&o.length===4?n.Util.normalizeRect(o):null;let l=0,b=1;if(j.has("Domain")){const re=j.getArray("Domain");l=re[0],b=re[1]}let R=!1,S=!1;if(j.has("Extend")){const re=j.getArray("Extend");R=re[0],S=re[1]}if(this.shadingType===t.RADIAL&&(!R||!S)){const[re,ie,Z,ee,q,z]=this.coordsArr,ae=Math.hypot(re-ee,ie-q);Z<=z+ae&&z<=Z+ae&&(0,n.warn)("Unsupported radial gradient.")}this.extendStart=R,this.extendEnd=S;const p=j.getRaw("Function"),G=c.createFromArray(p),$=840,A=(b-l)/$,D=this.colorStops=[];if(l>=b||A<=0){(0,n.info)("Bad shading domain.");return}const w=new Float32Array(E.numComps),m=new Float32Array(1);let I,H=0;m[0]=l,G(m,0,w,0);let Y=E.getRgb(w,0);const Q=n.Util.makeHexColor(Y[0],Y[1],Y[2]);D.push([0,Q]);let oe=1;m[0]=l+A,G(m,0,w,0);let ne=E.getRgb(w,0),ce=ne[0]-Y[0]+1,J=ne[1]-Y[1]+1,_=ne[2]-Y[2]+1,k=ne[0]-Y[0]-1,O=ne[1]-Y[1]-1,V=ne[2]-Y[2]-1;for(let re=2;re<$;re++){m[0]=l+re*A,G(m,0,w,0),I=E.getRgb(w,0);const ie=re-H;if(ce=Math.min(ce,(I[0]-Y[0]+1)/ie),J=Math.min(J,(I[1]-Y[1]+1)/ie),_=Math.min(_,(I[2]-Y[2]+1)/ie),k=Math.max(k,(I[0]-Y[0]-1)/ie),O=Math.max(O,(I[1]-Y[1]-1)/ie),V=Math.max(V,(I[2]-Y[2]-1)/ie),!(k<=ce&&O<=J&&V<=_)){const ee=n.Util.makeHexColor(ne[0],ne[1],ne[2]);D.push([oe/$,ee]),ce=I[0]-ne[0]+1,J=I[1]-ne[1]+1,_=I[2]-ne[2]+1,k=I[0]-ne[0]-1,O=I[1]-ne[1]-1,V=I[2]-ne[2]-1,H=oe,Y=ne}oe=re,ne=I}const K=n.Util.makeHexColor(ne[0],ne[1],ne[2]);D.push([1,K]);let te="transparent";j.has("Background")&&(I=E.getRgb(j.get("Background"),0),te=n.Util.makeHexColor(I[0],I[1],I[2])),R||(D.unshift([0,te]),D[1][0]+=L.SMALL_NUMBER),S||(D.at(-1)[0]-=L.SMALL_NUMBER,D.push([1,te])),this.colorStops=D}getIR(){const j=this.coordsArr,M=this.shadingType;let T,c,h,E,o;return M===t.AXIAL?(c=[j[0],j[1]],h=[j[2],j[3]],E=null,o=null,T="axial"):M===t.RADIAL?(c=[j[0],j[1]],h=[j[3],j[4]],E=j[2],o=j[5],T="radial"):(0,n.unreachable)(`getPattern type unknown: ${M}`),["RadialAxial",T,this.bbox,this.colorStops,c,h,E,o]}}class C{constructor(j,M){this.stream=j,this.context=M,this.buffer=0,this.bufferLength=0;const T=M.numComps;this.tmpCompsBuf=new Float32Array(T);const c=M.colorSpace.numComps;this.tmpCsCompsBuf=M.colorFn?new Float32Array(c):this.tmpCompsBuf}get hasData(){if(this.stream.end)return this.stream.pos0)return!0;const j=this.stream.getByte();return j<0?!1:(this.buffer=j,this.bufferLength=8,!0)}readBits(j){let M=this.buffer,T=this.bufferLength;if(j===32){if(T===0)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;M=M<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();const c=this.stream.getByte();return this.buffer=c&(1<>T)>>>0}if(j===8&&T===0)return this.stream.getByte();for(;T>T}align(){this.buffer=0,this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){const j=this.context.bitsPerCoordinate,M=this.readBits(j),T=this.readBits(j),c=this.context.decode,h=j<32?1/((1<o?o:j,M=M>l?l:M,T=T{Object.defineProperty(d,"__esModule",{value:!0}),d.getXfaFontDict=x,d.getXfaFontName=y,i(140);var n=i(203),u=i(151),g=i(204),e=i(205),t=i(206),s=i(207),L=i(150),U=i(189);const C=(0,L.getLookupTableFactory)(function(a){a["MyriadPro-Regular"]=a["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:t.MyriadProRegularFactors,baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping,metrics:t.MyriadProRegularMetrics},a["MyriadPro-Bold"]=a["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:t.MyriadProBoldFactors,baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping,metrics:t.MyriadProBoldMetrics},a["MyriadPro-It"]=a["MyriadPro-Italic"]=a["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:t.MyriadProItalicFactors,baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping,metrics:t.MyriadProItalicMetrics},a["MyriadPro-BoldIt"]=a["MyriadPro-BoldItalic"]=a["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:t.MyriadProBoldItalicFactors,baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping,metrics:t.MyriadProBoldItalicMetrics},a.ArialMT=a.Arial=a["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping},a["Arial-BoldMT"]=a["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping},a["Arial-ItalicMT"]=a["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping},a["Arial-BoldItalicMT"]=a["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping},a["Calibri-Regular"]={name:"LiberationSans-Regular",factors:n.CalibriRegularFactors,baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping,metrics:n.CalibriRegularMetrics},a["Calibri-Bold"]={name:"LiberationSans-Bold",factors:n.CalibriBoldFactors,baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping,metrics:n.CalibriBoldMetrics},a["Calibri-Italic"]={name:"LiberationSans-Italic",factors:n.CalibriItalicFactors,baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping,metrics:n.CalibriItalicMetrics},a["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:n.CalibriBoldItalicFactors,baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping,metrics:n.CalibriBoldItalicMetrics},a["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:s.SegoeuiRegularFactors,baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping,metrics:s.SegoeuiRegularMetrics},a["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:s.SegoeuiBoldFactors,baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping,metrics:s.SegoeuiBoldMetrics},a["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:s.SegoeuiItalicFactors,baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping,metrics:s.SegoeuiItalicMetrics},a["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:s.SegoeuiBoldItalicFactors,baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping,metrics:s.SegoeuiBoldItalicMetrics},a["Helvetica-Regular"]=a.Helvetica={name:"LiberationSans-Regular",factors:g.HelveticaRegularFactors,baseWidths:e.LiberationSansRegularWidths,baseMapping:e.LiberationSansRegularMapping,metrics:g.HelveticaRegularMetrics},a["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:g.HelveticaBoldFactors,baseWidths:e.LiberationSansBoldWidths,baseMapping:e.LiberationSansBoldMapping,metrics:g.HelveticaBoldMetrics},a["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:g.HelveticaItalicFactors,baseWidths:e.LiberationSansItalicWidths,baseMapping:e.LiberationSansItalicMapping,metrics:g.HelveticaItalicMetrics},a["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:g.HelveticaBoldItalicFactors,baseWidths:e.LiberationSansBoldItalicWidths,baseMapping:e.LiberationSansBoldItalicMapping,metrics:g.HelveticaBoldItalicMetrics}});function y(a){const N=(0,U.normalizeFontName)(a);return C()[N]}function f(a){const N=y(a);if(!N)return null;const{baseWidths:v,baseMapping:P,factors:F}=N,B=F?v.map((T,c)=>T*F[c]):v;let W=-2,j;const M=[];for(const[T,c]of P.map((h,E)=>[h,E]).sort((h,E)=>{let[o]=h,[l]=E;return o-l}))T!==-1&&(T===W+1?(j.push(B[c]),W+=1):(W=T,j=[B[c]],M.push(T,j)));return M}function x(a){const N=f(a),v=new u.Dict(null);v.set("BaseFont",u.Name.get(a)),v.set("Type",u.Name.get("Font")),v.set("Subtype",u.Name.get("CIDFontType2")),v.set("Encoding",u.Name.get("Identity-H")),v.set("CIDToGIDMap",u.Name.get("Identity")),v.set("W",N),v.set("FirstChar",N[0]),v.set("LastChar",N.at(-2)+N.at(-1).length-1);const P=new u.Dict(null);v.set("FontDescriptor",P);const F=new u.Dict(null);return F.set("Ordering","Identity"),F.set("Registry","Adobe"),F.set("Supplement",0),v.set("CIDSystemInfo",F),v}},(he,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.CalibriRegularMetrics=d.CalibriRegularFactors=d.CalibriItalicMetrics=d.CalibriItalicFactors=d.CalibriBoldMetrics=d.CalibriBoldItalicMetrics=d.CalibriBoldItalicFactors=d.CalibriBoldFactors=void 0;const i=[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];d.CalibriBoldFactors=i;const n={lineHeight:1.2207,lineGap:.2207};d.CalibriBoldMetrics=n;const u=[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];d.CalibriBoldItalicFactors=u;const g={lineHeight:1.2207,lineGap:.2207};d.CalibriBoldItalicMetrics=g;const 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];d.CalibriItalicFactors=e;const t={lineHeight:1.2207,lineGap:.2207};d.CalibriItalicMetrics=t;const s=[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];d.CalibriRegularFactors=s;const L={lineHeight:1.2207,lineGap:.2207};d.CalibriRegularMetrics=L},(he,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.HelveticaRegularMetrics=d.HelveticaRegularFactors=d.HelveticaItalicMetrics=d.HelveticaItalicFactors=d.HelveticaBoldMetrics=d.HelveticaBoldItalicMetrics=d.HelveticaBoldItalicFactors=d.HelveticaBoldFactors=void 0;const i=[.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];d.HelveticaBoldFactors=i;const n={lineHeight:1.2,lineGap:.2};d.HelveticaBoldMetrics=n;const u=[.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];d.HelveticaBoldItalicFactors=u;const g={lineHeight:1.35,lineGap:.2};d.HelveticaBoldItalicMetrics=g;const 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];d.HelveticaItalicFactors=e;const t={lineHeight:1.35,lineGap:.2};d.HelveticaItalicMetrics=t;const s=[.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];d.HelveticaRegularFactors=s;const L={lineHeight:1.2,lineGap:.2};d.HelveticaRegularMetrics=L},(he,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.LiberationSansRegularWidths=d.LiberationSansRegularMapping=d.LiberationSansItalicWidths=d.LiberationSansItalicMapping=d.LiberationSansBoldWidths=d.LiberationSansBoldMapping=d.LiberationSansBoldItalicWidths=d.LiberationSansBoldItalicMapping=void 0;const i=[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];d.LiberationSansBoldWidths=i;const n=[-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];d.LiberationSansBoldMapping=n;const u=[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];d.LiberationSansBoldItalicWidths=u;const g=[-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];d.LiberationSansBoldItalicMapping=g;const 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];d.LiberationSansItalicWidths=e;const 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];d.LiberationSansItalicMapping=t;const s=[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];d.LiberationSansRegularWidths=s;const L=[-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];d.LiberationSansRegularMapping=L},(he,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.MyriadProRegularMetrics=d.MyriadProRegularFactors=d.MyriadProItalicMetrics=d.MyriadProItalicFactors=d.MyriadProBoldMetrics=d.MyriadProBoldItalicMetrics=d.MyriadProBoldItalicFactors=d.MyriadProBoldFactors=void 0;const i=[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];d.MyriadProBoldFactors=i;const n={lineHeight:1.2,lineGap:.2};d.MyriadProBoldMetrics=n;const u=[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];d.MyriadProBoldItalicFactors=u;const g={lineHeight:1.2,lineGap:.2};d.MyriadProBoldItalicMetrics=g;const 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];d.MyriadProItalicFactors=e;const t={lineHeight:1.2,lineGap:.2};d.MyriadProItalicMetrics=t;const s=[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];d.MyriadProRegularFactors=s;const L={lineHeight:1.2,lineGap:.2};d.MyriadProRegularMetrics=L},(he,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.SegoeuiRegularMetrics=d.SegoeuiRegularFactors=d.SegoeuiItalicMetrics=d.SegoeuiItalicFactors=d.SegoeuiBoldMetrics=d.SegoeuiBoldItalicMetrics=d.SegoeuiBoldItalicFactors=d.SegoeuiBoldFactors=void 0;const i=[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];d.SegoeuiBoldFactors=i;const n={lineHeight:1.33008,lineGap:0};d.SegoeuiBoldMetrics=n;const u=[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];d.SegoeuiBoldItalicFactors=u;const g={lineHeight:1.33008,lineGap:0};d.SegoeuiBoldItalicMetrics=g;const 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];d.SegoeuiItalicFactors=e;const t={lineHeight:1.33008,lineGap:0};d.SegoeuiItalicMetrics=t;const s=[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];d.SegoeuiRegularFactors=s;const L={lineHeight:1.33008,lineGap:0};d.SegoeuiRegularMetrics=L},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.PostScriptEvaluator=d.PostScriptCompiler=d.PDFFunctionFactory=void 0,d.isPDFFunction=C,i(2),i(140),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(160);var n=i(151),u=i(145),g=i(209),e=i(152),t=i(210);class s{constructor(l){let{xref:b,isEvalSupported:R=!0}=l;this.xref=b,this.isEvalSupported=R!==!1}create(l){const b=this.getCached(l);if(b)return b;const R=U.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:l instanceof n.Ref?this.xref.fetch(l):l});return this._cache(l,R),R}createFromArray(l){const b=this.getCached(l);if(b)return b;const R=U.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:l instanceof n.Ref?this.xref.fetch(l):l});return this._cache(l,R),R}getCached(l){var R;let b;if(l instanceof n.Ref?b=l:l instanceof n.Dict?b=l.objId:l instanceof e.BaseStream&&(b=(R=l.dict)==null?void 0:R.objId),b){const S=this._localFunctionCache.getByRef(b);if(S)return S}return null}_cache(l,b){var S;if(!b)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');let R;l instanceof n.Ref?R=l:l instanceof n.Dict?R=l.objId:l instanceof e.BaseStream&&(R=(S=l.dict)==null?void 0:S.objId),R&&this._localFunctionCache.set(null,R,b)}get _localFunctionCache(){return(0,u.shadow)(this,"_localFunctionCache",new t.LocalFunctionCache)}}d.PDFFunctionFactory=s;function L(o){if(!Array.isArray(o))return null;const l=o.length;for(let b=0;b>D)*m,w&=(1<ie?te=ie:te0&&(_=A[J-1]);let k=p[1];J>1,I=G.length>>1,H=new f(w),Y=Object.create(null);let oe=2048*4;const ne=new Float32Array(I);return function(J,_,k,O){let V,K,te="";const re=ne;for(V=0;Vz&&(K=z)),Z[V]=K}oe>0&&(oe--,Y[te]=Z),k.set(Z,O)}}}function C(o){let l;if(o instanceof n.Dict)l=o;else if(o instanceof e.BaseStream)l=o.dict;else return!1;return l.has("FunctionType")}const E=class E{constructor(l){this.stack=l?Array.from(l):[]}push(l){if(this.stack.length>=E.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(l)}pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}copy(l){if(this.stack.length+l>=E.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");const b=this.stack;for(let R=b.length-l,S=l-1;S>=0;S--,R++)b.push(b[R])}index(l){this.push(this.stack[this.stack.length-l-1])}roll(l,b){const R=this.stack,S=R.length-l,p=R.length-1,G=S+(b-Math.floor(b/l)*l);for(let $=S,A=p;$0?b.push($<>A);break;case"ceiling":$=b.pop(),b.push(Math.ceil($));break;case"copy":$=b.pop(),b.copy($);break;case"cos":$=b.pop(),b.push(Math.cos($%360/180*Math.PI));break;case"cvi":$=b.pop()|0,b.push($);break;case"cvr":break;case"div":A=b.pop(),$=b.pop(),b.push($/A);break;case"dup":b.copy(1);break;case"eq":A=b.pop(),$=b.pop(),b.push($===A);break;case"exch":b.roll(2,1);break;case"exp":A=b.pop(),$=b.pop(),b.push($**A);break;case"false":b.push(!1);break;case"floor":$=b.pop(),b.push(Math.floor($));break;case"ge":A=b.pop(),$=b.pop(),b.push($>=A);break;case"gt":A=b.pop(),$=b.pop(),b.push($>A);break;case"idiv":A=b.pop(),$=b.pop(),b.push($/A|0);break;case"index":$=b.pop(),b.index($);break;case"le":A=b.pop(),$=b.pop(),b.push($<=A);break;case"ln":$=b.pop(),b.push(Math.log($));break;case"log":$=b.pop(),b.push(Math.log10($));break;case"lt":A=b.pop(),$=b.pop(),b.push($=l?new N(l):o.max<=l?o:new P(o,l)}class h{compile(l,b,R){const S=[],p=[],G=b.length>>1,$=R.length>>1;let A=0,D,w,m,I,H,Y,Q,oe;for(let ce=0;ce_.min&&(K.unshift("Math.max(",O,", "),K.push(")")),V<_.max&&(K.unshift("Math.min(",V,", "),K.push(")")),K.unshift("dest[destOffset + ",ce,"] = "),K.push(";"),ne.push(K.join(""))}return ne.join(` `)}}d.PostScriptCompiler=h},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.PostScriptParser=d.PostScriptLexer=void 0,i(140);var n=i(145),u=i(151),g=i(150);class e{constructor(C){this.lexer=C,this.operators=[],this.token=null,this.prev=null}nextToken(){this.prev=this.token,this.token=this.lexer.getToken()}accept(C){return this.token.type===C?(this.nextToken(),!0):!1}expect(C){if(this.accept(C))return!0;throw new n.FormatError(`Unexpected symbol: found ${this.token.type} expected ${C}.`)}parse(){return this.nextToken(),this.expect(t.LBRACE),this.parseBlock(),this.expect(t.RBRACE),this.operators}parseBlock(){for(;;)if(this.accept(t.NUMBER))this.operators.push(this.prev.value);else if(this.accept(t.OPERATOR))this.operators.push(this.prev.value);else if(this.accept(t.LBRACE))this.parseCondition();else return}parseCondition(){const C=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(t.RBRACE),this.accept(t.IF))this.operators[C]=this.operators.length,this.operators[C+1]="jz";else if(this.accept(t.LBRACE)){const y=this.operators.length;this.operators.push(null,null);const f=this.operators.length;this.parseBlock(),this.expect(t.RBRACE),this.expect(t.IFELSE),this.operators[y]=this.operators.length,this.operators[y+1]="j",this.operators[C]=f,this.operators[C+1]="jz"}else throw new n.FormatError("PS Function: error parsing conditional.")}}d.PostScriptParser=e;const t={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5};class s{static get opCache(){return(0,n.shadow)(this,"opCache",Object.create(null))}constructor(C,y){this.type=C,this.value=y}static getOperator(C){var y;return(y=s.opCache)[C]||(y[C]=new s(t.OPERATOR,C))}static get LBRACE(){return(0,n.shadow)(this,"LBRACE",new s(t.LBRACE,"{"))}static get RBRACE(){return(0,n.shadow)(this,"RBRACE",new s(t.RBRACE,"}"))}static get IF(){return(0,n.shadow)(this,"IF",new s(t.IF,"IF"))}static get IFELSE(){return(0,n.shadow)(this,"IFELSE",new s(t.IFELSE,"IFELSE"))}}class L{constructor(C){this.stream=C,this.nextChar(),this.strBuf=[]}nextChar(){return this.currentChar=this.stream.getByte()}getToken(){let C=!1,y=this.currentChar;for(;;){if(y<0)return u.EOF;if(C)(y===10||y===13)&&(C=!1);else if(y===37)C=!0;else if(!(0,g.isWhiteSpace)(y))break;y=this.nextChar()}switch(y|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 s(t.NUMBER,this.getNumber());case 123:return this.nextChar(),s.LBRACE;case 125:return this.nextChar(),s.RBRACE}const f=this.strBuf;for(f.length=0,f[0]=String.fromCharCode(y);(y=this.nextChar())>=0&&(y>=65&&y<=90||y>=97&&y<=122);)f.push(String.fromCharCode(y));const x=f.join("");switch(x.toLowerCase()){case"if":return s.IF;case"ifelse":return s.IFELSE;default:return s.getOperator(x)}}getNumber(){let C=this.currentChar;const y=this.strBuf;for(y.length=0,y[0]=String.fromCharCode(C);(C=this.nextChar())>=0&&(C>=48&&C<=57||C===45||C===46);)y.push(String.fromCharCode(C));const f=parseFloat(y.join(""));if(isNaN(f))throw new n.FormatError(`Invalid floating point number: ${f}`);return f}}d.PostScriptLexer=L},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.RegionalImageCache=d.LocalTilingPatternCache=d.LocalImageCache=d.LocalGStateCache=d.LocalFunctionCache=d.LocalColorSpaceCache=d.GlobalImageCache=void 0,i(2),i(116),i(127),i(129),i(132),i(134),i(136),i(138);var n=i(145),u=i(151);class g{constructor(a){this.constructor===g&&(0,n.unreachable)("Cannot initialize BaseLocalCache."),this._onlyRefs=(a==null?void 0:a.onlyRefs)===!0,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new u.RefSetCache}getByName(a){this._onlyRefs&&(0,n.unreachable)("Should not call `getByName` method.");const N=this._nameRefMap.get(a);return N?this.getByRef(N):this._imageMap.get(a)||null}getByRef(a){return this._imageCache.get(a)||null}set(a,N,v){(0,n.unreachable)("Abstract method `set` called.")}}class e extends g{set(a){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=arguments.length>2?arguments[2]:void 0;if(typeof a!="string")throw new Error('LocalImageCache.set - expected "name" argument.');if(N){if(this._imageCache.has(N))return;this._nameRefMap.set(a,N),this._imageCache.put(N,v);return}this._imageMap.has(a)||this._imageMap.set(a,v)}}d.LocalImageCache=e;class t extends g{set(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=arguments.length>2?arguments[2]:void 0;if(typeof a!="string"&&!N)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(N){if(this._imageCache.has(N))return;a!==null&&this._nameRefMap.set(a,N),this._imageCache.put(N,v);return}this._imageMap.has(a)||this._imageMap.set(a,v)}}d.LocalColorSpaceCache=t;class s extends g{constructor(a){super({onlyRefs:!0})}set(){let a=arguments.length>1?arguments[1]:void 0,N=arguments.length>2?arguments[2]:void 0;if(!a)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(a)||this._imageCache.put(a,N)}}d.LocalFunctionCache=s;class L extends g{set(a){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=arguments.length>2?arguments[2]:void 0;if(typeof a!="string")throw new Error('LocalGStateCache.set - expected "name" argument.');if(N){if(this._imageCache.has(N))return;this._nameRefMap.set(a,N),this._imageCache.put(N,v);return}this._imageMap.has(a)||this._imageMap.set(a,v)}}d.LocalGStateCache=L;class U extends g{constructor(a){super({onlyRefs:!0})}set(){let a=arguments.length>1?arguments[1]:void 0,N=arguments.length>2?arguments[2]:void 0;if(!a)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(a)||this._imageCache.put(a,N)}}d.LocalTilingPatternCache=U;class C extends g{constructor(a){super({onlyRefs:!0})}set(){let a=arguments.length>1?arguments[1]:void 0,N=arguments.length>2?arguments[2]:void 0;if(!a)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(a)||this._imageCache.put(a,N)}}d.RegionalImageCache=C;const f=class f{constructor(){this._refCache=new u.RefSetCache,this._imageCache=new u.RefSetCache}get _byteSize(){let a=0;for(const N of this._imageCache)a+=N.byteSize;return a}get _cacheLimitReached(){return!(this._imageCache.size0&&arguments[0]!==void 0?arguments[0]:!1)||this._refCache.clear(),this._imageCache.clear()}};Xt(f,"NUM_PAGES_THRESHOLD",2),Xt(f,"MIN_IMAGES_TO_CACHE",10),Xt(f,"MAX_BYTE_SIZE",5*n.MAX_IMAGE_SIZE_TO_CACHE);let y=f;d.GlobalImageCache=y},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.bidi=x;var n=i(145);const u=["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"],g=["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(a){return(a&1)!==0}function t(a){return(a&1)===0}function s(a,N,v){let P,F;for(P=N,F=a.length;P2&&arguments[2]!==void 0?arguments[2]:!1,P="ltr";return v?P="ttb":N||(P="rtl"),{str:a,dir:P}}const y=[],f=[];function x(a){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,P=!0;const F=a.length;if(F===0||v)return C(a,P,v);y.length=F,f.length=F;let B=0,W,j;for(W=0;W4?(P=!0,N=0):(P=!1,N=1));const M=[];for(W=0;W=0&&f[S]==="ET";--S)f[S]="EN";for(let S=W+1;S0&&(p=f[W-1]);let G=h;S+1R&&e(R)&&(b=R);for(R=l;R>=b;--R){let S=-1;for(W=0,j=M.length;W=0&&(U(y,S,W),S=-1):S<0&&(S=W);S>=0&&U(y,S,M.length)}for(W=0,j=y.length;W")&&(y[W]="")}return C(y.join(""),P)}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.getFontSubstitution=f,i(140);var n=i(189),u=i(150);const g={style:"normal",weight:"normal"},e={style:"normal",weight:"bold"},t={style:"italic",weight:"normal"},s={style:"italic",weight:"bold"},L=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:g,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:e,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:t,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:s,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:g,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:e,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:t,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:s,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono"],style:g,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:e,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:t,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:s,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:g,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:e,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:t,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:s,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:g,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:e,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:t,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:s,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:g}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),U=new Map([["Arial-Black","ArialBlack"]]);function C(x){switch(x){case e:return"Bold";case t:return"Italic";case s:return"Bold Italic";default:if((x==null?void 0:x.weight)==="bold")return"Bold";if((x==null?void 0:x.style)==="italic")return"Italic"}return""}function y(x,a,N){let{alias:v,local:P,path:F,fallback:B,style:W,ultimate:j}=x,M=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,T=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"";const h={style:null,ultimate:null};if(P){const E=c?` ${c}`:"";for(const o of P)a.push(`local(${o}${E})`)}if(v){const E=L.get(v),o=c||C(W);Object.assign(h,y(E,a,N,M&&!B,T&&!F,o))}if(W&&(h.style=W),j&&(h.ultimate=j),M&&B){const E=L.get(B),{ultimate:o}=y(E,a,N,M,T&&!F,c);h.ultimate||(h.ultimate=o)}return T&&F&&N&&a.push(`url(${N}${F})`),h}function f(x,a,N,v,P){v=(0,n.normalizeFontName)(v);const F=v;let B=x.get(F);if(B)return B;let W=L.get(v);if(!W){for(const[l,b]of U)if(v.startsWith(l)){v=`${b}${v.substring(l.length)}`,W=L.get(v);break}}let j=!1;W||(W=L.get(P),j=!0);const M=`${a.getDocId()}_s${a.createFontId()}`;if(!W){if(!(0,u.validateFontName)(v))return x.set(F,null),null;const l=/bold/gi.test(v),b=/oblique|italic/gi.test(v),R=l&&b&&s||l&&e||b&&t||g;return B={css:M,guessFallback:!0,loadedName:M,baseFontName:v,src:`local(${v})`,style:R},x.set(F,B),B}const T=[];j&&(0,u.validateFontName)(v)&&T.push(`local(${v})`);const{style:c,ultimate:h}=y(W,T,N),E=h===null,o=E?"":`,${h}`;return B={css:`${M}${o}`,guessFallback:E,loadedName:M,baseFontName:v,src:T.join(","),style:c},x.set(F,B),B}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.ImageResizer=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(2);var n=i(145);const u=2048,g=65537,e=128;class t{constructor(L,U){this._imgData=L,this._isMask=U}static needsToBeResized(L,U){if(L<=this._goodSquareLength&&U<=this._goodSquareLength)return!1;const{MAX_DIM:C}=this;if(L>C||U>C)return!0;const y=L*U;if(this._hasMaxArea)return y>this.MAX_AREA;if(yf}static get MAX_DIM(){return(0,n.shadow)(this,"MAX_DIM",this._guessMax(u,g,0,1))}static get MAX_AREA(){return this._hasMaxArea=!0,(0,n.shadow)(this,"MAX_AREA",this._guessMax(t._goodSquareLength,this.MAX_DIM,e,0)**2)}static set MAX_AREA(L){L>=0&&(this._hasMaxArea=!0,(0,n.shadow)(this,"MAX_AREA",L))}static setMaxArea(L){this._hasMaxArea||(this.MAX_AREA=L>>2)}static _areGoodDims(L,U){try{const C=new OffscreenCanvas(L,U),y=C.getContext("2d");y.fillRect(0,0,1,1);const f=y.getImageData(0,0,1,1).data[3];return C.width=C.height=1,f!==0}catch{return!1}}static _guessMax(L,U,C,y){for(;L+C+11&&arguments[1]!==void 0?arguments[1]:!1;return new t(L,U)._createImage()}async _createImage(){const L=this._encodeBMP(),U=new Blob([L.buffer],{type:"image/bmp"}),C=createImageBitmap(U),{MAX_AREA:y,MAX_DIM:f}=t,{_imgData:x}=this,{width:a,height:N}=x,v=Math.max(a/f,N/f,Math.sqrt(a*N/y)),P=Math.max(v,2),F=Math.round(10*(v+1.25))/10/P,B=Math.floor(Math.log2(F)),W=new Array(B+2).fill(2);W[0]=P,W.splice(-1,1,F/(1<>3,T=M+3&-4;if(M!==T){const c=new Uint8Array(T*U);let h=0;for(let E=0,o=U*M;E{Object.defineProperty(d,"__esModule",{value:!0}),d.MurmurHash3_64=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(2);var n=i(145);const u=3285377520,g=4294901760,e=65535;class t{constructor(L){this.h1=L?L&4294967295:u,this.h2=L?L&4294967295:u}update(L){let U,C;if(typeof L=="string"){U=new Uint8Array(L.length*2),C=0;for(let M=0,T=L.length;M>>8,U[C++]=c&255)}}else if((0,n.isArrayBuffer)(L))U=L.slice(),C=U.byteLength;else throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");const y=C>>2,f=C-y*4,x=new Uint32Array(U.buffer,0,y);let a=0,N=0,v=this.h1,P=this.h2;const F=3432918353,B=461845907,W=F&e,j=B&e;for(let M=0;M>>17,a=a*B&g|a*j&e,v^=a,v=v<<13|v>>>19,v=v*5+3864292196):(N=x[M],N=N*F&g|N*W&e,N=N<<15|N>>>17,N=N*B&g|N*j&e,P^=N,P=P<<13|P>>>19,P=P*5+3864292196);switch(a=0,f){case 3:a^=U[y*4+2]<<16;case 2:a^=U[y*4+1]<<8;case 1:a^=U[y*4],a=a*F&g|a*W&e,a=a<<15|a>>>17,a=a*B&g|a*j&e,y&1?v^=a:P^=a}this.h1=v,this.h2=P}hexdigest(){let L=this.h1,U=this.h2;return L^=U>>>1,L=L*3981806797&g|L*36045&e,U=U*4283543511&g|((U<<16|L>>>16)*2950163797&g)>>>16,L^=U>>>1,L=L*444984403&g|L*60499&e,U=U*3301882366&g|((U<<16|L>>>16)*3120437893&g)>>>16,L^=U>>>1,(L>>>0).toString(16).padStart(8,"0")+(U>>>0).toString(16).padStart(8,"0")}}d.MurmurHash3_64=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.OperatorList=void 0,i(2),i(140),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(116),i(127),i(129),i(132),i(134),i(136),i(138);var n=i(145);function u(U,C,y,f,x){let a=U;for(let N=0,v=C.length-1;N1e3&&(T=Math.max(T,E),o+=h+2,E=0,h=0),c.push({transform:$,x:E,y:o,w:A.width,h:A.height}),E+=A.width+2,h=Math.max(h,A.height)}const l=Math.max(T,E)+1,b=o+h+1,R=new Uint8Array(l*b*4),S=l<<2;for(let G=0;G=0;)$[w-4]=$[w],$[w-3]=$[w+1],$[w-2]=$[w+2],$[w-1]=$[w+3],$[w+A]=$[w+A-4],$[w+A+1]=$[w+A-3],$[w+A+2]=$[w+A-2],$[w+A+3]=$[w+A-1],w-=S}const p={width:l,height:b};if(C.isOffscreenCanvasSupported){const G=new OffscreenCanvas(l,b);G.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(R.buffer),l,b),0,0),p.bitmap=G.transferToImageBitmap(),p.data=null}else p.kind=n.ImageKind.RGBA_32BPP,p.data=R;return v.splice(B,M*4,n.OPS.paintInlineImageXObjectGroup),P.splice(B,M*4,[p,c]),B+1}),u(g,[n.OPS.save,n.OPS.transform,n.OPS.paintImageMaskXObject,n.OPS.restore],null,function(C,y){const f=C.fnArray,x=C.iCurr-3,a=(y-x)%4;switch(a){case 0:return f[y]===n.OPS.save;case 1:return f[y]===n.OPS.transform;case 2:return f[y]===n.OPS.paintImageMaskXObject;case 3:return f[y]===n.OPS.restore}throw new Error(`iterateImageMaskGroup - invalid pos: ${a}`)},function(C,y){const N=C.fnArray,v=C.argsArray,P=C.iCurr,F=P-3,B=P-2,W=P-1;let j=Math.floor((y-F)/4);if(j<10)return y-(y-F)%4;let M=!1,T,c;const h=v[W][0],E=v[B][0],o=v[B][1],l=v[B][2],b=v[B][3];if(o===l){M=!0,T=B+4;let R=W+4;for(let S=1;S=4&&x[v-4]===x[P]&&x[v-3]===x[F]&&x[v-2]===x[B]&&x[v-1]===x[W]&&a[v-4][0]===j&&a[v-4][1]===M&&(T++,c-=5);let h=c+4;for(let E=1;E=f)break}if(x=(x||g)[C[y]],!x||Array.isArray(x)){y++;continue}if(N.iCurr=y,y++,x.checkFn&&!(0,x.checkFn)(N)){x=null;continue}a=x,x=null}this.state=x,this.match=a,this.lastProcessed=y}flush(){for(;this.match;){const C=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,C),this.match=null,this.state=null,this._optimize()}}reset(){this.state=null,this.match=null,this.lastProcessed=0}}const L=class L{constructor(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,y=arguments.length>1?arguments[1]:void 0;this._streamSink=y,this.fnArray=[],this.argsArray=[],this.optimizer=y&&!(C&n.RenderingIntentFlag.OPLIST)?new t(this):new e(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=y?null:Promise.resolve()}set isOffscreenCanvasSupported(C){this.optimizer.isOffscreenCanvasSupported=C}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(C,y){this.optimizer.push(C,y),this.weight++,this._streamSink&&(this.weight>=L.CHUNK_SIZE?this.flush():this.weight>=L.CHUNK_SIZE_ABOUT&&(C===n.OPS.restore||C===n.OPS.endText)&&this.flush())}addImageOps(C,y,f){f!==void 0&&this.addOp(n.OPS.beginMarkedContentProps,["OC",f]),this.addOp(C,y),f!==void 0&&this.addOp(n.OPS.endMarkedContent,[])}addDependency(C){this.dependencies.has(C)||(this.dependencies.add(C),this.addOp(n.OPS.dependency,[C]))}addDependencies(C){for(const y of C)this.addDependency(y)}addOpList(C){if(!(C instanceof L)){(0,n.warn)('addOpList - ignoring invalid "opList" parameter.');return}for(const y of C.dependencies)this.dependencies.add(y);for(let y=0,f=C.length;y0&&arguments[0]!==void 0?arguments[0]:!1,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.optimizer.flush();const f=this.length;this._totalLength+=f,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:C,separateAnnots:y,length:f},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}};Xt(L,"CHUNK_SIZE",1e3),Xt(L,"CHUNK_SIZE_ABOUT",L.CHUNK_SIZE-5);let s=L;d.OperatorList=s},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.PDFImage=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(2);var n=i(145),u=i(179),g=i(152),e=i(163),t=i(169),s=i(213),L=i(177),U=i(181),C=i(151);function y(a,N,v,P){return a=N+a*v,a<0?a=0:a>P&&(a=P),a}function f(a,N,v,P,F,B){const W=F*B;let j;N<=8?j=new Uint8Array(W):N<=16?j=new Uint16Array(W):j=new Uint32Array(W);const M=v/F,T=P/B;let c,h,E,o=0,l;const b=new Uint16Array(F),R=v;for(c=0;c0&&Number.isInteger(F.height)&&F.height>0&&(F.width!==l||F.height!==b)&&((0,n.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),l=F.width,b=F.height),l<1||b<1)throw new n.FormatError(`Invalid image width: ${l} or height: ${b}`);this.width=l,this.height=b,this.interpolate=h.get("I","Interpolate"),this.imageMask=h.get("IM","ImageMask")||!1,this.matte=h.get("Matte")||!1;let R=F.bitsPerComponent;if(!R&&(R=h.get("BPC","BitsPerComponent"),!R))if(this.imageMask)R=1;else throw new n.FormatError(`Bits per component missing in image: ${this.imageMask}`);if(this.bpc=R,!this.imageMask){let p=h.getRaw("CS")||h.getRaw("ColorSpace");if(!p)switch((0,n.info)("JPX images (which do not require color spaces)"),F.numComps){case 1:p=C.Name.get("DeviceGray");break;case 3:p=C.Name.get("DeviceRGB");break;case 4:p=C.Name.get("DeviceCMYK");break;default:throw new Error(`JPX images with ${F.numComps} color components not supported.`)}this.colorSpace=e.ColorSpace.parse({cs:p,xref:v,resources:B?P:null,pdfFunctionFactory:T,localColorSpaceCache:c}),this.numComps=this.colorSpace.numComps}if(this.decode=h.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,R)||M&&!e.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const p=(1<>3)*F,T=v.byteLength,c=M===T;let h,E;if(B&&(!W||c)?h=v:W?(h=new Uint8Array(M),h.set(v),h.fill(255,T)):h=new Uint8Array(v),W)for(E=0;E>7&1,M[h+1]=o>>6&1,M[h+2]=o>>5&1,M[h+3]=o>>4&1,M[h+4]=o>>3&1,M[h+5]=o>>2&1,M[h+6]=o>>1&1,M[h+7]=o&1,h+=8;if(h>=1}}else{let l=0;for(o=0,h=0,E=W;h>b;R<0?R=0:R>c&&(R=c),M[h]=R,o&=(1<j[p+1]){b=255;break}}M[h]=b}}else throw new n.FormatError("Unknown mask format.");if(M)for(h=0,o=3,E=v*F;h0&&arguments[0]!==void 0?arguments[0]:!1,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const P=this.drawWidth,F=this.drawHeight,B={width:P,height:F,interpolate:this.interpolate,kind:0,data:null},W=this.numComps,j=this.width,M=this.height,T=this.bpc,c=j*W*T+7>>3,h=v&&s.ImageResizer.needsToBeResized(P,F);if(!N){let A;if(this.colorSpace.name==="DeviceGray"&&T===1?A=n.ImageKind.GRAYSCALE_1BPP:this.colorSpace.name==="DeviceRGB"&&T===8&&!this.needsDecode&&(A=n.ImageKind.RGB_24BPP),A&&!this.smask&&!this.mask&&P===j&&F===M){const D=this.getImageBytes(M*c,{});if(v)return h?s.ImageResizer.createImage({data:D,kind:A,width:P,height:F,interpolate:this.interpolate},this.needsDecode):this.createBitmap(A,j,M,D);if(B.kind=A,B.data=D,this.needsDecode){(0,n.assert)(A===n.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");const w=B.data;for(let m=0,I=w.length;m>3,j=this.getImageBytes(F*W,{internal:!0}),M=this.getComponents(j);let T,c;if(B===1){if(c=P*F,this.needsDecode)for(T=0;T{Object.defineProperty(d,"__esModule",{value:!0}),d.Catalog=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140),i(2);var n=i(150),u=i(145),g=i(151),e=i(218),t=i(152),s=i(219),L=i(163),U=i(220),C=i(210),y=i(221),f=i(223);function x(N){return N instanceof g.Dict&&(N=N.get("D")),Array.isArray(N)?N:null}class a{constructor(v,P){if(this.pdfManager=v,this.xref=P,this._catDict=P.getCatalogObj(),!(this._catDict instanceof g.Dict))throw new u.FormatError("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new g.RefSetCache,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new C.GlobalImageCache,this.pageKidsCountCache=new g.RefSetCache,this.pageIndexCache=new g.RefSetCache,this.nonBlendModesSet=new g.RefSet,this.systemFontCache=new Map}cloneDict(){return this._catDict.clone()}get version(){const v=this._catDict.get("Version");if(v instanceof g.Name){if(n.PDF_VERSION_REGEXP.test(v.name))return(0,u.shadow)(this,"version",v.name);(0,u.warn)(`Invalid PDF catalog version: ${v.name}`)}return(0,u.shadow)(this,"version",null)}get lang(){const v=this._catDict.get("Lang");return(0,u.shadow)(this,"lang",typeof v=="string"?(0,u.stringToPDFString)(v):null)}get needsRendering(){const v=this._catDict.get("NeedsRendering");return(0,u.shadow)(this,"needsRendering",typeof v=="boolean"?v:!1)}get collection(){let v=null;try{const P=this._catDict.get("Collection");P instanceof g.Dict&&P.size>0&&(v=P)}catch(P){if(P instanceof n.MissingDataException)throw P;(0,u.info)("Cannot fetch Collection entry; assuming no collection is present.")}return(0,u.shadow)(this,"collection",v)}get acroForm(){let v=null;try{const P=this._catDict.get("AcroForm");P instanceof g.Dict&&P.size>0&&(v=P)}catch(P){if(P instanceof n.MissingDataException)throw P;(0,u.info)("Cannot fetch AcroForm entry; assuming no forms are present.")}return(0,u.shadow)(this,"acroForm",v)}get acroFormRef(){const v=this._catDict.getRaw("AcroForm");return(0,u.shadow)(this,"acroFormRef",v instanceof g.Ref?v:null)}get metadata(){var F;const v=this._catDict.getRaw("Metadata");if(!(v instanceof g.Ref))return(0,u.shadow)(this,"metadata",null);let P=null;try{const B=this.xref.fetch(v,!((F=this.xref.encrypt)!=null&&F.encryptMetadata));if(B instanceof t.BaseStream&&B.dict instanceof g.Dict){const W=B.dict.get("Type"),j=B.dict.get("Subtype");if((0,g.isName)(W,"Metadata")&&(0,g.isName)(j,"XML")){const M=(0,u.stringToUTF8String)(B.getString());M&&(P=new y.MetadataParser(M).serializable)}}}catch(B){if(B instanceof n.MissingDataException)throw B;(0,u.info)(`Skipping invalid Metadata: "${B}".`)}return(0,u.shadow)(this,"metadata",P)}get markInfo(){let v=null;try{v=this._readMarkInfo()}catch(P){if(P instanceof n.MissingDataException)throw P;(0,u.warn)("Unable to read mark info.")}return(0,u.shadow)(this,"markInfo",v)}_readMarkInfo(){const v=this._catDict.get("MarkInfo");if(!(v instanceof g.Dict))return null;const P={Marked:!1,UserProperties:!1,Suspects:!1};for(const F in P){const B=v.get(F);typeof B=="boolean"&&(P[F]=B)}return P}get structTreeRoot(){let v=null;try{v=this._readStructTreeRoot()}catch(P){if(P instanceof n.MissingDataException)throw P;(0,u.warn)("Unable read to structTreeRoot info.")}return(0,u.shadow)(this,"structTreeRoot",v)}_readStructTreeRoot(){const v=this._catDict.getRaw("StructTreeRoot"),P=this.xref.fetchIfRef(v);if(!(P instanceof g.Dict))return null;const F=new f.StructTreeRoot(P,v);return F.init(),F}get toplevelPagesDict(){const v=this._catDict.get("Pages");if(!(v instanceof g.Dict))throw new u.FormatError("Invalid top-level pages dictionary.");return(0,u.shadow)(this,"toplevelPagesDict",v)}get documentOutline(){let v=null;try{v=this._readDocumentOutline()}catch(P){if(P instanceof n.MissingDataException)throw P;(0,u.warn)("Unable to read document outline.")}return(0,u.shadow)(this,"documentOutline",v)}_readDocumentOutline(){let v=this._catDict.get("Outlines");if(!(v instanceof g.Dict)||(v=v.getRaw("First"),!(v instanceof g.Ref)))return null;const P={items:[]},F=[{obj:v,parent:P}],B=new g.RefSet;B.put(v);const W=this.xref,j=new Uint8ClampedArray(3);for(;F.length>0;){const M=F.shift(),T=W.fetchIfRef(M.obj);if(T===null)continue;if(!T.has("Title"))throw new u.FormatError("Invalid outline item encountered.");const c={url:null,dest:null,action:null};a.parseDestDictionary({destDict:T,resultObj:c,docBaseUrl:this.baseUrl,docAttachments:this.attachments});const h=T.get("Title"),E=T.get("F")||0,o=T.getArray("C"),l=T.get("Count");let b=j;Array.isArray(o)&&o.length===3&&(o[0]!==0||o[1]!==0||o[2]!==0)&&(b=L.ColorSpace.singletons.rgb.getRgb(o,0));const R={action:c.action,attachment:c.attachment,dest:c.dest,url:c.url,unsafeUrl:c.unsafeUrl,newWindow:c.newWindow,setOCGState:c.setOCGState,title:(0,u.stringToPDFString)(h),color:b,count:Number.isInteger(l)?l:void 0,bold:!!(E&2),italic:!!(E&1),items:[]};M.parent.items.push(R),v=T.getRaw("First"),v instanceof g.Ref&&!B.has(v)&&(F.push({obj:v,parent:R}),B.put(v)),v=T.getRaw("Next"),v instanceof g.Ref&&!B.has(v)&&(F.push({obj:v,parent:M.parent}),B.put(v))}return P.items.length>0?P.items:null}get permissions(){let v=null;try{v=this._readPermissions()}catch(P){if(P instanceof n.MissingDataException)throw P;(0,u.warn)("Unable to read permissions.")}return(0,u.shadow)(this,"permissions",v)}_readPermissions(){const v=this.xref.trailer.get("Encrypt");if(!(v instanceof g.Dict))return null;let P=v.get("P");if(typeof P!="number")return null;P+=4294967296;const F=[];for(const B in u.PermissionFlag){const W=u.PermissionFlag[B];P&W&&F.push(W)}return F}get optionalContentConfig(){let v=null;try{const P=this._catDict.get("OCProperties");if(!P)return(0,u.shadow)(this,"optionalContentConfig",null);const F=P.get("D");if(!F)return(0,u.shadow)(this,"optionalContentConfig",null);const B=P.get("OCGs");if(!Array.isArray(B))return(0,u.shadow)(this,"optionalContentConfig",null);const W=[],j=[];for(const M of B){if(!(M instanceof g.Ref))continue;j.push(M);const T=this.xref.fetchIfRef(M);W.push({id:M.toString(),name:typeof T.get("Name")=="string"?(0,u.stringToPDFString)(T.get("Name")):null,intent:typeof T.get("Intent")=="string"?(0,u.stringToPDFString)(T.get("Intent")):null})}v=this._readOptionalContentConfig(F,j),v.groups=W}catch(P){if(P instanceof n.MissingDataException)throw P;(0,u.warn)(`Unable to read optional content config: ${P}`)}return(0,u.shadow)(this,"optionalContentConfig",v)}_readOptionalContentConfig(v,P){function F(c){const h=[];if(Array.isArray(c))for(const E of c)E instanceof g.Ref&&P.includes(E)&&h.push(E.toString());return h}function B(c){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!Array.isArray(c))return null;const E=[];for(const l of c){if(l instanceof g.Ref&&P.includes(l)){M.put(l),E.push(l.toString());continue}const b=W(l,h);b&&E.push(b)}if(h>0)return E;const o=[];for(const l of P)M.has(l)||o.push(l.toString());return o.length&&E.push({name:null,order:o}),E}function W(c,h){if(++h>T)return(0,u.warn)("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;const E=j.fetchIfRef(c);if(!Array.isArray(E))return null;const o=j.fetchIfRef(E[0]);if(typeof o!="string")return null;const l=B(E.slice(1),h);return!l||!l.length?null:{name:(0,u.stringToPDFString)(o),order:l}}const j=this.xref,M=new g.RefSet,T=10;return{name:typeof v.get("Name")=="string"?(0,u.stringToPDFString)(v.get("Name")):null,creator:typeof v.get("Creator")=="string"?(0,u.stringToPDFString)(v.get("Creator")):null,baseState:v.get("BaseState")instanceof g.Name?v.get("BaseState").name:null,on:F(v.get("ON")),off:F(v.get("OFF")),order:B(v.get("Order")),groups:null}}setActualNumPages(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._actualNumPages=v}get hasActualNumPages(){return this._actualNumPages!==null}get _pagesCount(){const v=this.toplevelPagesDict.get("Count");if(!Number.isInteger(v))throw new u.FormatError("Page count in top-level pages dictionary is not an integer.");return(0,u.shadow)(this,"_pagesCount",v)}get numPages(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}get destinations(){const v=this._readDests(),P=Object.create(null);if(v instanceof e.NameTree)for(const[F,B]of v.getAll()){const W=x(B);W&&(P[(0,u.stringToPDFString)(F)]=W)}else v instanceof g.Dict&&v.forEach(function(F,B){const W=x(B);W&&(P[F]=W)});return(0,u.shadow)(this,"destinations",P)}getDestination(v){const P=this._readDests();if(P instanceof e.NameTree){const F=x(P.get(v));if(F)return F;const B=this.destinations[v];if(B)return(0,u.warn)(`Found "${v}" at an incorrect position in the NameTree.`),B}else if(P instanceof g.Dict){const F=x(P.get(v));if(F)return F}return null}_readDests(){const v=this._catDict.get("Names");if(v!=null&&v.has("Dests"))return new e.NameTree(v.getRaw("Dests"),this.xref);if(this._catDict.has("Dests"))return this._catDict.get("Dests")}get pageLabels(){let v=null;try{v=this._readPageLabels()}catch(P){if(P instanceof n.MissingDataException)throw P;(0,u.warn)("Unable to read page labels.")}return(0,u.shadow)(this,"pageLabels",v)}_readPageLabels(){const v=this._catDict.getRaw("PageLabels");if(!v)return null;const P=new Array(this.numPages);let F=null,B="";const j=new e.NumberTree(v,this.xref).getAll();let M="",T=1;for(let c=0,h=this.numPages;c=1))throw new u.FormatError("Invalid start in PageLabel dictionary.");T=o}else T=1}switch(F){case"D":M=T;break;case"R":case"r":M=(0,n.toRomanNumerals)(T,F==="r");break;case"A":case"a":const o=26,R=F==="a"?97:65,S=T-1;M=String.fromCharCode(R+S%o).repeat(Math.floor(S/o)+1);break;default:if(F)throw new u.FormatError(`Invalid style "${F}" in PageLabel dictionary.`);M=""}P[c]=B+M,T++}return P}get pageLayout(){const v=this._catDict.get("PageLayout");let P="";if(v instanceof g.Name)switch(v.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":P=v.name}return(0,u.shadow)(this,"pageLayout",P)}get pageMode(){const v=this._catDict.get("PageMode");let P="UseNone";if(v instanceof g.Name)switch(v.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":P=v.name}return(0,u.shadow)(this,"pageMode",P)}get viewerPreferences(){const v=this._catDict.get("ViewerPreferences");if(!(v instanceof g.Dict))return(0,u.shadow)(this,"viewerPreferences",null);let P=null;for(const F of v.getKeys()){const B=v.get(F);let W;switch(F){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":typeof B=="boolean"&&(W=B);break;case"NonFullScreenPageMode":if(B instanceof g.Name)switch(B.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":W=B.name;break;default:W="UseNone"}break;case"Direction":if(B instanceof g.Name)switch(B.name){case"L2R":case"R2L":W=B.name;break;default:W="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(B instanceof g.Name)switch(B.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":W=B.name;break;default:W="CropBox"}break;case"PrintScaling":if(B instanceof g.Name)switch(B.name){case"None":case"AppDefault":W=B.name;break;default:W="AppDefault"}break;case"Duplex":if(B instanceof g.Name)switch(B.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":W=B.name;break;default:W="None"}break;case"PrintPageRange":Array.isArray(B)&&B.length%2===0&&B.every((M,T,c)=>Number.isInteger(M)&&M>0&&(T===0||M>=c[T-1])&&M<=this.numPages)&&(W=B);break;case"NumCopies":Number.isInteger(B)&&B>0&&(W=B);break;default:(0,u.warn)(`Ignoring non-standard key in ViewerPreferences: ${F}.`);continue}if(W===void 0){(0,u.warn)(`Bad value, for key "${F}", in ViewerPreferences: ${B}.`);continue}P||(P=Object.create(null)),P[F]=W}return(0,u.shadow)(this,"viewerPreferences",P)}get openAction(){const v=this._catDict.get("OpenAction"),P=Object.create(null);if(v instanceof g.Dict){const F=new g.Dict(this.xref);F.set("A",v);const B={url:null,dest:null,action:null};a.parseDestDictionary({destDict:F,resultObj:B}),Array.isArray(B.dest)?P.dest=B.dest:B.action&&(P.action=B.action)}else Array.isArray(v)&&(P.dest=v);return(0,u.shadow)(this,"openAction",(0,u.objectSize)(P)>0?P:null)}get attachments(){const v=this._catDict.get("Names");let P=null;if(v instanceof g.Dict&&v.has("EmbeddedFiles")){const F=new e.NameTree(v.getRaw("EmbeddedFiles"),this.xref);for(const[B,W]of F.getAll()){const j=new U.FileSpec(W,this.xref);P||(P=Object.create(null)),P[(0,u.stringToPDFString)(B)]=j.serializable}}return(0,u.shadow)(this,"attachments",P)}get xfaImages(){const v=this._catDict.get("Names");let P=null;if(v instanceof g.Dict&&v.has("XFAImages")){const F=new e.NameTree(v.getRaw("XFAImages"),this.xref);for(const[B,W]of F.getAll())P||(P=new g.Dict(this.xref)),P.set((0,u.stringToPDFString)(B),W)}return(0,u.shadow)(this,"xfaImages",P)}_collectJavaScript(){const v=this._catDict.get("Names");let P=null;function F(W,j){if(!(j instanceof g.Dict)||!(0,g.isName)(j.get("S"),"JavaScript"))return;let M=j.get("JS");if(M instanceof t.BaseStream)M=M.getString();else if(typeof M!="string")return;M=(0,u.stringToPDFString)(M).replaceAll("\0",""),M&&(P||(P=new Map)).set(W,M)}if(v instanceof g.Dict&&v.has("JavaScript")){const W=new e.NameTree(v.getRaw("JavaScript"),this.xref);for(const[j,M]of W.getAll())F((0,u.stringToPDFString)(j),M)}const B=this._catDict.get("OpenAction");return B&&F("OpenAction",B),P}get jsActions(){const v=this._collectJavaScript();let P=(0,n.collectActions)(this.xref,this._catDict,u.DocumentActionEventType);if(v){P||(P=Object.create(null));for(const[F,B]of v)F in P?P[F].push(B):P[F]=[B]}return(0,u.shadow)(this,"jsActions",P)}async fontFallback(v,P){const F=await Promise.all(this.fontCache);for(const B of F)if(B.loadedName===v){B.fallback(P);return}}async cleanup(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;(0,s.clearGlobalCaches)(),this.globalImageCache.clear(v),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.nonBlendModesSet.clear();const P=await Promise.all(this.fontCache);for(const{dict:F}of P)delete F.cacheKey;this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear(),this.systemFontCache.clear()}async getPageDict(v){const P=[this.toplevelPagesDict],F=new g.RefSet,B=this._catDict.getRaw("Pages");B instanceof g.Ref&&F.put(B);const W=this.xref,j=this.pageKidsCountCache,M=this.pageIndexCache;let T=0;for(;P.length;){const c=P.pop();if(c instanceof g.Ref){const l=j.get(c);if(l>=0&&T+l<=v){T+=l;continue}if(F.has(c))throw new u.FormatError("Pages tree contains circular reference.");F.put(c);const b=await W.fetchAsync(c);if(b instanceof g.Dict){let R=b.getRaw("Type");if(R instanceof g.Ref&&(R=await W.fetchAsync(R)),(0,g.isName)(R,"Page")||!b.has("Kids")){if(j.has(c)||j.put(c,1),M.has(c)||M.put(c,T),T===v)return[b,c];T++;continue}}P.push(b);continue}if(!(c instanceof g.Dict))throw new u.FormatError("Page dictionary kid reference points to wrong type of object.");const{objId:h}=c;let E=c.getRaw("Count");if(E instanceof g.Ref&&(E=await W.fetchAsync(E)),Number.isInteger(E)&&E>=0&&(h&&!j.has(h)&&j.put(h,E),T+E<=v)){T+=E;continue}let o=c.getRaw("Kids");if(o instanceof g.Ref&&(o=await W.fetchAsync(o)),!Array.isArray(o)){let l=c.getRaw("Type");if(l instanceof g.Ref&&(l=await W.fetchAsync(l)),(0,g.isName)(l,"Page")||!c.has("Kids")){if(T===v)return[c,null];T++;continue}throw new u.FormatError("Page dictionary kids object is not an array.")}for(let l=o.length-1;l>=0;l--)P.push(o[l])}throw new Error(`Page index ${v} not found.`)}async getAllPageDicts(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const{ignoreErrors:P}=this.pdfManager.evaluatorOptions,F=[{currentNode:this.toplevelPagesDict,posInKids:0}],B=new g.RefSet,W=this._catDict.getRaw("Pages");W instanceof g.Ref&&B.put(W);const j=new Map,M=this.xref,T=this.pageIndexCache;let c=0;function h(o,l){l&&!T.has(l)&&T.put(l,c),j.set(c++,[o,l])}function E(o){if(o instanceof n.XRefEntryException&&!v)throw o;v&&P&&c===0&&((0,u.warn)(`getAllPageDicts - Skipping invalid first page: "${o}".`),o=g.Dict.empty),j.set(c++,[o,null])}for(;F.length>0;){const o=F.at(-1),{currentNode:l,posInKids:b}=o;let R=l.getRaw("Kids");if(R instanceof g.Ref)try{R=await M.fetchAsync(R)}catch($){E($);break}if(!Array.isArray(R)){E(new u.FormatError("Page dictionary kids object is not an array."));break}if(b>=R.length){F.pop();continue}const S=R[b];let p;if(S instanceof g.Ref){if(B.has(S)){E(new u.FormatError("Pages tree contains circular reference."));break}B.put(S);try{p=await M.fetchAsync(S)}catch($){E($);break}}else p=S;if(!(p instanceof g.Dict)){E(new u.FormatError("Page dictionary kid reference points to wrong type of object."));break}let G=p.getRaw("Type");if(G instanceof g.Ref)try{G=await M.fetchAsync(G)}catch($){E($);break}(0,g.isName)(G,"Page")||!p.has("Kids")?h(p,S instanceof g.Ref?S:null):F.push({currentNode:p,posInKids:0}),o.posInKids++}return j}getPageIndex(v){const P=this.pageIndexCache.get(v);if(P!==void 0)return Promise.resolve(P);const F=this.xref;function B(M){let T=0,c;return F.fetchAsync(M).then(function(h){if((0,g.isRefsEqual)(M,v)&&!(0,g.isDict)(h,"Page")&&!(h instanceof g.Dict&&!h.has("Type")&&h.has("Contents")))throw new u.FormatError("The reference does not point to a /Page dictionary.");if(!h)return null;if(!(h instanceof g.Dict))throw new u.FormatError("Node must be a dictionary.");return c=h.getRaw("Parent"),h.getAsync("Parent")}).then(function(h){if(!h)return null;if(!(h instanceof g.Dict))throw new u.FormatError("Parent must be a dictionary.");return h.getAsync("Kids")}).then(function(h){if(!h)return null;const E=[];let o=!1;for(const l of h){if(!(l instanceof g.Ref))throw new u.FormatError("Kid must be a reference.");if((0,g.isRefsEqual)(l,M)){o=!0;break}E.push(F.fetchAsync(l).then(function(b){if(!(b instanceof g.Dict))throw new u.FormatError("Kid node must be a dictionary.");b.has("Count")?T+=b.get("Count"):T++}))}if(!o)throw new u.FormatError("Kid reference not found in parent's kids.");return Promise.all(E).then(function(){return[T,c]})})}let W=0;const j=M=>B(M).then(T=>{if(!T)return this.pageIndexCache.put(v,W),W;const[c,h]=T;return W+=c,j(h)});return j(v)}get baseUrl(){const v=this._catDict.get("URI");if(v instanceof g.Dict){const P=v.get("Base");if(typeof P=="string"){const F=(0,u.createValidAbsoluteUrl)(P,null,{tryConvertEncoding:!0});if(F)return(0,u.shadow)(this,"baseUrl",F.href)}}return(0,u.shadow)(this,"baseUrl",this.pdfManager.docBaseUrl)}static parseDestDictionary(v){let{destDict:P,resultObj:F,docBaseUrl:B=null,docAttachments:W=null}=v;if(!(P instanceof g.Dict)){(0,u.warn)("parseDestDictionary: `destDict` must be a dictionary.");return}let j=P.get("A"),M,T;if(j instanceof g.Dict||(P.has("Dest")?j=P.get("Dest"):(j=P.get("AA"),j instanceof g.Dict&&(j.has("D")?j=j.get("D"):j.has("U")&&(j=j.get("U"))))),j instanceof g.Dict){const c=j.get("S");if(!(c instanceof g.Name)){(0,u.warn)("parseDestDictionary: Invalid type in Action dictionary.");return}const h=c.name;switch(h){case"ResetForm":const E=j.get("Flags"),o=((typeof E=="number"?E:0)&1)===0,l=[],b=[];for(const Q of j.get("Fields")||[])Q instanceof g.Ref?b.push(Q.toString()):typeof Q=="string"&&l.push((0,u.stringToPDFString)(Q));F.resetForm={fields:l,refs:b,include:o};break;case"URI":M=j.get("URI"),M instanceof g.Name&&(M="/"+M.name);break;case"GoTo":T=j.get("D");break;case"Launch":case"GoToR":const R=j.get("F");R instanceof g.Dict?M=R.get("F")||null:typeof R=="string"&&(M=R);let S=j.get("D");if(S&&(S instanceof g.Name&&(S=S.name),typeof M=="string")){const Q=M.split("#")[0];typeof S=="string"?M=Q+"#"+S:Array.isArray(S)&&(M=Q+"#"+JSON.stringify(S))}const p=j.get("NewWindow");typeof p=="boolean"&&(F.newWindow=p);break;case"GoToE":const G=j.get("T");let $;if(W&&G instanceof g.Dict){const Q=G.get("R"),oe=G.get("N");(0,g.isName)(Q,"C")&&typeof oe=="string"&&($=W[(0,u.stringToPDFString)(oe)])}$?F.attachment=$:(0,u.warn)('parseDestDictionary - unimplemented "GoToE" action.');break;case"Named":const A=j.get("N");A instanceof g.Name&&(F.action=A.name);break;case"SetOCGState":const D=j.get("State"),w=j.get("PreserveRB");if(!Array.isArray(D)||D.length===0)break;const m=[];for(const Q of D)if(Q instanceof g.Name)switch(Q.name){case"ON":case"OFF":case"Toggle":m.push(Q.name);break}else Q instanceof g.Ref&&m.push(Q.toString());if(m.length!==D.length)break;F.setOCGState={state:m,preserveRB:typeof w=="boolean"?w:!0};break;case"JavaScript":const I=j.get("JS");let H;I instanceof t.BaseStream?H=I.getString():typeof I=="string"&&(H=I);const Y=H&&(0,n.recoverJsURL)((0,u.stringToPDFString)(H));if(Y){M=Y.url,F.newWindow=Y.newWindow;break}default:if(h==="JavaScript"||h==="SubmitForm")break;(0,u.warn)(`parseDestDictionary - unsupported action: "${h}".`);break}}else P.has("Dest")&&(T=P.get("Dest"));if(typeof M=="string"){const c=(0,u.createValidAbsoluteUrl)(M,B,{addDefaultProtocol:!0,tryConvertEncoding:!0});c&&(F.url=c.href),F.unsafeUrl=M}T&&(T instanceof g.Name&&(T=T.name),typeof T=="string"?F.dest=(0,u.stringToPDFString)(T):Array.isArray(T)&&(F.dest=T))}}d.Catalog=a},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.NumberTree=d.NameTree=void 0,i(140);var n=i(151),u=i(145);class g{constructor(L,U,C){this.constructor===g&&(0,u.unreachable)("Cannot initialize NameOrNumberTree."),this.root=L,this.xref=U,this._type=C}getAll(){const L=new Map;if(!this.root)return L;const U=this.xref,C=new n.RefSet;C.put(this.root);const y=[this.root];for(;y.length>0;){const f=U.fetchIfRef(y.shift());if(!(f instanceof n.Dict))continue;if(f.has("Kids")){const a=f.get("Kids");if(!Array.isArray(a))continue;for(const N of a){if(C.has(N))throw new u.FormatError(`Duplicate entry in "${this._type}" tree.`);y.push(N),C.put(N)}continue}const x=f.get(this._type);if(Array.isArray(x))for(let a=0,N=x.length;af)return(0,u.warn)(`Search depth limit reached for "${this._type}" tree.`),null;const a=C.get("Kids");if(!Array.isArray(a))return null;let N=0,v=a.length-1;for(;N<=v;){const P=N+v>>1,F=U.fetchIfRef(a[P]),B=F.get("Limits");if(LU.fetchIfRef(B[1]))N=P+1;else{C=F;break}}if(N>v)return null}const x=C.get(this._type);if(Array.isArray(x)){let a=0,N=x.length-2;for(;a<=N;){const v=a+N>>1,P=v+(v&1),F=U.fetchIfRef(x[P]);if(LF)a=P+2;else return U.fetchIfRef(x[P+1])}}return null}}class e extends g{constructor(L,U){super(L,U,"Names")}}d.NameTree=e;class t extends g{constructor(L,U){super(L,U,"Nums")}}d.NumberTree=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.clearGlobalCaches=e;var n=i(201),u=i(151),g=i(191);function e(){(0,n.clearPatternCaches)(),(0,u.clearPrimitiveCaches)(),(0,g.clearUnicodeCaches)()}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.FileSpec=void 0;var n=i(145),u=i(152),g=i(151);function e(s){return s.has("UF")?s.get("UF"):s.has("F")?s.get("F"):s.has("Unix")?s.get("Unix"):s.has("Mac")?s.get("Mac"):s.has("DOS")?s.get("DOS"):null}class t{constructor(L,U){L instanceof g.Dict&&(this.xref=U,this.root=L,L.has("FS")&&(this.fs=L.get("FS")),this.description=L.has("Desc")?(0,n.stringToPDFString)(L.get("Desc")):"",L.has("RF")&&(0,n.warn)("Related file specifications are not supported"),this.contentAvailable=!0,L.has("EF")||(this.contentAvailable=!1,(0,n.warn)("Non-embedded file specifications are not supported")))}get filename(){if(!this._filename&&this.root){const L=e(this.root)||"unnamed";this._filename=(0,n.stringToPDFString)(L).replaceAll("\\\\","\\").replaceAll("\\/","/").replaceAll("\\","/")}return this._filename}get content(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=e(this.root.get("EF")));let L=null;if(this.contentRef){const U=this.xref.fetchIfRef(this.contentRef);U instanceof u.BaseStream?L=U.getBytes():(0,n.warn)("Embedded file specification points to non-existing/invalid content")}else(0,n.warn)("Embedded file specification does not have a content");return L}get serializable(){return{filename:this.filename,content:this.content}}}d.FileSpec=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.MetadataParser=void 0,i(2),i(140);var n=i(222);class u{constructor(e){e=this._repair(e);const s=new n.SimpleXMLParser({lowerCaseName:!0}).parseFromString(e);this._metadataMap=new Map,this._data=e,s&&this._parse(s)}_repair(e){return e.replace(/^[^<]+/,"").replaceAll(/>\\376\\377([^<]+)/g,function(t,s){const L=s.replaceAll(/\\([0-3])([0-7])([0-7])/g,function(C,y,f,x){return String.fromCharCode(y*64+f*8+x*1)}).replaceAll(/&(amp|apos|gt|lt|quot);/g,function(C,y){switch(y){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error(`_repair: ${y} isn't defined.`)}),U=[">"];for(let C=0,y=L.length;C=32&&f<127&&f!==60&&f!==62&&f!==38?U.push(String.fromCharCode(f)):U.push("&#x"+(65536+f).toString(16).substring(1)+";")}return U.join("")})}_getSequence(e){const t=e.nodeName;return t!=="rdf:bag"&&t!=="rdf:seq"&&t!=="rdf:alt"?null:e.childNodes.filter(s=>s.nodeName==="rdf:li")}_parseArray(e){if(!e.hasChildNodes())return;const[t]=e.childNodes,s=this._getSequence(t)||[];this._metadataMap.set(e.nodeName,s.map(L=>L.textContent.trim()))}_parse(e){let t=e.documentElement;if(t.nodeName!=="rdf:rdf")for(t=t.firstChild;t&&t.nodeName!=="rdf:rdf";)t=t.nextSibling;if(!(!t||t.nodeName!=="rdf:rdf"||!t.hasChildNodes())){for(const s of t.childNodes)if(s.nodeName==="rdf:description")for(const L of s.childNodes){const U=L.nodeName;switch(U){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(L);continue}this._metadataMap.set(U,L.textContent.trim())}}}get serializable(){return{parsedData:this._metadataMap,rawData:this._data}}}d.MetadataParser=u},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.XMLParserErrorCode=d.XMLParserBase=d.SimpleXMLParser=d.SimpleDOMNode=void 0,i(140);var n=i(150);const u={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};d.XMLParserErrorCode=u;function g(U,C){const y=U[C];return y===" "||y===` `||y==="\r"||y===" "}function e(U){for(let C=0,y=U.length;C{if(f.substring(0,2)==="#x")return String.fromCodePoint(parseInt(f.substring(2),16));if(f.substring(0,1)==="#")return String.fromCodePoint(parseInt(f.substring(1),10));switch(f){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return this.onResolveEntity(f)})}_parseContent(C,y){const f=[];let x=y;function a(){for(;x"&&C[x]!=="/";)++x;const N=C.substring(y,x);for(a();x"&&C[x]!=="/"&&C[x]!=="?";){a();let v="",P="";for(;x"&&C[f]!=="?"&&C[f]!=="/";)++f;const a=C.substring(y,f);x();const N=f;for(;f");)++f;const v=C.substring(N,f);return{name:a,value:v,parsed:f-y}}parseXml(C){let y=0;for(;y",x),N<0){this.onError(u.UnterminatedElement);return}this.onEndElement(C.substring(x,N)),x=N+1;break;case"?":++x;const v=this._parseProcessingInstruction(C,x);if(C.substring(x+v.parsed,x+v.parsed+2)!=="?>"){this.onError(u.UnterminatedXmlDeclaration);return}this.onPi(v.name,v.value),x+=v.parsed+2;break;case"!":if(C.substring(x+1,x+3)==="--"){if(N=C.indexOf("-->",x+3),N<0){this.onError(u.UnterminatedComment);return}this.onComment(C.substring(x+3,N)),x=N+3}else if(C.substring(x+1,x+8)==="[CDATA["){if(N=C.indexOf("]]>",x+8),N<0){this.onError(u.UnterminatedCdat);return}this.onCdata(C.substring(x+8,N)),x=N+3}else if(C.substring(x+1,x+8)==="DOCTYPE"){const B=C.indexOf("[",x+8);let W=!1;if(N=C.indexOf(">",x+8),N<0){this.onError(u.UnterminatedDoctypeDeclaration);return}if(B>0&&N>B){if(N=C.indexOf("]>",x+8),N<0){this.onError(u.UnterminatedDoctypeDeclaration);return}W=!0}const j=C.substring(x+8,N+(W?1:0));this.onDoctype(j),x=N+(W?2:1)}else{this.onError(u.MalformedElement);return}break;default:const P=this._parseContent(C,x);if(P===null){this.onError(u.MalformedElement);return}let F=!1;if(C.substring(x+P.parsed,x+P.parsed+2)==="/>")F=!0;else if(C.substring(x+P.parsed,x+P.parsed+1)!==">"){this.onError(u.UnterminatedElement);return}this.onBeginElement(P.name,P.attributes,F),x+=P.parsed+(F?2:1);break}}else{for(;x0}searchNode(C,y){var N;if(y>=C.length)return this;const f=C[y];if(f.name.startsWith("#")&&y0)x.push([a,0]),a=a.childNodes[0];else{if(x.length===0)return null;for(;x.length!==0;){const[v,P]=x.pop(),F=P+1;if(F");for(const y of this.childNodes)y.dump(C);C.push(``)}else this.nodeValue?C.push(`>${(0,n.encodeToXmlString)(this.nodeValue)}`):C.push("/>")}}d.SimpleDOMNode=s;class L extends t{constructor(C){let{hasAttributes:y=!1,lowerCaseName:f=!1}=C;super(),this._currentFragment=null,this._stack=null,this._errorCode=u.NoError,this._hasAttributes=y,this._lowerCaseName=f}parseFromString(C){if(this._currentFragment=[],this._stack=[],this._errorCode=u.NoError,this.parseXml(C),this._errorCode!==u.NoError)return;const[y]=this._currentFragment;if(y)return{documentElement:y}}onText(C){if(e(C))return;const y=new s("#text",C);this._currentFragment.push(y)}onCdata(C){const y=new s("#text",C);this._currentFragment.push(y)}onBeginElement(C,y,f){this._lowerCaseName&&(C=C.toLowerCase());const x=new s(C);x.childNodes=[],this._hasAttributes&&(x.attributes=y),this._currentFragment.push(x),!f&&(this._stack.push(this._currentFragment),this._currentFragment=x.childNodes)}onEndElement(C){this._currentFragment=this._stack.pop()||[];const y=this._currentFragment.at(-1);if(!y)return null;for(const f of y.childNodes)f.parentNode=y;return y}onError(C){this._errorCode=C}}d.SimpleXMLParser=L},(he,d,i)=>{var f,_n,a,Gn,v,ea,F,ta;Object.defineProperty(d,"__esModule",{value:!0}),d.StructTreeRoot=d.StructTreePage=void 0,i(140);var n=i(145),u=i(151),g=i(218),e=i(224);const t=40,s={PAGE_CONTENT:1,STREAM_CONTENT:2,OBJECT:3,ANNOTATION:4,ELEMENT:5},W=class W{constructor(M,T){vt(this,f);this.dict=M,this.ref=T instanceof u.Ref?T:null,this.roleMap=new Map,this.structParentIds=null}init(){this.readRoleMap()}addAnnotationIdToPage(M,T){ct(this,f,_n).call(this,M,T,s.ANNOTATION)}readRoleMap(){const M=this.dict.get("RoleMap");M instanceof u.Dict&&M.forEach((T,c)=>{c instanceof u.Name&&this.roleMap.set(T,c.name)})}static async canCreateStructureTree(M){var l;let{catalogRef:T,pdfManager:c,newAnnotationsByPage:h}=M;if(!(T instanceof u.Ref))return(0,n.warn)("Cannot save the struct tree: no catalog reference."),!1;let E=0,o=!0;for(const[b,R]of h){const{ref:S}=await c.getPage(b);if(!(S instanceof u.Ref)){(0,n.warn)(`Cannot save the struct tree: page ${b} has no ref.`),o=!0;break}for(const p of R)(l=p.accessibilityData)!=null&&l.type&&(p.parentTreeId=E++,o=!1)}if(o){for(const b of h.values())for(const R of b)delete R.parentTreeId;return!1}return!0}static async createStructureTree(M){let{newAnnotationsByPage:T,xref:c,catalogRef:h,pdfManager:E,newRefs:o}=M;const l=E.catalog.cloneDict(),b=c.getNewTemporaryRef();l.set("StructTreeRoot",b);const R=[];await(0,e.writeObject)(h,l,R,c),o.push({ref:h,data:R.join("")});const S=new u.Dict(c);S.set("Type",u.Name.get("StructTreeRoot"));const p=c.getNewTemporaryRef();S.set("ParentTree",p);const G=[];S.set("K",G);const $=new u.Dict(c),A=[];$.set("Nums",A);const D=await ct(this,a,Gn).call(this,{newAnnotationsByPage:T,structTreeRootRef:b,kids:G,nums:A,xref:c,pdfManager:E,newRefs:o,buffer:R});S.set("ParentTreeNextKey",D),R.length=0,await(0,e.writeObject)(p,$,R,c),o.push({ref:p,data:R.join("")}),R.length=0,await(0,e.writeObject)(b,S,R,c),o.push({ref:b,data:R.join("")})}async canUpdateStructTree(M){var R,S;let{pdfManager:T,newAnnotationsByPage:c}=M;if(!this.ref)return(0,n.warn)("Cannot update the struct tree: no root reference."),!1;let h=this.dict.get("ParentTreeNextKey");if(!Number.isInteger(h)||h<0)return(0,n.warn)("Cannot update the struct tree: invalid next key."),!1;const E=this.dict.get("ParentTree");if(!(E instanceof u.Dict))return(0,n.warn)("Cannot update the struct tree: ParentTree isn't a dict."),!1;const o=E.get("Nums");if(!Array.isArray(o))return(0,n.warn)("Cannot update the struct tree: nums isn't an array."),!1;const{numPages:l}=T.catalog;for(const p of c.keys()){const{pageDict:G,ref:$}=await T.getPage(p);if(!($ instanceof u.Ref))return(0,n.warn)(`Cannot save the struct tree: page ${p} has no ref.`),!1;const A=G.get("StructParents");if(!Number.isInteger(A)||A<0||A>=l)return(0,n.warn)(`Cannot save the struct tree: page ${p} has no id.`),!1}let b=!0;for(const[p,G]of c){const{pageDict:$}=await T.getPage(p);ct(R=W,v,ea).call(R,{elements:G,xref:this.dict.xref,pageDict:$,parentTree:E});for(const A of G)(S=A.accessibilityData)!=null&&S.type&&(A.parentTreeId=h++,b=!1)}if(b){for(const p of c.values())for(const G of p)delete G.parentTreeId,delete G.structTreeParent;return!1}return!0}async updateStructureTree(M){var w;let{newAnnotationsByPage:T,pdfManager:c,newRefs:h}=M;const E=this.dict.xref,o=this.dict.clone(),l=this.ref;let b=o.getRaw("ParentTree"),R;b instanceof u.Ref?R=E.fetch(b):(R=b,b=E.getNewTemporaryRef(),o.set("ParentTree",b)),R=R.clone();let S=R.getRaw("Nums"),p=null;S instanceof u.Ref&&(p=S,S=E.fetch(p)),S=S.slice(),p||R.set("Nums",S);let G=o.getRaw("K"),$=null;G instanceof u.Ref?($=G,G=E.fetch($)):($=E.getNewTemporaryRef(),o.set("K",$)),G=Array.isArray(G)?G.slice():[G];const A=[],D=await ct(w=W,a,Gn).call(w,{newAnnotationsByPage:T,structTreeRootRef:l,kids:G,nums:S,xref:E,pdfManager:c,newRefs:h,buffer:A});o.set("ParentTreeNextKey",D),A.length=0,await(0,e.writeObject)($,G,A,E),h.push({ref:$,data:A.join("")}),p&&(A.length=0,await(0,e.writeObject)(p,S,A,E),h.push({ref:p,data:A.join("")})),A.length=0,await(0,e.writeObject)(b,R,A,E),h.push({ref:b,data:A.join("")}),A.length=0,await(0,e.writeObject)(l,o,A,E),h.push({ref:l,data:A.join("")})}};f=new WeakSet,_n=function(M,T,c){if(!(M instanceof u.Ref)||T<0)return;this.structParentIds||(this.structParentIds=new u.RefSetCache);let h=this.structParentIds.get(M);h||(h=[],this.structParentIds.put(M,h)),h.push([T,c])},a=new WeakSet,Gn=async function(M){let{newAnnotationsByPage:T,structTreeRootRef:c,kids:h,nums:E,xref:o,pdfManager:l,newRefs:b,buffer:R}=M;const S=u.Name.get("OBJR");let p=-1/0;for(const[G,$]of T){const{ref:A}=await l.getPage(G);for(const{accessibilityData:{type:D,title:w,lang:m,alt:I,expanded:H,actualText:Y},ref:Q,parentTreeId:oe,structTreeParent:ne}of $){p=Math.max(p,oe);const ce=o.getNewTemporaryRef(),J=new u.Dict(o);J.set("S",u.Name.get(D)),w&&J.set("T",w),m&&J.set("Lang",m),I&&J.set("Alt",I),H&&J.set("E",H),Y&&J.set("ActualText",Y),ne?await ct(this,F,ta).call(this,{structTreeParent:ne,tagDict:J,newTagRef:ce,fallbackRef:c,xref:o,newRefs:b,buffer:R}):J.set("P",c);const _=new u.Dict(o);J.set("K",_),_.set("Type",S),_.set("Pg",A),_.set("Obj",Q),R.length=0,await(0,e.writeObject)(ce,J,R,o),b.push({ref:ce,data:R.join("")}),E.push(oe,ce),h.push(ce)}}return p+1},v=new WeakSet,ea=function(M){let{elements:T,xref:c,pageDict:h,parentTree:E}=M;const o=new Map;for(const p of T)if(p.structTreeParentId){const G=parseInt(p.structTreeParentId.split("_mc")[1],10);o.set(G,p)}const l=h.get("StructParents"),R=new g.NumberTree(E,c).get(l);if(!Array.isArray(R))return;const S=(p,G,$)=>{const A=o.get(p);if(A){const D=G.getRaw("P"),w=c.fetchIfRef(D);return D instanceof u.Ref&&w instanceof u.Dict&&(A.structTreeParent={ref:$,dict:G}),!0}return!1};for(const p of R){if(!(p instanceof u.Ref))continue;const G=c.fetch(p),$=G.get("K");if(Number.isInteger($)){S($,G,p);continue}if(Array.isArray($)){for(let A of $)if(A=c.fetchIfRef(A),Number.isInteger(A)&&S(A,G,p))break}}},F=new WeakSet,ta=async function(M){let{structTreeParent:{ref:T,dict:c},tagDict:h,newTagRef:E,fallbackRef:o,xref:l,newRefs:b,buffer:R}=M;const S=c.getRaw("P");let p=l.fetchIfRef(S);h.set("P",S);let G=!1,$,A=p.getRaw("K");if(A instanceof u.Ref?$=l.fetch(A):($=A,A=l.getNewTemporaryRef(),p=p.clone(),p.set("K",A),G=!0),Array.isArray($)){const D=$.indexOf(T);if(D>=0)$=$.slice(),$.splice(D+1,0,E);else{(0,n.warn)("Cannot update the struct tree: parent kid not found."),h.set("P",o);return}}else $ instanceof u.Dict&&($=[A,E],A=l.getNewTemporaryRef(),p.set("K",A),G=!0);R.length=0,await(0,e.writeObject)(A,$,R,l),b.push({ref:A,data:R.join("")}),G&&(R.length=0,await(0,e.writeObject)(S,p,R,l),b.push({ref:S,data:R.join("")}))},vt(W,a),vt(W,v),vt(W,F);let L=W;d.StructTreeRoot=L;class U{constructor(M,T){this.tree=M,this.dict=T,this.kids=[],this.parseKids()}get role(){const M=this.dict.get("S"),T=M instanceof u.Name?M.name:"",{root:c}=this.tree;return c.roleMap.has(T)?c.roleMap.get(T):T}parseKids(){let M=null;const T=this.dict.getRaw("Pg");T instanceof u.Ref&&(M=T.toString());const c=this.dict.get("K");if(Array.isArray(c))for(const h of c){const E=this.parseKid(M,h);E&&this.kids.push(E)}else{const h=this.parseKid(M,c);h&&this.kids.push(h)}}parseKid(M,T){if(Number.isInteger(T))return this.tree.pageDict.objId!==M?null:new C({type:s.PAGE_CONTENT,mcid:T,pageObjId:M});let c=null;if(T instanceof u.Ref?c=this.dict.xref.fetch(T):T instanceof u.Dict&&(c=T),!c)return null;const h=c.getRaw("Pg");h instanceof u.Ref&&(M=h.toString());const E=c.get("Type")instanceof u.Name?c.get("Type").name:null;if(E==="MCR"){if(this.tree.pageDict.objId!==M)return null;const o=c.getRaw("Stm");return new C({type:s.STREAM_CONTENT,refObjId:o instanceof u.Ref?o.toString():null,pageObjId:M,mcid:c.get("MCID")})}if(E==="OBJR"){if(this.tree.pageDict.objId!==M)return null;const o=c.getRaw("Obj");return new C({type:s.OBJECT,refObjId:o instanceof u.Ref?o.toString():null,pageObjId:M})}return new C({type:s.ELEMENT,dict:c})}}class C{constructor(M){let{type:T,dict:c=null,mcid:h=null,pageObjId:E=null,refObjId:o=null}=M;this.type=T,this.dict=c,this.mcid=h,this.pageObjId=E,this.refObjId=o,this.parentNode=null}}class y{constructor(M,T){this.root=M,this.rootDict=M?M.dict:null,this.pageDict=T,this.nodes=[]}parse(M){var l,b;if(!this.root||!this.rootDict)return;const T=this.rootDict.get("ParentTree");if(!T)return;const c=this.pageDict.get("StructParents"),h=M instanceof u.Ref&&((l=this.root.structParentIds)==null?void 0:l.get(M));if(!Number.isInteger(c)&&!h)return;const E=new Map,o=new g.NumberTree(T,this.rootDict.xref);if(Number.isInteger(c)){const R=o.get(c);if(Array.isArray(R))for(const S of R)S instanceof u.Ref&&this.addNode(this.rootDict.xref.fetch(S),E)}if(h)for(const[R,S]of h){const p=o.get(R);if(p){const G=this.addNode(this.rootDict.xref.fetchIfRef(p),E);((b=G==null?void 0:G.kids)==null?void 0:b.length)===1&&G.kids[0].type===s.OBJECT&&(G.kids[0].type=S)}}}addNode(M,T){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(c>t)return(0,n.warn)("StructTree MAX_DEPTH reached."),null;if(T.has(M))return T.get(M);const h=new U(this,M);T.set(M,h);const E=M.get("P");if(!E||(0,u.isName)(E.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(M,h)||T.delete(M),h;const o=this.addNode(E,T,c+1);if(!o)return h;let l=!1;for(const b of o.kids)b.type===s.ELEMENT&&b.dict===M&&(b.parentNode=h,l=!0);return l||T.delete(M),h}addTopLevelNode(M,T){const c=this.rootDict.get("K");if(!c)return!1;if(c instanceof u.Dict)return c.objId!==M.objId?!1:(this.nodes[0]=T,!0);if(!Array.isArray(c))return!0;let h=!1;for(let E=0;E2&&arguments[2]!==void 0?arguments[2]:0;if(E>t){(0,n.warn)("StructTree too deep to be fully serialized.");return}const o=Object.create(null);o.role=c.role,o.children=[],h.children.push(o);const l=c.dict.get("Alt");typeof l=="string"&&(o.alt=(0,n.stringToPDFString)(l));const b=c.dict.get("Lang");typeof b=="string"&&(o.lang=(0,n.stringToPDFString)(b));for(const R of c.kids){const S=R.type===s.ELEMENT?R.parentNode:null;if(S){M(S,o,E+1);continue}else R.type===s.PAGE_CONTENT||R.type===s.STREAM_CONTENT?o.children.push({type:"content",id:`p${R.pageObjId}_mc${R.mcid}`}):R.type===s.OBJECT?o.children.push({type:"object",id:R.refObjId}):R.type===s.ANNOTATION&&o.children.push({type:"annotation",id:`${n.AnnotationPrefix}${R.refObjId}`})}}const T=Object.create(null);T.children=[],T.role="Root";for(const c of this.nodes)c&&M(c,T);return T}}d.StructTreePage=y},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.incrementalUpdate=B,d.writeDict=U,d.writeObject=L,i(140),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115);var n=i(145),u=i(151),g=i(150),e=i(222),t=i(152),s=i(225);async function L(W,j,M,T){let{encrypt:c=null}=T;const h=c==null?void 0:c.createCipherTransform(W.num,W.gen);M.push(`${W.num} ${W.gen} obj `),j instanceof u.Dict?await U(j,M,h):j instanceof t.BaseStream?await C(j,M,h):Array.isArray(j)&&await y(j,M,h),M.push(` endobj `)}async function U(W,j,M){j.push("<<");for(const T of W.getKeys())j.push(` /${(0,g.escapePDFName)(T)} `),await f(W.getRaw(T),j,M);j.push(">>")}async function C(W,j,M){let T=W.getString();const{dict:c}=W,[h,E]=await Promise.all([c.getAsync("Filter"),c.getAsync("DecodeParms")]),o=Array.isArray(h)?await c.xref.fetchIfRefAsync(h[0]):h,l=(0,u.isName)(o,"FlateDecode"),b=256;if(typeof CompressionStream<"u"&&(T.length>=b||l))try{const R=(0,n.stringToBytes)(T),S=new CompressionStream("deflate"),p=S.writable.getWriter();p.write(R),p.close();const G=await new Response(S.readable).arrayBuffer();T=(0,n.bytesToString)(new Uint8Array(G));let $,A;h?l||($=Array.isArray(h)?[u.Name.get("FlateDecode"),...h]:[u.Name.get("FlateDecode"),h],E&&(A=Array.isArray(E)?[null,...E]:[null,E])):$=u.Name.get("FlateDecode"),$&&c.set("Filter",$),A&&c.set("DecodeParms",A)}catch(R){(0,n.info)(`writeStream - cannot compress data: "${R}".`)}M&&(T=M.encryptString(T)),c.set("Length",T.length),await U(c,j,M),j.push(` stream `,T,` endstream`)}async function y(W,j,M){j.push("[");let T=!0;for(const c of W)T?T=!1:j.push(" "),await f(c,j,M);j.push("]")}async function f(W,j,M){W instanceof u.Name?j.push(`/${(0,g.escapePDFName)(W.name)}`):W instanceof u.Ref?j.push(`${W.num} ${W.gen} R`):Array.isArray(W)?await y(W,j,M):typeof W=="string"?(M&&(W=M.encryptString(W)),j.push(`(${(0,g.escapeString)(W)})`)):typeof W=="number"?j.push((0,g.numberToString)(W)):typeof W=="boolean"?j.push(W.toString()):W instanceof u.Dict?await U(W,j,M):W instanceof t.BaseStream?await C(W,j,M):W===null?j.push("null"):(0,n.warn)(`Unhandled value in writer: ${typeof W}, please file a bug.`)}function x(W,j,M,T){for(let c=j+M-1;c>M-1;c--)T[c]=W&255,W>>=8;return M+j}function a(W,j,M){for(let T=0,c=W.length;Tl+b.length,0);for(const l of Object.values(j.info))c.push(l),h+=l.length;const E=new Uint8Array(h);let o=0;for(const l of c)a(l,o,E),o+=l.length;return(0,n.bytesToString)((0,s.calculateMD5)(E))}function v(W,j){const M=new e.SimpleXMLParser({hasAttributes:!0}).parseFromString(W);for(const{xfa:c}of j){if(!c)continue;const{path:h,value:E}=c;if(!h)continue;const o=(0,g.parseXFAPath)(h);let l=M.documentElement.searchNode(o,0);!l&&o.length>1&&(l=M.documentElement.searchNode([o.at(-1)],0)),l?l.childNodes=Array.isArray(E)?E.map(b=>new e.SimpleDOMNode("value",b)):[new e.SimpleDOMNode("#text",E)]:(0,n.warn)(`Node not found for path: ${h}`)}const T=[];return M.documentElement.dump(T),T.join("")}async function P(W){let{xref:j,acroForm:M,acroFormRef:T,hasXfa:c,hasXfaDatasetsEntry:h,xfaDatasetsRef:E,needAppearances:o,newRefs:l}=W;if(c&&!h&&!E&&(0,n.warn)("XFA - Cannot save it"),!o&&(!c||!E||h))return;const b=M.clone();if(c&&!h){const S=M.get("XFA").slice();S.splice(2,0,"datasets"),S.splice(3,0,E),b.set("XFA",S)}o&&b.set("NeedAppearances",!0);const R=[];await L(T,b,R,j),l.push({ref:T,data:R.join("")})}function F(W){let{xfaData:j,xfaDatasetsRef:M,newRefs:T,xref:c}=W;if(j===null){const o=c.fetchIfRef(M);j=v(o.getString(),T)}const h=c.encrypt;h&&(j=h.createCipherTransform(M.num,M.gen).encryptString(j));const E=`${M.num} ${M.gen} obj << /Type /EmbeddedFile /Length ${j.length}>> stream `+j+` endstream endobj `;T.push({ref:M,data:E})}async function B(W){let{originalData:j,xrefInfo:M,newRefs:T,xref:c=null,hasXfa:h=!1,xfaDatasetsRef:E=null,hasXfaDatasetsEntry:o=!1,needAppearances:l,acroFormRef:b=null,acroForm:R=null,xfaData:S=null}=W;await P({xref:c,acroForm:R,acroFormRef:b,hasXfa:h,hasXfaDatasetsEntry:o,xfaDatasetsRef:E,needAppearances:l,newRefs:T}),h&&F({xfaData:S,xfaDatasetsRef:E,newRefs:T,xref:c});const p=new u.Dict(null),G=M.newRef;let $,A;const D=j.at(-1);D===10||D===13?($=[],A=j.length):($=[` `],A=j.length+1),p.set("Size",G.num+1),p.set("Prev",M.startXRef),p.set("Type",u.Name.get("XRef")),M.rootRef!==null&&p.set("Root",M.rootRef),M.infoRef!==null&&p.set("Info",M.infoRef),M.encryptRef!==null&&p.set("Encrypt",M.encryptRef),T.push({ref:G,data:""}),T=T.sort((k,O)=>k.ref.num-O.ref.num);const w=[[0,1,65535]],m=[0,1];let I=0;for(const{ref:k,data:O}of T)I=Math.max(I,A),w.push([1,A,Math.min(k.gen,65535)]),A+=O.length,m.push(k.num,1),$.push(O);if(p.set("Index",m),Array.isArray(M.fileIds)&&M.fileIds.length>0){const k=N(A,M);p.set("ID",[M.fileIds[0],k])}const Y=[1,Math.ceil(Math.log2(I)/8),2],oe=(Y[0]+Y[1]+Y[2])*w.length;p.set("W",Y),p.set("Length",oe),$.push(`${G.num} ${G.gen} obj `),await U(p,$,null),$.push(` stream `);const ne=$.reduce((k,O)=>k+O.length,0),ce=` endstream endobj startxref ${A} %%EOF `,J=new Uint8Array(j.length+ne+oe+ce.length);J.set(j);let _=j.length;for(const k of $)a(k,_,J),_+=k.length;for(const[k,O,V]of w)_=x(k,Y[0],_,J),_=x(O,Y[1],_,J),_=x(V,Y[2],_,J);return a(ce,_,J),J}},(he,d,i)=>{var B,W,na,M,jn,c,aa,E,bn,l,Wn;Object.defineProperty(d,"__esModule",{value:!0}),d.calculateSHA256=d.calculateMD5=d.PDF20=d.PDF17=d.CipherTransformFactory=d.ARCFourCipher=d.AES256Cipher=d.AES128Cipher=void 0,d.calculateSHA384=C,d.calculateSHA512=void 0,i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140);var n=i(145),u=i(151),g=i(226);class e{constructor(p){this.a=0,this.b=0;const G=new Uint8Array(256),$=p.length;for(let A=0;A<256;++A)G[A]=A;for(let A=0,D=0;A<256;++A){const w=G[A];D=D+w+p[A%$]&255,G[A]=G[D],G[D]=w}this.s=G}encryptBlock(p){let G=this.a,$=this.b;const A=this.s,D=p.length,w=new Uint8Array(D);for(let m=0;m>5&255,oe[ne++]=w>>13&255,oe[ne++]=w>>21&255,oe[ne++]=w>>>29&255,oe[ne++]=0,oe[ne++]=0,oe[ne++]=0;const _=new Int32Array(16);for(ne=0;ne>>32-ee)|0,k=ie}m=m+k|0,I=I+O|0,H=H+V|0,Y=Y+K|0}return new Uint8Array([m&255,m>>8&255,m>>16&255,m>>>24&255,I&255,I>>8&255,I>>16&255,I>>>24&255,H&255,H>>8&255,H>>16&255,H>>>24&255,Y&255,Y>>8&255,Y>>16&255,Y>>>24&255])}return $}();d.calculateMD5=t;class s{constructor(p,G){this.high=p|0,this.low=G|0}and(p){this.high&=p.high,this.low&=p.low}xor(p){this.high^=p.high,this.low^=p.low}or(p){this.high|=p.high,this.low|=p.low}shiftRight(p){p>=32?(this.low=this.high>>>p-32|0,this.high=0):(this.low=this.low>>>p|this.high<<32-p,this.high=this.high>>>p|0)}shiftLeft(p){p>=32?(this.high=this.low<>>32-p,this.low<<=p)}rotateRight(p){let G,$;p&32?($=this.low,G=this.high):(G=this.low,$=this.high),p&=31,this.low=G>>>p|$<<32-p,this.high=$>>>p|G<<32-p}not(){this.high=~this.high,this.low=~this.low}add(p){const G=(this.low>>>0)+(p.low>>>0);let $=(this.high>>>0)+(p.high>>>0);G>4294967295&&($+=1),this.low=G|0,this.high=$|0}copyTo(p,G){p[G]=this.high>>>24&255,p[G+1]=this.high>>16&255,p[G+2]=this.high>>8&255,p[G+3]=this.high&255,p[G+4]=this.low>>>24&255,p[G+5]=this.low>>16&255,p[G+6]=this.low>>8&255,p[G+7]=this.low&255}assign(p){this.high=p.high,this.low=p.low}}const L=function(){function p(Y,Q){return Y>>>Q|Y<<32-Q}function G(Y,Q,oe){return Y&Q^~Y&oe}function $(Y,Q,oe){return Y&Q^Y&oe^Q&oe}function A(Y){return p(Y,2)^p(Y,13)^p(Y,22)}function D(Y){return p(Y,6)^p(Y,11)^p(Y,25)}function w(Y){return p(Y,7)^p(Y,18)^Y>>>3}function m(Y){return p(Y,17)^p(Y,19)^Y>>>10}const I=[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 H(Y,Q,oe){let ne=1779033703,ce=3144134277,J=1013904242,_=2773480762,k=1359893119,O=2600822924,V=528734635,K=1541459225;const te=Math.ceil((oe+9)/64)*64,re=new Uint8Array(te);let ie,Z;for(ie=0;ie>>29&255,re[ie++]=oe>>21&255,re[ie++]=oe>>13&255,re[ie++]=oe>>5&255,re[ie++]=oe<<3&255;const q=new Uint32Array(64);for(ie=0;ie>24&255,ne>>16&255,ne>>8&255,ne&255,ce>>24&255,ce>>16&255,ce>>8&255,ce&255,J>>24&255,J>>16&255,J>>8&255,J&255,_>>24&255,_>>16&255,_>>8&255,_&255,k>>24&255,k>>16&255,k>>8&255,k&255,O>>24&255,O>>16&255,O>>8&255,O&255,V>>24&255,V>>16&255,V>>8&255,V&255,K>>24&255,K>>16&255,K>>8&255,K&255])}return H}();d.calculateSHA256=L;const U=function(){function p(H,Y,Q,oe,ne){H.assign(Y),H.and(Q),ne.assign(Y),ne.not(),ne.and(oe),H.xor(ne)}function G(H,Y,Q,oe,ne){H.assign(Y),H.and(Q),ne.assign(Y),ne.and(oe),H.xor(ne),ne.assign(Q),ne.and(oe),H.xor(ne)}function $(H,Y,Q){H.assign(Y),H.rotateRight(28),Q.assign(Y),Q.rotateRight(34),H.xor(Q),Q.assign(Y),Q.rotateRight(39),H.xor(Q)}function A(H,Y,Q){H.assign(Y),H.rotateRight(14),Q.assign(Y),Q.rotateRight(18),H.xor(Q),Q.assign(Y),Q.rotateRight(41),H.xor(Q)}function D(H,Y,Q){H.assign(Y),H.rotateRight(1),Q.assign(Y),Q.rotateRight(8),H.xor(Q),Q.assign(Y),Q.shiftRight(7),H.xor(Q)}function w(H,Y,Q){H.assign(Y),H.rotateRight(19),Q.assign(Y),Q.rotateRight(61),H.xor(Q),Q.assign(Y),Q.shiftRight(6),H.xor(Q)}const m=[new s(1116352408,3609767458),new s(1899447441,602891725),new s(3049323471,3964484399),new s(3921009573,2173295548),new s(961987163,4081628472),new s(1508970993,3053834265),new s(2453635748,2937671579),new s(2870763221,3664609560),new s(3624381080,2734883394),new s(310598401,1164996542),new s(607225278,1323610764),new s(1426881987,3590304994),new s(1925078388,4068182383),new s(2162078206,991336113),new s(2614888103,633803317),new s(3248222580,3479774868),new s(3835390401,2666613458),new s(4022224774,944711139),new s(264347078,2341262773),new s(604807628,2007800933),new s(770255983,1495990901),new s(1249150122,1856431235),new s(1555081692,3175218132),new s(1996064986,2198950837),new s(2554220882,3999719339),new s(2821834349,766784016),new s(2952996808,2566594879),new s(3210313671,3203337956),new s(3336571891,1034457026),new s(3584528711,2466948901),new s(113926993,3758326383),new s(338241895,168717936),new s(666307205,1188179964),new s(773529912,1546045734),new s(1294757372,1522805485),new s(1396182291,2643833823),new s(1695183700,2343527390),new s(1986661051,1014477480),new s(2177026350,1206759142),new s(2456956037,344077627),new s(2730485921,1290863460),new s(2820302411,3158454273),new s(3259730800,3505952657),new s(3345764771,106217008),new s(3516065817,3606008344),new s(3600352804,1432725776),new s(4094571909,1467031594),new s(275423344,851169720),new s(430227734,3100823752),new s(506948616,1363258195),new s(659060556,3750685593),new s(883997877,3785050280),new s(958139571,3318307427),new s(1322822218,3812723403),new s(1537002063,2003034995),new s(1747873779,3602036899),new s(1955562222,1575990012),new s(2024104815,1125592928),new s(2227730452,2716904306),new s(2361852424,442776044),new s(2428436474,593698344),new s(2756734187,3733110249),new s(3204031479,2999351573),new s(3329325298,3815920427),new s(3391569614,3928383900),new s(3515267271,566280711),new s(3940187606,3454069534),new s(4118630271,4000239992),new s(116418474,1914138554),new s(174292421,2731055270),new s(289380356,3203993006),new s(460393269,320620315),new s(685471733,587496836),new s(852142971,1086792851),new s(1017036298,365543100),new s(1126000580,2618297676),new s(1288033470,3409855158),new s(1501505948,4234509866),new s(1607167915,987167468),new s(1816402316,1246189591)];function I(H,Y,Q){let oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,ne,ce,J,_,k,O,V,K;oe?(ne=new s(3418070365,3238371032),ce=new s(1654270250,914150663),J=new s(2438529370,812702999),_=new s(355462360,4144912697),k=new s(1731405415,4290775857),O=new s(2394180231,1750603025),V=new s(3675008525,1694076839),K=new s(1203062813,3204075428)):(ne=new s(1779033703,4089235720),ce=new s(3144134277,2227873595),J=new s(1013904242,4271175723),_=new s(2773480762,1595750129),k=new s(1359893119,2917565137),O=new s(2600822924,725511199),V=new s(528734635,4215389547),K=new s(1541459225,327033209));const te=Math.ceil((Q+17)/128)*128,re=new Uint8Array(te);let ie,Z;for(ie=0;ie>>29&255,re[ie++]=Q>>21&255,re[ie++]=Q>>13&255,re[ie++]=Q>>5&255,re[ie++]=Q<<3&255;const q=new Array(80);for(ie=0;ie<80;ie++)q[ie]=new s(0,0);let z=new s(0,0),ae=new s(0,0),se=new s(0,0),le=new s(0,0),ue=new s(0,0),fe=new s(0,0),ge=new s(0,0),me=new s(0,0);const be=new s(0,0),ye=new s(0,0),Se=new s(0,0),Ae=new s(0,0);let Fe;for(ie=0;ie=1;--m){$=w[13],w[13]=w[9],w[9]=w[5],w[5]=w[1],w[1]=$,$=w[14],A=w[10],w[14]=w[6],w[10]=w[2],w[6]=$,w[2]=A,$=w[15],A=w[11],D=w[7],w[15]=w[3],w[11]=$,w[7]=A,w[3]=D;for(let I=0;I<16;++I)w[I]=this._inv_s[w[I]];for(let I=0,H=m*16;I<16;++I,++H)w[I]^=G[H];for(let I=0;I<16;I+=4){const H=this._mix[w[I]],Y=this._mix[w[I+1]],Q=this._mix[w[I+2]],oe=this._mix[w[I+3]];$=H^Y>>>8^Y<<24^Q>>>16^Q<<16^oe>>>24^oe<<8,w[I]=$>>>24&255,w[I+1]=$>>16&255,w[I+2]=$>>8&255,w[I+3]=$&255}}$=w[13],w[13]=w[9],w[9]=w[5],w[5]=w[1],w[1]=$,$=w[14],A=w[10],w[14]=w[6],w[10]=w[2],w[6]=$,w[2]=A,$=w[15],A=w[11],D=w[7],w[15]=w[3],w[11]=$,w[7]=A,w[3]=D;for(let m=0;m<16;++m)w[m]=this._inv_s[w[m]],w[m]^=G[m];return w}_encrypt(p,G){const $=this._s;let A,D,w;const m=new Uint8Array(16);m.set(p);for(let I=0;I<16;++I)m[I]^=G[I];for(let I=1;I=ne;--oe)if(Y[oe]!==Q){Q=0;break}I-=Q,w[w.length-1]=Y.subarray(0,16-Q)}}const H=new Uint8Array(I);for(let Y=0,Q=0,oe=w.length;Y2&&arguments[2]!==void 0?arguments[2]:null;const A=p.length,D=this.buffer;let w=this.bufferPosition;if($)this.iv=$;else{for(let m=0;w<16&&m=256&&(D=(D^27)&255));for(let oe=0;oe<4;++oe)A[Y]=w^=A[Y-32],Y++,A[Y]=m^=A[Y-32],Y++,A[Y]=I^=A[Y-32],Y++,A[Y]=H^=A[Y-32],Y++}return A}}d.AES256Cipher=a;class N{checkOwnerPassword(p,G,$,A){const D=new Uint8Array(p.length+56);D.set(p,0),D.set(G,p.length),D.set($,p.length+G.length);const w=L(D,0,D.length);return(0,n.isArrayEqual)(w,A)}checkUserPassword(p,G,$){const A=new Uint8Array(p.length+8);A.set(p,0),A.set(G,p.length);const D=L(A,0,A.length);return(0,n.isArrayEqual)(D,$)}getOwnerKey(p,G,$,A){const D=new Uint8Array(p.length+56);D.set(p,0),D.set(G,p.length),D.set($,p.length+G.length);const w=L(D,0,D.length);return new a(w).decryptBlock(A,!1,new Uint8Array(16))}getUserKey(p,G,$){const A=new Uint8Array(p.length+8);A.set(p,0),A.set(G,p.length);const D=L(A,0,A.length);return new a(D).decryptBlock($,!1,new Uint8Array(16))}}d.PDF17=N;class v{_hash(p,G,$){let A=L(G,0,G.length).subarray(0,32),D=[0],w=0;for(;w<64||D.at(-1)>w-32;){const m=p.length+A.length+$.length,I=new Uint8Array(m);let H=0;I.set(p,H),H+=p.length,I.set(A,H),H+=A.length,I.set($,H);const Y=new Uint8Array(m*64);for(let ne=0,ce=0;ne<64;ne++,ce+=m)Y.set(I,ce);D=new x(A.subarray(0,16)).encrypt(Y,A.subarray(16,32));const oe=D.slice(0,16).reduce((ne,ce)=>ne+ce,0)%3;oe===0?A=L(D,0,D.length):oe===1?A=C(D,0,D.length):oe===2&&(A=U(D,0,D.length)),w++}return A.subarray(0,32)}checkOwnerPassword(p,G,$,A){const D=new Uint8Array(p.length+56);D.set(p,0),D.set(G,p.length),D.set($,p.length+G.length);const w=this._hash(p,D,$);return(0,n.isArrayEqual)(w,A)}checkUserPassword(p,G,$){const A=new Uint8Array(p.length+8);A.set(p,0),A.set(G,p.length);const D=this._hash(p,A,[]);return(0,n.isArrayEqual)(D,$)}getOwnerKey(p,G,$,A){const D=new Uint8Array(p.length+56);D.set(p,0),D.set(G,p.length),D.set($,p.length+G.length);const w=this._hash(p,D,$);return new a(w).decryptBlock(A,!1,new Uint8Array(16))}getUserKey(p,G,$){const A=new Uint8Array(p.length+8);A.set(p,0),A.set(G,p.length);const D=this._hash(p,A,[]);return new a(D).decryptBlock($,!1,new Uint8Array(16))}}d.PDF20=v;class P{constructor(p,G){this.StringCipherConstructor=p,this.StreamCipherConstructor=G}createStream(p,G){const $=new this.StreamCipherConstructor;return new g.DecryptStream(p,G,function(D,w){return $.decryptBlock(D,w)})}decryptString(p){const G=new this.StringCipherConstructor;let $=(0,n.stringToBytes)(p);return $=G.decryptBlock($,!0),(0,n.bytesToString)($)}encryptString(p){const G=new this.StringCipherConstructor;if(G instanceof f){const D=16-p.length%16;p+=String.fromCharCode(D).repeat(D);const w=new Uint8Array(16);if(typeof crypto<"u")crypto.getRandomValues(w);else for(let H=0;H<16;H++)w[H]=Math.floor(256*Math.random());let m=(0,n.stringToBytes)(p);m=G.encrypt(m,w);const I=new Uint8Array(16+m.length);return I.set(w),I.set(m,16),(0,n.bytesToString)(I)}let $=(0,n.stringToBytes)(p);return $=G.encrypt($),(0,n.bytesToString)($)}}const R=class R{constructor(p,G,$){vt(this,W);vt(this,M);vt(this,c);vt(this,E);vt(this,l);const A=p.get("Filter");if(!(0,u.isName)(A,"Standard"))throw new n.FormatError("unknown encryption method");this.filterName=A.name,this.dict=p;const D=p.get("V");if(!Number.isInteger(D)||D!==1&&D!==2&&D!==4&&D!==5)throw new n.FormatError("unsupported encryption algorithm");this.algorithm=D;let w=p.get("Length");if(!w)if(D<=3)w=40;else{const k=p.get("CF"),O=p.get("StmF");if(k instanceof u.Dict&&O instanceof u.Name){k.suppressEncryption=!0;const V=k.get(O.name);w=(V==null?void 0:V.get("Length"))||128,w<40&&(w<<=3)}}if(!Number.isInteger(w)||w<40||w%8!==0)throw new n.FormatError("invalid key length");const m=(0,n.stringToBytes)(p.get("O")),I=(0,n.stringToBytes)(p.get("U")),H=m.subarray(0,32),Y=I.subarray(0,32),Q=p.get("P"),oe=p.get("R"),ne=(D===4||D===5)&&p.get("EncryptMetadata")!==!1;this.encryptMetadata=ne;const ce=(0,n.stringToBytes)(G);let J;if($){if(oe===6)try{$=(0,n.utf8StringToString)($)}catch{(0,n.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}J=(0,n.stringToBytes)($)}let _;if(D!==5)_=ct(this,M,jn).call(this,ce,J,H,Y,Q,oe,w,ne);else{const k=m.subarray(32,40),O=m.subarray(40,48),V=I.subarray(0,48),K=I.subarray(32,40),te=I.subarray(40,48),re=(0,n.stringToBytes)(p.get("OE")),ie=(0,n.stringToBytes)(p.get("UE")),Z=(0,n.stringToBytes)(p.get("Perms"));_=ct(this,W,na).call(this,oe,J,H,k,O,V,Y,K,te,re,ie,Z)}if(!_&&!$)throw new n.PasswordException("No password given",n.PasswordResponses.NEED_PASSWORD);if(!_&&$){const k=ct(this,c,aa).call(this,J,H,oe,w);_=ct(this,M,jn).call(this,ce,k,H,Y,Q,oe,w,ne)}if(!_)throw new n.PasswordException("Incorrect Password",n.PasswordResponses.INCORRECT_PASSWORD);if(this.encryptionKey=_,D>=4){const k=p.get("CF");k instanceof u.Dict&&(k.suppressEncryption=!0),this.cf=k,this.stmf=p.get("StmF")||u.Name.get("Identity"),this.strf=p.get("StrF")||u.Name.get("Identity"),this.eff=p.get("EFF")||this.stmf}}createCipherTransform(p,G){if(this.algorithm===4||this.algorithm===5)return new P(ct(this,l,Wn).call(this,this.cf,this.strf,p,G,this.encryptionKey),ct(this,l,Wn).call(this,this.cf,this.stmf,p,G,this.encryptionKey));const $=ct(this,E,bn).call(this,p,G,this.encryptionKey,!1),A=function(){return new e($)};return new P(A,A)}};B=new WeakMap,W=new WeakSet,na=function(p,G,$,A,D,w,m,I,H,Y,Q,oe){if(G){const ce=Math.min(127,G.length);G=G.subarray(0,ce)}else G=[];const ne=p===6?new v:new N;return ne.checkUserPassword(G,I,m)?ne.getUserKey(G,H,Q):G.length&&ne.checkOwnerPassword(G,A,w,$)?ne.getOwnerKey(G,D,w,Y):null},M=new WeakSet,jn=function(p,G,$,A,D,w,m,I){const H=40+$.length+p.length,Y=new Uint8Array(H);let Q=0,oe,ne;if(G)for(ne=Math.min(32,G.length);Q>8&255,Y[Q++]=D>>16&255,Y[Q++]=D>>>24&255,oe=0,ne=p.length;oe=4&&!I&&(Y[Q++]=255,Y[Q++]=255,Y[Q++]=255,Y[Q++]=255);let ce=t(Y,0,Q);const J=m>>3;if(w>=3)for(oe=0;oe<50;++oe)ce=t(ce,0,J);const _=ce.subarray(0,J);let k,O;if(w>=3){for(Q=0;Q<32;++Q)Y[Q]=Bt(R,B)[Q];for(oe=0,ne=p.length;oe>3;if($>=3)for(I=0;I<50;++I)H=t(H,0,H.length);let Q,oe;if($>=3){oe=G;const ne=new Uint8Array(Y);for(I=19;I>=0;I--){for(let ce=0;ce3&&arguments[3]!==void 0?arguments[3]:!1;const D=new Uint8Array($.length+9),w=$.length;let m;for(m=0;m>8&255,D[m++]=p>>16&255,D[m++]=G&255,D[m++]=G>>8&255,A&&(D[m++]=115,D[m++]=65,D[m++]=108,D[m++]=84),t(D,0,m).subarray(0,Math.min($.length+5,16))},l=new WeakSet,Wn=function(p,G,$,A,D){if(!(G instanceof u.Name))throw new n.FormatError("Invalid crypt filter name.");const w=this,m=p.get(G.name),I=m==null?void 0:m.get("CFM");if(!I||I.name==="None")return function(){return new y};if(I.name==="V2")return function(){var H;return new e(ct(H=w,E,bn).call(H,$,A,D,!1))};if(I.name==="AESV2")return function(){var H;return new x(ct(H=w,E,bn).call(H,$,A,D,!0))};if(I.name==="AESV3")return function(){return new a(D)};throw new n.FormatError("Unknown crypto method")},vt(R,B,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]));let F=R;d.CipherTransformFactory=F},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.DecryptStream=void 0;var n=i(169);const u=512;class g extends n.DecodeStream{constructor(t,s,L){super(s),this.str=t,this.dict=t.dict,this.decrypt=L,this.nextChunk=null,this.initialized=!1}readBlock(){var f;let t;if(this.initialized?t=this.nextChunk:(t=this.str.getBytes(u),this.initialized=!0),!t||t.length===0){this.eof=!0;return}this.nextChunk=this.str.getBytes(u);const s=((f=this.nextChunk)==null?void 0:f.length)>0,L=this.decrypt;t=L(t,!s);const U=this.bufferLength,C=U+t.length;this.ensureBuffer(C).set(t,U),this.bufferLength=C}}d.DecryptStream=g},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.ObjectLoader=void 0,i(140);var n=i(151),u=i(152),g=i(150),e=i(145);function t(U){return U instanceof n.Ref||U instanceof n.Dict||U instanceof u.BaseStream||Array.isArray(U)}function s(U,C){if(U instanceof n.Dict)U=U.getRawValues();else if(U instanceof u.BaseStream)U=U.dict.getRawValues();else if(!Array.isArray(U))return;for(const y of U)t(y)&&C.push(y)}class L{constructor(C,y,f){this.dict=C,this.keys=y,this.xref=f,this.refSet=null}async load(){if(this.xref.stream.isDataLoaded)return;const{keys:C,dict:y}=this;this.refSet=new n.RefSet;const f=[];for(const x of C){const a=y.getRaw(x);a!==void 0&&f.push(a)}return this._walk(f)}async _walk(C){const y=[],f=[];for(;C.length;){let x=C.pop();if(x instanceof n.Ref){if(this.refSet.has(x))continue;try{this.refSet.put(x),x=this.xref.fetch(x)}catch(a){if(!(a instanceof g.MissingDataException)){(0,e.warn)(`ObjectLoader._walk - requesting all data: "${a}".`),this.refSet=null;const{manager:N}=this.xref.stream;return N.requestAllChunks()}y.push(x),f.push({begin:a.begin,end:a.end})}}if(x instanceof u.BaseStream){const a=x.getBaseStreams();if(a){let N=!1;for(const v of a)v.isDataLoaded||(N=!0,f.push({begin:v.start,end:v.end}));N&&y.push(x)}}s(x,C)}if(f.length){await this.xref.stream.manager.requestRanges(f);for(const x of y)x instanceof n.Ref&&this.refSet.remove(x);return this._walk(y)}this.refSet=null}}d.ObjectLoader=L},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.XFAFactory=void 0,i(140);var n=i(229),u=i(230),g=i(243),e=i(239),t=i(238),s=i(145),L=i(244),U=i(254);class C{constructor(f){try{this.root=new L.XFAParser().parse(C._createDocument(f));const x=new u.Binder(this.root);this.form=x.bind(),this.dataHandler=new g.DataHandler(this.root,x.getData()),this.form[n.$globalData].template=this.form}catch(x){(0,s.warn)(`XFA - an error occurred during parsing and binding: ${x}`)}}isValid(){return this.root&&this.form}_createPagesHelper(){const f=this.form[n.$toPages]();return new Promise((x,a)=>{const N=()=>{try{const v=f.next();v.done?x(v.value):setTimeout(N,0)}catch(v){a(v)}};setTimeout(N,0)})}async _createPages(){try{this.pages=await this._createPagesHelper(),this.dims=this.pages.children.map(f=>{const{width:x,height:a}=f.attributes.style;return[0,0,parseInt(x),parseInt(a)]})}catch(f){(0,s.warn)(`XFA - an error occurred during layout: ${f}`)}}getBoundingBox(f){return this.dims[f]}async getNumPages(){return this.pages||await this._createPages(),this.dims.length}setImages(f){this.form[n.$globalData].images=f}setFonts(f){this.form[n.$globalData].fontFinder=new e.FontFinder(f);const x=[];for(let a of this.form[n.$globalData].usedTypefaces)a=(0,t.stripQuotes)(a),this.form[n.$globalData].fontFinder.find(a)||x.push(a);return x.length>0?x:null}appendFonts(f,x){this.form[n.$globalData].fontFinder.add(f,x)}async getPages(){this.pages||await this._createPages();const f=this.pages;return this.pages=null,f}serializeData(f){return this.dataHandler.serialize(f)}static _createDocument(f){return f["/xdp:xdp"]?Object.values(f).join(""):f["xdp:xdp"]}static getRichTextAsHtml(f){if(!f||typeof f!="string")return null;try{let x=new L.XFAParser(U.XhtmlNamespace,!0).parse(f);if(!["body","xhtml"].includes(x[n.$nodeName])){const P=U.XhtmlNamespace.body({});P[n.$appendChild](x),x=P}const a=x[n.$toHTML]();if(!a.success)return null;const{html:N}=a,{attributes:v}=N;return v&&(v.class&&(v.class=v.class.filter(P=>!P.startsWith("xfa"))),v.dir="auto"),{html:N,str:x[n.$text]()}}catch(x){(0,s.warn)(`XFA - an error occurred during parsing of rich text: ${x}`)}return null}}d.XFAFactory=C},(he,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.$uid=d.$toStyle=d.$toString=d.$toPages=d.$toHTML=d.$text=d.$tabIndex=d.$setValue=d.$setSetAttributes=d.$setId=d.$searchNode=d.$root=d.$resolvePrototypes=d.$removeChild=d.$pushPara=d.$pushGlyphs=d.$popPara=d.$onText=d.$onChildCheck=d.$onChild=d.$nsAttributes=d.$nodeName=d.$namespaceId=d.$lastAttribute=d.$isUsable=d.$isTransparent=d.$isThereMoreWidth=d.$isSplittable=d.$isNsAgnostic=d.$isDescendent=d.$isDataValue=d.$isCDATAXml=d.$isBindable=d.$insertAt=d.$indexOf=d.$ids=d.$hasSettableValue=d.$globalData=d.$getTemplateRoot=d.$getSubformParent=d.$getRealChildrenByNameIt=d.$getParent=d.$getNextPage=d.$getExtra=d.$getDataValue=d.$getContainedChildren=d.$getChildrenByNameIt=d.$getChildrenByName=d.$getChildrenByClass=d.$getChildren=d.$getAvailableSpace=d.$getAttributes=d.$getAttributeIt=d.$flushHTML=d.$finalize=d.$extra=d.$dump=d.$data=d.$content=d.$consumed=d.$clone=d.$cleanup=d.$cleanPage=d.$clean=d.$childrenToHTML=d.$appendChild=d.$addHTML=d.$acceptWhitespace=void 0;const i=Symbol();d.$acceptWhitespace=i;const n=Symbol();d.$addHTML=n;const u=Symbol();d.$appendChild=u;const g=Symbol();d.$childrenToHTML=g;const e=Symbol();d.$clean=e;const t=Symbol();d.$cleanPage=t;const s=Symbol();d.$cleanup=s;const L=Symbol();d.$clone=L;const U=Symbol();d.$consumed=U;const C=Symbol("content");d.$content=C;const y=Symbol("data");d.$data=y;const f=Symbol();d.$dump=f;const x=Symbol("extra");d.$extra=x;const a=Symbol();d.$finalize=a;const N=Symbol();d.$flushHTML=N;const v=Symbol();d.$getAttributeIt=v;const P=Symbol();d.$getAttributes=P;const F=Symbol();d.$getAvailableSpace=F;const B=Symbol();d.$getChildrenByClass=B;const W=Symbol();d.$getChildrenByName=W;const j=Symbol();d.$getChildrenByNameIt=j;const M=Symbol();d.$getDataValue=M;const T=Symbol();d.$getExtra=T;const c=Symbol();d.$getRealChildrenByNameIt=c;const h=Symbol();d.$getChildren=h;const E=Symbol();d.$getContainedChildren=E;const o=Symbol();d.$getNextPage=o;const l=Symbol();d.$getSubformParent=l;const b=Symbol();d.$getParent=b;const R=Symbol();d.$getTemplateRoot=R;const S=Symbol();d.$globalData=S;const p=Symbol();d.$hasSettableValue=p;const G=Symbol();d.$ids=G;const $=Symbol();d.$indexOf=$;const A=Symbol();d.$insertAt=A;const D=Symbol();d.$isCDATAXml=D;const w=Symbol();d.$isBindable=w;const m=Symbol();d.$isDataValue=m;const I=Symbol();d.$isDescendent=I;const H=Symbol();d.$isNsAgnostic=H;const Y=Symbol();d.$isSplittable=Y;const Q=Symbol();d.$isThereMoreWidth=Q;const oe=Symbol();d.$isTransparent=oe;const ne=Symbol();d.$isUsable=ne;const ce=Symbol();d.$lastAttribute=ce;const J=Symbol("namespaceId");d.$namespaceId=J;const _=Symbol("nodeName");d.$nodeName=_;const k=Symbol();d.$nsAttributes=k;const O=Symbol();d.$onChild=O;const V=Symbol();d.$onChildCheck=V;const K=Symbol();d.$onText=K;const te=Symbol();d.$pushGlyphs=te;const re=Symbol();d.$popPara=re;const ie=Symbol();d.$pushPara=ie;const Z=Symbol();d.$removeChild=Z;const ee=Symbol("root");d.$root=ee;const q=Symbol();d.$resolvePrototypes=q;const z=Symbol();d.$searchNode=z;const ae=Symbol();d.$setId=ae;const se=Symbol();d.$setSetAttributes=se;const le=Symbol();d.$setValue=le;const ue=Symbol();d.$tabIndex=ue;const fe=Symbol();d.$text=fe;const ge=Symbol();d.$toPages=ge;const me=Symbol();d.$toHTML=me;const be=Symbol();d.$toString=be;const ye=Symbol();d.$toStyle=ye;const Se=Symbol("uid");d.$uid=Se},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.Binder=void 0,i(140);var n=i(229),u=i(231),g=i(242),e=i(241),t=i(235),s=i(145);const L=t.NamespaceIds.datasets.id;function U(y){const f=new u.Text({});return f[n.$content]=y,f}class C{constructor(f){var x;this.root=f,this.datasets=f.datasets,this.data=((x=f.datasets)==null?void 0:x.data)||new e.XmlObject(t.NamespaceIds.datasets.id,"data"),this.emptyMerge=this.data[n.$getChildren]().length===0,this.root.form=this.form=f.template[n.$clone]()}_isConsumeData(){return!this.emptyMerge&&this._mergeMode}_isMatchTemplate(){return!this._isConsumeData()}bind(){return this._bindElement(this.form,this.data),this.form}getData(){return this.data}_bindValue(f,x,a){var N,v;if(f[n.$data]=x,f[n.$hasSettableValue]())if(x[n.$isDataValue]()){const P=x[n.$getDataValue]();f[n.$setValue](U(P))}else if(f instanceof u.Field&&((v=(N=f.ui)==null?void 0:N.choiceList)==null?void 0:v.open)==="multiSelect"){const P=x[n.$getChildren]().map(F=>F[n.$content].trim()).join(` `);f[n.$setValue](U(P))}else this._isConsumeData()&&(0,s.warn)("XFA - Nodes haven't the same type.");else!x[n.$isDataValue]()||this._isMatchTemplate()?this._bindElement(f,x):(0,s.warn)("XFA - Nodes haven't the same type.")}_findDataByNameToConsume(f,x,a,N){if(!f)return null;let v,P;for(let F=0;F<3;F++){for(v=a[n.$getRealChildrenByNameIt](f,!1,!0);P=v.next().value,!!P;)if(x===P[n.$isDataValue]())return P;if(a[n.$namespaceId]===t.NamespaceIds.datasets.id&&a[n.$nodeName]==="data")break;a=a[n.$getParent]()}return N?(v=this.data[n.$getRealChildrenByNameIt](f,!0,!1),P=v.next().value,P||(v=this.data[n.$getAttributeIt](f,!0),P=v.next().value,P!=null&&P[n.$isDataValue]())?P:null):null}_setProperties(f,x){if(f.hasOwnProperty("setProperty"))for(const{ref:a,target:N,connection:v}of f.setProperty.children){if(v||!a)continue;const P=(0,g.searchNode)(this.root,x,a,!1,!1);if(!P){(0,s.warn)(`XFA - Invalid reference: ${a}.`);continue}const[F]=P;if(!F[n.$isDescendent](this.data)){(0,s.warn)("XFA - Invalid node: must be a data node.");continue}const B=(0,g.searchNode)(this.root,f,N,!1,!1);if(!B){(0,s.warn)(`XFA - Invalid target: ${N}.`);continue}const[W]=B;if(!W[n.$isDescendent](f)){(0,s.warn)("XFA - Invalid target: must be a property or subproperty.");continue}const j=W[n.$getParent]();if(W instanceof u.SetProperty||j instanceof u.SetProperty){(0,s.warn)("XFA - Invalid target: cannot be a setProperty or one of its properties.");continue}if(W instanceof u.BindItems||j instanceof u.BindItems){(0,s.warn)("XFA - Invalid target: cannot be a bindItems or one of its properties.");continue}const M=F[n.$text](),T=W[n.$nodeName];if(W instanceof e.XFAAttribute){const c=Object.create(null);c[T]=M;const h=Reflect.construct(Object.getPrototypeOf(j).constructor,[c]);j[T]=h[T];continue}if(!W.hasOwnProperty(n.$content)){(0,s.warn)("XFA - Invalid node to use in setProperty");continue}W[n.$data]=F,W[n.$content]=M,W[n.$finalize]()}}_bindItems(f,x){if(!f.hasOwnProperty("items")||!f.hasOwnProperty("bindItems")||f.bindItems.isEmpty())return;for(const v of f.items.children)f[n.$removeChild](v);f.items.clear();const a=new u.Items({}),N=new u.Items({});f[n.$appendChild](a),f.items.push(a),f[n.$appendChild](N),f.items.push(N);for(const{ref:v,labelRef:P,valueRef:F,connection:B}of f.bindItems.children){if(B||!v)continue;const W=(0,g.searchNode)(this.root,x,v,!1,!1);if(!W){(0,s.warn)(`XFA - Invalid reference: ${v}.`);continue}for(const j of W){if(!j[n.$isDescendent](this.datasets)){(0,s.warn)(`XFA - Invalid ref (${v}): must be a datasets child.`);continue}const M=(0,g.searchNode)(this.root,j,P,!0,!1);if(!M){(0,s.warn)(`XFA - Invalid label: ${P}.`);continue}const[T]=M;if(!T[n.$isDescendent](this.datasets)){(0,s.warn)("XFA - Invalid label: must be a datasets child.");continue}const c=(0,g.searchNode)(this.root,j,F,!0,!1);if(!c){(0,s.warn)(`XFA - Invalid value: ${F}.`);continue}const[h]=c;if(!h[n.$isDescendent](this.datasets)){(0,s.warn)("XFA - Invalid value: must be a datasets child.");continue}const E=U(T[n.$text]()),o=U(h[n.$text]());a[n.$appendChild](E),a.text.push(E),N[n.$appendChild](o),N.text.push(o)}}}_bindOccurrences(f,x,a){let N;if(x.length>1&&(N=f[n.$clone](),N[n.$removeChild](N.occur),N.occur=null),this._bindValue(f,x[0],a),this._setProperties(f,x[0]),this._bindItems(f,x[0]),x.length===1)return;const v=f[n.$getParent](),P=f[n.$nodeName],F=v[n.$indexOf](f);for(let B=1,W=x.length;BB.name===f.name).length:v=a[N].children.length;const P=a[n.$indexOf](f)+1,F=x.initial-v;if(F){const B=f[n.$clone]();B[n.$removeChild](B.occur),B.occur=null,a[N].push(B),a[n.$insertAt](P,B);for(let W=1;W0)this._bindOccurrences(N,[M[0]],null);else if(this.emptyMerge){const T=x[n.$namespaceId]===L?-1:x[n.$namespaceId],c=N[n.$data]=new e.XmlObject(T,N.name||"root");x[n.$appendChild](c),this._bindElement(N,c)}continue}if(!N[n.$isBindable]())continue;let v=!1,P=null,F=null,B=null;if(N.bind){switch(N.bind.match){case"none":this._setAndBind(N,x);continue;case"global":v=!0;break;case"dataRef":if(!N.bind.ref){(0,s.warn)(`XFA - ref is empty in node ${N[n.$nodeName]}.`),this._setAndBind(N,x);continue}F=N.bind.ref;break}N.bind.picture&&(P=N.bind.picture[n.$content])}const[W,j]=this._getOccurInfo(N);if(F)if(B=(0,g.searchNode)(this.root,x,F,!0,!1),B===null){if(B=(0,g.createDataNode)(this.data,x,F),!B)continue;this._isConsumeData()&&(B[n.$consumed]=!0),this._setAndBind(N,B);continue}else this._isConsumeData()&&(B=B.filter(M=>!M[n.$consumed])),B.length>j?B=B.slice(0,j):B.length===0&&(B=null),B&&this._isConsumeData()&&B.forEach(M=>{M[n.$consumed]=!0});else{if(!N.name){this._setAndBind(N,x);continue}if(this._isConsumeData()){const M=[];for(;M.length0?M:null}else{if(B=x[n.$getRealChildrenByNameIt](N.name,!1,this.emptyMerge).next().value,!B){if(W===0){a.push(N);continue}const M=x[n.$namespaceId]===L?-1:x[n.$namespaceId];B=N[n.$data]=new e.XmlObject(M,N.name),this.emptyMerge&&(B[n.$consumed]=!0),x[n.$appendChild](B),this._setAndBind(N,B);continue}this.emptyMerge&&(B[n.$consumed]=!0),B=[B]}}B?this._bindOccurrences(N,B,P):W>0?this._setAndBind(N,x):a.push(N)}a.forEach(N=>N[n.$getParent]()[n.$removeChild](N))}}d.Binder=C},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.Value=d.Text=d.TemplateNamespace=d.Template=d.SetProperty=d.Items=d.Field=d.BindItems=void 0,i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(140),i(232),i(146),i(148),i(149);var n=i(229),u=i(235),g=i(236),e=i(237),t=i(241),s=i(238),L=i(145),U=i(239),C=i(150),y=i(242);const f=u.NamespaceIds.template.id,x="http://www.w3.org/2000/svg",a=2,N=3,v=5e3,P=/^H(\d+)$/,F=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"]),B=[[[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 W(ke){if(!ke||!ke.border)return{w:0,h:0};const r=ke.border[n.$getExtra]();return r?{w:r.widths[0]+r.widths[2]+r.insets[0]+r.insets[2],h:r.widths[1]+r.widths[3]+r.insets[1]+r.insets[3]}:{w:0,h:0}}function j(ke){return ke.margin&&(ke.margin.topInset||ke.margin.rightInset||ke.margin.bottomInset||ke.margin.leftInset)}function M(ke,r){if(!ke.value){const X=new Qt({});ke[n.$appendChild](X),ke.value=X}ke.value[n.$setValue](r)}function*T(ke){for(const r of ke[n.$getChildren]()){if(r instanceof an){yield*r[n.$getContainedChildren]();continue}yield r}}function c(ke){var r;return((r=ke.validate)==null?void 0:r.nullTest)==="error"}function h(ke){for(;ke;){if(!ke.traversal){ke[n.$tabIndex]=ke[n.$getParent]()[n.$tabIndex];return}if(ke[n.$tabIndex])return;let r=null;for(const Ie of ke.traversal[n.$getChildren]())if(Ie.operation==="next"){r=Ie;break}if(!r||!r.ref){ke[n.$tabIndex]=ke[n.$getParent]()[n.$tabIndex];return}const X=ke[n.$getTemplateRoot]();ke[n.$tabIndex]=++X[n.$tabIndex];const ve=X[n.$searchNode](r.ref,ke);if(!ve)return;ke=ve[0]}}function E(ke,r){var ve;const X=ke.assist;if(X){const Ie=X[n.$toHTML]();Ie&&(r.title=Ie);const Ue=X.role.match(P);if(Ue){const Ze="heading",_e=Ue[1];r.role=Ze,r["aria-level"]=_e}}if(ke.layout==="table")r.role="table";else if(ke.layout==="row")r.role="row";else{const Ie=ke[n.$getParent]();Ie.layout==="row"&&(r.role=((ve=Ie.assist)==null?void 0:ve.role)==="TH"?"columnheader":"cell")}}function o(ke){if(!ke.assist)return null;const r=ke.assist;return r.speak&&r.speak[n.$content]!==""?r.speak[n.$content]:r.toolTip?r.toolTip[n.$content]:null}function l(ke){return s.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:ke}]})}function b(ke){const r=ke[n.$getTemplateRoot]();r[n.$extra].firstUnsplittable===null&&(r[n.$extra].firstUnsplittable=ke,r[n.$extra].noLayoutFailure=!0)}function R(ke){const r=ke[n.$getTemplateRoot]();r[n.$extra].firstUnsplittable===ke&&(r[n.$extra].noLayoutFailure=!1)}function S(ke){if(ke[n.$extra]||(ke[n.$extra]=Object.create(null),ke.targetType==="auto"))return!1;const r=ke[n.$getTemplateRoot]();let X=null;if(ke.target){if(X=r[n.$searchNode](ke.target,ke[n.$getParent]()),!X)return!1;X=X[0]}const{currentPageArea:ve,currentContentArea:Ie}=r[n.$extra];if(ke.targetType==="pageArea")return X instanceof qe||(X=null),ke.startNew?(ke[n.$extra].target=X||ve,!0):X&&X!==ve?(ke[n.$extra].target=X,!0):!1;X instanceof ee||(X=null);const Pe=X&&X[n.$getParent]();let Ue,Ze=Pe;if(ke.startNew)if(X){const _e=Pe.contentArea.children,dt=_e.indexOf(Ie),yt=_e.indexOf(X);dt!==-1&&dtke,ve[n.$extra].noLayoutFailure=!0;const Ue=r[n.$toHTML](X);ke[n.$addHTML](Ue.html,Ue.bbox),ve[n.$extra].noLayoutFailure=Ie,r[n.$getSubformParent]=Pe}class G extends t.StringObject{constructor(r){super(f,"appearanceFilter"),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||""}}class $ extends t.XFAObject{constructor(r){super(f,"arc",!0),this.circular=(0,s.getInteger)({data:r.circular,defaultValue:0,validate:X=>X===1}),this.hand=(0,s.getStringOption)(r.hand,["even","left","right"]),this.id=r.id||"",this.startAngle=(0,s.getFloat)({data:r.startAngle,defaultValue:0,validate:X=>!0}),this.sweepAngle=(0,s.getFloat)({data:r.sweepAngle,defaultValue:360,validate:X=>!0}),this.use=r.use||"",this.usehref=r.usehref||"",this.edge=null,this.fill=null}[n.$toHTML](){var _e;const r=this.edge||new ye({}),X=r[n.$toStyle](),ve=Object.create(null);((_e=this.fill)==null?void 0:_e.presence)==="visible"?Object.assign(ve,this.fill[n.$toStyle]()):ve.fill="transparent",ve.strokeWidth=(0,e.measureToString)(r.presence==="visible"?r.thickness:0),ve.stroke=X.color;let Ie;const Pe={xmlns:x,style:{width:"100%",height:"100%",overflow:"visible"}};if(this.sweepAngle===360)Ie={name:"ellipse",attributes:{xmlns:x,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:ve}};else{const dt=this.startAngle*Math.PI/180,yt=this.sweepAngle*Math.PI/180,Tt=this.sweepAngle>180?1:0,[Ft,Et,Lt,pt]=[50*(1+Math.cos(dt)),50*(1-Math.sin(dt)),50*(1+Math.cos(dt+yt)),50*(1-Math.sin(dt+yt))];Ie={name:"path",attributes:{xmlns:x,d:`M ${Ft} ${Et} A 50 50 0 ${Tt} 0 ${Lt} ${pt}`,vectorEffect:"non-scaling-stroke",style:ve}},Object.assign(Pe,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}const Ue={name:"svg",children:[Ie],attributes:Pe},Ze=this[n.$getParent]()[n.$getParent]();return j(Ze)?s.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[Ue]}):(Ue.attributes.style.position="absolute",s.HTMLResult.success(Ue))}}class A extends t.XFAObject{constructor(r){super(f,"area",!0),this.colSpan=(0,s.getInteger)({data:r.colSpan,defaultValue:1,validate:X=>X>=1||X===-1}),this.id=r.id||"",this.name=r.name||"",this.relevant=(0,s.getRelevant)(r.relevant),this.use=r.use||"",this.usehref=r.usehref||"",this.x=(0,s.getMeasurement)(r.x,"0pt"),this.y=(0,s.getMeasurement)(r.y,"0pt"),this.desc=null,this.extras=null,this.area=new t.XFAObjectArray,this.draw=new t.XFAObjectArray,this.exObject=new t.XFAObjectArray,this.exclGroup=new t.XFAObjectArray,this.field=new t.XFAObjectArray,this.subform=new t.XFAObjectArray,this.subformSet=new t.XFAObjectArray}*[n.$getContainedChildren](){yield*T(this)}[n.$isTransparent](){return!0}[n.$isBindable](){return!0}[n.$addHTML](r,X){const[ve,Ie,Pe,Ue]=X;this[n.$extra].width=Math.max(this[n.$extra].width,ve+Pe),this[n.$extra].height=Math.max(this[n.$extra].height,Ie+Ue),this[n.$extra].children.push(r)}[n.$getAvailableSpace](){return this[n.$extra].availableSpace}[n.$toHTML](r){const X=(0,e.toStyle)(this,"position"),ve={style:X,id:this[n.$uid],class:["xfaArea"]};(0,e.isPrintOnly)(this)&&ve.class.push("xfaPrintOnly"),this.name&&(ve.xfaName=this.name);const Ie=[];this[n.$extra]={children:Ie,width:0,height:0,availableSpace:r};const Pe=this[n.$childrenToHTML]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!Pe.success)return Pe.isBreak()?Pe:(delete this[n.$extra],s.HTMLResult.FAILURE);X.width=(0,e.measureToString)(this[n.$extra].width),X.height=(0,e.measureToString)(this[n.$extra].height);const Ue={name:"div",attributes:ve,children:Ie},Ze=[this.x,this.y,this[n.$extra].width,this[n.$extra].height];return delete this[n.$extra],s.HTMLResult.success(Ue,Ze)}}class D extends t.XFAObject{constructor(r){super(f,"assist",!0),this.id=r.id||"",this.role=r.role||"",this.use=r.use||"",this.usehref=r.usehref||"",this.speak=null,this.toolTip=null}[n.$toHTML](){var r;return((r=this.toolTip)==null?void 0:r[n.$content])||null}}class w extends t.XFAObject{constructor(r){super(f,"barcode",!0),this.charEncoding=(0,s.getKeyword)({data:r.charEncoding?r.charEncoding.toLowerCase():"",defaultValue:"",validate:X=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(X)||X.match(/iso-8859-\d{2}/)}),this.checksum=(0,s.getStringOption)(r.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),this.dataColumnCount=(0,s.getInteger)({data:r.dataColumnCount,defaultValue:-1,validate:X=>X>=0}),this.dataLength=(0,s.getInteger)({data:r.dataLength,defaultValue:-1,validate:X=>X>=0}),this.dataPrep=(0,s.getStringOption)(r.dataPrep,["none","flateCompress"]),this.dataRowCount=(0,s.getInteger)({data:r.dataRowCount,defaultValue:-1,validate:X=>X>=0}),this.endChar=r.endChar||"",this.errorCorrectionLevel=(0,s.getInteger)({data:r.errorCorrectionLevel,defaultValue:-1,validate:X=>X>=0&&X<=8}),this.id=r.id||"",this.moduleHeight=(0,s.getMeasurement)(r.moduleHeight,"5mm"),this.moduleWidth=(0,s.getMeasurement)(r.moduleWidth,"0.25mm"),this.printCheckDigit=(0,s.getInteger)({data:r.printCheckDigit,defaultValue:0,validate:X=>X===1}),this.rowColumnRatio=(0,s.getRatio)(r.rowColumnRatio),this.startChar=r.startChar||"",this.textLocation=(0,s.getStringOption)(r.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),this.truncate=(0,s.getInteger)({data:r.truncate,defaultValue:0,validate:X=>X===1}),this.type=(0,s.getStringOption)(r.type?r.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"]),this.upsMode=(0,s.getStringOption)(r.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),this.use=r.use||"",this.usehref=r.usehref||"",this.wideNarrowRatio=(0,s.getRatio)(r.wideNarrowRatio),this.encrypt=null,this.extras=null}}class m extends t.XFAObject{constructor(r){super(f,"bind",!0),this.match=(0,s.getStringOption)(r.match,["once","dataRef","global","none"]),this.ref=r.ref||"",this.picture=null}}class I extends t.XFAObject{constructor(r){super(f,"bindItems"),this.connection=r.connection||"",this.labelRef=r.labelRef||"",this.ref=r.ref||"",this.valueRef=r.valueRef||""}}d.BindItems=I;class H extends t.XFAObject{constructor(r){super(f,"bookend"),this.id=r.id||"",this.leader=r.leader||"",this.trailer=r.trailer||"",this.use=r.use||"",this.usehref=r.usehref||""}}class Y extends t.Option01{constructor(r){super(f,"boolean"),this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}[n.$toHTML](r){return l(this[n.$content]===1?"1":"0")}}class Q extends t.XFAObject{constructor(r){super(f,"border",!0),this.break=(0,s.getStringOption)(r.break,["close","open"]),this.hand=(0,s.getStringOption)(r.hand,["even","left","right"]),this.id=r.id||"",this.presence=(0,s.getStringOption)(r.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,s.getRelevant)(r.relevant),this.use=r.use||"",this.usehref=r.usehref||"",this.corner=new t.XFAObjectArray(4),this.edge=new t.XFAObjectArray(4),this.extras=null,this.fill=null,this.margin=null}[n.$getExtra](){if(!this[n.$extra]){const r=this.edge.children.slice();if(r.length<4){const Ie=r.at(-1)||new ye({});for(let Pe=r.length;Pe<4;Pe++)r.push(Ie)}const X=r.map(Ie=>Ie.thickness),ve=[0,0,0,0];this.margin&&(ve[0]=this.margin.topInset,ve[1]=this.margin.rightInset,ve[2]=this.margin.bottomInset,ve[3]=this.margin.leftInset),this[n.$extra]={widths:X,insets:ve,edges:r}}return this[n.$extra]}[n.$toStyle](){var Ie;const{edges:r}=this[n.$getExtra](),X=r.map(Pe=>{const Ue=Pe[n.$toStyle]();return Ue.color||(Ue.color="#000000"),Ue}),ve=Object.create(null);if(this.margin&&Object.assign(ve,this.margin[n.$toStyle]()),((Ie=this.fill)==null?void 0:Ie.presence)==="visible"&&Object.assign(ve,this.fill[n.$toStyle]()),this.corner.children.some(Pe=>Pe.radius!==0)){const Pe=this.corner.children.map(Ue=>Ue[n.$toStyle]());if(Pe.length===2||Pe.length===3){const Ue=Pe.at(-1);for(let Ze=Pe.length;Ze<4;Ze++)Pe.push(Ue)}ve.borderRadius=Pe.map(Ue=>Ue.radius).join(" ")}switch(this.presence){case"invisible":case"hidden":ve.borderStyle="";break;case"inactive":ve.borderStyle="none";break;default:ve.borderStyle=X.map(Pe=>Pe.style).join(" ");break}return ve.borderWidth=X.map(Pe=>Pe.width).join(" "),ve.borderColor=X.map(Pe=>Pe.color).join(" "),ve}}class oe extends t.XFAObject{constructor(r){super(f,"break",!0),this.after=(0,s.getStringOption)(r.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.afterTarget=r.afterTarget||"",this.before=(0,s.getStringOption)(r.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.beforeTarget=r.beforeTarget||"",this.bookendLeader=r.bookendLeader||"",this.bookendTrailer=r.bookendTrailer||"",this.id=r.id||"",this.overflowLeader=r.overflowLeader||"",this.overflowTarget=r.overflowTarget||"",this.overflowTrailer=r.overflowTrailer||"",this.startNew=(0,s.getInteger)({data:r.startNew,defaultValue:0,validate:X=>X===1}),this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null}}class ne extends t.XFAObject{constructor(r){super(f,"breakAfter",!0),this.id=r.id||"",this.leader=r.leader||"",this.startNew=(0,s.getInteger)({data:r.startNew,defaultValue:0,validate:X=>X===1}),this.target=r.target||"",this.targetType=(0,s.getStringOption)(r.targetType,["auto","contentArea","pageArea"]),this.trailer=r.trailer||"",this.use=r.use||"",this.usehref=r.usehref||"",this.script=null}}class ce extends t.XFAObject{constructor(r){super(f,"breakBefore",!0),this.id=r.id||"",this.leader=r.leader||"",this.startNew=(0,s.getInteger)({data:r.startNew,defaultValue:0,validate:X=>X===1}),this.target=r.target||"",this.targetType=(0,s.getStringOption)(r.targetType,["auto","contentArea","pageArea"]),this.trailer=r.trailer||"",this.use=r.use||"",this.usehref=r.usehref||"",this.script=null}[n.$toHTML](r){return this[n.$extra]={},s.HTMLResult.FAILURE}}class J extends t.XFAObject{constructor(r){super(f,"button",!0),this.highlight=(0,s.getStringOption)(r.highlight,["inverted","none","outline","push"]),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null}[n.$toHTML](r){const ve=this[n.$getParent]()[n.$getParent](),Ie={name:"button",attributes:{id:this[n.$uid],class:["xfaButton"],style:{}},children:[]};for(const Pe of ve.event.children){if(Pe.activity!=="click"||!Pe.script)continue;const Ue=(0,C.recoverJsURL)(Pe.script[n.$content]);if(!Ue)continue;const Ze=(0,e.fixURL)(Ue.url);Ze&&Ie.children.push({name:"a",attributes:{id:"link"+this[n.$uid],href:Ze,newWindow:Ue.newWindow,class:["xfaLink"],style:{}},children:[]})}return s.HTMLResult.success(Ie)}}class _ extends t.XFAObject{constructor(r){super(f,"calculate",!0),this.id=r.id||"",this.override=(0,s.getStringOption)(r.override,["disabled","error","ignore","warning"]),this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.message=null,this.script=null}}class k extends t.XFAObject{constructor(r){super(f,"caption",!0),this.id=r.id||"",this.placement=(0,s.getStringOption)(r.placement,["left","bottom","inline","right","top"]),this.presence=(0,s.getStringOption)(r.presence,["visible","hidden","inactive","invisible"]),this.reserve=Math.ceil((0,s.getMeasurement)(r.reserve)),this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.font=null,this.margin=null,this.para=null,this.value=null}[n.$setValue](r){M(this,r)}[n.$getExtra](r){if(!this[n.$extra]){let{width:X,height:ve}=r;switch(this.placement){case"left":case"right":case"inline":X=this.reserve<=0?X:this.reserve;break;case"top":case"bottom":ve=this.reserve<=0?ve:this.reserve;break}this[n.$extra]=(0,e.layoutNode)(this,{width:X,height:ve})}return this[n.$extra]}[n.$toHTML](r){if(!this.value)return s.HTMLResult.EMPTY;this[n.$pushPara]();const X=this.value[n.$toHTML](r).html;if(!X)return this[n.$popPara](),s.HTMLResult.EMPTY;const ve=this.reserve;if(this.reserve<=0){const{w:Ue,h:Ze}=this[n.$getExtra](r);switch(this.placement){case"left":case"right":case"inline":this.reserve=Ue;break;case"top":case"bottom":this.reserve=Ze;break}}const Ie=[];typeof X=="string"?Ie.push({name:"#text",value:X}):Ie.push(X);const Pe=(0,e.toStyle)(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(Pe.width=(0,e.measureToString)(this.reserve));break;case"top":case"bottom":this.reserve>0&&(Pe.height=(0,e.measureToString)(this.reserve));break}return(0,e.setPara)(this,null,X),this[n.$popPara](),this.reserve=ve,s.HTMLResult.success({name:"div",attributes:{style:Pe,class:["xfaCaption"]},children:Ie})}}class O extends t.StringObject{constructor(r){super(f,"certificate"),this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}}class V extends t.XFAObject{constructor(r){super(f,"certificates",!0),this.credentialServerPolicy=(0,s.getStringOption)(r.credentialServerPolicy,["optional","required"]),this.id=r.id||"",this.url=r.url||"",this.urlPolicy=r.urlPolicy||"",this.use=r.use||"",this.usehref=r.usehref||"",this.encryption=null,this.issuers=null,this.keyUsage=null,this.oids=null,this.signing=null,this.subjectDNs=null}}class K extends t.XFAObject{constructor(r){super(f,"checkButton",!0),this.id=r.id||"",this.mark=(0,s.getStringOption)(r.mark,["default","check","circle","cross","diamond","square","star"]),this.shape=(0,s.getStringOption)(r.shape,["square","round"]),this.size=(0,s.getMeasurement)(r.size,"10pt"),this.use=r.use||"",this.usehref=r.usehref||"",this.border=null,this.extras=null,this.margin=null}[n.$toHTML](r){var Ht,Pt,Wt;const X=(0,e.toStyle)("margin"),ve=(0,e.measureToString)(this.size);X.width=X.height=ve;let Ie,Pe,Ue;const Ze=this[n.$getParent]()[n.$getParent](),_e=Ze.items.children.length&&Ze.items.children[0][n.$toHTML]().html||[],dt={on:(_e[0]!==void 0?_e[0]:"on").toString(),off:(_e[1]!==void 0?_e[1]:"off").toString()},Tt=(((Ht=Ze.value)==null?void 0:Ht[n.$text]())||"off")===dt.on||void 0,Ft=Ze[n.$getSubformParent](),Et=Ze[n.$uid];let Lt;Ft instanceof Ee?(Ue=Ft[n.$uid],Ie="radio",Pe="xfaRadio",Lt=((Pt=Ft[n.$data])==null?void 0:Pt[n.$uid])||Ft[n.$uid]):(Ie="checkbox",Pe="xfaCheckbox",Lt=((Wt=Ze[n.$data])==null?void 0:Wt[n.$uid])||Ze[n.$uid]);const pt={name:"input",attributes:{class:[Pe],style:X,fieldId:Et,dataId:Lt,type:Ie,checked:Tt,xfaOn:dt.on,xfaOff:dt.off,"aria-label":o(Ze),"aria-required":!1}};return Ue&&(pt.attributes.name=Ue),c(Ze)&&(pt.attributes["aria-required"]=!0,pt.attributes.required=!0),s.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[pt]})}}class te extends t.XFAObject{constructor(r){super(f,"choiceList",!0),this.commitOn=(0,s.getStringOption)(r.commitOn,["select","exit"]),this.id=r.id||"",this.open=(0,s.getStringOption)(r.open,["userControl","always","multiSelect","onEntry"]),this.textEntry=(0,s.getInteger)({data:r.textEntry,defaultValue:0,validate:X=>X===1}),this.use=r.use||"",this.usehref=r.usehref||"",this.border=null,this.extras=null,this.margin=null}[n.$toHTML](r){var dt,yt,Tt;const X=(0,e.toStyle)(this,"border","margin"),Ie=this[n.$getParent]()[n.$getParent](),Ue={fontSize:`calc(${((dt=Ie.font)==null?void 0:dt.size)||10}px * var(--scale-factor))`},Ze=[];if(Ie.items.children.length>0){const Ft=Ie.items;let Et=0,Lt=0;Ft.children.length===2&&(Et=Ft.children[0].save,Lt=1-Et);const pt=Ft.children[Et][n.$toHTML]().html,Ht=Ft.children[Lt][n.$toHTML]().html;let Pt=!1;const Wt=((yt=Ie.value)==null?void 0:yt[n.$text]())||"";for(let zt=0,wt=pt.length;ztX>=0}),this.use=r.use||"",this.usehref=r.usehref||""}}class Z extends t.XFAObject{constructor(r){super(f,"connect",!0),this.connection=r.connection||"",this.id=r.id||"",this.ref=r.ref||"",this.usage=(0,s.getStringOption)(r.usage,["exportAndImport","exportOnly","importOnly"]),this.use=r.use||"",this.usehref=r.usehref||"",this.picture=null}}class ee extends t.XFAObject{constructor(r){super(f,"contentArea",!0),this.h=(0,s.getMeasurement)(r.h),this.id=r.id||"",this.name=r.name||"",this.relevant=(0,s.getRelevant)(r.relevant),this.use=r.use||"",this.usehref=r.usehref||"",this.w=(0,s.getMeasurement)(r.w),this.x=(0,s.getMeasurement)(r.x,"0pt"),this.y=(0,s.getMeasurement)(r.y,"0pt"),this.desc=null,this.extras=null}[n.$toHTML](r){const X=(0,e.measureToString)(this.x),ve=(0,e.measureToString)(this.y),Ie={left:X,top:ve,width:(0,e.measureToString)(this.w),height:(0,e.measureToString)(this.h)},Pe=["xfaContentarea"];return(0,e.isPrintOnly)(this)&&Pe.push("xfaPrintOnly"),s.HTMLResult.success({name:"div",children:[],attributes:{style:Ie,class:Pe,id:this[n.$uid]}})}}class q extends t.XFAObject{constructor(r){super(f,"corner",!0),this.id=r.id||"",this.inverted=(0,s.getInteger)({data:r.inverted,defaultValue:0,validate:X=>X===1}),this.join=(0,s.getStringOption)(r.join,["square","round"]),this.presence=(0,s.getStringOption)(r.presence,["visible","hidden","inactive","invisible"]),this.radius=(0,s.getMeasurement)(r.radius),this.stroke=(0,s.getStringOption)(r.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=(0,s.getMeasurement)(r.thickness,"0.5pt"),this.use=r.use||"",this.usehref=r.usehref||"",this.color=null,this.extras=null}[n.$toStyle](){const r=(0,e.toStyle)(this,"visibility");return r.radius=(0,e.measureToString)(this.join==="square"?0:this.radius),r}}class z extends t.ContentObject{constructor(r){super(f,"date"),this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}[n.$finalize](){const r=this[n.$content].trim();this[n.$content]=r?new Date(r):null}[n.$toHTML](r){return l(this[n.$content]?this[n.$content].toString():"")}}class ae extends t.ContentObject{constructor(r){super(f,"dateTime"),this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}[n.$finalize](){const r=this[n.$content].trim();this[n.$content]=r?new Date(r):null}[n.$toHTML](r){return l(this[n.$content]?this[n.$content].toString():"")}}class se extends t.XFAObject{constructor(r){super(f,"dateTimeEdit",!0),this.hScrollPolicy=(0,s.getStringOption)(r.hScrollPolicy,["auto","off","on"]),this.id=r.id||"",this.picker=(0,s.getStringOption)(r.picker,["host","none"]),this.use=r.use||"",this.usehref=r.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[n.$toHTML](r){var Pe;const X=(0,e.toStyle)(this,"border","font","margin"),ve=this[n.$getParent]()[n.$getParent](),Ie={name:"input",attributes:{type:"text",fieldId:ve[n.$uid],dataId:((Pe=ve[n.$data])==null?void 0:Pe[n.$uid])||ve[n.$uid],class:["xfaTextfield"],style:X,"aria-label":o(ve),"aria-required":!1}};return c(ve)&&(Ie.attributes["aria-required"]=!0,Ie.attributes.required=!0),s.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[Ie]})}}class le extends t.ContentObject{constructor(r){super(f,"decimal"),this.fracDigits=(0,s.getInteger)({data:r.fracDigits,defaultValue:2,validate:X=>!0}),this.id=r.id||"",this.leadDigits=(0,s.getInteger)({data:r.leadDigits,defaultValue:-1,validate:X=>!0}),this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}[n.$finalize](){const r=parseFloat(this[n.$content].trim());this[n.$content]=isNaN(r)?null:r}[n.$toHTML](r){return l(this[n.$content]!==null?this[n.$content].toString():"")}}class ue extends t.XFAObject{constructor(r){super(f,"defaultUi",!0),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null}}class fe extends t.XFAObject{constructor(r){super(f,"desc",!0),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.boolean=new t.XFAObjectArray,this.date=new t.XFAObjectArray,this.dateTime=new t.XFAObjectArray,this.decimal=new t.XFAObjectArray,this.exData=new t.XFAObjectArray,this.float=new t.XFAObjectArray,this.image=new t.XFAObjectArray,this.integer=new t.XFAObjectArray,this.text=new t.XFAObjectArray,this.time=new t.XFAObjectArray}}class ge extends t.OptionObject{constructor(r){super(f,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||""}}class me extends t.XFAObject{constructor(r){super(f,"digestMethods",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||"",this.digestMethod=new t.XFAObjectArray}}class be extends t.XFAObject{constructor(r){super(f,"draw",!0),this.anchorType=(0,s.getStringOption)(r.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,s.getInteger)({data:r.colSpan,defaultValue:1,validate:X=>X>=1||X===-1}),this.h=r.h?(0,s.getMeasurement)(r.h):"",this.hAlign=(0,s.getStringOption)(r.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=r.id||"",this.locale=r.locale||"",this.maxH=(0,s.getMeasurement)(r.maxH,"0pt"),this.maxW=(0,s.getMeasurement)(r.maxW,"0pt"),this.minH=(0,s.getMeasurement)(r.minH,"0pt"),this.minW=(0,s.getMeasurement)(r.minW,"0pt"),this.name=r.name||"",this.presence=(0,s.getStringOption)(r.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,s.getRelevant)(r.relevant),this.rotate=(0,s.getInteger)({data:r.rotate,defaultValue:0,validate:X=>X%90===0}),this.use=r.use||"",this.usehref=r.usehref||"",this.w=r.w?(0,s.getMeasurement)(r.w):"",this.x=(0,s.getMeasurement)(r.x,"0pt"),this.y=(0,s.getMeasurement)(r.y,"0pt"),this.assist=null,this.border=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.value=null,this.setProperty=new t.XFAObjectArray}[n.$setValue](r){M(this,r)}[n.$toHTML](r){if(h(this),this.presence==="hidden"||this.presence==="inactive")return s.HTMLResult.EMPTY;(0,e.fixDimensions)(this),this[n.$pushPara]();const X=this.w,ve=this.h,{w:Ie,h:Pe,isBroken:Ue}=(0,e.layoutNode)(this,r);if(Ie&&this.w===""){if(Ue&&this[n.$getSubformParent]()[n.$isThereMoreWidth]())return this[n.$popPara](),s.HTMLResult.FAILURE;this.w=Ie}if(Pe&&this.h===""&&(this.h=Pe),b(this),!(0,g.checkDimensions)(this,r))return this.w=X,this.h=ve,this[n.$popPara](),s.HTMLResult.FAILURE;R(this);const Ze=(0,e.toStyle)(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");(0,e.setMinMaxDimensions)(this,Ze),Ze.margin&&(Ze.padding=Ze.margin,delete Ze.margin);const _e=["xfaDraw"];this.font&&_e.push("xfaFont"),(0,e.isPrintOnly)(this)&&_e.push("xfaPrintOnly");const dt={style:Ze,id:this[n.$uid],class:_e};this.name&&(dt.xfaName=this.name);const yt={name:"div",attributes:dt,children:[]};E(this,dt);const Tt=(0,e.computeBbox)(this,yt,r),Ft=this.value?this.value[n.$toHTML](r).html:null;return Ft===null?(this.w=X,this.h=ve,this[n.$popPara](),s.HTMLResult.success((0,e.createWrapper)(this,yt),Tt)):(yt.children.push(Ft),(0,e.setPara)(this,Ze,Ft),this.w=X,this.h=ve,this[n.$popPara](),s.HTMLResult.success((0,e.createWrapper)(this,yt),Tt))}}class ye extends t.XFAObject{constructor(r){super(f,"edge",!0),this.cap=(0,s.getStringOption)(r.cap,["square","butt","round"]),this.id=r.id||"",this.presence=(0,s.getStringOption)(r.presence,["visible","hidden","inactive","invisible"]),this.stroke=(0,s.getStringOption)(r.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=(0,s.getMeasurement)(r.thickness,"0.5pt"),this.use=r.use||"",this.usehref=r.usehref||"",this.color=null,this.extras=null}[n.$toStyle](){const r=(0,e.toStyle)(this,"visibility");if(Object.assign(r,{linecap:this.cap,width:(0,e.measureToString)(this.thickness),color:this.color?this.color[n.$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}}class Se extends t.OptionObject{constructor(r){super(f,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||""}}class Ae extends t.XFAObject{constructor(r){super(f,"encodings",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||"",this.encoding=new t.XFAObjectArray}}class Fe extends t.XFAObject{constructor(r){super(f,"encrypt",!0),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.certificate=null}}class xe extends t.XFAObject{constructor(r){super(f,"encryptData",!0),this.id=r.id||"",this.operation=(0,s.getStringOption)(r.operation,["encrypt","decrypt"]),this.target=r.target||"",this.use=r.use||"",this.usehref=r.usehref||"",this.filter=null,this.manifest=null}}class de extends t.XFAObject{constructor(r){super(f,"encryption",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||"",this.certificate=new t.XFAObjectArray}}class pe extends t.OptionObject{constructor(r){super(f,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||""}}class Ce extends t.XFAObject{constructor(r){super(f,"encryptionMethods",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||"",this.encryptionMethod=new t.XFAObjectArray}}class we extends t.XFAObject{constructor(r){super(f,"event",!0),this.activity=(0,s.getStringOption)(r.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"]),this.id=r.id||"",this.listen=(0,s.getStringOption)(r.listen,["refOnly","refAndDescendents"]),this.name=r.name||"",this.ref=r.ref||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.encryptData=null,this.execute=null,this.script=null,this.signData=null,this.submit=null}}class $e extends t.ContentObject{constructor(r){super(f,"exData"),this.contentType=r.contentType||"",this.href=r.href||"",this.id=r.id||"",this.maxLength=(0,s.getInteger)({data:r.maxLength,defaultValue:-1,validate:X=>X>=-1}),this.name=r.name||"",this.rid=r.rid||"",this.transferEncoding=(0,s.getStringOption)(r.transferEncoding,["none","base64","package"]),this.use=r.use||"",this.usehref=r.usehref||""}[n.$isCDATAXml](){return this.contentType==="text/html"}[n.$onChild](r){return this.contentType==="text/html"&&r[n.$namespaceId]===u.NamespaceIds.xhtml.id?(this[n.$content]=r,!0):this.contentType==="text/xml"?(this[n.$content]=r,!0):!1}[n.$toHTML](r){return this.contentType!=="text/html"||!this[n.$content]?s.HTMLResult.EMPTY:this[n.$content][n.$toHTML](r)}}class ze extends t.XFAObject{constructor(r){super(f,"exObject",!0),this.archive=r.archive||"",this.classId=r.classId||"",this.codeBase=r.codeBase||"",this.codeType=r.codeType||"",this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.boolean=new t.XFAObjectArray,this.date=new t.XFAObjectArray,this.dateTime=new t.XFAObjectArray,this.decimal=new t.XFAObjectArray,this.exData=new t.XFAObjectArray,this.exObject=new t.XFAObjectArray,this.float=new t.XFAObjectArray,this.image=new t.XFAObjectArray,this.integer=new t.XFAObjectArray,this.text=new t.XFAObjectArray,this.time=new t.XFAObjectArray}}class Ee extends t.XFAObject{constructor(r){super(f,"exclGroup",!0),this.access=(0,s.getStringOption)(r.access,["open","nonInteractive","protected","readOnly"]),this.accessKey=r.accessKey||"",this.anchorType=(0,s.getStringOption)(r.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,s.getInteger)({data:r.colSpan,defaultValue:1,validate:X=>X>=1||X===-1}),this.h=r.h?(0,s.getMeasurement)(r.h):"",this.hAlign=(0,s.getStringOption)(r.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=r.id||"",this.layout=(0,s.getStringOption)(r.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.maxH=(0,s.getMeasurement)(r.maxH,"0pt"),this.maxW=(0,s.getMeasurement)(r.maxW,"0pt"),this.minH=(0,s.getMeasurement)(r.minH,"0pt"),this.minW=(0,s.getMeasurement)(r.minW,"0pt"),this.name=r.name||"",this.presence=(0,s.getStringOption)(r.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,s.getRelevant)(r.relevant),this.use=r.use||"",this.usehref=r.usehref||"",this.w=r.w?(0,s.getMeasurement)(r.w):"",this.x=(0,s.getMeasurement)(r.x,"0pt"),this.y=(0,s.getMeasurement)(r.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.margin=null,this.para=null,this.traversal=null,this.validate=null,this.connect=new t.XFAObjectArray,this.event=new t.XFAObjectArray,this.field=new t.XFAObjectArray,this.setProperty=new t.XFAObjectArray}[n.$isBindable](){return!0}[n.$hasSettableValue](){return!0}[n.$setValue](r){for(const X of this.field.children){if(!X.value){const ve=new Qt({});X[n.$appendChild](ve),X.value=ve}X.value[n.$setValue](r)}}[n.$isThereMoreWidth](){return this.layout.endsWith("-tb")&&this[n.$extra].attempt===0&&this[n.$extra].numberInLine>0||this[n.$getParent]()[n.$isThereMoreWidth]()}[n.$isSplittable](){var X;const r=this[n.$getSubformParent]();return r[n.$isSplittable]()?this[n.$extra]._isSplittable!==void 0?this[n.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[n.$extra]._isSplittable=!1,!1):(X=r.layout)!=null&&X.endsWith("-tb")&&r[n.$extra].numberInLine!==0?!1:(this[n.$extra]._isSplittable=!0,!0):!1}[n.$flushHTML](){return(0,g.flushHTML)(this)}[n.$addHTML](r,X){(0,g.addHTML)(this,r,X)}[n.$getAvailableSpace](){return(0,g.getAvailableSpace)(this)}[n.$toHTML](r){if(h(this),this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return s.HTMLResult.EMPTY;(0,e.fixDimensions)(this);const X=[],ve={id:this[n.$uid],class:[]};(0,e.setAccess)(this,ve.class),this[n.$extra]||(this[n.$extra]=Object.create(null)),Object.assign(this[n.$extra],{children:X,attributes:ve,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,r.width),height:Math.min(this.h||1/0,r.height)},width:0,height:0,prevHeight:0,currentWidth:0});const Ie=this[n.$isSplittable]();if(Ie||b(this),!(0,g.checkDimensions)(this,r))return s.HTMLResult.FAILURE;const Pe=new Set(["field"]);if(this.layout.includes("row")){const Pt=this[n.$getSubformParent]().columnWidths;Array.isArray(Pt)&&Pt.length>0&&(this[n.$extra].columnWidths=Pt,this[n.$extra].currentColumn=0)}const Ue=(0,e.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),Ze=["xfaExclgroup"],_e=(0,e.layoutClass)(this);_e&&Ze.push(_e),(0,e.isPrintOnly)(this)&&Ze.push("xfaPrintOnly"),ve.style=Ue,ve.class=Ze,this.name&&(ve.xfaName=this.name),this[n.$pushPara]();const dt=this.layout==="lr-tb"||this.layout==="rl-tb",yt=dt?a:1;for(;this[n.$extra].attemptX>=1||X===-1}),this.h=r.h?(0,s.getMeasurement)(r.h):"",this.hAlign=(0,s.getStringOption)(r.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=r.id||"",this.locale=r.locale||"",this.maxH=(0,s.getMeasurement)(r.maxH,"0pt"),this.maxW=(0,s.getMeasurement)(r.maxW,"0pt"),this.minH=(0,s.getMeasurement)(r.minH,"0pt"),this.minW=(0,s.getMeasurement)(r.minW,"0pt"),this.name=r.name||"",this.presence=(0,s.getStringOption)(r.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,s.getRelevant)(r.relevant),this.rotate=(0,s.getInteger)({data:r.rotate,defaultValue:0,validate:X=>X%90===0}),this.use=r.use||"",this.usehref=r.usehref||"",this.w=r.w?(0,s.getMeasurement)(r.w):"",this.x=(0,s.getMeasurement)(r.x,"0pt"),this.y=(0,s.getMeasurement)(r.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.format=null,this.items=new t.XFAObjectArray(2),this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.validate=null,this.value=null,this.bindItems=new t.XFAObjectArray,this.connect=new t.XFAObjectArray,this.event=new t.XFAObjectArray,this.setProperty=new t.XFAObjectArray}[n.$isBindable](){return!0}[n.$setValue](r){M(this,r)}[n.$toHTML](r){var Pt,Wt,zt;if(h(this),!this.ui){this.ui=new sn({}),this.ui[n.$globalData]=this[n.$globalData],this[n.$appendChild](this.ui);let wt;switch(this.items.children.length){case 0:wt=new fn({}),this.ui.textEdit=wt;break;case 1:wt=new K({}),this.ui.checkButton=wt;break;case 2:wt=new te({}),this.ui.choiceList=wt;break}this.ui[n.$appendChild](wt)}if(!this.ui||this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return s.HTMLResult.EMPTY;this.caption&&delete this.caption[n.$extra],this[n.$pushPara]();const X=this.caption?this.caption[n.$toHTML](r).html:null,ve=this.w,Ie=this.h;let Pe=0,Ue=0;this.margin&&(Pe=this.margin.leftInset+this.margin.rightInset,Ue=this.margin.topInset+this.margin.bottomInset);let Ze=null;if(this.w===""||this.h===""){let wt=null,et=null,Kt=0,Vt=0;if(this.ui.checkButton)Kt=Vt=this.ui.checkButton.size;else{const{w:Jt,h:Yt}=(0,e.layoutNode)(this,r);Jt!==null?(Kt=Jt,Vt=Yt):Vt=(0,U.getMetrics)(this.font,!0).lineNoGap}if(Ze=W(this.ui[n.$getExtra]()),Kt+=Ze.w,Vt+=Ze.h,this.caption){const{w:Jt,h:Yt,isBroken:Gt}=this.caption[n.$getExtra](r);if(Gt&&this[n.$getSubformParent]()[n.$isThereMoreWidth]())return this[n.$popPara](),s.HTMLResult.FAILURE;switch(wt=Jt,et=Yt,this.caption.placement){case"left":case"right":case"inline":wt+=Kt;break;case"top":case"bottom":et+=Vt;break}}else wt=Kt,et=Vt;wt&&this.w===""&&(wt+=Pe,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1X>=1&&X<=5}),this.appearanceFilter=null,this.certificates=null,this.digestMethods=null,this.encodings=null,this.encryptionMethods=null,this.handler=null,this.lockDocument=null,this.mdp=null,this.reasons=null,this.timeStamp=null}}class gt extends t.ContentObject{constructor(r){super(f,"float"),this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}[n.$finalize](){const r=parseFloat(this[n.$content].trim());this[n.$content]=isNaN(r)?null:r}[n.$toHTML](r){return l(this[n.$content]!==null?this[n.$content].toString():"")}}class De extends t.XFAObject{constructor(r){super(f,"font",!0),this.baselineShift=(0,s.getMeasurement)(r.baselineShift),this.fontHorizontalScale=(0,s.getFloat)({data:r.fontHorizontalScale,defaultValue:100,validate:X=>X>=0}),this.fontVerticalScale=(0,s.getFloat)({data:r.fontVerticalScale,defaultValue:100,validate:X=>X>=0}),this.id=r.id||"",this.kerningMode=(0,s.getStringOption)(r.kerningMode,["none","pair"]),this.letterSpacing=(0,s.getMeasurement)(r.letterSpacing,"0"),this.lineThrough=(0,s.getInteger)({data:r.lineThrough,defaultValue:0,validate:X=>X===1||X===2}),this.lineThroughPeriod=(0,s.getStringOption)(r.lineThroughPeriod,["all","word"]),this.overline=(0,s.getInteger)({data:r.overline,defaultValue:0,validate:X=>X===1||X===2}),this.overlinePeriod=(0,s.getStringOption)(r.overlinePeriod,["all","word"]),this.posture=(0,s.getStringOption)(r.posture,["normal","italic"]),this.size=(0,s.getMeasurement)(r.size,"10pt"),this.typeface=r.typeface||"Courier",this.underline=(0,s.getInteger)({data:r.underline,defaultValue:0,validate:X=>X===1||X===2}),this.underlinePeriod=(0,s.getStringOption)(r.underlinePeriod,["all","word"]),this.use=r.use||"",this.usehref=r.usehref||"",this.weight=(0,s.getStringOption)(r.weight,["normal","bold"]),this.extras=null,this.fill=null}[n.$clean](r){super[n.$clean](r),this[n.$globalData].usedTypefaces.add(this.typeface)}[n.$toStyle](){const r=(0,e.toStyle)(this,"fill"),X=r.color;return X&&(X==="#000000"?delete r.color:X.startsWith("#")||(r.background=X,r.backgroundClip="text",r.color="transparent")),this.baselineShift&&(r.verticalAlign=(0,e.measureToString)(this.baselineShift)),r.fontKerning=this.kerningMode==="none"?"none":"normal",r.letterSpacing=(0,e.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,e.measureToString)(.99*this.size),(0,e.setFontFamily)(this,this,this[n.$globalData].fontFinder,r),this.underline!==0&&(r.textDecoration="underline",this.underline===2&&(r.textDecorationStyle="double")),r.fontWeight=this.weight,r}}class St extends t.XFAObject{constructor(r){super(f,"format",!0),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.picture=null}}class rt extends t.StringObject{constructor(r){super(f,"handler"),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||""}}class At extends t.XFAObject{constructor(r){super(f,"hyphenation"),this.excludeAllCaps=(0,s.getInteger)({data:r.excludeAllCaps,defaultValue:0,validate:X=>X===1}),this.excludeInitialCap=(0,s.getInteger)({data:r.excludeInitialCap,defaultValue:0,validate:X=>X===1}),this.hyphenate=(0,s.getInteger)({data:r.hyphenate,defaultValue:0,validate:X=>X===1}),this.id=r.id||"",this.pushCharacterCount=(0,s.getInteger)({data:r.pushCharacterCount,defaultValue:3,validate:X=>X>=0}),this.remainCharacterCount=(0,s.getInteger)({data:r.remainCharacterCount,defaultValue:3,validate:X=>X>=0}),this.use=r.use||"",this.usehref=r.usehref||"",this.wordCharacterCount=(0,s.getInteger)({data:r.wordCharacterCount,defaultValue:7,validate:X=>X>=0})}}class Ot extends t.StringObject{constructor(r){super(f,"image"),this.aspect=(0,s.getStringOption)(r.aspect,["fit","actual","height","none","width"]),this.contentType=r.contentType||"",this.href=r.href||"",this.id=r.id||"",this.name=r.name||"",this.transferEncoding=(0,s.getStringOption)(r.transferEncoding,["base64","none","package"]),this.use=r.use||"",this.usehref=r.usehref||""}[n.$toHTML](){if(this.contentType&&!F.has(this.contentType.toLowerCase()))return s.HTMLResult.EMPTY;let r=this[n.$globalData].images&&this[n.$globalData].images.get(this.href);if(!r&&(this.href||!this[n.$content])||(!r&&this.transferEncoding==="base64"&&(r=(0,L.stringToBytes)(atob(this[n.$content]))),!r))return s.HTMLResult.EMPTY;if(!this.contentType){for(const[Pe,Ue]of B)if(r.length>Pe.length&&Pe.every((Ze,_e)=>Ze===r[_e])){this.contentType=Ue;break}if(!this.contentType)return s.HTMLResult.EMPTY}const X=new Blob([r],{type:this.contentType});let ve;switch(this.aspect){case"fit":case"actual":break;case"height":ve={height:"100%",objectFit:"fill"};break;case"none":ve={width:"100%",height:"100%",objectFit:"fill"};break;case"width":ve={width:"100%",objectFit:"fill"};break}const Ie=this[n.$getParent]();return s.HTMLResult.success({name:"img",attributes:{class:["xfaImage"],style:ve,src:URL.createObjectURL(X),alt:Ie?o(Ie[n.$getParent]()):null}})}}class Ve extends t.XFAObject{constructor(r){super(f,"imageEdit",!0),this.data=(0,s.getStringOption)(r.data,["link","embed"]),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.border=null,this.extras=null,this.margin=null}[n.$toHTML](r){return this.data==="embed"?s.HTMLResult.success({name:"div",children:[],attributes:{}}):s.HTMLResult.EMPTY}}class Ge extends t.ContentObject{constructor(r){super(f,"integer"),this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}[n.$finalize](){const r=parseInt(this[n.$content].trim(),10);this[n.$content]=isNaN(r)?null:r}[n.$toHTML](r){return l(this[n.$content]!==null?this[n.$content].toString():"")}}class Ye extends t.XFAObject{constructor(r){super(f,"issuers",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||"",this.certificate=new t.XFAObjectArray}}class mt extends t.XFAObject{constructor(r){super(f,"items",!0),this.id=r.id||"",this.name=r.name||"",this.presence=(0,s.getStringOption)(r.presence,["visible","hidden","inactive","invisible"]),this.ref=r.ref||"",this.save=(0,s.getInteger)({data:r.save,defaultValue:0,validate:X=>X===1}),this.use=r.use||"",this.usehref=r.usehref||"",this.boolean=new t.XFAObjectArray,this.date=new t.XFAObjectArray,this.dateTime=new t.XFAObjectArray,this.decimal=new t.XFAObjectArray,this.exData=new t.XFAObjectArray,this.float=new t.XFAObjectArray,this.image=new t.XFAObjectArray,this.integer=new t.XFAObjectArray,this.text=new t.XFAObjectArray,this.time=new t.XFAObjectArray}[n.$toHTML](){const r=[];for(const X of this[n.$getChildren]())r.push(X[n.$text]());return s.HTMLResult.success(r)}}d.Items=mt;class kt extends t.XFAObject{constructor(r){super(f,"keep",!0),this.id=r.id||"";const X=["none","contentArea","pageArea"];this.intact=(0,s.getStringOption)(r.intact,X),this.next=(0,s.getStringOption)(r.next,X),this.previous=(0,s.getStringOption)(r.previous,X),this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null}}class It extends t.XFAObject{constructor(r){super(f,"keyUsage");const X=["","yes","no"];this.crlSign=(0,s.getStringOption)(r.crlSign,X),this.dataEncipherment=(0,s.getStringOption)(r.dataEncipherment,X),this.decipherOnly=(0,s.getStringOption)(r.decipherOnly,X),this.digitalSignature=(0,s.getStringOption)(r.digitalSignature,X),this.encipherOnly=(0,s.getStringOption)(r.encipherOnly,X),this.id=r.id||"",this.keyAgreement=(0,s.getStringOption)(r.keyAgreement,X),this.keyCertSign=(0,s.getStringOption)(r.keyCertSign,X),this.keyEncipherment=(0,s.getStringOption)(r.keyEncipherment,X),this.nonRepudiation=(0,s.getStringOption)(r.nonRepudiation,X),this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||""}}class at extends t.XFAObject{constructor(r){super(f,"line",!0),this.hand=(0,s.getStringOption)(r.hand,["even","left","right"]),this.id=r.id||"",this.slope=(0,s.getStringOption)(r.slope,["\\","/"]),this.use=r.use||"",this.usehref=r.usehref||"",this.edge=null}[n.$toHTML](){const r=this[n.$getParent]()[n.$getParent](),X=this.edge||new ye({}),ve=X[n.$toStyle](),Ie=Object.create(null),Pe=X.presence==="visible"?X.thickness:0;Ie.strokeWidth=(0,e.measureToString)(Pe),Ie.stroke=ve.color;let Ue,Ze,_e,dt,yt="100%",Tt="100%";r.w<=Pe?([Ue,Ze,_e,dt]=["50%",0,"50%","100%"],yt=Ie.strokeWidth):r.h<=Pe?([Ue,Ze,_e,dt]=[0,"50%","100%","50%"],Tt=Ie.strokeWidth):this.slope==="\\"?[Ue,Ze,_e,dt]=[0,0,"100%","100%"]:[Ue,Ze,_e,dt]=[0,"100%","100%",0];const Et={name:"svg",children:[{name:"line",attributes:{xmlns:x,x1:Ue,y1:Ze,x2:_e,y2:dt,style:Ie}}],attributes:{xmlns:x,width:yt,height:Tt,style:{overflow:"visible"}}};return j(r)?s.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[Et]}):(Et.attributes.style.position="absolute",s.HTMLResult.success(Et))}}class Nt extends t.XFAObject{constructor(r){super(f,"linear",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["toRight","toBottom","toLeft","toTop"]),this.use=r.use||"",this.usehref=r.usehref||"",this.color=null,this.extras=null}[n.$toStyle](r){r=r?r[n.$toStyle]():"#FFFFFF";const X=this.type.replace(/([RBLT])/," $1").toLowerCase(),ve=this.color?this.color[n.$toStyle]():"#000000";return`linear-gradient(${X}, ${r}, ${ve})`}}class Me extends t.ContentObject{constructor(r){super(f,"lockDocument"),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||""}[n.$finalize](){this[n.$content]=(0,s.getStringOption)(this[n.$content],["auto","0","1"])}}class Oe extends t.XFAObject{constructor(r){super(f,"manifest",!0),this.action=(0,s.getStringOption)(r.action,["include","all","exclude"]),this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.ref=new t.XFAObjectArray}}class Re extends t.XFAObject{constructor(r){super(f,"margin",!0),this.bottomInset=(0,s.getMeasurement)(r.bottomInset,"0"),this.id=r.id||"",this.leftInset=(0,s.getMeasurement)(r.leftInset,"0"),this.rightInset=(0,s.getMeasurement)(r.rightInset,"0"),this.topInset=(0,s.getMeasurement)(r.topInset,"0"),this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null}[n.$toStyle](){return{margin:(0,e.measureToString)(this.topInset)+" "+(0,e.measureToString)(this.rightInset)+" "+(0,e.measureToString)(this.bottomInset)+" "+(0,e.measureToString)(this.leftInset)}}}class Ne extends t.XFAObject{constructor(r){super(f,"mdp"),this.id=r.id||"",this.permissions=(0,s.getInteger)({data:r.permissions,defaultValue:2,validate:X=>X===1||X===3}),this.signatureType=(0,s.getStringOption)(r.signatureType,["filler","author"]),this.use=r.use||"",this.usehref=r.usehref||""}}class Be extends t.XFAObject{constructor(r){super(f,"medium"),this.id=r.id||"",this.imagingBBox=(0,s.getBBox)(r.imagingBBox),this.long=(0,s.getMeasurement)(r.long),this.orientation=(0,s.getStringOption)(r.orientation,["portrait","landscape"]),this.short=(0,s.getMeasurement)(r.short),this.stock=r.stock||"",this.trayIn=(0,s.getStringOption)(r.trayIn,["auto","delegate","pageFront"]),this.trayOut=(0,s.getStringOption)(r.trayOut,["auto","delegate"]),this.use=r.use||"",this.usehref=r.usehref||""}}class je extends t.XFAObject{constructor(r){super(f,"message",!0),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.text=new t.XFAObjectArray}}class Xe extends t.XFAObject{constructor(r){super(f,"numericEdit",!0),this.hScrollPolicy=(0,s.getStringOption)(r.hScrollPolicy,["auto","off","on"]),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[n.$toHTML](r){var Pe;const X=(0,e.toStyle)(this,"border","font","margin"),ve=this[n.$getParent]()[n.$getParent](),Ie={name:"input",attributes:{type:"text",fieldId:ve[n.$uid],dataId:((Pe=ve[n.$data])==null?void 0:Pe[n.$uid])||ve[n.$uid],class:["xfaTextfield"],style:X,"aria-label":o(ve),"aria-required":!1}};return c(ve)&&(Ie.attributes["aria-required"]=!0,Ie.attributes.required=!0),s.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[Ie]})}}class Te extends t.XFAObject{constructor(r){super(f,"occur",!0),this.id=r.id||"",this.initial=r.initial!==""?(0,s.getInteger)({data:r.initial,defaultValue:"",validate:X=>!0}):"",this.max=r.max!==""?(0,s.getInteger)({data:r.max,defaultValue:1,validate:X=>!0}):"",this.min=r.min!==""?(0,s.getInteger)({data:r.min,defaultValue:1,validate:X=>!0}):"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null}[n.$clean](){const r=this[n.$getParent](),X=this.min;this.min===""&&(this.min=r instanceof qe||r instanceof st?0:1),this.max===""&&(X===""?this.max=r instanceof qe||r instanceof st?-1:1:this.max=this.min),this.max!==-1&&this.max!0}),this.name=r.name||"",this.numbered=(0,s.getInteger)({data:r.numbered,defaultValue:1,validate:X=>!0}),this.oddOrEven=(0,s.getStringOption)(r.oddOrEven,["any","even","odd"]),this.pagePosition=(0,s.getStringOption)(r.pagePosition,["any","first","last","only","rest"]),this.relevant=(0,s.getRelevant)(r.relevant),this.use=r.use||"",this.usehref=r.usehref||"",this.desc=null,this.extras=null,this.medium=null,this.occur=null,this.area=new t.XFAObjectArray,this.contentArea=new t.XFAObjectArray,this.draw=new t.XFAObjectArray,this.exclGroup=new t.XFAObjectArray,this.field=new t.XFAObjectArray,this.subform=new t.XFAObjectArray}[n.$isUsable](){return this[n.$extra]?!this.occur||this.occur.max===-1||this[n.$extra].numberOfUsePe.oddOrEven===X&&Pe.pagePosition===ve);return Ie||(Ie=this.pageArea.children.find(Pe=>Pe.oddOrEven==="any"&&Pe.pagePosition===ve),Ie)||(Ie=this.pageArea.children.find(Pe=>Pe.oddOrEven==="any"&&Pe.pagePosition==="any"),Ie)?Ie:this.pageArea.children[0]}}class ut extends t.XFAObject{constructor(r){super(f,"para",!0),this.hAlign=(0,s.getStringOption)(r.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=r.id||"",this.lineHeight=r.lineHeight?(0,s.getMeasurement)(r.lineHeight,"0pt"):"",this.marginLeft=r.marginLeft?(0,s.getMeasurement)(r.marginLeft,"0pt"):"",this.marginRight=r.marginRight?(0,s.getMeasurement)(r.marginRight,"0pt"):"",this.orphans=(0,s.getInteger)({data:r.orphans,defaultValue:0,validate:X=>X>=0}),this.preserve=r.preserve||"",this.radixOffset=r.radixOffset?(0,s.getMeasurement)(r.radixOffset,"0pt"):"",this.spaceAbove=r.spaceAbove?(0,s.getMeasurement)(r.spaceAbove,"0pt"):"",this.spaceBelow=r.spaceBelow?(0,s.getMeasurement)(r.spaceBelow,"0pt"):"",this.tabDefault=r.tabDefault?(0,s.getMeasurement)(this.tabDefault):"",this.tabStops=(r.tabStops||"").trim().split(/\s+/).map((X,ve)=>ve%2===1?(0,s.getMeasurement)(X):X),this.textIndent=r.textIndent?(0,s.getMeasurement)(r.textIndent,"0pt"):"",this.use=r.use||"",this.usehref=r.usehref||"",this.vAlign=(0,s.getStringOption)(r.vAlign,["top","bottom","middle"]),this.widows=(0,s.getInteger)({data:r.widows,defaultValue:0,validate:X=>X>=0}),this.hyphenation=null}[n.$toStyle](){const r=(0,e.toStyle)(this,"hAlign");return this.marginLeft!==""&&(r.paddingLeft=(0,e.measureToString)(this.marginLeft)),this.marginRight!==""&&(r.paddingight=(0,e.measureToString)(this.marginRight)),this.spaceAbove!==""&&(r.paddingTop=(0,e.measureToString)(this.spaceAbove)),this.spaceBelow!==""&&(r.paddingBottom=(0,e.measureToString)(this.spaceBelow)),this.textIndent!==""&&(r.textIndent=(0,e.measureToString)(this.textIndent),(0,e.fixTextIndent)(r)),this.lineHeight>0&&(r.lineHeight=(0,e.measureToString)(this.lineHeight)),this.tabDefault!==""&&(r.tabSize=(0,e.measureToString)(this.tabDefault)),this.tabStops.length>0,this.hyphenatation&&Object.assign(r,this.hyphenatation[n.$toStyle]()),r}}class Ke extends t.XFAObject{constructor(r){super(f,"passwordEdit",!0),this.hScrollPolicy=(0,s.getStringOption)(r.hScrollPolicy,["auto","off","on"]),this.id=r.id||"",this.passwordChar=r.passwordChar||"*",this.use=r.use||"",this.usehref=r.usehref||"",this.border=null,this.extras=null,this.margin=null}}class ot extends t.XFAObject{constructor(r){super(f,"pattern",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),this.use=r.use||"",this.usehref=r.usehref||"",this.color=null,this.extras=null}[n.$toStyle](r){r=r?r[n.$toStyle]():"#FFFFFF";const X=this.color?this.color[n.$toStyle]():"#000000",ve=5,Ie="repeating-linear-gradient",Pe=`${r},${r} ${ve}px,${X} ${ve}px,${X} ${2*ve}px`;switch(this.type){case"crossHatch":return`${Ie}(to top,${Pe}) ${Ie}(to right,${Pe})`;case"crossDiagonal":return`${Ie}(45deg,${Pe}) ${Ie}(-45deg,${Pe})`;case"diagonalLeft":return`${Ie}(45deg,${Pe})`;case"diagonalRight":return`${Ie}(-45deg,${Pe})`;case"horizontal":return`${Ie}(to top,${Pe})`;case"vertical":return`${Ie}(to right,${Pe})`}return""}}class He extends t.StringObject{constructor(r){super(f,"picture"),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||""}}class ft extends t.XFAObject{constructor(r){super(f,"proto",!0),this.appearanceFilter=new t.XFAObjectArray,this.arc=new t.XFAObjectArray,this.area=new t.XFAObjectArray,this.assist=new t.XFAObjectArray,this.barcode=new t.XFAObjectArray,this.bindItems=new t.XFAObjectArray,this.bookend=new t.XFAObjectArray,this.boolean=new t.XFAObjectArray,this.border=new t.XFAObjectArray,this.break=new t.XFAObjectArray,this.breakAfter=new t.XFAObjectArray,this.breakBefore=new t.XFAObjectArray,this.button=new t.XFAObjectArray,this.calculate=new t.XFAObjectArray,this.caption=new t.XFAObjectArray,this.certificate=new t.XFAObjectArray,this.certificates=new t.XFAObjectArray,this.checkButton=new t.XFAObjectArray,this.choiceList=new t.XFAObjectArray,this.color=new t.XFAObjectArray,this.comb=new t.XFAObjectArray,this.connect=new t.XFAObjectArray,this.contentArea=new t.XFAObjectArray,this.corner=new t.XFAObjectArray,this.date=new t.XFAObjectArray,this.dateTime=new t.XFAObjectArray,this.dateTimeEdit=new t.XFAObjectArray,this.decimal=new t.XFAObjectArray,this.defaultUi=new t.XFAObjectArray,this.desc=new t.XFAObjectArray,this.digestMethod=new t.XFAObjectArray,this.digestMethods=new t.XFAObjectArray,this.draw=new t.XFAObjectArray,this.edge=new t.XFAObjectArray,this.encoding=new t.XFAObjectArray,this.encodings=new t.XFAObjectArray,this.encrypt=new t.XFAObjectArray,this.encryptData=new t.XFAObjectArray,this.encryption=new t.XFAObjectArray,this.encryptionMethod=new t.XFAObjectArray,this.encryptionMethods=new t.XFAObjectArray,this.event=new t.XFAObjectArray,this.exData=new t.XFAObjectArray,this.exObject=new t.XFAObjectArray,this.exclGroup=new t.XFAObjectArray,this.execute=new t.XFAObjectArray,this.extras=new t.XFAObjectArray,this.field=new t.XFAObjectArray,this.fill=new t.XFAObjectArray,this.filter=new t.XFAObjectArray,this.float=new t.XFAObjectArray,this.font=new t.XFAObjectArray,this.format=new t.XFAObjectArray,this.handler=new t.XFAObjectArray,this.hyphenation=new t.XFAObjectArray,this.image=new t.XFAObjectArray,this.imageEdit=new t.XFAObjectArray,this.integer=new t.XFAObjectArray,this.issuers=new t.XFAObjectArray,this.items=new t.XFAObjectArray,this.keep=new t.XFAObjectArray,this.keyUsage=new t.XFAObjectArray,this.line=new t.XFAObjectArray,this.linear=new t.XFAObjectArray,this.lockDocument=new t.XFAObjectArray,this.manifest=new t.XFAObjectArray,this.margin=new t.XFAObjectArray,this.mdp=new t.XFAObjectArray,this.medium=new t.XFAObjectArray,this.message=new t.XFAObjectArray,this.numericEdit=new t.XFAObjectArray,this.occur=new t.XFAObjectArray,this.oid=new t.XFAObjectArray,this.oids=new t.XFAObjectArray,this.overflow=new t.XFAObjectArray,this.pageArea=new t.XFAObjectArray,this.pageSet=new t.XFAObjectArray,this.para=new t.XFAObjectArray,this.passwordEdit=new t.XFAObjectArray,this.pattern=new t.XFAObjectArray,this.picture=new t.XFAObjectArray,this.radial=new t.XFAObjectArray,this.reason=new t.XFAObjectArray,this.reasons=new t.XFAObjectArray,this.rectangle=new t.XFAObjectArray,this.ref=new t.XFAObjectArray,this.script=new t.XFAObjectArray,this.setProperty=new t.XFAObjectArray,this.signData=new t.XFAObjectArray,this.signature=new t.XFAObjectArray,this.signing=new t.XFAObjectArray,this.solid=new t.XFAObjectArray,this.speak=new t.XFAObjectArray,this.stipple=new t.XFAObjectArray,this.subform=new t.XFAObjectArray,this.subformSet=new t.XFAObjectArray,this.subjectDN=new t.XFAObjectArray,this.subjectDNs=new t.XFAObjectArray,this.submit=new t.XFAObjectArray,this.text=new t.XFAObjectArray,this.textEdit=new t.XFAObjectArray,this.time=new t.XFAObjectArray,this.timeStamp=new t.XFAObjectArray,this.toolTip=new t.XFAObjectArray,this.traversal=new t.XFAObjectArray,this.traverse=new t.XFAObjectArray,this.ui=new t.XFAObjectArray,this.validate=new t.XFAObjectArray,this.value=new t.XFAObjectArray,this.variables=new t.XFAObjectArray}}class bt extends t.XFAObject{constructor(r){super(f,"radial",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["toEdge","toCenter"]),this.use=r.use||"",this.usehref=r.usehref||"",this.color=null,this.extras=null}[n.$toStyle](r){r=r?r[n.$toStyle]():"#FFFFFF";const X=this.color?this.color[n.$toStyle]():"#000000";return`radial-gradient(circle at center, ${this.type==="toEdge"?`${r},${X}`:`${X},${r}`})`}}class $t extends t.StringObject{constructor(r){super(f,"reason"),this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}}class lt extends t.XFAObject{constructor(r){super(f,"reasons",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||"",this.reason=new t.XFAObjectArray}}class ht extends t.XFAObject{constructor(r){super(f,"rectangle",!0),this.hand=(0,s.getStringOption)(r.hand,["even","left","right"]),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.corner=new t.XFAObjectArray(4),this.edge=new t.XFAObjectArray(4),this.fill=null}[n.$toHTML](){var dt;const r=this.edge.children.length?this.edge.children[0]:new ye({}),X=r[n.$toStyle](),ve=Object.create(null);((dt=this.fill)==null?void 0:dt.presence)==="visible"?Object.assign(ve,this.fill[n.$toStyle]()):ve.fill="transparent",ve.strokeWidth=(0,e.measureToString)(r.presence==="visible"?r.thickness:0),ve.stroke=X.color;const Pe=(this.corner.children.length?this.corner.children[0]:new q({}))[n.$toStyle](),Ze={name:"svg",children:[{name:"rect",attributes:{xmlns:x,width:"100%",height:"100%",x:0,y:0,rx:Pe.radius,ry:Pe.radius,style:ve}}],attributes:{xmlns:x,style:{overflow:"visible"},width:"100%",height:"100%"}},_e=this[n.$getParent]()[n.$getParent]();return j(_e)?s.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[Ze]}):(Ze.attributes.style.position="absolute",s.HTMLResult.success(Ze))}}class Ct extends t.StringObject{constructor(r){super(f,"ref"),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||""}}class Mt extends t.StringObject{constructor(r){super(f,"script"),this.binding=r.binding||"",this.contentType=r.contentType||"",this.id=r.id||"",this.name=r.name||"",this.runAt=(0,s.getStringOption)(r.runAt,["client","both","server"]),this.use=r.use||"",this.usehref=r.usehref||""}}class jt extends t.XFAObject{constructor(r){super(f,"setProperty"),this.connection=r.connection||"",this.ref=r.ref||"",this.target=r.target||""}}d.SetProperty=jt;class Zt extends t.XFAObject{constructor(r){super(f,"signData",!0),this.id=r.id||"",this.operation=(0,s.getStringOption)(r.operation,["sign","clear","verify"]),this.ref=r.ref||"",this.target=r.target||"",this.use=r.use||"",this.usehref=r.usehref||"",this.filter=null,this.manifest=null}}class wn extends t.XFAObject{constructor(r){super(f,"signature",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["PDF1.3","PDF1.6"]),this.use=r.use||"",this.usehref=r.usehref||"",this.border=null,this.extras=null,this.filter=null,this.manifest=null,this.margin=null}}class vn extends t.XFAObject{constructor(r){super(f,"signing",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||"",this.certificate=new t.XFAObjectArray}}class An extends t.XFAObject{constructor(r){super(f,"solid",!0),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null}[n.$toStyle](r){return r?r[n.$toStyle]():"#FFFFFF"}}class kn extends t.StringObject{constructor(r){super(f,"speak"),this.disable=(0,s.getInteger)({data:r.disable,defaultValue:0,validate:X=>X===1}),this.id=r.id||"",this.priority=(0,s.getStringOption)(r.priority,["custom","caption","name","toolTip"]),this.rid=r.rid||"",this.use=r.use||"",this.usehref=r.usehref||""}}class Cn extends t.XFAObject{constructor(r){super(f,"stipple",!0),this.id=r.id||"",this.rate=(0,s.getInteger)({data:r.rate,defaultValue:50,validate:X=>X>=0&&X<=100}),this.use=r.use||"",this.usehref=r.usehref||"",this.color=null,this.extras=null}[n.$toStyle](r){const X=this.rate/100;return L.Util.makeHexColor(Math.round(r.value.r*(1-X)+this.value.r*X),Math.round(r.value.g*(1-X)+this.value.g*X),Math.round(r.value.b*(1-X)+this.value.b*X))}}class hn extends t.XFAObject{constructor(r){super(f,"subform",!0),this.access=(0,s.getStringOption)(r.access,["open","nonInteractive","protected","readOnly"]),this.allowMacro=(0,s.getInteger)({data:r.allowMacro,defaultValue:0,validate:X=>X===1}),this.anchorType=(0,s.getStringOption)(r.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,s.getInteger)({data:r.colSpan,defaultValue:1,validate:X=>X>=1||X===-1}),this.columnWidths=(r.columnWidths||"").trim().split(/\s+/).map(X=>X==="-1"?-1:(0,s.getMeasurement)(X)),this.h=r.h?(0,s.getMeasurement)(r.h):"",this.hAlign=(0,s.getStringOption)(r.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=r.id||"",this.layout=(0,s.getStringOption)(r.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.locale=r.locale||"",this.maxH=(0,s.getMeasurement)(r.maxH,"0pt"),this.maxW=(0,s.getMeasurement)(r.maxW,"0pt"),this.mergeMode=(0,s.getStringOption)(r.mergeMode,["consumeData","matchTemplate"]),this.minH=(0,s.getMeasurement)(r.minH,"0pt"),this.minW=(0,s.getMeasurement)(r.minW,"0pt"),this.name=r.name||"",this.presence=(0,s.getStringOption)(r.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,s.getRelevant)(r.relevant),this.restoreState=(0,s.getStringOption)(r.restoreState,["manual","auto"]),this.scope=(0,s.getStringOption)(r.scope,["name","none"]),this.use=r.use||"",this.usehref=r.usehref||"",this.w=r.w?(0,s.getMeasurement)(r.w):"",this.x=(0,s.getMeasurement)(r.x,"0pt"),this.y=(0,s.getMeasurement)(r.y,"0pt"),this.assist=null,this.bind=null,this.bookend=null,this.border=null,this.break=null,this.calculate=null,this.desc=null,this.extras=null,this.keep=null,this.margin=null,this.occur=null,this.overflow=null,this.pageSet=null,this.para=null,this.traversal=null,this.validate=null,this.variables=null,this.area=new t.XFAObjectArray,this.breakAfter=new t.XFAObjectArray,this.breakBefore=new t.XFAObjectArray,this.connect=new t.XFAObjectArray,this.draw=new t.XFAObjectArray,this.event=new t.XFAObjectArray,this.exObject=new t.XFAObjectArray,this.exclGroup=new t.XFAObjectArray,this.field=new t.XFAObjectArray,this.proto=new t.XFAObjectArray,this.setProperty=new t.XFAObjectArray,this.subform=new t.XFAObjectArray,this.subformSet=new t.XFAObjectArray}[n.$getSubformParent](){const r=this[n.$getParent]();return r instanceof an?r[n.$getSubformParent]():r}[n.$isBindable](){return!0}[n.$isThereMoreWidth](){return this.layout.endsWith("-tb")&&this[n.$extra].attempt===0&&this[n.$extra].numberInLine>0||this[n.$getParent]()[n.$isThereMoreWidth]()}*[n.$getContainedChildren](){yield*T(this)}[n.$flushHTML](){return(0,g.flushHTML)(this)}[n.$addHTML](r,X){(0,g.addHTML)(this,r,X)}[n.$getAvailableSpace](){return(0,g.getAvailableSpace)(this)}[n.$isSplittable](){var X;const r=this[n.$getSubformParent]();return r[n.$isSplittable]()?this[n.$extra]._isSplittable!==void 0?this[n.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[n.$extra]._isSplittable=!1,!1):this.keep&&this.keep.intact!=="none"?(this[n.$extra]._isSplittable=!1,!1):(X=r.layout)!=null&&X.endsWith("-tb")&&r[n.$extra].numberInLine!==0?!1:(this[n.$extra]._isSplittable=!0,!0):!1}[n.$toHTML](r){var wt;if(h(this),this.break){if(this.break.after!=="auto"||this.break.afterTarget!==""){const et=new ne({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});et[n.$globalData]=this[n.$globalData],this[n.$appendChild](et),this.breakAfter.push(et)}if(this.break.before!=="auto"||this.break.beforeTarget!==""){const et=new ce({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});et[n.$globalData]=this[n.$globalData],this[n.$appendChild](et),this.breakBefore.push(et)}if(this.break.overflowTarget!==""){const et=new xt({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});et[n.$globalData]=this[n.$globalData],this[n.$appendChild](et),this.overflow.push(et)}this[n.$removeChild](this.break),this.break=null}if(this.presence==="hidden"||this.presence==="inactive")return s.HTMLResult.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&(0,L.warn)("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){const et=this.breakBefore.children[0];if(S(et))return s.HTMLResult.breakNode(et)}if((wt=this[n.$extra])!=null&&wt.afterBreakAfter)return s.HTMLResult.EMPTY;(0,e.fixDimensions)(this);const X=[],ve={id:this[n.$uid],class:[]};(0,e.setAccess)(this,ve.class),this[n.$extra]||(this[n.$extra]=Object.create(null)),Object.assign(this[n.$extra],{children:X,line:null,attributes:ve,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,r.width),height:Math.min(this.h||1/0,r.height)},width:0,height:0,prevHeight:0,currentWidth:0});const Ie=this[n.$getTemplateRoot](),Pe=Ie[n.$extra].noLayoutFailure,Ue=this[n.$isSplittable]();if(Ue||b(this),!(0,g.checkDimensions)(this,r))return s.HTMLResult.FAILURE;const Ze=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){const et=this[n.$getSubformParent]().columnWidths;Array.isArray(et)&&et.length>0&&(this[n.$extra].columnWidths=et,this[n.$extra].currentColumn=0)}const _e=(0,e.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),dt=["xfaSubform"],yt=(0,e.layoutClass)(this);if(yt&&dt.push(yt),ve.style=_e,ve.class=dt,this.name&&(ve.xfaName=this.name),this.overflow){const et=this.overflow[n.$getExtra]();et.addLeader&&(et.addLeader=!1,p(this,et.leader,r))}this[n.$pushPara]();const Tt=this.layout==="lr-tb"||this.layout==="rl-tb",Ft=Tt?a:1;for(;this[n.$extra].attempt=1){const et=this.breakAfter.children[0];if(S(et))return this[n.$extra].afterBreakAfter=zt,s.HTMLResult.breakNode(et)}return delete this[n.$extra],zt}}class an extends t.XFAObject{constructor(r){super(f,"subformSet",!0),this.id=r.id||"",this.name=r.name||"",this.relation=(0,s.getStringOption)(r.relation,["ordered","choice","unordered"]),this.relevant=(0,s.getRelevant)(r.relevant),this.use=r.use||"",this.usehref=r.usehref||"",this.bookend=null,this.break=null,this.desc=null,this.extras=null,this.occur=null,this.overflow=null,this.breakAfter=new t.XFAObjectArray,this.breakBefore=new t.XFAObjectArray,this.subform=new t.XFAObjectArray,this.subformSet=new t.XFAObjectArray}*[n.$getContainedChildren](){yield*T(this)}[n.$getSubformParent](){let r=this[n.$getParent]();for(;!(r instanceof hn);)r=r[n.$getParent]();return r}[n.$isBindable](){return!0}}class Fn extends t.ContentObject{constructor(r){super(f,"subjectDN"),this.delimiter=r.delimiter||",",this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}[n.$finalize](){this[n.$content]=new Map(this[n.$content].split(this.delimiter).map(r=>(r=r.split("=",2),r[0]=r[0].trim(),r)))}}class In extends t.XFAObject{constructor(r){super(f,"subjectDNs",!0),this.id=r.id||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||"",this.subjectDN=new t.XFAObjectArray}}class On extends t.XFAObject{constructor(r){super(f,"submit",!0),this.embedPDF=(0,s.getInteger)({data:r.embedPDF,defaultValue:0,validate:X=>X===1}),this.format=(0,s.getStringOption)(r.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),this.id=r.id||"",this.target=r.target||"",this.textEncoding=(0,s.getKeyword)({data:r.textEncoding?r.textEncoding.toLowerCase():"",defaultValue:"",validate:X=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(X)||X.match(/iso-8859-\d{2}/)}),this.use=r.use||"",this.usehref=r.usehref||"",this.xdpContent=r.xdpContent||"",this.encrypt=null,this.encryptData=new t.XFAObjectArray,this.signData=new t.XFAObjectArray}}class rn extends t.XFAObject{constructor(r){super(f,"template",!0),this.baseProfile=(0,s.getStringOption)(r.baseProfile,["full","interactiveForms"]),this.extras=null,this.subform=new t.XFAObjectArray}[n.$finalize](){this.subform.children.length===0&&(0,L.warn)("XFA - No subforms in template node."),this.subform.children.length>=2&&(0,L.warn)("XFA - Several subforms in template node: please file a bug."),this[n.$tabIndex]=v}[n.$isSplittable](){return!0}[n.$searchNode](r,X){return r.startsWith("#")?[this[n.$ids].get(r.slice(1))]:(0,y.searchNode)(this,X,r,!0,!0)}*[n.$toPages](){var Lt,pt,Ht;if(!this.subform.children.length)return s.HTMLResult.success({name:"div",children:[]});this[n.$extra]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]};const r=this.subform.children[0];r.pageSet[n.$cleanPage]();const X=r.pageSet.pageArea.children,ve={name:"div",children:[]};let Ie=null,Pe=null,Ue=null;if(r.breakBefore.children.length>=1?(Pe=r.breakBefore.children[0],Ue=Pe.target):r.subform.children.length>=1&&r.subform.children[0].breakBefore.children.length>=1?(Pe=r.subform.children[0].breakBefore.children[0],Ue=Pe.target):(Lt=r.break)!=null&&Lt.beforeTarget?(Pe=r.break,Ue=Pe.beforeTarget):r.subform.children.length>=1&&((pt=r.subform.children[0].break)!=null&&pt.beforeTarget)&&(Pe=r.subform.children[0].break,Ue=Pe.beforeTarget),Pe){const Pt=this[n.$searchNode](Ue,Pe[n.$getParent]());Pt instanceof qe&&(Ie=Pt,Pe[n.$extra]={})}Ie||(Ie=X[0]),Ie[n.$extra]={numberOfUse:1};const Ze=Ie[n.$getParent]();Ze[n.$extra]={numberOfUse:1,pageIndex:Ze.pageArea.children.indexOf(Ie),pageSetIndex:0};let _e,dt=null,yt=null,Tt=!0,Ft=0,Et=0;for(;;){if(Tt)Ft=0;else if(ve.children.pop(),++Ft===N)return(0,L.warn)("XFA - Something goes wrong: please file a bug."),ve;_e=null,this[n.$extra].currentPageArea=Ie;const Pt=Ie[n.$toHTML]().html;ve.children.push(Pt),dt&&(this[n.$extra].noLayoutFailure=!0,Pt.children.push(dt[n.$toHTML](Ie[n.$extra].space).html),dt=null),yt&&(this[n.$extra].noLayoutFailure=!0,Pt.children.push(yt[n.$toHTML](Ie[n.$extra].space).html),yt=null);const Wt=Ie.contentArea.children,zt=Pt.children.filter(et=>et.attributes.class.includes("xfaContentarea"));Tt=!1,this[n.$extra].firstUnsplittable=null,this[n.$extra].noLayoutFailure=!1;const wt=et=>{var Vt;const Kt=r[n.$flushHTML]();Kt&&(Tt||(Tt=((Vt=Kt.children)==null?void 0:Vt.length)>0),zt[et].children.push(Kt))};for(let et=Et,Kt=Wt.length;et0),zt[et].children.push(Yt.html)):!Tt&&ve.children.length>1&&ve.children.pop(),ve;if(Yt.isBreak()){const Gt=Yt.breakNode;if(wt(et),Gt.targetType==="auto")continue;Gt.leader&&(dt=this[n.$searchNode](Gt.leader,Gt[n.$getParent]()),dt=dt?dt[0]:null),Gt.trailer&&(yt=this[n.$searchNode](Gt.trailer,Gt[n.$getParent]()),yt=yt?yt[0]:null),Gt.targetType==="pageArea"?(_e=Gt[n.$extra].target,et=1/0):Gt[n.$extra].target?(_e=Gt[n.$extra].target,Et=Gt[n.$extra].index+1,et=1/0):et=Gt[n.$extra].index;continue}if(this[n.$extra].overflowNode){const Gt=this[n.$extra].overflowNode;this[n.$extra].overflowNode=null;const on=Gt[n.$getExtra](),_t=on.target;on.addLeader=on.leader!==null,on.addTrailer=on.trailer!==null,wt(et);const sa=et;if(et=1/0,_t instanceof qe)_e=_t;else if(_t instanceof ee){const dn=Wt.indexOf(_t);dn!==-1?dn>sa?et=dn-1:Et=dn:(_e=_t[n.$getParent](),Et=_e.contentArea.children.indexOf(_t))}continue}wt(et)}this[n.$extra].pageNumber+=1,_e&&(_e[n.$isUsable]()?_e[n.$extra].numberOfUse+=1:_e=null),Ie=_e||Ie[n.$getNextPage](),yield null}}}d.Template=rn;class un extends t.ContentObject{constructor(r){super(f,"text"),this.id=r.id||"",this.maxChars=(0,s.getInteger)({data:r.maxChars,defaultValue:0,validate:X=>X>=0}),this.name=r.name||"",this.rid=r.rid||"",this.use=r.use||"",this.usehref=r.usehref||""}[n.$acceptWhitespace](){return!0}[n.$onChild](r){return r[n.$namespaceId]===u.NamespaceIds.xhtml.id?(this[n.$content]=r,!0):((0,L.warn)(`XFA - Invalid content in Text: ${r[n.$nodeName]}.`),!1)}[n.$onText](r){this[n.$content]instanceof t.XFAObject||super[n.$onText](r)}[n.$finalize](){typeof this[n.$content]=="string"&&(this[n.$content]=this[n.$content].replaceAll(`\r `,` `))}[n.$getExtra](){return typeof this[n.$content]=="string"?this[n.$content].split(/[\u2029\u2028\n]/).reduce((r,X)=>(X&&r.push(X),r),[]).join(` `):this[n.$content][n.$text]()}[n.$toHTML](r){if(typeof this[n.$content]=="string"){const X=l(this[n.$content]).html;return this[n.$content].includes("\u2029")?(X.name="div",X.children=[],this[n.$content].split("\u2029").map(ve=>ve.split(/[\u2028\n]/).reduce((Ie,Pe)=>(Ie.push({name:"span",value:Pe},{name:"br"}),Ie),[])).forEach(ve=>{X.children.push({name:"p",children:ve})})):/[\u2028\n]/.test(this[n.$content])&&(X.name="div",X.children=[],this[n.$content].split(/[\u2028\n]/).forEach(ve=>{X.children.push({name:"span",value:ve},{name:"br"})})),s.HTMLResult.success(X)}return this[n.$content][n.$toHTML](r)}}d.Text=un;class fn extends t.XFAObject{constructor(r){super(f,"textEdit",!0),this.allowRichText=(0,s.getInteger)({data:r.allowRichText,defaultValue:0,validate:X=>X===1}),this.hScrollPolicy=(0,s.getStringOption)(r.hScrollPolicy,["auto","off","on"]),this.id=r.id||"",this.multiLine=(0,s.getInteger)({data:r.multiLine,defaultValue:"",validate:X=>X===0||X===1}),this.use=r.use||"",this.usehref=r.usehref||"",this.vScrollPolicy=(0,s.getStringOption)(r.vScrollPolicy,["auto","off","on"]),this.border=null,this.comb=null,this.extras=null,this.margin=null}[n.$toHTML](r){var Pe,Ue;const X=(0,e.toStyle)(this,"border","font","margin");let ve;const Ie=this[n.$getParent]()[n.$getParent]();return this.multiLine===""&&(this.multiLine=Ie instanceof be?1:0),this.multiLine===1?ve={name:"textarea",attributes:{dataId:((Pe=Ie[n.$data])==null?void 0:Pe[n.$uid])||Ie[n.$uid],fieldId:Ie[n.$uid],class:["xfaTextfield"],style:X,"aria-label":o(Ie),"aria-required":!1}}:ve={name:"input",attributes:{type:"text",dataId:((Ue=Ie[n.$data])==null?void 0:Ue[n.$uid])||Ie[n.$uid],fieldId:Ie[n.$uid],class:["xfaTextfield"],style:X,"aria-label":o(Ie),"aria-required":!1}},c(Ie)&&(ve.attributes["aria-required"]=!0,ve.attributes.required=!0),s.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[ve]})}}class Tn extends t.StringObject{constructor(r){super(f,"time"),this.id=r.id||"",this.name=r.name||"",this.use=r.use||"",this.usehref=r.usehref||""}[n.$finalize](){const r=this[n.$content].trim();this[n.$content]=r?new Date(r):null}[n.$toHTML](r){return l(this[n.$content]?this[n.$content].toString():"")}}class En extends t.XFAObject{constructor(r){super(f,"timeStamp"),this.id=r.id||"",this.server=r.server||"",this.type=(0,s.getStringOption)(r.type,["optional","required"]),this.use=r.use||"",this.usehref=r.usehref||""}}class Mn extends t.StringObject{constructor(r){super(f,"toolTip"),this.id=r.id||"",this.rid=r.rid||"",this.use=r.use||"",this.usehref=r.usehref||""}}class Pn extends t.XFAObject{constructor(r){super(f,"traversal",!0),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.traverse=new t.XFAObjectArray}}class Rn extends t.XFAObject{constructor(r){super(f,"traverse",!0),this.id=r.id||"",this.operation=(0,s.getStringOption)(r.operation,["next","back","down","first","left","right","up"]),this.ref=r.ref||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.script=null}get name(){return this.operation}[n.$isTransparent](){return!1}}class sn extends t.XFAObject{constructor(r){super(f,"ui",!0),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.picture=null,this.barcode=null,this.button=null,this.checkButton=null,this.choiceList=null,this.dateTimeEdit=null,this.defaultUi=null,this.imageEdit=null,this.numericEdit=null,this.passwordEdit=null,this.signature=null,this.textEdit=null}[n.$getExtra](){if(this[n.$extra]===void 0){for(const r of Object.getOwnPropertyNames(this)){if(r==="extras"||r==="picture")continue;const X=this[r];if(X instanceof t.XFAObject)return this[n.$extra]=X,X}this[n.$extra]=null}return this[n.$extra]}[n.$toHTML](r){const X=this[n.$getExtra]();return X?X[n.$toHTML](r):s.HTMLResult.EMPTY}}class Dn extends t.XFAObject{constructor(r){super(f,"validate",!0),this.formatTest=(0,s.getStringOption)(r.formatTest,["warning","disabled","error"]),this.id=r.id||"",this.nullTest=(0,s.getStringOption)(r.nullTest,["disabled","error","warning"]),this.scriptTest=(0,s.getStringOption)(r.scriptTest,["error","disabled","warning"]),this.use=r.use||"",this.usehref=r.usehref||"",this.extras=null,this.message=null,this.picture=null,this.script=null}}class Qt extends t.XFAObject{constructor(r){super(f,"value",!0),this.id=r.id||"",this.override=(0,s.getInteger)({data:r.override,defaultValue:0,validate:X=>X===1}),this.relevant=(0,s.getRelevant)(r.relevant),this.use=r.use||"",this.usehref=r.usehref||"",this.arc=null,this.boolean=null,this.date=null,this.dateTime=null,this.decimal=null,this.exData=null,this.float=null,this.image=null,this.integer=null,this.line=null,this.rectangle=null,this.text=null,this.time=null}[n.$setValue](r){var Ie;const X=this[n.$getParent]();if(X instanceof We&&(Ie=X.ui)!=null&&Ie.imageEdit){this.image||(this.image=new Ot({}),this[n.$appendChild](this.image)),this.image[n.$content]=r[n.$content];return}const ve=r[n.$nodeName];if(this[ve]!==null){this[ve][n.$content]=r[n.$content];return}for(const Pe of Object.getOwnPropertyNames(this)){const Ue=this[Pe];Ue instanceof t.XFAObject&&(this[Pe]=null,this[n.$removeChild](Ue))}this[r[n.$nodeName]]=r,this[n.$appendChild](r)}[n.$text](){if(this.exData)return typeof this.exData[n.$content]=="string"?this.exData[n.$content].trim():this.exData[n.$content][n.$text]().trim();for(const r of Object.getOwnPropertyNames(this)){if(r==="image")continue;const X=this[r];if(X instanceof t.XFAObject)return(X[n.$content]||"").toString().trim()}return null}[n.$toHTML](r){for(const X of Object.getOwnPropertyNames(this)){const ve=this[X];if(ve instanceof t.XFAObject)return ve[n.$toHTML](r)}return s.HTMLResult.EMPTY}}d.Value=Qt;class Nn extends t.XFAObject{constructor(r){super(f,"variables",!0),this.id=r.id||"",this.use=r.use||"",this.usehref=r.usehref||"",this.boolean=new t.XFAObjectArray,this.date=new t.XFAObjectArray,this.dateTime=new t.XFAObjectArray,this.decimal=new t.XFAObjectArray,this.exData=new t.XFAObjectArray,this.float=new t.XFAObjectArray,this.image=new t.XFAObjectArray,this.integer=new t.XFAObjectArray,this.manifest=new t.XFAObjectArray,this.script=new t.XFAObjectArray,this.text=new t.XFAObjectArray,this.time=new t.XFAObjectArray}[n.$isTransparent](){return!0}}class qt{static[u.$buildXFAObject](r,X){if(qt.hasOwnProperty(r)){const ve=qt[r](X);return ve[n.$setSetAttributes](X),ve}}static appearanceFilter(r){return new G(r)}static arc(r){return new $(r)}static area(r){return new A(r)}static assist(r){return new D(r)}static barcode(r){return new w(r)}static bind(r){return new m(r)}static bindItems(r){return new I(r)}static bookend(r){return new H(r)}static boolean(r){return new Y(r)}static border(r){return new Q(r)}static break(r){return new oe(r)}static breakAfter(r){return new ne(r)}static breakBefore(r){return new ce(r)}static button(r){return new J(r)}static calculate(r){return new _(r)}static caption(r){return new k(r)}static certificate(r){return new O(r)}static certificates(r){return new V(r)}static checkButton(r){return new K(r)}static choiceList(r){return new te(r)}static color(r){return new re(r)}static comb(r){return new ie(r)}static connect(r){return new Z(r)}static contentArea(r){return new ee(r)}static corner(r){return new q(r)}static date(r){return new z(r)}static dateTime(r){return new ae(r)}static dateTimeEdit(r){return new se(r)}static decimal(r){return new le(r)}static defaultUi(r){return new ue(r)}static desc(r){return new fe(r)}static digestMethod(r){return new ge(r)}static digestMethods(r){return new me(r)}static draw(r){return new be(r)}static edge(r){return new ye(r)}static encoding(r){return new Se(r)}static encodings(r){return new Ae(r)}static encrypt(r){return new Fe(r)}static encryptData(r){return new xe(r)}static encryption(r){return new de(r)}static encryptionMethod(r){return new pe(r)}static encryptionMethods(r){return new Ce(r)}static event(r){return new we(r)}static exData(r){return new $e(r)}static exObject(r){return new ze(r)}static exclGroup(r){return new Ee(r)}static execute(r){return new tt(r)}static extras(r){return new nt(r)}static field(r){return new We(r)}static fill(r){return new Le(r)}static filter(r){return new Qe(r)}static float(r){return new gt(r)}static font(r){return new De(r)}static format(r){return new St(r)}static handler(r){return new rt(r)}static hyphenation(r){return new At(r)}static image(r){return new Ot(r)}static imageEdit(r){return new Ve(r)}static integer(r){return new Ge(r)}static issuers(r){return new Ye(r)}static items(r){return new mt(r)}static keep(r){return new kt(r)}static keyUsage(r){return new It(r)}static line(r){return new at(r)}static linear(r){return new Nt(r)}static lockDocument(r){return new Me(r)}static manifest(r){return new Oe(r)}static margin(r){return new Re(r)}static mdp(r){return new Ne(r)}static medium(r){return new Be(r)}static message(r){return new je(r)}static numericEdit(r){return new Xe(r)}static occur(r){return new Te(r)}static oid(r){return new it(r)}static oids(r){return new Je(r)}static overflow(r){return new xt(r)}static pageArea(r){return new qe(r)}static pageSet(r){return new st(r)}static para(r){return new ut(r)}static passwordEdit(r){return new Ke(r)}static pattern(r){return new ot(r)}static picture(r){return new He(r)}static proto(r){return new ft(r)}static radial(r){return new bt(r)}static reason(r){return new $t(r)}static reasons(r){return new lt(r)}static rectangle(r){return new ht(r)}static ref(r){return new Ct(r)}static script(r){return new Mt(r)}static setProperty(r){return new jt(r)}static signData(r){return new Zt(r)}static signature(r){return new wn(r)}static signing(r){return new vn(r)}static solid(r){return new An(r)}static speak(r){return new kn(r)}static stipple(r){return new Cn(r)}static subform(r){return new hn(r)}static subformSet(r){return new an(r)}static subjectDN(r){return new Fn(r)}static subjectDNs(r){return new In(r)}static submit(r){return new On(r)}static template(r){return new rn(r)}static text(r){return new un(r)}static textEdit(r){return new fn(r)}static time(r){return new Tn(r)}static timeStamp(r){return new En(r)}static toolTip(r){return new Mn(r)}static traversal(r){return new Pn(r)}static traverse(r){return new Rn(r)}static ui(r){return new sn(r)}static validate(r){return new Dn(r)}static value(r){return new Qt(r)}static variables(r){return new Nn(r)}}d.TemplateNamespace=qt},(he,d,i)=>{var n=i(3),u=i(4),g=i(24),e=i(11),t=i(45).f,s=i(39),L=i(233),U=i(75),C=i(76),y=i(234),f=i(82),x=i(6),a=i(36),N="DOMException",v=g("Error"),P=g(N),F=function(){L(this,B);var S=arguments.length,p=C(S<1?void 0:arguments[0]),G=C(S<2?void 0:arguments[1],"Error"),$=new P(p,G),A=v(p);return A.name=N,t($,"stack",e(1,f(A.stack,1))),U($,this,F),$},B=F.prototype=P.prototype,W="stack"in v(N),j="stack"in new P(1,2),M=P&&x&&Object.getOwnPropertyDescriptor(u,N),T=!!M&&!(M.writable&&M.configurable),c=W&&!T&&!j;n({global:!0,constructor:!0,forced:a||c},{DOMException:c?F:P});var h=g(N),E=h.prototype;if(E.constructor!==h){a||t(E,"constructor",e(1,h));for(var o in y)if(s(y,o)){var l=y[o],b=l.s;s(h,b)||t(h,b,e(6,l.c))}}},(he,d,i)=>{var n=i(25),u=TypeError;he.exports=function(g,e){if(n(e,g))return g;throw u("Incorrect invocation")}},he=>{he.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},(he,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.NamespaceIds=d.$buildXFAObject=void 0;const i=Symbol();d.$buildXFAObject=i;const n={config:{id:0,check:u=>u.startsWith("http://www.xfa.org/schema/xci/")},connectionSet:{id:1,check:u=>u.startsWith("http://www.xfa.org/schema/xfa-connection-set/")},datasets:{id:2,check:u=>u.startsWith("http://www.xfa.org/schema/xfa-data/")},form:{id:3,check:u=>u.startsWith("http://www.xfa.org/schema/xfa-form/")},localeSet:{id:4,check:u=>u.startsWith("http://www.xfa.org/schema/xfa-locale-set/")},pdf:{id:5,check:u=>u==="http://ns.adobe.com/xdp/pdf/"},signature:{id:6,check:u=>u==="http://www.w3.org/2000/09/xmldsig#"},sourceSet:{id:7,check:u=>u.startsWith("http://www.xfa.org/schema/xfa-source-set/")},stylesheet:{id:8,check:u=>u==="http://www.w3.org/1999/XSL/Transform"},template:{id:9,check:u=>u.startsWith("http://www.xfa.org/schema/xfa-template/")},xdc:{id:10,check:u=>u.startsWith("http://www.xfa.org/schema/xdc/")},xdp:{id:11,check:u=>u==="http://ns.adobe.com/xdp/"},xfdf:{id:12,check:u=>u==="http://ns.adobe.com/xfdf/"},xhtml:{id:13,check:u=>u==="http://www.w3.org/1999/xhtml"},xmpmeta:{id:14,check:u=>u==="http://ns.adobe.com/xmpmeta/"}};d.NamespaceIds=n},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.addHTML=t,d.checkDimensions=U,d.flushHTML=e,d.getAvailableSpace=s,i(140);var n=i(229),u=i(237);function g(C,y){return{name:"div",attributes:{class:[C.layout==="lr-tb"?"xfaLr":"xfaRl"]},children:y}}function e(C){if(!C[n.$extra])return null;const f={name:"div",attributes:C[n.$extra].attributes,children:C[n.$extra].children};if(C[n.$extra].failingNode){const x=C[n.$extra].failingNode[n.$flushHTML]();x&&(C.layout.endsWith("-tb")?f.children.push(g(C,[x])):f.children.push(x))}return f.children.length===0?null:f}function t(C,y,f){const x=C[n.$extra],a=x.availableSpace,[N,v,P,F]=f;switch(C.layout){case"position":{x.width=Math.max(x.width,N+P),x.height=Math.max(x.height,v+F),x.children.push(y);break}case"lr-tb":case"rl-tb":(!x.line||x.attempt===1)&&(x.line=g(C,[]),x.children.push(x.line),x.numberInLine=0),x.numberInLine+=1,x.line.children.push(y),x.attempt===0?(x.currentWidth+=P,x.height=Math.max(x.height,x.prevHeight+F)):(x.currentWidth=P,x.prevHeight=x.height,x.height+=F,x.attempt=0),x.width=Math.max(x.width,x.currentWidth);break;case"rl-row":case"row":{x.children.push(y),x.width+=P,x.height=Math.max(x.height,F);const B=(0,u.measureToString)(x.height);for(const W of x.children)W.attributes.style.height=B;break}case"table":{x.width=Math.min(a.width,Math.max(x.width,P)),x.height+=F,x.children.push(y);break}case"tb":{x.width=Math.min(a.width,Math.max(x.width,P)),x.height+=F,x.children.push(y);break}}}function s(C){const y=C[n.$extra].availableSpace,f=C.margin?C.margin.topInset+C.margin.bottomInset:0,x=C.margin?C.margin.leftInset+C.margin.rightInset:0;switch(C.layout){case"lr-tb":case"rl-tb":return C[n.$extra].attempt===0?{width:y.width-x-C[n.$extra].currentWidth,height:y.height-f-C[n.$extra].prevHeight}:{width:y.width-x,height:y.height-f-C[n.$extra].height};case"rl-row":case"row":return{width:C[n.$extra].columnWidths.slice(C[n.$extra].currentColumn).reduce((N,v)=>N+v),height:y.height-x};case"table":case"tb":return{width:y.width-x,height:y.height-f-C[n.$extra].height};case"position":default:return y}}function L(C){let y=C.w===""?NaN:C.w,f=C.h===""?NaN:C.h,[x,a]=[0,0];switch(C.anchorType||""){case"bottomCenter":[x,a]=[y/2,f];break;case"bottomLeft":[x,a]=[0,f];break;case"bottomRight":[x,a]=[y,f];break;case"middleCenter":[x,a]=[y/2,f/2];break;case"middleLeft":[x,a]=[0,f/2];break;case"middleRight":[x,a]=[y,f/2];break;case"topCenter":[x,a]=[y/2,0];break;case"topRight":[x,a]=[y,0];break}let N,v;switch(C.rotate||0){case 0:[N,v]=[-x,-a];break;case 90:[N,v]=[-a,x],[y,f]=[f,-y];break;case 180:[N,v]=[x,a],[y,f]=[-y,-f];break;case 270:[N,v]=[a,-x],[y,f]=[-f,y];break}return[C.x+N+Math.min(0,y),C.y+v+Math.min(0,f),Math.abs(y),Math.abs(f)]}function U(C,y){var F;if(C[n.$getTemplateRoot]()[n.$extra].firstUnsplittable===null||C.w===0||C.h===0)return!0;const f=2,x=C[n.$getSubformParent](),a=((F=x[n.$extra])==null?void 0:F.attempt)||0,[,N,v,P]=L(C);switch(x.layout){case"lr-tb":case"rl-tb":return a===0?C[n.$getTemplateRoot]()[n.$extra].noLayoutFailure?C.w!==""?Math.round(v-y.width)<=f:y.width>f:C.h!==""&&Math.round(P-y.height)>f?!1:C.w!==""?Math.round(v-y.width)<=f?!0:x[n.$extra].numberInLine===0?y.height>f:!1:y.width>f:C[n.$getTemplateRoot]()[n.$extra].noLayoutFailure?!0:C.h!==""&&Math.round(P-y.height)>f?!1:C.w===""||Math.round(v-y.width)<=f?y.height>f:x[n.$isThereMoreWidth]()?!1:y.height>f;case"table":case"tb":return C[n.$getTemplateRoot]()[n.$extra].noLayoutFailure?!0:C.h!==""&&!C[n.$isSplittable]()?Math.round(P-y.height)<=f:C.w===""||Math.round(v-y.width)<=f?y.height>f:x[n.$isThereMoreWidth]()?!1:y.height>f;case"position":if(C[n.$getTemplateRoot]()[n.$extra].noLayoutFailure||C.h===""||Math.round(P+N-y.height)<=f)return!0;const B=C[n.$getTemplateRoot]()[n.$extra].currentContentArea;return P+N>B.h;case"rl-row":case"row":return C[n.$getTemplateRoot]()[n.$extra].noLayoutFailure?!0:C.h!==""?Math.round(P-y.height)<=f:!0;default:return!0}}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.computeBbox=x,d.createWrapper=P,d.fixDimensions=a,d.fixTextIndent=F,d.fixURL=c,d.isPrintOnly=W,d.layoutClass=N,d.layoutNode=f,d.measureToString=L,d.setAccess=B,d.setFontFamily=T,d.setMinMaxDimensions=C,d.setPara=M,d.toStyle=v,i(140);var n=i(229),u=i(145),g=i(238),e=i(239),t=i(240),s=i(241);function L(h){return typeof h=="string"?"0px":Number.isInteger(h)?`${h}px`:`${h.toFixed(2)}px`}const U={anchorType(h,E){const o=h[n.$getSubformParent]();if(!(!o||o.layout&&o.layout!=="position"))switch("transform"in E||(E.transform=""),h.anchorType){case"bottomCenter":E.transform+="translate(-50%, -100%)";break;case"bottomLeft":E.transform+="translate(0,-100%)";break;case"bottomRight":E.transform+="translate(-100%,-100%)";break;case"middleCenter":E.transform+="translate(-50%,-50%)";break;case"middleLeft":E.transform+="translate(0,-50%)";break;case"middleRight":E.transform+="translate(-100%,-50%)";break;case"topCenter":E.transform+="translate(-50%,0)";break;case"topRight":E.transform+="translate(-100%,0)";break}},dimensions(h,E){var R;const o=h[n.$getSubformParent]();let l=h.w;const b=h.h;if((R=o.layout)!=null&&R.includes("row")){const S=o[n.$extra],p=h.colSpan;let G;p===-1?(G=S.columnWidths.slice(S.currentColumn).reduce(($,A)=>$+A,0),S.currentColumn=0):(G=S.columnWidths.slice(S.currentColumn,S.currentColumn+p).reduce(($,A)=>$+A,0),S.currentColumn=(S.currentColumn+h.colSpan)%S.columnWidths.length),isNaN(G)||(l=h.w=G)}E.width=l!==""?L(l):"auto",E.height=b!==""?L(b):"auto"},position(h,E){const o=h[n.$getSubformParent]();o!=null&&o.layout&&o.layout!=="position"||(E.position="absolute",E.left=L(h.x),E.top=L(h.y))},rotate(h,E){h.rotate&&("transform"in E||(E.transform=""),E.transform+=`rotate(-${h.rotate}deg)`,E.transformOrigin="top left")},presence(h,E){switch(h.presence){case"invisible":E.visibility="hidden";break;case"hidden":case"inactive":E.display="none";break}},hAlign(h,E){if(h[n.$nodeName]==="para")switch(h.hAlign){case"justifyAll":E.textAlign="justify-all";break;case"radix":E.textAlign="left";break;default:E.textAlign=h.hAlign}else switch(h.hAlign){case"left":E.alignSelf="start";break;case"center":E.alignSelf="center";break;case"right":E.alignSelf="end";break}},margin(h,E){h.margin&&(E.margin=h.margin[n.$toStyle]().margin)}};function C(h,E){h[n.$getSubformParent]().layout==="position"&&(h.minW>0&&(E.minWidth=L(h.minW)),h.maxW>0&&(E.maxWidth=L(h.maxW)),h.minH>0&&(E.minHeight=L(h.minH)),h.maxH>0&&(E.maxHeight=L(h.maxH)))}function y(h,E,o,l,b,R){const S=new t.TextMeasure(E,o,l,b);return typeof h=="string"?S.addString(h):h[n.$pushGlyphs](S),S.compute(R)}function f(h,E){let o=null,l=null,b=!1;if((!h.w||!h.h)&&h.value){let R=0,S=0;h.margin&&(R=h.margin.leftInset+h.margin.rightInset,S=h.margin.topInset+h.margin.bottomInset);let p=null,G=null;h.para&&(G=Object.create(null),p=h.para.lineHeight===""?null:h.para.lineHeight,G.top=h.para.spaceAbove===""?0:h.para.spaceAbove,G.bottom=h.para.spaceBelow===""?0:h.para.spaceBelow,G.left=h.para.marginLeft===""?0:h.para.marginLeft,G.right=h.para.marginRight===""?0:h.para.marginRight);let $=h.font;if(!$){const w=h[n.$getTemplateRoot]();let m=h[n.$getParent]();for(;m&&m!==w;){if(m.font){$=m.font;break}m=m[n.$getParent]()}}const A=(h.w||E.width)-R,D=h[n.$globalData].fontFinder;if(h.value.exData&&h.value.exData[n.$content]&&h.value.exData.contentType==="text/html"){const w=y(h.value.exData[n.$content],$,G,p,D,A);l=w.width,o=w.height,b=w.isBroken}else{const w=h.value[n.$text]();if(w){const m=y(w,$,G,p,D,A);l=m.width,o=m.height,b=m.isBroken}}l!==null&&!h.w&&(l+=R),o!==null&&!h.h&&(o+=S)}return{w:l,h:o,isBroken:b}}function x(h,E,o){let l;if(h.w!==""&&h.h!=="")l=[h.x,h.y,h.w,h.h];else{if(!o)return null;let b=h.w;if(b===""){if(h.maxW===0){const S=h[n.$getSubformParent]();b=S.layout==="position"&&S.w!==""?0:h.minW}else b=Math.min(h.maxW,o.width);E.attributes.style.width=L(b)}let R=h.h;if(R===""){if(h.maxH===0){const S=h[n.$getSubformParent]();R=S.layout==="position"&&S.h!==""?0:h.minH}else R=Math.min(h.maxH,o.height);E.attributes.style.height=L(R)}l=[h.x,h.y,b,R]}return l}function a(h){var o;const E=h[n.$getSubformParent]();if((o=E.layout)!=null&&o.includes("row")){const l=E[n.$extra],b=h.colSpan;let R;b===-1?R=l.columnWidths.slice(l.currentColumn).reduce((S,p)=>S+p,0):R=l.columnWidths.slice(l.currentColumn,l.currentColumn+b).reduce((S,p)=>S+p,0),isNaN(R)||(h.w=R)}E.layout&&E.layout!=="position"&&(h.x=h.y=0),h.layout==="table"&&h.w===""&&Array.isArray(h.columnWidths)&&(h.w=h.columnWidths.reduce((l,b)=>l+b,0))}function N(h){switch(h.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 v(h){const E=Object.create(null);for(var o=arguments.length,l=new Array(o>1?o-1:0),b=1;b=0)return;const l="padding"+((h.textAlign==="right"?"right":"left")==="left"?"Left":"Right"),b=(0,g.getMeasurement)(h[l],"0px");h[l]=`${b-E}px`}function B(h,E){switch(h.access){case"nonInteractive":E.push("xfaNonInteractive");break;case"readOnly":E.push("xfaReadOnly");break;case"protected":E.push("xfaDisabled");break}}function W(h){return h.relevant.length>0&&!h.relevant[0].excluded&&h.relevant[0].viewname==="print"}function j(h){const E=h[n.$getTemplateRoot]()[n.$extra].paraStack;return E.length?E.at(-1):null}function M(h,E,o){var l;if((l=o.attributes.class)!=null&&l.includes("xfaRich")){E&&(h.h===""&&(E.height="auto"),h.w===""&&(E.width="auto"));const b=j(h);if(b){const R=o.attributes.style;switch(R.display="flex",R.flexDirection="column",b.vAlign){case"top":R.justifyContent="start";break;case"bottom":R.justifyContent="end";break;case"middle":R.justifyContent="center";break}const S=b[n.$toStyle]();for(const[p,G]of Object.entries(S))p in R||(R[p]=G)}}}function T(h,E,o,l){if(!o){delete l.fontFamily;return}const b=(0,g.stripQuotes)(h.typeface);l.fontFamily=`"${b}"`;const R=o.find(b);if(R){const{fontFamily:S}=R.regular.cssFontInfo;S!==b&&(l.fontFamily=`"${S}"`);const p=j(E);if(p&&p.lineHeight!==""||l.lineHeight)return;const G=(0,e.selectFont)(h,R);G&&(l.lineHeight=Math.max(1.2,G.lineHeight))}}function c(h){const E=(0,u.createValidAbsoluteUrl)(h,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return E?E.href:null}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.HTMLResult=void 0,d.getBBox=a,d.getColor=x,d.getFloat=s,d.getInteger=t,d.getKeyword=L,d.getMeasurement=C,d.getRatio=y,d.getRelevant=f,d.getStringOption=U,d.stripQuotes=e,i(140);var n=i(145);const u={pt:v=>v,cm:v=>v/2.54*72,mm:v=>v/(10*2.54)*72,in:v=>v*72,px:v=>v},g=/([+-]?\d+\.?\d*)(.*)/;function e(v){return v.startsWith("'")||v.startsWith('"')?v.slice(1,-1):v}function t(v){let{data:P,defaultValue:F,validate:B}=v;if(!P)return F;P=P.trim();const W=parseInt(P,10);return!isNaN(W)&&B(W)?W:F}function s(v){let{data:P,defaultValue:F,validate:B}=v;if(!P)return F;P=P.trim();const W=parseFloat(P);return!isNaN(W)&&B(W)?W:F}function L(v){let{data:P,defaultValue:F,validate:B}=v;return P?(P=P.trim(),B(P)?P:F):F}function U(v,P){return L({data:v,defaultValue:P[0],validate:F=>P.includes(F)})}function C(v){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0";if(P||(P="0"),!v)return C(P);const F=v.trim().match(g);if(!F)return C(P);const[,B,W]=F,j=parseFloat(B);if(isNaN(j))return C(P);if(j===0)return 0;const M=u[W];return M?M(j):j}function y(v){if(!v)return{num:1,den:1};const P=v.trim().split(/\s*:\s*/).map(W=>parseFloat(W)).filter(W=>!isNaN(W));if(P.length===1&&P.push(1),P.length===0)return{num:1,den:1};const[F,B]=P;return{num:F,den:B}}function f(v){return v?v.trim().split(/\s+/).map(P=>({excluded:P[0]==="-",viewname:P.substring(1)})):[]}function x(v){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0],[F,B,W]=P;if(!v)return{r:F,g:B,b:W};const j=v.trim().split(/\s*,\s*/).map(M=>Math.min(Math.max(0,parseInt(M.trim(),10)),255)).map(M=>isNaN(M)?0:M);return j.length<3?{r:F,g:B,b:W}:([F,B,W]=j,{r:F,g:B,b:W})}function a(v){if(!v)return{x:-1,y:-1,width:-1,height:-1};const F=v.trim().split(/\s*,\s*/).map(T=>C(T,"-1"));if(F.length<4||F[2]<0||F[3]<0)return{x:-1,y:-1,width:-1,height:-1};const[B,W,j,M]=F;return{x:B,y:W,width:j,height:M}}class N{static get FAILURE(){return(0,n.shadow)(this,"FAILURE",new N(!1,null,null,null))}static get EMPTY(){return(0,n.shadow)(this,"EMPTY",new N(!0,null,null,null))}constructor(P,F,B,W){this.success=P,this.html=F,this.bbox=B,this.breakNode=W}isBreak(){return!!this.breakNode}static breakNode(P){return new N(!1,null,null,P)}static success(P){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return new N(!0,P,F,null)}}d.HTMLResult=N},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.FontFinder=void 0,d.getMetrics=s,d.selectFont=t,i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(140);var n=i(229),u=i(238),g=i(145);class e{constructor(U){this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(U)}add(U){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;for(const f of U)this.addPdfFont(f);for(const f of this.fonts.values())f.regular||(f.regular=f.italic||f.bold||f.bolditalic);if(!C||C.size===0)return;const y=this.fonts.get("PdfJS-Fallback-PdfJS-XFA");for(const f of C)this.fonts.set(f,y)}addPdfFont(U){var N,v,P;const C=U.cssFontInfo,y=C.fontFamily;let f=this.fonts.get(y);f||(f=Object.create(null),this.fonts.set(y,f),this.defaultFont||(this.defaultFont=f));let x="";const a=parseFloat(C.fontWeight);parseFloat(C.italicAngle)!==0?x=a>=700?"bolditalic":"italic":a>=700&&(x="bold"),x||((U.name.includes("Bold")||(N=U.psName)!=null&&N.includes("Bold"))&&(x="bold"),(U.name.includes("Italic")||U.name.endsWith("It")||(v=U.psName)!=null&&v.includes("Italic")||(P=U.psName)!=null&&P.endsWith("It"))&&(x+="italic")),x||(x="regular"),f[x]=U}getDefault(){return this.defaultFont}find(U){var N,v;let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,y=this.fonts.get(U)||this.cache.get(U);if(y)return y;const f=/,|-|_| |bolditalic|bold|italic|regular|it/gi;let x=U.replaceAll(f,"");if(y=this.fonts.get(x),y)return this.cache.set(U,y),y;x=x.toLowerCase();const a=[];for(const[P,F]of this.fonts.entries())P.replaceAll(f,"").toLowerCase().startsWith(x)&&a.push(F);if(a.length===0)for(const[,P]of this.fonts.entries())(N=P.regular.name)!=null&&N.replaceAll(f,"").toLowerCase().startsWith(x)&&a.push(P);if(a.length===0){x=x.replaceAll(/psmt|mt/gi,"");for(const[P,F]of this.fonts.entries())P.replaceAll(f,"").toLowerCase().startsWith(x)&&a.push(F)}if(a.length===0)for(const P of this.fonts.values())(v=P.regular.name)!=null&&v.replaceAll(f,"").toLowerCase().startsWith(x)&&a.push(P);return a.length>=1?(a.length!==1&&C&&(0,g.warn)(`XFA - Too many choices to guess the correct font: ${U}`),this.cache.set(U,a[0]),a[0]):(C&&!this.warned.has(U)&&(this.warned.add(U),(0,g.warn)(`XFA - Cannot find the font: ${U}`)),null)}}d.FontFinder=e;function t(L,U){return L.posture==="italic"?L.weight==="bold"?U.bolditalic:U.italic:L.weight==="bold"?U.bold:U.regular}function s(L){let U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,C=null;if(L){const a=(0,u.stripQuotes)(L.typeface),N=L[n.$globalData].fontFinder.find(a);C=t(L,N)}if(!C)return{lineHeight:12,lineGap:2,lineNoGap:10};const y=L.size||10,f=C.lineHeight?Math.max(U?0:1.2,C.lineHeight):1.2,x=C.lineGap===void 0?.2:C.lineGap;return{lineHeight:f*y,lineGap:x*y,lineNoGap:Math.max(1,f-x)*y}}},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.TextMeasure=void 0,i(140);var n=i(239);const u=1.02;class g{constructor(L,U,C,y){if(this.lineHeight=C,this.paraMargin=U||{top:0,bottom:0,left:0,right:0},!L){[this.pdfFont,this.xfaFont]=this.defaultFont(y);return}this.xfaFont={typeface:L.typeface,posture:L.posture,weight:L.weight,size:L.size,letterSpacing:L.letterSpacing};const f=y.find(L.typeface);if(!f){[this.pdfFont,this.xfaFont]=this.defaultFont(y);return}this.pdfFont=(0,n.selectFont)(L,f),this.pdfFont||([this.pdfFont,this.xfaFont]=this.defaultFont(y))}defaultFont(L){const U=L.find("Helvetica",!1)||L.find("Myriad Pro",!1)||L.find("Arial",!1)||L.getDefault();if(U!=null&&U.regular){const y=U.regular,x={typeface:y.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0};return[y,x]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}class e{constructor(L,U,C,y){this.fontFinder=y,this.stack=[new g(L,U,C,y)]}pushData(L,U,C){const y=this.stack.at(-1);for(const x of["typeface","posture","weight","size","letterSpacing"])L[x]||(L[x]=y.xfaFont[x]);for(const x of["top","bottom","left","right"])isNaN(U[x])&&(U[x]=y.paraMargin[x]);const f=new g(L,U,C||y.lineHeight,this.fontFinder);f.pdfFont||(f.pdfFont=y.pdfFont),this.stack.push(f)}popFont(){this.stack.pop()}topFont(){return this.stack.at(-1)}}class t{constructor(L,U,C,y){this.glyphs=[],this.fontSelector=new e(L,U,C,y),this.extraHeight=0}pushData(L,U,C){this.fontSelector.pushData(L,U,C)}popFont(L){return this.fontSelector.popFont()}addPara(){const L=this.fontSelector.topFont();this.extraHeight+=L.paraMargin.top+L.paraMargin.bottom}addString(L){if(!L)return;const U=this.fontSelector.topFont(),C=U.xfaFont.size;if(U.pdfFont){const y=U.xfaFont.letterSpacing,f=U.pdfFont,x=f.lineHeight||1.2,a=U.lineHeight||Math.max(1.2,x)*C,N=f.lineGap===void 0?.2:f.lineGap,v=x-N,P=Math.max(1,v)*C,F=C/1e3,B=f.defaultWidth||f.charsToGlyphs(" ")[0].width;for(const W of L.split(/[\u2029\n]/)){const j=f.encodeString(W).join(""),M=f.charsToGlyphs(j);for(const T of M){const c=T.width||B;this.glyphs.push([c*F+y,a,P,T.unicode,!1])}this.glyphs.push([0,0,0,` `,!0])}this.glyphs.pop();return}for(const y of L.split(/[\u2029\n]/)){for(const f of y.split(""))this.glyphs.push([C,1.2*C,C,f,!1]);this.glyphs.push([0,0,0,` `,!0])}this.glyphs.pop()}compute(L){let U=-1,C=0,y=0,f=0,x=0,a=0,N=!1,v=!0;for(let P=0,F=this.glyphs.length;PL?(y=Math.max(y,x),x=0,f+=a,a=h,U=-1,C=0,N=!0,v=!1):(a=Math.max(h,a),C=x,x+=B,U=P);continue}if(x+B>L){f+=a,a=h,U!==-1?(P=U,y=Math.max(y,C),x=0,U=-1,C=0):(y=Math.max(y,x),x=B),N=!0,v=!1;continue}x+=B,a=Math.max(h,a)}return y=Math.max(y,x),f+=a+this.extraHeight,{width:u*y,height:f,isBroken:N}}}d.TextMeasure=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.XmlObject=d.XFAObjectArray=d.XFAObject=d.XFAAttribute=d.StringObject=d.OptionObject=d.Option10=d.Option01=d.IntegerObject=d.ContentObject=void 0,i(140),i(116),i(127),i(129),i(132),i(134),i(136),i(138);var n=i(229),u=i(238),g=i(145),e=i(150),t=i(235),s=i(242);const L=Symbol(),U=Symbol(),C=Symbol(),y=Symbol("_children"),f=Symbol(),x=Symbol(),a=Symbol(),N=Symbol(),v=Symbol(),P=Symbol(),F=Symbol(),B=Symbol(),W=Symbol(),j=Symbol("parent"),M=Symbol(),T=Symbol(),c=Symbol();let h=0;const E=t.NamespaceIds.datasets.id;class o{constructor(m,I){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this[n.$namespaceId]=m,this[n.$nodeName]=I,this[F]=H,this[j]=null,this[y]=[],this[n.$uid]=`${I}${h++}`,this[n.$globalData]=null}get isXFAObject(){return!0}get isXFAObjectArray(){return!1}createNodes(m){let I=this,H=null;for(const{name:Y,index:Q}of m){for(let oe=0,ne=isFinite(Q)?Q:0;oe<=ne;oe++){const ce=I[n.$namespaceId]===E?-1:I[n.$namespaceId];H=new R(ce,Y),I[n.$appendChild](H)}I=H}return H}[n.$onChild](m){if(!this[F]||!this[n.$onChildCheck](m))return!1;const I=m[n.$nodeName],H=this[I];if(H instanceof l){if(H.push(m))return this[n.$appendChild](m),!0}else return H!==null&&this[n.$removeChild](H),this[I]=m,this[n.$appendChild](m),!0;let Y="";return this.id?Y=` (id: ${this.id})`:this.name&&(Y=` (name: ${this.name} ${this.h.value})`),(0,g.warn)(`XFA - node "${this[n.$nodeName]}"${Y} has already enough "${I}"!`),!1}[n.$onChildCheck](m){return this.hasOwnProperty(m[n.$nodeName])&&m[n.$namespaceId]===this[n.$namespaceId]}[n.$isNsAgnostic](){return!1}[n.$acceptWhitespace](){return!1}[n.$isCDATAXml](){return!1}[n.$isBindable](){return!1}[n.$popPara](){this.para&&this[n.$getTemplateRoot]()[n.$extra].paraStack.pop()}[n.$pushPara](){this[n.$getTemplateRoot]()[n.$extra].paraStack.push(this.para)}[n.$setId](m){this.id&&this[n.$namespaceId]===t.NamespaceIds.template.id&&m.set(this.id,this)}[n.$getTemplateRoot](){return this[n.$globalData].template}[n.$isSplittable](){return!1}[n.$isThereMoreWidth](){return!1}[n.$appendChild](m){m[j]=this,this[y].push(m),!m[n.$globalData]&&this[n.$globalData]&&(m[n.$globalData]=this[n.$globalData])}[n.$removeChild](m){const I=this[y].indexOf(m);this[y].splice(I,1)}[n.$hasSettableValue](){return this.hasOwnProperty("value")}[n.$setValue](m){}[n.$onText](m){}[n.$finalize](){}[n.$clean](m){delete this[F],this[n.$cleanup]&&(m.clean(this[n.$cleanup]),delete this[n.$cleanup])}[n.$indexOf](m){return this[y].indexOf(m)}[n.$insertAt](m,I){I[j]=this,this[y].splice(m,0,I),!I[n.$globalData]&&this[n.$globalData]&&(I[n.$globalData]=this[n.$globalData])}[n.$isTransparent](){return!this.name}[n.$lastAttribute](){return""}[n.$text](){return this[y].length===0?this[n.$content]:this[y].map(m=>m[n.$text]()).join("")}get[C](){const m=Object.getPrototypeOf(this);if(!m._attributes){const I=m._attributes=new Set;for(const H of Object.getOwnPropertyNames(this)){if(this[H]===null||this[H]instanceof o||this[H]instanceof l)break;I.add(H)}}return(0,g.shadow)(this,C,m._attributes)}[n.$isDescendent](m){let I=this;for(;I;){if(I===m)return!0;I=I[n.$getParent]()}return!1}[n.$getParent](){return this[j]}[n.$getSubformParent](){return this[n.$getParent]()}[n.$getChildren](){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return m?this[m]:this[y]}[n.$dump](){const m=Object.create(null);this[n.$content]&&(m.$content=this[n.$content]);for(const I of Object.getOwnPropertyNames(this)){const H=this[I];H!==null&&(H instanceof o?m[I]=H[n.$dump]():H instanceof l?H.isEmpty()||(m[I]=H.dump()):m[I]=H)}return m}[n.$toStyle](){return null}[n.$toHTML](){return u.HTMLResult.EMPTY}*[n.$getContainedChildren](){for(const m of this[n.$getChildren]())yield m}*[N](m,I){for(const H of this[n.$getContainedChildren]())if(!m||I===m.has(H[n.$nodeName])){const Y=this[n.$getAvailableSpace](),Q=H[n.$toHTML](Y);Q.success||(this[n.$extra].failingNode=H),yield Q}}[n.$flushHTML](){return null}[n.$addHTML](m,I){this[n.$extra].children.push(m)}[n.$getAvailableSpace](){}[n.$childrenToHTML](m){let{filter:I=null,include:H=!0}=m;if(!this[n.$extra].generator)this[n.$extra].generator=this[N](I,H);else{const Y=this[n.$getAvailableSpace](),Q=this[n.$extra].failingNode[n.$toHTML](Y);if(!Q.success)return Q;Q.html&&this[n.$addHTML](Q.html,Q.bbox),delete this[n.$extra].failingNode}for(;;){const Y=this[n.$extra].generator.next();if(Y.done)break;const Q=Y.value;if(!Q.success)return Q;Q.html&&this[n.$addHTML](Q.html,Q.bbox)}return this[n.$extra].generator=null,u.HTMLResult.EMPTY}[n.$setSetAttributes](m){this[T]=new Set(Object.keys(m))}[P](m){const I=this[C],H=this[T];return[...m].filter(Y=>I.has(Y)&&!H.has(Y))}[n.$resolvePrototypes](m){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const H of this[y])H[M](m,I)}[M](m,I){const H=this[v](m,I);H?this[L](H,m,I):this[n.$resolvePrototypes](m,I)}[v](m,I){const{use:H,usehref:Y}=this;if(!H&&!Y)return null;let Q=null,oe=null,ne=null,ce=H;if(Y?(ce=Y,Y.startsWith("#som(")&&Y.endsWith(")")?oe=Y.slice(5,-1):Y.startsWith(".#som(")&&Y.endsWith(")")?oe=Y.slice(6,-1):Y.startsWith("#")?ne=Y.slice(1):Y.startsWith(".#")&&(ne=Y.slice(2))):H.startsWith("#")?ne=H.slice(1):oe=H,this.use=this.usehref="",ne?Q=m.get(ne):(Q=(0,s.searchNode)(m.get(n.$root),this,oe,!0,!1),Q&&(Q=Q[0])),!Q)return(0,g.warn)(`XFA - Invalid prototype reference: ${ce}.`),null;if(Q[n.$nodeName]!==this[n.$nodeName])return(0,g.warn)(`XFA - Incompatible prototype: ${Q[n.$nodeName]} !== ${this[n.$nodeName]}.`),null;if(I.has(Q))return(0,g.warn)("XFA - Cycle detected in prototypes use."),null;I.add(Q);const J=Q[v](m,I);return J&&Q[L](J,m,I),Q[n.$resolvePrototypes](m,I),I.delete(Q),Q}[L](m,I,H){if(H.has(m)){(0,g.warn)("XFA - Cycle detected in prototypes use.");return}!this[n.$content]&&m[n.$content]&&(this[n.$content]=m[n.$content]),new Set(H).add(m);for(const Q of this[P](m[T]))this[Q]=m[Q],this[T]&&this[T].add(Q);for(const Q of Object.getOwnPropertyNames(this)){if(this[C].has(Q))continue;const oe=this[Q],ne=m[Q];if(oe instanceof l){for(const ce of oe[y])ce[M](I,H);for(let ce=oe[y].length,J=ne[y].length;ceo[f](I)):typeof m=="object"&&m!==null?Object.assign({},m):m}[n.$clone](){const m=Object.create(Object.getPrototypeOf(this));for(const I of Object.getOwnPropertySymbols(this))try{m[I]=this[I]}catch{(0,g.shadow)(m,I,this[I])}m[n.$uid]=`${m[n.$nodeName]}${h++}`,m[y]=[];for(const I of Object.getOwnPropertyNames(this)){if(this[C].has(I)){m[I]=o[f](this[I]);continue}const H=this[I];m[I]=H instanceof l?new l(H[B]):null}for(const I of this[y]){const H=I[n.$nodeName],Y=I[n.$clone]();m[y].push(Y),Y[j]=m,m[H]===null?m[H]=Y:m[H][y].push(Y)}return m}[n.$getChildren](){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return m?this[y].filter(I=>I[n.$nodeName]===m):this[y]}[n.$getChildrenByClass](m){return this[m]}[n.$getChildrenByName](m,I){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Array.from(this[n.$getChildrenByNameIt](m,I,H))}[n.$getChildrenByNameIt](m,I){var H=this;let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return function*(){if(m==="parent"){yield H[j];return}for(const Q of H[y])Q[n.$nodeName]===m&&(yield Q),Q.name===m&&(yield Q),(I||Q[n.$isTransparent]())&&(yield*Q[n.$getChildrenByNameIt](m,I,!1));Y&&H[C].has(m)&&(yield new b(H,m,H[m]))}()}}d.XFAObject=o;class l{constructor(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1/0;this[B]=m,this[y]=[]}get isXFAObject(){return!1}get isXFAObjectArray(){return!0}push(m){return this[y].length<=this[B]?(this[y].push(m),!0):((0,g.warn)(`XFA - node "${m[n.$nodeName]}" accepts no more than ${this[B]} children`),!1)}isEmpty(){return this[y].length===0}dump(){return this[y].length===1?this[y][0][n.$dump]():this[y].map(m=>m[n.$dump]())}[n.$clone](){const m=new l(this[B]);return m[y]=this[y].map(I=>I[n.$clone]()),m}get children(){return this[y]}clear(){this[y].length=0}}d.XFAObjectArray=l;class b{constructor(m,I,H){this[j]=m,this[n.$nodeName]=I,this[n.$content]=H,this[n.$consumed]=!1,this[n.$uid]=`attribute${h++}`}[n.$getParent](){return this[j]}[n.$isDataValue](){return!0}[n.$getDataValue](){return this[n.$content].trim()}[n.$setValue](m){m=m.value||"",this[n.$content]=m.toString()}[n.$text](){return this[n.$content]}[n.$isDescendent](m){return this[j]===m||this[j][n.$isDescendent](m)}}d.XFAAttribute=b;class R extends o{constructor(m,I){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(super(m,I),this[n.$content]="",this[x]=null,I!=="#text"){const Y=new Map;this[U]=Y;for(const[Q,oe]of Object.entries(H))Y.set(Q,new b(this,Q,oe));if(H.hasOwnProperty(n.$nsAttributes)){const Q=H[n.$nsAttributes].xfa.dataNode;Q!==void 0&&(Q==="dataGroup"?this[x]=!1:Q==="dataValue"&&(this[x]=!0))}}this[n.$consumed]=!1}[n.$toString](m){const I=this[n.$nodeName];if(I==="#text"){m.push((0,e.encodeToXmlString)(this[n.$content]));return}const H=(0,g.utf8StringToString)(I),Y=this[n.$namespaceId]===E?"xfa:":"";m.push(`<${Y}${H}`);for(const[Q,oe]of this[U].entries()){const ne=(0,g.utf8StringToString)(Q);m.push(` ${ne}="${(0,e.encodeToXmlString)(oe[n.$content])}"`)}if(this[x]!==null&&(this[x]?m.push(' xfa:dataNode="dataValue"'):m.push(' xfa:dataNode="dataGroup"')),!this[n.$content]&&this[y].length===0){m.push("/>");return}if(m.push(">"),this[n.$content])typeof this[n.$content]=="string"?m.push((0,e.encodeToXmlString)(this[n.$content])):this[n.$content][n.$toString](m);else for(const Q of this[y])Q[n.$toString](m);m.push(``)}[n.$onChild](m){if(this[n.$content]){const I=new R(this[n.$namespaceId],"#text");this[n.$appendChild](I),I[n.$content]=this[n.$content],this[n.$content]=""}return this[n.$appendChild](m),!0}[n.$onText](m){this[n.$content]+=m}[n.$finalize](){if(this[n.$content]&&this[y].length>0){const m=new R(this[n.$namespaceId],"#text");this[n.$appendChild](m),m[n.$content]=this[n.$content],delete this[n.$content]}}[n.$toHTML](){return this[n.$nodeName]==="#text"?u.HTMLResult.success({name:"#text",value:this[n.$content]}):u.HTMLResult.EMPTY}[n.$getChildren](){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return m?this[y].filter(I=>I[n.$nodeName]===m):this[y]}[n.$getAttributes](){return this[U]}[n.$getChildrenByClass](m){const I=this[U].get(m);return I!==void 0?I:this[n.$getChildren](m)}*[n.$getChildrenByNameIt](m,I){const H=this[U].get(m);H&&(yield H);for(const Y of this[y])Y[n.$nodeName]===m&&(yield Y),I&&(yield*Y[n.$getChildrenByNameIt](m,I))}*[n.$getAttributeIt](m,I){const H=this[U].get(m);H&&(!I||!H[n.$consumed])&&(yield H);for(const Y of this[y])yield*Y[n.$getAttributeIt](m,I)}*[n.$getRealChildrenByNameIt](m,I,H){for(const Y of this[y])Y[n.$nodeName]===m&&(!H||!Y[n.$consumed])&&(yield Y),I&&(yield*Y[n.$getRealChildrenByNameIt](m,I,H))}[n.$isDataValue](){return this[x]===null?this[y].length===0||this[y][0][n.$namespaceId]===t.NamespaceIds.xhtml.id:this[x]}[n.$getDataValue](){return this[x]===null?this[y].length===0?this[n.$content].trim():this[y][0][n.$namespaceId]===t.NamespaceIds.xhtml.id?this[y][0][n.$text]().trim():null:this[n.$content].trim()}[n.$setValue](m){m=m.value||"",this[n.$content]=m.toString()}[n.$dump](){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const I=Object.create(null);m&&(I.$ns=this[n.$namespaceId]),this[n.$content]&&(I.$content=this[n.$content]),I.$name=this[n.$nodeName],I.children=[];for(const H of this[y])I.children.push(H[n.$dump](m));I.attributes=Object.create(null);for(const[H,Y]of this[U])I.attributes[H]=Y[n.$content];return I}}d.XmlObject=R;class S extends o{constructor(m,I){super(m,I),this[n.$content]=""}[n.$onText](m){this[n.$content]+=m}[n.$finalize](){}}d.ContentObject=S;class p extends S{constructor(m,I,H){super(m,I),this[W]=H}[n.$finalize](){this[n.$content]=(0,u.getKeyword)({data:this[n.$content],defaultValue:this[W][0],validate:m=>this[W].includes(m)})}[n.$clean](m){super[n.$clean](m),delete this[W]}}d.OptionObject=p;class G extends S{[n.$finalize](){this[n.$content]=this[n.$content].trim()}}d.StringObject=G;class $ extends S{constructor(m,I,H,Y){super(m,I),this[a]=H,this[c]=Y}[n.$finalize](){this[n.$content]=(0,u.getInteger)({data:this[n.$content],defaultValue:this[a],validate:this[c]})}[n.$clean](m){super[n.$clean](m),delete this[a],delete this[c]}}d.IntegerObject=$;class A extends ${constructor(m,I){super(m,I,0,H=>H===1)}}d.Option01=A;class D extends ${constructor(m,I){super(m,I,1,H=>H===0)}}d.Option10=D},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.createDataNode=f,d.searchNode=y,i(140);var n=i(229),u=i(145);const g=/^[^.[]+/,e=/^[^\]]+/,t={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},s=new Map([["$data",(x,a)=>x.datasets?x.datasets.data:x],["$record",(x,a)=>(x.datasets?x.datasets.data:x)[n.$getChildren]()[0]],["$template",(x,a)=>x.template],["$connectionSet",(x,a)=>x.connectionSet],["$form",(x,a)=>x.form],["$layout",(x,a)=>x.layout],["$host",(x,a)=>x.host],["$dataWindow",(x,a)=>x.dataWindow],["$event",(x,a)=>x.event],["!",(x,a)=>x.datasets],["$xfa",(x,a)=>x],["xfa",(x,a)=>x],["$",(x,a)=>a]]),L=new WeakMap;function U(x){return x=x.trim(),x==="*"?1/0:parseInt(x,10)||0}function C(x,a){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,v=x.match(g);if(!v)return null;let[P]=v;const F=[{name:P,cacheName:"."+P,index:0,js:null,formCalc:null,operator:t.dot}];let B=P.length;for(;B3&&arguments[3]!==void 0?arguments[3]:!0,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;const F=C(N,v);if(!F)return null;const B=s.get(F[0].name);let W=0,j;B?(j=!0,x=[B(x,a)],W=1):(j=a===null,x=[a||x]);for(let M=F.length;W0&&o.push(b)}if(o.length===0&&!j&&W===0){if(a=a[n.$getParent](),!a)return null;W=-1,x=[a];continue}x=isFinite(E)?o.filter(l=>El[E]):o.flat()}return x.length===0?null:x}function f(x,a,N){const v=C(N);if(!v||v.some(B=>B.operator===t.dotDot))return null;const P=s.get(v[0].name);let F=0;P?(x=P(x,a),F=1):x=a||x;for(let B=v.length;F{Object.defineProperty(d,"__esModule",{value:!0}),d.DataHandler=void 0,i(140);var n=i(229);class u{constructor(e,t){this.data=t,this.dataset=e.datasets||null}serialize(e){const t=[[-1,this.data[n.$getChildren]()]];for(;t.length>0;){const L=t.at(-1),[U,C]=L;if(U+1===C.length){t.pop();continue}const y=C[++L[0]],f=e.get(y[n.$uid]);if(f)y[n.$setValue](f);else{const a=y[n.$getAttributes]();for(const N of a.values()){const v=e.get(N[n.$uid]);if(v){N[n.$setValue](v);break}}}const x=y[n.$getChildren]();x.length>0&&t.push([-1,x])}const s=[''];if(this.dataset)for(const L of this.dataset[n.$getChildren]())L[n.$nodeName]!=="data"&&L[n.$toString](s);return this.data[n.$toString](s),s.push(""),s.join("")}}d.DataHandler=u},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.XFAParser=void 0,i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(140);var n=i(229),u=i(222),g=i(245),e=i(145);class t extends u.XMLParserBase{constructor(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super(),this._builder=new g.Builder(L),this._stack=[],this._globalData={usedTypefaces:new Set},this._ids=new Map,this._current=this._builder.buildRoot(this._ids),this._errorCode=u.XMLParserErrorCode.NoError,this._whiteRegex=/^\s+$/,this._nbsps=/\xa0+/g,this._richText=U}parse(L){if(this.parseXml(L),this._errorCode===u.XMLParserErrorCode.NoError)return this._current[n.$finalize](),this._current.element}onText(L){if(L=L.replace(this._nbsps,U=>U.slice(1)+" "),this._richText||this._current[n.$acceptWhitespace]()){this._current[n.$onText](L,this._richText);return}this._whiteRegex.test(L)||this._current[n.$onText](L.trim())}onCdata(L){this._current[n.$onText](L)}_mkAttributes(L,U){let C=null,y=null;const f=Object.create({});for(const{name:x,value:a}of L)if(x==="xmlns")C?(0,e.warn)(`XFA - multiple namespace definition in <${U}>`):C=a;else if(x.startsWith("xmlns:")){const N=x.substring(6);y||(y=[]),y.push({prefix:N,value:a})}else{const N=x.indexOf(":");if(N===-1)f[x]=a;else{let v=f[n.$nsAttributes];v||(v=f[n.$nsAttributes]=Object.create(null));const[P,F]=[x.slice(0,N),x.slice(N+1)],B=v[P]||(v[P]=Object.create(null));B[F]=a}}return[C,y,f]}_getNameAndPrefix(L,U){const C=L.indexOf(":");return C===-1?[L,null]:[L.substring(C+1),U?"":L.substring(0,C)]}onBeginElement(L,U,C){const[y,f,x]=this._mkAttributes(U,L),[a,N]=this._getNameAndPrefix(L,this._builder.isNsAgnostic()),v=this._builder.build({nsPrefix:N,name:a,attributes:x,namespace:y,prefixes:f});if(v[n.$globalData]=this._globalData,C){v[n.$finalize](),this._current[n.$onChild](v)&&v[n.$setId](this._ids),v[n.$clean](this._builder);return}this._stack.push(this._current),this._current=v}onEndElement(L){const U=this._current;if(U[n.$isCDATAXml]()&&typeof U[n.$content]=="string"){const C=new t;C._globalData=this._globalData;const y=C.parse(U[n.$content]);U[n.$content]=null,U[n.$onChild](y)}U[n.$finalize](),this._current=this._stack.pop(),this._current[n.$onChild](U)&&U[n.$setId](this._ids),U[n.$clean](this._builder)}onError(L){this._errorCode=L}}d.XFAParser=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.Builder=void 0,i(140);var n=i(235),u=i(229),g=i(246),e=i(231),t=i(255),s=i(145),L=i(241);class U extends L.XFAObject{constructor(x){super(-1,"root",Object.create(null)),this.element=null,this[u.$ids]=x}[u.$onChild](x){return this.element=x,!0}[u.$finalize](){super[u.$finalize](),this.element.template instanceof e.Template&&(this[u.$ids].set(u.$root,this.element),this.element.template[u.$resolvePrototypes](this[u.$ids]),this.element.template[u.$ids]=this[u.$ids])}}class C extends L.XFAObject{constructor(){super(-1,"",Object.create(null))}[u.$onChild](x){return!1}}class y{constructor(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max(...Object.values(n.NamespaceIds).map(a=>{let{id:N}=a;return N})),this._currentNamespace=x||new t.UnknownNamespace(++this._nextNsId)}buildRoot(x){return new U(x)}build(x){let{nsPrefix:a,name:N,attributes:v,namespace:P,prefixes:F}=x;const B=P!==null;if(B&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(P)),F&&this._addNamespacePrefix(F),v.hasOwnProperty(u.$nsAttributes)){const M=g.NamespaceSetUp.datasets,T=v[u.$nsAttributes];let c=null;for(const[h,E]of Object.entries(T))if(this._getNamespaceToUse(h)===M){c={xfa:E};break}c?v[u.$nsAttributes]=c:delete v[u.$nsAttributes]}const W=this._getNamespaceToUse(a),j=(W==null?void 0:W[n.$buildXFAObject](N,v))||new C;return j[u.$isNsAgnostic]()&&this._nsAgnosticLevel++,(B||F||j[u.$isNsAgnostic]())&&(j[u.$cleanup]={hasNamespace:B,prefixes:F,nsAgnostic:j[u.$isNsAgnostic]()}),j}isNsAgnostic(){return this._nsAgnosticLevel>0}_searchNamespace(x){let a=this._namespaces.get(x);if(a)return a;for(const[N,{check:v}]of Object.entries(n.NamespaceIds))if(v(x)){if(a=g.NamespaceSetUp[N],a)return this._namespaces.set(x,a),a;break}return a=new t.UnknownNamespace(++this._nextNsId),this._namespaces.set(x,a),a}_addNamespacePrefix(x){for(const{prefix:a,value:N}of x){const v=this._searchNamespace(N);let P=this._namespacePrefixes.get(a);P||(P=[],this._namespacePrefixes.set(a,P)),P.push(v)}}_getNamespaceToUse(x){if(!x)return this._currentNamespace;const a=this._namespacePrefixes.get(x);return(a==null?void 0:a.length)>0?a.at(-1):((0,s.warn)(`Unknown namespace prefix: ${x}.`),null)}clean(x){const{hasNamespace:a,prefixes:N,nsAgnostic:v}=x;a&&(this._currentNamespace=this._namespaceStack.pop()),N&&N.forEach(P=>{let{prefix:F}=P;this._namespacePrefixes.get(F).pop()}),v&&this._nsAgnosticLevel--}}d.Builder=y},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.NamespaceSetUp=void 0;var n=i(247),u=i(248),g=i(249),e=i(250),t=i(251),s=i(252),L=i(231),U=i(253),C=i(254);const y={config:n.ConfigNamespace,connection:u.ConnectionSetNamespace,datasets:g.DatasetsNamespace,localeSet:e.LocaleSetNamespace,signature:t.SignatureNamespace,stylesheet:s.StylesheetNamespace,template:L.TemplateNamespace,xdp:U.XdpNamespace,xhtml:C.XhtmlNamespace};d.NamespaceSetUp=y},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.ConfigNamespace=void 0,i(140);var n=i(235),u=i(229),g=i(241),e=i(238),t=i(145);const s=n.NamespaceIds.config.id;class L extends g.XFAObject{constructor(X){super(s,"acrobat",!0),this.acrobat7=null,this.autoSave=null,this.common=null,this.validate=null,this.validateApprovalSignatures=null,this.submitUrl=new g.XFAObjectArray}}class U extends g.XFAObject{constructor(X){super(s,"acrobat7",!0),this.dynamicRender=null}}class C extends g.OptionObject{constructor(X){super(s,"ADBE_JSConsole",["delegate","Enable","Disable"])}}class y extends g.OptionObject{constructor(X){super(s,"ADBE_JSDebugger",["delegate","Enable","Disable"])}}class f extends g.Option01{constructor(X){super(s,"addSilentPrint")}}class x extends g.Option01{constructor(X){super(s,"addViewerPreferences")}}class a extends g.Option10{constructor(X){super(s,"adjustData")}}class N extends g.IntegerObject{constructor(X){super(s,"adobeExtensionLevel",0,ve=>ve>=1&&ve<=8)}}class v extends g.XFAObject{constructor(X){super(s,"agent",!0),this.name=X.name?X.name.trim():"",this.common=new g.XFAObjectArray}}class P extends g.ContentObject{constructor(X){super(s,"alwaysEmbed")}}class F extends g.StringObject{constructor(X){super(s,"amd")}}class B extends g.XFAObject{constructor(X){super(s,"area"),this.level=(0,e.getInteger)({data:X.level,defaultValue:0,validate:ve=>ve>=1&&ve<=3}),this.name=(0,e.getStringOption)(X.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"])}}class W extends g.OptionObject{constructor(X){super(s,"attributes",["preserve","delegate","ignore"])}}class j extends g.OptionObject{constructor(X){super(s,"autoSave",["disabled","enabled"])}}class M extends g.StringObject{constructor(X){super(s,"base")}}class T extends g.XFAObject{constructor(X){super(s,"batchOutput"),this.format=(0,e.getStringOption)(X.format,["none","concat","zip","zipCompress"])}}class c extends g.ContentObject{constructor(X){super(s,"behaviorOverride")}[u.$finalize](){this[u.$content]=new Map(this[u.$content].trim().split(/\s+/).filter(X=>X.includes(":")).map(X=>X.split(":",2)))}}class h extends g.XFAObject{constructor(X){super(s,"cache",!0),this.templateCache=null}}class E extends g.Option01{constructor(X){super(s,"change")}}class o extends g.XFAObject{constructor(X){super(s,"common",!0),this.data=null,this.locale=null,this.localeSet=null,this.messaging=null,this.suppressBanner=null,this.template=null,this.validationMessaging=null,this.versionControl=null,this.log=new g.XFAObjectArray}}class l extends g.XFAObject{constructor(X){super(s,"compress"),this.scope=(0,e.getStringOption)(X.scope,["imageOnly","document"])}}class b extends g.Option01{constructor(X){super(s,"compressLogicalStructure")}}class R extends g.Option10{constructor(X){super(s,"compressObjectStream")}}class S extends g.XFAObject{constructor(X){super(s,"compression",!0),this.compressLogicalStructure=null,this.compressObjectStream=null,this.level=null,this.type=null}}class p extends g.XFAObject{constructor(X){super(s,"config",!0),this.acrobat=null,this.present=null,this.trace=null,this.agent=new g.XFAObjectArray}}class G extends g.OptionObject{constructor(X){super(s,"conformance",["A","B"])}}class $ extends g.Option01{constructor(X){super(s,"contentCopy")}}class A extends g.IntegerObject{constructor(X){super(s,"copies",1,ve=>ve>=1)}}class D extends g.StringObject{constructor(X){super(s,"creator")}}class w extends g.IntegerObject{constructor(X){super(s,"currentPage",0,ve=>ve>=0)}}class m extends g.XFAObject{constructor(X){super(s,"data",!0),this.adjustData=null,this.attributes=null,this.incrementalLoad=null,this.outputXSL=null,this.range=null,this.record=null,this.startNode=null,this.uri=null,this.window=null,this.xsl=null,this.excludeNS=new g.XFAObjectArray,this.transform=new g.XFAObjectArray}}class I extends g.XFAObject{constructor(X){super(s,"debug",!0),this.uri=null}}class H extends g.ContentObject{constructor(X){super(s,"defaultTypeface"),this.writingScript=(0,e.getStringOption)(X.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"])}}class Y extends g.OptionObject{constructor(X){super(s,"destination",["pdf","pcl","ps","webClient","zpl"])}}class Q extends g.Option01{constructor(X){super(s,"documentAssembly")}}class oe extends g.XFAObject{constructor(X){super(s,"driver",!0),this.name=X.name?X.name.trim():"",this.fontInfo=null,this.xdc=null}}class ne extends g.OptionObject{constructor(X){super(s,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}}class ce extends g.OptionObject{constructor(X){super(s,"dynamicRender",["forbidden","required"])}}class J extends g.Option01{constructor(X){super(s,"embed")}}class _ extends g.Option01{constructor(X){super(s,"encrypt")}}class k extends g.XFAObject{constructor(X){super(s,"encryption",!0),this.encrypt=null,this.encryptionLevel=null,this.permissions=null}}class O extends g.OptionObject{constructor(X){super(s,"encryptionLevel",["40bit","128bit"])}}class V extends g.StringObject{constructor(X){super(s,"enforce")}}class K extends g.XFAObject{constructor(X){super(s,"equate"),this.force=(0,e.getInteger)({data:X.force,defaultValue:1,validate:ve=>ve===0}),this.from=X.from||"",this.to=X.to||""}}class te extends g.XFAObject{constructor(X){super(s,"equateRange"),this.from=X.from||"",this.to=X.to||"",this._unicodeRange=X.unicodeRange||""}get unicodeRange(){const X=[],ve=/U\+([0-9a-fA-F]+)/,Ie=this._unicodeRange;for(let Pe of Ie.split(",").map(Ue=>Ue.trim()).filter(Ue=>!!Ue))Pe=Pe.split("-",2).map(Ue=>{const Ze=Ue.match(ve);return Ze?parseInt(Ze[1],16):0}),Pe.length===1&&Pe.push(Pe[0]),X.push(Pe);return(0,t.shadow)(this,"unicodeRange",X)}}class re extends g.ContentObject{constructor(X){super(s,"exclude")}[u.$finalize](){this[u.$content]=this[u.$content].trim().split(/\s+/).filter(X=>X&&["calculate","close","enter","exit","initialize","ready","validate"].includes(X))}}class ie extends g.StringObject{constructor(X){super(s,"excludeNS")}}class Z extends g.OptionObject{constructor(X){super(s,"flipLabel",["usePrinterSetting","on","off"])}}class ee extends g.XFAObject{constructor(X){super(s,"fontInfo",!0),this.embed=null,this.map=null,this.subsetBelow=null,this.alwaysEmbed=new g.XFAObjectArray,this.defaultTypeface=new g.XFAObjectArray,this.neverEmbed=new g.XFAObjectArray}}class q extends g.Option01{constructor(X){super(s,"formFieldFilling")}}class z extends g.StringObject{constructor(X){super(s,"groupParent")}}class ae extends g.OptionObject{constructor(X){super(s,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}}class se extends g.StringObject{constructor(X){super(s,"includeXDPContent")}}class le extends g.OptionObject{constructor(X){super(s,"incrementalLoad",["none","forwardOnly"])}}class ue extends g.Option01{constructor(X){super(s,"incrementalMerge")}}class fe extends g.Option01{constructor(X){super(s,"interactive")}}class ge extends g.OptionObject{constructor(X){super(s,"jog",["usePrinterSetting","none","pageSet"])}}class me extends g.XFAObject{constructor(X){super(s,"labelPrinter",!0),this.name=(0,e.getStringOption)(X.name,["zpl","dpl","ipl","tcpl"]),this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class be extends g.OptionObject{constructor(X){super(s,"layout",["paginate","panel"])}}class ye extends g.IntegerObject{constructor(X){super(s,"level",0,ve=>ve>0)}}class Se extends g.Option01{constructor(X){super(s,"linearized")}}class Ae extends g.StringObject{constructor(X){super(s,"locale")}}class Fe extends g.StringObject{constructor(X){super(s,"localeSet")}}class xe extends g.XFAObject{constructor(X){super(s,"log",!0),this.mode=null,this.threshold=null,this.to=null,this.uri=null}}class de extends g.XFAObject{constructor(X){super(s,"map",!0),this.equate=new g.XFAObjectArray,this.equateRange=new g.XFAObjectArray}}class pe extends g.XFAObject{constructor(X){super(s,"mediumInfo",!0),this.map=null}}class Ce extends g.XFAObject{constructor(X){super(s,"message",!0),this.msgId=null,this.severity=null}}class we extends g.XFAObject{constructor(X){super(s,"messaging",!0),this.message=new g.XFAObjectArray}}class $e extends g.OptionObject{constructor(X){super(s,"mode",["append","overwrite"])}}class ze extends g.Option01{constructor(X){super(s,"modifyAnnots")}}class Ee extends g.IntegerObject{constructor(X){super(s,"msgId",1,ve=>ve>=1)}}class tt extends g.StringObject{constructor(X){super(s,"nameAttr")}}class nt extends g.ContentObject{constructor(X){super(s,"neverEmbed")}}class We extends g.IntegerObject{constructor(X){super(s,"numberOfCopies",null,ve=>ve>=2&&ve<=5)}}class Le extends g.XFAObject{constructor(X){super(s,"openAction",!0),this.destination=null}}class Qe extends g.XFAObject{constructor(X){super(s,"output",!0),this.to=null,this.type=null,this.uri=null}}class gt extends g.StringObject{constructor(X){super(s,"outputBin")}}class De extends g.XFAObject{constructor(X){super(s,"outputXSL",!0),this.uri=null}}class St extends g.OptionObject{constructor(X){super(s,"overprint",["none","both","draw","field"])}}class rt extends g.StringObject{constructor(X){super(s,"packets")}[u.$finalize](){this[u.$content]!=="*"&&(this[u.$content]=this[u.$content].trim().split(/\s+/).filter(X=>["config","datasets","template","xfdf","xslt"].includes(X)))}}class At extends g.XFAObject{constructor(X){super(s,"pageOffset"),this.x=(0,e.getInteger)({data:X.x,defaultValue:"useXDCSetting",validate:ve=>!0}),this.y=(0,e.getInteger)({data:X.y,defaultValue:"useXDCSetting",validate:ve=>!0})}}class Ot extends g.StringObject{constructor(X){super(s,"pageRange")}[u.$finalize](){const X=this[u.$content].trim().split(/\s+/).map(Ie=>parseInt(Ie,10)),ve=[];for(let Ie=0,Pe=X.length;Ie!1)}}class mt extends g.XFAObject{constructor(X){super(s,"pcl",!0),this.name=X.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.pageOffset=null,this.staple=null,this.xdc=null}}class kt extends g.XFAObject{constructor(X){super(s,"pdf",!0),this.name=X.name||"",this.adobeExtensionLevel=null,this.batchOutput=null,this.compression=null,this.creator=null,this.encryption=null,this.fontInfo=null,this.interactive=null,this.linearized=null,this.openAction=null,this.pdfa=null,this.producer=null,this.renderPolicy=null,this.scriptModel=null,this.silentPrint=null,this.submitFormat=null,this.tagged=null,this.version=null,this.viewerPreferences=null,this.xdc=null}}class It extends g.XFAObject{constructor(X){super(s,"pdfa",!0),this.amd=null,this.conformance=null,this.includeXDPContent=null,this.part=null}}class at extends g.XFAObject{constructor(X){super(s,"permissions",!0),this.accessibleContent=null,this.change=null,this.contentCopy=null,this.documentAssembly=null,this.formFieldFilling=null,this.modifyAnnots=null,this.plaintextMetadata=null,this.print=null,this.printHighQuality=null}}class Nt extends g.Option01{constructor(X){super(s,"pickTrayByPDFSize")}}class Me extends g.StringObject{constructor(X){super(s,"picture")}}class Oe extends g.Option01{constructor(X){super(s,"plaintextMetadata")}}class Re extends g.OptionObject{constructor(X){super(s,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}}class Ne extends g.XFAObject{constructor(X){super(s,"present",!0),this.behaviorOverride=null,this.cache=null,this.common=null,this.copies=null,this.destination=null,this.incrementalMerge=null,this.layout=null,this.output=null,this.overprint=null,this.pagination=null,this.paginationOverride=null,this.script=null,this.validate=null,this.xdp=null,this.driver=new g.XFAObjectArray,this.labelPrinter=new g.XFAObjectArray,this.pcl=new g.XFAObjectArray,this.pdf=new g.XFAObjectArray,this.ps=new g.XFAObjectArray,this.submitUrl=new g.XFAObjectArray,this.webClient=new g.XFAObjectArray,this.zpl=new g.XFAObjectArray}}class Be extends g.Option01{constructor(X){super(s,"print")}}class je extends g.Option01{constructor(X){super(s,"printHighQuality")}}class Xe extends g.OptionObject{constructor(X){super(s,"printScaling",["appdefault","noScaling"])}}class Te extends g.StringObject{constructor(X){super(s,"printerName")}}class it extends g.StringObject{constructor(X){super(s,"producer")}}class Je extends g.XFAObject{constructor(X){super(s,"ps",!0),this.name=X.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.staple=null,this.xdc=null}}class xt extends g.ContentObject{constructor(X){super(s,"range")}[u.$finalize](){this[u.$content]=this[u.$content].trim().split(/\s*,\s*/,2).map(X=>X.split("-").map(ve=>parseInt(ve.trim(),10))).filter(X=>X.every(ve=>!isNaN(ve))).map(X=>(X.length===1&&X.push(X[0]),X))}}class qe extends g.ContentObject{constructor(X){super(s,"record")}[u.$finalize](){this[u.$content]=this[u.$content].trim();const X=parseInt(this[u.$content],10);!isNaN(X)&&X>=0&&(this[u.$content]=X)}}class st extends g.ContentObject{constructor(X){super(s,"relevant")}[u.$finalize](){this[u.$content]=this[u.$content].trim().split(/\s+/)}}class ut extends g.ContentObject{constructor(X){super(s,"rename")}[u.$finalize](){this[u.$content]=this[u.$content].trim(),(this[u.$content].toLowerCase().startsWith("xml")||new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u").test(this[u.$content]))&&(0,t.warn)("XFA - Rename: invalid XFA name")}}class Ke extends g.OptionObject{constructor(X){super(s,"renderPolicy",["server","client"])}}class ot extends g.OptionObject{constructor(X){super(s,"runScripts",["both","client","none","server"])}}class He extends g.XFAObject{constructor(X){super(s,"script",!0),this.currentPage=null,this.exclude=null,this.runScripts=null}}class ft extends g.OptionObject{constructor(X){super(s,"scriptModel",["XFA","none"])}}class bt extends g.OptionObject{constructor(X){super(s,"severity",["ignore","error","information","trace","warning"])}}class $t extends g.XFAObject{constructor(X){super(s,"silentPrint",!0),this.addSilentPrint=null,this.printerName=null}}class lt extends g.XFAObject{constructor(X){super(s,"staple"),this.mode=(0,e.getStringOption)(X.mode,["usePrinterSetting","on","off"])}}class ht extends g.StringObject{constructor(X){super(s,"startNode")}}class Ct extends g.IntegerObject{constructor(X){super(s,"startPage",0,ve=>!0)}}class Mt extends g.OptionObject{constructor(X){super(s,"submitFormat",["html","delegate","fdf","xml","pdf"])}}class jt extends g.StringObject{constructor(X){super(s,"submitUrl")}}class Zt extends g.IntegerObject{constructor(X){super(s,"subsetBelow",100,ve=>ve>=0&&ve<=100)}}class wn extends g.Option01{constructor(X){super(s,"suppressBanner")}}class vn extends g.Option01{constructor(X){super(s,"tagged")}}class An extends g.XFAObject{constructor(X){super(s,"template",!0),this.base=null,this.relevant=null,this.startPage=null,this.uri=null,this.xsl=null}}class kn extends g.OptionObject{constructor(X){super(s,"threshold",["trace","error","information","warning"])}}class Cn extends g.OptionObject{constructor(X){super(s,"to",["null","memory","stderr","stdout","system","uri"])}}class hn extends g.XFAObject{constructor(X){super(s,"templateCache"),this.maxEntries=(0,e.getInteger)({data:X.maxEntries,defaultValue:5,validate:ve=>ve>=0})}}class an extends g.XFAObject{constructor(X){super(s,"trace",!0),this.area=new g.XFAObjectArray}}class Fn extends g.XFAObject{constructor(X){super(s,"transform",!0),this.groupParent=null,this.ifEmpty=null,this.nameAttr=null,this.picture=null,this.presence=null,this.rename=null,this.whitespace=null}}class In extends g.OptionObject{constructor(X){super(s,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}}class On extends g.StringObject{constructor(X){super(s,"uri")}}class rn extends g.OptionObject{constructor(X){super(s,"validate",["preSubmit","prePrint","preExecute","preSave"])}}class un extends g.ContentObject{constructor(X){super(s,"validateApprovalSignatures")}[u.$finalize](){this[u.$content]=this[u.$content].trim().split(/\s+/).filter(X=>["docReady","postSign"].includes(X))}}class fn extends g.OptionObject{constructor(X){super(s,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}}class Tn extends g.OptionObject{constructor(X){super(s,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}}class En extends g.XFAObject{constructor(X){super(s,"VersionControl"),this.outputBelow=(0,e.getStringOption)(X.outputBelow,["warn","error","update"]),this.sourceAbove=(0,e.getStringOption)(X.sourceAbove,["warn","error"]),this.sourceBelow=(0,e.getStringOption)(X.sourceBelow,["update","maintain"])}}class Mn extends g.XFAObject{constructor(X){super(s,"viewerPreferences",!0),this.ADBE_JSConsole=null,this.ADBE_JSDebugger=null,this.addViewerPreferences=null,this.duplexOption=null,this.enforce=null,this.numberOfCopies=null,this.pageRange=null,this.pickTrayByPDFSize=null,this.printScaling=null}}class Pn extends g.XFAObject{constructor(X){super(s,"webClient",!0),this.name=X.name?X.name.trim():"",this.fontInfo=null,this.xdc=null}}class Rn extends g.OptionObject{constructor(X){super(s,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}}class sn extends g.ContentObject{constructor(X){super(s,"window")}[u.$finalize](){const X=this[u.$content].trim().split(/\s*,\s*/,2).map(ve=>parseInt(ve,10));if(X.some(ve=>isNaN(ve))){this[u.$content]=[0,0];return}X.length===1&&X.push(X[0]),this[u.$content]=X}}class Dn extends g.XFAObject{constructor(X){super(s,"xdc",!0),this.uri=new g.XFAObjectArray,this.xsl=new g.XFAObjectArray}}class Qt extends g.XFAObject{constructor(X){super(s,"xdp",!0),this.packets=null}}class Nn extends g.XFAObject{constructor(X){super(s,"xsl",!0),this.debug=null,this.uri=null}}class qt extends g.XFAObject{constructor(X){super(s,"zpl",!0),this.name=X.name?X.name.trim():"",this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class ke{static[n.$buildXFAObject](X,ve){if(ke.hasOwnProperty(X))return ke[X](ve)}static acrobat(X){return new L(X)}static acrobat7(X){return new U(X)}static ADBE_JSConsole(X){return new C(X)}static ADBE_JSDebugger(X){return new y(X)}static addSilentPrint(X){return new f(X)}static addViewerPreferences(X){return new x(X)}static adjustData(X){return new a(X)}static adobeExtensionLevel(X){return new N(X)}static agent(X){return new v(X)}static alwaysEmbed(X){return new P(X)}static amd(X){return new F(X)}static area(X){return new B(X)}static attributes(X){return new W(X)}static autoSave(X){return new j(X)}static base(X){return new M(X)}static batchOutput(X){return new T(X)}static behaviorOverride(X){return new c(X)}static cache(X){return new h(X)}static change(X){return new E(X)}static common(X){return new o(X)}static compress(X){return new l(X)}static compressLogicalStructure(X){return new b(X)}static compressObjectStream(X){return new R(X)}static compression(X){return new S(X)}static config(X){return new p(X)}static conformance(X){return new G(X)}static contentCopy(X){return new $(X)}static copies(X){return new A(X)}static creator(X){return new D(X)}static currentPage(X){return new w(X)}static data(X){return new m(X)}static debug(X){return new I(X)}static defaultTypeface(X){return new H(X)}static destination(X){return new Y(X)}static documentAssembly(X){return new Q(X)}static driver(X){return new oe(X)}static duplexOption(X){return new ne(X)}static dynamicRender(X){return new ce(X)}static embed(X){return new J(X)}static encrypt(X){return new _(X)}static encryption(X){return new k(X)}static encryptionLevel(X){return new O(X)}static enforce(X){return new V(X)}static equate(X){return new K(X)}static equateRange(X){return new te(X)}static exclude(X){return new re(X)}static excludeNS(X){return new ie(X)}static flipLabel(X){return new Z(X)}static fontInfo(X){return new ee(X)}static formFieldFilling(X){return new q(X)}static groupParent(X){return new z(X)}static ifEmpty(X){return new ae(X)}static includeXDPContent(X){return new se(X)}static incrementalLoad(X){return new le(X)}static incrementalMerge(X){return new ue(X)}static interactive(X){return new fe(X)}static jog(X){return new ge(X)}static labelPrinter(X){return new me(X)}static layout(X){return new be(X)}static level(X){return new ye(X)}static linearized(X){return new Se(X)}static locale(X){return new Ae(X)}static localeSet(X){return new Fe(X)}static log(X){return new xe(X)}static map(X){return new de(X)}static mediumInfo(X){return new pe(X)}static message(X){return new Ce(X)}static messaging(X){return new we(X)}static mode(X){return new $e(X)}static modifyAnnots(X){return new ze(X)}static msgId(X){return new Ee(X)}static nameAttr(X){return new tt(X)}static neverEmbed(X){return new nt(X)}static numberOfCopies(X){return new We(X)}static openAction(X){return new Le(X)}static output(X){return new Qe(X)}static outputBin(X){return new gt(X)}static outputXSL(X){return new De(X)}static overprint(X){return new St(X)}static packets(X){return new rt(X)}static pageOffset(X){return new At(X)}static pageRange(X){return new Ot(X)}static pagination(X){return new Ve(X)}static paginationOverride(X){return new Ge(X)}static part(X){return new Ye(X)}static pcl(X){return new mt(X)}static pdf(X){return new kt(X)}static pdfa(X){return new It(X)}static permissions(X){return new at(X)}static pickTrayByPDFSize(X){return new Nt(X)}static picture(X){return new Me(X)}static plaintextMetadata(X){return new Oe(X)}static presence(X){return new Re(X)}static present(X){return new Ne(X)}static print(X){return new Be(X)}static printHighQuality(X){return new je(X)}static printScaling(X){return new Xe(X)}static printerName(X){return new Te(X)}static producer(X){return new it(X)}static ps(X){return new Je(X)}static range(X){return new xt(X)}static record(X){return new qe(X)}static relevant(X){return new st(X)}static rename(X){return new ut(X)}static renderPolicy(X){return new Ke(X)}static runScripts(X){return new ot(X)}static script(X){return new He(X)}static scriptModel(X){return new ft(X)}static severity(X){return new bt(X)}static silentPrint(X){return new $t(X)}static staple(X){return new lt(X)}static startNode(X){return new ht(X)}static startPage(X){return new Ct(X)}static submitFormat(X){return new Mt(X)}static submitUrl(X){return new jt(X)}static subsetBelow(X){return new Zt(X)}static suppressBanner(X){return new wn(X)}static tagged(X){return new vn(X)}static template(X){return new An(X)}static templateCache(X){return new hn(X)}static threshold(X){return new kn(X)}static to(X){return new Cn(X)}static trace(X){return new an(X)}static transform(X){return new Fn(X)}static type(X){return new In(X)}static uri(X){return new On(X)}static validate(X){return new rn(X)}static validateApprovalSignatures(X){return new un(X)}static validationMessaging(X){return new fn(X)}static version(X){return new Tn(X)}static versionControl(X){return new En(X)}static viewerPreferences(X){return new Mn(X)}static webClient(X){return new Pn(X)}static whitespace(X){return new Rn(X)}static window(X){return new sn(X)}static xdc(X){return new Dn(X)}static xdp(X){return new Qt(X)}static xsl(X){return new Nn(X)}static zpl(X){return new qt(X)}}d.ConfigNamespace=ke},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.ConnectionSetNamespace=void 0;var n=i(235),u=i(241);const g=n.NamespaceIds.connectionSet.id;class e extends u.XFAObject{constructor(B){super(g,"connectionSet",!0),this.wsdlConnection=new u.XFAObjectArray,this.xmlConnection=new u.XFAObjectArray,this.xsdConnection=new u.XFAObjectArray}}class t extends u.XFAObject{constructor(B){super(g,"effectiveInputPolicy"),this.id=B.id||"",this.name=B.name||"",this.use=B.use||"",this.usehref=B.usehref||""}}class s extends u.XFAObject{constructor(B){super(g,"effectiveOutputPolicy"),this.id=B.id||"",this.name=B.name||"",this.use=B.use||"",this.usehref=B.usehref||""}}class L extends u.StringObject{constructor(B){super(g,"operation"),this.id=B.id||"",this.input=B.input||"",this.name=B.name||"",this.output=B.output||"",this.use=B.use||"",this.usehref=B.usehref||""}}class U extends u.StringObject{constructor(B){super(g,"rootElement"),this.id=B.id||"",this.name=B.name||"",this.use=B.use||"",this.usehref=B.usehref||""}}class C extends u.StringObject{constructor(B){super(g,"soapAction"),this.id=B.id||"",this.name=B.name||"",this.use=B.use||"",this.usehref=B.usehref||""}}class y extends u.StringObject{constructor(B){super(g,"soapAddress"),this.id=B.id||"",this.name=B.name||"",this.use=B.use||"",this.usehref=B.usehref||""}}class f extends u.StringObject{constructor(B){super(g,"uri"),this.id=B.id||"",this.name=B.name||"",this.use=B.use||"",this.usehref=B.usehref||""}}class x extends u.StringObject{constructor(B){super(g,"wsdlAddress"),this.id=B.id||"",this.name=B.name||"",this.use=B.use||"",this.usehref=B.usehref||""}}class a extends u.XFAObject{constructor(B){super(g,"wsdlConnection",!0),this.dataDescription=B.dataDescription||"",this.name=B.name||"",this.effectiveInputPolicy=null,this.effectiveOutputPolicy=null,this.operation=null,this.soapAction=null,this.soapAddress=null,this.wsdlAddress=null}}class N extends u.XFAObject{constructor(B){super(g,"xmlConnection",!0),this.dataDescription=B.dataDescription||"",this.name=B.name||"",this.uri=null}}class v extends u.XFAObject{constructor(B){super(g,"xsdConnection",!0),this.dataDescription=B.dataDescription||"",this.name=B.name||"",this.rootElement=null,this.uri=null}}class P{static[n.$buildXFAObject](B,W){if(P.hasOwnProperty(B))return P[B](W)}static connectionSet(B){return new e(B)}static effectiveInputPolicy(B){return new t(B)}static effectiveOutputPolicy(B){return new s(B)}static operation(B){return new L(B)}static rootElement(B){return new U(B)}static soapAction(B){return new C(B)}static soapAddress(B){return new y(B)}static uri(B){return new f(B)}static wsdlAddress(B){return new x(B)}static wsdlConnection(B){return new a(B)}static xmlConnection(B){return new N(B)}static xsdConnection(B){return new v(B)}}d.ConnectionSetNamespace=P},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.DatasetsNamespace=void 0;var n=i(229),u=i(235),g=i(241);const e=u.NamespaceIds.datasets.id;class t extends g.XmlObject{constructor(C){super(e,"data",C)}[n.$isNsAgnostic](){return!0}}class s extends g.XFAObject{constructor(C){super(e,"datasets",!0),this.data=null,this.Signature=null}[n.$onChild](C){const y=C[n.$nodeName];(y==="data"&&C[n.$namespaceId]===e||y==="Signature"&&C[n.$namespaceId]===u.NamespaceIds.signature.id)&&(this[y]=C),this[n.$appendChild](C)}}class L{static[u.$buildXFAObject](C,y){if(L.hasOwnProperty(C))return L[C](y)}static datasets(C){return new s(C)}static data(C){return new t(C)}}d.DatasetsNamespace=L},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.LocaleSetNamespace=void 0;var n=i(235),u=i(241),g=i(238);const e=n.NamespaceIds.localeSet.id;class t extends u.XFAObject{constructor(p){super(e,"calendarSymbols",!0),this.name="gregorian",this.dayNames=new u.XFAObjectArray(2),this.eraNames=null,this.meridiemNames=null,this.monthNames=new u.XFAObjectArray(2)}}class s extends u.StringObject{constructor(p){super(e,"currencySymbol"),this.name=(0,g.getStringOption)(p.name,["symbol","isoname","decimal"])}}class L extends u.XFAObject{constructor(p){super(e,"currencySymbols",!0),this.currencySymbol=new u.XFAObjectArray(3)}}class U extends u.StringObject{constructor(p){super(e,"datePattern"),this.name=(0,g.getStringOption)(p.name,["full","long","med","short"])}}class C extends u.XFAObject{constructor(p){super(e,"datePatterns",!0),this.datePattern=new u.XFAObjectArray(4)}}class y extends u.ContentObject{constructor(p){super(e,"dateTimeSymbols")}}class f extends u.StringObject{constructor(p){super(e,"day")}}class x extends u.XFAObject{constructor(p){super(e,"dayNames",!0),this.abbr=(0,g.getInteger)({data:p.abbr,defaultValue:0,validate:G=>G===1}),this.day=new u.XFAObjectArray(7)}}class a extends u.StringObject{constructor(p){super(e,"era")}}class N extends u.XFAObject{constructor(p){super(e,"eraNames",!0),this.era=new u.XFAObjectArray(2)}}class v extends u.XFAObject{constructor(p){super(e,"locale",!0),this.desc=p.desc||"",this.name="isoname",this.calendarSymbols=null,this.currencySymbols=null,this.datePatterns=null,this.dateTimeSymbols=null,this.numberPatterns=null,this.numberSymbols=null,this.timePatterns=null,this.typeFaces=null}}class P extends u.XFAObject{constructor(p){super(e,"localeSet",!0),this.locale=new u.XFAObjectArray}}class F extends u.StringObject{constructor(p){super(e,"meridiem")}}class B extends u.XFAObject{constructor(p){super(e,"meridiemNames",!0),this.meridiem=new u.XFAObjectArray(2)}}class W extends u.StringObject{constructor(p){super(e,"month")}}class j extends u.XFAObject{constructor(p){super(e,"monthNames",!0),this.abbr=(0,g.getInteger)({data:p.abbr,defaultValue:0,validate:G=>G===1}),this.month=new u.XFAObjectArray(12)}}class M extends u.StringObject{constructor(p){super(e,"numberPattern"),this.name=(0,g.getStringOption)(p.name,["full","long","med","short"])}}class T extends u.XFAObject{constructor(p){super(e,"numberPatterns",!0),this.numberPattern=new u.XFAObjectArray(4)}}class c extends u.StringObject{constructor(p){super(e,"numberSymbol"),this.name=(0,g.getStringOption)(p.name,["decimal","grouping","percent","minus","zero"])}}class h extends u.XFAObject{constructor(p){super(e,"numberSymbols",!0),this.numberSymbol=new u.XFAObjectArray(5)}}class E extends u.StringObject{constructor(p){super(e,"timePattern"),this.name=(0,g.getStringOption)(p.name,["full","long","med","short"])}}class o extends u.XFAObject{constructor(p){super(e,"timePatterns",!0),this.timePattern=new u.XFAObjectArray(4)}}class l extends u.XFAObject{constructor(p){super(e,"typeFace",!0),this.name=p.name|""}}class b extends u.XFAObject{constructor(p){super(e,"typeFaces",!0),this.typeFace=new u.XFAObjectArray}}class R{static[n.$buildXFAObject](p,G){if(R.hasOwnProperty(p))return R[p](G)}static calendarSymbols(p){return new t(p)}static currencySymbol(p){return new s(p)}static currencySymbols(p){return new L(p)}static datePattern(p){return new U(p)}static datePatterns(p){return new C(p)}static dateTimeSymbols(p){return new y(p)}static day(p){return new f(p)}static dayNames(p){return new x(p)}static era(p){return new a(p)}static eraNames(p){return new N(p)}static locale(p){return new v(p)}static localeSet(p){return new P(p)}static meridiem(p){return new F(p)}static meridiemNames(p){return new B(p)}static month(p){return new W(p)}static monthNames(p){return new j(p)}static numberPattern(p){return new M(p)}static numberPatterns(p){return new T(p)}static numberSymbol(p){return new c(p)}static numberSymbols(p){return new h(p)}static timePattern(p){return new E(p)}static timePatterns(p){return new o(p)}static typeFace(p){return new l(p)}static typeFaces(p){return new b(p)}}d.LocaleSetNamespace=R},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.SignatureNamespace=void 0;var n=i(235),u=i(241);const g=n.NamespaceIds.signature.id;class e extends u.XFAObject{constructor(L){super(g,"signature",!0)}}class t{static[n.$buildXFAObject](L,U){if(t.hasOwnProperty(L))return t[L](U)}static signature(L){return new e(L)}}d.SignatureNamespace=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.StylesheetNamespace=void 0;var n=i(235),u=i(241);const g=n.NamespaceIds.stylesheet.id;class e extends u.XFAObject{constructor(L){super(g,"stylesheet",!0)}}class t{static[n.$buildXFAObject](L,U){if(t.hasOwnProperty(L))return t[L](U)}static stylesheet(L){return new e(L)}}d.StylesheetNamespace=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.XdpNamespace=void 0;var n=i(235),u=i(229),g=i(241);const e=n.NamespaceIds.xdp.id;class t extends g.XFAObject{constructor(U){super(e,"xdp",!0),this.uuid=U.uuid||"",this.timeStamp=U.timeStamp||"",this.config=null,this.connectionSet=null,this.datasets=null,this.localeSet=null,this.stylesheet=new g.XFAObjectArray,this.template=null}[u.$onChildCheck](U){const C=n.NamespaceIds[U[u.$nodeName]];return C&&U[u.$namespaceId]===C.id}}class s{static[n.$buildXFAObject](U,C){if(s.hasOwnProperty(U))return s[U](C)}static xdp(U){return new t(U)}}d.XdpNamespace=s},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.XhtmlNamespace=void 0,i(116),i(127),i(129),i(132),i(134),i(136),i(138);var n=i(229),u=i(235),g=i(237),e=i(238),t=i(241);const s=u.NamespaceIds.xhtml.id,L=Symbol(),U=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"]),C=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",p=>p==="none"?"none":"normal"],["xfa-font-horizontal-scale",p=>`scaleX(${Math.max(0,Math.min(parseInt(p)/100)).toFixed(2)})`],["xfa-font-vertical-scale",p=>`scaleY(${Math.max(0,Math.min(parseInt(p)/100)).toFixed(2)})`],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",(p,G)=>(p=G.fontSize=(0,e.getMeasurement)(p),(0,g.measureToString)(.99*p))],["letter-spacing",p=>(0,g.measureToString)((0,e.getMeasurement)(p))],["line-height",p=>(0,g.measureToString)((0,e.getMeasurement)(p))],["margin",p=>(0,g.measureToString)((0,e.getMeasurement)(p))],["margin-bottom",p=>(0,g.measureToString)((0,e.getMeasurement)(p))],["margin-left",p=>(0,g.measureToString)((0,e.getMeasurement)(p))],["margin-right",p=>(0,g.measureToString)((0,e.getMeasurement)(p))],["margin-top",p=>(0,g.measureToString)((0,e.getMeasurement)(p))],["text-indent",p=>(0,g.measureToString)((0,e.getMeasurement)(p))],["font-family",p=>p],["vertical-align",p=>(0,g.measureToString)((0,e.getMeasurement)(p))]]),y=/\s+/g,f=/[\r\n]+/g,x=/\r\n?/g;function a(p,G,$){const A=Object.create(null);if(!p)return A;const D=Object.create(null);for(const[w,m]of p.split(";").map(I=>I.split(":",2))){const I=C.get(w);if(I==="")continue;let H=m;I&&(H=typeof I=="string"?I:I(m,D)),w.endsWith("scale")?A.transform=A.transform?`${A[w]} ${H}`:H:A[w.replaceAll(/-([a-zA-Z])/g,(Y,Q)=>Q.toUpperCase())]=H}if(A.fontFamily&&(0,g.setFontFamily)({typeface:A.fontFamily,weight:A.fontWeight||"normal",posture:A.fontStyle||"normal",size:D.fontSize||0},G,G[n.$globalData].fontFinder,A),$&&A.verticalAlign&&A.verticalAlign!=="0px"&&A.fontSize){const I=(0,e.getMeasurement)(A.fontSize);A.fontSize=(0,g.measureToString)(I*.583),A.verticalAlign=(0,g.measureToString)(Math.sign((0,e.getMeasurement)(A.verticalAlign))*I*.333)}return $&&A.fontSize&&(A.fontSize=`calc(${A.fontSize} * var(--scale-factor))`),(0,g.fixTextIndent)(A),A}function N(p){return p.style?p.style.trim().split(/\s*;\s*/).filter(G=>!!G).map(G=>G.split(/\s*:\s*/,2)).filter(G=>{let[$,A]=G;return $==="font-family"&&p[n.$globalData].usedTypefaces.add(A),U.has($)}).map(G=>G.join(":")).join(";"):""}const v=new Set(["body","html"]);class P extends t.XmlObject{constructor(G,$){super(s,$),this[L]=!1,this.style=G.style||""}[n.$clean](G){super[n.$clean](G),this.style=N(this)}[n.$acceptWhitespace](){return!v.has(this[n.$nodeName])}[n.$onText](G){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?this[L]=!0:(G=G.replaceAll(f,""),this.style.includes("xfa-spacerun:yes")||(G=G.replaceAll(y," "))),G&&(this[n.$content]+=G)}[n.$pushGlyphs](G){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const A=Object.create(null),D={top:NaN,bottom:NaN,left:NaN,right:NaN};let w=null;for(const[m,I]of this.style.split(";").map(H=>H.split(":",2)))switch(m){case"font-family":A.typeface=(0,e.stripQuotes)(I);break;case"font-size":A.size=(0,e.getMeasurement)(I);break;case"font-weight":A.weight=I;break;case"font-style":A.posture=I;break;case"letter-spacing":A.letterSpacing=(0,e.getMeasurement)(I);break;case"margin":const H=I.split(/ \t/).map(Y=>(0,e.getMeasurement)(Y));switch(H.length){case 1:D.top=D.bottom=D.left=D.right=H[0];break;case 2:D.top=D.bottom=H[0],D.left=D.right=H[1];break;case 3:D.top=H[0],D.bottom=H[2],D.left=D.right=H[1];break;case 4:D.top=H[0],D.left=H[1],D.bottom=H[2],D.right=H[3];break}break;case"margin-top":D.top=(0,e.getMeasurement)(I);break;case"margin-bottom":D.bottom=(0,e.getMeasurement)(I);break;case"margin-left":D.left=(0,e.getMeasurement)(I);break;case"margin-right":D.right=(0,e.getMeasurement)(I);break;case"line-height":w=(0,e.getMeasurement)(I);break}if(G.pushData(A,D,w),this[n.$content])G.addString(this[n.$content]);else for(const m of this[n.$getChildren]()){if(m[n.$nodeName]==="#text"){G.addString(m[n.$content]);continue}m[n.$pushGlyphs](G)}$&&G.popFont()}[n.$toHTML](G){const $=[];if(this[n.$extra]={children:$},this[n.$childrenToHTML]({}),$.length===0&&!this[n.$content])return e.HTMLResult.EMPTY;let A;return this[L]?A=this[n.$content]?this[n.$content].replaceAll(x,` `):void 0:A=this[n.$content]||void 0,e.HTMLResult.success({name:this[n.$nodeName],attributes:{href:this.href,style:a(this.style,this,this[L])},children:$,value:A})}}class F extends P{constructor(G){super(G,"a"),this.href=(0,g.fixURL)(G.href)||""}}class B extends P{constructor(G){super(G,"b")}[n.$pushGlyphs](G){G.pushFont({weight:"bold"}),super[n.$pushGlyphs](G),G.popFont()}}class W extends P{constructor(G){super(G,"body")}[n.$toHTML](G){const $=super[n.$toHTML](G),{html:A}=$;return A?(A.name="div",A.attributes.class=["xfaRich"],$):e.HTMLResult.EMPTY}}class j extends P{constructor(G){super(G,"br")}[n.$text](){return` `}[n.$pushGlyphs](G){G.addString(` `)}[n.$toHTML](G){return e.HTMLResult.success({name:"br"})}}class M extends P{constructor(G){super(G,"html")}[n.$toHTML](G){var A;const $=[];if(this[n.$extra]={children:$},this[n.$childrenToHTML]({}),$.length===0)return e.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[n.$content]||""});if($.length===1){const D=$[0];if((A=D.attributes)!=null&&A.class.includes("xfaRich"))return e.HTMLResult.success(D)}return e.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:$})}}class T extends P{constructor(G){super(G,"i")}[n.$pushGlyphs](G){G.pushFont({posture:"italic"}),super[n.$pushGlyphs](G),G.popFont()}}class c extends P{constructor(G){super(G,"li")}}class h extends P{constructor(G){super(G,"ol")}}class E extends P{constructor(G){super(G,"p")}[n.$pushGlyphs](G){super[n.$pushGlyphs](G,!1),G.addString(` `),G.addPara(),G.popFont()}[n.$text](){return this[n.$getParent]()[n.$getChildren]().at(-1)===this?super[n.$text]():super[n.$text]()+` `}}class o extends P{constructor(G){super(G,"span")}}class l extends P{constructor(G){super(G,"sub")}}class b extends P{constructor(G){super(G,"sup")}}class R extends P{constructor(G){super(G,"ul")}}class S{static[u.$buildXFAObject](G,$){if(S.hasOwnProperty(G))return S[G]($)}static a(G){return new F(G)}static b(G){return new B(G)}static body(G){return new W(G)}static br(G){return new j(G)}static html(G){return new M(G)}static i(G){return new T(G)}static li(G){return new c(G)}static ol(G){return new h(G)}static p(G){return new E(G)}static span(G){return new o(G)}static sub(G){return new l(G)}static sup(G){return new b(G)}static ul(G){return new R(G)}}d.XhtmlNamespace=S},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.UnknownNamespace=void 0;var n=i(235),u=i(241);class g{constructor(t){this.namespaceId=t}[n.$buildXFAObject](t,s){return new u.XmlObject(this.namespaceId,t,s)}}d.UnknownNamespace=g},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.DatasetReader=void 0,i(2);var n=i(145),u=i(150),g=i(222);function e(L){try{return(0,n.stringToUTF8String)(L)}catch(U){return(0,n.warn)(`UTF-8 decoding failed: "${U}".`),L}}class t extends g.SimpleXMLParser{constructor(U){super(U),this.node=null}onEndElement(U){const C=super.onEndElement(U);if(C&&U==="xfa:datasets")throw this.node=C,new Error("Aborting DatasetXMLParser.")}}class s{constructor(U){if(U.datasets)this.node=new g.SimpleXMLParser({hasAttributes:!0}).parseFromString(U.datasets).documentElement;else{const C=new t({hasAttributes:!0});try{C.parseFromString(U["xdp:xdp"])}catch{}this.node=C.node}}getValue(U){if(!this.node||!U)return"";const C=this.node.searchNode((0,u.parseXFAPath)(U),0);if(!C)return"";const y=C.firstChild;return(y==null?void 0:y.nodeName)==="value"?C.children.map(f=>e(f.textContent)):e(C.textContent)}}d.DatasetReader=s},(he,d,i)=>{var U;Object.defineProperty(d,"__esModule",{value:!0}),d.XRef=void 0,i(116),i(127),i(129),i(132),i(134),i(136),i(138),i(84),i(93),i(94),i(97),i(99),i(101),i(105),i(108),i(115),i(140),i(2);var n=i(145),u=i(151),g=i(167),e=i(150),t=i(152),s=i(225);class L{constructor(y,f){vt(this,U,null);this.stream=y,this.pdfManager=f,this.entries=[],this._xrefStms=new Set,this._cacheMap=new Map,this._pendingRefs=new u.RefSet,this._newPersistentRefNum=null,this._newTemporaryRefNum=null}getNewPersistentRef(y){this._newPersistentRefNum===null&&(this._newPersistentRefNum=this.entries.length||1);const f=this._newPersistentRefNum++;return this._cacheMap.set(f,y),u.Ref.get(f,0)}getNewTemporaryRef(){return this._newTemporaryRefNum===null&&(this._newTemporaryRefNum=this.entries.length||1),u.Ref.get(this._newTemporaryRefNum++,0)}resetNewTemporaryRef(){this._newTemporaryRefNum=null}setStartXRef(y){this.startXRefQueue=[y]}parse(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,f;y?((0,n.warn)("Indexing all PDF objects"),f=this.indexObjects()):f=this.readXRef(),f.assignXref(this),this.trailer=f;let x;try{x=f.get("Encrypt")}catch(N){if(N instanceof e.MissingDataException)throw N;(0,n.warn)(`XRef.parse - Invalid "Encrypt" reference: "${N}".`)}if(x instanceof u.Dict){const N=f.get("ID"),v=N!=null&&N.length?N[0]:"";x.suppressEncryption=!0,this.encrypt=new s.CipherTransformFactory(x,v,this.pdfManager.password)}let a;try{a=f.get("Root")}catch(N){if(N instanceof e.MissingDataException)throw N;(0,n.warn)(`XRef.parse - Invalid "Root" reference: "${N}".`)}if(a instanceof u.Dict)try{if(a.get("Pages")instanceof u.Dict){this.root=a;return}}catch(N){if(N instanceof e.MissingDataException)throw N;(0,n.warn)(`XRef.parse - Invalid "Pages" reference: "${N}".`)}throw y?new n.InvalidPDFException("Invalid Root reference."):new e.XRefParseException}processXRefTable(y){"tableState"in this||(this.tableState={entryNum:0,streamPos:y.lexer.stream.pos,parserBuf1:y.buf1,parserBuf2:y.buf2});const f=this.readXRefTable(y);if(!(0,u.isCmd)(f,"trailer"))throw new n.FormatError("Invalid XRef table: could not find trailer dictionary");let x=y.getObj();if(!(x instanceof u.Dict)&&x.dict&&(x=x.dict),!(x instanceof u.Dict))throw new n.FormatError("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,x}readXRefTable(y){const f=y.lexer.stream,x=this.tableState;f.pos=x.streamPos,y.buf1=x.parserBuf1,y.buf2=x.parserBuf2;let a;for(;;){if(!("firstEntryNum"in x)||!("entryCount"in x)){if((0,u.isCmd)(a=y.getObj(),"trailer"))break;x.firstEntryNum=a,x.entryCount=y.getObj()}let N=x.firstEntryNum;const v=x.entryCount;if(!Number.isInteger(N)||!Number.isInteger(v))throw new n.FormatError("Invalid XRef table: wrong types in subsection header");for(let P=x.entryNum;P0;){const[P,F]=v;if(!Number.isInteger(P)||!Number.isInteger(F))throw new n.FormatError(`Invalid XRef range fields: ${P}, ${F}`);if(!Number.isInteger(x)||!Number.isInteger(a)||!Number.isInteger(N))throw new n.FormatError(`Invalid XRef entry fields length: ${P}, ${F}`);for(let B=f.entryNum;B=D.length);)m+=String.fromCharCode(I),I=D[w];return m}function F(D,w,m){const I=m.length,H=D.length;let Y=0;for(;w=I)break;w++,Y++}return Y}const B=/\b(endobj|\d+\s+\d+\s+obj|xref|trailer\s*<<)\b/g,W=/\b(startxref|\d+\s+\d+\s+obj)\b/g,j=/^(\d+)\s+(\d+)\s+obj\b/,M=new Uint8Array([116,114,97,105,108,101,114]),T=new Uint8Array([115,116,97,114,116,120,114,101,102]),c=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();const h=this.stream;h.pos=0;const E=h.getBytes(),o=(0,n.bytesToString)(E),l=E.length;let b=h.start;const R=[],S=[];for(;b=l)break;D=E[b]}while(D!==10&&D!==13);continue}const w=P(E,b);let m;if(w.startsWith("xref")&&(w.length===4||/\s/.test(w[4])))b+=F(E,b,M),R.push(b),b+=F(E,b,T);else if(m=j.exec(w)){const I=m[1]|0,H=m[2]|0,Y=b+w.length;let Q,oe=!1;if(!this.entries[I])oe=!0;else if(this.entries[I].gen===H)try{new g.Parser({lexer:new g.Lexer(h.makeSubStream(Y))}).getObj(),oe=!0}catch(_){_ instanceof e.ParserEOFException?(0,n.warn)(`indexObjects -- checking object (${w}): "${_}".`):oe=!0}oe&&(this.entries[I]={offset:b-h.start,gen:H,uncompressed:!0}),B.lastIndex=Y;const ne=B.exec(o);ne?(Q=B.lastIndex+1-b,ne[1]!=="endobj"&&((0,n.warn)(`indexObjects: Found "${ne[1]}" inside of another "obj", caused by missing "endobj" -- trying to recover.`),Q-=ne[1].length+1)):Q=l-b;const ce=E.subarray(b,b+Q),J=F(ce,0,c);J0&&arguments[0]!==void 0?arguments[0]:!1;const f=this.stream,x=new Set;for(;this.startXRefQueue.length;){try{const a=this.startXRefQueue[0];if(x.has(a)){(0,n.warn)("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}x.add(a),f.pos=a+f.start;const N=new g.Parser({lexer:new g.Lexer(f),xref:this,allowStreams:!0});let v=N.getObj(),P;if((0,u.isCmd)(v,"xref"))P=this.processXRefTable(N),this.topDict||(this.topDict=P),v=P.get("XRefStm"),Number.isInteger(v)&&!this._xrefStms.has(v)&&(this._xrefStms.add(v),this.startXRefQueue.push(v),Bt(this,U)??gn(this,U,v));else if(Number.isInteger(v)){if(!Number.isInteger(N.getObj())||!(0,u.isCmd)(N.getObj(),"obj")||!((v=N.getObj())instanceof t.BaseStream))throw new n.FormatError("Invalid XRef stream");if(P=this.processXRefStream(v),this.topDict||(this.topDict=P),!P)throw new n.FormatError("Failed to read XRef stream")}else throw new n.FormatError("Invalid XRef stream header");v=P.get("Prev"),Number.isInteger(v)?this.startXRefQueue.push(v):v instanceof u.Ref&&this.startXRefQueue.push(v.num)}catch(a){if(a instanceof e.MissingDataException)throw a;(0,n.info)("(while reading XRef): "+a)}this.startXRefQueue.shift()}if(this.topDict)return this.topDict;if(!y)throw new e.XRefParseException}get lastXRefStreamPos(){return Bt(this,U)??(this._xrefStms.size>0?Math.max(...this._xrefStms):null)}getEntry(y){const f=this.entries[y];return f&&!f.free&&f.offset?f:null}fetchIfRef(y){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return y instanceof u.Ref?this.fetch(y,f):y}fetch(y){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!(y instanceof u.Ref))throw new Error("ref object is not a reference");const x=y.num,a=this._cacheMap.get(x);if(a!==void 0)return a instanceof u.Dict&&!a.objId&&(a.objId=y.toString()),a;let N=this.getEntry(x);if(N===null)return this._cacheMap.set(x,N),N;if(this._pendingRefs.has(y))return this._pendingRefs.remove(y),(0,n.warn)(`Ignoring circular reference: ${y}.`),u.CIRCULAR_REF;this._pendingRefs.put(y);try{N=N.uncompressed?this.fetchUncompressed(y,N,f):this.fetchCompressed(y,N,f),this._pendingRefs.remove(y)}catch(v){throw this._pendingRefs.remove(y),v}return N instanceof u.Dict?N.objId=y.toString():N instanceof t.BaseStream&&(N.dict.objId=y.toString()),N}fetchUncompressed(y,f){let x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const a=y.gen;let N=y.num;if(f.gen!==a){const j=`Inconsistent generation in XRef: ${y}`;if(this._generationFallback&&f.gen{var s,ia,U,ra,y,yn;Object.defineProperty(d,"__esModule",{value:!0}),d.MessageHandler=void 0,i(2);var n=i(145);const u={UNKNOWN:0,DATA:1,ERROR:2},g={UNKNOWN:0,CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function e(x){switch(x instanceof Error||typeof x=="object"&&x!==null||(0,n.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),x.name){case"AbortException":return new n.AbortException(x.message);case"MissingPDFException":return new n.MissingPDFException(x.message);case"PasswordException":return new n.PasswordException(x.message,x.code);case"UnexpectedResponseException":return new n.UnexpectedResponseException(x.message,x.status);case"UnknownErrorException":return new n.UnknownErrorException(x.message,x.details);default:return new n.UnknownErrorException(x.message,x.toString())}}class t{constructor(a,N,v){vt(this,s);vt(this,U);vt(this,y);this.sourceName=a,this.targetName=N,this.comObj=v,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=P=>{const F=P.data;if(F.targetName!==this.sourceName)return;if(F.stream){ct(this,U,ra).call(this,F);return}if(F.callback){const W=F.callbackId,j=this.callbackCapabilities[W];if(!j)throw new Error(`Cannot resolve callback ${W}`);if(delete this.callbackCapabilities[W],F.callback===u.DATA)j.resolve(F.data);else if(F.callback===u.ERROR)j.reject(e(F.reason));else throw new Error("Unexpected callback case");return}const B=this.actionHandler[F.action];if(!B)throw new Error(`Unknown action from worker: ${F.action}`);if(F.callbackId){const W=this.sourceName,j=F.sourceName;new Promise(function(M){M(B(F.data))}).then(function(M){v.postMessage({sourceName:W,targetName:j,callback:u.DATA,callbackId:F.callbackId,data:M})},function(M){v.postMessage({sourceName:W,targetName:j,callback:u.ERROR,callbackId:F.callbackId,reason:e(M)})});return}if(F.streamId){ct(this,s,ia).call(this,F);return}B(F.data)},v.addEventListener("message",this._onComObjOnMessage)}on(a,N){const v=this.actionHandler;if(v[a])throw new Error(`There is already an actionName called "${a}"`);v[a]=N}send(a,N,v){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:a,data:N},v)}sendWithPromise(a,N,v){const P=this.callbackId++,F=new n.PromiseCapability;this.callbackCapabilities[P]=F;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:a,callbackId:P,data:N},v)}catch(B){F.reject(B)}return F.promise}sendWithStream(a,N,v,P){const F=this.streamId++,B=this.sourceName,W=this.targetName,j=this.comObj;return new ReadableStream({start:M=>{const T=new n.PromiseCapability;return this.streamControllers[F]={controller:M,startCall:T,pullCall:null,cancelCall:null,isClosed:!1},j.postMessage({sourceName:B,targetName:W,action:a,streamId:F,data:N,desiredSize:M.desiredSize},P),T.promise},pull:M=>{const T=new n.PromiseCapability;return this.streamControllers[F].pullCall=T,j.postMessage({sourceName:B,targetName:W,stream:g.PULL,streamId:F,desiredSize:M.desiredSize}),T.promise},cancel:M=>{(0,n.assert)(M instanceof Error,"cancel must have a valid reason");const T=new n.PromiseCapability;return this.streamControllers[F].cancelCall=T,this.streamControllers[F].isClosed=!0,j.postMessage({sourceName:B,targetName:W,stream:g.CANCEL,streamId:F,reason:e(M)}),T.promise}},v)}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}s=new WeakSet,ia=function(a){const N=a.streamId,v=this.sourceName,P=a.sourceName,F=this.comObj,B=this,W=this.actionHandler[a.action],j={enqueue(M){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,c=arguments.length>2?arguments[2]:void 0;if(this.isCancelled)return;const h=this.desiredSize;this.desiredSize-=T,h>0&&this.desiredSize<=0&&(this.sinkCapability=new n.PromiseCapability,this.ready=this.sinkCapability.promise),F.postMessage({sourceName:v,targetName:P,stream:g.ENQUEUE,streamId:N,chunk:M},c)},close(){this.isCancelled||(this.isCancelled=!0,F.postMessage({sourceName:v,targetName:P,stream:g.CLOSE,streamId:N}),delete B.streamSinks[N])},error(M){(0,n.assert)(M instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,F.postMessage({sourceName:v,targetName:P,stream:g.ERROR,streamId:N,reason:e(M)}))},sinkCapability:new n.PromiseCapability,onPull:null,onCancel:null,isCancelled:!1,desiredSize:a.desiredSize,ready:null};j.sinkCapability.resolve(),j.ready=j.sinkCapability.promise,this.streamSinks[N]=j,new Promise(function(M){M(W(a.data,j))}).then(function(){F.postMessage({sourceName:v,targetName:P,stream:g.START_COMPLETE,streamId:N,success:!0})},function(M){F.postMessage({sourceName:v,targetName:P,stream:g.START_COMPLETE,streamId:N,reason:e(M)})})},U=new WeakSet,ra=function(a){const N=a.streamId,v=this.sourceName,P=a.sourceName,F=this.comObj,B=this.streamControllers[N],W=this.streamSinks[N];switch(a.stream){case g.START_COMPLETE:a.success?B.startCall.resolve():B.startCall.reject(e(a.reason));break;case g.PULL_COMPLETE:a.success?B.pullCall.resolve():B.pullCall.reject(e(a.reason));break;case g.PULL:if(!W){F.postMessage({sourceName:v,targetName:P,stream:g.PULL_COMPLETE,streamId:N,success:!0});break}W.desiredSize<=0&&a.desiredSize>0&&W.sinkCapability.resolve(),W.desiredSize=a.desiredSize,new Promise(function(j){var M;j((M=W.onPull)==null?void 0:M.call(W))}).then(function(){F.postMessage({sourceName:v,targetName:P,stream:g.PULL_COMPLETE,streamId:N,success:!0})},function(j){F.postMessage({sourceName:v,targetName:P,stream:g.PULL_COMPLETE,streamId:N,reason:e(j)})});break;case g.ENQUEUE:if((0,n.assert)(B,"enqueue should have stream controller"),B.isClosed)break;B.controller.enqueue(a.chunk);break;case g.CLOSE:if((0,n.assert)(B,"close should have stream controller"),B.isClosed)break;B.isClosed=!0,B.controller.close(),ct(this,y,yn).call(this,B,N);break;case g.ERROR:(0,n.assert)(B,"error should have stream controller"),B.controller.error(e(a.reason)),ct(this,y,yn).call(this,B,N);break;case g.CANCEL_COMPLETE:a.success?B.cancelCall.resolve():B.cancelCall.reject(e(a.reason)),ct(this,y,yn).call(this,B,N);break;case g.CANCEL:if(!W)break;new Promise(function(j){var M;j((M=W.onCancel)==null?void 0:M.call(W,e(a.reason)))}).then(function(){F.postMessage({sourceName:v,targetName:P,stream:g.CANCEL_COMPLETE,streamId:N,success:!0})},function(j){F.postMessage({sourceName:v,targetName:P,stream:g.CANCEL_COMPLETE,streamId:N,reason:e(j)})}),W.sinkCapability.reject(e(a.reason)),W.isCancelled=!0,delete this.streamSinks[N];break;default:throw new Error("Unexpected stream case")}},y=new WeakSet,yn=async function(a,N){var v,P,F;await Promise.allSettled([(v=a.startCall)==null?void 0:v.promise,(P=a.pullCall)==null?void 0:P.promise,(F=a.cancelCall)==null?void 0:F.promise]),delete this.streamControllers[N]},d.MessageHandler=t},(he,d,i)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.PDFWorkerStream=void 0,i(140);var n=i(145);class u{constructor(s){this._msgHandler=s,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new g(this._msgHandler),this._fullRequestReader}getRangeReader(s,L){const U=new e(s,L,this._msgHandler);return this._rangeRequestReaders.push(U),U}cancelAllRequests(s){var L;(L=this._fullRequestReader)==null||L.cancel(s);for(const U of this._rangeRequestReaders.slice(0))U.cancel(s)}}d.PDFWorkerStream=u;class g{constructor(s){this._msgHandler=s,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;const L=this._msgHandler.sendWithStream("GetReader");this._reader=L.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then(U=>{this._isStreamingSupported=U.isStreamingSupported,this._isRangeSupported=U.isRangeSupported,this._contentLength=U.contentLength})}get headersReady(){return this._headersReady}get contentLength(){return this._contentLength}get isStreamingSupported(){return this._isStreamingSupported}get isRangeSupported(){return this._isRangeSupported}async read(){const{value:s,done:L}=await this._reader.read();return L?{value:void 0,done:!0}:{value:s.buffer,done:!1}}cancel(s){this._reader.cancel(s)}}class e{constructor(s,L,U){this._msgHandler=U,this.onProgress=null;const C=this._msgHandler.sendWithStream("GetRangeReader",{begin:s,end:L});this._reader=C.getReader()}get isStreamingSupported(){return!1}async read(){const{value:s,done:L}=await this._reader.read();return L?{value:void 0,done:!0}:{value:s.buffer,done:!1}}cancel(s){this._reader.cancel(s)}}}],cn={};function ln(he){var d=cn[he];if(d!==void 0)return d.exports;var i=cn[he]={exports:{}};return Vn[he].call(i.exports,i,i.exports,ln),i.exports}var Kn={};return(()=>{var he=Kn;Object.defineProperty(he,"__esModule",{value:!0}),Object.defineProperty(he,"WorkerMessageHandler",{enumerable:!0,get:function(){return d.WorkerMessageHandler}});var d=ln(1)})(),Kn})())})(Dt)})();