@robono/messaging-react-native 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -1
- package/README.md +26 -0
- package/SBOM.spdx.json +638 -230
- package/dist/attachment-preview.d.ts +18 -0
- package/dist/attachment-preview.js +27 -0
- package/dist/composer-input.d.ts +5 -0
- package/dist/composer-input.js +13 -0
- package/dist/contact-directory.d.ts +26 -0
- package/dist/contact-directory.js +16 -0
- package/dist/conversation-selector.d.ts +9 -0
- package/dist/conversation-selector.js +19 -0
- package/dist/expo-document.d.ts +7 -0
- package/dist/expo-document.js +50 -0
- package/dist/expo-media.js +5 -1
- package/dist/expo-messenger.d.ts +4 -1
- package/dist/expo-messenger.js +1 -1
- package/dist/expo-screen.d.ts +5 -1
- package/dist/expo-screen.js +67 -31
- package/dist/expo-thumbnails.d.ts +3 -1
- package/dist/expo-thumbnails.js +3 -1
- package/dist/expo.d.ts +1 -0
- package/dist/inbox-search.d.ts +2 -1
- package/dist/inbox-search.js +2 -2
- package/dist/inbox.d.ts +3 -2
- package/dist/inbox.js +52 -3
- package/dist/index.d.ts +23 -4
- package/dist/index.js +88 -41
- package/dist/keyboard-container.d.ts +10 -0
- package/dist/keyboard-container.js +18 -0
- package/dist/media-controller.d.ts +1 -0
- package/dist/media-controller.js +3 -2
- package/dist/media-ui.d.ts +4 -1
- package/dist/media-ui.js +5 -5
- package/dist/pdf-preview.d.ts +2 -0
- package/dist/pdf-preview.js +7 -0
- package/dist/pdf-renderer.generated.d.ts +1 -0
- package/dist/pdf-renderer.generated.js +2 -0
- package/dist/preview-cache.d.ts +1 -0
- package/dist/preview-cache.js +2 -0
- package/dist/translation-settings.js +5 -3
- package/licenses/pdfjs-LICENSE +177 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pdfPreviewHtml = "<!doctype html><html><head><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><meta http-equiv=\"Content-Security-Policy\" content=\"default-src 'none'; script-src 'unsafe-inline'; style-src 'unsafe-inline'; img-src data: blob:; font-src data: blob:; connect-src 'none'; worker-src 'none'; form-action 'none'; base-uri 'none'\"><style>body{margin:0;background:#111;color:white;font:16px system-ui}nav{position:sticky;top:0;display:flex;gap:4px;align-items:center;background:#222;padding:4px;z-index:1}button{min-width:44px;min-height:44px;background:#333;color:white;border:1px solid #666;border-radius:8px;font-size:20px}button:disabled{opacity:.4}#status{flex:1;text-align:center;font-size:14px}main{overflow:auto;padding:12px}canvas{display:block;background:white}#page{position:relative;width:max-content;margin:auto}#links{position:absolute;inset:0;pointer-events:none}#links button{pointer-events:auto}</style></head><body><nav><button id=\"previous\" aria-label=\"Previous page\">\u2039</button><span id=\"status\" role=\"status\">Opening PDF\u2026</span><button id=\"next\" aria-label=\"Next page\">\u203A</button><button id=\"zoom-out\" aria-label=\"Zoom out\">\u2212</button><button id=\"zoom-in\" aria-label=\"Zoom in\">+</button></nav><main><div id=\"page\"><canvas aria-label=\"PDF page\"></canvas><div id=\"links\"></div></div></main><script>\"use strict\";(()=>{var X5={},n6={463(n){var e=TypeError;n.exports=function(t){if(typeof t==\"string\")return t;throw new e(\"Argument is not a string\")}},804(n){var e=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\",t=e+\"+/\",s=e+\"-_\",i=function(r){for(var a={},o=0;o<64;o++)a[r.charAt(o)]=o;return a};n.exports={i2c:t,c2i:i(t),i2cUrl:s,c2iUrl:i(s)}},529(n){n.exports=function(e,t){return{value:e,done:t}}},837(n){var e=TypeError,t=9007199254740991;n.exports=function(s){if(s>t)throw new e(\"Maximum allowed index exceeded\");return s}},2(n){n.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}}},944(n){var e=TypeError;n.exports=function(t){var s=t&&t.alphabet;if(s===void 0||s===\"base64\"||s===\"base64url\")return s||\"base64\";throw new e(\"Incorrect `alphabet` option\")}},767(n){n.exports=function(e){return{iterator:e,next:e.next,done:!1}}},117(n){n.exports=function(e){return e==null}},859(n){n.exports=function(e){e.iterator=e.next=e.nextHandler=e.mapper=e.predicate=e.inner=e.iterables=e.iters=e.openIters=e.padding=e.finishResults=e.buffer=null}},684(n){n.exports=function(e,t){var s=typeof Iterator==\"function\"&&Iterator.prototype[e];if(s)try{s.call({next:null},t).next()}catch{return!0}}},269(n){n.exports=Object.create?Object.create(null):{}},741(n){var e=Math.ceil,t=Math.floor;n.exports=Math.trunc||function(i){var r=+i;return(r>0?t:e)(r)}},149(n){var e=RangeError;n.exports=function(t){if(t===t)return t;throw new e(\"NaN is not allowed\")}},717(n,e){e.f=Object.getOwnPropertySymbols},103(n){n.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},750(n,e,t){var s=t(117),i=TypeError;n.exports=function(r){if(s(r))throw new i(\"Can't call method on \"+r);return r}},835(n){n.exports=function(e){try{var t=new Set,s={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},\"next\",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},i=t[e](s);return i.size===1&&i.values().next().value===4}catch{return!1}}},291(n,e,t){var s=t(741);n.exports=function(i){var r=+i;return r!==r||r===0?0:s(r)}},14(n,e,t){var s=t(291),i=Math.min;n.exports=function(r){var a=s(r);return a>0?i(a,9007199254740991):0}},981(n,e,t){var s=t(750),i=Object;n.exports=function(r){return i(s(r))}},590(n,e,t){var s=t(291),i=RangeError;n.exports=function(r){var a=s(r);if(a<0)throw new i(\"The argument can't be less than 0\");return a}},812(n){var e=TypeError;n.exports=function(t,s){if(t<s)throw new e(\"Not enough arguments\");return t}}},Sv={};function J(n){let e=Sv[n];if(e!==void 0)return e.exports;let t=Sv[n]={exports:{}};return n6[n](t,t.exports,J),t.exports}J.cw=n=>{var e;return()=>{if(n){var t=n;n=0,e={exports:{}},t.call(e.exports,e,e.exports)}return e.exports}};J.d=(n,e)=>{for(var t in e)J.o(e,t)&&!J.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})};J.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e);var as=J.cw(n=>{var e=On(),t=i0(),s=TypeError;n.exports=function(i){if(e(i))return i;throw new s(t(i)+\" is not a function\")}}),s6=J.cw(n=>{var e=O6(),t=String,s=TypeError;n.exports=function(i){if(e(i))return i;throw new s(\"Can't set \"+t(i)+\" as a prototype\")}}),Jr=J.cw(n=>{var e=Ri().has;n.exports=function(t){return e(t),t}}),Qv=()=>J(463),i6=J.cw(n=>{var e=a0(),t=new e.WeakMap,s=e.set,i=e.remove;n.exports=function(r){return s(t,r,1),i(t,r),r}}),r6=J.cw(n=>{var e=a0().has;n.exports=function(t){return e(t),t}}),a6=J.cw(n=>{var e=ei(),t=Zf(),s=jr().f,i=e(\"unscopables\"),r=Array.prototype;r[i]===void 0&&s(r,i,{configurable:!0,value:t(null)}),n.exports=function(a){r[i][a]=!0}}),Zv=J.cw(n=>{var e=e0(),t=TypeError;n.exports=function(s,i){if(e(i,s))return s;throw new t(\"Incorrect invocation\")}}),e5=J.cw(n=>{var e=cs(),t=String,s=TypeError;n.exports=function(i){if(i===void 0||e(i))return i;throw new s(t(i)+\" is not an object or undefined\")}}),hn=J.cw(n=>{var e=cs(),t=String,s=TypeError;n.exports=function(i){if(e(i))return i;throw new s(t(i)+\" is not an object\")}}),Gf=J.cw(n=>{var e=$f(),t=TypeError;n.exports=function(s){if(e(s)===\"Uint8Array\")return s;throw new t(\"Argument is not an Uint8Array\")}}),t5=J.cw(n=>{n.exports=typeof ArrayBuffer<\"u\"&&typeof DataView<\"u\"}),o6=J.cw(n=>{var e=Jt(),t=Wp(),s=Qr(),i=e.ArrayBuffer,r=e.TypeError;n.exports=i&&t(i.prototype,\"byteLength\",\"get\")||function(a){if(s(a)!==\"ArrayBuffer\")throw new r(\"ArrayBuffer expected\");return a.byteLength}}),l6=J.cw(n=>{var e=Jt(),t=t5(),s=o6(),i=e.DataView;n.exports=function(r){if(!t||s(r)!==0)return!1;try{return new i(r),!1}catch{return!0}}}),Wf=J.cw(n=>{var e=l6(),t=TypeError;n.exports=function(s){if(e(s))throw new t(\"ArrayBuffer is detached\");return s}}),c6=J.cw(n=>{var e=t5(),t=os(),s=Jt(),i=On(),r=cs(),a=ls(),o=$f(),l=i0(),c=Vf(),f=Xf(),h=i5(),u=e0(),d=Yp(),p=Jp(),m=ei(),g=r0(),b=Qf(),x=b.enforce,w=b.get,v=s.Int8Array,k=v&&v.prototype,j=s.Uint8ClampedArray,A=j&&j.prototype,S=v&&d(v),q=k&&d(k),_=Object.prototype,I=s.TypeError,C=m(\"toStringTag\"),T=g(\"TYPED_ARRAY_TAG\"),M=\"TypedArrayConstructor\",E=e&&!!p&&o(s.opera)!==\"Opera\",G=!1,D,N,K,ee={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},de={BigInt64Array:8,BigUint64Array:8},X=function(te){if(!r(te))return!1;var ie=o(te);return ie===\"DataView\"||a(ee,ie)||a(de,ie)},ue=function($){var te=d($);if(r(te)){var ie=w(te);return ie&&a(ie,M)?ie[M]:ue(te)}},re=function($){if(!r($))return!1;var te=o($);return a(ee,te)||a(de,te)},H=function($){if(re($))return $;throw new I(\"Target is not a typed array\")},O=function($){if(i($)&&(!p||u(S,$)))return $;throw new I(l($)+\" is not a typed array constructor\")},z=function($,te,ie,le){if(t){if(ie)for(var Ae in ee){var Oe=s[Ae];if(Oe&&a(Oe.prototype,$))try{delete Oe.prototype[$]}catch{try{Oe.prototype[$]=te}catch{}}}(!q[$]||ie)&&f(q,$,ie?te:E&&k[$]||te,le)}},V=function($,te,ie){var le,Ae;if(t){if(p){if(ie){for(le in ee)if(Ae=s[le],Ae&&a(Ae,$))try{delete Ae[$]}catch{}}if(!S[$]||ie)try{return f(S,$,ie?te:E&&S[$]||te)}catch{}else return}for(le in ee)Ae=s[le],Ae&&(!Ae[$]||ie)&&f(Ae,$,te)}};for(D in ee)N=s[D],K=N&&N.prototype,K?x(K)[M]=N:E=!1;for(D in de)N=s[D],K=N&&N.prototype,K&&(x(K)[M]=N);if((!E||!i(S)||S===Function.prototype)&&(S=function(){throw new I(\"Incorrect invocation\")},E))for(D in ee)s[D]&&p(s[D],S);if((!E||!q||q===_)&&(q=S.prototype,E))for(D in ee)s[D]&&p(s[D].prototype,q);if(E&&d(A)!==q&&p(A,q),t&&!a(q,C)){G=!0,h(q,C,{configurable:!0,get:function(){return r(this)?this[T]:void 0}});for(D in ee)s[D]&&c(s[D].prototype,T,D)}n.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_TAG:G&&T,aTypedArray:H,aTypedArrayConstructor:O,exportTypedArrayMethod:z,exportTypedArrayStaticMethod:V,getTypedArrayConstructor:ue,isView:X,isTypedArray:re,TypedArray:S,TypedArrayPrototype:q}}),f6=J.cw(n=>{var e=so();n.exports=function(t,s,i){for(var r=0,a=arguments.length>2?i:e(s),o=new t(a);a>r;)o[r]=s[r++];return o}}),Lp=J.cw(n=>{var e=n0(),t=i7(),s=so(),i=function(r){return function(a,o,l){var c=e(a),f=s(c);if(f===0)return!r&&-1;var h=t(l,f),u;if(r&&o!==o){for(;f>h;)if(u=c[h++],u!==u)return!0}else for(;f>h;h++)if((r||h in c)&&c[h]===o)return r||h||0;return!r&&-1}};n.exports={includes:i(!0),indexOf:i(!1)}}),h6=J.cw(n=>{var e=os(),t=Kp(),s=TypeError,i=Object.getOwnPropertyDescriptor,r=e&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],\"length\",{writable:!1}).length=1}catch(a){return a instanceof TypeError}})();n.exports=r?function(a,o){if(t(a)&&!i(a,\"length\").writable)throw new s(\"Cannot set read only .length\");return a.length=o}:function(a,o){return a.length=o}}),u6=J.cw(n=>{var e=Yt();n.exports=e([].slice)}),n5=()=>J(804),s5=J.cw(n=>{var e=hn(),t=fs();n.exports=function(s,i,r,a){try{return a?i(e(r)[0],r[1]):i(r)}catch(o){t(s,\"throw\",o)}}}),Qr=J.cw(n=>{var e=Yt(),t=e({}.toString),s=e(\"\".slice);n.exports=function(i){return s(t(i),8,-1)}}),$f=J.cw(n=>{var e=o7(),t=On(),s=Qr(),i=ei(),r=i(\"toStringTag\"),a=Object,o=s((function(){return arguments})())===\"Arguments\",l=function(c,f){try{return c[f]}catch{}};n.exports=e?s:function(c){var f,h,u;return c===void 0?\"Undefined\":c===null?\"Null\":typeof(h=l(f=a(c),r))==\"string\"?h:o?s(f):(u=s(f))===\"Object\"&&t(f.callee)?\"Arguments\":u}}),d6=J.cw(n=>{var e=ls(),t=V6(),s=m5(),i=jr();n.exports=function(r,a,o){for(var l=t(a),c=i.f,f=s.f,h=0;h<l.length;h++){var u=l[h];!e(r,u)&&!(o&&e(o,u))&&c(r,u,f(a,u))}}}),p6=J.cw(n=>{var e=un();n.exports=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}),m6=()=>J(529),Vf=J.cw(n=>{var e=os(),t=jr(),s=Kf();n.exports=e?function(i,r,a){return t.f(i,r,s(1,a))}:function(i,r,a){return i[r]=a,i}}),Kf=J.cw(n=>{n.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}}),zp=J.cw(n=>{var e=os(),t=jr(),s=Kf();n.exports=function(i,r,a){e?t.f(i,r,s(0,a)):i[r]=a}}),i5=J.cw(n=>{var e=h5(),t=jr();n.exports=function(s,i,r){return r.get&&e(r.get,i,{getter:!0}),r.set&&e(r.set,i,{setter:!0}),t.f(s,i,r)}}),Xf=J.cw(n=>{var e=On(),t=jr(),s=h5(),i=Up();n.exports=function(r,a,o,l){l||(l={});var c=l.enumerable,f=l.name!==void 0?l.name:a;if(e(o)&&s(o,f,l),l.global)c?r[a]=o:i(a,o);else{try{l.unsafe?r[a]&&(c=!0):delete r[a]}catch{}c?r[a]=o:t.f(r,a,{value:o,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return r}}),g6=J.cw(n=>{var e=Xf();n.exports=function(t,s,i){for(var r in s)e(t,r,s[r],i);return t}}),Up=J.cw(n=>{var e=Jt(),t=Object.defineProperty;n.exports=function(s,i){try{t(e,s,{value:i,configurable:!0,writable:!0})}catch{e[s]=i}return i}}),os=J.cw(n=>{var e=un();n.exports=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}),r5=J.cw(n=>{var e=Jt(),t=cs(),s=e.document,i=t(s)&&t(s.createElement);n.exports=function(r){return i?s.createElement(r):{}}}),b6=()=>J(837),w6=()=>J(2),Gp=J.cw(n=>{n.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]}),x6=J.cw(n=>{var e=Jt(),t=e.navigator,s=t&&t.userAgent;n.exports=s?String(s):\"\"}),v6=J.cw(n=>{var e=Jt(),t=x6(),s=e.process,i=e.Deno,r=s&&s.versions||i&&i.version,a=r&&r.v8,o,l;a&&(o=a.split(\".\"),l=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!l&&t&&(o=t.match(/Edge\\/(\\d+)/),(!o||o[1]>=74)&&(o=t.match(/Chrome\\/(\\d+)/),o&&(l=+o[1]))),n.exports=l}),y6=J.cw(n=>{var e=Yt(),t=Error,s=e(\"\".replace),i=(function(o){return String(new t(o).stack)})(\"zxcasd\"),r=/\\n\\s*at [^:]*:[^\\n]*/,a=r.test(i);n.exports=function(o,l){if(a&&typeof o==\"string\"&&!t.prepareStackTrace)for(;l--;)o=s(o,r,\"\");return o}}),Ct=J.cw(n=>{var e=Jt(),t=m5().f,s=Vf(),i=Xf(),r=Up(),a=d6(),o=F6();n.exports=function(l,c){var f=l.target,h=l.global,u=l.stat,d,p,m,g,b,x;if(h?p=e:u?p=e[f]||r(f,{}):p=e[f]&&e[f].prototype,p)for(m in c){if(b=c[m],l.dontCallGetSet?(x=t(p,m),g=x&&x.value):g=p[m],d=o(h?m:f+(u?\".\":\"#\")+m,l.forced),!d&&g!==void 0){if(typeof b==typeof g)continue;a(b,g)}(l.sham||g&&g.sham)&&s(b,\"sham\",!0),i(p,m,b,l)}}}),un=J.cw(n=>{n.exports=function(e){try{return!!e()}catch{return!0}}}),k6=J.cw(n=>{var e=Yf(),t=Function.prototype,s=t.apply,i=t.call;n.exports=typeof Reflect==\"object\"&&Reflect.apply||(e?i.bind(s):function(){return i.apply(s,arguments)})}),j6=J.cw(n=>{var e=S6(),t=as(),s=Yf(),i=e(e.bind);n.exports=function(r,a){return t(r),a===void 0?r:s?i(r,a):function(){return r.apply(a,arguments)}}}),Yf=J.cw(n=>{var e=un();n.exports=!e(function(){var t=function(){}.bind();return typeof t!=\"function\"||t.hasOwnProperty(\"prototype\")})}),kn=J.cw(n=>{var e=Yf(),t=Function.prototype.call;n.exports=e?t.bind(t):function(){return t.apply(t,arguments)}}),A6=J.cw(n=>{var e=os(),t=ls(),s=Function.prototype,i=e&&Object.getOwnPropertyDescriptor,r=t(s,\"name\"),a=r&&function(){}.name===\"something\",o=r&&(!e||e&&i(s,\"name\").configurable);n.exports={CONFIGURABLE:o}}),Wp=J.cw(n=>{var e=Yt(),t=as();n.exports=function(s,i,r){try{return e(t(Object.getOwnPropertyDescriptor(s,i)[r]))}catch{}}}),S6=J.cw(n=>{var e=Qr(),t=Yt();n.exports=function(s){if(e(s)===\"Function\")return t(s)}}),Yt=J.cw(n=>{var e=Yf(),t=Function.prototype,s=t.call,i=e&&t.bind.bind(s,s);n.exports=e?i:function(r){return function(){return s.apply(r,arguments)}}}),a5=()=>J(944),kr=J.cw(n=>{var e=Jt(),t=On(),s=function(i){return t(i)?i:void 0};n.exports=function(i,r){return arguments.length<2?s(e[i]):e[i]&&e[i][r]}}),Zs=()=>J(767),q6=J.cw(n=>{var e=kn(),t=hn(),s=Zs(),i=$p();n.exports=function(r,a){(!a||typeof r!=\"string\")&&t(r);var o=i(r);return s(t(o!==void 0?e(o,r):r))}}),o5=J.cw(n=>{var e=kn(),t=On(),s=hn(),i=i0(),r=$p(),a=TypeError;n.exports=function(o,l){var c=arguments.length<2?r(o):l;if(t(c))return s(e(c,o));throw new a(i(o)+\" is not iterable\")}}),$p=J.cw(n=>{var e=Qr(),t=c5(),s=Jf(),i=ei(),r=i(\"iterator\"),a=Array.prototype;n.exports=function(o){if(!t(o))return s(o,r)||s(o,\"@@iterator\")||(e(o)===\"Arguments\"?a[r]:void 0)}}),Jf=J.cw(n=>{var e=as(),t=c5();n.exports=function(s,i){var r=s[i];return t(r)?void 0:e(r)}}),Zr=J.cw(n=>{var e=as(),t=hn(),s=kn(),i=tm(),r=Zs(),a=\"Invalid size\",o=RangeError,l=TypeError,c=Math.max,f=function(h,u){this.set=h,this.size=c(u,0),this.has=e(h.has),this.keys=e(h.keys)};f.prototype={getIterator:function(){return r(t(s(this.keys,this.set)))},includes:function(h){return s(this.has,this.set,h)}},n.exports=function(h){t(h);var u=+h.size;if(u!==u)throw new l(a);var d=i(u);if(d<0)throw new o(a);return new f(h,d)}}),Jt=J.cw(function(n){var e=function(t){return t&&t.Math===Math&&t};n.exports=e(typeof globalThis==\"object\"&&globalThis)||e(typeof window==\"object\"&&window)||e(typeof self==\"object\"&&self)||e(typeof global==\"object\"&&global)||e(typeof this==\"object\"&&this)||(function(){return this})()||Function(\"return this\")()}),ls=J.cw(n=>{var e=Yt(),t=nm(),s=e({}.hasOwnProperty);n.exports=Object.hasOwn||function(r,a){return s(t(r),a)}}),Vp=J.cw(n=>{n.exports={}}),_6=J.cw(n=>{var e=kr();n.exports=e(\"document\",\"documentElement\")}),l5=J.cw(n=>{var e=os(),t=un(),s=r5();n.exports=!e&&!t(function(){return Object.defineProperty(s(\"div\"),\"a\",{get:function(){return 7}}).a!==7})}),I6=J.cw(n=>{var e=Yt(),t=un(),s=Qr(),i=Object,r=e(\"\".split);n.exports=t(function(){return!i(\"z\").propertyIsEnumerable(0)})?function(a){return s(a)===\"String\"?r(a,\"\"):i(a)}:i}),C6=J.cw(n=>{var e=On(),t=cs(),s=Jp();n.exports=function(i,r,a){var o,l;return s&&e(o=r.constructor)&&o!==a&&t(l=o.prototype)&&l!==a.prototype&&s(i,l),i}}),T6=J.cw(n=>{var e=Yt(),t=On(),s=em(),i=e(Function.toString);t(s.inspectSource)||(s.inspectSource=function(r){return i(r)}),n.exports=s.inspectSource}),Qf=J.cw(n=>{var e=h7(),t=Jt(),s=cs(),i=Vf(),r=ls(),a=em(),o=Zp(),l=Vp(),c=\"Object already initialized\",f=t.TypeError,h=t.WeakMap,u,d,p,m=function(w){return p(w)?d(w):u(w,{})},g=function(w){return function(v){var k;if(!s(v)||(k=d(v)).type!==w)throw new f(\"Incompatible receiver, \"+w+\" required\");return k}};if(e||a.state){var b=a.state||(a.state=new h);b.get=b.get,b.has=b.has,b.set=b.set,u=function(w,v){if(b.has(w))throw new f(c);return v.facade=w,b.set(w,v),v},d=function(w){return b.get(w)||{}},p=function(w){return b.has(w)}}else{var x=o(\"state\");l[x]=!0,u=function(w,v){if(r(w,x))throw new f(c);return v.facade=w,i(w,x,v),v},d=function(w){return r(w,x)?w[x]:{}},p=function(w){return r(w,x)}}n.exports={set:u,get:d,has:p,enforce:m,getterFor:g}}),E6=J.cw(n=>{var e=ei(),t=D6(),s=e(\"iterator\"),i=Array.prototype;n.exports=function(r){return r!==void 0&&(t.Array===r||i[s]===r)}}),Kp=J.cw(n=>{var e=Qr();n.exports=Array.isArray||function(s){return e(s)===\"Array\"}}),R6=J.cw(n=>{var e=$f();n.exports=function(t){var s=e(t);return s===\"BigInt64Array\"||s===\"BigUint64Array\"}}),On=J.cw(n=>{var e=typeof document==\"object\"&&document.all;n.exports=typeof e>\"u\"&&e!==void 0?function(t){return typeof t==\"function\"||t===e}:function(t){return typeof t==\"function\"}}),F6=J.cw(n=>{var e=un(),t=On(),s=/#|\\.prototype\\./,i=function(c,f){var h=a[r(c)];return h===l?!0:h===o?!1:t(f)?e(f):!!f},r=i.normalize=function(c){return String(c).replace(s,\".\").toLowerCase()},a=i.data={},o=i.NATIVE=\"N\",l=i.POLYFILL=\"P\";n.exports=i}),c5=()=>J(117),cs=J.cw(n=>{var e=On();n.exports=function(t){return typeof t==\"object\"?t!==null:e(t)}}),O6=J.cw(n=>{var e=cs();n.exports=function(t){return e(t)||t===null}}),As=J.cw(n=>{n.exports=!1}),M6=J.cw(n=>{var e=cs(),t=Qf().get;n.exports=function(i){if(!e(i))return!1;var r=t(i);return!!r&&r.type===\"RawJSON\"}}),Xp=J.cw(n=>{var e=kr(),t=On(),s=e0(),i=S5(),r=Object;n.exports=i?function(a){return typeof a==\"symbol\"}:function(a){var o=e(\"Symbol\");return t(o)&&s(o.prototype,r(a))}}),ea=J.cw(n=>{var e=kn();n.exports=function(t,s,i){for(var r=i?t:t.iterator,a=t.next,o,l;!(o=e(a,r)).done;)if(l=s(o.value),l!==void 0)return l}}),no=J.cw(n=>{var e=j6(),t=kn(),s=hn(),i=i0(),r=E6(),a=so(),o=e0(),l=o5(),c=$p(),f=fs(),h=TypeError,u=function(p,m){this.stopped=p,this.result=m},d=u.prototype;n.exports=function(p,m,g){var b=g&&g.that,x=!!(g&&g.AS_ENTRIES),w=!!(g&&g.IS_RECORD),v=!!(g&&g.IS_ITERATOR),k=!!(g&&g.INTERRUPTED),j=e(m,b),A,S,q,_,I,C,T,M=function(D){var N=A;return A=void 0,N&&f(N,\"normal\"),new u(!0,D)},E=function(D){return x?(s(D),k?j(D[0],D[1],M):j(D[0],D[1])):k?j(D,M):j(D)};if(w)A=p.iterator;else if(v)A=p;else{if(S=c(p),!S)throw new h(i(p)+\" is not iterable\");if(r(S)){for(q=0,_=a(p);_>q;q++)if(I=E(p[q]),I&&o(d,I))return I;return new u(!1)}A=l(p,S)}for(C=w?p.next:A.next;!(T=t(C,A)).done;){var G=T.value;try{I=E(G)}catch(D){if(A)f(A,\"throw\",D);else throw D}if(typeof I==\"object\"&&I&&o(d,I))return I}return new u(!1)}}),P6=()=>J(859),B6=J.cw(n=>{var e=fs();n.exports=function(t,s,i){for(var r=t.length-1;r>=0;r--)if(t[r]!==void 0)try{i=e(t[r].iterator,s,i)}catch(a){s=\"throw\",i=a}if(s===\"throw\")throw i;return i}}),fs=J.cw(n=>{var e=kn(),t=hn(),s=Jf();n.exports=function(i,r,a){var o,l;t(i);try{if(o=s(i,\"return\"),!o){if(r===\"throw\")throw a;return a}o=e(o,i)}catch(c){l=!0,o=c}if(r===\"throw\")throw a;if(l)throw o;return t(o),a}}),Al=J.cw(n=>{var e=kn(),t=Zf(),s=Vf(),i=g6(),r=ei(),a=Qf(),o=Jf(),l=f5().IteratorPrototype,c=m6(),f=fs(),h=B6(),u=P6(),d=r(\"toStringTag\"),p=\"IteratorHelper\",m=\"WrapForValidIterator\",g=\"normal\",b=\"throw\",x=a.set,w=function(j){var A=a.getterFor(j?m:p);return i(t(l),{next:function(){var q=A(this);if(j)return q.nextHandler();if(q.done)return c(void 0,!0);try{var _=q.nextHandler();return q.done&&u(q),q.returnHandlerResult?_:c(_,q.done)}catch(I){throw q.done=!0,u(q),I}},return:function(){var S=A(this),q=S.iterator,_=S.inner,I=S.openIters,C=S.done;if(S.done=!0,j){var T=o(q,\"return\");return T?e(T,q):c(void 0,!0)}if(u(S),C)return c(void 0,!0);if(_)try{f(_.iterator,g)}catch(M){return f(q,b,M)}if(I)try{h(I,g)}catch(M){if(q)return f(q,b,M);throw M}return q&&f(q,g),c(void 0,!0)}})},v=w(!0),k=w(!1);s(k,d,\"Iterator Helper\"),n.exports=function(j,A,S){var q=function(I,C){C?(C.iterator=I.iterator,C.next=I.next):C=I,C.type=A?m:p,C.returnHandlerResult=!!S,C.nextHandler=j,C.counter=0,C.done=!1,x(this,C)};return q.prototype=A?v:k,q}}),Sl=()=>J(684),er=J.cw(n=>{var e=Jt();n.exports=function(t,s){var i=e.Iterator,r=i&&i.prototype,a=r&&r[t],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(l){l instanceof s||(o=!1)}if(!o)return a}}),f5=J.cw(n=>{var e=un(),t=On(),s=cs(),i=Zf(),r=Yp(),a=Xf(),o=ei(),l=As(),c=o(\"iterator\"),f=!1,h,u,d;[].keys&&(d=[].keys(),\"next\"in d?(u=r(r(d)),u!==Object.prototype&&(h=u)):f=!0);var p=!s(h)||e(function(){var m={};return h[c].call(m)!==m});p?h={}:l&&(h=i(h)),t(h[c])||a(h,c,function(){return this}),n.exports={IteratorPrototype:h}}),D6=()=>J(269),so=J.cw(n=>{var e=a7();n.exports=function(t){return e(t.length)}}),h5=J.cw(n=>{var e=Yt(),t=un(),s=On(),i=ls(),r=os(),a=A6().CONFIGURABLE,o=T6(),l=Qf(),c=l.enforce,f=l.get,h=String,u=Object.defineProperty,d=e(\"\".slice),p=e(\"\".replace),m=e([].join),g=r&&!t(function(){return u(function(){},\"length\",{value:8}).length!==8}),b=String(String).split(\"String\"),x=n.exports=function(w,v,k){d(h(v),0,7)===\"Symbol(\"&&(v=\"[\"+p(h(v),/^Symbol\\(([^)]*)\\).*$/,\"$1\")+\"]\"),k&&k.getter&&(v=\"get \"+v),k&&k.setter&&(v=\"set \"+v),(!i(w,\"name\")||a&&w.name!==v)&&(r?u(w,\"name\",{value:v,configurable:!0}):w.name=v),g&&k&&i(k,\"arity\")&&w.length!==k.arity&&u(w,\"length\",{value:k.arity});try{k&&i(k,\"constructor\")&&k.constructor?r&&u(w,\"prototype\",{writable:!1}):w.prototype&&(w.prototype=void 0)}catch{}var j=c(w);return i(j,\"source\")||(j.source=m(b,typeof v==\"string\"?v:\"\")),w};Function.prototype.toString=x(function(){return s(this)&&f(this).source||o(this)},\"toString\")}),u5=J.cw(n=>{var e=Yt(),t=Map.prototype;n.exports={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t}}),N6=J.cw(n=>{var e=un();n.exports=!e(function(){var t=\"9007199254740993\",s=JSON.rawJSON(t);return!JSON.isRawJSON(s)||JSON.stringify(s)!==t})}),d5=J.cw(n=>{var e=as(),t=TypeError,s=function(i){var r,a;this.promise=new i(function(o,l){if(r!==void 0||a!==void 0)throw new t(\"Bad Promise constructor\");r=o,a=l}),this.resolve=e(r),this.reject=e(a)};n.exports.f=function(i){return new s(i)}}),H6=J.cw(n=>{var e=s0();n.exports=function(t,s){return t===void 0?arguments.length<2?\"\":s:e(t)}}),p5=()=>J(149),Zf=J.cw(n=>{var e=hn(),t=L6(),s=Gp(),i=Vp(),r=_6(),a=r5(),o=Zp(),l=\">\",c=\"<\",f=\"prototype\",h=\"script\",u=o(\"IE_PROTO\"),d=function(){},p=function(w){return c+h+l+w+c+\"/\"+h+l},m=function(w){w.write(p(\"\")),w.close();var v=w.parentWindow.Object;return w=null,v},g=function(){var w=a(\"iframe\"),v=\"java\"+h+\":\",k;return w.style.display=\"none\",r.appendChild(w),w.src=String(v),k=w.contentWindow.document,k.open(),k.write(p(\"document.F=Object\")),k.close(),k.F},b,x=function(){try{b=new ActiveXObject(\"htmlfile\")}catch{}x=typeof document<\"u\"?document.domain&&b?m(b):g():m(b);for(var w=s.length;w--;)delete x[f][s[w]];return x()};i[u]=!0,n.exports=Object.create||function(v,k){var j;return v!==null?(d[f]=e(v),j=new d,d[f]=null,j[u]=v):j=x(),k===void 0?j:t.f(j,k)}}),L6=J.cw((n,e)=>{var t=os(),s=q5(),i=jr(),r=hn(),a=n0(),o=G6();e.f=t&&!s?Object.defineProperties:function(c,f){r(c);for(var h=a(f),u=o(f),d=u.length,p=0,m;d>p;)i.f(c,m=u[p++],h[m]);return c}}),jr=J.cw((n,e)=>{var t=os(),s=l5(),i=q5(),r=hn(),a=j5(),o=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f=\"enumerable\",h=\"configurable\",u=\"writable\";e.f=t?i?function(p,m,g){if(r(p),m=a(m),r(g),typeof p==\"function\"&&m===\"prototype\"&&\"value\"in g&&u in g&&!g[u]){var b=c(p,m);b&&b[u]&&(p[m]=g.value,g={configurable:h in g?g[h]:b[h],enumerable:f in g?g[f]:b[f],writable:!1})}return l(p,m,g)}:l:function(p,m,g){if(r(p),m=a(m),r(g),s)try{return l(p,m,g)}catch{}if(\"get\"in g||\"set\"in g)throw new o(\"Accessors not supported\");return\"value\"in g&&(p[m]=g.value),p}}),m5=J.cw((n,e)=>{var t=os(),s=kn(),i=W6(),r=Kf(),a=n0(),o=j5(),l=ls(),c=l5(),f=Object.getOwnPropertyDescriptor;e.f=t?f:function(u,d){if(u=a(u),d=o(d),c)try{return f(u,d)}catch{}if(l(u,d))return r(!s(i.f,u,d),u[d])}}),z6=J.cw((n,e)=>{var t=g5(),s=Gp(),i=s.concat(\"length\",\"prototype\");e.f=Object.getOwnPropertyNames||function(a){return t(a,i)}}),U6=()=>J(717),Yp=J.cw(n=>{var e=ls(),t=On(),s=nm(),i=Zp(),r=p6(),a=i(\"IE_PROTO\"),o=Object,l=o.prototype;n.exports=r?o.getPrototypeOf:function(c){var f=s(c);if(e(f,a))return f[a];var h=f.constructor;return t(h)&&f instanceof h?h.prototype:f instanceof o?l:null}}),e0=J.cw(n=>{var e=Yt();n.exports=e({}.isPrototypeOf)}),g5=J.cw(n=>{var e=Yt(),t=ls(),s=n0(),i=Lp().indexOf,r=Vp(),a=e([].push);n.exports=function(o,l){var c=s(o),f=0,h=[],u;for(u in c)!t(r,u)&&t(c,u)&&a(h,u);for(;l.length>f;)t(c,u=l[f++])&&(~i(h,u)||a(h,u));return h}}),G6=J.cw(n=>{var e=g5(),t=Gp();n.exports=Object.keys||function(i){return e(i,t)}}),W6=J.cw((n,e)=>{var t={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,i=s&&!t.call({1:2},1);e.f=i?function(a){var o=s(this,a);return!!o&&o.enumerable}:t}),Jp=J.cw(n=>{var e=Wp(),t=cs(),s=w5(),i=s6();n.exports=Object.setPrototypeOf||(\"__proto__\"in{}?(function(){var r=!1,a={},o;try{o=e(Object.prototype,\"__proto__\",\"set\"),o(a,[]),r=a instanceof Array}catch{}return function(c,f){return s(c),i(f),t(c)&&(r?o(c,f):c.__proto__=f),c}})():void 0)}),$6=J.cw(n=>{var e=kn(),t=On(),s=cs(),i=TypeError;n.exports=function(r,a){var o,l;if(a===\"string\"&&t(o=r.toString)&&!s(l=e(o,r))||t(o=r.valueOf)&&!s(l=e(o,r))||a!==\"string\"&&t(o=r.toString)&&!s(l=e(o,r)))return l;throw new i(\"Can't convert object to primitive value\")}}),V6=J.cw(n=>{var e=kr(),t=Yt(),s=z6(),i=U6(),r=hn(),a=t([].concat);n.exports=e(\"Reflect\",\"ownKeys\")||function(l){var c=s.f(r(l)),f=i.f;return f?a(c,f(l)):c}}),b5=J.cw(n=>{var e=Yt(),t=ls(),s=SyntaxError,i=parseInt,r=String.fromCharCode,a=e(\"\".charAt),o=e(\"\".slice),l=e(/./.exec),c={'\\\\\"':'\"',\"\\\\\\\\\":\"\\\\\",\"\\\\/\":\"/\",\"\\\\b\":\"\\b\",\"\\\\f\":\"\\f\",\"\\\\n\":`\n`,\"\\\\r\":\"\\r\",\"\\\\t\":\"\t\"},f=/^[\\da-f]{4}$/i,h=/^[\\u0000-\\u001F]$/;n.exports=function(u,d){for(var p=!0,m=\"\";d<u.length;){var g=a(u,d);if(g===\"\\\\\"){var b=o(u,d,d+2);if(t(c,b))m+=c[b],d+=2;else if(b===\"\\\\u\"){d+=2;var x=o(u,d,d+4);if(!l(f,x))throw new s(\"Bad Unicode escape at: \"+d);m+=r(i(x,16)),d+=4}else throw new s('Unknown escape sequence: \"'+b+'\"')}else if(g==='\"'){p=!1,d++;break}else{if(l(h,g))throw new s(\"Bad control character in string literal at: \"+d);m+=g,d++}}if(p)throw new s(\"Unterminated string at: \"+d);return{value:m,end:d}}}),K6=()=>J(103),X6=J.cw(n=>{var e=hn(),t=cs(),s=d5();n.exports=function(i,r){if(e(i),t(r)&&r.constructor===i)return r;var a=s.f(i),o=a.resolve;return o(r),a.promise}}),w5=()=>J(750),Qp=J.cw(n=>{var e=Ri(),t=ql(),s=e.Set,i=e.add;n.exports=function(r){var a=new s;return t(r,function(o){i(a,o)}),a}}),Y6=J.cw(n=>{var e=Jr(),t=Ri(),s=Qp(),i=_l(),r=Zr(),a=ql(),o=ea(),l=t.has,c=t.remove;n.exports=function(h){var u=e(this),d=r(h),p=s(u);return i(p)<=d.size?a(p,function(m){d.includes(m)&&c(p,m)}):o(d.getIterator(),function(m){l(p,m)&&c(p,m)}),p}}),Ri=J.cw(n=>{var e=Yt(),t=Set.prototype;n.exports={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t}}),J6=J.cw(n=>{var e=Jr(),t=Ri(),s=_l(),i=Zr(),r=ql(),a=ea(),o=t.Set,l=t.add,c=t.has;n.exports=function(h){var u=e(this),d=i(h),p=new o;return s(u)>d.size?a(d.getIterator(),function(m){c(u,m)&&l(p,m)}):r(u,function(m){d.includes(m)&&l(p,m)}),p}}),Q6=J.cw(n=>{var e=Jr(),t=Ri().has,s=_l(),i=Zr(),r=ql(),a=ea(),o=fs();n.exports=function(c){var f=e(this),h=i(c);if(s(f)<=h.size)return r(f,function(d){if(h.includes(d))return!1},!0)!==!1;var u=h.getIterator();return a(u,function(d){if(t(f,d))return o(u.iterator,\"normal\",!1)})!==!1}}),Z6=J.cw(n=>{var e=Jr(),t=_l(),s=ql(),i=Zr();n.exports=function(a){var o=e(this),l=i(a);return t(o)>l.size?!1:s(o,function(c){if(!l.includes(c))return!1},!0)!==!1}}),e7=J.cw(n=>{var e=Jr(),t=Ri().has,s=_l(),i=Zr(),r=ea(),a=fs();n.exports=function(l){var c=e(this),f=i(l);if(s(c)<f.size)return!1;var h=f.getIterator();return r(h,function(u){if(!t(c,u))return a(h.iterator,\"normal\",!1)})!==!1}}),ql=J.cw(n=>{var e=Yt(),t=ea(),s=Ri(),i=s.Set,r=s.proto,a=e(r.forEach),o=e(r.keys),l=o(new i).next;n.exports=function(c,f,h){return h?t({iterator:o(c),next:l},f):a(c,f)}}),ta=J.cw(n=>{var e=kr(),t=function(i){return{size:i,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},s=function(i){return{size:i,has:function(){return!0},keys:function(){throw new Error(\"e\")}}};n.exports=function(i,r){var a=e(\"Set\");try{new a()[i](t(0));try{return new a()[i](t(-1)),!1}catch{if(!r)return!0;try{return new a()[i](s(-1/0)),!1}catch{var o=new a([1,2]);return r(o[i](s(1/0)))}}}catch{return!1}}}),x5=()=>J(835),_l=J.cw(n=>{var e=Wp(),t=Ri();n.exports=e(t.proto,\"size\",\"get\")||function(s){return s.size}}),t7=J.cw(n=>{var e=Jr(),t=Ri(),s=Qp(),i=Zr(),r=ea(),a=t.add,o=t.has,l=t.remove;n.exports=function(f){var h=e(this),u=i(f).getIterator(),d=s(h);return r(u,function(p){o(h,p)?l(d,p):a(d,p)}),d}}),n7=J.cw(n=>{var e=Jr(),t=Ri().add,s=Qp(),i=Zr(),r=ea();n.exports=function(o){var l=e(this),c=i(o).getIterator(),f=s(l);return r(c,function(h){t(f,h)}),f}}),Zp=J.cw(n=>{var e=v5(),t=r0(),s=e(\"keys\");n.exports=function(i){return s[i]||(s[i]=t(i))}}),em=J.cw(n=>{var e=As(),t=Jt(),s=Up(),i=\"__core-js_shared__\",r=n.exports=t[i]||s(i,{});(r.versions||(r.versions=[])).push({version:\"3.51.0\",mode:e?\"pure\":\"global\",copyright:\"\\xA9 2013\\u20132025 Denis Pushkarev (zloirock.ru), 2025\\u20132026 CoreJS Company (core-js.io). All rights reserved.\",license:\"https://github.com/zloirock/core-js/blob/v3.51.0/LICENSE\",source:\"https://github.com/zloirock/core-js\"})}),v5=J.cw(n=>{var e=em(),t=Object.create||Object;n.exports=function(s,i){return e[s]||(e[s]=i||t(null))}}),t0=J.cw(n=>{var e=v6(),t=un(),s=Jt(),i=s.String;n.exports=!!Object.getOwnPropertySymbols&&!t(function(){var r=Symbol(\"symbol detection\");return!i(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&e&&e<41})}),s7=J.cw(n=>{var e=Yt();n.exports=e(1.1.valueOf)}),i7=J.cw(n=>{var e=tm(),t=Math.max,s=Math.min;n.exports=function(i,r){var a=e(i);return a<0?t(a+r,0):s(a,r)}}),r7=J.cw(n=>{var e=k5(),t=TypeError;n.exports=function(s){var i=e(s,\"number\");if(typeof i==\"number\")throw new t(\"Can't convert number to bigint\");return BigInt(i)}}),n0=J.cw(n=>{var e=I6(),t=w5();n.exports=function(s){return e(t(s))}}),tm=()=>J(291),a7=()=>J(14),nm=()=>J(981),y5=()=>J(590),k5=J.cw(n=>{var e=kn(),t=cs(),s=Xp(),i=Jf(),r=$6(),a=ei(),o=TypeError,l=a(\"toPrimitive\");n.exports=function(c,f){if(!t(c)||s(c))return c;var h=i(c,l),u;if(h){if(f===void 0&&(f=\"default\"),u=e(h,c,f),!t(u)||s(u))return u;throw new o(\"Can't convert object to primitive value\")}return f===void 0&&(f=\"number\"),r(c,f)}}),j5=J.cw(n=>{var e=k5(),t=Xp();n.exports=function(s){var i=e(s,\"string\");return t(i)?i:i+\"\"}}),o7=J.cw(n=>{var e=ei(),t=e(\"toStringTag\"),s={};s[t]=\"z\",n.exports=String(s)===\"[object z]\"}),s0=J.cw(n=>{var e=$f(),t=String;n.exports=function(s){if(e(s)===\"Symbol\")throw new TypeError(\"Cannot convert a Symbol value to a string\");return t(s)}}),i0=J.cw(n=>{var e=String;n.exports=function(t){try{return e(t)}catch{return\"Object\"}}}),r0=J.cw(n=>{var e=Yt(),t=0,s=Math.random(),i=e(1.1.toString);n.exports=function(r){return\"Symbol(\"+(r===void 0?\"\":r)+\")_\"+i(++t+s,36)}}),A5=J.cw(n=>{var e=Jt(),t=Yt(),s=e5(),i=Qv(),r=ls(),a=n5(),o=a5(),l=Wf(),c=a.c2i,f=a.c2iUrl,h=e.SyntaxError,u=e.TypeError,d=e.Array,p=t(\"\".charAt),m=Math.floor,g=function(w,v){for(var k=w.length;v<k;v++){var j=p(w,v);if(j!==\" \"&&j!==\"\t\"&&j!==`\n`&&j!==\"\\f\"&&j!==\"\\r\")break}return v},b=function(w,v,k){var j=w.length;j<4&&(w+=j===2?\"AA\":\"A\");var A=(v[p(w,0)]<<18)+(v[p(w,1)]<<12)+(v[p(w,2)]<<6)+v[p(w,3)],S=[A>>16&255,A>>8&255,A&255];if(j===2){if(k&&S[1]!==0)throw new h(\"Extra bits\");return[S[0]]}if(j===3){if(k&&S[2]!==0)throw new h(\"Extra bits\");return[S[0],S[1]]}return S},x=function(w,v,k){for(var j=v.length,A=0;A<j;A++)w[k+A]=v[A];return k+j};n.exports=function(w,v,k,j){i(w),s(v);var A=o(v)===\"base64\"?c:f,S=v?v.lastChunkHandling:void 0;if(S===void 0&&(S=\"loose\"),S!==\"loose\"&&S!==\"strict\"&&S!==\"stop-before-partial\")throw new u(\"Incorrect `lastChunkHandling` option\");k&&l(k.buffer);var q=w.length,_=k||d(m(q*3/4)),I=0,C=0,T=\"\",M=0;if(j)for(;;){if(M=g(w,M),M===q){if(T.length>0){if(S===\"stop-before-partial\")break;if(S===\"loose\"){if(T.length===1)throw new h(\"Malformed padding: exactly one additional character\");I=x(_,b(T,A,!1),I)}else throw new h(\"Missing padding\")}C=q;break}var E=p(w,M);if(++M,E===\"=\"){if(T.length<2)throw new h(\"Padding is too early\");if(M=g(w,M),T.length===2){if(M===q){if(S===\"stop-before-partial\")break;throw new h(\"Malformed padding: only one =\")}p(w,M)===\"=\"&&(++M,M=g(w,M))}if(M<q)throw new h(\"Unexpected character after padding\");I=x(_,b(T,A,S===\"strict\"),I),C=q;break}if(!r(A,E))throw new h(\"Unexpected character\");var G=j-I;if(G===1&&T.length===2||G===2&&T.length===3||(T+=E,T.length===4&&(I=x(_,b(T,A,!1),I),T=\"\",C=M,I===j)))break}return k||(_.length=I),{bytes:_,read:C,written:I}}}),l7=J.cw(n=>{var e=Jt(),t=Yt(),s=e.Uint8Array,i=e.SyntaxError,r=Math.min,a=t(\"\".match);n.exports=function(o,l){var c=o.length;if(c%2!==0)throw new i(\"String should be an even number of characters\");for(var f=l?r(l.length,c/2):c/2,h=l||new s(f),u=a(o,/[\\S\\s]{2}/g),d=0;d<f;d++){var p=+(\"0x\"+u[d]+\"0\");if(p!==p)throw new i(\"String should only contain hex characters\");h[d]=p>>4}return{bytes:h,read:d<<1}}}),c7=J.cw(n=>{var e=un(),t=ei(),s=os(),i=As(),r=t(\"iterator\");n.exports=!e(function(){var a=new URL(\"b?a=1&b=2&c=3\",\"https://a\"),o=a.searchParams,l=new URLSearchParams(\"a=1&a=2&b=3\"),c=\"\";return a.pathname=\"c%20d\",o.forEach(function(f,h){o.delete(\"b\"),c+=h+f}),l.delete(\"a\",2),l.delete(\"b\",void 0),i&&(!a.toJSON||!l.has(\"a\",1)||l.has(\"a\",2)||!l.has(\"a\",void 0)||l.has(\"b\"))||!o.size&&(i||!s)||!o.sort||a.href!==\"https://a/c%20d?a=1&c=3\"||o.get(\"c\")!==\"3\"||String(new URLSearchParams(\"?a=1\"))!==\"a=1\"||!o[r]||new URL(\"https://a@b\").username!==\"a\"||new URLSearchParams(new URLSearchParams(\"a=b\")).get(\"a\")!==\"b\"||new URL(\"https://\\u0442\\u0435\\u0441\\u0442\").host!==\"xn--e1aybc\"||new URL(\"https://a#\\u0431\").hash!==\"#%D0%B1\"||c!==\"a1c3\"||new URL(\"https://x\",void 0).host!==\"x\"})}),S5=J.cw(n=>{var e=t0();n.exports=e&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\"}),q5=J.cw(n=>{var e=os(),t=un();n.exports=e&&t(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!==42})}),f7=()=>J(812),h7=J.cw(n=>{var e=Jt(),t=On(),s=e.WeakMap;n.exports=t(s)&&/native code/.test(String(s))}),a0=J.cw(n=>{var e=Yt(),t=WeakMap.prototype;n.exports={WeakMap,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete)}}),ei=J.cw(n=>{var e=Jt(),t=v5(),s=ls(),i=r0(),r=t0(),a=S5(),o=e.Symbol,l=t(\"wks\"),c=a?o.for||o:o&&o.withoutSetter||i;n.exports=function(f){return s(l,f)||(l[f]=r&&s(o,f)?o[f]:c(\"Symbol.\"+f)),l[f]}}),u7=J.cw(()=>{var n=Ct(),e=Lp().includes,t=un(),s=a6(),i=t(function(){return!Array(1).includes()}),r=t(function(){return[,1].includes(void 0,1)});n({target:\"Array\",proto:!0,forced:i||r},{includes:function(o){return e(this,o,arguments.length>1?arguments[1]:void 0)}}),s(\"includes\")}),d7=J.cw(()=>{var n=Ct(),e=nm(),t=so(),s=h6(),i=b6(),r=un(),a=r(function(){return[].push.call({length:4294967296},1)!==4294967297}),o=function(){try{Object.defineProperty([],\"length\",{writable:!1}).push()}catch(c){return c instanceof TypeError}},l=a||!o();n({target:\"Array\",proto:!0,arity:1,forced:l},{push:function(f){var h=e(this),u=t(h),d=arguments.length;i(u+d);for(var p=0;p<d;p++)h[u]=arguments[p],u++;return s(h,u),u}})}),p7=J.cw(()=>{var n=Ct(),e=Jt(),t=Zv(),s=hn(),i=On(),r=Yp(),a=i5(),o=zp(),l=un(),c=ls(),f=ei(),h=f5().IteratorPrototype,u=os(),d=As(),p=\"constructor\",m=\"Iterator\",g=f(\"toStringTag\"),b=TypeError,x=e[m],w=d||!i(x)||x.prototype!==h||!l(function(){x({})}),v=function(){if(t(this,h),r(this)===h)throw new b(\"Abstract class Iterator not directly constructable\")},k=function(j,A){u?a(h,j,{configurable:!0,get:function(){return A},set:function(S){if(s(this),this===h)throw new b(\"You can't redefine this property\");c(this,j)?this[j]=S:o(this,j,S)}}):h[j]=A};c(h,g)||k(g,m),(w||!c(h,p)||h[p]===Object)&&k(p,v),v.prototype=h,n({global:!0,constructor:!0,forced:w},{Iterator:v})}),m7=J.cw(()=>{var n=Ct(),e=kn(),t=hn(),s=Zs(),i=p5(),r=y5(),a=fs(),o=Al(),l=Sl(),c=er(),f=As(),h=RangeError,u=1/0,d=!f&&!l(\"drop\",0),p=!f&&!d&&c(\"drop\",RangeError),m=f||d||p||!(function(){try{Iterator.prototype.drop.call({next:function(){return{done:!0}}},9007199254740992)}catch(b){return b instanceof h}})(),g=o(function(){for(var b=this.iterator,x=this.next,w,v;this.remaining;)if(this.remaining--,w=t(e(x,b)),v=this.done=!!w.done,v)return;if(w=t(e(x,b)),v=this.done=!!w.done,!v)return w.value});n({target:\"Iterator\",proto:!0,real:!0,forced:m},{drop:function(x){t(this);var w;try{if(w=r(i(+x)),w>9007199254740991&&w!==u)throw new h(\"The argument should be a safe integer\")}catch(v){a(this,\"throw\",v)}return p?e(p,this,w):new g(s(this),{remaining:w})}})}),g7=J.cw(()=>{var n=Ct(),e=kn(),t=no(),s=as(),i=hn(),r=Zs(),a=fs(),o=er(),l=o(\"every\",TypeError);n({target:\"Iterator\",proto:!0,real:!0,forced:l},{every:function(f){i(this);try{s(f)}catch(d){a(this,\"throw\",d)}if(l)return e(l,this,f);var h=r(this),u=0;return!t(h,function(d,p){if(!f(d,u++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}),b7=J.cw(()=>{var n=Ct(),e=kn(),t=as(),s=hn(),i=Zs(),r=Al(),a=s5(),o=As(),l=fs(),c=Sl(),f=er(),h=!o&&!c(\"filter\",function(){}),u=!o&&!h&&f(\"filter\",TypeError),d=o||h||u,p=r(function(){for(var m=this.iterator,g=this.predicate,b=this.next,x,w,v;;){if(x=s(e(b,m)),w=this.done=!!x.done,w)return;if(v=x.value,a(m,g,[v,this.counter++],!0))return v}});n({target:\"Iterator\",proto:!0,real:!0,forced:d},{filter:function(g){s(this);try{t(g)}catch(b){l(this,\"throw\",b)}return u?e(u,this,g):new p(i(this),{predicate:g})}})}),w7=J.cw(()=>{var n=Ct(),e=kn(),t=no(),s=as(),i=hn(),r=Zs(),a=fs(),o=er(),l=o(\"find\",TypeError);n({target:\"Iterator\",proto:!0,real:!0,forced:l},{find:function(f){i(this);try{s(f)}catch(d){a(this,\"throw\",d)}if(l)return e(l,this,f);var h=r(this),u=0;return t(h,function(d,p){if(f(d,u++))return p(d)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}),x7=J.cw(()=>{var n=Ct(),e=kn(),t=as(),s=hn(),i=Zs(),r=q6(),a=Al(),o=fs(),l=un(),c=As(),f=Sl(),h=er(),u=!c&&l(function(){return[1].values().flatMap(function(){return[1]}).find(function(){return!0})!==1}),d=!c&&!u&&!f(\"flatMap\",function(){}),p=!c&&!u&&!d&&h(\"flatMap\",TypeError),m=c||u||d||p,g=a(function(){for(var b=this.iterator,x=this.mapper,w,v;;){if(v=this.inner)try{if(w=s(e(v.next,v.iterator)),!w.done)return w.value;this.inner=null}catch(k){o(b,\"throw\",k)}if(w=s(e(this.next,b)),this.done=!!w.done)return;try{this.inner=r(x(w.value,this.counter++),!1)}catch(k){o(b,\"throw\",k)}}});n({target:\"Iterator\",proto:!0,real:!0,forced:m},{flatMap:function(x){s(this);try{t(x)}catch(w){o(this,\"throw\",w)}return p?e(p,this,x):new g(i(this),{mapper:x,inner:null})}})}),v7=J.cw(()=>{var n=Ct(),e=kn(),t=no(),s=as(),i=hn(),r=Zs(),a=fs(),o=er(),l=o(\"forEach\",TypeError);n({target:\"Iterator\",proto:!0,real:!0,forced:l},{forEach:function(f){i(this);try{s(f)}catch(d){a(this,\"throw\",d)}if(l)return e(l,this,f);var h=r(this),u=0;t(h,function(d){f(d,u++)},{IS_RECORD:!0})}})}),y7=J.cw(()=>{var n=Ct(),e=kn(),t=as(),s=hn(),i=Zs(),r=Al(),a=s5(),o=fs(),l=Sl(),c=er(),f=As(),h=!f&&!l(\"map\",function(){}),u=!f&&!h&&c(\"map\",TypeError),d=f||h||u,p=r(function(){var m=this.iterator,g=s(e(this.next,m)),b=this.done=!!g.done;if(!b)return a(m,this.mapper,[g.value,this.counter++],!0)});n({target:\"Iterator\",proto:!0,real:!0,forced:d},{map:function(g){s(this);try{t(g)}catch(b){o(this,\"throw\",b)}return u?e(u,this,g):new p(i(this),{mapper:g})}})}),k7=J.cw(()=>{var n=Ct(),e=kn(),t=no(),s=as(),i=hn(),r=Zs(),a=fs(),o=er(),l=o(\"some\",TypeError);n({target:\"Iterator\",proto:!0,real:!0,forced:l},{some:function(f){i(this);try{s(f)}catch(d){a(this,\"throw\",d)}if(l)return e(l,this,f);var h=r(this),u=0;return t(h,function(d,p){if(f(d,u++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}),j7=J.cw(()=>{var n=Ct(),e=kn(),t=hn(),s=Zs(),i=p5(),r=y5(),a=Al(),o=fs(),l=Sl(),c=er(),f=As(),h=RangeError,u=1/0,d=!f&&!l(\"take\",1),p=!f&&!d&&c(\"take\",RangeError),m=f||d||p||!(function(){try{Iterator.prototype.take.call({next:function(){return{done:!0}}},9007199254740992)}catch(b){return b instanceof h}})(),g=a(function(){var b=this.iterator;if(!this.remaining--)return this.done=!0,o(b,\"normal\",void 0);var x=t(e(this.next,b)),w=this.done=!!x.done;if(!w)return x.value});n({target:\"Iterator\",proto:!0,real:!0,forced:m},{take:function(x){t(this);var w;try{if(w=r(i(+x)),w>9007199254740991&&w!==u)throw new h(\"The argument should be a safe integer\")}catch(v){o(this,\"throw\",v)}return p?e(p,this,w):new g(s(this),{remaining:w})}})}),A7=J.cw(()=>{var n=Ct(),e=hn(),t=zp(),s=no(),i=Zs();n({target:\"Iterator\",proto:!0,real:!0},{toArray:function(){var a=[],o=0;return s(i(e(this)),function(l){t(a,o++,l)},{IS_RECORD:!0}),a}})}),S7=J.cw(()=>{var n=Ct(),e=os(),t=Jt(),s=kr(),i=Yt(),r=kn(),a=On(),o=cs(),l=Kp(),c=ls(),f=s0(),h=so(),u=zp(),d=un(),p=b5(),m=t0(),g=t.JSON,b=t.Number,x=t.SyntaxError,w=g&&g.parse,v=s(\"Object\",\"keys\"),k=Object.getOwnPropertyDescriptor,j=i(\"\".charAt),A=i(\"\".slice),S=i(/./.exec),q=i([].push),_=/^\\d$/,I=/^[1-9]$/,C=/^[\\d-]$/,T=/^[\\t\\n\\r ]$/,M=0,E=1,G=function(ue,re){ue=f(ue);var H=new ee(ue,0),O=H.parse(),z=O.value,V=H.skip(T,O.end);if(V<ue.length)throw new x('Unexpected extra character: \"'+j(ue,V)+'\" after the parsed data at: '+V);return a(re)?D({\"\":z},\"\",re,O):z},D=function(ue,re,H,O){var z=ue[re],V=O&&z===O.value,$=V&&typeof O.source==\"string\"?{source:O.source}:{},te,ie,le,Ae,Oe;if(o(z)){var De=l(z),Ye=V?O.nodes:De?[]:{};if(De)for(te=Ye.length,le=h(z),Ae=0;Ae<le;Ae++)N(z,Ae,D(z,\"\"+Ae,H,Ae<te?Ye[Ae]:void 0));else for(ie=v(z),le=h(ie),Ae=0;Ae<le;Ae++)Oe=ie[Ae],N(z,Oe,D(z,Oe,H,c(Ye,Oe)?Ye[Oe]:void 0))}return r(H,ue,re,z,$)},N=function(ue,re,H){if(e){var O=k(ue,re);if(O&&!O.configurable)return}H===void 0?delete ue[re]:u(ue,re,H)},K=function(ue,re,H,O){this.value=ue,this.end=re,this.source=H,this.nodes=O},ee=function(ue,re){this.source=ue,this.index=re};ee.prototype={fork:function(ue){return new ee(this.source,ue)},parse:function(){var ue=this.source,re=this.skip(T,this.index),H=this.fork(re),O=j(ue,re);if(S(C,O))return H.number();switch(O){case\"{\":return H.object();case\"[\":return H.array();case'\"':return H.string();case\"t\":return H.keyword(!0);case\"f\":return H.keyword(!1);case\"n\":return H.keyword(null)}throw new x('Unexpected character: \"'+O+'\" at: '+re)},node:function(ue,re,H,O,z){return new K(re,O,ue?null:A(this.source,H,O),z)},object:function(){for(var ue=this.source,re=this.index+1,H=!1,O={},z={},V=!1;re<ue.length;){if(re=this.until(['\"',\"}\"],re),j(ue,re)===\"}\"&&!H){re++,V=!0;break}var $=this.fork(re).string(),te=$.value;re=$.end,re=this.until([\":\"],re)+1,re=this.skip(T,re),$=this.fork(re).parse(),u(z,te,$),u(O,te,$.value),re=this.until([\",\",\"}\"],$.end);var ie=j(ue,re);if(ie===\",\")H=!0,re++;else if(ie===\"}\"){re++,V=!0;break}}if(!V)throw new x(\"Unterminated object at: \"+re);return this.node(E,O,this.index,re,z)},array:function(){for(var ue=this.source,re=this.index+1,H=!1,O=[],z=[],V=!1;re<ue.length;){if(re=this.skip(T,re),j(ue,re)===\"]\"&&!H){re++,V=!0;break}var $=this.fork(re).parse();if(q(z,$),q(O,$.value),re=this.until([\",\",\"]\"],$.end),j(ue,re)===\",\")H=!0,re++;else if(j(ue,re)===\"]\"){re++,V=!0;break}}if(!V)throw new x(\"Unterminated array at: \"+re);return this.node(E,O,this.index,re,z)},string:function(){var ue=this.index,re=p(this.source,this.index+1);return this.node(M,re.value,ue,re.end)},number:function(){var ue=this.source,re=this.index,H=re;if(j(ue,H)===\"-\"&&H++,j(ue,H)===\"0\")H++;else if(S(I,j(ue,H)))H=this.skip(_,H+1);else throw new x(\"Failed to parse number at: \"+H);if(j(ue,H)===\".\"){var O=H+1;if(H=this.skip(_,O),O===H)throw new x(\"Failed to parse number's fraction at: \"+H)}if(j(ue,H)===\"e\"||j(ue,H)===\"E\"){H++,(j(ue,H)===\"+\"||j(ue,H)===\"-\")&&H++;var z=H;if(H=this.skip(_,H),z===H)throw new x(\"Failed to parse number's exponent value at: \"+H)}return this.node(M,b(A(ue,re,H)),re,H)},keyword:function(ue){var re=\"\"+ue,H=this.index,O=H+re.length;if(A(this.source,H,O)!==re)throw new x(\"Failed to parse value at: \"+H);return this.node(M,ue,H,O)},skip:function(ue,re){for(var H=this.source;re<H.length&&S(ue,j(H,re));re++);return re},until:function(ue,re){re=this.skip(T,re);for(var H=j(this.source,re),O=0;O<ue.length;O++)if(ue[O]===H)return re;throw new x('Unexpected character: \"'+H+'\" at: '+re)}};var de=d(function(){var ue=\"9007199254740993\",re;return w(ue,function(H,O,z){re=z.source}),re!==ue}),X=m&&!d(function(){return 1/w(\"-0 \t\")!==-1/0});n({target:\"JSON\",stat:!0,forced:de},{parse:function(re,H){return X&&!a(H)?w(re):G(re,H)}})}),q7=J.cw(()=>{var n=Ct(),e=kr(),t=kn(),s=Yt(),i=un(),r=Kp(),a=On(),o=cs(),l=Zf(),c=M6(),f=Xp(),h=Qr(),u=s7(),d=Lp().includes,p=ls(),m=s0(),g=b5(),b=r0(),x=t0(),w=N6(),v=String,k=TypeError,j=e(\"JSON\",\"stringify\"),A=e(\"BigInt\"),S=s(\"\".valueOf),q=s((!0).valueOf),_=A&&s(A.prototype.valueOf),I=s(/./.exec),C=s(\"\".charAt),T=s(\"\".charCodeAt),M=s(\"\".replace),E=s(\"\".slice),G=s([].push),D=s([].pop),N=s(1.1.toString),K=/[\\uD800-\\uDFFF]/g,ee=/^[\\uD800-\\uDBFF]$/,de=/^[\\uDC00-\\uDFFF]$/,X=/^\\d+$/,ue=b(),re=b(),H=b(),O=ue.length,z=re.length,V=!x||i(function(){var he=e(\"Symbol\")(\"stringify detection\");return j([he])!==\"[null]\"||j({a:he})!==\"{}\"||j(Object(he))!==\"{}\"}),$=i(function(){return j(\"\\uDF06\\uD834\")!=='\"\\\\udf06\\\\ud834\"'||j(\"\\uDEAD\")!=='\"\\\\udead\"'}),te=w?e(\"JSON\",\"isRawJSON\"):c,ie=V?function(he,ae,me){return j(he,function(ge,qe){var ye=t(ae,this,ge,qe);if(!f(ye))return ye},me)}:j,le=function(he,ae,me){var ge=C(me,ae-1),qe=C(me,ae+1);return I(ee,he)&&!I(de,qe)||I(de,he)&&!I(ee,ge)?\"\\\\u\"+N(T(he,0),16):he},Ae=function(he){if(r(he)){for(var ae=he.length,me=[],ge=l(null),qe=0;qe<ae;qe++){var ye=he[qe],Re;if(typeof ye==\"string\")Re=ye;else if(typeof ye==\"number\"||h(ye)===\"Number\"||h(ye)===\"String\")Re=m(ye);else continue;p(ge,Re)||(ge[Re]=!0,G(me,Re))}return me}},Oe=function(he,ae){try{return he(ae),!0}catch{return!1}},De=function(he){var ae=h(he);return ae===\"Number\"&&Oe(u,he)||ae===\"String\"&&Oe(S,he)||ae===\"Boolean\"&&Oe(q,he)||!!_&&ae===\"BigInt\"&&Oe(_,he)},Ye=function(he){if(!o(he)||a(he)||r(he))return!1;try{return!De(he)}catch{return!0}},lt=function(he,ae){return{toJSON:function(){var me=he[ae];if(o(me)||typeof me==\"bigint\"){var ge=me.toJSON;a(ge)&&(me=t(ge,me,ae))}return me}}},Le=function(he){for(var ae=0,me=he.length;ae<me;ae++)if(I(X,he[ae]))return re;return\"\"},Se=function(he,ae,me){for(var ge=l(null),qe=0,ye=ae.length;qe<ye;qe++){var Re=ae[qe];ge[me+Re]=lt(he,Re)}return ge[H]=null,ge};j&&n({target:\"JSON\",stat:!0,arity:3,forced:V||$||!w},{stringify:function(ae,me,ge){var qe=a(me)?me:void 0,ye=qe?void 0:Ae(me),Re=ye&&Le(ye),Fe=[],Ge=[],Ve=[],ke,Ce=!1,Ue=!0,we=ie(ae,function(xn,Wt){if(xn=v(xn),ye){if(xn===H){D(Ge),ke=D(Ve);return}if(Ue)Ue=!1;else if(this!==ke&&!r(this)&&!d(ye,xn))return}else qe&&(Wt=t(qe,this,xn,Wt));if(te(Wt))return w?Wt:(Ce=!0,ue+(G(Fe,Wt.rawJSON)-1));if(ye&&Ye(Wt)){if(d(Ge,Wt))throw new k(\"Converting circular structure to JSON\");var qi=Se(Wt,ye,Re);return G(Ge,Wt),G(Ve,ke),ke=qi,Re&&(Ce=!0),qi}return Wt},ge);if(typeof we!=\"string\"||($&&(we=M(we,K,le)),!Ce))return we;for(var Ne=\"\",gt=we.length,it=0;it<gt;it++){var Nt=C(we,it);if(Nt==='\"'){var wn=g(we,++it).end-1,en=E(we,it,wn);E(en,0,O)===ue?Ne+=Fe[E(en,O)]:E(en,0,z)===re?Ne+='\"'+E(en,z)+'\"':Ne+='\"'+en+'\"',it=wn}else Ne+=Nt}return Ne}})}),_7=J.cw(()=>{var n=Ct(),e=as(),t=u5(),s=As(),i=t.get,r=t.has,a=t.set;n({target:\"Map\",proto:!0,real:!0,forced:s},{getOrInsertComputed:function(l,c){var f=r(this,l);if(e(c),f)return i(this,l);l===0&&1/l===-1/0&&(l=0);var h=c(l);return a(this,l,h),h}})}),I7=J.cw(()=>{var n=Ct(),e=u5(),t=As(),s=e.get,i=e.has,r=e.set;n({target:\"Map\",proto:!0,real:!0,forced:t},{getOrInsert:function(o,l){return i(this,o)?s(this,o):(r(this,o,l),l)}})}),C7=J.cw(()=>{var n=Ct(),e=Yt(),t=no(),s=un(),i=o5(),r=Jp(),a=ei(),o=RangeError,l=TypeError,c=1/0,f=NaN,h=Math.sumPrecise,u=Math.abs,d=Math.pow,p=e([].push),m=a(\"iterator\"),g=d(2,1023),b=d(2,53)-1,x=Number.MAX_VALUE,w=d(2,971),v={},k={},j={},A={},S={},q=s(function(){if(h([-1])!==-1||h([-x])!==-x)return!0;if(!r)return!1;try{return h(r([1],{})),!0}catch{}try{var I={};return I[m]=function(){return this},h(r(i([1]),I)),!0}catch{}}),_=function(I,C){var T=I+C,M=C-(T-I);return{hi:T,lo:M}};n({target:\"Math\",stat:!0,forced:q},{sumPrecise:function(C){var T=[],M=0,E=A;switch(t(C,function(te){if(++M>b)throw new o(\"Maximum allowed index exceeded\");if(typeof te!=\"number\")throw new l(\"Value is not a number\");E!==v&&(te!==te?E=v:te===c?E=E===k?v:j:te===-c?E=E===j?v:k:(te!==0||1/te===c)&&(E===A||E===S)&&(E=S,p(T,te)))}),E){case v:return f;case k:return-c;case j:return c;case A:return-0}for(var G=[],D=0,N,K,ee,de,X,ue,re=0;re<T.length;re++){N=T[re];for(var H=0,O=0;O<G.length;O++){if(K=G[O],u(N)<u(K)&&(ue=N,N=K,K=ue),ee=_(N,K),de=ee.hi,X=ee.lo,u(de)===c){var z=de===c?1:-1;D+=z,N=N-z*g-z*g,u(N)<u(K)&&(ue=N,N=K,K=ue),ee=_(N,K),de=ee.hi,X=ee.lo}X!==0&&(G[H++]=X),N=de}G.length=H,N!==0&&p(G,N)}var V=G.length-1;if(de=0,X=0,D!==0){var $=V>=0?G[V]:0;if(V--,u(D)>1||D>0&&$>0||D<0&&$<0)return D>0?c:-c;if(ee=_(D*g,$/2),de=ee.hi,X=ee.lo,X*=2,u(2*de)===c)return de>0?de===g&&X===-(w/2)&&V>=0&&G[V]<0?x:c:de===-g&&X===w/2&&V>=0&&G[V]>0?-x:-c;X!==0&&(G[++V]=X,X=0),de*=2}for(;V>=0&&(ee=_(de,G[V--]),de=ee.hi,X=ee.lo,X===0););return V>=0&&(X<0&&G[V]<0||X>0&&G[V]>0)&&(K=X*2,N=de+K,K===N-de&&(de=N)),de}})}),T7=J.cw(()=>{var n=Ct(),e=Jt(),t=k6(),s=u6(),i=X6(),r=d5(),a=as(),o=K6(),l=un(),c=e.Promise,f=!1,h=!c||!c.try||l(function(){var u=c.resolve();return c.try(function(d){return f=d===8,u},8)!==u})||!f;n({target:\"Promise\",stat:!0,forced:h},{try:function(u){var d=arguments.length>1?s(arguments,1):[],p=o(function(){return t(a(u),void 0,d)});if(!p.error)return i(this,p.value);var m=r.f(this),g=m.reject;return g(p.value),m.promise}})}),E7=J.cw(()=>{var n=Ct(),e=Y6(),t=un(),s=ta(),i=!s(\"difference\",function(a){return a.size===0}),r=i||t(function(){var a={size:1,has:function(){return!0},keys:function(){var l=0;return{next:function(){var c=l++>1;return o.has(1)&&o.clear(),{done:c,value:2}}}}},o=new Set([1,2,3,4]);return o.difference(a).size!==3});n({target:\"Set\",proto:!0,real:!0,forced:r},{difference:e})}),R7=J.cw(()=>{var n=Ct(),e=un(),t=J6(),s=ta(),i=!s(\"intersection\",function(r){return r.size===2&&r.has(1)&&r.has(2)})||e(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!==\"3,2\"});n({target:\"Set\",proto:!0,real:!0,forced:i},{intersection:t})}),F7=J.cw(()=>{var n=Ct(),e=Q6(),t=ta(),s=!t(\"isDisjointFrom\",function(i){return!i});n({target:\"Set\",proto:!0,real:!0,forced:s},{isDisjointFrom:e})}),O7=J.cw(()=>{var n=Ct(),e=Z6(),t=ta(),s=!t(\"isSubsetOf\",function(i){return i});n({target:\"Set\",proto:!0,real:!0,forced:s},{isSubsetOf:e})}),M7=J.cw(()=>{var n=Ct(),e=e7(),t=ta(),s=!t(\"isSupersetOf\",function(i){return!i});n({target:\"Set\",proto:!0,real:!0,forced:s},{isSupersetOf:e})}),P7=J.cw(()=>{var n=Ct(),e=t7(),t=x5(),s=ta(),i=!s(\"symmetricDifference\")||!t(\"symmetricDifference\");n({target:\"Set\",proto:!0,real:!0,forced:i},{symmetricDifference:e})}),B7=J.cw(()=>{var n=Ct(),e=n7(),t=x5(),s=ta(),i=!s(\"union\")||!t(\"union\");n({target:\"Set\",proto:!0,real:!0,forced:i},{union:e})}),D7=J.cw(()=>{var n=c6(),e=R6(),t=so(),s=tm(),i=r7(),r=n.aTypedArray,a=n.getTypedArrayConstructor,o=n.exportTypedArrayMethod,l=RangeError,c=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(h){return h===8}})(),f=c&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();o(\"with\",function(h,u){var d=r(this),p=t(d),m=s(h),g=m<0?p+m:m,b=e(d)?i(u):+u;if(g>=p||g<0)throw new l(\"Incorrect index\");for(var x=new(a(d))(p),w=0;w<p;w++)x[w]=w===g?b:d[w];return x},!c||f)}),N7=J.cw(()=>{var n=Ct(),e=Jt(),t=f6(),s=A5(),i=e.Uint8Array,r=!i||!i.fromBase64||!(function(){try{i.fromBase64(\"a\");return}catch{}try{i.fromBase64(\"\",null)}catch{return!0}})();i&&n({target:\"Uint8Array\",stat:!0,forced:r},{fromBase64:function(o){var l=s(o,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return t(i,l.bytes)}})}),H7=J.cw(()=>{var n=Ct(),e=Jt(),t=A5(),s=Gf(),i=e.Uint8Array,r=!i||!i.prototype.setFromBase64||!(function(){var a=new i([255,255,255,255,255]);try{a.setFromBase64(\"\",null);return}catch{}try{a.setFromBase64(\"a\");return}catch{}try{a.setFromBase64(\"MjYyZg===\")}catch{return a[0]===50&&a[1]===54&&a[2]===50&&a[3]===255&&a[4]===255}})();i&&n({target:\"Uint8Array\",proto:!0,forced:r},{setFromBase64:function(o){s(this);var l=t(o,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:l.read,written:l.written}}})}),L7=J.cw(()=>{var n=Ct(),e=Jt(),t=Qv(),s=Gf(),i=Wf(),r=l7();function a(){try{var o=new ArrayBuffer(16,{maxByteLength:1024});new Uint8Array(o).setFromHex(\"cafed00d\")}catch{return!0}}e.Uint8Array&&n({target:\"Uint8Array\",proto:!0,forced:a()},{setFromHex:function(l){s(this),t(l),i(this.buffer);var c=r(l,this).read;return{read:c,written:c/2}}})}),z7=J.cw(()=>{var n=Ct(),e=Jt(),t=Yt(),s=e5(),i=Gf(),r=Wf(),a=n5(),o=a5(),l=a.i2c,c=a.i2cUrl,f=Math.floor,h=Math.ceil,u=t(\"\".charAt),d=e.Uint8Array,p=e.Array,m=t([].join),g=!d||!d.prototype.toBase64||!(function(){try{var b=new d;b.toBase64(null)}catch{return!0}})();d&&n({target:\"Uint8Array\",proto:!0,forced:g},{toBase64:function(){var x=i(this),w=arguments.length?s(arguments[0]):void 0,v=o(w)===\"base64\"?l:c,k=!!w&&!!w.omitPadding;r(this.buffer);for(var j=0,A=x.length,S=p(k?f(A/3)*4+(A%3?A%3+1:0):h(A/3)*4),q=0,_,I=function(C){return u(v,_>>6*C&63)};j+2<A;j+=3)_=(x[j]<<16)+(x[j+1]<<8)+x[j+2],S[q++]=I(3),S[q++]=I(2),S[q++]=I(1),S[q++]=I(0);return j+2===A?(_=(x[j]<<16)+(x[j+1]<<8),S[q++]=I(3),S[q++]=I(2),S[q++]=I(1),k||(S[q++]=\"=\")):j+1===A&&(_=x[j]<<16,S[q++]=I(3),S[q++]=I(2),k||(S[q++]=\"=\",S[q++]=\"=\")),m(S,\"\")}})}),U7=J.cw(()=>{var n=Ct(),e=Jt(),t=Yt(),s=Gf(),i=Wf(),r=t(1.1.toString),a=t([].join),o=Array,l=e.Uint8Array,c=!l||!l.prototype.toHex||!(function(){try{var f=new l([255,255,255,255,255,255,255,255]);return f.toHex()===\"ffffffffffffffff\"}catch{return!1}})();l&&n({target:\"Uint8Array\",proto:!0,forced:c},{toHex:function(){s(this),i(this.buffer);for(var h=o(this.length),u=0,d=this.length;u<d;u++){var p=r(this[u],16);h[u]=p.length===1?\"0\"+p:p}return a(h,\"\")}})}),G7=J.cw(()=>{var n=Ct(),e=as(),t=r6(),s=i6(),i=a0(),r=As(),a=i.get,o=i.has,l=i.set,c=r||!(function(){try{WeakMap.prototype.getOrInsertComputed&&new WeakMap().getOrInsertComputed(1,function(){throw 1})}catch(f){return f instanceof TypeError}})();n({target:\"WeakMap\",proto:!0,real:!0,forced:c},{getOrInsertComputed:function(h,u){if(r||t(this),s(h),e(u),o(this,h))return a(this,h);var d=u(h);return l(this,h,d),d}})}),W7=J.cw(()=>{var n=Ct(),e=a0(),t=As(),s=e.get,i=e.has,r=e.set;n({target:\"WeakMap\",proto:!0,real:!0,forced:t},{getOrInsert:function(o,l){return i(this,o)?s(this,o):(r(this,o,l),l)}})}),$7=J.cw(()=>{var n=Ct(),e=Jt(),t=kr(),s=Kf(),i=jr().f,r=ls(),a=Zv(),o=C6(),l=H6(),c=w6(),f=y6(),h=os(),u=As(),d=\"DOMException\",p=t(\"Error\"),m=t(d),g=function(){a(this,b);var T=arguments.length,M=l(T<1?void 0:arguments[0]),E=l(T<2?void 0:arguments[1],\"Error\"),G=new m(M,E),D=new p(M);return D.name=d,i(G,\"stack\",s(1,f(D.stack,1))),o(G,this,g),G},b=g.prototype=m.prototype,x=\"stack\"in new p(d),w=\"stack\"in new m(1,2),v=m&&h&&Object.getOwnPropertyDescriptor(e,d),k=!!v&&!(v.writable&&v.configurable),j=x&&!k&&!w;n({global:!0,constructor:!0,forced:u||j},{DOMException:j?g:m});var A=t(d),S=A.prototype;if(S.constructor!==A){u||i(S,\"constructor\",s(1,A));for(var q in c)if(r(c,q)){var _=c[q],I=_.s;r(A,I)||i(A,I,s(6,_.c))}}}),V7=J.cw(()=>{var n=Ct(),e=kr(),t=f7(),s=s0(),i=c7(),r=e(\"URL\");n({target:\"URL\",stat:!0,forced:!i},{parse:function(o){var l=t(arguments.length,1),c=s(o),f=l<2||arguments[1]===void 0?void 0:s(arguments[1]);try{return new r(c,f)}catch{return null}}})});u7();d7();p7();b7();I7();_7();E7();R7();F7();O7();M7();P7();B7();D7();H7();L7();z7();U7();V7();var Ms=typeof process==\"object\"&&process+\"\"==\"[object process]\"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!==\"browser\"),Ci=[1/0,1/0,-1/0,-1/0],Wr=new Float32Array(Ci),Ku=[.001,0,0,.001,0,0];var rs=\"http://www.w3.org/2000/svg\",Os={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256},Ii={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},Va=\"pdfjs_internal_id_\",Ja=\"pdfjs_internal_editor_\",pt={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15,POPUP:16,SIGNATURE:101,COMMENT:102},qt={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,INK_COLOR_AND_OPACITY:24,HIGHLIGHT_COLOR:31,HIGHLIGHT_THICKNESS:32,HIGHLIGHT_FREE:33,HIGHLIGHT_SHOW_ALL:34,DRAW_STEP:41},K7={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};var En={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},gf={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},cn={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,RICHMEDIA:27};var $a={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};var o0={ERRORS:0,WARNINGS:1,INFOS:5},Ji={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,setStrokeTransparent:92,setFillTransparent:93,rawFillPath:94},$o={moveTo:0,lineTo:1,curveTo:2,quadraticCurveTo:3,closePath:4},X7={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},l0=o0.WARNINGS;function Y7(n){Number.isInteger(n)&&(l0=n)}function _5(){return l0}function c0(n){l0>=o0.INFOS&&console.info(`Info: ${n}`)}function at(n){l0>=o0.WARNINGS&&console.warn(`Warning: ${n}`)}function Mt(n){throw new Error(n)}function yn(n,e){n||Mt(e)}function J7(n){switch(n?.protocol){case\"http:\":case\"https:\":case\"ftp:\":case\"mailto:\":case\"tel:\":return!0;default:return!1}}function I5(n,e=null,t=null){if(!n)return null;if(t&&typeof n==\"string\"&&(t.addDefaultProtocol&&n.startsWith(\"www.\")&&n.match(/\\./g)?.length>=2&&(n=`http://${n}`),t.tryConvertEncoding))try{n=Z7(n)}catch{}let s=e?URL.parse(n,e):URL.parse(n);return J7(s)?s:null}function C5(n,e,t=!1){let s=URL.parse(n);return s?(s.hash=e,s.href):t&&I5(n,\"http://example.com\")?n.split(\"#\",1)[0]+`${e?`#${e}`:\"\"}`:\"\"}function Xu(n){return n.substring(n.lastIndexOf(\"/\")+1)}function ze(n,e,t,s=!1){return Object.defineProperty(n,e,{value:t,enumerable:!s,configurable:!0,writable:!1}),t}var na=(function(){function e(t,s){this.message=t,this.name=s}return e.prototype=new Error,e.constructor=e,e})(),el=class extends na{constructor(e,t){super(e,\"PasswordException\"),this.code=t}},Ka=class extends na{constructor(e,t){super(e,\"UnknownErrorException\"),this.details=t}},tl=class extends na{constructor(e){super(e,\"InvalidPDFException\")}},Qa=class extends na{constructor(e,t,s){super(e,\"ResponseException\"),this.status=t,this.missing=s}},Yu=class extends na{constructor(e){super(e,\"FormatError\")}},Ei=class extends na{constructor(e){super(e,\"AbortException\")}};function Q7(n){(typeof n!=\"object\"||n?.length===void 0)&&Mt(\"Invalid argument for bytesToString\");let e=n.length,t=8192;if(e<t)return String.fromCharCode.apply(null,n);let s=[];for(let i=0;i<e;i+=t){let r=Math.min(i+t,e),a=n.subarray(i,r);s.push(String.fromCharCode.apply(null,a))}return s.join(\"\")}function f0(n){typeof n!=\"string\"&&Mt(\"Invalid argument for stringToBytes\");let e=n.length,t=new Uint8Array(e);for(let s=0;s<e;++s)t[s]=n.charCodeAt(s)&255;return t}var Ot=class{static get isLittleEndian(){let e=new Uint8Array(4);e[0]=1;let t=new Uint32Array(e.buffer,0,1);return ze(this,\"isLittleEndian\",t[0]===1)}static get isOffscreenCanvasSupported(){return ze(this,\"isOffscreenCanvasSupported\",typeof OffscreenCanvas<\"u\")}static get isImageDecoderSupported(){return ze(this,\"isImageDecoderSupported\",typeof ImageDecoder<\"u\")}static get isVideoFrameSupported(){return ze(this,\"isVideoFrameSupported\",typeof VideoFrame<\"u\")}static get isFloat16ArraySupported(){return ze(this,\"isFloat16ArraySupported\",typeof Float16Array<\"u\")}static get isSanitizerSupported(){return ze(this,\"isSanitizerSupported\",typeof Sanitizer<\"u\")}static get platform(){let{platform:e,userAgent:t}=navigator;return ze(this,\"platform\",{isAndroid:t.includes(\"Android\"),isLinux:e.includes(\"Linux\"),isMac:e.includes(\"Mac\"),isWindows:e.includes(\"Win\"),isFirefox:t.includes(\"Firefox\")})}static get isCanvasFilterSupported(){let e;return this.isOffscreenCanvasSupported?e=new OffscreenCanvas(1,1).getContext(\"2d\"):typeof document<\"u\"&&(e=document.createElement(\"canvas\").getContext(\"2d\")),ze(this,\"isCanvasFilterSupported\",e?.filter!==void 0)}static get isAlphaColorInputSupported(){if(typeof document>\"u\")return ze(this,\"isAlphaColorInputSupported\",!1);let e=document.createElement(\"input\");return e.type=\"color\",e.setAttribute(\"alpha\",\"\"),e.value=\"#ff000080\",ze(this,\"isAlphaColorInputSupported\",e.value!==\"#ff0000\")}static get isBackdropFilterSupported(){return ze(this,\"isBackdropFilterSupported\",typeof CSS<\"u\"&&CSS.supports(\"backdrop-filter\",\"blur(1px)\"))}},Be=class{static get hexNums(){return ze(this,\"hexNums\",Array.from({length:256},(e,t)=>t.toString(16).padStart(2,\"0\")))}static makeHexColor(e,t,s){return`#${this.hexNums[e]}${this.hexNums[t]}${this.hexNums[s]}`}static get identity0to256Map(){return ze(this,\"identity0to256Map\",Uint8Array.from({length:256},(e,t)=>t))}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static multiplyByDOMMatrix(e,t){return[e[0]*t.a+e[2]*t.b,e[1]*t.a+e[3]*t.b,e[0]*t.c+e[2]*t.d,e[1]*t.c+e[3]*t.d,e[0]*t.e+e[2]*t.f+e[4],e[1]*t.e+e[3]*t.f+e[5]]}static applyTransform(e,t,s=0){let i=e[s],r=e[s+1];e[s]=i*t[0]+r*t[2]+t[4],e[s+1]=i*t[1]+r*t[3]+t[5]}static applyTransformToBezier(e,t,s=0){let i=t[0],r=t[1],a=t[2],o=t[3],l=t[4],c=t[5];for(let f=0;f<6;f+=2){let h=e[s+f],u=e[s+f+1];e[s+f]=h*i+u*a+l,e[s+f+1]=h*r+u*o+c}}static applyInverseTransform(e,t){let s=e[0],i=e[1],r=t[0]*t[3]-t[1]*t[2];e[0]=(s*t[3]-i*t[2]+t[2]*t[5]-t[4]*t[3])/r,e[1]=(-s*t[1]+i*t[0]+t[4]*t[1]-t[5]*t[0])/r}static axialAlignedBoundingBox(e,t,s){let i=t[0],r=t[1],a=t[2],o=t[3],l=t[4],c=t[5],f=e[0],h=e[1],u=e[2],d=e[3],p=i*f+l,m=p,g=i*u+l,b=g,x=o*h+c,w=x,v=o*d+c,k=v;if(r!==0||a!==0){let j=r*f,A=r*u,S=a*h,q=a*d;p+=S,b+=S,g+=q,m+=q,x+=j,k+=j,v+=A,w+=A}s[0]=Math.min(s[0],p,g,Math.min(m,b)),s[1]=Math.min(s[1],x,v,Math.min(w,k)),s[2]=Math.max(s[2],p,g,Math.max(m,b)),s[3]=Math.max(s[3],x,v,Math.max(w,k))}static inverseTransform(e){let t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e,t){let s=e[0],i=e[1],r=e[2],a=e[3],o=s**2+i**2,l=s*r+i*a,c=r**2+a**2,f=(o+c)/2,h=Math.sqrt(f**2-(o*c-l**2));t[0]=Math.sqrt(f+h||1),t[1]=Math.sqrt(f-h||1)}static normalizeRect(e){let t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){let s=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),i=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(s>i)return null;let r=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),a=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return r>a?null:[s,r,i,a]}static pointBoundingBox(e,t,s){s[0]=Math.min(s[0],e),s[1]=Math.min(s[1],t),s[2]=Math.max(s[2],e),s[3]=Math.max(s[3],t)}static rectBoundingBox(e,t,s,i,r){r[0]=Math.min(r[0],e,s),r[1]=Math.min(r[1],t,i),r[2]=Math.max(r[2],e,s),r[3]=Math.max(r[3],t,i)}static#e(e,t,s,i,r,a,o,l,c,f){if(c<=0||c>=1)return;let h=1-c,u=c*c,d=u*c,p=h*(h*(h*e+3*c*t)+3*u*s)+d*i,m=h*(h*(h*r+3*c*a)+3*u*o)+d*l;f[0]=Math.min(f[0],p),f[1]=Math.min(f[1],m),f[2]=Math.max(f[2],p),f[3]=Math.max(f[3],m)}static#n(e,t,s,i,r,a,o,l,c,f,h,u){if(Math.abs(c)<1e-12){Math.abs(f)>=1e-12&&this.#e(e,t,s,i,r,a,o,l,-h/f,u);return}let d=f**2-4*h*c;if(d<0)return;let p=Math.sqrt(d),m=2*c;this.#e(e,t,s,i,r,a,o,l,(-f+p)/m,u),this.#e(e,t,s,i,r,a,o,l,(-f-p)/m,u)}static bezierBoundingBox(e,t,s,i,r,a,o,l,c){c[0]=Math.min(c[0],e,o),c[1]=Math.min(c[1],t,l),c[2]=Math.max(c[2],e,o),c[3]=Math.max(c[3],t,l),this.#n(e,s,r,o,t,i,a,l,3*(-e+3*(s-r)+o),6*(e-2*s+r),3*(s-e),c),this.#n(e,s,r,o,t,i,a,l,3*(-t+3*(i-a)+l),6*(t-2*i+a),3*(i-t),c)}};function Z7(n){return decodeURIComponent(escape(n))}var zu=null,qv=null;function ek(n){return zu||(zu=/([\\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,qv=new Map([[\"\\uFB05\",\"\\u017Ft\"]])),n.replaceAll(zu,(e,t,s)=>t?t.normalize(\"NFKC\"):qv.get(s))}function T5(){if(typeof crypto.randomUUID==\"function\")return crypto.randomUUID();let n=new Uint8Array(32);return crypto.getRandomValues(n),Q7(n)}function tk(n,e,t){if(!Array.isArray(t)||t.length<2)return!1;let[s,i,...r]=t;if(!n(s)&&!Number.isInteger(s)||!e(i))return!1;let a=r.length,o=!0;switch(i.name){case\"XYZ\":if(a<2||a>3)return!1;break;case\"Fit\":case\"FitB\":return a===0;case\"FitH\":case\"FitBH\":case\"FitV\":case\"FitBV\":if(a>1)return!1;break;case\"FitR\":if(a!==4)return!1;o=!1;break;default:return!1}for(let l of r)if(!(typeof l==\"number\"||o&&l===null))return!1;return!0}var io=()=>[],xf=()=>new Map,Ju=()=>Object.create(null),nk=()=>new Set;typeof Blob.prototype.bytes!=\"function\"&&(Blob.prototype.bytes=async function(){return new Uint8Array(await this.arrayBuffer())});typeof Response.prototype.bytes!=\"function\"&&(Response.prototype.bytes=async function(){return new Uint8Array(await this.arrayBuffer())});typeof Iterator.prototype.join!=\"function\"&&(Iterator.prototype.join=function(n){return[...this].join(n)});y7();function Xt(n,e,t){return Math.min(Math.max(n,e),t)}var yr=class{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF},nl=class extends na{constructor(e,t=0){super(e,\"RenderingCancelledException\"),this.extraDelay=t}};function ro(n){if(n.startsWith(\"#\")){let t=n.slice(1);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16),t.length>=8?parseInt(t.slice(6,8),16)/255:1]}if(n.startsWith(\"rgb(\")){let[t,s,i]=n.slice(4,-1).split(\",\").map(r=>parseInt(r,10));return[t,s,i,1]}if(n.startsWith(\"rgba(\")){let t=n.slice(5,-1).split(\",\");return[parseInt(t[0],10),parseInt(t[1],10),parseInt(t[2],10),parseFloat(t[3])]}let e=n.match(/^color\\(srgb\\s+([\\d.]+)\\s+([\\d.]+)\\s+([\\d.]+)(?:\\s*\\/\\s*([\\d.]+|none))?\\)$/);return e?[Math.round(parseFloat(e[1])*255),Math.round(parseFloat(e[2])*255),Math.round(parseFloat(e[3])*255),e[4]!==void 0&&e[4]!==\"none\"?parseFloat(e[4]):1]:null}function Il(n){let e=ro(n);return e?e.slice(0,3):(at(`Not a valid color format: \"${n}\"`),[0,0,0])}function Kt(n){let{a:e,b:t,c:s,d:i,e:r,f:a}=n.getTransform();return[e,t,s,i,r,a]}function Xi(n){let{a:e,b:t,c:s,d:i,e:r,f:a}=n.getTransform().invertSelf();return[e,t,s,i,r,a]}var Qs=class n{constructor(){let{pixelRatio:e}=n;this.sx=e,this.sy=e}get scaled(){return this.sx!==1||this.sy!==1}get symmetric(){return this.sx===this.sy}limitCanvas(e,t,s,i,r=-1){let a=1/0,o=1/0,l=1/0;s=n.capPixels(s,r),s>0&&(a=Math.sqrt(s/(e*t))),i!==-1&&(o=i/e,l=i/t);let c=Math.min(a,o,l);return this.sx>c||this.sy>c?(this.sx=c,this.sy=c,!0):!1}static get pixelRatio(){return globalThis.devicePixelRatio||1}static capPixels(e,t){if(t>=0){let s=Math.ceil(window.screen.availWidth*window.screen.availHeight*this.pixelRatio**2*(1+t/100));return e>0?Math.min(e,s):s}return e}};function sk(n,e){e=Xt(e??1,0,1);let t=255*(1-e);return n.map(s=>Math.round(s*e+t))}function _v(n,e){let t=n[0]/255,s=n[1]/255,i=n[2]/255,r=Math.max(t,s,i),a=Math.min(t,s,i),o=(r+a)/2;if(r===a)e[0]=e[1]=0;else{let l=r-a;switch(e[1]=o<.5?l/(r+a):l/(2-r-a),r){case t:e[0]=((s-i)/l+(s<i?6:0))*60;break;case s:e[0]=((i-t)/l+2)*60;break;case i:e[0]=((t-s)/l+4)*60;break}}e[2]=o}function Qu(n,e){let t=n[0],s=n[1],i=n[2],r=(1-Math.abs(2*i-1))*s,a=r*(1-Math.abs(t/60%2-1)),o=i-r/2;switch(Math.floor(t/60)){case 0:e[0]=r+o,e[1]=a+o,e[2]=o;break;case 1:e[0]=a+o,e[1]=r+o,e[2]=o;break;case 2:e[0]=o,e[1]=r+o,e[2]=a+o;break;case 3:e[0]=o,e[1]=a+o,e[2]=r+o;break;case 4:e[0]=a+o,e[1]=o,e[2]=r+o;break;case 5:case 6:e[0]=r+o,e[1]=o,e[2]=a+o;break}}function Zu(n){return n<=.03928?n/12.92:((n+.055)/1.055)**2.4}function Iv(n,e,t){Qu(n,t),t.map(Zu);let s=.2126*t[0]+.7152*t[1]+.0722*t[2];Qu(e,t),t.map(Zu);let i=.2126*t[0]+.7152*t[1]+.0722*t[2];return s>i?(s+.05)/(i+.05):(i+.05)/(s+.05)}var Cv=new Map;function ik(n,e){let t=n[0]+n[1]*256+n[2]*65536+e[0]*16777216+e[1]*4294967296+e[2]*1099511627776,s=Cv.get(t);if(s)return s;let i=new Float32Array(9),r=i.subarray(0,3),a=i.subarray(3,6);_v(n,a);let o=i.subarray(6,9);_v(e,o);let l=o[2]<.5,c=l?12:4.5;if(a[2]=l?Math.sqrt(a[2]):1-Math.sqrt(1-a[2]),Iv(a,o,r)<c){let f,h;l?(f=a[2],h=1):(f=0,h=a[2]);let u=.005;for(;h-f>u;){let d=a[2]=(f+h)/2;l===Iv(a,o,r)<c?f=d:h=d}a[2]=l?h:f}return Qu(a,r),s=Be.makeHexColor(Math.round(r[0]*255),Math.round(r[1]*255),Math.round(r[2]*255)),Cv.set(t,s),s}function E5(n){let e=new Path2D;if(!n)return e;for(let t=0,s=n.length;t<s;)switch(n[t++]){case $o.moveTo:e.moveTo(n[t++],n[t++]);break;case $o.lineTo:e.lineTo(n[t++],n[t++]);break;case $o.curveTo:e.bezierCurveTo(n[t++],n[t++],n[t++],n[t++],n[t++],n[t++]);break;case $o.quadraticCurveTo:e.quadraticCurveTo(n[t++],n[t++],n[t++],n[t++]);break;case $o.closePath:e.closePath();break;default:at(`Unrecognized drawing path operator: ${n[t-1]}`);break}return e}j7();W7();G7();k7();q7();$7();m7();g7();w7();S7();var sl=class n{constructor({viewBox:e,userUnit:t,scale:s,rotation:i,offsetX:r=0,offsetY:a=0,dontFlip:o=!1}){this.viewBox=e,this.userUnit=t,this.scale=s,this.rotation=i,this.offsetX=r,this.offsetY=a,s*=t;let l=(e[2]+e[0])/2,c=(e[3]+e[1])/2,f,h,u,d;switch(i%=360,i<0&&(i+=360),i){case 180:f=-1,h=0,u=0,d=1;break;case 90:f=0,h=1,u=1,d=0;break;case 270:f=0,h=-1,u=-1,d=0;break;case 0:f=1,h=0,u=0,d=-1;break;default:throw new Error(\"PageViewport: Invalid rotation, must be a multiple of 90 degrees.\")}o&&(u=-u,d=-d);let p,m,g,b;f===0?(p=Math.abs(c-e[1])*s+r,m=Math.abs(l-e[0])*s+a,g=(e[3]-e[1])*s,b=(e[2]-e[0])*s):(p=Math.abs(l-e[0])*s+r,m=Math.abs(c-e[1])*s+a,g=(e[2]-e[0])*s,b=(e[3]-e[1])*s),this.transform=[f*s,h*s,u*s,d*s,p-f*s*l-u*s*c,m-h*s*l-d*s*c],this.width=g,this.height=b}get rawDims(){let e=this.viewBox;return ze(this,\"rawDims\",{pageWidth:e[2]-e[0],pageHeight:e[3]-e[1],pageX:e[0],pageY:e[1]})}clone({scale:e=this.scale,rotation:t=this.rotation,offsetX:s=this.offsetX,offsetY:i=this.offsetY,dontFlip:r=!1}={}){return new n({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:e,rotation:t,offsetX:s,offsetY:i,dontFlip:r})}convertToViewportPoint(e,t){let s=[e,t];return Be.applyTransform(s,this.transform),s}convertToPdfPoint(e,t){let s=[e,t];return Be.applyInverseTransform(s,this.transform),s}},il=class n{static textContent(e){let t=[],s={items:t,styles:Object.create(null)};function i(r){if(!r)return;let a=null,o=r.name;if(o===\"#text\")a=r.value;else if(n.shouldBuildText(o))r?.attributes?.textContent?a=r.attributes.textContent:r.value&&(a=r.value);else return;if(a!==null&&t.push({str:a}),!!r.children)for(let l of r.children)i(l)}return i(e),s}static shouldBuildText(e){return!(e===\"textarea\"||e===\"input\"||e===\"option\"||e===\"select\")}},rk=/url\\(|image-set\\(/i,ak=/^on/i,vf=class{static get _allowedHtmlElements(){return ze(this,\"_allowedHtmlElements\",new Set([\"a\",\"b\",\"br\",\"button\",\"div\",\"i\",\"img\",\"input\",\"label\",\"li\",\"ol\",\"option\",\"p\",\"select\",\"span\",\"sub\",\"sup\",\"textarea\",\"ul\"]))}static get _allowedSvgElements(){return ze(this,\"_allowedSvgElements\",new Set([\"ellipse\",\"line\",\"path\",\"rect\",\"svg\"]))}static get _allowedRichTextElements(){return ze(this,\"_allowedRichTextElements\",new Set([\"a\",\"b\",\"br\",\"div\",\"i\",\"li\",\"ol\",\"p\",\"span\",\"sub\",\"sup\",\"ul\"]))}static get _allowedRichTextAttributes(){return ze(this,\"_allowedRichTextAttributes\",new Set([\"class\",\"dir\",\"style\"]))}static get _allowedRichTextStyles(){return ze(this,\"_allowedRichTextStyles\",new Set([\"color\",\"font\",\"fontFamily\",\"fontSize\",\"fontStretch\",\"fontStyle\",\"fontWeight\",\"kerningMode\",\"letterSpacing\",\"lineHeight\",\"margin\",\"marginBottom\",\"marginLeft\",\"marginRight\",\"marginTop\",\"orphans\",\"paddingLeft\",\"paddingRight\",\"breakAfter\",\"breakBefore\",\"breakInside\",\"tabInterval\",\"tabStop\",\"textAlign\",\"textDecoration\",\"textIndent\",\"transform\",\"verticalAlign\",\"widows\"]))}static setupStorage(e,t,s,i,r){let a=i.getValue(t,{value:null});switch(s.name){case\"textarea\":if(a.value!==null&&(e.textContent=a.value),r===\"print\")break;e.addEventListener(\"input\",o=>{i.setValue(t,{value:o.target.value})});break;case\"input\":if(s.attributes.type===\"radio\"||s.attributes.type===\"checkbox\"){if(a.value===s.attributes.xfaOn?e.setAttribute(\"checked\",!0):a.value===s.attributes.xfaOff&&e.removeAttribute(\"checked\"),r===\"print\")break;e.addEventListener(\"change\",o=>{i.setValue(t,{value:o.target.checked?o.target.getAttribute(\"xfaOn\"):o.target.getAttribute(\"xfaOff\")})})}else{if(a.value!==null&&e.setAttribute(\"value\",a.value),r===\"print\")break;e.addEventListener(\"input\",o=>{i.setValue(t,{value:o.target.value})})}break;case\"select\":if(a.value!==null){e.setAttribute(\"value\",a.value);for(let o of s.children)o.attributes.value===a.value?o.attributes.selected=!0:Object.hasOwn(o.attributes,\"selected\")&&delete o.attributes.selected}e.addEventListener(\"input\",o=>{let l=o.target.options,c=l.selectedIndex===-1?\"\":l[l.selectedIndex].value;i.setValue(t,{value:c})});break}}static setAttributes({html:e,element:t,storage:s=null,intent:i,linkService:r}){let{attributes:a}=t,o=e instanceof HTMLAnchorElement;a.type===\"radio\"&&(a.name=`${a.name}-${i}`);for(let[l,c]of Object.entries(a))if(!(c==null||ak.test(l))&&!(i===\"richText\"&&!this._allowedRichTextAttributes.has(l)))switch(l){case\"class\":c.length&&e.setAttribute(l,c.join(\" \"));break;case\"dataId\":break;case\"id\":e.setAttribute(\"data-element-id\",c);break;case\"style\":if(i===\"richText\"){let f=this._allowedRichTextStyles;for(let[h,u]of Object.entries(c))f.has(h)&&!rk.test(u)&&(e.style[h]=u)}else Object.assign(e.style,c);break;case\"textContent\":e.textContent=c;break;default:(!o||l!==\"href\"&&l!==\"newWindow\")&&e.setAttribute(l,c)}o&&r?.addLinkAttributes(e,a.href,a.newWindow),s&&a.dataId&&this.setupStorage(e,a.dataId,t,s)}static#e(e,t,s){return s===\"richText\"?!t&&this._allowedRichTextElements.has(e)?document.createElement(e):null:t?t===rs&&this._allowedSvgElements.has(e)?document.createElementNS(rs,e):null:this._allowedHtmlElements.has(e)?document.createElement(e):null}static render(e){let t=e.annotationStorage,s=e.linkService,i=e.xfaHtml,r=e.intent||\"display\",a=this.#e(i.name,i.attributes?.xmlns,r)??document.createElement(\"div\");i.attributes&&this.setAttributes({html:a,element:i,intent:r,linkService:s});let o=r!==\"richText\",l=e.div;if(l.append(a),e.viewport){let h=`matrix(${e.viewport.transform.join(\",\")})`;l.style.transform=h}o&&l.setAttribute(\"class\",\"xfaLayer xfaFont\");let c=[];if(i.children.length===0){if(i.value){let h=document.createTextNode(i.value);a.append(h),o&&il.shouldBuildText(i.name)&&c.push(h)}return{textDivs:c}}let f=[[i,-1,a]];for(;f.length>0;){let[h,u,d]=f.at(-1);if(u+1===h.children.length){f.pop();continue}let p=h.children[++f.at(-1)[1]];if(p===null)continue;let{name:m}=p;if(m===\"#text\"){let b=document.createTextNode(p.value);c.push(b),d.append(b);continue}let g=this.#e(m,p.attributes?.xmlns,r);if(g){if(d.append(g),p.attributes&&this.setAttributes({html:g,element:p,storage:t,intent:r,linkService:s}),p.children?.length>0)f.push([p,-1,g]);else if(p.value){let b=document.createTextNode(p.value);o&&il.shouldBuildText(m)&&c.push(b),g.append(b)}}}for(let h of l.querySelectorAll(\".xfaNonInteractive input, .xfaNonInteractive textarea\"))h.setAttribute(\"readOnly\",!0);return{textDivs:c}}static update(e){let t=`matrix(${e.viewport.transform.join(\",\")})`;e.div.style.transform=t,e.div.hidden=!1}static getPageViewport(e,{scale:t=1,rotation:s=0}){let{width:i,height:r}=e.attributes.style;return new sl({viewBox:[0,0,parseInt(i,10),parseInt(r,10)],userUnit:1,scale:t,rotation:s})}};async function sm(n,e=\"text\"){if(Xo(n,document.baseURI)){let t=await fetch(n);if(!t.ok)throw new Error(t.statusText);switch(e){case\"blob\":return t.blob();case\"bytes\":return t.bytes();case\"json\":return t.json()}return t.text()}return new Promise((t,s)=>{let i=new XMLHttpRequest;i.open(\"GET\",n,!0),i.responseType=e===\"bytes\"?\"arraybuffer\":e,i.onreadystatechange=()=>{if(i.readyState===XMLHttpRequest.DONE){if(i.status===200||i.status===0){switch(e){case\"bytes\":t(new Uint8Array(i.response));return;case\"blob\":case\"json\":t(i.response);return}t(i.responseText);return}s(new Error(i.statusText))}},i.send(null)})}function h0(n){let e=n.length,t=0;for(;t<e&&n[t].trim()===\"\";)t++;return n.substring(t,t+5).toLowerCase()===\"data:\"}function im(n){return typeof n==\"string\"&&/\\.pdf$/i.test(n)}function ok(n){return[n]=n.split(/[#?]/,1),Xu(n)}function lk(n,e=\"document.pdf\"){if(typeof n!=\"string\")return e;if(h0(n))return at('getPdfFilenameFromUrl: ignore \"data:\"-URL for performance reasons.'),e;let s=(o=>{try{return new URL(o)}catch{}try{return new URL(decodeURIComponent(o))}catch{}try{return new URL(o,\"https://foo.bar\")}catch{}try{return new URL(decodeURIComponent(o),\"https://foo.bar\")}catch{}return null})(n);if(!s)return e;let i=o=>{try{let l=decodeURIComponent(o);return l.includes(\"/\")&&(l=Xu(l),l.length===4&&r.test(l))?o:l}catch{return o}},r=/\\.pdf$/i,a=Xu(s.pathname);if(r.test(a))return i(a);if(s.searchParams.size>0){let o=c=>[...c].findLast(f=>r.test(f)),l=o(s.searchParams.values())??o(s.searchParams.keys());if(l)return i(l)}if(s.hash){let{hash:o}=s,l=-1;for(let{index:c}of o.matchAll(/\\.pdf\\b/gi))l=c;if(l>0){let c=l;for(;c>0&&!\"/?#=\".includes(o[c-1]);)c--;if(c<l)return i(o.slice(c,l+4))}}return e}function Xo(n,e){let t=e?URL.parse(n,e):URL.parse(n);return/https?:/.test(t?.protocol??\"\")}function hi(n){n.preventDefault()}function Fn(n){n.preventDefault(),n.stopPropagation()}var rl=class{static#e;static toDateObject(e){if(e instanceof Date)return e;if(!e||typeof e!=\"string\")return null;this.#e||=new RegExp(\"^D:(\\\\d{4})(\\\\d{2})?(\\\\d{2})?(\\\\d{2})?(\\\\d{2})?(\\\\d{2})?([Z|+\\\\-])?(\\\\d{2})?'?(\\\\d{2})?'?\");let t=this.#e.exec(e);if(!t)return null;let s=parseInt(t[1],10),i=parseInt(t[2],10);i=i>=1&&i<=12?i-1:0;let r=parseInt(t[3],10);r=r>=1&&r<=31?r:1;let a=parseInt(t[4],10);a=a>=0&&a<=23?a:0;let o=parseInt(t[5],10);o=o>=0&&o<=59?o:0;let l=parseInt(t[6],10);l=l>=0&&l<=59?l:0;let c=t[7]||\"Z\",f=parseInt(t[8],10);f=f>=0&&f<=23?f:0;let h=parseInt(t[9],10)||0;return h=h>=0&&h<=59?h:0,c===\"-\"?(a+=f,o+=h):c===\"+\"&&(a-=f,o-=h),new Date(Date.UTC(s,i,r,a,o,l))}};function ck(n){let e=document.createElement(\"span\");e.style.visibility=\"hidden\",e.style.colorScheme=\"only light\",document.body.append(e);for(let t of n.keys()){e.style.color=t;let s=window.getComputedStyle(e).color;n.set(t,Il(s))}e.remove()}function $r(n,e,t=!1,s=!0){if(e instanceof sl){let{pageWidth:i,pageHeight:r}=e.rawDims,{style:a}=n,o=`round(down, var(--total-scale-factor) * ${i}px, var(--scale-round-x))`,l=`round(down, var(--total-scale-factor) * ${r}px, var(--scale-round-y))`;!t||e.rotation%180===0?(a.width=o,a.height=l):(a.width=l,a.height=o)}s&&n.setAttribute(\"data-main-rotation\",e.rotation)}var ed=new Set([\"image/apng\",\"image/avif\",\"image/bmp\",\"image/gif\",\"image/jpeg\",\"image/png\",\"image/svg+xml\",\"image/webp\",\"image/x-icon\"]),td=class{static get isDarkMode(){return ze(this,\"isDarkMode\",!!window?.matchMedia?.(\"(prefers-color-scheme: dark)\").matches)}},nd=class{static get commentForegroundColor(){let e=document.createElement(\"span\");e.classList.add(\"comment\",\"sidebar\");let{style:t}=e;t.width=t.height=\"0\",t.display=\"none\",t.color=\"var(--comment-fg-color)\",document.body.append(e);let{color:s}=window.getComputedStyle(e);return e.remove(),ze(this,\"commentForegroundColor\",Il(s))}};function R5({html:n,dir:e,className:t},s){let i=document.createDocumentFragment();if(typeof n==\"string\"){let r=document.createElement(\"p\");r.dir=e||\"auto\";let a=n.split(/\\r\\n?|\\n/);for(let o=0,l=a.length;o<l;++o){let c=a[o];r.append(document.createTextNode(c)),o<l-1&&r.append(document.createElement(\"br\"))}i.append(r)}else vf.render({xfaHtml:n,div:i,intent:\"richText\"});i.firstElementChild.classList.add(\"richText\",t),s.append(i)}var sd=class n{#e=null;#n=null;#t;#s=null;#i=null;#r=null;#a=null;#o=null;static#l=null;constructor(e){this.#t=e,n.#l||=Object.freeze({freetext:\"pdfjs-editor-remove-freetext-button\",highlight:\"pdfjs-editor-remove-highlight-button\",ink:\"pdfjs-editor-remove-ink-button\",stamp:\"pdfjs-editor-remove-stamp-button\",signature:\"pdfjs-editor-remove-signature-button\"})}render(){let e=this.#e=document.createElement(\"div\");e.classList.add(\"editToolbar\",\"hidden\"),e.setAttribute(\"role\",\"toolbar\");let t=this.#t._uiManager._signal;t instanceof AbortSignal&&!t.aborted&&(e.addEventListener(\"contextmenu\",hi,{signal:t}),e.addEventListener(\"pointerdown\",n.#c,{signal:t}));let s=this.#s=document.createElement(\"div\");s.className=\"buttons\",e.append(s);let i=this.#t.toolbarPosition;if(i){let{style:r}=e,a=this.#t._uiManager.direction===\"ltr\"?1-i[0]:i[0];r.insetInlineEnd=`${100*a}%`,r.top=`calc(${100*i[1]}% + var(--editor-toolbar-vert-offset))`}return e}get div(){return this.#e}static#c(e){e.stopPropagation()}#h(e){this.#t._focusEventsAllowed=!1,Fn(e)}#f(e){this.#t._focusEventsAllowed=!0,Fn(e)}#d(e){let t=this.#t._uiManager._signal;return!(t instanceof AbortSignal)||t.aborted?!1:(e.addEventListener(\"focusin\",this.#h.bind(this),{capture:!0,signal:t}),e.addEventListener(\"focusout\",this.#f.bind(this),{capture:!0,signal:t}),e.addEventListener(\"contextmenu\",hi,{signal:t}),!0)}hide(){this.#e.classList.add(\"hidden\"),this.#n?.hideDropdown()}show(){this.#e.classList.remove(\"hidden\"),this.#i?.shown(),this.#r?.shown()}addDeleteButton(){let{editorType:e,_uiManager:t}=this.#t,s=document.createElement(\"button\");s.classList.add(\"basic\",\"deleteButton\"),s.tabIndex=0,s.setAttribute(\"data-l10n-id\",n.#l[e]),this.#d(s)&&s.addEventListener(\"click\",i=>{t.delete()},{signal:t._signal}),this.#s.append(s)}get#p(){let e=document.createElement(\"div\");return e.className=\"divider\",e}async addAltText(e){let t=await e.render();this.#d(t),this.#s.append(t,this.#p),this.#i=e}addComment(e,t=null){if(this.#r)return;let s=e.renderForToolbar();if(!s)return;this.#d(s);let i=this.#a=this.#p;t?(this.#s.insertBefore(s,t),this.#s.insertBefore(i,t)):this.#s.append(s,i),this.#r=e,e.toolbar=this}addColorPicker(e){if(this.#n)return;this.#n=e;let t=e.renderButton();this.#d(t),this.#s.append(t,this.#p)}async addEditSignatureButton(e){let t=this.#o=await e.renderEditButton(this.#t);t&&(this.#d(t),this.#s.append(t,this.#p))}removeButton(e){e===\"comment\"&&(this.#r?.removeToolbarCommentButton(),this.#r=null,this.#a?.remove(),this.#a=null)}async addButton(e,t){switch(e){case\"colorPicker\":t&&this.addColorPicker(t);break;case\"altText\":t&&await this.addAltText(t);break;case\"editSignature\":t&&await this.addEditSignatureButton(t);break;case\"delete\":this.addDeleteButton();break;case\"comment\":t&&this.addComment(t);break}}async addButtonBefore(e,t,s){if(!t&&e===\"comment\")return;let i=this.#s.querySelector(s);i&&e===\"comment\"&&this.addComment(t,i)}updateEditSignatureButton(e){this.#o&&(this.#o.title=e)}remove(){this.#e.remove(),this.#n?.destroy(),this.#n=null}},id=class{#e=null;#n=null;#t;constructor(e){this.#t=e}#s(){let e=this.#n=document.createElement(\"div\");e.className=\"editToolbar\",e.setAttribute(\"role\",\"toolbar\"),e.dir=this.#t.direction;let t=this.#t._signal;t instanceof AbortSignal&&!t.aborted&&e.addEventListener(\"contextmenu\",hi,{signal:t});let s=this.#e=document.createElement(\"div\");return s.className=\"buttons\",e.append(s),this.#t.hasCommentManager()&&this.#r(\"commentButton\",\"pdfjs-comment-floating-button\",\"pdfjs-comment-floating-button-label\",()=>{this.#t.commentSelection(\"floating_button\")}),this.#r(\"highlightButton\",\"pdfjs-highlight-floating-button1\",\"pdfjs-highlight-floating-button-label\",()=>{this.#t.highlightSelection(\"floating_button\")}),e}#i(e,t){let s=0,i=0;for(let r of e){let a=r.y+r.height;if(a<s)continue;let o=r.x+(t?r.width:0);if(a>s){i=o,s=a;continue}t?o>i&&(i=o):o<i&&(i=o)}return[t?1-i:i,s]}show(e,t,s){let[i,r]=this.#i(t,s),{style:a}=this.#n||=this.#s();e.append(this.#n),a.insetInlineEnd=`${100*i}%`,a.top=`calc(${100*r}% + var(--editor-toolbar-vert-offset))`}hide(){this.#n.remove()}#r(e,t,s,i){let r=document.createElement(\"button\");r.classList.add(\"basic\",e),r.tabIndex=0,r.setAttribute(\"data-l10n-id\",t);let a=document.createElement(\"span\");r.append(a),a.className=\"visuallyHidden\",a.setAttribute(\"data-l10n-id\",s);let o=this.#t._signal;o instanceof AbortSignal&&!o.aborted&&(r.addEventListener(\"contextmenu\",hi,{signal:o}),r.addEventListener(\"click\",i,{signal:o})),this.#e.append(r)}},fk=\"0a475cb6-573c-46ed-869d-fa7c5839d995\",Uu=Object.freeze({internal:fk});function F5(n,e,t){for(let s of t)e.addEventListener(s,n[s].bind(n))}var Zn=class n{static#e=NaN;static#n=null;static#t=NaN;static#s=null;static initializeAndAddPointerId(e){(n.#n||=new Set).add(e)}static setPointer(e,t){n.#e||=t,n.#s??=e}static setTimeStamp(e){n.#t=e}static isSamePointerId(e){return n.#e===e}static isSamePointerIdOrRemove(e){return n.#e===e?!0:(n.#n?.delete(e),!1)}static isSamePointerType(e){return n.#s===e}static isInitializedAndDifferentPointerType(e){return n.#s!==null&&!n.isSamePointerType(e)}static isSameTimeStamp(e){return n.#t===e}static isUsingMultiplePointers(){return n.#n?.size>=1}static clearPointerType(){n.#s=null}static clearPointerIds(){n.#e=NaN,n.#n=null}static clearTimeStamp(){n.#t=NaN}},rd=class{#e=0;get id(){return`${Ja}${this.#e++}`}},ad=class n{#e=T5();#n=0;#t=null;static get _isSVGFittingCanvas(){let e=`data:image/svg+xml;charset=UTF-8,<svg viewBox=\"0 0 1 1\" width=\"1\" height=\"1\" xmlns=\"${rs}\"><rect width=\"1\" height=\"1\" style=\"fill:red;\"/></svg>`,s=new OffscreenCanvas(1,3).getContext(\"2d\",{willReadFrequently:!0}),i=new Image;i.src=e;let r=i.decode().then(()=>(s.drawImage(i,0,0,1,1,0,0,1,3),new Uint32Array(s.getImageData(0,0,1,1).data.buffer)[0]===0));return ze(this,\"_isSVGFittingCanvas\",r)}async#s(e,t){this.#t||=new Map;let s=this.#t.get(e);if(s===null)return null;if(s?.bitmap)return s.refCounter+=1,s;try{s||={bitmap:null,id:`image_${this.#e}_${this.#n++}`,refCounter:0,isSvg:!1};let i;if(typeof t==\"string\"?(s.url=t,i=await sm(t,\"blob\")):t instanceof File?i=s.file=t:t instanceof Blob&&(i=t),i.type===\"image/svg+xml\"){let r=n._isSVGFittingCanvas,a=new FileReader,o=new Image,l=new Promise((c,f)=>{o.onload=()=>{s.bitmap=o,s.isSvg=!0,c()},a.onload=async()=>{let h=s.svgUrl=a.result;o.src=await r?`${h}#svgView(preserveAspectRatio(none))`:h},o.onerror=a.onerror=f});a.readAsDataURL(i),await l}else s.bitmap=await createImageBitmap(i);s.refCounter=1}catch(i){at(i),s=null}return this.#t.set(e,s),s&&this.#t.set(s.id,s),s}async getFromFile(e){let{lastModified:t,name:s,size:i,type:r}=e;return this.#s(`${t}_${s}_${i}_${r}`,e)}async getFromUrl(e){return this.#s(e,e)}async getFromBlob(e,t){let s=await t;return this.#s(e,s)}async getFromId(e){this.#t||=new Map;let t=this.#t.get(e);if(!t)return null;if(t.bitmap)return t.refCounter+=1,t;if(t.file)return this.getFromFile(t.file);if(t.blobPromise){let{blobPromise:s}=t;return delete t.blobPromise,this.getFromBlob(t.id,s)}return this.getFromUrl(t.url)}getFromCanvas(e,t){this.#t||=new Map;let s=this.#t.get(e);if(s?.bitmap)return s.refCounter+=1,s;let i=new OffscreenCanvas(t.width,t.height);return i.getContext(\"2d\").drawImage(t,0,0),s={bitmap:i.transferToImageBitmap(),id:`image_${this.#e}_${this.#n++}`,refCounter:1,isSvg:!1},this.#t.set(e,s),this.#t.set(s.id,s),s}getSvgUrl(e){let t=this.#t.get(e);return t?.isSvg?t.svgUrl:null}deleteId(e){this.#t||=new Map;let t=this.#t.get(e);if(!t||(t.refCounter-=1,t.refCounter!==0))return;let{bitmap:s}=t;if(!t.url&&!t.file){let i=new OffscreenCanvas(s.width,s.height);i.getContext(\"bitmaprenderer\").transferFromImageBitmap(s),t.blobPromise=i.convertToBlob()}s.close?.(),t.bitmap=null}isValidId(e){return e.startsWith(`image_${this.#e}_`)}},od=class{#e=[];#n=!1;#t;#s=-1;constructor(e=128){this.#t=e}add({cmd:e,undo:t,post:s,mustExec:i,type:r=NaN,overwriteIfSameType:a=!1,keepUndo:o=!1}){if(i&&e(),this.#n)return;let l={cmd:e,undo:t,post:s,type:r};if(this.#s===-1){this.#e.length>0&&(this.#e.length=0),this.#s=0,this.#e.push(l);return}if(a&&this.#e[this.#s].type===r){o&&(l.undo=this.#e[this.#s].undo),this.#e[this.#s]=l;return}let c=this.#s+1;c===this.#t?this.#e.splice(0,1):(this.#s=c,c<this.#e.length&&this.#e.splice(c)),this.#e.push(l)}undo(){if(this.#s===-1)return;this.#n=!0;let{undo:e,post:t}=this.#e[this.#s];e(),t?.(),this.#n=!1,this.#s-=1}redo(){if(this.#s<this.#e.length-1){this.#s+=1,this.#n=!0;let{cmd:e,post:t}=this.#e[this.#s];e(),t?.(),this.#n=!1}}hasSomethingToUndo(){return this.#s!==-1}hasSomethingToRedo(){return this.#s<this.#e.length-1}cleanType(e){if(this.#s!==-1){for(let t=this.#s;t>=0;t--)if(this.#e[t].type!==e){this.#e.splice(t+1,this.#s-t),this.#s=t;return}this.#e.length=0,this.#s=-1}}destroy(){this.#e=null}},Vr=class n{static ALT=1;static CTRL=2;static META=4;static SHIFT=8;constructor(e){this.callbacks=new Map;let{isMac:t}=Ot.platform;for(let[s,i,r={}]of e){let a=s.some(o=>o.startsWith(\"mac+\"));for(let o of s){let l=o;if(a){let h=o.startsWith(\"mac+\");if(t!==h)continue;h&&(l=o.slice(4))}let[c,f]=n.#e(l);c!==null&&this.callbacks.getOrInsertComputed(c,io).push({callback:i,options:r,modifiers:f})}}}static#e(e){let t=null,s=0;for(let i of e.split(\"+\")){if(i=i.trim(),!i)continue;let r=i.toUpperCase(),a=n[r];if(a){s|=a;continue}if(t!==null){at(`KeyboardManager: multiple keys in shortcut \"${e}\"`);break}t=r===\"SPACE\"?\" \":i}return t===null&&at(`KeyboardManager: no key found in shortcut \"${e}\"`),[t,s]}static#n(e){let t=/^(?:Key([A-Z])|(?:Digit|Numpad)(\\d))$/.exec(e);return t?t[1]?.toLowerCase()??t[2]:null}exec(e,t){let s=this.callbacks.get(t.key);if(!s){if(/^[a-z]$/i.test(t.key))return;let f=n.#n(t.code);if(f===null||f===t.key||(s=this.callbacks.get(f),!s))return}let i=(t.altKey?n.ALT:0)|(t.ctrlKey?n.CTRL:0)|(t.metaKey?n.META:0)|(t.shiftKey?n.SHIFT:0),r=s.find(f=>f.modifiers===i);if(!r)return;let{callback:a,options:{bubbles:o=!1,args:l=[],checker:c=null}}=r;c&&!c(e,t)||(a.bind(e,...l,t)(),o||Fn(t))}},ld=class n{static _colorsMapping=new Map([[\"CanvasText\",[0,0,0]],[\"Canvas\",[255,255,255]]]);get _colors(){let e=new Map([[\"CanvasText\",null],[\"Canvas\",null]]);return ck(e),ze(this,\"_colors\",e)}convert(e){let t=Il(e);if(!window.matchMedia(\"(forced-colors: active)\").matches)return t;for(let[s,i]of this._colors)if(i.every((r,a)=>r===t[a]))return n._colorsMapping.get(s);return t}getHexCode(e){let t=this._colors.get(e);return t?Be.makeHexColor(...t):e}},Kr=class n{#e=new AbortController;#n=null;#t=null;#s=new Map;#i=new Map;#r=null;#a=null;#o=null;#l=null;#c=null;#h=new od;#f=null;#d=null;#p=null;#g=0;#u=new Set;#m=null;#b=null;#w=new Set;_editorUndoBar=null;#x=!1;#v=!1;#k=!1;#j=null;#y=null;#A=null;#T=null;#I=!1;#_=null;#O=new rd;#C=!1;#R=!1;#M=!1;#F=null;#D=null;#W=null;#N=null;#U=null;#q=pt.NONE;#S=new Set;#H=null;#G=null;#$=null;#Y=null;#L=null;#X={isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1};#P=[0,0];#B=null;#V=null;#Q=null;#Z=null;#z=null;static TRANSLATE_SMALL=1;static TRANSLATE_BIG=10;static get _keyboardManager(){let e=n.prototype,t=a=>a.#V.contains(document.activeElement)&&document.activeElement.tagName!==\"BUTTON\"&&a.hasSomethingToControl(),s=(a,{target:o})=>{if(o instanceof HTMLInputElement){let{type:l}=o;return l!==\"text\"&&l!==\"number\"}return!0},i=this.TRANSLATE_SMALL,r=this.TRANSLATE_BIG;return ze(this,\"_keyboardManager\",new Vr([[[\"ctrl+a\",\"mac+meta+a\"],e.selectAll,{checker:s}],[[\"ctrl+z\",\"mac+meta+z\"],e.undo,{checker:s}],[[\"ctrl+y\",\"ctrl+shift+z\",\"mac+meta+shift+z\",\"ctrl+shift+Z\",\"mac+meta+shift+Z\"],e.redo,{checker:s}],[[\"Backspace\",\"alt+Backspace\",\"ctrl+Backspace\",\"shift+Backspace\",\"mac+Backspace\",\"mac+alt+Backspace\",\"mac+ctrl+Backspace\",\"Delete\",\"ctrl+Delete\",\"shift+Delete\",\"mac+Delete\"],e.delete,{checker:s}],[[\"Enter\"],e.addNewEditorFromKeyboard,{checker:(a,{target:o})=>!(o instanceof HTMLButtonElement)&&a.#V.contains(o)&&!a.isEnterHandled}],[[\"Space\"],e.addNewEditorFromKeyboard,{checker:(a,{target:o})=>!(o instanceof HTMLButtonElement)&&a.#V.contains(document.activeElement)}],[[\"Escape\"],e.unselectAll],[[\"ArrowLeft\"],e.translateSelectedEditors,{args:[-i,0],checker:t}],[[\"ctrl+ArrowLeft\",\"mac+shift+ArrowLeft\"],e.translateSelectedEditors,{args:[-r,0],checker:t}],[[\"ArrowRight\"],e.translateSelectedEditors,{args:[i,0],checker:t}],[[\"ctrl+ArrowRight\",\"mac+shift+ArrowRight\"],e.translateSelectedEditors,{args:[r,0],checker:t}],[[\"ArrowUp\"],e.translateSelectedEditors,{args:[0,-i],checker:t}],[[\"ctrl+ArrowUp\",\"mac+shift+ArrowUp\"],e.translateSelectedEditors,{args:[0,-r],checker:t}],[[\"ArrowDown\"],e.translateSelectedEditors,{args:[0,i],checker:t}],[[\"ctrl+ArrowDown\",\"mac+shift+ArrowDown\"],e.translateSelectedEditors,{args:[0,r],checker:t}]]))}constructor(e,t,s,i,r,a,o,l,c,f,h,u,d,p,m,g,b){let x=this._signal=this.#e.signal;this.#V=e,this.#Q=t,this.#Z=s,this.#o=i,this.#f=r,this.#G=a,this.#L=l,this._eventBus=o;let w={signal:x,...Uu};o.on(\"editingaction\",this.onEditingAction.bind(this),w),o.on(\"pagechanging\",this.onPageChanging.bind(this),w),o.on(\"scalechanging\",this.onScaleChanging.bind(this),w),o.on(\"rotationchanging\",this.onRotationChanging.bind(this),w),o.on(\"setpreference\",this.onSetPreference.bind(this),w),o.on(\"switchannotationeditorparams\",v=>this.updateParams(v.type,v.value),w),window.addEventListener(\"pointerdown\",()=>{this.#R=!0},{capture:!0,signal:x}),window.addEventListener(\"pointerup\",()=>{this.#R=!1},{capture:!0,signal:x}),window.addEventListener(\"beforeunload\",this.endCurrentEditing.bind(this),{capture:!0,signal:x}),this.#le(),this.#pe(),this.#re(),this.#l=l.annotationStorage,this.#j=l.filterFactory,this.#$=c,this.#T=f||null,this.#x=h,this.#v=u,this.#k=d,this.#U=p||null,this.viewParameters={realScale:yr.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=m||null,this._supportsPinchToZoom=g!==!1,this._keepToolbarInPage=b===!0,r?.setSidebarUiManager(this)}destroy(){this.#z?.resolve(),this.#z=null,this.#e?.abort(),this.#e=null,this._signal=null;for(let e of this.#i.values())e.destroy();this.#i.clear(),this.#s.clear(),this.#w.clear(),this.#N?.clear(),this.#n=null,this.#S.clear(),this.#h.destroy(),this.#o?.destroy(),this.#f?.destroy(),this.#G?.destroy(),this.#_?.hide(),this.#_=null,this.#W?.destroy(),this.#W=null,this.#t=null,this.#y&&(clearTimeout(this.#y),this.#y=null),this.#B&&(clearTimeout(this.#B),this.#B=null),this._editorUndoBar?.destroy(),this.#L=null}combinedSignal(e){return AbortSignal.any([this._signal,e.signal])}get mlManager(){return this.#U}get useNewAltTextFlow(){return this.#v}get useNewAltTextWhenAddingImage(){return this.#k}get hcmFilter(){return ze(this,\"hcmFilter\",this.#$?this.#j.addHCMFilter(this.#$.foreground,this.#$.background):\"none\")}get direction(){return ze(this,\"direction\",getComputedStyle(this.#V).direction)}get _highlightColors(){return ze(this,\"_highlightColors\",this.#T?new Map(this.#T.split(\",\").map(e=>(e=e.split(\"=\").map(t=>t.trim()),e[1]=e[1].toUpperCase(),e))):null)}get highlightColors(){let{_highlightColors:e}=this;if(!e)return ze(this,\"highlightColors\",null);let t=new Map,s=!!this.#$;for(let[i,r]of e){let a=i.endsWith(\"_HCM\");if(s&&a){t.set(i.replace(\"_HCM\",\"\"),r);continue}!s&&!a&&t.set(i,r)}return ze(this,\"highlightColors\",t)}get highlightColorNames(){return ze(this,\"highlightColorNames\",this.highlightColors?new Map(Array.from(this.highlightColors,e=>e.reverse())):null)}getNonHCMColor(e){if(!this._highlightColors)return e;let t=this.highlightColorNames.get(e);return this._highlightColors.get(t)||e}getNonHCMColorName(e){return this.highlightColorNames.get(e)||e}setCurrentDrawingSession(e){e?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),this.#p=e}setMainHighlightColorPicker(e){this.#W=e}editAltText(e,t=!1){this.#o?.editAltText(this,e,t)}hasCommentManager(){return!!this.#f}editComment(e,t,s,i){this.#f?.showDialog(this,e,t,s,i)}selectComment(e,t){this.#i.get(e)?.getEditorByUID(t)?.toggleComment(!0,!0)}updateComment(e){this.#f?.updateComment(e.getData())}updatePopupColor(e){this.#f?.updatePopupColor(e)}removeComment(e){this.#f?.removeComments([e.uid])}deleteComment(e,t){let s=()=>{e.comment=t},i=()=>{this._editorUndoBar?.show(s,\"comment\"),this.toggleComment(null),e.comment=null};this.addCommands({cmd:i,undo:s,mustExec:!0})}toggleComment(e,t,s=void 0){this.#f?.toggleCommentPopup(e,t,s)}makeCommentColor(e,t){return e&&this.#f?.makeCommentColor(e,t)||null}getCommentDialogElement(){return this.#f?.dialogElement||null}async waitForEditorsRendered(e){if(this.#i.has(e-1))return;let{resolve:t,promise:s}=Promise.withResolvers(),i=r=>{r.pageNumber===e&&(this._eventBus.off(\"editorsrendered\",i),t())};this._eventBus.on(\"editorsrendered\",i,Uu),await s}getSignature(e){this.#G?.getSignature({uiManager:this,editor:e})}get signatureManager(){return this.#G}switchToMode(e,t){this._eventBus.on(\"annotationeditormodechanged\",t,{once:!0,signal:this._signal,...Uu}),this._eventBus.dispatch(\"showannotationeditorui\",{source:this,mode:e})}setPreference(e,t){this._eventBus.dispatch(\"setpreference\",{source:this,name:e,value:t})}onSetPreference({name:e,value:t}){e===\"enableNewAltTextWhenAddingImage\"&&(this.#k=t)}onPageChanging({pageNumber:e}){this.#g=e-1}deletePage(e){for(let t of this.getEditors(e))t.remove();this.#i.delete(e),this.#g===e&&(this.#g=0)}focusMainContainer(){this.#V.focus()}findParent(e,t){for(let s of this.#i.values()){let{x:i,y:r,width:a,height:o}=s.div.getBoundingClientRect();if(e>=i&&e<=i+a&&t>=r&&t<=r+o)return s}return null}disableUserSelect(e=!1){this.#Q.classList.toggle(\"noUserSelect\",e)}addShouldRescale(e){this.#w.add(e)}removeShouldRescale(e){this.#w.delete(e)}onScaleChanging({scale:e}){this.commitOrRemove(),this.viewParameters.realScale=e*yr.PDF_TO_CSS_UNITS;for(let t of this.#w)t.onScaleChanging();this.#p?.onScaleChanging()}onRotationChanging({pagesRotation:e}){this.commitOrRemove(),this.viewParameters.rotation=e}#J({anchorNode:e}){return e.nodeType===Node.TEXT_NODE?e.parentElement:e}#ee(e){let{currentLayer:t}=this;if(t.hasTextLayer(e))return t;for(let s of this.#i.values())if(s.hasTextLayer(e))return s;return null}highlightSelection(e=\"\",t=!1){let s=document.getSelection();if(!s||s.isCollapsed)return;let{anchorNode:i,anchorOffset:r,focusNode:a,focusOffset:o}=s,l=s.toString(),f=this.#J(s).closest(\".textLayer\"),h=this.getSelectionBoxes(f);if(!h)return;s.empty();let u=this.#ee(f),d=this.#q===pt.NONE,p=()=>{let m=u?.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:e,boxes:h,anchorNode:i,anchorOffset:r,focusNode:a,focusOffset:o,text:l});d&&this.showAllEditors(\"highlight\",!0,!0),t&&m?.editComment()};if(d){this.switchToMode(pt.HIGHLIGHT,p);return}p()}commentSelection(e=\"\"){this.highlightSelection(e,!0)}endCurrentEditing(){this.commitOrRemove(),this.currentLayer?.endDrawingSession(!1)}#se(){let e=document.getSelection();if(!e||e.isCollapsed)return;let s=this.#J(e).closest(\".textLayer\"),i=this.getSelectionBoxes(s);i&&(this.#_||=new id(this),this.#_.show(s,i,this.direction===\"ltr\"))}getAndRemoveDataFromAnnotationStorage(e){if(!this.#l)return null;let t=`${Ja}${e}`,s=this.#l.getRawValue(t);return s&&this.#l.remove(t),s}addToAnnotationStorage(e){!e.isEmpty()&&this.#l&&!this.#l.has(e.id)&&this.#l.setValue(e.id,e)}a11yAlert(e,t=null){let s=this.#Z;s&&(s.setAttribute(\"data-l10n-id\",e),t?s.setAttribute(\"data-l10n-args\",JSON.stringify(t)):s.removeAttribute(\"data-l10n-args\"))}#ie(){let e=document.getSelection();if(!e||e.isCollapsed){this.#H&&(this.#_?.hide(),this.#H=null,this.#E({hasSelectedText:!1}));return}let{anchorNode:t}=e;if(t===this.#H)return;let i=this.#J(e).closest(\".textLayer\");if(!i){this.#H&&(this.#_?.hide(),this.#H=null,this.#E({hasSelectedText:!1}));return}if(this.#_?.hide(),this.#H=t,this.#E({hasSelectedText:!0}),!(this.#q!==pt.HIGHLIGHT&&this.#q!==pt.NONE)&&(this.#q===pt.HIGHLIGHT&&this.showAllEditors(\"highlight\",!0,!0),this.#I=this.isShiftKeyDown,!this.isShiftKeyDown)){let r=this.#q===pt.HIGHLIGHT?this.#ee(i):null;if(r?.toggleDrawing(),this.#R){let a=new AbortController,o=this.combinedSignal(a),l=c=>{c.type===\"pointerup\"&&c.button!==0||(a.abort(),r?.toggleDrawing(!0),c.type===\"pointerup\"&&this.#te(\"main_toolbar\"))};window.addEventListener(\"pointerup\",l,{signal:o}),window.addEventListener(\"blur\",l,{signal:o})}else r?.toggleDrawing(!0),this.#te(\"main_toolbar\")}}#te(e=\"\"){this.#q===pt.HIGHLIGHT?this.highlightSelection(e):this.#x&&this.#se()}#le(){document.addEventListener(\"selectionchange\",this.#ie.bind(this),{signal:this._signal})}#ce(){if(this.#A)return;this.#A=new AbortController;let e=this.combinedSignal(this.#A);window.addEventListener(\"focus\",this.focus.bind(this),{signal:e}),window.addEventListener(\"blur\",this.blur.bind(this),{signal:e})}#fe(){this.#A?.abort(),this.#A=null}blur(){if(this.isShiftKeyDown=!1,this.#I&&(this.#I=!1,this.#te(\"main_toolbar\")),!this.hasSelection)return;let{activeElement:e}=document;for(let t of this.#S)if(t.div.contains(e)){this.#D=[t,e],t._focusEventsAllowed=!1;break}}focus(){if(!this.#D)return;let[e,t]=this.#D;this.#D=null,t.addEventListener(\"focusin\",()=>{e._focusEventsAllowed=!0},{once:!0,signal:this._signal}),t.focus()}#re(){if(this.#F)return;this.#F=new AbortController;let e=this.combinedSignal(this.#F);window.addEventListener(\"keydown\",this.keydown.bind(this),{signal:e}),window.addEventListener(\"keyup\",this.keyup.bind(this),{signal:e})}#he(){this.#F?.abort(),this.#F=null}#ue(){if(this.#d)return;this.#d=new AbortController;let e=this.combinedSignal(this.#d);document.addEventListener(\"copy\",this.copy.bind(this),{signal:e}),document.addEventListener(\"cut\",this.cut.bind(this),{signal:e}),document.addEventListener(\"paste\",this.paste.bind(this),{signal:e})}#de(){this.#d?.abort(),this.#d=null}#pe(){let e=this._signal;document.addEventListener(\"dragover\",this.dragOver.bind(this),{signal:e}),document.addEventListener(\"drop\",this.drop.bind(this),{signal:e})}addEditListeners(){this.#re(),this.setEditingState(!0)}removeEditListeners(){this.#he(),this.setEditingState(!1)}dragOver(e){for(let{type:t}of e.dataTransfer.items)for(let s of this.#b)if(s.isHandlingMimeForPasting(t)){e.dataTransfer.dropEffect=\"copy\",e.preventDefault();return}}drop(e){for(let t of e.dataTransfer.items)for(let s of this.#b)if(s.isHandlingMimeForPasting(t.type)){s.paste(t,this.currentLayer),e.preventDefault();return}}copy(e){if(e.preventDefault(),this.#n?.commitOrRemove(),!this.hasSelection)return;let t=[];for(let s of this.#S){let i=s.serialize(!0);i&&t.push(i)}t.length!==0&&e.clipboardData.setData(\"application/pdfjs\",JSON.stringify(t))}cut(e){this.copy(e),this.delete()}async paste(e){e.preventDefault();let{clipboardData:t}=e;for(let r of t.items)for(let a of this.#b)if(a.isHandlingMimeForPasting(r.type)){a.paste(r,this.currentLayer);return}let s=t.getData(\"application/pdfjs\");if(!s)return;try{s=JSON.parse(s)}catch(r){at(`paste: \"${r.message}\".`);return}if(!Array.isArray(s))return;this.unselectAll();let i=this.currentLayer;try{let r=[];for(let l of s){let c=await i.deserialize(l);if(!c)return;r.push(c)}let a=()=>{for(let l of r)this.#ae(l);this.#oe(r)},o=()=>{for(let l of r)l.remove()};this.addCommands({cmd:a,undo:o,mustExec:!0})}catch(r){at(`paste: \"${r.message}\".`)}}keydown(e){!this.isShiftKeyDown&&e.key===\"Shift\"&&(this.isShiftKeyDown=!0),this.#q!==pt.NONE&&!this.isEditorHandlingKeyboard&&n._keyboardManager.exec(this,e)}keyup(e){this.isShiftKeyDown&&e.key===\"Shift\"&&(this.isShiftKeyDown=!1,this.#I&&(this.#I=!1,this.#te(\"main_toolbar\")))}onEditingAction({name:e}){switch(e){case\"undo\":case\"redo\":case\"delete\":case\"selectAll\":this[e]();break;case\"highlightSelection\":this.highlightSelection(\"context_menu\");break;case\"commentSelection\":this.commentSelection(\"context_menu\");break}}updatePageIndex(e,t){for(let i of this.#a.get(e)||[])i.pageIndex=t;let s=this.#r.get(e);s&&(s.pageIndex=t,this.#i.set(t,s),this.#C?s.enable():s.disable())}startUpdatePages(){this.#r=new Map(this.#i),this.#i.clear();let e=this.#a=new Map,t=s=>{e.getOrInsertComputed(s.pageIndex,io).push(s)};for(let s of this.#s.values())t(s);for(let[s,i]of this.#l)s.startsWith(Ja)&&!this.#s.has(s)&&Number.isInteger(i?.pageIndex)&&t(i)}endUpdatePages(){this.#r=null,this.#a=null}clonePage(e,t){for(let s of this.getEditors(e)){let i=s.serialize(s.mode!==pt.HIGHLIGHT);i&&(i.pageIndex=t,i.id=this.getId(),i.isClone=!0,delete i.popupRef,this.#l.setValue(i.id,i))}}findClonesForPage(e){let t=[],{pageIndex:s}=e;for(let[i,r]of this.#l)r.pageIndex===s&&r.isClone&&(this.#l.remove(i),t.push(e.deserialize(r).then(a=>{a&&(a.isClone=!0,e.addOrRebuild(a))})));return Promise.all(t)}#E(e){Object.entries(e).some(([s,i])=>this.#X[s]!==i)&&(this._eventBus.dispatch(\"editingstateschanged\",{source:this,details:Object.assign(this.#X,e)}),this.#q===pt.HIGHLIGHT&&e.hasSelectedEditor===!1&&this.#K([[qt.HIGHLIGHT_FREE,!0]]))}#K(e){this._eventBus.dispatch(\"annotationeditorparamschanged\",{source:this,details:e})}setEditingState(e){e?(this.#ce(),this.#ue(),this.#E({isEditing:this.#q!==pt.NONE,isEmpty:this.#ne(),hasSomethingToUndo:this.#h.hasSomethingToUndo(),hasSomethingToRedo:this.#h.hasSomethingToRedo(),hasSelectedEditor:!1})):(this.#fe(),this.#de(),this.#E({isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(e){if(!this.#b){this.#b=e;for(let t of this.#b)this.#K(t.defaultPropertiesToUpdate)}}getId(){return this.#O.id}get currentLayer(){return this.#i.get(this.#g)}getLayer(e){return this.#i.get(e)}get currentPageIndex(){return this.#g}addLayer(e){this.#i.set(e.pageIndex,e),this.#C?e.enable():e.disable()}removeLayer(e){this.#i.delete(e.pageIndex)}async updateMode(e,t=null,s=!1,i=!1,r=!1,a=!1){if(this.#q!==e&&!(this.#z&&(await this.#z.promise,!this.#z))){if(this.#z=Promise.withResolvers(),this.#p?.commitOrRemove(),this.#q===pt.POPUP&&this.#f?.hideSidebar(),this.#f?.destroyPopup(),this.#q=e,e===pt.NONE){this.setEditingState(!1),this.#ge();for(let o of this.#s.values())o.hideStandaloneCommentButton();this._editorUndoBar?.hide(),this.toggleComment(null),this.#z.resolve();return}for(let o of this.#s.values())o.addStandaloneCommentButton();e===pt.SIGNATURE&&await this.#G?.loadSignatures(),s&&Zn.clearPointerType(),this.setEditingState(!0),await this.#me(),this.unselectAll();for(let o of this.#i.values())o.updateMode(e);if(e===pt.POPUP){this.#t||=await this.#L.getAnnotationsByType(new Set(this.#b.map(c=>c._editorType)));let o=new Set,l=[];for(let c of this.#s.values()){let{annotationElementId:f,hasComment:h,deleted:u}=c;f&&o.add(f),h&&!u&&l.push(c.getData())}for(let c of this.#t){let{id:f,popupRef:h,contentsObj:u}=c;h&&u?.str&&!o.has(f)&&!this.#u.has(f)&&l.push(c)}this.#f?.showSidebar(l)}if(!t){i&&this.addNewEditorFromKeyboard(),this.#z.resolve();return}for(let o of this.#s.values())o.uid===t?(this.setSelected(o),a?o.editComment():r?o.enterInEditMode():o.focus()):o.unselect();this.#z.resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(e){e.mode!==this.#q&&this._eventBus.dispatch(\"switchannotationeditormode\",{source:this,...e})}updateParams(e,t){if(this.#b){switch(e){case qt.CREATE:this.currentLayer.addNewEditor(t);return;case qt.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch(\"reporttelemetry\",{source:this,details:{type:\"editing\",data:{type:\"highlight\",action:\"toggle_visibility\"}}}),(this.#Y||=new Map).set(e,t),this.showAllEditors(\"highlight\",t);break}if(this.hasSelection)for(let s of this.#S)s.updateParams(e,t);else for(let s of this.#b)s.updateDefaultParams(e,t)}}showAllEditors(e,t,s=!1){for(let r of this.#s.values())r.editorType===e&&r.show(t);(this.#Y?.get(qt.HIGHLIGHT_SHOW_ALL)??!0)!==t&&this.#K([[qt.HIGHLIGHT_SHOW_ALL,t]])}enableWaiting(e=!1){if(this.#M!==e){this.#M=e;for(let t of this.#i.values())e?t.disableClick():t.enableClick(),t.div.classList.toggle(\"waiting\",e)}}async#me(){if(!this.#C){this.#C=!0;let e=[];for(let t of this.#i.values())e.push(t.enable());await Promise.all(e);for(let t of this.#s.values())t.enable()}}#ge(){if(this.unselectAll(),this.#C){this.#C=!1;for(let e of this.#i.values())e.disable();for(let e of this.#s.values())e.disable()}}*getEditors(e){for(let t of this.#s.values())t.pageIndex===e&&(yield t)}getEditor(e){return this.#s.get(e)}addEditor(e){this.#s.set(e.id,e)}removeEditor(e){e.div.contains(document.activeElement)&&(this.#y&&clearTimeout(this.#y),this.#y=setTimeout(()=>{this.focusMainContainer(),this.#y=null},0)),this.#s.delete(e.id),e.annotationElementId&&this.#N?.delete(e.annotationElementId),this.unselect(e),(!e.annotationElementId||!this.#u.has(e.annotationElementId))&&this.#l?.remove(e.id)}addDeletedAnnotationElement(e){this.#u.add(e.annotationElementId),this.addChangedExistingAnnotation(e),e.deleted=!0}isDeletedAnnotationElement(e){return this.#u.has(e)}removeDeletedAnnotationElement(e){this.#u.delete(e.annotationElementId),this.removeChangedExistingAnnotation(e),e.deleted=!1}#ae(e){let t=this.#i.get(e.pageIndex);t?t.addOrRebuild(e):(this.addEditor(e),this.addToAnnotationStorage(e))}setActiveEditor(e){this.#n!==e&&(this.#n=e,e&&this.#K(e.propertiesToUpdate))}get#be(){let e=null;for(e of this.#S);return e}updateUI(e){this.#be===e&&this.#K(e.propertiesToUpdate)}updateUIForDefaultProperties(e){this.#K(e.defaultPropertiesToUpdate)}toggleSelected(e){if(this.#S.has(e)){this.#S.delete(e),e.unselect(),this.#E({hasSelectedEditor:this.hasSelection});return}this.#S.add(e),e.select(),this.#K(e.propertiesToUpdate),this.#E({hasSelectedEditor:!0})}setSelected(e){this.updateToolbar({mode:e.mode,editId:e.uid}),this.#p?.commitOrRemove();for(let t of this.#S)t!==e&&t.unselect();this.#f?.destroyPopup(),this.#S.clear(),this.#S.add(e),e.select(),this.#K(e.propertiesToUpdate),this.#E({hasSelectedEditor:!0})}get firstSelectedEditor(){return this.#S.values().next().value}unselect(e){e.unselect(),this.#S.delete(e),this.#E({hasSelectedEditor:this.hasSelection})}get hasSelection(){return this.#S.size!==0}get isEnterHandled(){return this.#S.size===1&&this.firstSelectedEditor.isEnterHandled}undo(){this.#h.undo(),this.#E({hasSomethingToUndo:this.#h.hasSomethingToUndo(),hasSomethingToRedo:this.#h.hasSomethingToRedo(),isEmpty:this.#ne()}),this._editorUndoBar?.hide()}redo(){this.#h.redo(),this.#E({hasSomethingToUndo:this.#h.hasSomethingToUndo(),hasSomethingToRedo:this.#h.hasSomethingToRedo(),isEmpty:this.#ne()})}addCommands(e){this.#h.add(e),this.#E({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#ne()})}cleanUndoStack(e){this.#h.cleanType(e)}#ne(){if(this.#s.size===0)return!0;if(this.#s.size===1)for(let e of this.#s.values())return e.isEmpty();return!1}delete(){this.commitOrRemove();let e=this.currentLayer?.endDrawingSession(!0);if(!this.hasSelection&&!e)return;let t=e?[e]:[...this.#S],s=()=>{this._editorUndoBar?.show(i,t.length===1?t[0].editorType:t.length);for(let r of t)r.remove()},i=()=>{for(let r of t)this.#ae(r)};this.addCommands({cmd:s,undo:i,mustExec:!0})}commitOrRemove(){this.#n?.commitOrRemove()}hasSomethingToControl(){return this.#n||this.hasSelection}#oe(e){for(let t of this.#S)t.unselect();this.#S.clear();for(let t of e)t.isEmpty()||(this.#S.add(t),t.select());this.#E({hasSelectedEditor:this.hasSelection})}selectAll(){for(let e of this.#S)e.commit();this.#oe(this.#s.values())}unselectAll(){if(!(this.#n&&(this.#n.commitOrRemove(),this.#q!==pt.NONE))&&!this.#p?.commitOrRemove()&&(this.#f?.destroyPopup(),!!this.hasSelection)){for(let e of this.#S)e.unselect();this.#S.clear(),this.#E({hasSelectedEditor:!1})}}translateSelectedEditors(e,t,s=!1){if(s||this.commitOrRemove(),!this.hasSelection)return;this.#P[0]+=e,this.#P[1]+=t;let[i,r]=this.#P,a=[...this.#S],o=1e3;this.#B&&clearTimeout(this.#B),this.#B=setTimeout(()=>{this.#B=null,this.#P[0]=this.#P[1]=0,this.addCommands({cmd:()=>{for(let l of a)this.#s.has(l.id)&&(l.translateInPage(i,r),l.translationDone())},undo:()=>{for(let l of a)this.#s.has(l.id)&&(l.translateInPage(-i,-r),l.translationDone())},mustExec:!1})},o);for(let l of a)l.translateInPage(e,t),l.translationDone()}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),this.#m=new Map;for(let e of this.#S)this.#m.set(e,{savedX:e.x,savedY:e.y,savedPageIndex:e.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!this.#m)return!1;this.disableUserSelect(!1);let e=this.#m;this.#m=null;let t=!1;for(let[{x:i,y:r,pageIndex:a},o]of e)o.newX=i,o.newY=r,o.newPageIndex=a,t||=i!==o.savedX||r!==o.savedY||a!==o.savedPageIndex;if(!t)return!1;let s=(i,r,a,o)=>{if(this.#s.has(i.id)){let l=this.#i.get(o);l?i._setParentAndPosition(l,r,a):(i.pageIndex=o,i.x=r,i.y=a)}};return this.addCommands({cmd:()=>{for(let[i,{newX:r,newY:a,newPageIndex:o}]of e)s(i,r,a,o)},undo:()=>{for(let[i,{savedX:r,savedY:a,savedPageIndex:o}]of e)s(i,r,a,o)},mustExec:!0}),!0}dragSelectedEditors(e,t){if(this.#m)for(let s of this.#m.keys())s.drag(e,t)}rebuild(e){if(e.parent===null){let t=this.getLayer(e.pageIndex);t?(t.changeParent(e),t.addOrRebuild(e)):(this.addEditor(e),this.addToAnnotationStorage(e),e.rebuild())}else e.parent.addOrRebuild(e)}get isEditorHandlingKeyboard(){return this.getActive()?.shouldGetKeyboardEvents()||this.#S.size===1&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(e){return this.#n===e}getActive(){return this.#n}getMode(){return this.#q}isEditingMode(){return this.#q!==pt.NONE}get imageManager(){return ze(this,\"imageManager\",new ad)}getSelectionBoxes(e){if(!e)return null;let t=document.getSelection();for(let c=0,f=t.rangeCount;c<f;c++)if(!e.contains(t.getRangeAt(c).commonAncestorContainer))return null;let{x:s,y:i,width:r,height:a}=e.getBoundingClientRect(),o;switch(e.getAttribute(\"data-main-rotation\")){case\"90\":o=(c,f,h,u)=>({x:(f-i)/a,y:1-(c+h-s)/r,width:u/a,height:h/r});break;case\"180\":o=(c,f,h,u)=>({x:1-(c+h-s)/r,y:1-(f+u-i)/a,width:h/r,height:u/a});break;case\"270\":o=(c,f,h,u)=>({x:1-(f+u-i)/a,y:(c-s)/r,width:u/a,height:h/r});break;default:o=(c,f,h,u)=>({x:(c-s)/r,y:(f-i)/a,width:h/r,height:u/a});break}let l=[];for(let c=0,f=t.rangeCount;c<f;c++){let h=t.getRangeAt(c);if(!h.collapsed)for(let{x:u,y:d,width:p,height:m}of h.getClientRects())p===0||m===0||l.push(o(u,d,p,m))}return l.length===0?null:l}addChangedExistingAnnotation({annotationElementId:e,id:t}){(this.#c||=new Map).set(e,t)}removeChangedExistingAnnotation({annotationElementId:e}){this.#c?.delete(e)}renderAnnotationElement(e){let t=this.#c?.get(e.data.id);if(!t)return;let s=this.#l.getRawValue(t);s&&(this.#q===pt.NONE&&!s.hasBeenModified||s.renderAnnotationElement(e))}setMissingCanvas(e,t,s){let i=this.#N?.get(e);i&&(i.setCanvas(t,s),this.#N.delete(e))}addMissingCanvas(e,t){(this.#N||=new Map).set(e,t)}},yf=class n{#e=null;#n=!1;#t=null;#s=null;#i=null;#r=null;#a=!1;#o=null;#l=null;#c=null;#h=null;#f=!1;static#d=null;static _l10n=null;constructor(e){this.#l=e,this.#f=e._uiManager.useNewAltTextFlow,n.#d||=Object.freeze({added:\"pdfjs-editor-new-alt-text-added-button\",\"added-label\":\"pdfjs-editor-new-alt-text-added-button-label\",missing:\"pdfjs-editor-new-alt-text-missing-button\",\"missing-label\":\"pdfjs-editor-new-alt-text-missing-button-label\",review:\"pdfjs-editor-new-alt-text-to-review-button\",\"review-label\":\"pdfjs-editor-new-alt-text-to-review-button-label\"})}static initialize(e){n._l10n??=e}async render(){let e=this.#t=document.createElement(\"button\");e.className=\"altText\",e.tabIndex=\"0\";let t=this.#s=document.createElement(\"span\");e.append(t),this.#f?(e.classList.add(\"new\"),e.setAttribute(\"data-l10n-id\",n.#d.missing),t.setAttribute(\"data-l10n-id\",n.#d[\"missing-label\"])):(e.setAttribute(\"data-l10n-id\",\"pdfjs-editor-alt-text-button\"),t.setAttribute(\"data-l10n-id\",\"pdfjs-editor-alt-text-button-label\"));let s=this.#l._uiManager._signal;e.addEventListener(\"contextmenu\",hi,{signal:s}),e.addEventListener(\"pointerdown\",r=>r.stopPropagation(),{signal:s});let i=r=>{r.preventDefault(),this.#l._uiManager.editAltText(this.#l),this.#f&&this.#l._reportTelemetry({action:\"pdfjs.image.alt_text.image_status_label_clicked\",data:{label:this.#p}})};return e.addEventListener(\"click\",i,{capture:!0,signal:s}),e.addEventListener(\"keydown\",r=>{r.target===e&&r.key===\"Enter\"&&(this.#a=!0,i(r))},{signal:s}),await this.#g(),e}get#p(){return this.#e&&\"added\"||this.#e===null&&this.guessedText&&\"review\"||\"missing\"}finish(){this.#t&&(this.#t.focus({focusVisible:this.#a}),this.#a=!1)}isEmpty(){return this.#f?this.#e===null:!this.#e&&!this.#n}hasData(){return this.#f?this.#e!==null||!!this.#c:this.isEmpty()}get guessedText(){return this.#c}async setGuessedText(e){this.#e===null&&(this.#c=e,this.#h=await n._l10n.get(\"pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer\",{generatedAltText:e}),this.#g())}toggleAltTextBadge(e=!1){if(!this.#f||this.#e){this.#o?.remove(),this.#o=null;return}if(!this.#o){let t=this.#o=document.createElement(\"div\");t.className=\"noAltTextBadge\",this.#l.div.append(t)}this.#o.classList.toggle(\"hidden\",!e)}serialize(e){let t=this.#e;return!e&&this.#c===t&&(t=this.#h),{altText:t,decorative:this.#n,guessedText:this.#c,textWithDisclaimer:this.#h}}get data(){return{altText:this.#e,decorative:this.#n}}set data({altText:e,decorative:t,guessedText:s,textWithDisclaimer:i,cancel:r=!1}){s&&(this.#c=s,this.#h=i),!(this.#e===e&&this.#n===t)&&(r||(this.#e=e,this.#n=t),this.#g())}toggle(e=!1){this.#t&&(!e&&this.#r&&(clearTimeout(this.#r),this.#r=null),this.#t.disabled=!e)}shown(){this.#l._reportTelemetry({action:\"pdfjs.image.alt_text.image_status_label_displayed\",data:{label:this.#p}})}destroy(){this.#t?.remove(),this.#t=null,this.#s=null,this.#i=null,this.#o?.remove(),this.#o=null}async#g(){let e=this.#t;if(!e)return;if(this.#f){if(e.classList.toggle(\"done\",!!this.#e),e.setAttribute(\"data-l10n-id\",n.#d[this.#p]),this.#s?.setAttribute(\"data-l10n-id\",n.#d[`${this.#p}-label`]),!this.#e){this.#i?.remove();return}}else{if(!this.#e&&!this.#n){e.classList.remove(\"done\"),this.#i?.remove();return}e.classList.add(\"done\"),e.setAttribute(\"data-l10n-id\",\"pdfjs-editor-alt-text-edit-button\")}let t=this.#i;if(!t){this.#i=t=document.createElement(\"span\"),t.className=\"tooltip\",t.setAttribute(\"role\",\"tooltip\"),t.id=`alt-text-tooltip-${this.#l.id}`;let i=100,r=this.#l._uiManager._signal;r.addEventListener(\"abort\",()=>{clearTimeout(this.#r),this.#r=null},{once:!0}),e.addEventListener(\"mouseenter\",()=>{this.#r=setTimeout(()=>{this.#r=null,this.#i.classList.add(\"show\"),this.#l._reportTelemetry({action:\"alt_text_tooltip\"})},i)},{signal:r}),e.addEventListener(\"mouseleave\",()=>{this.#r&&(clearTimeout(this.#r),this.#r=null),this.#i?.classList.remove(\"show\")},{signal:r})}this.#n?t.setAttribute(\"data-l10n-id\",\"pdfjs-editor-alt-text-decorative-tooltip\"):(t.removeAttribute(\"data-l10n-id\"),t.textContent=this.#e),t.parentNode||e.append(t),this.#l.getElementForAltText()?.setAttribute(\"aria-describedby\",t.id)}},Xa=class{#e=null;#n=null;#t=!1;#s=null;#i=null;#r=null;#a=null;#o=null;#l=!1;#c=null;constructor(e){this.#s=e}renderForToolbar(){let e=this.#n=document.createElement(\"button\");return e.className=\"comment\",this.#h(e,!1)}renderForStandalone(){let e=this.#e=document.createElement(\"button\");e.className=\"annotationCommentButton\";let t=this.#s.commentButtonPosition;if(t){let{style:s}=e;s.insetInlineEnd=`calc(${100*(this.#s._uiManager.direction===\"ltr\"?1-t[0]:t[0])}% - var(--comment-button-dim))`,s.top=`calc(${100*t[1]}% - var(--comment-button-dim))`;let i=this.#s.commentButtonColor;i&&(s.backgroundColor=i)}return this.#h(e,!0)}focusButton(){setTimeout(()=>{(this.#e??this.#n)?.focus()},0)}onUpdatedColor(){if(!this.#e)return;let e=this.#s.commentButtonColor;e&&(this.#e.style.backgroundColor=e),this.#s._uiManager.updatePopupColor(this.#s)}get commentButtonWidth(){return(this.#e?.getBoundingClientRect().width??0)/this.#s.parent.boundingClientRect.width}get commentPopupPositionInLayer(){if(this.#c)return this.#c;if(!this.#e)return null;let{x:e,y:t,height:s}=this.#e.getBoundingClientRect(),{x:i,y:r,width:a,height:o}=this.#s.parent.boundingClientRect;return[(e-i)/a,(t+s-r)/o]}set commentPopupPositionInLayer(e){this.#c=e}hasDefaultPopupPosition(){return this.#c===null}removeStandaloneCommentButton(){this.#e?.remove(),this.#e=null}removeToolbarCommentButton(){this.#n?.remove(),this.#n=null}setCommentButtonStates({selected:e,hasPopup:t}){this.#e&&(this.#e.classList.toggle(\"selected\",e),this.#e.ariaExpanded=t)}#h(e,t){if(!this.#s._uiManager.hasCommentManager())return null;e.tabIndex=\"0\",e.ariaHasPopup=\"dialog\",t?(e.ariaControls=\"commentPopup\",e.setAttribute(\"data-l10n-id\",\"pdfjs-show-comment-button\")):(e.ariaControlsElements=[this.#s._uiManager.getCommentDialogElement()],e.setAttribute(\"data-l10n-id\",\"pdfjs-editor-add-comment-button\"));let s=this.#s._uiManager._signal;if(!(s instanceof AbortSignal)||s.aborted)return e;e.addEventListener(\"contextmenu\",hi,{signal:s}),t&&(e.addEventListener(\"focusin\",r=>{this.#s._focusEventsAllowed=!1,Fn(r)},{capture:!0,signal:s}),e.addEventListener(\"focusout\",r=>{this.#s._focusEventsAllowed=!0,Fn(r)},{capture:!0,signal:s})),e.addEventListener(\"pointerdown\",r=>r.stopPropagation(),{signal:s});let i=r=>{r.preventDefault(),e===this.#n?this.edit():this.#s.toggleComment(!0)};return e.addEventListener(\"click\",i,{capture:!0,signal:s}),e.addEventListener(\"keydown\",r=>{r.target===e&&r.key===\"Enter\"&&(this.#t=!0,i(r))},{signal:s}),e.addEventListener(\"pointerenter\",()=>{this.#s.toggleComment(!1,!0)},{signal:s}),e.addEventListener(\"pointerleave\",()=>{this.#s.toggleComment(!1,!1)},{signal:s}),e}edit(e){let t=this.commentPopupPositionInLayer,s,i;if(t)[s,i]=t;else{[s,i]=this.#s.commentButtonPosition;let{width:f,height:h,x:u,y:d}=this.#s;s=u+s*f,i=d+i*h}let r=this.#s.parent.boundingClientRect,{x:a,y:o,width:l,height:c}=r;this.#s._uiManager.editComment(this.#s,a+s*l,o+i*c,{...e,parentDimensions:r})}finish(){this.#n&&(this.#n.focus({focusVisible:this.#t}),this.#t=!1)}isDeleted(){return this.#l||this.#a===\"\"}isEmpty(){return this.#a===null}hasBeenEdited(){return this.isDeleted()||this.#a!==this.#i}serialize(){return this.data}get data(){return{text:this.#a,richText:this.#r,date:this.#o,deleted:this.isDeleted()}}set data(e){if(e!==this.#a&&(this.#r=null),e===null){this.#a=\"\",this.#l=!0;return}this.#a=e,this.#o=new Date,this.#l=!1}restoreData({text:e,richText:t,date:s}){this.#a=e,this.#r=t,this.#o=s,this.#l=!1}setInitialText(e,t=null){this.#i=e,this.data=e,this.#o=null,this.#r=t}shown(){}destroy(){this.#n?.remove(),this.#n=null,this.#e?.remove(),this.#e=null,this.#a=\"\",this.#r=null,this.#o=null,this.#s=null,this.#t=!1,this.#l=!1}};function Tv(n){n.preventDefault()}var Ev=1e-4;function Gu(n){return n.cancelable?(Fn(n),!0):(n.stopPropagation(),!1)}var kf=class{#e;#n=!1;#t=null;#s;#i;#r;#a;#o;#l=!1;#c=null;#h;#f=new Set;#d=null;#p;#g=null;#u=0;constructor({container:e,isPinchingDisabled:t=null,isPinchingStopped:s=null,onPinchStart:i=null,onPinching:r=null,onPinchEnd:a=null,onPanning:o=null,signal:l}){this.#e=e,this.#t=s,this.#s=t,this.#i=i,this.#r=r,this.#a=a,this.#o=o,this.#p=new AbortController,this.#h=AbortSignal.any([l,this.#p.signal]),e.addEventListener(\"touchstart\",this.#m.bind(this),{passive:!1,signal:this.#h})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return 35/Qs.pixelRatio}get MIN_TOUCH_DISTANCE_TO_SCALE(){return 4/Qs.pixelRatio}#m(e){if(this.#s?.())return;this.#w(e);let t=this.#f;for(let{identifier:s}of e.changedTouches)t.add(s);if(t.size===1){this.#b();return}if(!this.#g){this.#g=new AbortController;let s=AbortSignal.any([this.#h,this.#g.signal]),i=this.#e,r={signal:s,capture:!1,passive:!1};i.addEventListener(\"touchmove\",this.#k.bind(this),r);let a=this.#j.bind(this);i.addEventListener(\"touchend\",a,r),i.addEventListener(\"touchcancel\",a,r),r.capture=!0,i.addEventListener(\"pointerdown\",Fn,r),i.addEventListener(\"pointermove\",Fn,r),i.addEventListener(\"pointercancel\",Tv,r),i.addEventListener(\"pointerup\",Tv,r),this.#i?.()}this.#l=Gu(e),this.#v(e)}#b(){if(this.#c)return;let e=this.#c=new AbortController,t=AbortSignal.any([this.#h,e.signal]),s=this.#e,i={capture:!0,signal:t,passive:!1},r=a=>{a.pointerType===\"touch\"&&(this.#c?.abort(),this.#c=null)};s.addEventListener(\"pointerdown\",a=>{a.pointerType===\"touch\"&&(Fn(a),r(a))},i),s.addEventListener(\"pointerup\",r,i),s.addEventListener(\"pointercancel\",r,i)}#w(e){let t=this.#f;if(t.size===0)return;let s=this.#f=new Set;for(let{identifier:i}of e.touches)t.has(i)&&s.add(i)}#x(e){let t=this.#f,s=[];for(let i of e.touches)t.has(i.identifier)&&s.push(i);return s}#v(e){let t=this.#x(e);if(t.length!==2||this.#t?.()){this.#d=null;return}let[s,i]=t;this.#d={touch0X:s.screenX,touch0Y:s.screenY,touch1X:i.screenX,touch1Y:i.screenY,panX:(s.clientX+i.clientX)/2,panY:(s.clientY+i.clientY)/2,screenPanX:(s.screenX+i.screenX)/2,screenPanY:(s.screenY+i.screenY)/2}}#k(e){if(!this.#d)return;let t=this.#x(e);if(t.length!==2)return;let s=this.#l;if(this.#l=Gu(e),!this.#l)return;if(!s){this.#v(e);return}let[i,r]=t,{screenX:a,screenY:o}=i,{screenX:l,screenY:c}=r,f=this.#d,{touch0X:h,touch0Y:u,touch1X:d,touch1Y:p,panX:m,panY:g}=f,b=d-h,x=p-u,w=l-a,v=c-o,k=(i.clientX+r.clientX)/2,j=(i.clientY+r.clientY)/2;f.panX=k,f.panY=j;let A=k-m,S=j-g,q=(a+l)/2,_=(o+c)/2,I=Math.hypot(q-f.screenPanX,_-f.screenPanY);f.screenPanX=q,f.screenPanY=_;let C=Math.hypot(w,v),T=Math.hypot(b,x),M=this.#n?this.MIN_TOUCH_DISTANCE_TO_SCALE:this.MIN_TOUCH_DISTANCE_TO_PINCH+2*I;if(C<Ev||T<Ev||Math.abs(T-C)<=M){(A||S)&&this.#o?.(A,S);return}f.touch0X=a,f.touch0Y=o,f.touch1X=l,f.touch1Y=c;let E=Math.sign(C-T);if(!this.#n){this.#n=!0,this.#u=E,(A||S)&&this.#o?.(A,S);return}if(this.#u){let G=this.#u;if(this.#u=0,E!==G&&Math.abs(C-T)<=2*I){this.#n=!1,(A||S)&&this.#o?.(A,S);return}}this.#r?.([m,g],T,C,A,S)}#j(e){if(this.#w(e),this.#f.size>=2){this.#v(e);return}let t=!!this.#d;this.#y(),this.#f.size===1&&this.#b(),t&&Gu(e)}#y(){this.#d=null,this.#n=!1,this.#u=0,this.#l=!1,this.#g&&(this.#g.abort(),this.#g=null,this.#a?.())}destroy(){this.#y(),this.#f.clear(),this.#p?.abort(),this.#p=null,this.#c?.abort(),this.#c=null}},Ut=class n{#e=null;#n=null;#t=null;#s=null;#i=null;#r=!1;#a=null;#o=\"\";#l=null;#c=null;#h=null;#f=null;#d=null;#p=\"\";#g=!1;#u=null;#m=!1;#b=!1;#w=!1;#x=null;#v=0;#k=0;#j=null;#y=null;isSelected=!1;_isCopy=!1;_editToolbar=null;_initialOptions=Object.create(null);_initialData=null;_isVisible=!0;_uiManager=null;_focusEventsAllowed=!0;static _l10n=null;static _l10nAlert=null;static _l10nResizer=null;#A=!1;#T=n._zIndex++;static _borderLineWidth=-1;static _colorManager=new ld;static _zIndex=1;static _telemetryTimeout=1e3;static get _resizerKeyboardManager(){let e=n.prototype._resizeWithKeyboard,t=Kr.TRANSLATE_SMALL,s=Kr.TRANSLATE_BIG;return ze(this,\"_resizerKeyboardManager\",new Vr([[[\"ArrowLeft\"],e,{args:[-t,0]}],[[\"ctrl+ArrowLeft\",\"mac+shift+ArrowLeft\"],e,{args:[-s,0]}],[[\"ArrowRight\"],e,{args:[t,0]}],[[\"ctrl+ArrowRight\",\"mac+shift+ArrowRight\"],e,{args:[s,0]}],[[\"ArrowUp\"],e,{args:[0,-t]}],[[\"ctrl+ArrowUp\",\"mac+shift+ArrowUp\"],e,{args:[0,-s]}],[[\"ArrowDown\"],e,{args:[0,t]}],[[\"ctrl+ArrowDown\",\"mac+shift+ArrowDown\"],e,{args:[0,s]}],[[\"Escape\"],n.prototype._stopResizingWithKeyboard]]))}constructor(e){this.parent=e.parent,this.id=e.id,this.width=this.height=null,this.pageIndex=e.parent.pageIndex,this.name=e.name,this.div=null,this._uiManager=e.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=e.isCentered,this._structTreeParentId=null,this.annotationElementId=e.annotationElementId||null,this.creationDate=e.creationDate||new Date,this.modificationDate=e.modificationDate||null,this.canAddComment=!0;let{rotation:t,rawDims:{pageWidth:s,pageHeight:i,pageX:r,pageY:a}}=this.parent.viewport;this.rotation=t,this.pageRotation=(360+t-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[s,i],this.pageTranslation=[r,a];let[o,l]=this.parentDimensions;this.x=e.x/o,this.y=e.y/l,this.isAttachedToDOM=!1,this.deleted=!1}updatePageIndex(e){this.pageIndex=e}get editorType(){return Object.getPrototypeOf(this).constructor._type}get mode(){return Object.getPrototypeOf(this).constructor._editorType}static get isDrawer(){return!1}static get _defaultLineColor(){return ze(this,\"_defaultLineColor\",this._colorManager.getHexCode(\"CanvasText\"))}static deleteAnnotationElement(e){let t=new cd({id:e._uiManager.getId(),parent:e.parent,uiManager:e._uiManager});t.annotationElementId=e.annotationElementId,t.deleted=!0,t._uiManager.addToAnnotationStorage(t)}static initialize(e,t){if(n._l10n??=e,n._l10nAlert??=Object.freeze({highlight:\"pdfjs-editor-highlight-added-alert\",freetext:\"pdfjs-editor-freetext-added-alert\",ink:\"pdfjs-editor-ink-added-alert\",stamp:\"pdfjs-editor-stamp-added-alert\",signature:\"pdfjs-editor-signature-added-alert\"}),n._l10nResizer??=Object.freeze({topLeft:\"pdfjs-editor-resizer-top-left\",topMiddle:\"pdfjs-editor-resizer-top-middle\",topRight:\"pdfjs-editor-resizer-top-right\",middleRight:\"pdfjs-editor-resizer-middle-right\",bottomRight:\"pdfjs-editor-resizer-bottom-right\",bottomMiddle:\"pdfjs-editor-resizer-bottom-middle\",bottomLeft:\"pdfjs-editor-resizer-bottom-left\",middleLeft:\"pdfjs-editor-resizer-middle-left\"}),n._borderLineWidth!==-1)return;let s=getComputedStyle(document.documentElement);n._borderLineWidth=parseFloat(s.getPropertyValue(\"--outline-width\"))||0}static updateDefaultParams(e,t){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(e){return!1}static paste(e,t){Mt(\"Not implemented\")}get propertiesToUpdate(){return[]}get _isDraggable(){return this.#A}set _isDraggable(e){this.#A=e,this.div?.classList.toggle(\"draggable\",e)}get uid(){return this.annotationElementId||this.id}get isEnterHandled(){return!0}center(){let[e,t]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*t/(e*2),this.y+=this.width*e/(t*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*t/(e*2),this.y-=this.width*e/(t*2);break;default:this.x-=this.width/2,this.y-=this.height/2;break}this.fixAndSetPosition()}addCommands(e){this._uiManager.addCommands(e)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#T}setParent(e){e!==null?(this.pageIndex=e.pageIndex,this.pageDimensions=e.pageDimensions):(this.#P(),this.#f?.remove(),this.#f=null),this.parent=e}focusin(e){this._focusEventsAllowed&&(this.#g?this.#g=!1:this.parent.setSelected(this))}focusout(e){!this._focusEventsAllowed||!this.isAttachedToDOM||e.relatedTarget?.closest(`#${this.id}`)||(e.preventDefault(),this.parent?.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.isInEditMode()&&this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(e,t,s,i){let[r,a]=this.parentDimensions;[s,i]=this.screenToPageTranslation(s,i),this.x=(e+s)/r,this.y=(t+i)/a,this.fixAndSetPosition()}_moveAfterPaste(e,t){if(this.isClone){delete this.isClone;return}let[s,i]=this.parentDimensions;this.setAt(e*s,t*i,this.width*s,this.height*i),this._onTranslated()}#I([e,t],s,i){[s,i]=this.screenToPageTranslation(s,i),this.x+=s/e,this.y+=i/t,this._onTranslating(this.x,this.y),this.fixAndSetPosition()}translate(e,t){this.#I(this.parentDimensions,e,t)}translateInPage(e,t){this.#u||=[this.x,this.y,this.width,this.height],this.#I(this.pageDimensions,e,t),this.div.scrollIntoView({block:\"nearest\"})}translationDone(){this._onTranslated(this.x,this.y)}drag(e,t){this.#u||=[this.x,this.y,this.width,this.height];let{div:s,parentDimensions:[i,r]}=this;if(this.x+=e/i,this.y+=t/r,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){let{x:h,y:u}=this.div.getBoundingClientRect();this.parent.findNewParent(this,h,u)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:a,y:o}=this,[l,c]=this.getBaseTranslation();a+=l,o+=c;let{style:f}=s;f.left=`${(100*a).toFixed(2)}%`,f.top=`${(100*o).toFixed(2)}%`,this._onTranslating(a,o)}_onTranslating(e,t){}_onTranslated(e,t){}get _hasBeenMoved(){return!!this.#u&&(this.#u[0]!==this.x||this.#u[1]!==this.y)}get _hasBeenResized(){return!!this.#u&&(this.#u[2]!==this.width||this.#u[3]!==this.height)}getBaseTranslation(){let[e,t]=this.parentDimensions,{_borderLineWidth:s}=n,i=s/e,r=s/t;switch(this.rotation){case 90:return[-i,r];case 180:return[i,r];case 270:return[i,-r];default:return[-i,-r]}}get _mustFixPosition(){return!0}fixAndSetPosition(e=this.rotation){let{div:{style:t},pageDimensions:[s,i]}=this,{x:r,y:a,width:o,height:l}=this;o*=s,l*=i,r*=s,a*=i;let c=0,f=0,h=this._uiManager._keepToolbarInPage&&this._editToolbar?.div;if(h?.offsetParent){let p=this.parentScale,m=h.offsetLeft+this.div.clientLeft,g=h.offsetTop+this.div.clientTop,b=Math.min(0,m)/p,x=Math.min(0,g)/p,w=o-b+Math.max(0,m+h.offsetWidth-this.div.offsetWidth)/p,v=l-x+Math.max(0,g+h.offsetHeight-this.div.offsetHeight)/p;w<=(e%180?i:s)&&(o=w,c=b),v<=(e%180?s:i)&&(l=v,f=x),[c,f]=n.#_(c,f,e),r+=c,a+=f}if(this._mustFixPosition)switch(e){case 0:r=Xt(r,0,s-o),a=Xt(a,0,i-l);break;case 90:r=Xt(r,0,s-l),a=Xt(a,o,i);break;case 180:r=Xt(r,o,s),a=Xt(a,l,i);break;case 270:r=Xt(r,l,s),a=Xt(a,0,i-o);break}this.x=r=(r-c)/s,this.y=a=(a-f)/i;let[u,d]=this.getBaseTranslation();r+=u,a+=d,t.left=`${(100*r).toFixed(2)}%`,t.top=`${(100*a).toFixed(2)}%`,this.moveInDOM()}static#_(e,t,s){switch(s){case 90:return[t,-e];case 180:return[-e,-t];case 270:return[-t,e];default:return[e,t]}}screenToPageTranslation(e,t){return n.#_(e,t,this.parentRotation)}pageTranslationToScreen(e,t){return n.#_(e,t,360-this.parentRotation)}#O(e){switch(e){case 90:{let[t,s]=this.pageDimensions;return[0,-t/s,s/t,0]}case 180:return[-1,0,0,-1];case 270:{let[t,s]=this.pageDimensions;return[0,t/s,-s/t,0]}default:return[1,0,0,1]}}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){let{parentScale:e,pageDimensions:[t,s]}=this;return[t*e,s*e]}setDims(){let{div:{style:e},width:t,height:s}=this;e.width=`${(100*t).toFixed(2)}%`,e.height=`${(100*s).toFixed(2)}%`}getInitialTranslation(){return[0,0]}#C(){if(this.#l)return;this.#l=document.createElement(\"div\"),this.#l.classList.add(\"resizers\");let e=this._willKeepAspectRatio?[\"topLeft\",\"topRight\",\"bottomRight\",\"bottomLeft\"]:[\"topLeft\",\"topMiddle\",\"topRight\",\"middleRight\",\"bottomRight\",\"bottomMiddle\",\"bottomLeft\",\"middleLeft\"],t=this._uiManager._signal;for(let s of e){let i=document.createElement(\"div\");this.#l.append(i),i.classList.add(\"resizer\",s),i.setAttribute(\"data-resizer-name\",s),i.addEventListener(\"pointerdown\",this.#R.bind(this,s),{signal:t}),i.addEventListener(\"contextmenu\",hi,{signal:t}),i.tabIndex=-1}this.div.prepend(this.#l)}#R(e,t){t.preventDefault();let{isMac:s}=Ot.platform;if(t.button!==0||t.ctrlKey&&s)return;this.#t?.toggle(!1);let i=this._isDraggable;this._isDraggable=!1,this.#c=[t.screenX,t.screenY];let r=new AbortController,a=this._uiManager.combinedSignal(r);this.parent.togglePointerEvents(!1),window.addEventListener(\"pointermove\",this.#D.bind(this,e),{passive:!0,capture:!0,signal:a}),window.addEventListener(\"touchmove\",Fn,{passive:!1,signal:a}),window.addEventListener(\"contextmenu\",hi,{signal:a}),this.#h={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height};let o=this.parent.div.style.cursor,l=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(t.target).cursor;let c=()=>{r.abort(),this.parent.togglePointerEvents(!0),this.#t?.toggle(!0),this._isDraggable=i,this.parent.div.style.cursor=o,this.div.style.cursor=l,this.#F()};window.addEventListener(\"pointerup\",c,{signal:a}),window.addEventListener(\"blur\",c,{signal:a})}#M(e,t,s,i){this.width=s,this.height=i,this.x=e,this.y=t,this.setDims(),this.fixAndSetPosition(),this._onResized()}_onResized(){}#F(){if(!this.#h)return;let{savedX:e,savedY:t,savedWidth:s,savedHeight:i}=this.#h;this.#h=null;let r=this.x,a=this.y,o=this.width,l=this.height;r===e&&a===t&&o===s&&l===i||this.addCommands({cmd:this.#M.bind(this,r,a,o,l),undo:this.#M.bind(this,e,t,s,i),mustExec:!0})}static _round(e){return Math.round(e*1e4)/1e4}#D(e,t){let[s,i]=this.parentDimensions,r=this.x,a=this.y,o=this.width,l=this.height,c=n.MIN_SIZE/s,f=n.MIN_SIZE/i,h=this.#O(this.rotation),u=(G,D)=>[h[0]*G+h[2]*D,h[1]*G+h[3]*D],d=this.#O(360-this.rotation),p=(G,D)=>[d[0]*G+d[2]*D,d[1]*G+d[3]*D],m,g,b=!1,x=!1;switch(e){case\"topLeft\":b=!0,m=(G,D)=>[0,0],g=(G,D)=>[G,D];break;case\"topMiddle\":m=(G,D)=>[G/2,0],g=(G,D)=>[G/2,D];break;case\"topRight\":b=!0,m=(G,D)=>[G,0],g=(G,D)=>[0,D];break;case\"middleRight\":x=!0,m=(G,D)=>[G,D/2],g=(G,D)=>[0,D/2];break;case\"bottomRight\":b=!0,m=(G,D)=>[G,D],g=(G,D)=>[0,0];break;case\"bottomMiddle\":m=(G,D)=>[G/2,D],g=(G,D)=>[G/2,0];break;case\"bottomLeft\":b=!0,m=(G,D)=>[0,D],g=(G,D)=>[G,0];break;case\"middleLeft\":x=!0,m=(G,D)=>[0,D/2],g=(G,D)=>[G,D/2];break}let w=m(o,l),v=g(o,l),k=u(...v),j=n._round(r+k[0]),A=n._round(a+k[1]),S=1,q=1,_,I;if(t.fromKeyboard)({deltaX:_,deltaY:I}=t);else{let{screenX:G,screenY:D}=t,[N,K]=this.#c;[_,I]=this.screenToPageTranslation(G-N,D-K),this.#c[0]=G,this.#c[1]=D}if([_,I]=p(_/s,I/i),b){let G=Math.hypot(o,l);S=q=Math.max(Math.min(Math.hypot(v[0]-w[0]-_,v[1]-w[1]-I)/G,1/o,1/l),c/o,f/l)}else x?S=Xt(Math.abs(v[0]-w[0]-_),c,1)/o:q=Xt(Math.abs(v[1]-w[1]-I),f,1)/l;let C=n._round(o*S),T=n._round(l*q);k=u(...g(C,T));let M=j-k[0],E=A-k[1];this.#u||=[this.x,this.y,this.width,this.height],this.width=C,this.height=T,this.x=M,this.y=E,this.setDims(),this.fixAndSetPosition(),this._onResizing()}_onResizing(){}altTextFinish(){this.#t?.finish()}get toolbarButtons(){return null}async addEditToolbar(){if(this._editToolbar||this.#b)return this._editToolbar;this._editToolbar=new sd(this),this.div.append(this._editToolbar.render());let{toolbarButtons:e}=this;if(e)for(let[t,s]of e)await this._editToolbar.addButton(t,s);return this.hasComment||this._editToolbar.addButton(\"comment\",this.addCommentButton()),this._editToolbar.addButton(\"delete\"),this._editToolbar}addCommentButtonInToolbar(){this._editToolbar?.addButtonBefore(\"comment\",this.addCommentButton(),\".deleteButton\")}removeCommentButtonFromToolbar(){this._editToolbar?.removeButton(\"comment\")}removeEditToolbar(){this._editToolbar?.remove(),this._editToolbar=null,this.#t?.destroy()}addContainer(e){let t=this._editToolbar?.div;t?t.before(e):this.div.append(e)}getClientDimensions(){return this.div.getBoundingClientRect()}createAltText(){return this.#t||(yf.initialize(n._l10n),this.#t=new yf(this),this.#e&&(this.#t.data=this.#e,this.#e=null)),this.#t}get altTextData(){return this.#t?.data}set altTextData(e){this.#t&&(this.#t.data=e)}get guessedAltText(){return this.#t?.guessedText}async setGuessedAltText(e){await this.#t?.setGuessedText(e)}serializeAltText(e){return this.#t?.serialize(e)}hasAltText(){return!!this.#t&&!this.#t.isEmpty()}hasAltTextData(){return this.#t?.hasData()??!1}focusCommentButton(){this.#s?.focusButton()}addCommentButton(){return this.canAddComment?this.#s||=new Xa(this):null}addStandaloneCommentButton(){if(this._uiManager.hasCommentManager()){if(this.#i){this._uiManager.isEditingMode()&&this.#i.classList.remove(\"hidden\");return}this.hasComment&&(this.#i=this.#s.renderForStandalone(),this.div.append(this.#i))}}removeStandaloneCommentButton(){this.#s.removeStandaloneCommentButton(),this.#i=null}hideStandaloneCommentButton(){this.#i?.classList.add(\"hidden\")}get comment(){if(!this.#s)return null;let{data:{richText:e,text:t,date:s,deleted:i}}=this.#s;return{text:t,richText:e,date:s,deleted:i,color:this.getNonHCMColor(),opacity:this.opacity??1}}set comment(e){this.#s||=new Xa(this),typeof e==\"object\"&&e!==null?this.#s.restoreData(e):this.#s.data=e,this.hasComment?(this.removeCommentButtonFromToolbar(),this.addStandaloneCommentButton(),this._uiManager.updateComment(this)):(this.addCommentButtonInToolbar(),this.removeStandaloneCommentButton(),this._uiManager.removeComment(this))}setCommentData({comment:e,popupRef:t,richText:s}){if(!t||(this.#s||=new Xa(this),this.#s.setInitialText(e,s),!this.annotationElementId))return;let i=this._uiManager.getAndRemoveDataFromAnnotationStorage(this.annotationElementId);i&&this.updateFromAnnotationLayer(i)}get hasEditedComment(){return this.#s?.hasBeenEdited()}get hasDeletedComment(){return this.#s?.isDeleted()}get hasComment(){return!!this.#s&&!this.#s.isEmpty()&&!this.#s.isDeleted()}async editComment(e){this.#s||=new Xa(this),this.#s.edit(e)}toggleComment(e,t=void 0){this.hasComment&&this._uiManager.toggleComment(this,e,t)}setSelectedCommentButton(e){this.#s.setSelectedButton(e)}addComment(e){if(this.hasEditedComment){let[,,,i]=e.rect,[r]=this.pageDimensions,[a]=this.pageTranslation,o=a+r+1,l=i-100,c=o+180;e.popup={contents:this.comment.text,deleted:this.comment.deleted,rect:[o,l,c,i]}}}updateFromAnnotationLayer({popup:{contents:e,deleted:t}}){this.#s.data=t?null:e}get parentBoundingClientRect(){return this.parent.boundingClientRect}render(){let e=this.div=document.createElement(\"div\");e.setAttribute(\"data-editor-rotation\",(360-this.rotation)%360),e.className=this.name,e.setAttribute(\"id\",this.id),e.tabIndex=this.#r?-1:0,e.setAttribute(\"role\",\"application\"),this.defaultL10nId&&e.setAttribute(\"data-l10n-id\",this.defaultL10nId),this._isVisible||e.classList.add(\"hidden\"),this.setInForeground(),this.#H();let[t,s]=this.parentDimensions;this.parentRotation%180!==0&&(e.style.maxWidth=`${(100*s/t).toFixed(2)}%`,e.style.maxHeight=`${(100*t/s).toFixed(2)}%`);let[i,r]=this.getInitialTranslation();return this.translate(i,r),F5(this,e,[\"keydown\",\"pointerdown\",\"dblclick\"]),this.#G(),this.addStandaloneCommentButton(),this._uiManager._editorUndoBar?.hide(),e}#W(){this.#h={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height},this.#t?.toggle(!1),this.parent.togglePointerEvents(!1)}#N(e,t,s){let r=.7*(s/t)+1-.7;if(r===1)return;let a=this.#O(this.rotation),o=(j,A)=>[a[0]*j+a[2]*A,a[1]*j+a[3]*A],[l,c]=this.parentDimensions,f=this.x,h=this.y,u=this.width,d=this.height,p=n.MIN_SIZE/l,m=n.MIN_SIZE/c;r=Math.max(Math.min(r,1/u,1/d),p/u,m/d);let g=n._round(u*r),b=n._round(d*r);if(g===u&&b===d)return;this.#u||=[f,h,u,d];let x=o(u/2,d/2),w=n._round(f+x[0]),v=n._round(h+x[1]),k=o(g/2,b/2);this.x=w-k[0],this.y=v-k[1],this.width=g,this.height=b,this.setDims(),this.fixAndSetPosition(),this._onResizing()}#U(){this.#t?.toggle(!0),this.parent.togglePointerEvents(!0),this.#F()}pointerdown(e){let{isMac:t}=Ot.platform;if(e.button!==0||e.ctrlKey&&t){e.preventDefault();return}if(this.#g=!0,this._isDraggable){this.#S(e);return}this.#q(e)}#q(e){let{isMac:t}=Ot.platform;e.ctrlKey&&!t||e.shiftKey||e.metaKey&&t?this.parent.toggleSelected(this):this.parent.setSelected(this)}#S(e){let{isSelected:t}=this;this._uiManager.setUpDragSession();let s=!1,i=new AbortController,r=this._uiManager.combinedSignal(i),a={capture:!0,passive:!1,signal:r},o=c=>{i.abort(),this.#a=null,this.#g=!1,this._uiManager.endDragSession()||this.#q(c),s&&this._onStopDragging()};t&&(this.#v=e.clientX,this.#k=e.clientY,this.#a=e.pointerId,this.#o=e.pointerType,window.addEventListener(\"pointermove\",c=>{s||(s=!0,this._uiManager.toggleComment(this,!0,!1),this._onStartDragging());let{clientX:f,clientY:h,pointerId:u}=c;if(u!==this.#a){Fn(c);return}let[d,p]=this.screenToPageTranslation(f-this.#v,h-this.#k);this.#v=f,this.#k=h,this._uiManager.dragSelectedEditors(d,p),this.div.scrollIntoView({block:\"nearest\"})},a),window.addEventListener(\"touchmove\",Fn,a),window.addEventListener(\"pointerdown\",c=>{c.pointerType===this.#o&&(this.#y||c.isPrimary)&&o(c),Fn(c)},a));let l=c=>{if(!this.#a||this.#a===c.pointerId){o(c);return}Fn(c)};window.addEventListener(\"pointerup\",l,{signal:r}),window.addEventListener(\"blur\",l,{signal:r})}_onStartDragging(){}_onStopDragging(){}moveInDOM(){this.#x&&clearTimeout(this.#x),this.#x=setTimeout(()=>{this.#x=null,this.parent?.moveEditorInDOM(this)},0)}_setParentAndPosition(e,t,s){e.changeParent(this),this.x=t,this.y=s,this.fixAndSetPosition(),this._onTranslated()}getRect(e,t,s=this.rotation){let i=this.parentScale,[r,a]=this.pageDimensions,[o,l]=this.pageTranslation,c=e/i,f=t/i,h=this.x*r,u=this.y*a,d=this.width*r,p=this.height*a;switch(s){case 0:return[h+c+o,a-u-f-p+l,h+c+d+o,a-u-f+l];case 90:return[h+f+o,a-u+c+l,h+f+p+o,a-u+c+d+l];case 180:return[h-c-d+o,a-u+f+l,h-c+o,a-u+f+p+l];case 270:return[h-f-p+o,a-u-c-d+l,h-f+o,a-u-c+l];default:throw new Error(\"Invalid rotation\")}}getRectInCurrentCoords(e,t){let[s,i,r,a]=e,o=r-s,l=a-i;switch(this.rotation){case 0:return[s,t-a,o,l];case 90:return[s,t-i,l,o];case 180:return[r,t-i,o,l];case 270:return[r,t-a,l,o];default:throw new Error(\"Invalid rotation\")}}getPDFRect(){return this.getRect(0,0)}getNonHCMColor(){return this.color&&n._colorManager.convert(this._uiManager.getNonHCMColor(this.color))}onUpdatedColor(){this.#s?.onUpdatedColor()}getData(){let{comment:{text:e,color:t,date:s,opacity:i,deleted:r,richText:a},uid:o,pageIndex:l,creationDate:c,modificationDate:f}=this;return{id:o,pageIndex:l,rect:this.getPDFRect(),richText:a,contentsObj:{str:e},creationDate:c,modificationDate:s||f,popupRef:!r,color:t,opacity:i}}onceAdded(e){}isEmpty(){return!1}enableEditMode(){return this.isInEditMode()?!1:(this.parent.setEditingState(!1),this.#b=!0,!0)}disableEditMode(){return this.isInEditMode()?(this.parent.setEditingState(!0),this.#b=!1,!0):!1}isInEditMode(){return this.#b}shouldGetKeyboardEvents(){return this.#w}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){let{top:e,left:t,bottom:s,right:i}=this.getClientDimensions(),{innerHeight:r,innerWidth:a}=window;return t<a&&i>0&&e<r&&s>0}#H(){if(this.#d||!this.div)return;this.#d=new AbortController;let e=this._uiManager.combinedSignal(this.#d);this.div.addEventListener(\"focusin\",this.focusin.bind(this),{signal:e}),this.div.addEventListener(\"focusout\",this.focusout.bind(this),{signal:e})}#G(){this.#y||!this.div||!this.isResizable||!this._uiManager._supportsPinchToZoom||(this.#y=new kf({container:this.div,isPinchingDisabled:()=>!this.isSelected,onPinchStart:this.#W.bind(this),onPinching:this.#N.bind(this),onPinchEnd:this.#U.bind(this),signal:this._uiManager._signal}))}rebuild(){this.#H(),this.#G()}rotate(e){}resize(){}serializeDeleted(){return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:this._initialData?.popupRef||\"\"}}serialize(e=!1,t=null){return{annotationType:this.mode,pageIndex:this.pageIndex,rect:this.getPDFRect(),rotation:this.rotation,structTreeParentId:this._structTreeParentId,popupRef:this._initialData?.popupRef||\"\"}}static async deserialize(e,t,s){let i=new this.prototype.constructor({parent:t,id:s.getId(),uiManager:s,annotationElementId:e.annotationElementId,creationDate:e.creationDate,modificationDate:e.modificationDate});i.rotation=e.rotation,i.#e=e.accessibilityData,i._isCopy=e.isCopy||!1;let[r,a]=i.pageDimensions,[o,l,c,f]=i.getRectInCurrentCoords(e.rect,a);return i.x=o/r,i.y=l/a,i.width=c/r,i.height=f/a,i}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){if(this.#d?.abort(),this.#d=null,this.isEmpty()||this.commit(),this.#y?.destroy(),this.#y=null,this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.hideCommentPopup(),this.#x&&(clearTimeout(this.#x),this.#x=null),this.#P(),this.removeEditToolbar(),this.#j){for(let e of this.#j.values())clearTimeout(e);this.#j=null}this.parent=null,this.#f?.remove(),this.#f=null}get isResizable(){return!1}makeResizable(){this.isResizable&&(this.#C(),this.#l.classList.remove(\"hidden\"))}get toolbarPosition(){return null}get commentButtonPosition(){return this._uiManager.direction===\"ltr\"?[1,0]:[0,0]}get commentButtonPositionInPage(){let{commentButtonPosition:[e,t]}=this,[s,i,r,a]=this.getPDFRect();return[n._round(s+(r-s)*e),n._round(i+(a-i)*(1-t))]}get commentButtonColor(){return this._uiManager.makeCommentColor(this.getNonHCMColor(),this.opacity)}get commentPopupPosition(){return this.#s.commentPopupPositionInLayer}set commentPopupPosition(e){this.#s.commentPopupPositionInLayer=e}hasDefaultPopupPosition(){return this.#s.hasDefaultPopupPosition()}get commentButtonWidth(){return this.#s.commentButtonWidth}get elementBeforePopup(){return this.div}setCommentButtonStates(e){this.#s?.setCommentButtonStates(e)}keydown(e){if(!this.isResizable||e.target!==this.div||e.key!==\"Enter\")return;this._uiManager.setSelected(this),this.#h={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height};let t=this.#l.children;if(!this.#n){this.#n=Array.from(t);let a=this.#$.bind(this),o=this.#Y.bind(this),l=this._uiManager._signal;for(let c of this.#n){let f=c.getAttribute(\"data-resizer-name\");c.setAttribute(\"role\",\"spinbutton\"),c.addEventListener(\"keydown\",a,{signal:l}),c.addEventListener(\"blur\",o,{signal:l}),c.addEventListener(\"focus\",this.#L.bind(this,f),{signal:l}),c.setAttribute(\"data-l10n-id\",n._l10nResizer[f])}}let s=this.#n[0],i=0;for(let a of t){if(a===s)break;i++}let r=(360-this.rotation+this.parentRotation)%360/90*(this.#n.length/4);if(r!==i){if(r<i)for(let o=0;o<i-r;o++)this.#l.append(this.#l.firstElementChild);else if(r>i)for(let o=0;o<r-i;o++)this.#l.firstElementChild.before(this.#l.lastElementChild);let a=0;for(let o of t){let c=this.#n[a++].getAttribute(\"data-resizer-name\");o.setAttribute(\"data-l10n-id\",n._l10nResizer[c])}}this.#X(0),this.#w=!0,this.#l.firstElementChild.focus({focusVisible:!0}),e.preventDefault(),e.stopImmediatePropagation()}#$(e){n._resizerKeyboardManager.exec(this,e)}#Y(e){this.#w&&e.relatedTarget?.parentNode!==this.#l&&this.#P()}#L(e){this.#p=this.#w?e:\"\"}#X(e){if(this.#n)for(let t of this.#n)t.tabIndex=e}_resizeWithKeyboard(e,t){this.#w&&this.#D(this.#p,{deltaX:e,deltaY:t,fromKeyboard:!0})}#P(){this.#w=!1,this.#X(-1),this.#F()}_stopResizingWithKeyboard(){this.#P(),this.div.focus()}select(){if(this.isSelected&&this._editToolbar){this._editToolbar.show();return}if(this.isSelected=!0,this.makeResizable(),this.div?.classList.add(\"selectedEditor\"),!this._editToolbar){this.addEditToolbar().then(()=>{this.div?.classList.contains(\"selectedEditor\")&&this.#B()});return}this.#B(),this.#t?.toggleAltTextBadge(!1)}#B(){this._editToolbar?.show(),this._uiManager._keepToolbarInPage&&(this.fixAndSetPosition(),this._onTranslated())}focus(){this.div&&!this.div.contains(document.activeElement)&&setTimeout(()=>this.div?.focus({preventScroll:!0}),0)}unselect(){this.isSelected&&(this.isSelected=!1,this.#l?.classList.add(\"hidden\"),this.div?.classList.remove(\"selectedEditor\"),this.div?.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),this._editToolbar?.hide(),this.#t?.toggleAltTextBadge(!0),this.hideCommentPopup())}hideCommentPopup(){this.hasComment&&this._uiManager.toggleComment(null)}updateParams(e,t){}disableEditing(){}enableEditing(){}get canChangeContent(){return!1}enterInEditMode(){this.canChangeContent&&(this.enableEditMode(),this.div.focus())}dblclick(e){e.target.nodeName!==\"BUTTON\"&&(this.enterInEditMode(),this.parent.updateToolbar({mode:this.constructor._editorType,editId:this.uid}))}getElementForAltText(){return this.div}get contentDiv(){return this.div}get isEditing(){return this.#m}set isEditing(e){this.#m=e,this.parent&&(e?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:\"added\"}}get telemetryFinalData(){return null}_reportTelemetry(e,t=!1){if(t){this.#j||=new Map;let{action:s}=e,i=this.#j.get(s);i&&clearTimeout(i),i=setTimeout(()=>{this._reportTelemetry(e),this.#j.delete(s),this.#j.size===0&&(this.#j=null)},n._telemetryTimeout),this.#j.set(s,i);return}e.type||=this.editorType,this._uiManager._eventBus.dispatch(\"reporttelemetry\",{source:this,details:{type:\"editing\",data:e}})}show(e=this._isVisible){this.div.classList.toggle(\"hidden\",!e),this._isVisible=e}enable(){this.div&&(this.div.tabIndex=0),this.#r=!1}disable(){this.div&&(this.div.tabIndex=-1),this.#r=!0}updateFakeAnnotationElement(e){if(!this.#f&&!this.deleted){this.#f=e.addFakeAnnotation(this);return}if(this.deleted){this.#f.remove(),this.#f=null;return}(this.hasEditedComment||this._hasBeenMoved||this._hasBeenResized)&&this.#f.updateEdited({rect:this.getPDFRect(),popup:this.comment})}renderAnnotationElement(e){if(this.deleted)return e.hide(),null;let t=e.container.querySelector(\".annotationContent\");if(!t)t=document.createElement(\"div\"),t.classList.add(\"annotationContent\",this.editorType),e.container.prepend(t);else if(t.nodeName===\"CANVAS\"){let s=t;t=document.createElement(\"div\"),t.classList.add(\"annotationContent\",this.editorType),s.before(t)}return t}resetAnnotationElement(e){let{firstElementChild:t}=e.container;t?.nodeName===\"DIV\"&&t.classList.contains(\"annotationContent\")&&t.remove()}},cd=class extends Ut{constructor(e){super(e),this.annotationElementId=e.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}},Rv=3285377520,Ys=4294901760,_i=65535,al=class{constructor(e){this.h1=e?e&4294967295:Rv,this.h2=e?e&4294967295:Rv}update(e){let t,s;if(typeof e==\"string\"){t=new Uint8Array(e.length*2),s=0;for(let m=0,g=e.length;m<g;m++){let b=e.charCodeAt(m);b<=255?t[s++]=b:(t[s++]=b>>>8,t[s++]=b&255)}}else if(ArrayBuffer.isView(e))t=e.slice(),s=t.byteLength;else throw new Error(\"Invalid data format, must be a string or TypedArray.\");let i=s>>2,r=s-i*4,a=new Uint32Array(t.buffer,0,i),o=0,l=0,c=this.h1,f=this.h2,h=3432918353,u=461845907,d=h&_i,p=u&_i;for(let m=0;m<i;m++)m&1?(o=a[m],o=o*h&Ys|o*d&_i,o=o<<15|o>>>17,o=o*u&Ys|o*p&_i,c^=o,c=c<<13|c>>>19,c=c*5+3864292196):(l=a[m],l=l*h&Ys|l*d&_i,l=l<<15|l>>>17,l=l*u&Ys|l*p&_i,f^=l,f=f<<13|f>>>19,f=f*5+3864292196);switch(o=0,r){case 3:o^=t[i*4+2]<<16;case 2:o^=t[i*4+1]<<8;case 1:o^=t[i*4],o=o*h&Ys|o*d&_i,o=o<<15|o>>>17,o=o*u&Ys|o*p&_i,i&1?c^=o:f^=o}this.h1=c,this.h2=f}hexdigest(){let e=this.h1,t=this.h2;return e^=t>>>1,e=e*3981806797&Ys|e*36045&_i,t=t*4283543511&Ys|((t<<16|e>>>16)*2950163797&Ys)>>>16,e^=t>>>1,e=e*444984403&Ys|e*60499&_i,t=t*3301882366&Ys|((t<<16|e>>>16)*3120437893&Ys)>>>16,e^=t>>>1,(e>>>0).toString(16).padStart(8,\"0\")+(t>>>0).toString(16).padStart(8,\"0\")}},ol=Object.freeze({map:null,hash:\"\",transfer:void 0}),ll=class{#e=!1;#n=null;#t=null;#s=new Map;onSetModified=null;onResetModified=null;onAnnotationEditor=null;getValue(e,t){let s=this.#s.get(e);return s===void 0?t:Object.assign(t,s)}getRawValue(e){return this.#s.get(e)}remove(e){let t=this.#s.get(e);t!==void 0&&(t instanceof Ut&&this.#t.delete(t.annotationElementId),this.#s.delete(e),this.#s.size===0&&this.resetModified(),!this.#s.values().some(s=>s instanceof Ut)&&this.onAnnotationEditor?.(null))}setValue(e,t){let s=this.#s.get(e),i=!1;if(s!==void 0)for(let[r,a]of Object.entries(t))s[r]!==a&&(i=!0,s[r]=a);else i=!0,this.#s.set(e,t);i&&this.#i(),t instanceof Ut&&((this.#t||=new Map).set(t.annotationElementId,t),this.onAnnotationEditor?.(t.constructor._type))}has(e){return this.#s.has(e)}get size(){return this.#s.size}#i(){this.#e||(this.#e=!0,this.onSetModified?.())}resetModified(){this.#e&&(this.#e=!1,this.onResetModified?.())}get print(){return new jf(this)}get serializable(){if(this.#s.size===0)return ol;let e=new Map,t=new al,s=[],i=Object.create(null),r=!1;for(let[a,o]of this.#s){let l=o instanceof Ut?o.serialize(!1,i):o;o.page&&(o.pageIndex=o.page._pageIndex,delete o.page),l&&(e.set(a,l),t.update(`${a}:${JSON.stringify(l)}`),r||=!!l.bitmap)}if(r)for(let a of e.values())a.bitmap&&s.push(a.bitmap);return e.size>0?{map:e,hash:t.hexdigest(),transfer:s}:ol}get editorStats(){let e=null,t=new Map,s=0,i=0;for(let r of this.#s.values()){if(!(r instanceof Ut)){r.popup&&(r.popup.deleted?i+=1:s+=1);continue}r.isCommentDeleted?i+=1:r.hasEditedComment&&(s+=1);let a=r.telemetryFinalData;if(!a)continue;let{type:o}=a;t.getOrInsertComputed(o,()=>Object.getPrototypeOf(r).constructor),e||=Object.create(null);let l=e[o]||=new Map;for(let[c,f]of Object.entries(a)){if(c===\"type\")continue;let h=l.getOrInsertComputed(c,xf);h.set(f,(h.get(f)??0)+1)}}if((i>0||s>0)&&(e||=Object.create(null),e.comments={deleted:i,edited:s}),!e)return null;for(let[r,a]of t)e[r]=a.computeTelemetryFinalData(e[r]);return e}resetModifiedIds(){this.#n=null}updateEditor(e,t){let s=this.#t?.get(e);return s?(s.updateFromAnnotationLayer(t),!0):!1}getEditor(e){return this.#t?.get(e)||null}get modifiedIds(){if(this.#n)return this.#n;let e=[];if(this.#t)for(let s of this.#t.values())s.serialize()&&e.push(s.annotationElementId);let t=\"\";if(e.length){let s=new al;s.update(e.join(\",\")),t=s.hexdigest()}return this.#n={ids:new Set(e),hash:t}}[Symbol.iterator](){return this.#s.entries()}},jf=class extends ll{#e=ol;constructor(e){super();let{serializable:t}=e;if(t===ol)return;let{map:s,hash:i,transfer:r}=t,a=structuredClone(s,r?{transfer:r}:null);this.#e={map:a,hash:i,transfer:[]}}get print(){Mt(\"Should not call PrintAnnotationStorage.print\")}get serializable(){return this.#e}get modifiedIds(){return ze(this,\"modifiedIds\",{ids:new Set,hash:\"\"})}};function hk(n){if(n instanceof URL)return n;if(typeof n==\"string\"){if(Ms){if(/^[a-z][a-z0-9\\-+.]+:/i.test(n))return new URL(n);let t=process.getBuiltinModule(\"url\");return new URL(t.pathToFileURL(n))}let e=URL.parse(n,window.location);if(e)return e}throw new Error(\"Invalid PDF url data: either string or URL-object is expected in the url property.\")}function uk(n){if(Ms&&typeof Buffer<\"u\"&&n instanceof Buffer)throw new Error(\"Please provide binary data as `Uint8Array`, rather than `Buffer`.\");if(n instanceof Uint8Array&&n.byteLength===n.buffer.byteLength)return n;if(typeof n==\"string\")return f0(n);if(n instanceof ArrayBuffer||ArrayBuffer.isView(n)||typeof n==\"object\"&&!isNaN(n?.length))return new Uint8Array(n);throw new Error(\"Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.\")}function lf(n){if(typeof n!=\"string\")return null;if(n.endsWith(\"/\"))return n;throw new Error(`Invalid factory url: \"${n}\" must include trailing slash.`)}var fd=n=>typeof n==\"object\"&&Number.isInteger(n?.num)&&n.num>=0&&Number.isInteger(n?.gen)&&n.gen>=0,dk=n=>typeof n==\"object\"&&typeof n?.name==\"string\",pk=tk.bind(null,fd,dk);function mk(n,e){let t=URL.parse(n);if(!t?.origin||t.origin===\"null\")return!1;let s=new URL(e,t);return t.origin===s.origin}function O5(n){if(!mk(window.location,n)){let e=`await import(\"${new URL(n,window.location).href}\");`;return URL.createObjectURL(new Blob([e],{type:\"text/javascript\"}))}return n}var hd=class{#e=new Map;#n=Promise.resolve();postMessage(e,t){let s={data:structuredClone(e,t?{transfer:t}:null)};this.#n.then(()=>{for(let[i]of this.#e)i.call(this,s)})}addEventListener(e,t,s=null){let i=null;if(s?.signal instanceof AbortSignal){let{signal:r}=s;if(r.aborted){at(\"LoopbackPort - cannot use an `aborted` signal.\");return}let a=()=>this.removeEventListener(e,t);i=()=>r.removeEventListener(\"abort\",a),r.addEventListener(\"abort\",a)}this.#e.set(t,i)}removeEventListener(e,t){this.#e.get(t)?.(),this.#e.delete(t)}terminate(){for(let[,e]of this.#e)e?.();this.#e.clear()}},Af=class{#e=new Map;times=[];time(e){this.#e.has(e)&&at(`Timer is already running for ${e}`),this.#e.set(e,Date.now())}timeEnd(e){this.#e.has(e)||at(`Timer has not been started for ${e}`),this.times.push({name:e,start:this.#e.get(e),end:Date.now()}),this.#e.delete(e)}toString(){let e=Math.max(...this.times.map(t=>t.name.length));return this.times.map(t=>`${t.name.padEnd(e)} ${t.end-t.start}ms\n`).join(\"\")}},gk=`\nstruct Uniforms {\n offsetX : f32,\n offsetY : f32,\n scaleX : f32,\n scaleY : f32,\n paddedWidth : f32,\n paddedHeight : f32,\n borderSize : f32,\n _pad : f32,\n};\n\n@group(0) @binding(0) var<uniform> u : Uniforms;\n\nstruct VertexInput {\n @location(0) position : vec2<f32>,\n @location(1) color : vec4<f32>,\n};\n\nstruct VertexOutput {\n @builtin(position) position : vec4<f32>,\n @location(0) color : vec3<f32>,\n};\n\n@vertex\nfn vs_main(in : VertexInput) -> VertexOutput {\n var out : VertexOutput;\n let cx = (in.position.x + u.offsetX) * u.scaleX;\n let cy = (in.position.y + u.offsetY) * u.scaleY;\n out.position = vec4<f32>(\n ((cx + u.borderSize) / u.paddedWidth) * 2.0 - 1.0,\n 1.0 - ((cy + u.borderSize) / u.paddedHeight) * 2.0,\n 0.0,\n 1.0\n );\n out.color = in.color.rgb;\n return out;\n}\n\n@fragment\nfn fs_main(in : VertexOutput) -> @location(0) vec4<f32> {\n return vec4<f32>(in.color, 1.0);\n}\n`,ud=class{#e=null;#n=null;#t=null;#s=null;async#i(){if(!globalThis.navigator?.gpu)return!1;try{let e=await navigator.gpu.requestAdapter();return e?(this.#s=navigator.gpu.getPreferredCanvasFormat(),this.#n=await e.requestDevice(),!0):!1}catch{return!1}}init(){return this.#e||=this.#i()}get isReady(){return this.#n!==null}loadMeshShader(){if(!this.#n||this.#t)return;let e=this.#n.createShaderModule({code:gk});this.#t=this.#n.createRenderPipeline({layout:\"auto\",vertex:{module:e,entryPoint:\"vs_main\",buffers:[{arrayStride:8,attributes:[{shaderLocation:0,offset:0,format:\"float32x2\"}]},{arrayStride:4,attributes:[{shaderLocation:1,offset:0,format:\"unorm8x4\"}]}]},fragment:{module:e,entryPoint:\"fs_main\",targets:[{format:this.#s}]},primitive:{topology:\"triangle-list\"}})}draw(e,t,s,i,r,a,o,l){this.loadMeshShader();let c=this.#n,{offsetX:f,offsetY:h,scaleX:u,scaleY:d}=i,p=c.createBuffer({size:Math.max(e.byteLength,4),usage:GPUBufferUsage.VERTEX|GPUBufferUsage.COPY_DST});e.byteLength>0&&c.queue.writeBuffer(p,0,e);let m=c.createBuffer({size:Math.max(t.byteLength,4),usage:GPUBufferUsage.VERTEX|GPUBufferUsage.COPY_DST});t.byteLength>0&&c.queue.writeBuffer(m,0,t);let g=c.createBuffer({size:32,usage:GPUBufferUsage.UNIFORM|GPUBufferUsage.COPY_DST});c.queue.writeBuffer(g,0,new Float32Array([f,h,u,d,a,o,l,0]));let b=c.createBindGroup({layout:this.#t.getBindGroupLayout(0),entries:[{binding:0,resource:{buffer:g}}]}),x=new OffscreenCanvas(a,o),w=x.getContext(\"webgpu\");w.configure({device:c,format:this.#s,alphaMode:r?\"opaque\":\"premultiplied\"});let v=r?{r:r[0]/255,g:r[1]/255,b:r[2]/255,a:1}:{r:0,g:0,b:0,a:0},k=c.createCommandEncoder(),j=k.beginRenderPass({colorAttachments:[{view:w.getCurrentTexture().createView(),clearValue:v,loadOp:\"clear\",storeOp:\"store\"}]});return s>0&&(j.setPipeline(this.#t),j.setBindGroup(0,b),j.setVertexBuffer(0,p),j.setVertexBuffer(1,m),j.draw(s)),j.end(),c.queue.submit([k.finish()]),p.destroy(),m.destroy(),g.destroy(),x.transferToImageBitmap()}},u0=new ud;function M5(){return u0.init()}function P5(){return u0.isReady}function bk(){u0.loadMeshShader()}function wk(n,e,t,s,i,r,a,o){return u0.draw(n,e,t,s,i,r,a,o)}T7();var cf={DATA:1,ERROR:2},Sn={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function Fv(){}function ks(n){if(n instanceof Ei||n instanceof tl||n instanceof el||n instanceof Qa||n instanceof Ka)return n;if(typeof n!=\"object\"||n===null)return new Ka(String(n),String(n));switch(n.name){case\"AbortException\":return new Ei(n.message);case\"InvalidPDFException\":return new tl(n.message);case\"PasswordException\":return new el(n.message,n.code);case\"ResponseException\":return new Qa(n.message,n.status,n.missing);case\"UnknownErrorException\":return new Ka(n.message,n.details)}return new Ka(n.message,n.toString())}var Ti=class{#e=new Map;#n=new Map;#t=1;#s;#i=new AbortController;#r;#a=new Map;#o=1;#l=new Map;#c;constructor(e,t,s){this.#r=e,this.#c=t,this.#s=s,s.addEventListener(\"message\",this.#h.bind(this),{signal:this.#i.signal})}#h({data:e}){if(e.targetName!==this.#r)return;if(e.stream){this.#d(e);return}if(e.callback){let{callbackId:s,callback:i}=e,r=this.#n.get(s);if(!r)throw new Error(`Cannot resolve callback ${s}`);if(this.#n.delete(s),i===cf.DATA)r.resolve(e.data);else if(i===cf.ERROR)r.reject(ks(e.reason));else throw new Error(\"Unexpected callback case\");return}let t=this.#e.get(e.action);if(!t)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){let s=this.#r,i=e.sourceName,r=this.#s;Promise.try(t,e.data).then(a=>{r.postMessage({sourceName:s,targetName:i,callback:cf.DATA,callbackId:e.callbackId,data:a})}).catch(a=>{r.postMessage({sourceName:s,targetName:i,callback:cf.ERROR,callbackId:e.callbackId,reason:ks(a)})});return}if(e.streamId){this.#f(e);return}t(e.data)}on(e,t){let s=this.#e;if(s.has(e))throw new Error(`There is already a \"${e}\" handler.`);s.set(e,t)}send(e,t,s){this.#s.postMessage({sourceName:this.#r,targetName:this.#c,action:e,data:t},s)}sendWithPromise(e,t,s){let i=this.#t++,r=Promise.withResolvers();this.#n.set(i,r);try{this.#s.postMessage({sourceName:this.#r,targetName:this.#c,action:e,callbackId:i,data:t},s)}catch(a){r.reject(a)}return r.promise}sendWithStream(e,t,s,i){let r=this.#o++,a=this.#r,o=this.#c,l=this.#s;return new ReadableStream({start:c=>{let f=Promise.withResolvers();return this.#a.set(r,{controller:c,startCall:f,pullCall:null,cancelCall:null,isClosed:!1}),l.postMessage({sourceName:a,targetName:o,action:e,streamId:r,data:t,desiredSize:c.desiredSize},i),f.promise},pull:c=>{let f=Promise.withResolvers();return this.#a.get(r).pullCall=f,l.postMessage({sourceName:a,targetName:o,stream:Sn.PULL,streamId:r,desiredSize:c.desiredSize}),f.promise},cancel:c=>{yn(c instanceof Error,\"cancel must have a valid reason\");let f=Promise.withResolvers();return this.#a.get(r).cancelCall=f,this.#a.get(r).isClosed=!0,l.postMessage({sourceName:a,targetName:o,stream:Sn.CANCEL,streamId:r,reason:ks(c)}),f.promise}},s)}#f(e){let t=e.streamId,s=this.#r,i=e.sourceName,r=this.#s,a=this.#l,o=this.#e.get(e.action),l={enqueue(c,f=1,h){if(this.isCancelled)return;let u=this.desiredSize;this.desiredSize-=f,u>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),r.postMessage({sourceName:s,targetName:i,stream:Sn.ENQUEUE,streamId:t,chunk:c},h)},close(){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:s,targetName:i,stream:Sn.CLOSE,streamId:t}),a.delete(t))},error(c){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:s,targetName:i,stream:Sn.ERROR,streamId:t,reason:ks(c)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,a.set(t,l),Promise.try(o,e.data,l).then(()=>{r.postMessage({sourceName:s,targetName:i,stream:Sn.START_COMPLETE,streamId:t,success:!0})},c=>{r.postMessage({sourceName:s,targetName:i,stream:Sn.START_COMPLETE,streamId:t,reason:ks(c)})})}#d(e){let t=e.streamId,s=this.#r,i=e.sourceName,r=this.#s,a=this.#a.get(t),o=this.#l.get(t);switch(e.stream){case Sn.START_COMPLETE:e.success?a.startCall.resolve():a.startCall.reject(ks(e.reason));break;case Sn.PULL_COMPLETE:e.success?a.pullCall.resolve():a.pullCall.reject(ks(e.reason));break;case Sn.PULL:if(!o){r.postMessage({sourceName:s,targetName:i,stream:Sn.PULL_COMPLETE,streamId:t,success:!0});break}o.desiredSize<=0&&e.desiredSize>0&&o.sinkCapability.resolve(),o.desiredSize=e.desiredSize,Promise.try(o.onPull||Fv).then(()=>{r.postMessage({sourceName:s,targetName:i,stream:Sn.PULL_COMPLETE,streamId:t,success:!0})},c=>{r.postMessage({sourceName:s,targetName:i,stream:Sn.PULL_COMPLETE,streamId:t,reason:ks(c)})});break;case Sn.ENQUEUE:if(yn(a,\"enqueue should have stream controller\"),a.isClosed)break;a.controller.enqueue(e.chunk);break;case Sn.CLOSE:if(yn(a,\"close should have stream controller\"),a.isClosed)break;a.isClosed=!0,a.controller.close(),this.#p(a,t);break;case Sn.ERROR:yn(a,\"error should have stream controller\"),a.controller.error(ks(e.reason)),this.#p(a,t);break;case Sn.CANCEL_COMPLETE:e.success?a.cancelCall.resolve():a.cancelCall.reject(ks(e.reason)),this.#p(a,t);break;case Sn.CANCEL:if(!o)break;let l=ks(e.reason);Promise.try(o.onCancel||Fv,l).then(()=>{r.postMessage({sourceName:s,targetName:i,stream:Sn.CANCEL_COMPLETE,streamId:t,success:!0})},c=>{r.postMessage({sourceName:s,targetName:i,stream:Sn.CANCEL_COMPLETE,streamId:t,reason:ks(c)})}),o.sinkCapability.reject(l),o.isCancelled=!0,this.#l.delete(t);break;default:throw new Error(\"Unexpected stream case\")}}async#p(e,t){await Promise.allSettled([e.startCall?.promise,e.pullCall?.promise,e.cancelCall?.promise]),this.#a.delete(t)}destroy(){this.#i?.abort(),this.#i=null}get destroyed(){return!this.#i}},Sf=class{#e=Object.freeze({cMapUrl:\"CMap\",standardFontDataUrl:\"font\",wasmUrl:\"wasm\"});constructor({cMapUrl:e=null,standardFontDataUrl:t=null,wasmUrl:s=null}){this.cMapUrl=e,this.standardFontDataUrl=t,this.wasmUrl=s}async fetch({kind:e,filename:t}){switch(e){case\"cMapUrl\":case\"standardFontDataUrl\":case\"wasmUrl\":break;default:Mt(`Not implemented: ${e}`)}let s=this[e];if(!s)throw new Error(`Ensure that the \\`${e}\\` API parameter is provided.`);let i=`${s}${t}`;return this._fetch(i,e).catch(r=>{throw new Error(`Unable to load ${this.#e[e]} data at: ${i}`)})}async _fetch(e,t){Mt(\"Abstract method `_fetch` called.\")}},qf=class extends Sf{async _fetch(e,t){let s=t===\"cMapUrl\"&&!e.endsWith(\".bcmap\")?\"text\":\"bytes\",i=await sm(e,s);return i instanceof Uint8Array?i:f0(i)}},_f=class{#e=!1;constructor({enableHWA:e=!1}){this.#e=e}create(e,t){if(e<=0||t<=0)throw new Error(\"Invalid canvas size\");let s=this._createCanvas(e,t);return{canvas:s,context:s.getContext(\"2d\",{willReadFrequently:!this.#e})}}reset({canvas:e},t,s){if(!e)throw new Error(\"Canvas is not specified\");if(t<=0||s<=0)throw new Error(\"Invalid canvas size\");e.width=t,e.height=s}destroy(e){let{canvas:t}=e;if(!t)throw new Error(\"Canvas is not specified\");t.width=t.height=0,e.canvas=null,e.context=null}getNoAlphaContext(e){return e.getContext(\"2d\",{alpha:!1,willReadFrequently:!this.#e})}_createCanvas(e,t){Mt(\"Abstract method `_createCanvas` called.\")}},If=class{addFilter(e){return\"none\"}addHCMFilter(e,t){return\"none\"}addAlphaFilter(e){return\"none\"}addLuminosityFilter(e){return\"none\"}addKnockoutFilter(e=0){return\"none\"}addHighlightHCMFilter(e,t,s,i,r){return\"none\"}addSelectionHCMFilter(e,t){return\"none\"}addSelectionFilter(){return\"none\"}createSelectionStyle(e=null){return null}destroy(e=!1){}};if(Ms){let n;try{let e=process.getBuiltinModule(\"module\").createRequire(X5.url);try{n=e(\"@napi-rs/canvas\")}catch(t){at(`Cannot load \"@napi-rs/canvas\" package: \"${t}\".`)}}catch(e){at(`Cannot access the \\`require\\` function: \"${e}\".`)}globalThis.DOMMatrix||(n?.DOMMatrix?globalThis.DOMMatrix=n.DOMMatrix:at(\"Cannot polyfill `DOMMatrix`, rendering may be broken.\")),globalThis.Path2D||(n?.Path2D?globalThis.Path2D=n.Path2D:at(\"Cannot polyfill `Path2D`, rendering may be broken.\")),globalThis.navigator?.language||(globalThis.navigator={language:\"en-US\",platform:\"\",userAgent:\"\"})}async function xk(n){let t=await process.getBuiltinModule(\"fs/promises\").readFile(n);return new Uint8Array(t)}var dd=class extends If{},pd=class extends _f{_createCanvas(e,t){return process.getBuiltinModule(\"module\").createRequire(X5.url)(\"@napi-rs/canvas\").createCanvas(e,t)}},md=class extends Sf{async _fetch(e,t){return xk(e)}};v7();var Wa=\"__forcedDependency\",{floor:Ov,ceil:Mv}=Math;function Pv(n,e,t,s,i,r){n[e*4+0]=Math.min(n[e*4+0],t),n[e*4+1]=Math.min(n[e*4+1],s),n[e*4+2]=Math.max(n[e*4+2],i),n[e*4+3]=Math.max(n[e*4+3],r)}function vk(n,e,t,s,i){let r;n?(n<0&&(r=i[0],i[0]=i[2],i[2]=r),i[0]*=n,i[2]*=n,e<0&&(r=i[1],i[1]=i[3],i[3]=r),i[1]*=e,i[3]*=e):i.fill(0),i[0]+=t,i[1]+=s,i[2]+=t,i[3]+=s}var gd=new Uint32Array(new Uint8Array([255,255,0,0]).buffer)[0],Cf=class n{#e;#n;constructor(e,t){this.#e=e,this.#n=t}static fromBuffer(e){return new n(new Uint32Array(e),new Uint8ClampedArray(e))}get buffer(){return this.#e.buffer}get length(){return this.#e.length}isEmpty(e){return this.#e[e]===gd}minX(e){return this.#n[e*4+0]/256}minY(e){return this.#n[e*4+1]/256}maxX(e){return(this.#n[e*4+2]+1)/256}maxY(e){return(this.#n[e*4+3]+1)/256}},Bv=(n,e)=>n?.getOrInsertComputed(e,()=>({dependencies:new Set,isRenderingOperation:!1})),bd=class{#e=[[1,0,0,1,0,0]];#n=[-1/0,-1/0,1/0,1/0];#t=new Float64Array(Ci);_pendingBBoxIdx=-1;#s;#i;#r;#a;_savesStack=[];_markedContentStack=[];constructor(e,t){this.#s=e.width,this.#i=e.height,this.#o(t)}growOperationsCount(e){e>=this.#a.length&&this.#o(e,this.#a)}#o(e,t){let s=new ArrayBuffer(e*4);this.#r=new Uint8ClampedArray(s),this.#a=new Uint32Array(s),t&&t.length>0?(this.#a.set(t),this.#a.fill(gd,t.length)):this.#a.fill(gd)}get clipBox(){return this.#n}save(e){return this.#n={__proto__:this.#n},this._savesStack.push(e),this}restore(e,t){let s=Object.getPrototypeOf(this.#n);if(s===null)return this;this.#n=s;let i=this._savesStack.pop();return i!==void 0&&(t?.(i,e),this.#a[e]=this.#a[i]),this}recordOpenMarker(e){return this._savesStack.push(e),this}getOpenMarker(){return this._savesStack.length===0?null:this._savesStack.at(-1)}recordCloseMarker(e,t){let s=this._savesStack.pop();return s!==void 0&&(t?.(s,e),this.#a[e]=this.#a[s]),this}beginMarkedContent(e){return this._markedContentStack.push(e),this}endMarkedContent(e,t){let s=this._markedContentStack.pop();return s!==void 0&&(t?.(s,e),this.#a[e]=this.#a[s]),this}pushBaseTransform(e){return this.#e.push(Be.multiplyByDOMMatrix(this.#e.at(-1),e.getTransform())),this}popBaseTransform(){return this.#e.length>1&&this.#e.pop(),this}resetBBox(e){return this._pendingBBoxIdx!==e&&(this._pendingBBoxIdx=e,this.#t.set(Ci,0)),this}recordClipBox(e,t,s,i,r,a){let o=Be.multiplyByDOMMatrix(this.#e.at(-1),t.getTransform()),l=Ci.slice();Be.axialAlignedBoundingBox([s,r,i,a],o,l);let c=Be.intersect(this.#n,l);return c?(this.#n[0]=c[0],this.#n[1]=c[1],this.#n[2]=c[2],this.#n[3]=c[3]):(this.#n[0]=this.#n[1]=1/0,this.#n[2]=this.#n[3]=-1/0),this}recordBBox(e,t,s,i,r,a){let o=this.#n;if(o[0]===1/0)return this;let l=Be.multiplyByDOMMatrix(this.#e.at(-1),t.getTransform());if(o[0]===-1/0)return Be.axialAlignedBoundingBox([s,r,i,a],l,this.#t),this;let c=Ci.slice();return Be.axialAlignedBoundingBox([s,r,i,a],l,c),this.#t[0]=Xt(c[0],o[0],this.#t[0]),this.#t[1]=Xt(c[1],o[1],this.#t[1]),this.#t[2]=Xt(c[2],this.#t[2],o[2]),this.#t[3]=Xt(c[3],this.#t[3],o[3]),this}recordFullPageBBox(e){return this.#t[0]=Math.max(0,this.#n[0]),this.#t[1]=Math.max(0,this.#n[1]),this.#t[2]=Math.min(this.#s,this.#n[2]),this.#t[3]=Math.min(this.#i,this.#n[3]),this}recordOperation(e,t=!1,s){if(this._pendingBBoxIdx!==e)return this;let i=Ov(this.#t[0]*256/this.#s),r=Ov(this.#t[1]*256/this.#i),a=Mv(this.#t[2]*256/this.#s),o=Mv(this.#t[3]*256/this.#i);if(Pv(this.#r,e,i,r,a,o),s)for(let l of s)for(let c of l)c!==e&&Pv(this.#r,c,i,r,a,o);return t||(this._pendingBBoxIdx=-1),this}bboxToClipBoxDropOperation(e){return this._pendingBBoxIdx===e&&(this._pendingBBoxIdx=-1,this.#n[0]=Math.max(this.#n[0],this.#t[0]),this.#n[1]=Math.max(this.#n[1],this.#t[1]),this.#n[2]=Math.min(this.#n[2],this.#t[2]),this.#n[3]=Math.min(this.#n[3],this.#t[3])),this}take(){return new Cf(this.#a,this.#r)}takeDebugMetadata(){throw new Error(\"Unreachable\")}recordSimpleData(e,t){return this}recordIncrementalData(e,t){return this}resetIncrementalData(e,t){return this}recordNamedData(e,t){return this}recordSimpleDataFromNamed(e,t,s){return this}recordFutureForcedDependency(e,t){return this}inheritSimpleDataAsFutureForcedDependencies(e){return this}inheritPendingDependenciesAsFutureForcedDependencies(){return this}recordCharacterBBox(e,t,s,i=1,r=0,a=0,o){return this}getSimpleIndex(e){}recordDependencies(e,t){return this}recordNamedDependency(e,t){return this}recordShowTextOperation(e,t=!1){return this}},wd=class{#e={__proto__:null};#n={__proto__:null,transform:[],moveText:[],sameLineText:[],[Wa]:[]};#t=new Map;#s=new Set;#i=new Map;#r;#a;#o;constructor(e,t=!1){this.#o=e,t&&(this.#r=new Map,this.#a=(s,i)=>{Bv(this.#r,i).dependencies.add(s)})}get clipBox(){return this.#o.clipBox}growOperationsCount(e){this.#o.growOperationsCount(e)}save(e){return this.#e={__proto__:this.#e},this.#n={__proto__:this.#n,transform:{__proto__:this.#n.transform},moveText:{__proto__:this.#n.moveText},sameLineText:{__proto__:this.#n.sameLineText},[Wa]:{__proto__:this.#n[Wa]}},this.#o.save(e),this}restore(e){this.#o.restore(e,this.#a);let t=Object.getPrototypeOf(this.#e);return t===null?this:(this.#e=t,this.#n=Object.getPrototypeOf(this.#n),this)}recordOpenMarker(e){return this.#o.recordOpenMarker(e,this.#a),this}getOpenMarker(){return this.#o.getOpenMarker()}recordCloseMarker(e){return this.#o.recordCloseMarker(e,this.#a),this}beginMarkedContent(e){return this.#o.beginMarkedContent(e),this}endMarkedContent(e){return this.#o.endMarkedContent(e,this.#a),this}pushBaseTransform(e){return this.#o.pushBaseTransform(e),this}popBaseTransform(){return this.#o.popBaseTransform(),this}recordSimpleData(e,t){return this.#e[e]=t,this}recordIncrementalData(e,t){return this.#n[e].push(t),this}resetIncrementalData(e,t){return this.#n[e].length=0,this}recordNamedData(e,t){return this.#t.set(e,t),this}recordSimpleDataFromNamed(e,t,s){this.#e[e]=this.#t.get(t)??s}recordFutureForcedDependency(e,t){return this.recordIncrementalData(Wa,t),this}inheritSimpleDataAsFutureForcedDependencies(e){for(let t of e)t in this.#e&&this.recordFutureForcedDependency(t,this.#e[t]);return this}inheritPendingDependenciesAsFutureForcedDependencies(){for(let e of this.#s)this.recordFutureForcedDependency(Wa,e);return this}resetBBox(e){return this.#o.resetBBox(e),this}recordClipBox(e,t,s,i,r,a){return this.#o.recordClipBox(e,t,s,i,r,a),this}recordBBox(e,t,s,i,r,a){return this.#o.recordBBox(e,t,s,i,r,a),this}recordCharacterBBox(e,t,s,i=1,r=0,a=0,o){let l=s.bbox,c,f;if(l&&(c=l[2]!==l[0]&&l[3]!==l[1]&&this.#i.get(s),c!==!1&&(f=[0,0,0,0],Be.axialAlignedBoundingBox(l,s.fontMatrix,f),(i!==1||r!==0||a!==0)&&vk(i,-i,r,a,f),c)))return this.recordBBox(e,t,f[0],f[2],f[1],f[3]);if(!o)return this.recordFullPageBBox(e);let h=o();return l&&f&&c===void 0&&(c=f[0]<=r-h.actualBoundingBoxLeft&&f[2]>=r+h.actualBoundingBoxRight&&f[1]<=a-h.actualBoundingBoxAscent&&f[3]>=a+h.actualBoundingBoxDescent,this.#i.set(s,c),c)?this.recordBBox(e,t,f[0],f[2],f[1],f[3]):this.recordBBox(e,t,r-h.actualBoundingBoxLeft,r+h.actualBoundingBoxRight,a-h.actualBoundingBoxAscent,a+h.actualBoundingBoxDescent)}recordFullPageBBox(e){return this.#o.recordFullPageBBox(e),this}getSimpleIndex(e){return this.#e[e]}recordDependencies(e,t){let s=this.#s,i=this.#e,r=this.#n;for(let a of t)a in this.#e?s.add(i[a]):a in r&&r[a].forEach(s.add,s);return this}recordNamedDependency(e,t){return this.#t.has(t)&&this.#s.add(this.#t.get(t)),this}recordOperation(e,t=!1){if(this.recordDependencies(e,[Wa]),this.#r){let i=Bv(this.#r,e),{dependencies:r}=i;this.#s.forEach(r.add,r),this.#o._savesStack.forEach(r.add,r),this.#o._markedContentStack.forEach(r.add,r),r.delete(e),i.isRenderingOperation=!0}let s=!t&&e===this.#o._pendingBBoxIdx;return this.#o.recordOperation(e,t,[this.#s,this.#o._savesStack,this.#o._markedContentStack]),s&&this.#s.clear(),this}recordShowTextOperation(e,t=!1){let s=Array.from(this.#s);this.recordOperation(e,t),this.recordIncrementalData(\"sameLineText\",e);for(let i of s)this.recordIncrementalData(\"sameLineText\",i);return this}bboxToClipBoxDropOperation(e,t=!1){let s=!t&&e===this.#o._pendingBBoxIdx;return this.#o.bboxToClipBoxDropOperation(e),s&&this.#s.clear(),this}take(){return this.#i.clear(),this.#o.take()}takeDebugMetadata(){return this.#r}},cl=class n{#e;#n;#t;#s=0;#i=0;constructor(e,t,s){if(e instanceof n&&e.#t===!!s)return e;this.#e=e,this.#n=t,this.#t=!!s}get clipBox(){return this.#e.clipBox}growOperationsCount(){throw new Error(\"Unreachable\")}save(e){return this.#i++,this.#e.save(this.#n),this}restore(e){return this.#i>0&&(this.#e.restore(this.#n),this.#i--),this}recordOpenMarker(e){return this.#s++,this}getOpenMarker(){return this.#s>0?this.#n:this.#e.getOpenMarker()}recordCloseMarker(e){return this.#s--,this}beginMarkedContent(e){return this}endMarkedContent(e){return this}pushBaseTransform(e){return this.#e.pushBaseTransform(e),this}popBaseTransform(){return this.#e.popBaseTransform(),this}recordSimpleData(e,t){return this.#e.recordSimpleData(e,this.#n),this}recordIncrementalData(e,t){return this.#e.recordIncrementalData(e,this.#n),this}resetIncrementalData(e,t){return this.#e.resetIncrementalData(e,this.#n),this}recordNamedData(e,t){return this}recordSimpleDataFromNamed(e,t,s){return this.#e.recordSimpleDataFromNamed(e,t,this.#n),this}recordFutureForcedDependency(e,t){return this.#e.recordFutureForcedDependency(e,this.#n),this}inheritSimpleDataAsFutureForcedDependencies(e){return this.#e.inheritSimpleDataAsFutureForcedDependencies(e),this}inheritPendingDependenciesAsFutureForcedDependencies(){return this.#e.inheritPendingDependenciesAsFutureForcedDependencies(),this}resetBBox(e){return this.#t||this.#e.resetBBox(this.#n),this}recordClipBox(e,t,s,i,r,a){return this.#t||this.#e.recordClipBox(this.#n,t,s,i,r,a),this}recordBBox(e,t,s,i,r,a){return this.#t||this.#e.recordBBox(this.#n,t,s,i,r,a),this}recordCharacterBBox(e,t,s,i,r,a,o){return this.#t||this.#e.recordCharacterBBox(this.#n,t,s,i,r,a,o),this}recordFullPageBBox(e){return this.#t||this.#e.recordFullPageBBox(this.#n),this}getSimpleIndex(e){return this.#e.getSimpleIndex(e)}recordDependencies(e,t){return this.#e.recordDependencies(this.#n,t),this}recordNamedDependency(e,t){return this.#e.recordNamedDependency(this.#n,t),this}recordOperation(e){return this.#e.recordOperation(this.#n,!0),this}recordShowTextOperation(e){return this.#e.recordShowTextOperation(this.#n,!0),this}bboxToClipBoxDropOperation(e){return this.#t||this.#e.bboxToClipBoxDropOperation(this.#n,!0),this}take(){throw new Error(\"Unreachable\")}takeDebugMetadata(){throw new Error(\"Unreachable\")}},Js={stroke:[\"path\",\"transform\",\"filter\",\"strokeColor\",\"strokeAlpha\",\"lineWidth\",\"lineCap\",\"lineJoin\",\"miterLimit\",\"dash\"],fill:[\"path\",\"transform\",\"filter\",\"fillColor\",\"fillAlpha\",\"globalCompositeOperation\",\"SMask\"],imageXObject:[\"transform\",\"SMask\",\"filter\",\"fillAlpha\",\"strokeAlpha\",\"globalCompositeOperation\"],rawFillPath:[\"filter\",\"fillColor\",\"fillAlpha\"],showText:[\"transform\",\"leading\",\"charSpacing\",\"wordSpacing\",\"hScale\",\"textRise\",\"moveText\",\"textMatrix\",\"font\",\"fontObj\",\"filter\",\"fillColor\",\"textRenderingMode\",\"SMask\",\"fillAlpha\",\"strokeAlpha\",\"globalCompositeOperation\",\"sameLineText\"],transform:[\"transform\"],transformAndFill:[\"transform\",\"filter\",\"fillColor\"]},xd=class n{#e;#n;#t=4;#s=0;#i=new n.#r(this.#t*6);static#r=Ot.isFloat16ArraySupported?Float16Array:Float32Array;constructor(e){this.#e=e.width,this.#n=e.height}record(e,t,s,i){if(this.#s===this.#t){this.#t*=2;let o=new n.#r(this.#t*6);o.set(this.#i),this.#i=o}let r=Kt(e),a;if(i[0]!==1/0){let o=Ci.slice();Be.axialAlignedBoundingBox([0,-s,t,0],r,o);let l=Be.intersect(i,o);if(!l)return;let[c,f,h,u]=l;if(c!==o[0]||f!==o[1]||h!==o[2]||u!==o[3]){let d=Math.atan2(r[1],r[0]),p=Math.abs(Math.sin(d)),m=Math.abs(Math.cos(d));if(p<1e-6||m<1e-6||Math.abs(p-m)<1e-6)a=[c,f,c,u,h,f];else{let g=h-c,b=u-f,x=p*p,w=m*m,v=m*p,k=w-x,j=(b*w-g*v)/k,A=(b*v-g*x)/k;a=[c+A,f,c,f+j,h,u-j]}}}a||(a=[0,-s,0,0,t,-s],Be.applyTransform(a,r,0),Be.applyTransform(a,r,2),Be.applyTransform(a,r,4)),a[0]/=this.#e,a[1]/=this.#n,a[2]/=this.#e,a[3]/=this.#n,a[4]/=this.#e,a[5]/=this.#n,this.#i.set(a,this.#s*6),this.#s++}take(){return this.#i.subarray(0,this.#s*6)}};function yk(n,e,{recordOperations:t=!1,recordImages:s=!1,recordDebugMetadata:i=!1}){let r=t||s?new bd(n,e):null;return{dependencyTracker:t?new wd(r,i):r,imagesTracker:s?new xd(n):null}}function B5({src:n,srcPos:e=0,dest:t,width:s,height:i,nonBlackColor:r=4294967295,inverseDecode:a=!1}){let o=Ot.isLittleEndian?4278190080:255,[l,c]=a?[r,o]:[o,r],f=s>>3,h=s&7,u=l^c,d=n.length;t=new Uint32Array(t.buffer);let p=0;for(let m=0;m<i;++m){for(let b=e+f;e<b;++e,p+=8){let x=n[e];t[p]=l^-(x>>7&1)&u,t[p+1]=l^-(x>>6&1)&u,t[p+2]=l^-(x>>5&1)&u,t[p+3]=l^-(x>>4&1)&u,t[p+4]=l^-(x>>3&1)&u,t[p+5]=l^-(x>>2&1)&u,t[p+6]=l^-(x>>1&1)&u,t[p+7]=l^-(x&1)&u}if(h===0)continue;let g=e<d?n[e++]:255;for(let b=0;b<h;++b,++p)t[p]=l^-(g>>7-b&1)&u}return{srcPos:e,destPos:p}}function kk({src:n,srcPos:e=0,dest:t,destPos:s=0,width:i,height:r}){let a=0,o=i*r*3,l=n.byteOffset+e,c=l%4===0?Math.floor(Xt(n.length-e,0,o)/4):0,f=c>0?new Uint32Array(n.buffer,l,c):null,h=Ot.isLittleEndian?4278190080:255;if(Ot.isLittleEndian){for(;a<c-2;a+=3,s+=4){let u=f[a],d=f[a+1],p=f[a+2];t[s]=u|h,t[s+1]=u>>>24|d<<8|h,t[s+2]=d>>>16|p<<16|h,t[s+3]=p>>>8|h}for(let u=e+a*4,d=e+o;u<d;u+=3)t[s++]=n[u]|n[u+1]<<8|n[u+2]<<16|h}else{for(;a<c-2;a+=3,s+=4){let u=f[a],d=f[a+1],p=f[a+2];t[s]=u|h,t[s+1]=u<<24|d>>>8|h,t[s+2]=d<<16|p>>>16|h,t[s+3]=p<<8|h}for(let u=e+a*4,d=e+o;u<d;u+=3)t[s++]=n[u]<<24|n[u+1]<<16|n[u+2]<<8|h}return{srcPos:e+o,destPos:s}}var Rn={FILL:\"Fill\",STROKE:\"Stroke\",SHADING:\"Shading\"};function bf(n,e){if(!e)return;let t=e[2]-e[0],s=e[3]-e[1],i=new Path2D;i.rect(e[0],e[1],t,s),n.clip(i)}var fl=class{matrix=null;isModifyingCurrentTransform(){return!1}getPattern(){Mt(\"Abstract method `getPattern` called.\")}},vd=class extends fl{constructor(e){super(),this._type=e[1],this._bbox=e[2],this._colorStops=e[3],this._p0=e[4],this._p1=e[5],this._r0=e[6],this._r1=e[7]}isOriginBased(){return this._p0[0]===0&&this._p0[1]===0&&(!this.isRadial()||this._p1[0]===0&&this._p1[1]===0)}isRadial(){return this._type===\"radial\"}areConic(){if(!this.isRadial())return!1;let e=Math.hypot(this._p0[0]-this._p1[0],this._p0[1]-this._p1[1]);return e+this._r1>this._r0&&e+this._r0>this._r1}_createGradient(e,t=null){let s,i=this._p0,r=this._p1;if(t&&(i=i.slice(),r=r.slice(),Be.applyTransform(i,t),Be.applyTransform(r,t)),this._type===\"axial\")s=e.createLinearGradient(i[0],i[1],r[0],r[1]);else if(this._type===\"radial\"){let a=this._r0,o=this._r1;if(t){let l=new Float32Array(2);Be.singularValueDecompose2dScale(t,l),a*=l[0],o*=l[0]}s=e.createRadialGradient(i[0],i[1],a,r[0],r[1],o)}for(let a of this._colorStops)s.addColorStop(a[0],a[1]);return s}_createReversedGradient(e,t=null){let s=this._p1,i=this._p0;t&&(s=s.slice(),i=i.slice(),Be.applyTransform(s,t),Be.applyTransform(i,t));let r=this._r1,a=this._r0;if(t){let c=new Float32Array(2);Be.singularValueDecompose2dScale(t,c),r*=c[0],a*=c[0]}let o=e.createRadialGradient(s[0],s[1],r,i[0],i[1],a),l=this._colorStops.map(([c,f])=>[1-c,f]).reverse();for(let[c,f]of l)o.addColorStop(c,f);return o}_createRasterPattern(e,t,s,i,r,a){let o=Math.ceil(i[2]-i[0])||1,l=Math.ceil(i[3]-i[1])||1,c=t.canvasFactory.create(o,l),f=c.context;f.clearRect(0,0,o,l),f.beginPath(),f.rect(0,0,o,l),f.translate(-i[0],-i[1]),s=Be.transform(s,[1,0,0,1,i[0],i[1]]),f.transform(...r),bf(f,this._bbox),this.areConic()&&(f.fillStyle=this._createReversedGradient(f),f.fill()),f.fillStyle=this._createGradient(f),f.fill(),a?.applyToCanvas(f);let h=e.createPattern(c.canvas,\"no-repeat\");return t.canvasFactory.destroy(c),h.setTransform(new DOMMatrix(s)),h}getPattern(e,t,s,i){let r=t.current.transferMapsFallback;if(i===Rn.STROKE||i===Rn.FILL){if(this.isOriginBased()&&!r){let l=Be.transform(s,t.baseTransform);this.matrix&&(l=Be.transform(l,this.matrix));let c=.001,f=Math.hypot(l[0],l[1]),h=Math.hypot(l[2],l[3]),u=(l[0]*l[2]+l[1]*l[3])/(f*h);if(Math.abs(u)<c)if(this.isRadial()){if(Math.abs(f-h)<c)return this._createGradient(e,l)}else return this._createGradient(e,l)}let a=t.current.getClippedPathBoundingBox(i,Kt(e))||[0,0,0,0],o=this.matrix?Be.transform(t.baseTransform,this.matrix):t.baseTransform;return this._createRasterPattern(e,t,s,a,o,r)}return r&&s?this._createRasterPattern(e,t,s,t.current.clipBox,Kt(e),r):(this.areConic()&&(e.save(),bf(e,this._bbox),e.fillStyle=this._createReversedGradient(e),e.fillRect(-1e10,-1e10,2e10,2e10),e.restore()),bf(e,this._bbox),this._createGradient(e))}};function jk(n,e,t,s,i,r,a,o){let l=e.coords,c=e.colors,f=n.data,h=n.width*4,u;l[t*2+1]>l[s*2+1]&&(u=t,t=s,s=u,u=r,r=a,a=u),l[s*2+1]>l[i*2+1]&&(u=s,s=i,i=u,u=a,a=o,o=u),l[t*2+1]>l[s*2+1]&&(u=t,t=s,s=u,u=r,r=a,a=u);let d=(l[t*2]+e.offsetX)*e.scaleX,p=(l[t*2+1]+e.offsetY)*e.scaleY,m=(l[s*2]+e.offsetX)*e.scaleX,g=(l[s*2+1]+e.offsetY)*e.scaleY,b=(l[i*2]+e.offsetX)*e.scaleX,x=(l[i*2+1]+e.offsetY)*e.scaleY;if(p>=x)return;let w=c[r*4],v=c[r*4+1],k=c[r*4+2],j=c[a*4],A=c[a*4+1],S=c[a*4+2],q=c[o*4],_=c[o*4+1],I=c[o*4+2],C=Math.round(p),T=Math.round(x),M,E,G,D,N,K,ee,de;for(let X=C;X<=T;X++){if(X<g){let z=X<p?0:(p-X)/(p-g);M=d-(d-m)*z,E=w-(w-j)*z,G=v-(v-A)*z,D=k-(k-S)*z}else{let z;X>x?z=1:g===x?z=0:z=(g-X)/(g-x),M=m-(m-b)*z,E=j-(j-q)*z,G=A-(A-_)*z,D=S-(S-I)*z}let ue;X<p?ue=0:X>x?ue=1:ue=(p-X)/(p-x),N=d-(d-b)*ue,K=w-(w-q)*ue,ee=v-(v-_)*ue,de=k-(k-I)*ue;let re=Math.round(Math.min(M,N)),H=Math.round(Math.max(M,N)),O=h*X+re*4;for(let z=re;z<=H;z++)ue=(M-z)/(M-N),ue<0?ue=0:ue>1&&(ue=1),f[O++]=E-(E-K)*ue|0,f[O++]=G-(G-ee)*ue|0,f[O++]=D-(D-de)*ue|0,f[O++]=255}}var yd=class extends fl{constructor(e){super(),this._posData=e[2],this._colData=e[3],this._vertexCount=e[4],this._bounds=e[5],this._bbox=e[6],this._background=e[7],bk()}_createMeshCanvas(e,t,s,i=null){let l=Math.floor(this._bounds[0]),c=Math.floor(this._bounds[1]),f=Math.ceil(this._bounds[2])-l,h=Math.ceil(this._bounds[3])-c,u=Math.min(Math.ceil(Math.abs(f*e[0]*1.1)),3e3)||1,d=Math.min(Math.ceil(Math.abs(h*e[1]*1.1)),3e3)||1,p=f?f/u:1,m=h?h/d:1,g={coords:this._posData,colors:this._colData,offsetX:-l,offsetY:-c,scaleX:1/p,scaleY:1/m},b=u+4,x=d+4,w=s.create(b,x);if(P5()&&this._vertexCount>48)w.context.drawImage(wk(this._posData,this._colData,this._vertexCount,g,t,b,x,2),0,0);else{let v=w.context.createImageData(u,d);if(t){let k=v.data;for(let j=0,A=k.length;j<A;j+=4)k[j]=t[0],k[j+1]=t[1],k[j+2]=t[2],k[j+3]=255}for(let k=0,j=this._vertexCount;k<j;k+=3)jk(v,g,k,k+1,k+2,k,k+1,k+2);w.context.putImageData(v,2,2)}return i?.applyToCanvas(w.context),{canvas:w.canvas,offsetX:l-2*p,offsetY:c-2*m,scaleX:p,scaleY:m}}isModifyingCurrentTransform(){return!0}getPattern(e,t,s,i){bf(e,this._bbox);let r=new Float32Array(2);if(i===Rn.SHADING)Be.singularValueDecompose2dScale(Kt(e),r);else if(this.matrix){Be.singularValueDecompose2dScale(this.matrix,r);let[l,c]=r;Be.singularValueDecompose2dScale(t.baseTransform,r),r[0]*=l,r[1]*=c}else Be.singularValueDecompose2dScale(t.baseTransform,r);let a=this._createMeshCanvas(r,i===Rn.SHADING?null:this._background,t.canvasFactory,t.current.transferMapsFallback);i!==Rn.SHADING&&(e.setTransform(...t.baseTransform),this.matrix&&e.transform(...this.matrix)),e.translate(a.offsetX,a.offsetY),e.scale(a.scaleX,a.scaleY);let o=e.createPattern(a.canvas,\"no-repeat\");return t.canvasFactory.destroy(a),o}},kd=class extends fl{getPattern(){return\"hotpink\"}};function Ak(n){switch(n[0]){case\"RadialAxial\":return new vd(n);case\"Mesh\":return new yd(n);case\"Dummy\":return new kd}throw new Error(`Unknown IR type: ${n[0]}`)}var Dv={COLORED:1,UNCOLORED:2},Yo=class n{static MAX_PATTERN_SIZE=3e3;constructor(e,t,s,i){this.color=e[1],this.operatorList=e[2],this.matrix=e[3],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.needsIsolation=e[9]??!0,this.ctx=t,this.canvasGraphicsFactory=s,this.baseTransform=i,this.patternBaseMatrix=this.matrix?Be.transform(i,this.matrix):i}canSkipPatternCanvas([e,t,s,i]){let[r,a,o,l]=this.bbox,c=Math.abs(this.xstep),f=Math.abs(this.ystep);if(e>c+1e-6||t>f+1e-6)return null;let h=Math.floor((s-o)/c)+1,u=Math.ceil((s+e-r)/c)-1,d=Math.floor((i-l)/f)+1,p=Math.ceil((i+t-a)/f)-1;return u<=h&&p<=d?[h,d]:null}updatePatternDims(e,t){let s=Ci.slice();Be.axialAlignedBoundingBox(e,Be.inverseTransform(this.patternBaseMatrix),s),t[0]=s[2]-s[0],t[1]=s[3]-s[1],t[2]=s[0],t[3]=s[1]}_renderTileCanvas(e,t,s,i){let[r,a,o,l]=this.bbox,c=e.canvasFactory.create(s.size,i.size),f=c.context,h=this.canvasGraphicsFactory.createCanvasGraphics(f,t);return h.groupLevel=e.groupLevel,h.current.transferMapsFallback=e.current.transferMapsFallback,this.setFillAndStrokeStyleToContext(h,this.paintType,this.color),f.translate(-s.scale*r,-i.scale*a),h.transform(0,s.scale,0,0,i.scale,0,0),f.save(),h.dependencyTracker?.save(),this.clipBbox(h,r,a,o,l),h.baseTransform=Kt(h.ctx),h.executeOperatorList(this.operatorList),h.endDrawing(),h.dependencyTracker?.restore(),f.restore(),c}_getCombinedScales(){let e=new Float32Array(2);Be.singularValueDecompose2dScale(this.matrix,e);let[t,s]=e;return Be.singularValueDecompose2dScale(this.baseTransform,e),[t*e[0],s*e[1]]}drawPattern(e,t,s=!1,[i,r],a){let[o,l,c,f]=this.bbox,h=e.dependencyTracker;h&&(e.dependencyTracker=new cl(h,a));try{if(e.save(),s?e.ctx.clip(t,\"evenodd\"):e.ctx.clip(t),e.ctx.setTransform(...this.patternBaseMatrix),e.ctx.translate(i*this.xstep,r*this.ystep),this.needsIsolation||e.ctx.globalAlpha!==1||e.ctx.globalCompositeOperation!==\"source-over\"||e.inSMaskMode){let u=c-o,d=f-l,[p,m]=this._getCombinedScales(),g=this.getSizeAndScale(u,this.ctx.canvas.width,p),b=this.getSizeAndScale(d,this.ctx.canvas.height,m),x=this._renderTileCanvas(e,a,g,b);e.ctx.drawImage(x.canvas,o,l,u,d),e.canvasFactory.destroy(x)}else e.resetGraphicsState(),this.setFillAndStrokeStyleToContext(e,this.paintType,this.color),this.clipBbox(e,o,l,c,f),e.baseTransformStack.push(e.baseTransform),e.baseTransform=Kt(e.ctx),e.executeOperatorList(this.operatorList),e.baseTransform=e.baseTransformStack.pop();e.restore()}finally{h&&(e.dependencyTracker=h)}}createPatternCanvas(e,t){let[s,i,r,a]=this.bbox,o=r-s,l=a-i,{xstep:c,ystep:f}=this;c=Math.abs(c),f=Math.abs(f),c0(\"TilingType: \"+this.tilingType);let[h,u]=this._getCombinedScales(),d=o,p=l,m=!1,g=!1;Math.ceil(c*h)>=Math.ceil(o*h)?d=c:m=!0,Math.ceil(f*u)>=Math.ceil(l*u)?p=f:g=!0;let b=this.getSizeAndScale(d,this.ctx.canvas.width,h),x=this.getSizeAndScale(p,this.ctx.canvas.height,u),w=this._renderTileCanvas(e,t,b,x);if(m||g){let v=w.canvas;m&&(d=c),g&&(p=f);let k=this.getSizeAndScale(d,this.ctx.canvas.width,h),j=this.getSizeAndScale(p,this.ctx.canvas.height,u),A=k.size,S=j.size,q=e.canvasFactory.create(A,S),_=q.context,I=m?Math.min(Math.floor(o/c),Math.ceil(v.width/A)):0,C=g?Math.min(Math.floor(l/f),Math.ceil(v.height/S)):0,T=v,M=null;if(g){M=e.canvasFactory.create(v.width,S);let E=M.context;for(let G=C;G>=0;G--)E.drawImage(v,0,S*G,v.width,S,0,0,v.width,S);T=M.canvas}for(let E=I;E>=0;E--)_.drawImage(T,A*E,0,A,S,0,0,A,S);return M&&e.canvasFactory.destroy(M),e.canvasFactory.destroy(w),{canvas:q.canvas,canvasEntry:q,scaleX:k.scale,scaleY:j.scale,offsetX:s,offsetY:i}}return{canvas:w.canvas,canvasEntry:w,scaleX:b.scale,scaleY:x.scale,offsetX:s,offsetY:i}}getSizeAndScale(e,t,s){let i=Math.max(n.MAX_PATTERN_SIZE,t),r=Math.ceil(e*s);return r>=i?r=i:s=r/e,{scale:s,size:r}}clipBbox(e,t,s,i,r){let a=i-t,o=r-s,l=new Path2D;l.rect(t,s,a,o),Be.axialAlignedBoundingBox([t,s,i,r],Kt(e.ctx),e.current.minMax),e.ctx.clip(l),e.current.updateClipFromPath()}setFillAndStrokeStyleToContext(e,t,s){switch(t){case Dv.COLORED:s=\"#000000\";break;case Dv.UNCOLORED:break;default:throw new Yu(`Unsupported paint type: ${t}`)}let{ctx:i,current:r}=e;r.patternFill=r.patternStroke=!1,i.fillStyle=i.strokeStyle=r.transferMapsFallback?.applyToColor(s)??s,r.fillColor=r.strokeColor=s}isModifyingCurrentTransform(){return!1}getPattern(e,t,s,i,r){let a=i!==Rn.SHADING?Be.transform(s,this.patternBaseMatrix):s,o=this.createPatternCanvas(t,r),l=new DOMMatrix(a);l=l.translate(o.offsetX,o.offsetY),l=l.scale(1/o.scaleX,1/o.scaleY);let c=e.createPattern(o.canvas,\"repeat\");return t.canvasFactory.destroy(o.canvasEntry),c.setTransform(l),c}},Sk=16,qk=100,_k=15,Nv=10,js=16,Ps=new Float32Array(2);function Hv(n,e){if(n._removeMirroring)throw new Error(\"Context is already forwarding operations.\");let t=new Map;for(let s of[\"save\",\"restore\",\"rotate\",\"scale\",\"translate\",\"transform\",\"setTransform\",\"resetTransform\",\"clip\",\"moveTo\",\"lineTo\",\"bezierCurveTo\",\"quadraticCurveTo\",\"arc\",\"arcTo\",\"ellipse\",\"rect\",\"roundRect\",\"closePath\",\"beginPath\"]){let i=n[s];typeof i!=\"function\"||typeof e[s]!=\"function\"||(t.set(s,i),n[s]=function(...r){return e[s](...r),i.apply(this,r)})}n._removeMirroring=()=>{for(let[s,i]of t)n[s]=i;delete n._removeMirroring}}function ff(n,e,t,s,i,r,a,o,l,c){let[f,h,u,d,p,m]=Kt(n);if(h===0&&u===0){let x=a*f+p,w=Math.round(x),v=o*d+m,k=Math.round(v),j=(a+l)*f+p,A=Math.abs(Math.round(j)-w)||1,S=(o+c)*d+m,q=Math.abs(Math.round(S)-k)||1;return n.setTransform(Math.sign(f),0,0,Math.sign(d),w,k),n.drawImage(e,t,s,i,r,0,0,A,q),n.setTransform(f,h,u,d,p,m),[A,q]}if(f===0&&d===0){let x=o*u+p,w=Math.round(x),v=a*h+m,k=Math.round(v),j=(o+c)*u+p,A=Math.abs(Math.round(j)-w)||1,S=(a+l)*h+m,q=Math.abs(Math.round(S)-k)||1;return n.setTransform(0,Math.sign(h),Math.sign(u),0,w,k),n.drawImage(e,t,s,i,r,0,0,q,A),n.setTransform(f,h,u,d,p,m),[q,A]}n.drawImage(e,t,s,i,r,a,o,l,c);let g=Math.hypot(f,h),b=Math.hypot(u,d);return[g*l,b*c]}var Jo=class{alphaIsShape=!1;fontSize=0;fontSizeScale=1;textMatrix=null;textMatrixScale=1;fontMatrix=Ku;leading=0;x=0;y=0;lineX=0;lineY=0;charSpacing=0;wordSpacing=0;textHScale=1;textRenderingMode=En.FILL;textRise=0;fillColor=\"#000000\";strokeColor=\"#000000\";tilingPatternDims=null;patternFill=!1;patternStroke=!1;fillAlpha=1;strokeAlpha=1;lineWidth=1;activeSMask=null;transferMaps=\"none\";transferMapsFallback=null;minMax=Wr.slice();constructor(e,t){this.clipBox=new Float32Array([0,0,e,t])}clone(){let e=Object.create(this);return e.clipBox=this.clipBox.slice(),e.minMax=this.minMax.slice(),e.tilingPatternDims=this.tilingPatternDims?.slice(),e}getPathBoundingBox(e=Rn.FILL,t=null){let s=this.minMax.slice();if(e===Rn.STROKE){t||Mt(\"Stroke bounding box must include transform.\"),Be.singularValueDecompose2dScale(t,Ps);let i=Ps[0]*this.lineWidth/2,r=Ps[1]*this.lineWidth/2;s[0]-=i,s[1]-=r,s[2]+=i,s[3]+=r}return s}updateClipFromPath(){let e=Be.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(e||[0,0,0,0])}isEmptyClip(){return this.minMax[0]===1/0}startNewPathAndClipBox(e){this.clipBox.set(e,0),this.minMax.set(Wr,0)}getClippedPathBoundingBox(e=Rn.FILL,t=null){return Be.intersect(this.clipBox,this.getPathBoundingBox(e,t))}};function Lv(n,e){let{width:t,height:s,kind:i}=e,r=s%js,a=(s-r)/js,o=r===0?a:a+1,l=n.createImageData(t,js),c=0,f=e.data,h=l.data,u;if(i===gf.GRAYSCALE_1BPP)for(u=0;u<o;u++)({srcPos:c}=B5({src:f,srcPos:c,dest:h,width:t,height:u<a?js:r})),n.putImageData(l,0,u*js);else if(i===gf.RGBA_32BPP){let d=0,p=t*js*4;for(u=0;u<a;u++)h.set(f.subarray(c,c+p)),c+=p,n.putImageData(l,0,d),d+=js;u<o&&(p=t*r*4,h.set(f.subarray(c,c+p)),n.putImageData(l,0,d))}else if(i===gf.RGB_24BPP)for(u=0;u<o;u++)({srcPos:c}=kk({src:f,srcPos:c,dest:new Uint32Array(h.buffer),width:t,height:u<a?js:r})),n.putImageData(l,0,u*js);else throw new Error(`bad image kind: ${i}`)}function zv(n,e){if(e.bitmap){n.drawImage(e.bitmap,0,0);return}let{width:t,height:s}=e,i=s%js,r=(s-i)/js,a=i===0?r:r+1,o=n.createImageData(t,js),l=0,c=e.data,f=o.data;for(let h=0;h<a;h++)({srcPos:l}=B5({src:c,srcPos:l,dest:f,width:t,height:h<r?js:i,nonBlackColor:0})),n.putImageData(o,0,h*js)}function zr(n,e){let t=[\"strokeStyle\",\"fillStyle\",\"fillRule\",\"globalAlpha\",\"lineWidth\",\"lineCap\",\"lineJoin\",\"miterLimit\",\"globalCompositeOperation\",\"font\",\"filter\"];for(let s of t)n[s]!==void 0&&(e[s]=n[s]);n.setLineDash!==void 0&&(e.setLineDash(n.getLineDash()),e.lineDashOffset=n.lineDashOffset)}function D5(n,e){n.setAttribute?.(\"data-canvas-name\",e),n._pdfjsCanvasName=e}function Ik(n){return n._pdfjsCanvasName??null}function hf(n){n.strokeStyle=n.fillStyle=\"#000000\",n.fillRule=\"nonzero\",n.globalAlpha=1,n.lineWidth=1,n.lineCap=\"butt\",n.lineJoin=\"miter\",n.miterLimit=10,n.globalCompositeOperation=\"source-over\",n.font=\"10px sans-serif\",n.setLineDash!==void 0&&(n.setLineDash([]),n.lineDashOffset=0);let{filter:e}=n;e!==\"none\"&&e!==\"\"&&(n.filter=\"none\")}var jd=class{#e;constructor(e){let[t,s=t,i=t]=e,r=Be.identity0to256Map.slice();this.#e=[t||r,s||r,i||r]}applyToColor(e){if(typeof e!=\"string\"||!e.startsWith(\"#\"))return e;let[t,s,i]=ro(e),[r,a,o]=this.#e;return Be.makeHexColor(r[t],a[s],o[i])}applyToImageData({data:e}){let[t,s,i]=this.#e;for(let r=0,a=e.length;r<a;r+=4)e[r]=t[e[r]],e[r+1]=s[e[r+1]],e[r+2]=i[e[r+2]]}applyToCanvas(e){let{width:t,height:s}=e.canvas,i=e.getImageData(0,0,t,s);this.applyToImageData(i),e.putImageData(i,0,0)}};function Uv(n,e,t){if(e)return!0;Be.singularValueDecompose2dScale(n,Ps);let s=Math.fround(t*yr.PDF_TO_CSS_UNITS);return Ps[0]<=s&&Ps[1]<=s}var Ck=[\"butt\",\"round\",\"square\"],Tk=[\"miter\",\"round\",\"bevel\"],Ek={},Gv={},Ya=class n{static#e=null;static#n=new WeakMap;#t=0;#s=0;#i=null;#r=null;#a=null;#o=null;#l=1;#c;#h=null;#f=[];constructor(e,t,s,i,r,{optionalContentConfig:a,markedContentStack:o=null,pixelRatio:l=Qs.pixelRatio},c,f,h,u){this.ctx=e,this.current=new Jo(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.commonObjs=t,this.objs=s,this.canvasFactory=i,this.filterFactory=r,this.groupStack=[],this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.tempSMask=null,this.smaskGroupCanvases=[],this.smaskPreparedEntry=null,this.smaskPreparedFor=null,this.smaskPreparedOffsetX=0,this.smaskPreparedOffsetY=0,this.smaskPreparedOOBAlpha=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=o||[],this.optionalContentConfig=a,this.pixelRatio=l,this.cachedPatterns=new Map,this.annotationCanvasMap=c,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=f,this._cachedScaleForStroking=[-1,0],this._cachedBitmapsMap=new Map,this.dependencyTracker=h??null,this.imagesTracker=u??null}getObject(e,t,s=null){return typeof t==\"string\"?(this.dependencyTracker?.recordNamedDependency(e,t),t.startsWith(\"g_\")?this.commonObjs.get(t):this.objs.get(t)):s}beginDrawing({transform:e,viewport:t,transparency:s=!1,background:i=null}){let r=this.ctx.canvas.width,a=this.ctx.canvas.height,o=this.ctx.fillStyle;if(this.ctx.fillStyle=i||\"#ffffff\",this.ctx.fillRect(0,0,r,a),this.ctx.fillStyle=o,s){let l=this.transparentCanvasEntry=this.canvasFactory.create(r,a);this.compositeCtx=this.ctx,{canvas:this.transparentCanvas,context:this.ctx}=l,this.ctx.save(),this.ctx.transform(...Kt(this.compositeCtx))}this.ctx.save(),hf(this.ctx),e&&(this.ctx.transform(...e),this.outputScaleX=e[0],this.outputScaleY=e[3]),this.ctx.transform(...t.transform),this.viewportScale=t.scale,this.baseTransform=Kt(this.ctx)}executeOperatorList(e,t,s,i,r,a){let o=e.argsArray,l=e.fnArray,c=this._pathCache;this._pathCache=e.pathCache??n.#n.getOrInsertComputed(e,xf);try{let f=t||0,h=o.length;if(h===f)return f;let u=h-f>Nv&&typeof s==\"function\",d=u?Date.now()+_k:0,p=0,m=this.commonObjs,g=this.objs,b,x;for(;;){if(r!==void 0){if(f===r.nextBreakPoint)return r.breakIt(f,s),f;if(r.shouldSkip(f)){if(++f===h)return f;continue}}if(!a||a(f,e))if(b=l[f],x=o[f]??null,b!==Ji.dependency)x===null?this[b](f):this[b](f,...x);else for(let w of x){this.dependencyTracker?.recordNamedData(w,f);let v=w.startsWith(\"g_\")?m:g;if(!v.has(w))return v.get(w,s,i),f}if(f++,f===h)return f;if(u&&++p>Nv){if(Date.now()>d)return s(),f;p=0}}}finally{this._pathCache=c}}#d(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.canvasFactory.destroy(this.transparentCanvasEntry),this.transparentCanvas=null,this.transparentCanvasEntry=null)}endDrawing(){this.#d();for(let e of this.smaskGroupCanvases)this.canvasFactory.destroy(e);this.smaskGroupCanvases.length=0,this._clearPreparedSMask(),this.tempSMask=null,this.smaskStack.length=0;for(let e of this.#f)this.#y(e);this.#f.length=0,this.#i=null,this.#r=null,this.#a=null,this.#o=null,this.#l=1,this.#h=null,this.#s=0,this.#t=0,this.cachedPatterns.clear();for(let e of this._cachedBitmapsMap.values()){for(let t of e.values())typeof HTMLCanvasElement<\"u\"&&t instanceof HTMLCanvasElement&&(t.width=t.height=0);e.clear()}this._cachedBitmapsMap.clear(),this.#p()}#p(){if(this.pageColors){let e=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if(e!==\"none\"){let t=this.ctx.filter;this.ctx.filter=e,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=t}}}_scaleImage(e,t){let s=e.width??e.displayWidth,i=e.height??e.displayHeight,r=Math.max(Math.hypot(t[0],t[1]),1),a=Math.max(Math.hypot(t[2],t[3]),1),o=[],l=r,c=a,f=s,h=i;for(;l>2&&f>1||c>2&&h>1;){let b=f,x=h;l>2&&f>1&&(b=Math.ceil(f/2),l/=f/b),c>2&&h>1&&(x=Math.ceil(h/2),c/=h/x),o.push({newWidth:b,newHeight:x}),f=b,h=x}if(o.length===0)return{img:e,paintWidth:s,paintHeight:i,tmpCanvas:null};if(o.length===1){let{newWidth:b,newHeight:x}=o[0],w=this.canvasFactory.create(b,x);return w.context.drawImage(e,0,0,s,i,0,0,b,x),{img:w.canvas,paintWidth:b,paintHeight:x,tmpCanvas:w}}let u=this.canvasFactory.create(1,1),d=this.canvasFactory.create(1,1),p=s,m=i,g=e;for(let{newWidth:b,newHeight:x}of o)this.canvasFactory.reset(d,b,x),d.context.drawImage(g,0,0,p,m,0,0,b,x),[u,d]=[d,u],g=u.canvas,p=b,m=x;return this.canvasFactory.destroy(d),{img:u.canvas,paintWidth:p,paintHeight:m,tmpCanvas:u}}_createMaskCanvas(e,t){let s=this.ctx,{width:i,height:r}=t,a=this.current.patternFill,o=a?this.current.fillColor:s.fillStyle,l=Kt(s),c,f,h,u;if((t.bitmap||t.data)&&t.count>1){let I=t.bitmap||t.data.buffer;f=JSON.stringify(a?l:[l.slice(0,4),o]),c=this._cachedBitmapsMap.getOrInsertComputed(I,xf);let C=c.get(f);if(C&&!a){let T=Math.round(Math.min(l[0],l[2])+l[4]),M=Math.round(Math.min(l[1],l[3])+l[5]);return this.dependencyTracker?.recordDependencies(e,Js.transformAndFill),{canvas:C,offsetX:T,offsetY:M}}h=C}h||(u=this.canvasFactory.create(i,r),zv(u.context,t));let d=Be.transform(l,[1/i,0,0,-1/r,0,0]);d=Be.transform(d,[1,0,0,1,0,-r]);let p=Wr.slice();Be.axialAlignedBoundingBox([0,0,i,r],d,p);let[m,g,b,x]=p,w=Math.round(b-m)||1,v=Math.round(x-g)||1,k=this.canvasFactory.create(w,v),j=k.context,A=m,S=g;j.translate(-A,-S),j.transform(...d);let q=null;if(!h){let I=this._scaleImage(u.canvas,Xi(j));h=I.img,q=I.tmpCanvas,h!==u.canvas&&(this.canvasFactory.destroy(u),u=null),c&&a&&(c.set(f,h),q=null,u=null)}j.imageSmoothingEnabled=Uv(Kt(j),t.interpolate,this.pixelRatio),ff(j,h,0,0,h.width,h.height,0,0,i,r),q&&this.canvasFactory.destroy(q),u&&this.canvasFactory.destroy(u),j.globalCompositeOperation=\"source-in\";let _=Be.transform(Xi(j),[1,0,0,1,-A,-S]);return j.fillStyle=a?o.getPattern(s,this,_,Rn.FILL,e):o,j.fillRect(0,0,i,r),c&&!a&&c.set(f,k.canvas),this.dependencyTracker?.recordDependencies(e,Js.transformAndFill),{canvas:k.canvas,canvasEntry:c&&!a?null:k,offsetX:Math.round(A),offsetY:Math.round(S)}}setLineWidth(e,t){this.dependencyTracker?.recordSimpleData(\"lineWidth\",e),t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(e,t){this.dependencyTracker?.recordSimpleData(\"lineCap\",e),this.ctx.lineCap=Ck[t]}setLineJoin(e,t){this.dependencyTracker?.recordSimpleData(\"lineJoin\",e),this.ctx.lineJoin=Tk[t]}setMiterLimit(e,t){this.dependencyTracker?.recordSimpleData(\"miterLimit\",e),this.ctx.miterLimit=t}setDash(e,t,s){this.dependencyTracker?.recordSimpleData(\"dash\",e);let i=this.ctx;i.setLineDash!==void 0&&(i.setLineDash(t),i.lineDashOffset=s)}setRenderingIntent(e,t){}setFlatness(e,t){}setGState(e,t){for(let[s,i]of t)switch(s){case\"LW\":this.setLineWidth(e,i);break;case\"LC\":this.setLineCap(e,i);break;case\"LJ\":this.setLineJoin(e,i);break;case\"ML\":this.setMiterLimit(e,i);break;case\"D\":this.setDash(e,i[0],i[1]);break;case\"RI\":this.setRenderingIntent(e,i);break;case\"FL\":this.setFlatness(e,i);break;case\"Font\":this.setFont(e,i[0],i[1]);break;case\"CA\":this.dependencyTracker?.recordSimpleData(\"strokeAlpha\",e),this.current.strokeAlpha=i;break;case\"ca\":this.dependencyTracker?.recordSimpleData(\"fillAlpha\",e),this.ctx.globalAlpha=this.current.fillAlpha=i;break;case\"BM\":this.dependencyTracker?.recordSimpleData(\"globalCompositeOperation\",e),this.ctx.globalCompositeOperation=i;break;case\"SMask\":this.dependencyTracker?.recordSimpleData(\"SMask\",e),this.current.activeSMask=i?this.tempSMask:null,this.current.activeSMask&&(this.current.activeSMask.blendMode=this.ctx.globalCompositeOperation),this.tempSMask=null,this.checkSMaskState(e);break;case\"TR\":{this.dependencyTracker?.recordSimpleData(\"filter\",e);let r=this.filterFactory.addFilter(i);this.ctx.filter=r;let a=null;i&&(r===\"none\"||!Ot.isCanvasFilterSupported||this.ctx.filter===\"none\"||this.ctx.filter===\"\")&&(this.ctx.filter=r=\"none\",a=new jd(i)),this.current.transferMaps=r,(a||this.current.transferMapsFallback)&&(this.current.transferMapsFallback=a,this.current.patternFill||(this.ctx.fillStyle=this.#k(this.current.fillColor)),this.current.patternStroke||(this.ctx.strokeStyle=this.#k(this.current.strokeColor)));break}}}get inSMaskMode(){return!!this.suspendedCtx}_clearPreparedSMask(){this.smaskPreparedEntry&&(this.canvasFactory.destroy(this.smaskPreparedEntry),this.smaskPreparedEntry=null),this.smaskPreparedFor=null,this.smaskPreparedOffsetX=0,this.smaskPreparedOffsetY=0,this.smaskPreparedOOBAlpha=null}_ensurePreparedSMask(e){e!==this.smaskPreparedFor&&(this._clearPreparedSMask(),this._prepareSMaskCanvas(e))}checkSMaskState(e){let t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode(e):!this.current.activeSMask&&t?this.endSMaskMode():this.current.activeSMask&&t&&this._ensurePreparedSMask(this.current.activeSMask)}_prepareSMaskCanvas(e){let{canvas:t,subtype:s,backdrop:i,transferMap:r}=e,a=s===\"Luminosity\"||s===\"Alpha\"&&r;if(!a&&!(s===\"Luminosity\"&&i)){this.smaskPreparedFor=e;return}let o;if(s===\"Luminosity\"&&i){let[x,w,v]=ro(i),k=Math.round(.3*x+.59*w+.11*v);o=r?.[k]??k}else o=r?.[0]??0;let l=4,{width:c,height:f}=this.ctx.canvas,h=t.width*t.height,u=c*f<l*h,d=a?{url:s===\"Alpha\"?this.filterFactory.addAlphaFilter(r):this.filterFactory.addLuminosityFilter(r),subtype:s,transferMap:r}:null,p=s===\"Luminosity\"?i:null,m,g,b;u?(m=this._bakeSMaskCanvas(t,e.offsetX,e.offsetY,c,f,p,d),g=0,b=0):(m=this._bakeSMaskCanvas(t,0,0,t.width,t.height,p,d),g=e.offsetX,b=e.offsetY),this.smaskPreparedEntry=m,this.smaskPreparedFor=e,this.smaskPreparedOffsetX=g,this.smaskPreparedOffsetY=b,this.smaskPreparedOOBAlpha=!u&&o!==0?o:null}_bakeSMaskCanvas(e,t,s,i,r,a,o){!a&&!o&&Mt(\"_bakeSMaskCanvas with neither backdrop nor filter\");let l=this.canvasFactory.create(i,r),c=l.context;if(c.drawImage(e,t,s),a&&(c.globalCompositeOperation=\"destination-atop\",c.fillStyle=a,c.fillRect(0,0,i,r)),!o)return l;let f=this.canvasFactory.create(i,r),h=f.context;h.filter=o.url;let u=Ot.isCanvasFilterSupported&&h.filter!==\"none\"&&h.filter!==\"\";if(h.drawImage(l.canvas,0,0),Ot.isCanvasFilterSupported&&(h.filter=\"none\"),!u){let d=h.getImageData(0,0,i,r),{data:p}=d,{transferMap:m}=o;if(o.subtype===\"Luminosity\")for(let g=0,b=p.length;g<b;g+=4){let x=.3*p[g]+.59*p[g+1]+.11*p[g+2]+.5|0;p[g]=p[g+1]=p[g+2]=0,p[g+3]=m?.[x]??x}else for(let g=3,b=p.length;g<b;g+=4)p[g]=m[p[g]];h.putImageData(d,0,0)}return this.canvasFactory.destroy(l),f}beginSMaskMode(e){if(this.inSMaskMode)throw new Error(\"beginSMaskMode called while already in smask mode\");let{width:t,height:s}=this.ctx.canvas,i=this.canvasFactory.create(t,s);this.smaskScratchCanvas=i,this.suspendedCtx=this.ctx;let r=this.ctx=i.context;r.setTransform(this.suspendedCtx.getTransform()),zr(this.suspendedCtx,r),Hv(r,this.suspendedCtx),this._ensurePreparedSMask(this.current.activeSMask),this.setGState(e,[[\"BM\",\"source-over\"]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error(\"endSMaskMode called while not in smask mode\");this.ctx._removeMirroring(),zr(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null,this.canvasFactory.destroy(this.smaskScratchCanvas),this.smaskScratchCanvas=null,this._clearPreparedSMask()}#g(e,t=null,s=1){let{width:i,height:r}=e,a=t??this.canvasFactory.create(i,r),o=a.context;s=Math.round(s*255)/255;let l=s<1;l&&this.#c===void 0&&(this.#c=Ot.isCanvasFilterSupported?new Map:\"none\");let c=\"none\";if(l&&this.#c instanceof Map&&(c=this.#c.getOrInsertComputed(s,()=>this.filterFactory.addKnockoutFilter(s))),!l||c!==\"none\")return t&&(o.save(),o.setTransform(1,0,0,1,0,0),o.clearRect(0,0,i,r),o.restore()),o.filter=c,o.drawImage(e,0,0),o.filter=\"none\",a;let f=e.getContext(\"2d\",{willReadFrequently:!0}).getImageData(0,0,i,r),h=o.createImageData(i,r),u=f.data,d=h.data,p=s>0?1/s:1e6;for(let m=3,g=u.length;m<g;m+=4)d[m]=Math.min(Math.round(u[m]*p),255);return o.putImageData(h,0,0),a}#u(e,t,s,i){let r=e?.[t]??null;if(r&&(r.canvas.width!==s||r.canvas.height!==i)&&(this.canvasFactory.destroy(r),r=null),!r)return r=this.canvasFactory.create(s,i),e&&(e[t]=r),r;let a=r.context;return a.save(),a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,s,i),a.restore(),r}#m(e,t,s={}){let{backdropCanvas:i=null,destTransform:r=[1,0,0,1,0,0],backdropOffset:a=[0,0],reuseMaskEntry:o=null,poolMeta:l=null,sourceAlpha:c=1,sourceFilter:f=\"none\",knockoutAlpha:h=1}=s,{width:u,height:d}=t,p=this.#g(t,o,h),m=e.globalCompositeOperation;if(e.save(),e.setTransform(...r),e.globalAlpha=1,Ot.isCanvasFilterSupported&&(e.filter=\"none\"),e.globalCompositeOperation=\"destination-out\",e.drawImage(p.canvas,0,0),i){let[g,b]=a,x=this.#u(l,\"knockoutBackdropEntry\",u,d),w=x.context;w.drawImage(i,g,b,u,d,0,0,u,d),w.globalCompositeOperation=\"destination-in\",w.drawImage(p.canvas,0,0),w.globalCompositeOperation=\"source-over\",e.globalCompositeOperation=\"destination-over\",e.drawImage(x.canvas,0,0),l||this.canvasFactory.destroy(x)}e.globalCompositeOperation=m,e.globalAlpha=c,Ot.isCanvasFilterSupported&&(e.filter=f??\"none\"),e.drawImage(t,0,0),e.restore(),o||this.canvasFactory.destroy(p)}#b(e=1){if(this.#t===0||this.#s>0||!this.contentVisible)return!1;this.#s++,this.#l=e;let t=this.#f.at(-1),{canvas:s}=this.ctx,i=this.#u(t,\"knockoutTempEntry\",s.width,s.height);this.#i=i;let r=i.context;return r.save(),r.setTransform(this.ctx.getTransform()),zr(this.ctx,r),this.#o=r.globalCompositeOperation,r.globalCompositeOperation=\"source-over\",Hv(r,this.ctx),this.#h=t,this.#r=this.ctx,this.#a=this.suspendedCtx,this.ctx=r,this.inSMaskMode&&(this.suspendedCtx=r),!0}#w(e){if(!e)return;let t=this.#i,s=this.#r,i=this.#a,r=t.context;this.#i=null,this.#r=null,this.#a=null,this.inSMaskMode&&this.suspendedCtx===r&&this.ctx!==r&&this.endSMaskMode(),this.inSMaskMode&&(this.suspendedCtx=i),this.ctx._removeMirroring(),this.ctx.globalCompositeOperation=this.#o,this.#o=null,zr(this.ctx,s),this.ctx=s;let a=this.#h;this.#h=null;let o=this.#l;this.#l=1;try{this.#m(i??s,t.canvas,{backdropCanvas:a?.backdropCtx?.canvas??null,backdropOffset:a?.backdropCtx?[a.offsetX,a.offsetY]:[0,0],reuseMaskEntry:a?.knockoutMaskEntry??null,poolMeta:a,knockoutAlpha:o})}finally{r.restore(),this.#s--,a||this.canvasFactory.destroy(t)}}compose(e){if(!this.current.activeSMask)return;e=e?[Math.floor(e[0]),Math.floor(e[1]),Math.ceil(e[2]),Math.ceil(e[3])]:[0,0,this.ctx.canvas.width,this.ctx.canvas.height];let t=this.current.activeSMask,s=this.suspendedCtx,i=this.#s>0&&s===this.ctx;this.composeSMask(i?null:s,t,this.ctx,e),!i&&(this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore())}composeSMask(e,t,s,i){let r=i[0],a=i[1],o=i[2]-r,l=i[3]-a;if(o===0||l===0)return;let c=this.smaskPreparedEntry;if(c){let f=r,h=a,u=o,d=l,p=this.smaskPreparedOOBAlpha,m=p!==null;if(m){f=Math.max(r,t.offsetX),h=Math.max(a,t.offsetY);let g=Math.min(r+o,t.offsetX+t.canvas.width),b=Math.min(a+l,t.offsetY+t.canvas.height);u=g-f,d=b-h}if(u>0&&d>0){let g=f-this.smaskPreparedOffsetX,b=h-this.smaskPreparedOffsetY;s.save(),s.globalAlpha=1,s.setTransform(1,0,0,1,0,0);let x=new Path2D;x.rect(f,h,u,d),s.clip(x),s.globalCompositeOperation=\"destination-in\",s.drawImage(c.canvas,g,b,u,d,f,h,u,d),s.restore()}m&&p<255&&this._applySMaskOOBAlpha(s,r,a,o,l,f,h,f+u,h+d,p)}else this.genericComposeSMask(t,s,o,l,r,a);e&&(e.save(),e.globalAlpha=1,e.globalCompositeOperation=t.blendMode||\"source-over\",e.setTransform(1,0,0,1,0,0),e.drawImage(s.canvas,r,a,o,l,r,a,o,l),e.restore())}_applySMaskOOBAlpha(e,t,s,i,r,a,o,l,c,f){let h=a<l&&o<c;if(h&&a===t&&o===s&&l===t+i&&c===s+r)return;let u=new Path2D;u.rect(t,s,i,r),h&&u.rect(a,o,l-a,c-o),e.save(),e.globalAlpha=f/255,e.setTransform(1,0,0,1,0,0),e.clip(u,\"evenodd\"),e.globalCompositeOperation=\"destination-in\",e.fillStyle=\"#000000\",e.fillRect(t,s,i,r),e.restore()}genericComposeSMask(e,t,s,i,r,a){let{context:o,offsetX:l,offsetY:c}=e;t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);let f=new Path2D;f.rect(r,a,s,i),t.clip(f),t.globalCompositeOperation=\"destination-in\",t.drawImage(o.canvas,r-l,a-c,s,i,r,a,s,i),t.restore()}save(e){this.inSMaskMode&&zr(this.ctx,this.suspendedCtx),this.ctx.save();let t=this.current;this.stateStack.push(t),this.current=t.clone(),this.dependencyTracker?.save(e)}restore(e){if(this.dependencyTracker?.restore(e),this.stateStack.length===0){this.inSMaskMode&&this.endSMaskMode();return}this.current=this.stateStack.pop(),this.ctx.restore(),this.inSMaskMode&&(zr(this.suspendedCtx,this.ctx),this.ctx.setTransform(this.suspendedCtx.getTransform())),this.checkSMaskState(e),this.pendingClip=null,this._cachedScaleForStroking[0]=-1}resetGraphicsState(){let{clipBox:e,transferMaps:t,transferMapsFallback:s}=this.current,i=this.current=new Jo(0,0);i.clipBox=e,i.transferMaps=t,i.transferMapsFallback=s;let r=this.ctx;r.lineWidth=1,r.lineCap=\"butt\",r.lineJoin=\"miter\",r.miterLimit=10,r.setLineDash!==void 0&&(r.setLineDash([]),r.lineDashOffset=0),this._cachedScaleForStroking[0]=-1}transform(e,t,s,i,r,a,o){this.dependencyTracker?.recordIncrementalData(\"transform\",e),this.ctx.transform(t,s,i,r,a,o),this._cachedScaleForStroking[0]=-1}constructPath(e,t,s,i){let r=this._pathCache.get(e);if(!i){r||(r=new Path2D,this._pathCache.set(e,r)),t!==Ji.stroke&&t!==Ji.closeStroke&&(this.current.tilingPatternDims=null),this[t](e,r);return}if(this.dependencyTracker!==null){let o=t===Ji.stroke?this.current.lineWidth/2:0;this.dependencyTracker.resetBBox(e).recordBBox(e,this.ctx,i[0]-o,i[2]+o,i[1]-o,i[3]+o).recordDependencies(e,[\"transform\"])}r||(r=E5(s[0]),this._pathCache.set(e,r)),Be.axialAlignedBoundingBox(i,Kt(this.ctx),this.current.minMax);let a=this.current.tilingPatternDims;if(a&&t!==Ji.stroke&&t!==Ji.closeStroke&&this.current.fillColor instanceof Yo){let o=Be.intersect(this.current.clipBox,this.current.minMax);o?this.current.fillColor.updatePatternDims(o,a):this.current.tilingPatternDims=null}this[t](e,r),this._pathStartIdx=e}closePath(e){this.ctx.closePath()}stroke(e,t,s=!0){let i=s&&this.#b(this.current.strokeAlpha),r=this.ctx,a=this.current.strokeColor;if(r.globalAlpha=this.current.strokeAlpha,this.contentVisible)if(typeof a==\"object\"&&a?.getPattern){let o=a.isModifyingCurrentTransform()?r.getTransform():null;if(r.save(),r.strokeStyle=a.getPattern(r,this,Xi(r),Rn.STROKE,e),o){let l=new Path2D;l.addPath(t,r.getTransform().invertSelf().multiplySelf(o)),t=l}this.rescaleAndStroke(t,!1),r.restore()}else this.rescaleAndStroke(t,!0);this.dependencyTracker?.recordDependencies(e,Js.stroke),s&&this.consumePath(e,t,this.current.getClippedPathBoundingBox(Rn.STROKE,Kt(this.ctx))),r.globalAlpha=this.current.fillAlpha,this.#w(i)}closeStroke(e,t){this.stroke(e,t)}fill(e,t,s=!0){let i=s&&this.#b(this.current.fillAlpha),r=this.ctx,a=this.current.fillColor,o=this.current.patternFill,l=!1,c=this.current.getClippedPathBoundingBox();if(this.dependencyTracker?.recordDependencies(e,Js.fill),o){let f=this.current.tilingPatternDims,h=f&&a.canSkipPatternCanvas(f);if(h){let{pendingClip:d,pendingEOFill:p}=this;this.pendingClip=null,this.pendingEOFill=!1,a.drawPattern(this,t,p,h,e),this.pendingClip=d,s&&this.consumePath(e,t,c),this.current.tilingPatternDims=null,this.#w(i);return}let u=a.isModifyingCurrentTransform()?r.getTransform():null;if(this.dependencyTracker?.save(e),r.save(),r.fillStyle=a.getPattern(r,this,Xi(r),Rn.FILL,e),u){let d=new Path2D;d.addPath(t,r.getTransform().invertSelf().multiplySelf(u)),t=d}l=!0}this.contentVisible&&c!==null&&(this.pendingEOFill?(r.fill(t,\"evenodd\"),this.pendingEOFill=!1):r.fill(t)),l&&(r.restore(),this.dependencyTracker?.restore(e)),s&&this.consumePath(e,t,c),this.#w(i)}eoFill(e,t){this.pendingEOFill=!0,this.fill(e,t)}fillStroke(e,t){let s=this.#b(Math.min(this.current.fillAlpha,this.current.strokeAlpha));this.fill(e,t,!1),this.stroke(e,t,!1),this.consumePath(e,t),this.#w(s)}eoFillStroke(e,t){this.pendingEOFill=!0,this.fillStroke(e,t)}closeFillStroke(e,t){this.fillStroke(e,t)}closeEOFillStroke(e,t){this.pendingEOFill=!0,this.fillStroke(e,t)}endPath(e,t){this.consumePath(e,t)}rawFillPath(e,t){let s=this.#b(this.current.fillAlpha);this.ctx.fill(t),this.dependencyTracker?.recordDependencies(e,Js.rawFillPath).recordOperation(e),this.#w(s)}clip(e){this.dependencyTracker?.recordFutureForcedDependency(\"clipMode\",e),this.pendingClip=Ek}eoClip(e){this.dependencyTracker?.recordFutureForcedDependency(\"clipMode\",e),this.pendingClip=Gv}beginText(e){this.current.textMatrix=null,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,this.dependencyTracker?.recordOpenMarker(e).resetIncrementalData(\"sameLineText\").resetIncrementalData(\"moveText\",e)}endText(e){let t=this.pendingTextPaths,s=this.ctx;if(this.dependencyTracker){let{dependencyTracker:i}=this;t!==void 0&&i.recordFutureForcedDependency(\"textClip\",i.getOpenMarker()).recordFutureForcedDependency(\"textClip\",e),i.recordCloseMarker(e)}if(t!==void 0){let i=new Path2D,r=s.getTransform().invertSelf();for(let{transform:a,x:o,y:l,fontSize:c,path:f}of t)f&&i.addPath(f,new DOMMatrix(a).preMultiplySelf(r).translate(o,l).scale(c,-c));s.clip(i)}delete this.pendingTextPaths}setCharSpacing(e,t){this.dependencyTracker?.recordSimpleData(\"charSpacing\",e),this.current.charSpacing=t}setWordSpacing(e,t){this.dependencyTracker?.recordSimpleData(\"wordSpacing\",e),this.current.wordSpacing=t}setHScale(e,t){this.dependencyTracker?.recordSimpleData(\"hScale\",e),this.current.textHScale=t/100}setLeading(e,t){this.dependencyTracker?.recordSimpleData(\"leading\",e),this.current.leading=-t}setFont(e,t,s){this.dependencyTracker?.recordSimpleData(\"font\",e).recordSimpleDataFromNamed(\"fontObj\",t,e);let i=this.commonObjs.get(t),r=this.current;if(!i)throw new Error(`Can't find font for ${t}`);if(r.fontMatrix=i.fontMatrix||Ku,(r.fontMatrix[0]===0||r.fontMatrix[3]===0)&&at(\"Invalid font matrix for font \"+t),s<0?(s=-s,r.fontDirection=-1):r.fontDirection=1,this.current.font=i,this.current.fontSize=s,i.isType3Font)return;let a=i.loadedName||\"sans-serif\",o=i.systemFontInfo?.css||`\"${a}\", ${i.fallbackName}`,l=\"normal\";i.black?l=\"900\":i.bold&&(l=\"bold\");let c=i.italic?\"italic\":\"normal\",f=Xt(s,Sk,qk);this.current.fontSizeScale=s/f,this.ctx.font=`${c} ${l} ${f}px ${o}`}setTextRenderingMode(e,t){this.dependencyTracker?.recordSimpleData(\"textRenderingMode\",e),this.current.textRenderingMode=t}setTextRise(e,t){this.dependencyTracker?.recordSimpleData(\"textRise\",e),this.current.textRise=t}moveText(e,t,s){this.dependencyTracker?.resetIncrementalData(\"sameLineText\").recordIncrementalData(\"moveText\",e),this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=s}setLeadingMoveText(e,t,s){this.setLeading(e,-s),this.moveText(e,t,s)}setTextMatrix(e,t){this.dependencyTracker?.resetIncrementalData(\"sameLineText\").recordSimpleData(\"textMatrix\",e);let{current:s}=this;s.textMatrix=t,s.textMatrixScale=Math.hypot(t[0],t[1]),s.x=s.lineX=0,s.y=s.lineY=0}nextLine(e){this.moveText(e,0,this.current.leading),this.dependencyTracker?.recordIncrementalData(\"moveText\",this.dependencyTracker.getSimpleIndex(\"leading\")??e)}#x(e,t,s){let i=new Path2D;return i.addPath(e,new DOMMatrix(s).invertSelf().multiplySelf(t)),i}paintChar(e,t,s,i,r,a){let o=this.ctx,l=this.current,c=l.font,f=l.textRenderingMode,h=l.fontSize/l.fontSizeScale,u=f&En.FILL_STROKE_MASK,d=!!(f&En.ADD_TO_PATH_FLAG),p=l.patternFill&&!c.missingFile,m=l.patternStroke&&!c.missingFile,g;if((c.disableFontFace||d||p||m)&&!c.missingFile&&(g=c.getPathGenerator(this.commonObjs,t)),g&&(c.disableFontFace||p||m)){o.save(),o.translate(s,i),o.scale(h,-h),this.dependencyTracker?.recordCharacterBBox(e,o,c);let b;if(u===En.FILL||u===En.FILL_STROKE)if(r){b=o.getTransform(),o.setTransform(...r);let x=this.#x(g,b,r);o.fill(x)}else o.fill(g);if(u===En.STROKE||u===En.FILL_STROKE)if(a){b||=o.getTransform(),o.setTransform(...a);let{a:x,b:w,c:v,d:k}=b,j=Be.inverseTransform(a),A=Be.transform([x,w,v,k,0,0],j);Be.singularValueDecompose2dScale(A,Ps),o.lineWidth*=Math.max(Ps[0],Ps[1])/h,o.stroke(this.#x(g,b,a))}else o.lineWidth/=h,o.stroke(g);o.restore()}else(u===En.FILL||u===En.FILL_STROKE)&&(o.fillText(t,s,i),this.dependencyTracker?.recordCharacterBBox(e,o,c,h,s,i,()=>o.measureText(t))),(u===En.STROKE||u===En.FILL_STROKE)&&(this.dependencyTracker&&this.dependencyTracker?.recordCharacterBBox(e,o,c,h,s,i,()=>o.measureText(t)).recordDependencies(e,Js.stroke),o.strokeText(t,s,i));d&&((this.pendingTextPaths||=[]).push({transform:Kt(o),x:s,y:i,fontSize:h,path:g}),this.dependencyTracker?.recordCharacterBBox(e,o,c,h,s,i))}get isFontSubpixelAAEnabled(){let e=this.canvasFactory.create(10,10),t=e.context;t.scale(1.5,1),t.fillText(\"I\",0,10);let s=t.getImageData(0,0,10,10).data;this.canvasFactory.destroy(e);let i=!1;for(let r=3;r<s.length;r+=4)if(s[r]>0&&s[r]<255){i=!0;break}return ze(this,\"isFontSubpixelAAEnabled\",i)}#v(e,t,s){let i=this.ctx;i.save();let r=e.getPattern(i,this,Xi(i),t,s),a=Kt(i);return i.restore(),[r,a]}showText(e,t){this.dependencyTracker&&(this.dependencyTracker.recordDependencies(e,Js.showText).resetBBox(e),this.current.textRenderingMode&En.ADD_TO_PATH_FLAG&&this.dependencyTracker.recordFutureForcedDependency(\"textClip\",e).inheritPendingDependenciesAsFutureForcedDependencies());let s=this.current,i=s.font;if(i.isType3Font){let C=this.#b(s.fillAlpha);this.showType3Text(e,t),this.dependencyTracker?.recordShowTextOperation(e),this.#w(C);return}let r=s.fontSize;if(r===0){this.dependencyTracker?.recordOperation(e);return}let a=this.#b(s.fillAlpha),o=this.ctx,l=s.fontSizeScale,c=s.charSpacing,f=s.wordSpacing,h=s.fontDirection,u=s.textHScale*h,d=t.length,p=i.vertical,m=p?1:-1,g=r*s.fontMatrix[0],b=s.textRenderingMode===En.FILL&&!i.disableFontFace&&!s.patternFill;o.save(),s.textMatrix&&o.transform(...s.textMatrix),o.translate(s.x,s.y+s.textRise),h>0?o.scale(u,-1):o.scale(u,1);let x,w,v=s.textRenderingMode&En.FILL_STROKE_MASK,k=v===En.FILL||v===En.FILL_STROKE,j=v===En.STROKE||v===En.FILL_STROKE,A=s.lineWidth,S=s.textMatrixScale;if(S===0||A===0?j&&(A=this.getSinglePixelWidth()):A/=S,l!==1&&(o.scale(l,l),A/=l),o.lineWidth=A,k&&s.patternFill&&([o.fillStyle,x]=this.#v(s.fillColor,Rn.FILL,e)),j&&s.patternStroke&&([o.strokeStyle,w]=this.#v(s.strokeColor,Rn.STROKE,e)),i.isInvalidPDFjsFont){let C=[],T=0;for(let E of t)C.push(E.unicode),T+=E.width;let M=C.join(\"\");if(o.fillText(M,0,0),this.dependencyTracker!==null){let E=o.measureText(M);this.dependencyTracker.recordBBox(e,this.ctx,-E.actualBoundingBoxLeft,E.actualBoundingBoxRight,-E.actualBoundingBoxAscent,E.actualBoundingBoxDescent).recordShowTextOperation(e)}s.x+=T*g*u,o.restore(),this.compose(),this.#w(a);return}let q=0,_,I=null;for(_=0;_<d;++_){let C=t[_];if(typeof C==\"number\"){q+=m*C*r/1e3;continue}let T=!1,M=(C.isSpace?f:0)+c,E=C.fontChar,G=C.accent,D,N,K,ee=C.width;if(p){let re=C.vmetric,H=-re[1]*g,O=re[2]*g;if(ee=-re[0],D=H/l,N=(q+O)/l,C.isRotated){K=o.measureText(E);let z=g/l,V=C.width/2*z,$=D+V;D=N-(880-1e3/2)*z-V,N=(K.actualBoundingBoxAscent-K.actualBoundingBoxDescent)/2-$,T=!0,o.save(),o.rotate(Math.PI/2)}}else D=q/l,N=0;let de=C.isRotated?C.width:ee,X=1;if((i.remeasure||C.isRotated)&&de>0){K??=o.measureText(E);let re=K.width*1e3/r*l;de<re&&this.isFontSubpixelAAEnabled?(X=de/re,T||(T=!0,o.save()),o.scale(X,1),D/=X):de!==re&&(D+=(de-re)/2e3*r/l)}if(T&&i.missingFile&&(x||w)&&(I||=new Map,[o.fillStyle,o.strokeStyle]=I.getOrInsertComputed(C.isRotated?-X:X,()=>[x?this.#v(s.fillColor,Rn.FILL,e)[0]:o.fillStyle,w?this.#v(s.strokeColor,Rn.STROKE,e)[0]:o.strokeStyle])),this.contentVisible&&(C.isInFont||i.missingFile)){if(b&&!G)o.fillText(E,D,N),this.dependencyTracker?.recordCharacterBBox(e,o,K?{bbox:null}:i,r/l,D,N,()=>K??o.measureText(E));else if(this.paintChar(e,E,D,N,x,w),G){let re=D+r*G.offset.x/l,H=N-r*G.offset.y/l;this.paintChar(e,G.fontChar,re,H,x,w)}}let ue=p?ee*g-M*h:ee*g+M*h;q+=ue,T&&o.restore()}p?s.y-=q:s.x+=q*u,o.restore(),this.compose(),this.dependencyTracker?.recordShowTextOperation(e),this.#w(a)}showType3Text(e,t){let s=this.ctx,i=this.current,r=i.font,a=i.fontSize,o=i.fontDirection,l=r.vertical?1:-1,c=i.charSpacing,f=i.wordSpacing,h=i.textHScale*o,u=i.fontMatrix||Ku,d=t.length,p=i.textRenderingMode!==En.INVISIBLE,m,g,b,x;if(a===0)return;this._cachedScaleForStroking[0]=-1,s.save(),i.textMatrix&&s.transform(...i.textMatrix),s.translate(i.x,i.y+i.textRise),s.scale(h,o);let w=this.dependencyTracker;this.dependencyTracker=w?new cl(w,e):null;try{for(m=0;m<d;++m){if(g=t[m],typeof g==\"number\"){x=l*g*a/1e3,this.ctx.translate(x,0),i.x+=x*h;continue}let v=(g.isSpace?f:0)+c,k=r.charProcOperatorList.get(g.operatorListId);k?this.contentVisible&&p&&(this.save(),s.scale(a,a),s.transform(...u),this.executeOperatorList(k),this.restore()):at(`Type3 character \"${g.operatorListId}\" is not available.`),b=g.width*u[0]*a+v*o,s.translate(b,0),i.x+=b*h}}finally{w&&(this.dependencyTracker=w)}s.restore()}setCharWidth(e,t,s){}setCharWidthAndBounds(e,t,s,i,r,a,o){let l=new Path2D;l.rect(i,r,a-i,o-r),this.ctx.clip(l),this.dependencyTracker?.recordBBox(e,this.ctx,i,a,r,o).recordClipBox(e,this.ctx,i,a,r,o),this.endPath(e)}getColorN_Pattern(e,t){let s;if(t[0]===\"TilingPattern\"){let i=this.baseTransform||Kt(this.ctx),r={createCanvasGraphics:(a,o)=>new n(a,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack,pixelRatio:this.pixelRatio},void 0,void 0,this.dependencyTracker?new cl(this.dependencyTracker,o,!0):null)};s=new Yo(t,this.ctx,r,i)}else s=this._getPattern(e,t[1],t[2]);return s}setStrokeColorN(e,...t){this.dependencyTracker?.recordSimpleData(\"strokeColor\",e),this.current.strokeColor=this.getColorN_Pattern(e,t),this.current.patternStroke=!0}setFillColorN(e,...t){this.dependencyTracker?.recordSimpleData(\"fillColor\",e);let s=this.current.fillColor=this.getColorN_Pattern(e,t);this.current.patternFill=!0,this.current.tilingPatternDims=s instanceof Yo?[0,0,0,0]:null}#k(e){return this.current.transferMapsFallback?.applyToColor(e)??e}setStrokeRGBColor(e,t){this.dependencyTracker?.recordSimpleData(\"strokeColor\",e),this.current.strokeColor=t,this.ctx.strokeStyle=this.#k(t),this.current.patternStroke=!1}setStrokeTransparent(e){this.dependencyTracker?.recordSimpleData(\"strokeColor\",e),this.ctx.strokeStyle=this.current.strokeColor=\"transparent\",this.current.patternStroke=!1}setFillRGBColor(e,t){this.dependencyTracker?.recordSimpleData(\"fillColor\",e),this.current.fillColor=t,this.ctx.fillStyle=this.#k(t),this.current.patternFill=!1,this.current.tilingPatternDims=null}setFillTransparent(e){this.dependencyTracker?.recordSimpleData(\"fillColor\",e),this.ctx.fillStyle=this.current.fillColor=\"transparent\",this.current.patternFill=!1,this.current.tilingPatternDims=null}_getPattern(e,t,s=null){let i=this.cachedPatterns.getOrInsertComputed(t,()=>Ak(this.getObject(e,t)));return s&&(i.matrix=s),i}shadingFill(e,t){if(!this.contentVisible)return;let s=this.#b(this.current.fillAlpha),i=this.ctx;this.save(e);let r=this._getPattern(e,t);i.fillStyle=r.getPattern(i,this,Xi(i),Rn.SHADING,e);let a=Xi(i);if(a){let{width:o,height:l}=i.canvas,c=Wr.slice();Be.axialAlignedBoundingBox([0,0,o,l],a,c);let[f,h,u,d]=c;this.ctx.fillRect(f,h,u-f,d-h)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.dependencyTracker?.resetBBox(e).recordFullPageBBox(e).recordDependencies(e,Js.transform).recordDependencies(e,Js.fill).recordOperation(e),this.compose(this.current.getClippedPathBoundingBox()),this.restore(e),this.#w(s)}beginInlineImage(){Mt(\"Should not call beginInlineImage\")}beginImageData(){Mt(\"Should not call beginImageData\")}paintFormXObjectBegin(e,t,s){if(this.contentVisible&&(this.save(e),this.baseTransformStack.push(this.baseTransform),t&&this.transform(e,...t),this.baseTransform=Kt(this.ctx),s)){Be.axialAlignedBoundingBox(s,this.baseTransform,this.current.minMax);let[i,r,a,o]=s,l=new Path2D;l.rect(i,r,a-i,o-r),this.ctx.clip(l),this.dependencyTracker?.recordClipBox(e,this.ctx,i,a,r,o),this.endPath(e)}}paintFormXObjectEnd(e){this.contentVisible&&(this.restore(e),this.baseTransform=this.baseTransformStack.pop())}beginGroup(e,t){if(!this.contentVisible)return;this.save(e);let{inSMaskMode:s}=this;s&&(this.endSMaskMode(),this.current.activeSMask=null);let i=this.ctx;if((!t.needsIsolation||!t.isolated&&!t.hasSoftMask)&&!t.knockout&&!t.isGray&&this.#t===0&&i.globalAlpha===1&&i.globalCompositeOperation===\"source-over\"&&!s){if(t.bbox){let v=new Path2D,[k,j,A,S]=t.bbox;if(v.rect(k,j,A-k,S-j),t.matrix){let q=new Path2D;q.addPath(v,new DOMMatrix(t.matrix)),v=q}i.clip(v)}this.groupStack.push(null),this.#f.push(null),this.groupLevel++;return}!t.isolated&&!t.knockout&&this.#t===0&&c0(\"TODO: Fully support non-isolated non-knockout groups.\");let r=Kt(i);t.matrix&&i.transform(...t.matrix);let a=[0,0,i.canvas.width,i.canvas.height],o;t.bbox?(o=Wr.slice(),Be.axialAlignedBoundingBox(t.bbox,Kt(i),o),o=Be.intersect(o,a)||[0,0,0,0]):o=a;let l=Math.floor(o[0]),c=Math.floor(o[1]),f=Math.max(Math.ceil(o[2])-l,1),h=Math.max(Math.ceil(o[3])-c,1);this.current.startNewPathAndClipBox([0,0,f,h]);let u=this.canvasFactory.create(f,h);t.smask&&this.smaskGroupCanvases.push(u);let d=u.context,p=t.knockout&&!t.isolated?i:null,m=!t.isolated&&!t.knockout&&!t.smask&&t.needsIsolation&&this.#t>0,g=t.knockout?this.canvasFactory.create(f,h):null,b=this.#t;t.knockout?this.#t++:this.#t=0,d.translate(-l,-c),d.transform(...r);let x=!t.isolated&&!t.smask&&t.needsIsolation,w=x&&!s&&b===0&&!t.knockout&&!t.isGray&&t.hasSoftMask&&i.globalAlpha===1&&i.globalCompositeOperation===\"source-over\"&&this.current.transferMaps===\"none\"&&!this.current.transferMapsFallback;if(x&&(s||w)&&(d.save(),d.setTransform(1,0,0,1,0,0),d.drawImage(i.canvas,-l,-c),d.restore()),t.bbox){let v=new Path2D,[k,j,A,S]=t.bbox;if(v.rect(k,j,A-k,S-j),t.matrix){let q=new Path2D;q.addPath(v,new DOMMatrix(t.matrix)),v=q}d.clip(v)}t.smask&&this.smaskStack.push({canvas:u.canvas,context:d,offsetX:l,offsetY:c,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null}),(!t.smask||this.dependencyTracker)&&(i.setTransform(1,0,0,1,0,0),i.translate(l,c),i.save()),zr(i,d),this.ctx=d,this.dependencyTracker?.inheritSimpleDataAsFutureForcedDependencies([\"fillAlpha\",\"strokeAlpha\",\"globalCompositeOperation\"]).pushBaseTransform(i),this.setGState(e,[[\"BM\",\"source-over\"],[\"ca\",1],[\"CA\",1],[\"TR\",null]]),this.groupStack.push(i),this.#f.push({backdropCtx:p,savedKnockoutLevel:b,offsetX:l,offsetY:c,hasInnerBackdrop:m,replaceBackdrop:w,knockoutMaskEntry:g,knockoutTempEntry:null,knockoutBackdropEntry:null}),this.groupLevel++}endGroup(e,t){if(!this.contentVisible)return;this.groupLevel--;let s=this.ctx,i=this.groupStack.pop(),r=this.#f.pop();if(r&&(this.#t=r.savedKnockoutLevel),i===null){this.restore(e);return}if(t.isGray&&this.#j(s),this.ctx=i,this.ctx.imageSmoothingEnabled=!1,this.dependencyTracker?.popBaseTransform(),t.smask)this.tempSMask=this.smaskStack.pop(),this.restore(e),this.dependencyTracker&&(this.ctx.restore(),this.inSMaskMode&&this.ctx.setTransform(this.suspendedCtx.getTransform())),this.#y(r);else{this.ctx.restore();let a=Kt(this.ctx);this.restore(e),this.current.transferMapsFallback?.applyToCanvas(s),this.ctx.save(),this.ctx.setTransform(...a);let o=Wr.slice();Be.axialAlignedBoundingBox([0,0,s.canvas.width,s.canvas.height],a,o);let l=this.#f.at(-1);if(this.#t>0)if(r.hasInnerBackdrop){let{width:c,height:f}=s.canvas,h=this.canvasFactory.create(c,f),u=h.context;u.drawImage(i.canvas,r.offsetX,r.offsetY,c,f,0,0,c,f),u.globalCompositeOperation=\"source-over\",u.drawImage(s.canvas,0,0);let d=this.#g(s.canvas);u.globalCompositeOperation=\"destination-in\",u.drawImage(d.canvas,0,0);let p=this.ctx.globalCompositeOperation,m=this.ctx.globalAlpha,g=this.ctx.filter;this.ctx.save(),this.ctx.setTransform(...a),this.ctx.globalAlpha=1,Ot.isCanvasFilterSupported&&(this.ctx.filter=\"none\"),this.ctx.globalCompositeOperation=\"destination-out\",this.ctx.drawImage(d.canvas,0,0),this.ctx.globalCompositeOperation=p,this.ctx.globalAlpha=m,Ot.isCanvasFilterSupported&&(this.ctx.filter=g??\"none\"),this.ctx.drawImage(h.canvas,0,0),this.ctx.restore(),this.canvasFactory.destroy(d),this.canvasFactory.destroy(h)}else{let c=l?.backdropCtx??null;this.#m(this.ctx,s.canvas,{backdropCanvas:c?.canvas??null,destTransform:a,backdropOffset:c?[l.offsetX+r.offsetX,l.offsetY+r.offsetY]:[0,0],sourceAlpha:this.ctx.globalAlpha,sourceFilter:this.ctx.filter})}else{if(r.replaceBackdrop){let c=new Path2D;c.rect(0,0,s.canvas.width,s.canvas.height),this.ctx.clip(c),this.ctx.globalCompositeOperation=\"copy\"}this.ctx.drawImage(s.canvas,0,0)}this.ctx.restore(),this.canvasFactory.destroy({canvas:s.canvas,context:s}),this.#y(r),this.compose(o)}}#j(e){let{canvas:t}=e,{width:s,height:i}=t;if(Ot.isCanvasFilterSupported){e.save(),e.setTransform(1,0,0,1,0,0),e.filter=\"grayscale(1)\",e.globalAlpha=1,e.globalCompositeOperation=\"copy\",e.drawImage(t,0,0),e.restore();return}let r=e.getImageData(0,0,s,i),{data:a}=r;for(let o=0,l=a.length;o<l;o+=4){let c=a[o]*.2126+a[o+1]*.7152+a[o+2]*.0722+.5|0;a[o]=a[o+1]=a[o+2]=c}e.putImageData(r,0,0)}#y(e){e&&(e.knockoutMaskEntry&&(this.canvasFactory.destroy(e.knockoutMaskEntry),e.knockoutMaskEntry=null),e.knockoutTempEntry&&(this.canvasFactory.destroy(e.knockoutTempEntry),e.knockoutTempEntry=null),e.knockoutBackdropEntry&&(this.canvasFactory.destroy(e.knockoutBackdropEntry),e.knockoutBackdropEntry=null))}beginAnnotation(e,t,s,i,r,a,o){if(this.#d(),hf(this.ctx),this.ctx.save(),this.save(e),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),s){let l=s[2]-s[0],c=s[3]-s[1];if(a&&this.annotationCanvasMap){i=i.slice(),i[4]-=s[0],i[5]-=s[1],Be.singularValueDecompose2dScale(Kt(this.ctx),Ps);let{viewportScale:f}=this,h=Math.ceil(l*this.outputScaleX*f),u=Math.ceil(c*this.outputScaleY*f);this.annotationCanvas=this.canvasFactory.create(h,u);let{canvas:d,context:p}=this.annotationCanvas;if(o){let m=this.annotationCanvasMap.getOrInsertComputed(t,io);D5(d,o);let g=m.findIndex(b=>Ik(b)===o);g===-1?m.push(d):m[g]=d}else this.annotationCanvasMap.set(t,d);this.annotationCanvas.savedCtx=this.ctx,this.ctx=p,this.ctx.save(),this.ctx.setTransform(Ps[0],0,0,-Ps[1],0,c*Ps[1]),hf(this.ctx)}else{hf(this.ctx),this.endPath(e);let f=new Path2D;f.rect(s[0],s[1],l,c),this.ctx.clip(f)}}this.current=new Jo(this.ctx.canvas.width,this.ctx.canvas.height),this.baseTransformStack.push(this.baseTransform),this.transform(e,...i),this.transform(e,...r),this.baseTransform=Kt(this.ctx)}endAnnotation(e){this.annotationCanvas&&(this.ctx.restore(),this.#p(),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas),this.baseTransform=this.baseTransformStack.pop()}paintImageMaskXObject(e,t){if(!this.contentVisible)return;let s=t.count;t=this.getObject(e,t.data,t),t.count=s;let i=this.#b(this.current.fillAlpha),r=this.ctx,a=this._createMaskCanvas(e,t),o=a.canvas;r.save(),r.setTransform(1,0,0,1,0,0),r.drawImage(o,a.offsetX,a.offsetY),this.dependencyTracker?.resetBBox(e).recordBBox(e,this.ctx,a.offsetX,a.offsetX+o.width,a.offsetY,a.offsetY+o.height).recordOperation(e),r.restore(),a.canvasEntry&&this.canvasFactory.destroy(a.canvasEntry),this.compose(),this.#w(i)}paintImageMaskXObjectRepeat(e,t,s,i=0,r=0,a,o){if(!this.contentVisible)return;t=this.getObject(e,t.data,t);let l=this.#b(this.current.fillAlpha),c=this.ctx;c.save();let f=Kt(c);c.transform(s,i,r,a,0,0);let h=this._createMaskCanvas(e,t);c.setTransform(1,0,0,1,h.offsetX-f[4],h.offsetY-f[5]),this.dependencyTracker?.resetBBox(e);for(let u=0,d=o.length;u<d;u+=2){let p=Be.transform(f,[s,i,r,a,o[u],o[u+1]]);c.drawImage(h.canvas,p[4],p[5]),this.dependencyTracker?.recordBBox(e,this.ctx,p[4],p[4]+h.canvas.width,p[5],p[5]+h.canvas.height)}c.restore(),h.canvasEntry&&this.canvasFactory.destroy(h.canvasEntry),this.compose(),this.dependencyTracker?.recordOperation(e),this.#w(l)}paintImageMaskXObjectGroup(e,t){if(!this.contentVisible)return;let s=this.#b(this.current.fillAlpha),i=this.ctx,r=this.current.patternFill,a=r?this.current.fillColor:i.fillStyle;this.dependencyTracker?.resetBBox(e).recordDependencies(e,Js.transformAndFill);for(let o of t){let{data:l,width:c,height:f,transform:h}=o,u=this.canvasFactory.create(c,f),d=u.context;d.save();let p=this.getObject(e,l,o);zv(d,p),d.globalCompositeOperation=\"source-in\",d.fillStyle=r?a.getPattern(d,this,Xi(i),Rn.FILL,e):a,d.fillRect(0,0,c,f),d.restore(),i.save(),i.transform(...h),i.scale(1,-1),ff(i,u.canvas,0,0,c,f,0,-1,1,1),this.canvasFactory.destroy(u),this.dependencyTracker?.recordBBox(e,i,0,c,0,f),i.restore()}this.compose(),this.dependencyTracker?.recordOperation(e),this.#w(s)}paintImageXObject(e,t){if(!this.contentVisible)return;let s=this.getObject(e,t);if(!s){at(\"Dependent image isn't ready yet\");return}this.paintInlineImageXObject(e,s)}paintImageXObjectRepeat(e,t,s,i,r){if(!this.contentVisible)return;let a=this.getObject(e,t);if(!a){at(\"Dependent image isn't ready yet\");return}let o=a.width,l=a.height,c=[];for(let f=0,h=r.length;f<h;f+=2)c.push({transform:[s,0,0,i,r[f],r[f+1]],x:0,y:0,w:o,h:l});this.paintInlineImageXObjectGroup(e,a,c)}applyTransferMapsToCanvas(e){return this.current.transferMaps!==\"none\"?(e.filter=this.current.transferMaps,e.drawImage(e.canvas,0,0),e.filter=\"none\"):this.current.transferMapsFallback?.applyToCanvas(e),e.canvas}applyTransferMapsToBitmap(e){let{transferMaps:t,transferMapsFallback:s}=this.current;if(t===\"none\"&&!s)return{img:e.bitmap,canvasEntry:null};let{bitmap:i,width:r,height:a}=e,o=this.canvasFactory.create(r,a),l=o.context;return l.filter=t,l.drawImage(i,0,0),l.filter=\"none\",s?.applyToCanvas(l),{img:o.canvas,canvasEntry:o}}paintInlineImageXObject(e,t){if(!this.contentVisible)return;let s=t.width,i=t.height,r=this.#b(this.current.fillAlpha),a=this.ctx;this.save(e);let{filter:o}=a;o!==\"none\"&&o!==\"\"&&(a.filter=\"none\"),a.scale(1/s,-1/i);let l,c=null;if(t.bitmap){let h=this.applyTransferMapsToBitmap(t);l=h.img,c=h.canvasEntry}else{let h=this.canvasFactory.create(s,i);Lv(h.context,t),l=this.applyTransferMapsToCanvas(h.context),c=h}let f=this._scaleImage(l,Xi(a));a.imageSmoothingEnabled=Uv(Kt(a),t.interpolate,this.pixelRatio),this.dependencyTracker&&(this.dependencyTracker.resetBBox(e).recordBBox(e,a,0,s,-i,0).recordDependencies(e,Js.imageXObject).recordOperation(e),this.imagesTracker?.record(a,s,i,this.dependencyTracker.clipBox)),ff(a,f.img,0,0,f.paintWidth,f.paintHeight,0,-i,s,i),f.tmpCanvas&&this.canvasFactory.destroy(f.tmpCanvas),c&&this.canvasFactory.destroy(c),this.compose(),this.restore(e),this.#w(r)}paintInlineImageXObjectGroup(e,t,s){if(!this.contentVisible)return;let i=this.#b(this.current.fillAlpha),r=this.ctx,a,o=null;if(t.bitmap&&!this.current.transferMapsFallback)a=t.bitmap;else if(t.bitmap)({img:a,canvasEntry:o}=this.applyTransferMapsToBitmap(t));else{let l=t.width,c=t.height,f=this.canvasFactory.create(l,c);Lv(f.context,t),a=this.applyTransferMapsToCanvas(f.context),o=f}this.dependencyTracker?.resetBBox(e);for(let l of s)r.save(),r.transform(...l.transform),r.scale(1,-1),ff(r,a,l.x,l.y,l.w,l.h,0,-1,1,1),this.dependencyTracker?.recordBBox(e,r,0,1,-1,0),r.restore();o&&this.canvasFactory.destroy(o),this.dependencyTracker?.recordOperation(e),this.compose(),this.#w(i)}paintSolidColorImageMask(e){if(!this.contentVisible)return;let t=this.#b(this.current.fillAlpha);this.dependencyTracker?.resetBBox(e).recordBBox(e,this.ctx,0,1,0,1).recordDependencies(e,Js.fill).recordOperation(e),this.ctx.fillRect(0,0,1,1),this.compose(),this.#w(t)}markPoint(e,t){}markPointProps(e,t,s){}beginMarkedContent(e,t){this.dependencyTracker?.beginMarkedContent(e),this.markedContentStack.push({visible:!0})}beginMarkedContentProps(e,t,s){this.dependencyTracker?.beginMarkedContent(e),t===\"OC\"?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(s)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(e){this.dependencyTracker?.endMarkedContent(e),this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(e){}endCompat(e){}consumePath(e,t,s){let i=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(s);let r=this.ctx;this.pendingClip?(i||(this.pendingClip===Gv?r.clip(t,\"evenodd\"):r.clip(t)),this.pendingClip=null,this.dependencyTracker?.bboxToClipBoxDropOperation(e).recordFutureForcedDependency(\"clipPath\",e)):this.dependencyTracker?.recordOperation(e),this.current.startNewPathAndClipBox(this.current.clipBox)}getSinglePixelWidth(){let e=Kt(this.ctx);if(e[1]===0&&e[2]===0)return 1/Math.min(Math.abs(e[0]),Math.abs(e[3]));let t=Math.abs(e[0]*e[3]-e[2]*e[1]),s=Math.hypot(e[0],e[2]),i=Math.hypot(e[1],e[3]);return Math.max(s,i)/t}getScaleForStroking(){if(this._cachedScaleForStroking[0]===-1){let{lineWidth:e}=this.current,{a:t,b:s,c:i,d:r}=this.ctx.getTransform(),a,o;if(s===0&&i===0){let l=Math.abs(t),c=Math.abs(r);if(l===c)if(e===0)a=o=1/l;else{let f=l*e;a=o=f<1?1/f:1}else if(e===0)a=1/l,o=1/c;else{let f=l*e,h=c*e;a=f<1?1/f:1,o=h<1?1/h:1}}else{let l=Math.abs(t*r-s*i),c=Math.hypot(t,s),f=Math.hypot(i,r);if(e===0)a=f/l,o=c/l;else{let h=e*l;a=f>h?f/h:1,o=c>h?c/h:1}}this._cachedScaleForStroking[0]=a,this._cachedScaleForStroking[1]=o}return this._cachedScaleForStroking}rescaleAndStroke(e,t){let{ctx:s,current:{lineWidth:i}}=this,[r,a]=this.getScaleForStroking();if(r===a){s.lineWidth=(i||1)*r,s.stroke(e);return}let o=n.#e??=new DOMMatrix,l=s.getLineDash();t&&s.save(),s.scale(r,a),o.a=1/r,o.d=1/a;let c=new Path2D;if(c.addPath(e,o),l.length>0){let f=Math.max(r,a);s.setLineDash(l.map(h=>h/f)),s.lineDashOffset/=f}s.lineWidth=i||1,s.stroke(c),t&&s.restore()}isContentVisible(){for(let e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}};for(let n in Ji)Ya.prototype[n]!==void 0&&(Ya.prototype[Ji[n]]=Ya.prototype[n]);var Ad=class extends _f{constructor({ownerDocument:e=globalThis.document,enableHWA:t=!1}){super({enableHWA:t}),this._document=e}_createCanvas(e,t){let s=this._document.createElement(\"canvas\");return s.width=e,s.height=t,s}},Sd=class extends If{#e;#n;#t;#s;#i;#r;#a=0;constructor({docId:e,ownerDocument:t=globalThis.document}){super(),this.#s=e,this.#i=t}get#o(){return this.#n||=new Map}get#l(){return this.#r||=new Map}get#c(){if(!this.#t){let e=this.#i.createElement(\"div\"),{style:t}=e;t.colorScheme=\"only light\",t.visibility=\"hidden\",t.contain=\"strict\",t.width=t.height=0,t.position=\"absolute\",t.top=t.left=0,t.zIndex=-1;let s=this.#i.createElementNS(rs,\"svg\");s.setAttribute(\"width\",0),s.setAttribute(\"height\",0),this.#t=this.#i.createElementNS(rs,\"defs\"),e.append(s),s.append(this.#t),this.#i.body.append(e)}return this.#t}#h(e){let t=a=>a&&Array.from(a,o=>o/255).join(\",\");if(e.length===1){let a=t(e[0]);return[a,a,a]}let[s,i,r]=e;return[t(s),t(i),t(r)]}#f(e){if(this.#e===void 0){this.#e=\"\";let t=this.#i.URL;t!==this.#i.baseURI&&(h0(t)?at('#createUrl: ignore \"data:\"-URL for performance reasons.'):this.#e=C5(t,\"\"))}return`url(${this.#e}#${e})`}addFilter(e){if(!e)return\"none\";let t=this.#o.get(e);if(t)return t;let[s,i,r]=this.#h(e),a=e.length===1?s:`${s}${i}${r}`;if(t=this.#o.get(a),t)return this.#o.set(e,t),t;let o=`g_${this.#s}_transfer_map_${this.#a++}`,l=this.#f(o);this.#o.set(e,l),this.#o.set(a,l);let c=this.#g(o);return this.#m(s,i,r,c),l}addHCMFilter(e,t){let s=`${e}-${t}`,i=\"base\",r=this.#l.get(i);if(r?.key===s||(r?(r.filter?.remove(),r.key=s,r.url=\"none\",r.filter=null):(r={key:s,url:\"none\",filter:null},this.#l.set(i,r)),!e||!t))return r.url;let a=this.#w(e);e=Be.makeHexColor(...a);let o=this.#w(t);if(t=Be.makeHexColor(...o),this.#v(),e===\"#000000\"&&t===\"#ffffff\"||e===t)return r.url;let c=Array.from({length:256},(d,p)=>Zu(p/255)).join(\",\"),f=`g_${this.#s}_hcm_filter`,h=r.filter=this.#g(f);this.#m(c,c,c,h),this.#p(h);let u=(d,p)=>{let m=a[d]/255,g=o[d]/255,b=new Array(p+1);for(let x=0;x<=p;x++)b[x]=m+x/p*(g-m);return b.join(\",\")};return this.#m(u(0,5),u(1,5),u(2,5),h),r.url=this.#f(f),r.url}addSelectionHCMFilter(e,t){return this.addHighlightHCMFilter(\"selection\",e,t,\"HighlightText\",\"Highlight\")}addSelectionFilter(){return this.addHighlightHCMFilter(\"selection_default\",\"black\",\"white\",\"HighlightText\",\"Highlight\")}createSelectionStyle(e=null){let t=e?this.addSelectionHCMFilter(e.foreground,e.background):this.addSelectionFilter();return t===\"none\"||!Ot.platform.isFirefox?null:{\"backdrop-filter\":t,\"background-color\":\"transparent\"}}addAlphaFilter(e){let t=this.#o.get(e);if(t)return t;let[s]=this.#h([e]),i=`alpha_${s}`;if(t=this.#o.get(i),t)return this.#o.set(e,t),t;let r=`g_${this.#s}_alpha_map_${this.#a++}`,a=this.#f(r);this.#o.set(e,a),this.#o.set(i,a);let o=this.#g(r);return this.#b(s,o),a}addLuminosityFilter(e){let t=this.#o.get(e||\"luminosity\");if(t)return t;let s,i;if(e?([s]=this.#h([e]),i=`luminosity_${s}`):i=\"luminosity\",t=this.#o.get(i),t)return this.#o.set(e,t),t;let r=`g_${this.#s}_luminosity_map_${this.#a++}`,a=this.#f(r);this.#o.set(e,a),this.#o.set(i,a);let o=this.#g(r);return this.#d(o),e&&this.#b(s,o),a}addKnockoutFilter(e=0){let t=e>0?Math.min(1/e,1e6):1e6,s=`knockout_${t}`,i=this.#o.get(s);if(i)return i;let r=`g_${this.#s}_knockout_filter_${this.#a++}`,a=this.#f(r);this.#o.set(s,a);let o=this.#g(r),l=this.#i.createElementNS(rs,\"feComponentTransfer\");o.append(l);let c=this.#i.createElementNS(rs,\"feFuncA\");return c.setAttribute(\"type\",\"linear\"),c.setAttribute(\"slope\",`${t}`),c.setAttribute(\"intercept\",\"0\"),l.append(c),a}addHighlightHCMFilter(e,t,s,i,r){let a=`${t}-${s}-${i}-${r}`,o=this.#l.get(e);if(o?.key===a||(o?(o.filter?.remove(),o.key=a,o.url=\"none\",o.filter=null):(o={key:a,url:\"none\",filter:null},this.#l.set(e,o)),!t||!s))return o.url;let[l,c]=[t,s].map(this.#w.bind(this)),f=Math.round(.2126*l[0]+.7152*l[1]+.0722*l[2]),h=Math.round(.2126*c[0]+.7152*c[1]+.0722*c[2]),[u,d]=[i,r].map(this.#k.bind(this));h<f&&([f,h,u,d]=[h,f,d,u]),this.#v();let p=(b,x,w)=>{let v=new Array(256),k=(h-f)/w,j=b/255,A=(x-b)/(255*w),S=0;for(let q=0;q<=w;q++){let _=Math.round(f+q*k),I=j+q*A;for(let C=S;C<=_;C++)v[C]=I;S=_+1}for(let q=S;q<256;q++)v[q]=v[S-1];return v.join(\",\")},m=`g_${this.#s}_hcm_${e}_filter`,g=o.filter=this.#g(m);return this.#p(g),this.#m(p(u[0],d[0],5),p(u[1],d[1],5),p(u[2],d[2],5),g),o.url=this.#f(m),o.url}destroy(e=!1){e&&this.#r?.size||(this.#t?.parentNode.parentNode.remove(),this.#t=null,this.#n?.clear(),this.#n=null,this.#r?.clear(),this.#r=null,this.#a=0)}#d(e){let t=this.#i.createElementNS(rs,\"feColorMatrix\");t.setAttribute(\"type\",\"matrix\"),t.setAttribute(\"values\",\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0\"),e.append(t)}#p(e){let t=this.#i.createElementNS(rs,\"feColorMatrix\");t.setAttribute(\"type\",\"matrix\"),t.setAttribute(\"values\",\"0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0\"),e.append(t)}#g(e){let t=this.#i.createElementNS(rs,\"filter\");return t.setAttribute(\"color-interpolation-filters\",\"sRGB\"),t.setAttribute(\"id\",e),this.#c.append(t),t}#u(e,t,s){if(!s)return;let i=this.#i.createElementNS(rs,t);i.setAttribute(\"type\",\"discrete\"),i.setAttribute(\"tableValues\",s),e.append(i)}#m(e,t,s,i){let r=this.#i.createElementNS(rs,\"feComponentTransfer\");i.append(r),this.#u(r,\"feFuncR\",e),this.#u(r,\"feFuncG\",t),this.#u(r,\"feFuncB\",s)}#b(e,t){let s=this.#i.createElementNS(rs,\"feComponentTransfer\");t.append(s),this.#u(s,\"feFuncA\",e)}#w(e){return this.#c.style.color=\"CanvasText\",this.#c.style.backgroundColor=e,Il(getComputedStyle(this.#c).getPropertyValue(\"background-color\"))}#x(e){return this.#c.style.color=\"CanvasText\",this.#c.style.backgroundColor=e,ro(getComputedStyle(this.#c).getPropertyValue(\"background-color\"))}#v(){this.#c.style.color=\"\",this.#c.style.backgroundColor=\"\"}#k(e){let[t,s,i,r]=this.#x(e);if(r===1)return[t,s,i];let[a,o,l]=this.#w(\"Canvas\");return[Wu(t,a,r),Wu(s,o,r),Wu(i,l,r)]}};function Wu(n,e,t){return Math.round(t*n+(1-t)*e)}var Wv=/\\p{Cc}/u;function Rk(n){let e=n[0];if(n.length<2||e!=='\"'&&e!==\"'\"||n.at(-1)!==e)return!1;let t=n.length-1;for(let s=1;s<t;s++){let i=n[s];if(i===e||Wv.test(i)||i===\"\\\\\"&&(++s>=t||Wv.test(n[s])))return!1}return!0}function $v(n){return Rk(n)?n:`\"${n.replaceAll(/[\"\\\\\\p{Cc}]/gu,t=>t==='\"'||t===\"\\\\\"?`\\\\${t}`:`\\\\${t.codePointAt(0).toString(16)} `)}\"`}var qd=class{#e=new Set;#n=new Set;#t=null;constructor({ownerDocument:e=globalThis.document,styleElement:t=null}){this._document=e,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(e){this.#e.add(e),this._document.fonts.add(e)}removeNativeFontFace(e){this.#e.delete(e),this._document.fonts.delete(e)}insertRule(e){let t=this.#s();t.insertRule(e,t.cssRules.length)}#s(){if(this.#t)return this.#t;let e=this._document.defaultView?.CSSStyleSheet||globalThis.CSSStyleSheet;if(!this.styleElement&&e){let{adoptedStyleSheets:t}=this._document;if(t){let s=new e;return t.push(s),this.#t=s}}return this.styleElement||(this.styleElement=this._document.createElement(\"style\"),this._document.documentElement.getElementsByTagName(\"head\")[0].append(this.styleElement)),this.#t=this.styleElement.sheet}clear(){for(let e of this.#e)this._document.fonts.delete(e);if(this.#e.clear(),this.#n.clear(),this.#t){let{adoptedStyleSheets:e}=this._document;e?.includes(this.#t)&&(this._document.adoptedStyleSheets=e.filter(t=>t!==this.#t)),this.#t=null}this.styleElement?.remove(),this.styleElement=null}async loadSystemFont({systemFontInfo:e,disableFontFace:t,_inspectFont:s}){if(!(!e||this.#n.has(e.loadedName))){if(yn(!t,\"loadSystemFont shouldn't be called when `disableFontFace` is set.\"),this.isFontLoadingAPISupported){let{loadedName:i,src:r,style:a}=e,o=new FontFace(i,r,a);this.addNativeFontFace(o);try{await o.load(),this.#n.add(i),s?.(e)}catch{at(`Cannot load system font: ${e.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(o)}return}Mt(\"Not implemented: loadSystemFont without the Font Loading API.\")}}async bind(e){if(e.attached||e.missingFile&&!e.systemFontInfo)return;if(e.attached=!0,e.systemFontInfo){await this.loadSystemFont(e);return}if(this.isFontLoadingAPISupported){let s=e.createNativeFontFace();if(s){this.addNativeFontFace(s);try{await s.loaded}catch(i){throw at(`Failed to load font '${s.family}': '${i}'.`),e.disableFontFace=!0,i}}return}let t=e.createFontFaceRule();if(t){if(this.insertRule(t),this.isSyncFontLoadingSupported)return;await this.#i(e)}}get isFontLoadingAPISupported(){return ze(this,\"isFontLoadingAPISupported\",!!this._document?.fonts)}get isSyncFontLoadingSupported(){return ze(this,\"isSyncFontLoadingSupported\",Ms||Ot.platform.isFirefox)}#i(e){function t(){for(yn(!a.done,\"completeRequest() cannot be called twice.\"),a.done=!0;s.length>0&&s[0].done;){let q=s.shift();setTimeout(q.resolve,0)}}let{loadingRequests:s}=this,{promise:i,resolve:r}=Promise.withResolvers(),a={done:!1,resolve:r};s.push(a),this._loadTestFont??=atob(\"T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==\");function o(q,_){return q.charCodeAt(_)<<24|q.charCodeAt(_+1)<<16|q.charCodeAt(_+2)<<8|q.charCodeAt(_+3)&255}function l(q){return String.fromCharCode(q>>24&255,q>>16&255,q>>8&255,q&255)}function c(q,_,I,C){let T=q.substring(0,_),M=q.substring(_+I);return T+C+M}let f,h,u=this._document.createElement(\"canvas\");u.width=1,u.height=1;let d=u.getContext(\"2d\"),p=0;function m(q,_){if(++p>30){at(\"Load test font never loaded.\"),_();return}if(d.font=\"30px \"+q,d.fillText(\".\",0,20),d.getImageData(0,0,1,1).data[3]>0){_();return}setTimeout(m.bind(null,q,_))}let g=`lt${Date.now()}${this.loadTestFontId++}`,b=this._loadTestFont;b=c(b,976,g.length,g);let w=16,v=1482184792,k=o(b,w);for(f=0,h=g.length-3;f<h;f+=4)k=k-v+o(g,f)|0;f<g.length&&(k=k-v+o(g+\"XXX\",f)|0),b=c(b,w,4,l(k));let j=`url(data:font/opentype;base64,${btoa(b)});`,A=`@font-face {font-family:\"${g}\";src:${j}}`;this.insertRule(A);let S=this._document.createElement(\"div\");S.style.visibility=\"hidden\",S.style.width=S.style.height=\"10px\",S.style.position=\"absolute\",S.style.top=S.style.left=\"0px\";for(let q of[e.loadedName,g]){let _=this._document.createElement(\"span\");_.textContent=\"Hi\",_.style.fontFamily=q,S.append(_)}return this._document.body.append(S),m(g,()=>{S.remove(),t()}),i}},_d=class{#e=new Map;#n;constructor(e,t=null,s,i){this.#n=e,this._inspectFont=t,s&&(this.charProcOperatorList=s),i&&Object.assign(this,i)}createNativeFontFace(){let{data:e}=this;if(!e||this.disableFontFace)return null;let t;if(!this.cssFontInfo)t=new FontFace(this.loadedName,e,{});else{let s={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(s.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace($v(this.cssFontInfo.fontFamily),e,s)}return this._inspectFont?.(this),t}createFontFaceRule(){let{data:e}=this;if(!e||this.disableFontFace)return null;let t=`url(data:${this.mimetype};base64,${e.toBase64()});`,s;if(!this.cssFontInfo)s=`@font-face {font-family:\"${this.loadedName}\";src:${t}}`;else{let i=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(i+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),s=`@font-face {font-family:${$v(this.cssFontInfo.fontFamily)};${i}src:${t}}`}return this._inspectFont?.(this,t),s}getPathGenerator(e,t){let s=this.#e.get(t);if(s)return s;let i=`${this.loadedName}_path_${t}`,r;try{r=e.get(i)}catch(a){at(`getPathGenerator - ignoring character: \"${a}\".`)}return s=E5(r?.path),this.fontExtraProperties||e.delete(i),this.#e.set(t,s),s}get black(){return this.#n.black}get bold(){return this.#n.bold}get disableFontFace(){return this.#n.disableFontFace}set disableFontFace(e){ze(this,\"disableFontFace\",!!e)}get fontExtraProperties(){return this.#n.fontExtraProperties}get isInvalidPDFjsFont(){return this.#n.isInvalidPDFjsFont}get isType3Font(){return this.#n.isType3Font}get italic(){return this.#n.italic}get missingFile(){return this.#n.missingFile}get remeasure(){return this.#n.remeasure}get vertical(){return this.#n.vertical}get bbox(){return this.#n.bbox}get fontMatrix(){return this.#n.fontMatrix}get fallbackName(){return this.#n.fallbackName}get loadedName(){return this.#n.loadedName}get mimetype(){return this.missingFile?null:\"font/opentype\"}get data(){return this.#n.data}clearData(){this.#n.clearData()}get cssFontInfo(){return this.#n.cssFontInfo}get systemFontInfo(){return this.#n.systemFontInfo}},Za=class{#e=null;#n=null;_fullReader=null;_rangeReaders=new Set;_source=null;constructor(e,t,s){this._source=e,this.#e=t,this.#n=s}get _progressiveDataLength(){return this._fullReader?._loaded??0}getFullReader(){return yn(!this._fullReader,\"BasePDFStream.getFullReader can only be called once.\"),this._fullReader=new this.#e(this)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;let s=new this.#n(this,e,t);return this._rangeReaders.add(s),s}cancelAllRequests(e){this._fullReader?.cancel(e);for(let t of new Set(this._rangeReaders))t.cancel(e)}},eo=class{onProgress=null;_contentLength=0;_filename=null;_headersCapability=Promise.withResolvers();_isRangeSupported=!1;_isStreamingSupported=!1;_loaded=0;_stream=null;constructor(e){this._stream=e}_callOnProgress(){this.onProgress?.({loaded:this._loaded,total:this._contentLength})}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){Mt(\"Abstract method `read` called\")}cancel(e){Mt(\"Abstract method `cancel` called\")}},to=class{_stream=null;constructor(e,t,s){this._stream=e}async read(){Mt(\"Abstract method `read` called\")}cancel(e){Mt(\"Abstract method `cancel` called\")}};function Fk(n){let e=!0,t=s(\"filename\\\\*\",\"i\").exec(n);if(t){t=t[1];let f=o(t);return f=unescape(f),f=l(f),f=c(f),r(f)}if(t=a(n),t){let f=c(t);return r(f)}if(t=s(\"filename\",\"i\").exec(n),t){t=t[1];let f=o(t);return f=c(f),r(f)}function s(f,h){return new RegExp(\"(?:^|;)\\\\s*\"+f+'\\\\s*=\\\\s*([^\";\\\\s][^;\\\\s]*|\"(?:[^\"\\\\\\\\]|\\\\\\\\\"?)+\"?)',h)}function i(f,h){if(f){if(!/^[\\x00-\\xFF]+$/.test(h))return h;try{let u=new TextDecoder(f,{fatal:!0}),d=f0(h);h=u.decode(d),e=!1}catch{}}return h}function r(f){return e&&/[\\x80-\\xff]/.test(f)&&(f=i(\"utf-8\",f),e&&(f=i(\"iso-8859-1\",f))),f}function a(f){let h=[],u,d=s(\"filename\\\\*((?!0\\\\d)\\\\d+)(\\\\*?)\",\"ig\");for(;(u=d.exec(f))!==null;){let[,m,g,b]=u;if(m=parseInt(m,10),m in h){if(m===0)break;continue}h[m]=[g,b]}let p=[];for(let m=0;m<h.length&&m in h;++m){let[g,b]=h[m];b=o(b),g&&(b=unescape(b),m===0&&(b=l(b))),p.push(b)}return p.join(\"\")}function o(f){if(f.startsWith('\"')){let h=f.slice(1).split('\\\\\"');for(let u=0;u<h.length;++u){let d=h[u].indexOf('\"');d!==-1&&(h[u]=h[u].slice(0,d),h.length=u+1),h[u]=h[u].replaceAll(/\\\\(.)/g,\"$1\")}f=h.join('\"')}return f}function l(f){let h=f.indexOf(\"'\");if(h===-1)return f;let u=f.slice(0,h),p=f.slice(h+1).replace(/^[^']*'/,\"\");return i(u,p)}function c(f){return!f.startsWith(\"=?\")||/[\\x00-\\x19\\x80-\\xff]/.test(f)?f:f.replaceAll(/=\\?([\\w-]*)\\?([QB])\\?((?:[^?]|\\?(?!=))*)\\?=/gi,function(h,u,d,p){if(d===\"q\"||d===\"Q\")return p=p.replaceAll(\"_\",\" \").replaceAll(/=([0-9a-f]{2})/gi,(m,g)=>String.fromCharCode(parseInt(g,16))),i(u,p);try{p=atob(p)}catch{}return i(u,p)})}return\"\"}function N5(n,e){let t=new Headers;if(!n||!e||typeof e!=\"object\")return t;for(let s in e){let i=e[s];i!==void 0&&t.append(s,i)}return t}function Ok(n){let e=n.length;for(;e>0&&n[e-1]!==\" \"&&/\\s/.test(n[e-1]);)e--;return n.slice(0,e)}function d0(n){return URL.parse(n)?.origin??null}function H5({responseHeaders:n,isHttp:e,rangeChunkSize:t,disableRange:s}){let i={contentLength:0,isRangeSupported:!1},r=parseInt(n.get(\"Content-Length\"),10);return!Number.isInteger(r)||(i.contentLength=r,r<=2*t)||s||!e||n.get(\"Accept-Ranges\")!==\"bytes\"||(n.get(\"Content-Encoding\")||\"identity\")===\"identity\"&&(i.isRangeSupported=!0),i}function L5(n){let e=n.get(\"Content-Disposition\");if(e){let t=Fk(e);if(t.includes(\"%\"))try{t=decodeURIComponent(t)}catch{}if(im(t))return t}return null}function p0(n,e){return new Qa(`Unexpected server response (${n}) while retrieving PDF \"${e.href}\".`,n,n===404||n===0&&e.protocol===\"file:\")}function z5(n,e){if(n!==e)throw new Error(`Expected range response-origin \"${n}\" to match \"${e}\".`)}function U5(n,e,t,s){return fetch(n,{method:\"GET\",headers:e,signal:s.signal,mode:\"cors\",credentials:t?\"include\":\"same-origin\",redirect:\"follow\"})}function G5(n,e){if(n!==200&&n!==206)throw p0(n,e)}function m0(n){if(n instanceof Uint8Array)return n.buffer;if(n instanceof ArrayBuffer)return n;throw new Error(`getArrayBuffer - unexpected data: ${n}`)}var Id=class extends Za{_responseOrigin=null;constructor(e){super(e,Cd,Td);let{httpHeaders:t,url:s}=e;yn(/https?:/.test(s.protocol),\"PDFFetchStream only supports http(s):// URLs.\"),this.headers=N5(!0,t)}},Cd=class extends eo{_abortController=new AbortController;_reader=null;constructor(e){super(e);let{disableRange:t,disableStream:s,rangeChunkSize:i,url:r,withCredentials:a}=e._source;this._isStreamingSupported=!s;let o=new Headers(e.headers);U5(r,o,a,this._abortController).then(l=>{e._responseOrigin=d0(l.url),G5(l.status,r),this._reader=l.body.getReader();let c=l.headers,{contentLength:f,isRangeSupported:h}=H5({responseHeaders:c,isHttp:!0,rangeChunkSize:i,disableRange:t});this._contentLength=f,this._isRangeSupported=h,this._filename=L5(c),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new Ei(\"Streaming is disabled.\")),this._headersCapability.resolve()}).catch(this._headersCapability.reject)}async read(){await this._headersCapability.promise;let{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this._callOnProgress(),{value:m0(e),done:!1})}cancel(e){this._reader?.cancel(e).catch(()=>{}),this._abortController.abort()}},Td=class extends to{_abortController=new AbortController;_readCapability=Promise.withResolvers();_reader=null;constructor(e,t,s){super(e,t,s);let{url:i,withCredentials:r}=e._source,a=new Headers(e.headers);a.append(\"Range\",`bytes=${t}-${s-1}`),U5(i,a,r,this._abortController).then(o=>{let l=d0(o.url);z5(l,e._responseOrigin),G5(o.status,i),this._reader=o.body.getReader(),this._readCapability.resolve()}).catch(this._readCapability.reject),this._readCapability.promise.catch(()=>{})}async read(){await this._readCapability.promise;let{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:{value:m0(e),done:!1}}cancel(e){this._reader?.cancel(e).catch(()=>{}),this._abortController.abort()}};function Vv(n){return n instanceof Uint8Array&&n.byteLength===n.buffer.byteLength?n.buffer:new Uint8Array(n).buffer}function g0(){for(let n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0}var Ed=class extends Za{_progressiveDone=!1;_queuedChunks=[];constructor(e){super(e,Rd,Fd);let{pdfDataRangeTransport:t}=e,{initialData:s,progressiveDone:i}=t;if(s?.length>0){let a=Vv(s);this._queuedChunks.push(a)}this._progressiveDone=i;let r=a=>{switch(a.type){case\"range\":case\"progressiveRead\":this.#e(a.begin,a.chunk);break;case\"progressiveDone\":this._fullReader?.progressiveDone(),this._progressiveDone=!0;break}};t.transportReady(r)}#e(e,t){let s=Vv(t);if(e===void 0)this._fullReader?this._fullReader._enqueue(s):this._queuedChunks.push(s);else{let i=this._rangeReaders.keys().find(r=>r._begin===e);yn(i,\"#onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.\"),i._enqueue(s)}}getFullReader(){let e=super.getFullReader();return this._queuedChunks=null,e}getRangeReader(e,t){let s=super.getRangeReader(e,t);return s&&(s.onDone=()=>this._rangeReaders.delete(s),this._source.pdfDataRangeTransport.requestDataRange(e,t)),s}cancelAllRequests(e){super.cancelAllRequests(e),this._source.pdfDataRangeTransport.abort()}},Rd=class extends eo{#e=g0.bind(this);_done=!1;_queuedChunks=null;_requests=[];constructor(e){super(e);let{pdfDataRangeTransport:t,disableRange:s,disableStream:i}=e._source,{length:r,contentDispositionFilename:a}=t;this._queuedChunks=e._queuedChunks||[];for(let l of this._queuedChunks)this._loaded+=l.byteLength;this._done=e._progressiveDone,this._contentLength=r,this._isStreamingSupported=!i,this._isRangeSupported=!s,im(a)&&(this._filename=a),this._headersCapability.resolve();let o=this._loaded;Promise.resolve().then(()=>{o>0&&this._loaded===o&&this._callOnProgress()})}_enqueue(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength,this._callOnProgress())}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};let e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this.#e()}progressiveDone(){this._done||=!0,this._queuedChunks.length===0&&this.#e()}},Fd=class extends to{#e=g0.bind(this);onDone=null;_begin=-1;_done=!1;_queuedChunk=null;_requests=[];constructor(e,t,s){super(e,t,s),this._begin=t}_enqueue(e){this._done||(this._requests.length===0?this._queuedChunk=e:(this._requests.shift().resolve({value:e,done:!1}),this.#e()),this._done=!0,this.onDone?.())}async read(){if(this._queuedChunk){let t=this._queuedChunk;return this._queuedChunk=null,{value:t,done:!1}}if(this._done)return{value:void 0,done:!0};let e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this.#e(),this.onDone?.()}},$u=200,Kv=206;function Mk(n){return typeof n!=\"string\"?n:f0(n).buffer}var Od=class extends Za{#e=new WeakMap;_responseOrigin=null;constructor(e){super(e,Md,Pd);let{httpHeaders:t,url:s}=e;this.url=s,this.isHttp=/https?:/.test(s.protocol),this.headers=N5(this.isHttp,t)}_request(e){let t=new XMLHttpRequest,s={validateStatus:null,onHeadersReceived:e.onHeadersReceived,onDone:e.onDone,onError:e.onError,onProgress:e.onProgress};this.#e.set(t,s),t.open(\"GET\",this.url),t.withCredentials=this._source.withCredentials;for(let[i,r]of this.headers)t.setRequestHeader(i,r);return this.isHttp&&\"begin\"in e&&\"end\"in e?(t.setRequestHeader(\"Range\",`bytes=${e.begin}-${e.end-1}`),s.validateStatus=i=>i===Kv||i===$u):s.validateStatus=i=>i===$u,t.responseType=\"arraybuffer\",yn(e.onError,\"Expected `onError` callback to be provided.\"),t.onerror=()=>e.onError(t.status),t.onreadystatechange=this.#t.bind(this,t),t.onprogress=this.#n.bind(this,t),t.send(null),t}#n(e,t){this.#e.get(e)?.onProgress?.(t)}#t(e,t){let s=this.#e.get(e);if(!s||(e.readyState>=2&&s.onHeadersReceived&&(s.onHeadersReceived(),delete s.onHeadersReceived),e.readyState!==4)||!this.#e.has(e))return;if(this.#e.delete(e),e.status===0&&this.isHttp){s.onError(e.status);return}let i=e.status||$u;if(!s.validateStatus(i)){s.onError(e.status);return}let r=Mk(e.response);if(i===Kv){let a=e.getResponseHeader(\"Content-Range\");/bytes \\d+-\\d+\\/\\d+/.test(a)?s.onDone(r):(at('Missing or invalid \"Content-Range\" header.'),s.onError(0))}else r?s.onDone(r):s.onError(e.status)}_abortRequest(e){this.#e.has(e)&&(this.#e.delete(e),e.abort())}getRangeReader(e,t){let s=super.getRangeReader(e,t);return s&&(s.onClosed=()=>this._rangeReaders.delete(s)),s}},Md=class extends eo{#e=g0.bind(this);_cachedChunks=[];_done=!1;_requests=[];_storedError=null;constructor(e){super(e),this._fullRequestXhr=e._request({onHeadersReceived:this.#n.bind(this),onDone:this.#t.bind(this),onError:this.#s.bind(this),onProgress:this.#i.bind(this)})}#n(){let e=this._stream,{disableRange:t,rangeChunkSize:s}=e._source,i=this._fullRequestXhr;e._responseOrigin=d0(i.responseURL);let r=i.getAllResponseHeaders(),a=new Headers(r?Ok(r.trimStart()).split(/[\\r\\n]+/).map(c=>{let[f,...h]=c.split(\": \");return[f,h.join(\": \")]}):[]),{contentLength:o,isRangeSupported:l}=H5({responseHeaders:a,isHttp:e.isHttp,rangeChunkSize:s,disableRange:t});this._contentLength=o,this._isRangeSupported=l,this._filename=L5(a),this._isRangeSupported&&e._abortRequest(i),this._headersCapability.resolve()}#t(e){this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._cachedChunks.push(e),this._done=!0,this._cachedChunks.length===0&&this.#e()}#s(e){this._storedError=p0(e,this._stream.url),this._headersCapability.reject(this._storedError);for(let t of this._requests)t.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}#i(e){this.onProgress?.({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};let e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersCapability.reject(e),this.#e(),this._stream._abortRequest(this._fullRequestXhr),this._fullRequestXhr=null}},Pd=class extends to{#e=g0.bind(this);onClosed=null;_done=!1;_queuedChunk=null;_requests=[];_storedError=null;constructor(e,t,s){super(e,t,s),this._requestXhr=e._request({begin:t,end:s,onHeadersReceived:this.#n.bind(this),onDone:this.#t.bind(this),onError:this.#s.bind(this),onProgress:null})}#n(){let e=d0(this._requestXhr?.responseURL);try{z5(e,this._stream._responseOrigin)}catch(t){this._storedError=t,this.#s(0)}}#t(e){this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunk=e,this._done=!0,this.#e(),this.onClosed?.()}#s(e){this._storedError??=p0(e,this._stream.url);for(let t of this._requests)t.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){let t=this._queuedChunk;return this._queuedChunk=null,{value:t,done:!1}}if(this._done)return{value:void 0,done:!0};let e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this.#e(),this._stream._abortRequest(this._requestXhr),this.onClosed?.()}};function W5(n,e=null){let t=process.getBuiltinModule(\"fs\"),{Readable:s}=process.getBuiltinModule(\"stream\"),i=t.createReadStream(n,e);return s.toWeb(i)}var Bd=class extends Za{constructor(e){super(e,Dd,Nd);let{url:t}=e;yn(t.protocol===\"file:\",\"PDFNodeStream only supports file:// URLs.\")}},Dd=class extends eo{_reader=null;constructor(e){super(e);let{disableRange:t,disableStream:s,rangeChunkSize:i,url:r}=e._source;this._isStreamingSupported=!s,process.getBuiltinModule(\"fs/promises\").lstat(r).then(o=>{let l=W5(r);this._reader=l.getReader();let{size:c}=o;this._contentLength=c,this._isRangeSupported=!t&&c>2*i,!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new Ei(\"Streaming is disabled.\")),this._headersCapability.resolve()}).catch(o=>{o.code===\"ENOENT\"&&(o=p0(0,r)),this._headersCapability.reject(o)})}async read(){await this._headersCapability.promise;let{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this._callOnProgress(),{value:m0(e),done:!1})}cancel(e){this._reader?.cancel(e).catch(()=>{})}},Nd=class extends to{_readCapability=Promise.withResolvers();_reader=null;constructor(e,t,s){super(e,t,s);let{url:i}=e._source;try{let r=W5(i,{start:t,end:s-1});this._reader=r.getReader(),this._readCapability.resolve()}catch(r){this._readCapability.reject(r)}this._readCapability.promise.catch(()=>{})}async read(){await this._readCapability.promise;let{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:{value:m0(e),done:!1}}cancel(e){this._reader?.cancel(e).catch(()=>{})}};function Pk(n){return Xo(n)?Id:Ms?Bd:Od}var fi=class{static#e=null;static#n=[];static#t=\"\";static#s=\"\";static get rendererPorts(){return this.#n}static set rendererPorts(e){if(!Array.isArray(e)||!e.every(t=>typeof Worker<\"u\"&&t instanceof Worker))throw new Error(\"Invalid `rendererPorts` type.\");this.#n=e}static get rendererSrc(){return this.#t}static set rendererSrc(e){if(typeof e!=\"string\")throw new Error(\"Invalid `rendererSrc` type.\");this.#t=e}static get workerPort(){return this.#e}static set workerPort(e){if(!(typeof Worker<\"u\"&&e instanceof Worker)&&e!==null)throw new Error(\"Invalid `workerPort` type.\");this.#e=e}static get workerSrc(){return this.#s}static set workerSrc(e){if(typeof e!=\"string\")throw new Error(\"Invalid `workerSrc` type.\");this.#s=e}},Hd=class{#e;#n;constructor({parsedData:e,rawData:t}){this.#e=e,this.#n=t}getRaw(){return this.#n}get(e){return this.#e.get(e)??null}[Symbol.iterator](){return this.#e.entries()}},Ld=class{static strings=[\"fontFamily\",\"fontWeight\",\"italicAngle\"]},zd=class{static strings=[\"css\",\"loadedName\",\"baseFontName\",\"src\"]},xr=class{static bools=[\"black\",\"bold\",\"disableFontFace\",\"fontExtraProperties\",\"isInvalidPDFjsFont\",\"isType3Font\",\"italic\",\"missingFile\",\"remeasure\",\"vertical\"];static strings=[\"fallbackName\",\"loadedName\"];static OFFSET_BBOX=Math.ceil(this.bools.length*2/8);static OFFSET_FONT_MATRIX=this.OFFSET_BBOX+1+8;static OFFSET_STRINGS=this.OFFSET_FONT_MATRIX+1+48},Yi=class{static KIND=0;static HAS_BBOX=1;static HAS_BACKGROUND=2;static SHADING_TYPE=3;static N_COORD=4;static N_COLOR=8;static N_STOP=12;static N_FIGURES=16},Ud=class{static get decoder(){return ze(this,\"decoder\",new TextDecoder)}static get encoder(){return ze(this,\"encoder\",new TextEncoder)}};function Qo(n,e,t,s=0){let{decoder:i}=Ud;for(let a=0;a<t;a++)s+=e.getUint32(s)+4;let r=e.getUint32(s);return i.decode(new Uint8Array(n,s+4,r))}var Gd=class{#e;#n;constructor(e){this.#e=e,this.#n=new DataView(e)}#t(e){return yn(e<Ld.strings.length,\"Invalid string index\"),Qo(this.#e,this.#n,e)}get fontFamily(){return ze(this,\"fontFamily\",this.#t(0))}get fontWeight(){return ze(this,\"fontWeight\",this.#t(1))}get italicAngle(){return ze(this,\"italicAngle\",this.#t(2))}},Wd=class{#e;#n;constructor(e){this.#e=e,this.#n=new DataView(e)}#t(e){return yn(e<zd.strings.length,\"Invalid string index\"),Qo(this.#e,this.#n,e,4)}get css(){return ze(this,\"css\",this.#t(0))}get loadedName(){return ze(this,\"loadedName\",this.#t(1))}get baseFontName(){return ze(this,\"baseFontName\",this.#t(2))}get src(){return ze(this,\"src\",this.#t(3))}get style(){let e=0;e+=4+this.#n.getUint32(e);let t=Qo(this.#e,this.#n,0,e),s=Qo(this.#e,this.#n,1,e);return ze(this,\"style\",{style:t,weight:s})}},$d=class{#e;#n;constructor(e){this.#e=e,this.#n=new DataView(e)}#t(e){yn(e<xr.bools.length,\"Invalid boolean index\");let t=Math.floor(e/4),s=e*2%8,i=this.#n.getUint8(t)>>s&3;return i===0?void 0:i===2}get black(){return ze(this,\"black\",this.#t(0))}get bold(){return ze(this,\"bold\",this.#t(1))}get disableFontFace(){return ze(this,\"disableFontFace\",this.#t(2))}get fontExtraProperties(){return ze(this,\"fontExtraProperties\",this.#t(3))}get isInvalidPDFjsFont(){return ze(this,\"isInvalidPDFjsFont\",this.#t(4))}get isType3Font(){return ze(this,\"isType3Font\",this.#t(5))}get italic(){return ze(this,\"italic\",this.#t(6))}get missingFile(){return ze(this,\"missingFile\",this.#t(7))}get remeasure(){return ze(this,\"remeasure\",this.#t(8))}get vertical(){return ze(this,\"vertical\",this.#t(9))}#s(e,t,s,i){let r=this.#n.getUint8(e++);if(r===0)return;yn(r===t,\"Invalid array length.\");let a=new Array(r);for(let o=0;o<r;o++)a[o]=this.#n[s](e,!0),e+=i;return a}get bbox(){return ze(this,\"bbox\",this.#s(xr.OFFSET_BBOX,4,\"getInt16\",2))}get fontMatrix(){return ze(this,\"fontMatrix\",this.#s(xr.OFFSET_FONT_MATRIX,6,\"getFloat64\",8))}#i(e){return yn(e<xr.strings.length,\"Invalid string index\"),Qo(this.#e,this.#n,e,xr.OFFSET_STRINGS+4)}get fallbackName(){return ze(this,\"fallbackName\",this.#i(0))}get loadedName(){return ze(this,\"loadedName\",this.#i(1))}#r(e){let t=xr.OFFSET_STRINGS;for(let i=0;i<=e;i++)t+=4+this.#n.getUint32(t);let s=this.#n.getUint32(t);return{offset:t,length:s}}get data(){let{offset:e,length:t}=this.#r(2);return t?new Uint8Array(this.#e,e+4,t):void 0}clearData(){let{offset:e,length:t}=this.#r(2);t&&(this.#n.setUint32(e,0),this.#e=new Uint8Array(this.#e,0,e+4).slice().buffer,this.#n=new DataView(this.#e))}get cssFontInfo(){let{offset:e,length:t}=this.#r(1),s=null;if(t){let i=new Uint8Array(this.#e,e+4,t).slice();s=new Gd(i.buffer)}return ze(this,\"cssFontInfo\",s)}get systemFontInfo(){let{offset:e,length:t}=this.#r(0),s=null;if(t){let i=new Uint8Array(this.#e,e+4,t).slice();s=new Wd(i.buffer)}return ze(this,\"systemFontInfo\",s)}},Vd=class{constructor(e){this.buffer=e,this.view=new DataView(e),this.data=new Uint8Array(e)}getIR(){let e=this.view,t=this.data[Yi.KIND],s=!!this.data[Yi.HAS_BBOX],i=!!this.data[Yi.HAS_BACKGROUND],r=e.getUint32(Yi.N_COORD,!0),a=e.getUint32(Yi.N_COLOR,!0),o=e.getUint32(Yi.N_STOP,!0),l=20,c=new Float32Array(this.buffer,l,r*2);l+=r*8;let f=new Uint8Array(this.buffer,l,a*4);l+=a*4;let h=[];for(let p=0;p<o;++p){let m=e.getFloat32(l,!0);l+=4;let g=e.getUint32(l,!0);l+=4,h.push([m,`#${g.toString(16).padStart(6,\"0\")}`])}let u=null;if(s){u=[];for(let p=0;p<4;++p)u.push(e.getFloat32(l,!0)),l+=4}let d=null;if(i&&(d=new Uint8Array(this.buffer,l,3),l+=3),t===1)return[\"RadialAxial\",\"axial\",u,h,[c[0],c[1]],[c[2],c[3]],null,null];if(t===2)return[\"RadialAxial\",\"radial\",u,h,[c[0],c[1]],[c[3],c[4]],c[2],c[5]];if(t===3){let p=this.data[Yi.SHADING_TYPE],m=null;if(c.length>0){m=Ci.slice();for(let g=0,b=c.length;g<b;g+=2)Be.pointBoundingBox(c[g],c[g+1],m)}return[\"Mesh\",p,c,f,r,m,u,d]}throw new Error(`Unsupported pattern kind: ${t}`)}},Kd=class{#e;constructor(e){this.#e=e}get path(){return Ot.isFloat16ArraySupported?new Float16Array(this.#e):new Float32Array(this.#e)}},Ur=Symbol(\"INITIAL_DATA\"),Vu=()=>({...Promise.withResolvers(),data:Ur}),hl=class{#e=new Map;get(e,t=null,s=null){if(t){let r=this.#e.getOrInsertComputed(e,Vu);return r.promise.then(()=>t(r.data),s),null}let i=this.#e.get(e);if(!i||i.data===Ur)throw new Error(`Requesting object that isn't resolved yet ${e}.`);return i.data}has(e){let t=this.#e.get(e);return!!t&&t.data!==Ur}delete(e){let t=this.#e.get(e);return!t||t.data===Ur?!1:(this.#e.delete(e),!0)}resolve(e,t=null){let s=this.#e.getOrInsertComputed(e,Vu);if(s.data!==Ur)throw new Error(`Object already resolved ${e}.`);s.data=t,s.resolve()}reject(e,t){let s=this.#e.getOrInsertComputed(e,Vu);s.data===Ur&&(s.promise.catch(()=>{}),s.reject(t))}clear(){for(let{data:e}of this.#e.values())e?.bitmap?.close();this.#e.clear()}*[Symbol.iterator](){for(let[e,{data:t}]of this.#e)t!==Ur&&(yield[e,t])}},Xd=class{constructor({messageHandler:e,commonObjs:t,fontLoader:s,pageCache:i,pdfBug:r=!1,shouldCreatePageObjs:a=!1}){this.messageHandler=e,this.commonObjs=t,this.fontLoader=s,this.pageCache=i,this.pdfBug=r,this.shouldCreatePageObjs=a}resolveCommonObject(e,t,s){if(t===\"CopyLocalImage\"){let{imageRef:i}=s;yn(i,\"The imageRef must be defined.\");for(let r of this.pageCache.values()){let a=r.objs||r;for(let[,o]of a){if(o?.ref!==i)continue;if(!o.dataLen)return null;let l=structuredClone(o);return this.commonObjs.resolve(e,l),o.dataLen}}return null}switch(t){case\"Font\":if(\"error\"in s){let l=s.error;at(`Error during font loading: ${l}`),this.commonObjs.resolve(e,l);break}let i=new $d(s.buffer),r=this.pdfBug&&globalThis.FontInspector?.enabled?(l,c)=>globalThis.FontInspector.fontAdded(l,c):null,a=new _d(i,r,s.charProcOperatorList,s.extra);this.fontLoader.bind(a).catch(()=>this.messageHandler.sendWithPromise(\"FontFallback\",{id:e}).catch(l=>{at(`FontFallback failed for \"${e}\": ${l}`)})).finally(()=>{a.fontExtraProperties||a.clearData(),this.commonObjs.resolve(e,a)});break;case\"FontPath\":this.commonObjs.resolve(e,new Kd(s));break;case\"Image\":this.commonObjs.resolve(e,s);break;case\"Pattern\":let o=new Vd(s);this.commonObjs.resolve(e,o.getIR());break;default:throw new Error(`Got unknown common object type ${t}`)}return null}resolveObject(e,t,s,i){let r=this.pageCache.get(t);if(!r){if(!this.shouldCreatePageObjs)return!1;r=new hl,this.pageCache.set(t,r)}let a=r.objs||r;if(a.has(e))return!1;if(r._intentStates?.size===0)return i?.bitmap?.close(),!1;switch(s){case\"Image\":case\"Pattern\":return a.resolve(e,i),!0;default:throw new Error(`Got unknown object type ${s}`)}}},Gr=Symbol(\"INTERNAL\"),Yd=class{#e=!1;#n=!1;#t=!1;#s=!0;constructor(e,{name:t,intent:s,usage:i,rbGroups:r}){this.#e=!!(e&Os.DISPLAY),this.#n=!!(e&Os.PRINT),this.name=t,this.intent=s,this.usage=i,this.rbGroups=r}get visible(){if(this.#t)return this.#s;if(!this.#s)return!1;let{print:e,view:t}=this.usage;return this.#e?t?.viewState!==\"OFF\":this.#n?e?.printState!==\"OFF\":!0}_setVisible(e,t,s=!1){e!==Gr&&Mt(\"Internal method `_setVisible` called.\"),this.#t=s,this.#s=t}get serializable(){return{userSet:this.#t,visible:this.#s}}},Jd=class n{#e=null;#n=new Map;#t=null;#s=null;#i;creator=null;name=null;constructor(e,t=Os.DISPLAY,s=null){if(this.#i=e,this.renderingIntent=t,e!==null){this.name=e.name,this.creator=e.creator,this.#s=e.order;for(let i of e.groups)this.#n.set(i.id,new Yd(t,i));if(s){s.size!==this.#n.size&&Mt(\"Incorrect serialized groupState.\");for(let[i,r]of s)this.#n.get(i)._setVisible(Gr,r.visible,r.userSet)}else{if(e.baseState===\"OFF\")for(let i of this.#n.values())i._setVisible(Gr,!1);for(let i of e.on)this.#n.get(i)._setVisible(Gr,!0);for(let i of e.off)this.#n.get(i)._setVisible(Gr,!1)}this.#t=this.getHash()}}#r(e){let t=e.length;if(t<2)return!0;let s=e[0];for(let i=1;i<t;i++){let r=e[i],a;if(Array.isArray(r))a=this.#r(r);else if(this.#n.has(r))a=this.#n.get(r).visible;else return at(`Optional content group not found: ${r}`),!0;switch(s){case\"And\":if(!a)return!1;break;case\"Or\":if(a)return!0;break;case\"Not\":return!a;default:return!0}}return s===\"And\"}isVisible(e){if(this.#n.size===0)return!0;if(!e)return c0(\"Optional content group not defined.\"),!0;if(e.type===\"OCG\")return this.#n.has(e.id)?this.#n.get(e.id).visible:(at(`Optional content group not found: ${e.id}`),!0);if(e.type===\"OCMD\"){if(e.expression)return this.#r(e.expression);if(!e.policy||e.policy===\"AnyOn\"){for(let t of e.ids){if(!this.#n.has(t))return at(`Optional content group not found: ${t}`),!0;if(this.#n.get(t).visible)return!0}return!1}else if(e.policy===\"AllOn\"){for(let t of e.ids){if(!this.#n.has(t))return at(`Optional content group not found: ${t}`),!0;if(!this.#n.get(t).visible)return!1}return!0}else if(e.policy===\"AnyOff\"){for(let t of e.ids){if(!this.#n.has(t))return at(`Optional content group not found: ${t}`),!0;if(!this.#n.get(t).visible)return!0}return!1}else if(e.policy===\"AllOff\"){for(let t of e.ids){if(!this.#n.has(t))return at(`Optional content group not found: ${t}`),!0;if(this.#n.get(t).visible)return!1}return!0}return at(`Unknown optional content policy ${e.policy}.`),!0}return at(`Unknown group type ${e.type}.`),!0}setVisibility(e,t=!0,s=!0){let i=this.#n.get(e);if(!i){at(`Optional content group not found: ${e}`);return}if(s&&t&&i.rbGroups.length)for(let r of i.rbGroups)for(let a of r)a!==e&&this.#n.get(a)?._setVisible(Gr,!1,!0);i._setVisible(Gr,!!t,!0),this.#e=null}setOCGState({state:e,preserveRB:t}){let s;for(let i of e){switch(i){case\"ON\":case\"OFF\":case\"Toggle\":s=i;continue}let r=this.#n.get(i);if(r)switch(s){case\"ON\":this.setVisibility(i,!0,t);break;case\"OFF\":this.setVisibility(i,!1,t);break;case\"Toggle\":this.setVisibility(i,!r.visible,t);break}}this.#e=null}get hasInitialVisibility(){return this.#t===null||this.getHash()===this.#t}getOrder(){return this.#n.size?this.#s?this.#s.slice():[...this.#n.keys()]:null}getGroup(e){return this.#n.get(e)||null}getHash(){if(this.#e!==null)return this.#e;let e=new al;for(let[t,s]of this.#n)e.update(`${t}:${s.visible}`);return this.#e=e.hexdigest()}[Symbol.iterator](){return this.#n.entries()}get serializable(){let e=new Map;for(let[t,s]of this.#n)e.set(t,s.serializable);return{data:this.#i,renderingIntent:this.renderingIntent,groupState:e}}static fromSerializable({data:e,renderingIntent:t,groupState:s}){return new n(e,t,s)}},Qd=class{#e=null;#n=null;#t=0;#s=0;#i=null;#r=null;get pagesNumber(){return this.#t}set pagesNumber(e){this.#t!==e&&(this.#t=this.#s=e,this.#e=null,this.#n=null)}#a(){if(this.#e)return;let e=this.#t,t=this.#e=new Uint32Array(e);for(let s=0;s<e;s++)t[s]=s+1;this.#n=new Int32Array(t)}#o(){let e=new Map,t=this.#e;for(let s=0,i=this.#t;s<i;s++){let r=t[s],a=e.get(r);a?a.push(s+1):e.set(r,[s+1])}return e}movePages(e,t,s){this.#a();let i=this.#e,r=t.length,a=new Uint32Array(r),o=0;for(let u=0;u<r;u++){let d=t[u]-1;a[u]=i[d],d<s&&o++}let l=this.#t,c=l-r,f=new Int32Array(l),h=Xt(s-o,0,c);for(let u=0,d=0;u<l;u++)e.has(u+1)||(i[d]=i[u],f[d++]=u+1);i.copyWithin(h+r,h,c),i.set(a,h),f.copyWithin(h+r,h,c),f.set(t,h),this.#n=f,l===this.#s&&i.every((u,d)=>u===d+1)&&(this.#e=null)}deletePages(e){this.#a();let t=this.#e,s=this.#o();this.#r={pageNumberToId:t.slice(),pagesNumber:this.#t,prevPageNumbers:this.#n.slice()};let i=this.#t-e.length;this.#t=i;let r=this.#e=new Uint32Array(i);this.#n=new Int32Array(i);let a=0,o=0;for(let l of e){let c=l-1;c!==a&&(r.set(t.subarray(a,c),o),o+=c-a),a=c+1}a<t.length&&r.set(t.subarray(a),o),this.#l(s,new Set(e))}cancelDelete(){this.#r&&(this.#e=this.#r.pageNumberToId,this.#t=this.#r.pagesNumber,this.#n=this.#r.prevPageNumbers,this.#r=null)}cleanSavedData(){this.#r=null}copyPages(e){this.#a(),this.#i={pageNumbers:e,pageIds:e.map(t=>this.#e[t-1])}}cancelCopy(){this.#i=null}pastePages(e){this.#a();let t=this.#e,s=this.#o(),{pageNumbers:i,pageIds:r}=this.#i,a=this.#t+i.length;this.#t=a;let o=this.#e=new Uint32Array(a);this.#n=new Int32Array(a),o.set(t.subarray(0,e),0),o.set(r,e),o.set(t.subarray(e),e+i.length),this.#l(s,null,e,i),this.#i=null}#l(e,t=null,s=-1,i=null){let r=this.#n,a=this.#e,o=s+(i?.length??0),l=new Map;for(let c=0,f=this.#t;c<f;c++){if(c>=s&&c<o){r[c]=-i[c-s];continue}let h=a[c],u=e.get(h),d=l.get(h)||0;if(t&&u)for(;d<u.length&&t.has(u[d]);)d++;r[c]=u?.[d],l.set(h,d+1)}}hasBeenAltered(){return this.#e!==null}#c(e=null){if(!this.#e)return null;let t=new Int32Array(this.#t).fill(-1),s=new Map;if(e)for(let i of e){let r=this.getPageId(i),a=s.get(r)??0;s.set(r,a+1),t[i-1]=a}else for(let i=0,r=this.#t;i<r;i++){let a=this.#e[i],o=s.get(a)??0;s.set(a,o+1),t[i]=o}return t}getPageMappingForSaving(e=null,t=this.#c()){e??=this.#o();let s=0;for(let r of e.values())s=Math.max(s,r.length);let i=new Array(s);for(let r=0;r<s;r++)i[r]={document:null,pageIndices:[],includePages:[]};for(let[r,a]of e)for(let o=0,l=a.length;o<l;o++)i[o].includePages.push([r-1,a[o]-1]);for(let{includePages:r,pageIndices:a}of i){r.sort((o,l)=>o[0]-l[0]);for(let o=0,l=r.length;o<l;o++)a.push(r[o][1]),r[o]=r[o][0]}return{pageInfos:i,copyLevels:t}}extractPages(e){e=Array.from(e).sort((s,i)=>s-i);let t=new Map;for(let s=0,i=e.length;s<i;s++){let r=this.getPageId(e[s]);t.getOrInsertComputed(r,io).push(s+1)}return this.getPageMappingForSaving(t,this.#c(e))}getPrevPageNumber(e){return this.#n?.[e-1]??0}getPageNumber(e){if(!this.#e)return e;let t=this.#e;for(let s=0,i=this.#t;s<i;s++)if(t[s]===e)return s+1;return 0}getPageId(e){return this.#e?.[e-1]??e}getMapping(){return this.#e?.subarray(0,this.pagesNumber)}},Xv=5e3;function Zd({bitmap:n,annotationBitmaps:e}){if(n?.close(),e)for(let[,,t]of e)t.close()}var ep=class{#e;#n=!1;#t;#s;#i=0;#r;#a;#o;#l;#c;#h;#f;imageCoordinates=null;recordedBBoxes=null;constructor({rendererWorker:e,renderTasks:t,canvas:s,canvasFactory:i,annotationCanvasMap:r,operatorListState:a,initParams:o,onFrame:l,onError:c}){this.#h=e,this.#f=t,this.#t=s,this.#s=i,this.#e=r,this.#c=a,this.#a=o,this.#r=o.renderTaskId,this.#l=l,this.#o=c}async initialize(e,t){try{await this.#h.promise}catch{return!1}if(!this.#h.messageHandler||this.#n)return!1;try{await this.#h.sendWithPromise(\"InitializeGraphics\",{...this.#a,width:this.#t.width,height:this.#t.height,transparency:e,optionalContentConfig:t.serializable})}catch(s){return this.#n||at(`Failed to initialize graphics in renderer worker: ${s.message}. Falling back to main-thread rendering.`),!1}return this.#n||this.#f.set(this.#r,this),!0}async executeOperatorList(e,t,s){let i=this.#h.messageHandler;if(!i)throw new Error(\"Renderer worker was destroyed during rendering.\");let{lastChunk:r}=e,a=e.argsArray.length,o=this.#c;if(o.sentLength<a){let f=o.sentLength;i.send(\"AppendOperatorList\",{pageProxyId:this.#a.pageProxyId,operatorListId:o.id,fnArray:e.fnArray.slice(f,a),argsArray:e.argsArray.slice(f,a)}),o.sentLength=a}let l=null;if(s&&this.#i<a){let f=this.#i;l=new Uint8Array(a-f);for(let h=f;h<a;h++)l[h-f]=s(h,e)?1:0;this.#i=a}let c=await this.#h.sendWithPromise(\"ExecuteOperatorList\",{renderTaskId:this.#r,operatorListIdx:t,operatorListLength:a,operationsFilterMask:l,lastChunk:r}).catch(f=>{if(!this.#n)throw f;return{operatorListIdx:t,aborted:!0}});if(c.aborted&&!this.#n)throw new Error(\"Render task was aborted in the renderer worker.\");if(r&&c.operatorListIdx===a){this.#f.delete(this.#r);let{recordedBBoxesBuffer:f,imageCoordinates:h}=c;f&&(this.recordedBBoxes=Cf.fromBuffer(f)),this.imageCoordinates=h??null}return c.operatorListIdx}cancel(){this.#n=!0,this.#f.delete(this.#r),this.#h.messageHandler?.send(\"CleanupRenderTask\",{renderTaskId:this.#r})}drawFrame(e){try{e.bitmap&&this.#s.getNoAlphaContext(this.#t).drawImage(e.bitmap,0,0),e.annotationBitmaps&&this.#d(e.annotationBitmaps)}catch(t){this.#o(t);return}finally{Zd(e)}this.#l()}#d(e){let t=this.#e,s=new Set;for(let[i,r,a]of e){let{canvas:o,context:l}=this.#s.create(a.width,a.height);if(l.drawImage(a,0,0),!r){t.set(i,o);continue}D5(o,r),s.has(i)?t.get(i).push(o):(s.add(i),t.set(i,[o]))}}},Tf=class n{#e=Promise.withResolvers();#n;#t;#s=null;#i=0;#r=new WeakMap;#a=[];#o=new Set;#l=null;#c=null;#h=0;#f=new Map;#d=null;#p=null;#g=null;static#u=0;static#m=new WeakSet;destroyed=!1;constructor({port:e=null,verbosity:t=_5(),enableHWA:s=!1,enableWebGPU:i=!1}={}){this.verbosity=t,this.#n=s,this.#t=i,e?this.#x(e):this.#v()}static get isAvailable(){return(!!fi.rendererSrc||fi.rendererPorts.length>0)&&typeof Worker<\"u\"&&Ot.isOffscreenCanvasSupported&&!!globalThis.document?.fonts}get promise(){return this.#e.promise}get messageHandler(){return this.#s}get port(){return this.#l}#b(){this.#s.on(\"RenderFrame\",t=>{let s=this.#f.get(t.renderTaskId);s?s.drawFrame(t):Zd(t)}),this.#e.resolve(),this.#s.send(\"configure\",{verbosity:this.verbosity,enableHWA:this.#n,enableWebGPU:this.#t});let e=this.#a;this.#a=null;for(let t of e)t()}#w(e){this.#a=null,this.#e.reject(e)}#x(e){n.#m.add(e),this.#l=e;let t=n.#u++,s=`main${t}`,i=`renderer${t}`;this.#c={sourceName:s,targetName:i};let r=new Ti(\"main\",\"renderer\",e);r.send(\"Connect\",{sourceName:i,targetName:s}),r.destroy(),this.#k(e,new Ti(s,i,e),!0)}#v(){try{let{rendererSrc:e}=fi;if(!e)throw new Error('No \"GlobalWorkerOptions.rendererSrc\" specified.');let t=new Worker(O5(e),{type:\"module\"});this.#k(t,new Ti(\"main\",\"renderer\",t),!1)}catch(e){this.#w(e)}}#k(e,t,s){let i=null,r=l=>{this.#d=null,clearTimeout(i),a.abort(),t.destroy(),s?this.#l=null:e.terminate(),this.#w(new Error(`Renderer worker failed to initialize: \"${l?.message??l}\".`))};this.#d=r;let a=new AbortController,o=(l,c)=>{if(!this.#s){r(c);return}l.preventDefault(),at(`Renderer worker failed: \"${c}\". Falling back to main-thread rendering.`),this.destroy()};e.addEventListener(\"error\",l=>o(l,l.error?.message??l.message),{signal:a.signal}),e.addEventListener(\"messageerror\",l=>o(l,\"Cannot deserialize a message.\"),{signal:a.signal}),s&&(i=setTimeout(()=>r(\"Connection timed out.\"),Xv)),t.on(\"ready\",l=>{if(!(l?.testObj instanceof Uint8Array)){r(\"TypedArray transfer test failed.\");return}let c=\"6.5.438\";if(c!==l.workerVersion){r(`The API version \"${c}\" does not match the Worker version \"${l.workerVersion}\".`);return}this.#d=null,clearTimeout(i),this.#s=t,s||(this.#p=e),this.#g=a,this.#b()})}destroy(){this.destroyed=!0,this.#l&&(this.#s&&(this.#j(this.#l),this.#s.send(\"Disconnect\",null)),n.#m.delete(this.#l),this.#l=null),this.#d?.(\"Worker was destroyed.\"),this.#g?.abort(),this.#g=null,this.#p?.terminate(),this.#p=null,this.#s?.destroy(),this.#s=null;for(let e of this.#o)e(new Error(\"Renderer worker was destroyed.\"));this.#o.clear()}#j(e){let{sourceName:t,targetName:s}=this.#c,i=new AbortController,r=setTimeout(()=>i.abort(),Xv);e.addEventListener(\"message\",({data:a})=>{a?.targetName!==t||a.sourceName!==s||(a.action===\"RenderFrame\"?Zd(a.data):a.action===\"Disconnected\"&&(clearTimeout(r),i.abort()))},{signal:i.signal})}static create({ports:e=[],...t}={}){let s=e.find(i=>!this.#m.has(i))??null;return!s&&e.length>0&&at(\"RendererWorker.create - no unused `rendererPorts` available, falling back to `rendererSrc`.\"),new n({...t,port:s})}sendWithPromise(e,t){let s=this.#s;if(!s)return Promise.reject(new Error(\"Renderer worker was destroyed.\"));let{promise:i,resolve:r,reject:a}=Promise.withResolvers();return this.#o.add(a),s.sendWithPromise(e,t).then(r,a),i.finally(()=>{this.#o.delete(a)})}#y(e,t){if(this.#a){this.#a.push(()=>this.#y(e,t));return}this.#s?.send(e,t)}#A(e,t,s,i,r=!1){try{if(this.#a){let a=r?structuredClone(t):t;this.#a.push(()=>this.#A(e,a,s,i));return}this.#s?.send(e,t)}catch(a){at(`RendererWorker - failed to send \"${e}\": ${a}`),this.#y(\"objFailed\",{id:s,pageProxyId:i,reason:a.message})}}sendCommonObj(e,t,s){this.#A(\"commonobj\",[e,t,s],e,null,t===\"Font\")}sendObj(e,t,s,i){this.#A(\"obj\",[e,t,s,i],e,t)}cleanup(e){this.#y(\"Cleanup\",{keepLoadedFonts:e})}cleanupPage(e){this.#y(\"cleanupPage\",{pageProxyId:e})}createRenderTask({pageProxyId:e,operatorList:t,params:s,pageColors:i,canvasFactory:r,annotationCanvasMap:a,onFrame:o,onError:l}){let{canvas:c,canvasContext:f,background:h}=s;if(!this.#s&&!this.#a||f||h&&typeof h!=\"string\"||i||s.recordForDebugger)return null;let u=this.#r.getOrInsertComputed(t,()=>({id:this.#i++,sentLength:0}));return new ep({rendererWorker:this,renderTasks:this.#f,canvas:c,canvasFactory:r,annotationCanvasMap:a,operatorListState:u,initParams:{pageProxyId:e,operatorListId:u.id,renderTaskId:this.#h++,hasAnnotationCanvasMap:!!a,recordOperations:s.recordOperations,recordImages:s.recordImages,partialFrames:s.partialFrames,transform:s.transform,viewport:s.viewport,background:h,pixelRatio:Qs.pixelRatio},onFrame:o,onError:l})}},Bk=1e5,Dk=30,ul=class n{#e=Promise.withResolvers();#n=null;#t=!1;#s=!!globalThis.FontInspector?.enabled;#i=null;#r=null;#a=null;#o=0;#l=0;#c=Qs.pixelRatio;#h=null;#f=null;#d=0;#p=0;#g=Object.create(null);#u=[];#m=null;#b=[];#w=null;static#x=new Map;static#v=new Map;static#k=new WeakMap;static#j=null;static#y=new Set;constructor({textContentSource:e,images:t,container:s,viewport:i}){if(e instanceof ReadableStream)this.#m=e;else if(typeof e==\"object\")this.#m=new ReadableStream({start(c){c.enqueue(e),c.close()}});else throw new Error('No \"textContentSource\" parameter specified.');this.#n=this.#f=s,this.#i=t,this.#p=i.scale*this.#c,this.#d=i.rotation,this.#a={div:null,properties:null,ctx:null};let{pageWidth:r,pageHeight:a,pageX:o,pageY:l}=i.rawDims;this.#w=[1,0,0,-1,-o,l+a],this.#l=r,this.#o=a,n.#R(),s.style.setProperty(\"--min-font-size\",n.#j),$r(s,i),this.#e.promise.finally(()=>{n.#y.delete(this),this.#a=null,this.#g=null}).catch(()=>{})}static get fontFamilyMap(){let{isWindows:e,isFirefox:t}=Ot.platform;return ze(this,\"fontFamilyMap\",new Map([[\"sans-serif\",`${e&&t?\"Calibri, \":\"\"}sans-serif`],[\"monospace\",`${e&&t?\"Lucida Console, \":\"\"}monospace`]]))}render(){this.#i&&this.#n.append(this.#i.render());let e=()=>{this.#h.read().then(({value:t,done:s})=>{if(s){this.#e.resolve();return}this.#r??=t.lang,Object.assign(this.#g,t.styles),this.#A(t.items),e()},this.#e.reject)};return this.#h=this.#m.getReader(),n.#y.add(this),e(),this.#e.promise}update({viewport:e}){let t=e.scale*Qs.pixelRatio,s=e.rotation;s!==this.#d&&(this.#d=s,$r(this.#f,{rotation:s})),t!==this.#p&&(this.#p=t,this.#c=Qs.pixelRatio)}cancel(){let e=new Ei(\"TextLayer task cancelled.\");this.#h?.cancel(e).catch(()=>{}),this.#h=null,this.#e.reject(e)}get textDivs(){return this.#b}get textContentItemsStr(){return this.#u}#A(e){if(this.#t)return;this.#a.ctx??=n.#_(this.#r);let t=this.#b,s=this.#u;for(let i of e){if(t.length>Bk){at(\"Ignoring additional textDivs for performance reasons.\"),this.#t=!0;return}if(i.str===void 0){if(i.type===\"beginMarkedContentProps\"||i.type===\"beginMarkedContent\"){let r=this.#n;this.#n=document.createElement(\"span\"),this.#n.classList.add(\"markedContent\"),i.id&&this.#n.setAttribute(\"id\",i.id),i.tag===\"Artifact\"&&(this.#n.ariaHidden=!0),r.append(this.#n)}else i.type===\"endMarkedContent\"&&(this.#n=this.#n.parentNode);continue}s.push(i.str),this.#T(i)}}#T(e){let t=document.createElement(\"span\"),s={angle:0,canvasWidth:0,hasText:e.str!==\"\",hasEOL:e.hasEOL,fontSize:0};this.#b.push(t);let i=Be.transform(this.#w,e.transform),r=Math.atan2(i[1],i[0]),a=this.#g[e.fontName];a.vertical&&(r+=Math.PI/2);let o=this.#s&&a.fontSubstitution||a.fontFamily;o=n.fontFamilyMap.get(o)||o;let l=Math.hypot(i[2],i[3]),c=l*n.#M(o,a,this.#r),f,h;r===0?(f=i[4],h=i[5]-c):(f=i[4]+c*Math.sin(r),h=i[5]-c*Math.cos(r));let u=t.style;u.left=`${(100*f/this.#l).toFixed(2)}%`,u.top=`${(100*h/this.#o).toFixed(2)}%`;let d=Math.round(l*100)/100;u.setProperty(\"--font-height\",`${d}px`),u.fontFamily=o,s.fontSize=d,t.setAttribute(\"role\",\"presentation\"),t.textContent=e.str,t.dir=e.dir,this.#s&&(t.dataset.fontName=a.fontSubstitutionLoadedName||e.fontName),r!==0&&(s.angle=r*(180/Math.PI));let p=!1;if(e.str.length>1)p=!0;else if(e.str!==\" \"&&e.transform[0]!==e.transform[3]){let m=Math.abs(e.transform[0]),g=Math.abs(e.transform[3]);m!==g&&Math.max(m,g)/Math.min(m,g)>1.5&&(p=!0)}if(p&&(s.canvasWidth=a.vertical?e.height:e.width),this.#a.div=t,this.#a.properties=s,this.#I(this.#a),s.hasText&&this.#n.append(t),s.hasEOL){let m=document.createElement(\"br\");m.setAttribute(\"role\",\"presentation\"),this.#n.append(m)}}#I(e){let{div:t,properties:s,ctx:i}=e,{style:r}=t,{canvasWidth:a,fontSize:o}=s;if(a!==0&&o!==0&&s.hasText){let{fontFamily:l}=r,c=this.#c,f=n.#O(o*this.#p/c)*c;n.#C(i,f,l);let{width:h}=i.measureText(t.textContent);h>0&&r.setProperty(\"--scale-x\",a*f/(h*o))}s.angle!==0&&r.setProperty(\"--rotate\",`${s.angle}deg`)}static cleanup(){if(!(this.#y.size>0)){this.#x.clear();for(let{canvas:e}of this.#v.values())e.remove();this.#v.clear()}}static#_(e=null){let t=this.#v.get(e||=\"\");if(!t){let s=document.createElement(\"canvas\");s.style.cssText=\"position:absolute;top:0;left:0;width:0;height:0;display:none;letter-spacing:normal;word-spacing:normal\",s.lang=e,document.body.append(s),t=s.getContext(\"2d\",{alpha:!1,willReadFrequently:!0}),this.#v.set(e,t),this.#k.set(t,{size:0,family:\"\"})}return t}static#O(e){e=Math.fround(e);let t=Math.fround(e*((1<<17)+1));return Math.fround(t-Math.fround(t-e))}static#C(e,t,s){let i=this.#k.get(e);t===i.size&&s===i.family||(e.font=`${t}px ${s}`,i.size=t,i.family=s)}static#R(){if(this.#j!==null)return;let e=document.createElement(\"div\");e.style.opacity=0,e.style.lineHeight=1,e.style.fontSize=\"1px\",e.style.position=\"absolute\",e.textContent=\"X\",document.body.append(e),this.#j=e.getBoundingClientRect().height,e.remove()}static#M(e,t,s){let i=this.#x.get(e);if(i)return i;let r=this.#_(s);this.#C(r,Dk,e);let a=r.measureText(\"\"),o=a.fontBoundingBoxAscent,l=Math.abs(a.fontBoundingBoxDescent),c=.8;return o?c=o/(o+l):(Ot.platform.isFirefox&&at(\"Enable the `dom.textMetrics.fontBoundingBox.enabled` preference in `about:config` to improve TextLayer rendering.\"),t.ascent?c=t.ascent:t.descent&&(c=1+t.descent)),this.#x.set(e,c),c}},Nk=100;function rm(n={}){let e=new tp,{docId:t}=e,s=n.url?hk(n.url):null,i=n.data?uk(n.data):null,r=n.httpHeaders||null,a=n.withCredentials===!0,o=n.password??null,l=n.range instanceof Ef?n.range:null,c=Number.isInteger(n.rangeChunkSize)&&n.rangeChunkSize>0?n.rangeChunkSize:2**16,f=n.worker instanceof dl?n.worker:null,h=n.verbosity,u=typeof n.docBaseUrl==\"string\"&&!h0(n.docBaseUrl)?n.docBaseUrl:null,d=lf(n.cMapUrl),p=n.cMapPacked!==!1,m=lf(n.iccUrl),g=lf(n.standardFontDataUrl),b=lf(n.wasmUrl),x=n.stopAtErrors!==!0,w=Number.isInteger(n.maxImageSize)&&n.maxImageSize>-1?n.maxImageSize:-1,v=typeof n.isOffscreenCanvasSupported==\"boolean\"?n.isOffscreenCanvasSupported:!Ms,k=typeof n.isImageDecoderSupported==\"boolean\"?n.isImageDecoderSupported:!Ms,j=Number.isInteger(n.canvasMaxAreaInBytes)?n.canvasMaxAreaInBytes:-1,A=typeof n.disableFontFace==\"boolean\"?n.disableFontFace:Ms,S=n.fontExtraProperties===!0,q=n.enableXfa===!0,_=n.ownerDocument||globalThis.document,I=n.disableRange===!0,C=n.disableStream===!0,T=n.disableAutoFetch===!0,M=n.pdfBug===!0,E=n.CanvasFactory||(Ms?pd:Ad),G=n.FilterFactory||(Ms?dd:Sd),D=n.BinaryDataFactory||(Ms?md:qf),N=n.enableHWA===!0,K=n.enableWebGPU===!0;K&&M5();let ee=n.useWasm!==!1,de=n.pagesMapper||new Qd,X=null,ue=typeof n.useSystemFonts==\"boolean\"?n.useSystemFonts:!Ms&&!A,re=typeof n.useWorkerFetch==\"boolean\"?n.useWorkerFetch:!!(D===qf&&d&&p&&g&&b&&Xo(d,document.baseURI)&&Xo(g,document.baseURI)&&Xo(b,document.baseURI)),H=n.disableWorkerRendering===!0||!v||_!==globalThis.document||!!X||!Tf.isAvailable;Y7(h);let O={canvasFactory:new E({ownerDocument:_,enableHWA:N}),filterFactory:new G({docId:t,ownerDocument:_}),binaryDataFactory:re?null:new D({cMapUrl:d,standardFontDataUrl:g,wasmUrl:b})};if(f||(f=dl.create({verbosity:h,port:fi.workerPort}),e._worker=f),!H){let $=Tf.create({verbosity:h,enableHWA:N,enableWebGPU:K,ports:fi.rendererPorts});$.promise.catch(te=>{$.destroyed||(at(`Renderer worker disabled: ${te.message}`),$.destroy())}),e._rendererWorker=$}let z={docId:t,apiVersion:\"6.5.438\",data:i,password:o,disableAutoFetch:T,rangeChunkSize:c,docBaseUrl:u,enableXfa:q,evaluatorOptions:{maxImageSize:w,disableFontFace:A,ignoreErrors:x,isOffscreenCanvasSupported:v,isImageDecoderSupported:k,canvasMaxAreaInBytes:j,fontExtraProperties:S,useSystemFonts:ue,useWasm:ee,useWorkerFetch:re,cMapUrl:d,cMapPacked:p,iccUrl:m,standardFontDataUrl:g,wasmUrl:b}},V={ownerDocument:_,pdfBug:M,styleElement:X,rendererWorker:e._rendererWorker,enableWebGPU:K,loadingParams:{disableAutoFetch:T,enableXfa:q}};return f.promise.then(function(){if(f.destroyed)throw new Error(\"Worker was destroyed\");let $=f.messageHandler.sendWithPromise(\"GetDocRequest\",z,i?[i.buffer]:null),te;if(!i)if(l)te=new Ed({pdfDataRangeTransport:l,disableRange:I,disableStream:C});else if(s){let ie=Pk(s);te=new ie({url:s,httpHeaders:r,withCredentials:a,rangeChunkSize:c,disableRange:I,disableStream:C})}else throw new Error(\"getDocument - expected either `data`, `range`, or `url` parameter.\");return $.then(ie=>{if(f.destroyed)throw new Error(\"Worker was destroyed\");let le=new Ti(t,ie,f.port),Ae=new ip(le,e,te,V,O,de);if(e._transport=Ae,e.destroyed)throw new Error(\"Loading aborted\");le.send(\"Ready\",null)})}).catch(e._capability.reject).finally(e._setupCapability.resolve),e}var tp=class n{static#e=0;_capability=Promise.withResolvers();_setupCapability=Promise.withResolvers();_transport=null;_worker=null;_rendererWorker=null;docId=`d${n.#e++}`;destroyed=!1;onPassword=null;onProgress=null;get promise(){return this._capability.promise}async destroy(){this.destroyed=!0,this._capability.promise.catch(()=>{});try{this._worker?.port&&(this._worker._pendingDestroy=!0),await this._setupCapability.promise,await this._transport?.destroy()}catch(e){throw this._worker?.port&&delete this._worker._pendingDestroy,e}finally{this._rendererWorker?.destroy(),this._rendererWorker=null}this._transport=null,this._worker?.destroy(),this._worker=null}async getData(){return this._transport.getData()}},Ef=class{#e=Promise.withResolvers();#n=null;constructor(e,t,s=!1,i=null){this.length=e,this.initialData=t,this.progressiveDone=s,this.contentDispositionFilename=i}onDataRange(e,t){this.#n({type:\"range\",begin:e,chunk:t})}onDataProgressiveRead(e){this.#e.promise.then(()=>{this.#n({type:\"progressiveRead\",chunk:e})})}onDataProgressiveDone(){this.#e.promise.then(()=>{this.#n({type:\"progressiveDone\"})})}transportReady(e){this.#n=e,this.#e.resolve()}requestDataRange(e,t){Mt(\"Abstract method PDFDataRangeTransport.requestDataRange\")}abort(){}},np=class{constructor(e,t){this._pdfInfo=e,this._transport=t}get pagesMapper(){return this._transport.pagesMapper}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return ze(this,\"isPureXfa\",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(e){return this._transport.getPage(e)}getPageIndex(e){return this._transport.getPageIndex(e)}getDestinations(){return this._transport.getDestinations()}getDestination(e){return this._transport.getDestination(e)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getAttachmentContent(e){return this._transport.getAttachmentContent(e)}getAnnotationsByType(e,t){return this._transport.getAnnotationsByType(e,t)}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:e=\"display\"}={}){let{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getOptionalContentConfig(t)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(e){return this._transport.saveDocument(e)}extractPages(e,t=null){return this._transport.extractPages(e,t)}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(e=!1){return this._transport.startCleanup(e||this.isPureXfa)}cachedPageNumber(e){return this._transport.cachedPageNumber(e)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}getSignatures(){return this._transport.getSignatures()}getSignatureData(e){return this._transport.getSignatureData(e)}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}},sp=class n{#e=!1;#n=null;static#t=0;constructor(e,t,s,i,r=!1){this._pageIndex=e,this._id=n.#t++,this._pageInfo=t,this._transport=s,this._stats=r?new Af:null,this._pdfBug=r,this.commonObjs=s.commonObjs,this.objs=new hl,this._intentStates=new Map,this.destroyed=!1,this.recordedBBoxes=null,this.#n=i,this.imageCoordinates=null}clone(e){let t=new n(e,this._pageInfo,this._transport,this.#n,this._pdfBug);return t.clonedFromIndex=this.clonedFromIndex??this._pageIndex,this._transport.updatePage(t),t}get pageNumber(){return this._pageIndex+1}set pageNumber(e){this._pageIndex=e-1,this._transport.updatePage(this)}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:e,rotation:t=this.rotate,offsetX:s=0,offsetY:i=0,dontFlip:r=!1}={}){return new sl({viewBox:this.view,userUnit:this.userUnit,scale:e,rotation:t,offsetX:s,offsetY:i,dontFlip:r})}getAnnotations({intent:e=\"display\"}={}){let{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getAnnotations(this._pageIndex,t)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return ze(this,\"isPureXfa\",!!this._transport._htmlForXfa)}async getXfa(){return this._transport._htmlForXfa?.children[this._pageIndex]||null}render({canvasContext:e,canvas:t=e.canvas,viewport:s,intent:i=\"display\",annotationMode:r=Ii.ENABLE,transform:a=null,background:o=null,optionalContentConfigPromise:l=null,annotationCanvasMap:c=null,pageColors:f=null,printAnnotationStorage:h=null,isEditing:u=!1,recordImages:d=!1,recordOperations:p=!1,partialFrames:m=!1,operationsFilter:g=null}){this._stats?.time(\"Overall\");let b=this._transport.getRenderingIntent(i,r,h,u),{renderingIntent:x,cacheKey:w}=b;this.#e=!1,l||=this._transport.getOptionalContentConfig(x);let v=this._intentStates.getOrInsertComputed(w,Ju);v.streamReaderCancelTimeout&&(clearTimeout(v.streamReaderCancelTimeout),v.streamReaderCancelTimeout=null);let k=!!(x&Os.PRINT);v.displayReadyCapability||(v.displayReadyCapability=Promise.withResolvers(),v.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time(\"Page Request\"),this._pumpOperatorList(b));let j=!!(this._pdfBug&&globalThis.StepperManager?.enabled),A=!!t&&!this.recordedBBoxes&&(p||j),S=!!t&&!this.imageCoordinates&&d,q=C=>{if(v.renderTasks.delete(_),A){let{recordedBBoxes:T}=_;T&&(_.stepper?.setOperatorBBoxes(T,_.debugMetadata),p&&(this.recordedBBoxes=T))}S&&!C&&(this.imageCoordinates=_.imageCoordinates),k&&(this.#e=!0),this.#s(),C?(_.capability.reject(C),this._abortOperatorList({intentState:v,reason:C instanceof Error?C:new Error(C)})):_.capability.resolve(),this._stats&&(this._stats.timeEnd(\"Rendering\"),this._stats.timeEnd(\"Overall\"),globalThis.Stats?.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},_=new ap({callback:q,params:{canvas:t,canvasContext:e,viewport:s,transform:a,background:o,recordOperations:A,recordImages:S,partialFrames:m,recordForDebugger:j},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:c,operatorList:v.operatorList,pageIndex:this._pageIndex,pageProxyId:this._id,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!k,pdfBug:this._pdfBug,pageColors:f,operationsFilter:g,rendererWorker:this._transport.rendererWorker,waitForGPU:()=>this._transport.waitForGPU()});(v.renderTasks||=new Set).add(_);let I=_.task;return Promise.all([v.displayReadyCapability.promise,l]).then(async([C,T])=>{if(this.destroyed){q();return}if(this._stats?.time(\"Rendering\"),!(T.renderingIntent&x))throw new Error(\"Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.\");await _.initializeGraphics({transparency:C,optionalContentConfig:T}),_.operatorListChanged()}).catch(q),I}getOperatorList({intent:e=\"display\",annotationMode:t=Ii.ENABLE,printAnnotationStorage:s=null,isEditing:i=!1}={}){function r(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(l))}let a=this._transport.getRenderingIntent(e,t,s,i,!0),o=this._intentStates.getOrInsertComputed(a.cacheKey,Ju),l;return o.opListReadCapability||(l=Object.create(null),l.operatorListChanged=r,o.opListReadCapability=Promise.withResolvers(),(o.renderTasks||=new Set).add(l),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time(\"Page Request\"),this._pumpOperatorList(a)),o.opListReadCapability.promise}streamTextContent({includeMarkedContent:e=!1,disableNormalization:t=!1}={}){return this._transport.messageHandler.sendWithStream(\"GetTextContent\",{pageId:this.#n.getPageId(this._pageIndex+1)-1,pageIndex:this._pageIndex,includeMarkedContent:e===!0,disableNormalization:t===!0},{highWaterMark:100,size:i=>i.items.length})}async getTextContent(e={}){if(this._transport._htmlForXfa)return this.getXfa().then(r=>il.textContent(r));let s=this.streamTextContent(e).getReader(),i={items:[],styles:Object.create(null),lang:null};for(;;){let{value:r,done:a}=await s.read();if(a)break;i.lang??=r.lang,Object.assign(i.styles,r.styles),i.items.push(...r.items)}return i}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;let e=[];for(let t of this._intentStates.values())if(this._abortOperatorList({intentState:t,reason:new Error(\"Page was destroyed.\"),force:!0}),!t.opListReadCapability)for(let s of t.renderTasks)e.push(s.completed),s.cancel();return this.objs.clear(),this._transport.cleanupPage(this._id),this.#e=!1,Promise.all(e)}cleanup(e=!1){this.#e=!0;let t=this.#s();return e&&t&&(this._stats&&=new Af),t}#s(){if(!this.#e||this.destroyed)return!1;for(let{renderTasks:e,operatorList:t}of this._intentStates.values())if(e.size>0||!t.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),this._transport.cleanupPage(this._id),this.#e=!1,!0}_startRenderPage(e,t){let s=this._intentStates.get(t);s&&(this._stats?.timeEnd(\"Page Request\"),s.displayReadyCapability?.resolve(e))}_renderPageChunk(e,t){for(let s=0,i=e.length;s<i;s++)t.operatorList.fnArray.push(e.fnArray[s]),t.operatorList.argsArray.push(e.argsArray[s]);t.operatorList.lastChunk=e.lastChunk,t.operatorList.separateAnnots=e.separateAnnots;for(let s of t.renderTasks)s.operatorListChanged();e.lastChunk&&this.#s()}_pumpOperatorList({renderingIntent:e,cacheKey:t,annotationStorageSerializable:s,modifiedIds:i}){let{map:r,transfer:a}=s,l=this._transport.messageHandler.sendWithStream(\"GetOperatorList\",{pageId:this.#n.getPageId(this._pageIndex+1)-1,pageIndex:this._pageIndex,pageProxyId:this._id,intent:e,cacheKey:t,annotationStorage:r,modifiedIds:i},void 0,a).getReader(),c=this._intentStates.get(t);c.streamReader=l;let f=()=>{l.read().then(({value:h,done:u})=>{if(u){c.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(h,c),f())},h=>{if(c.streamReader=null,!this._transport.destroyed){if(c.operatorList){c.operatorList.lastChunk=!0;for(let u of c.renderTasks)u.operatorListChanged();this.#s()}if(c.displayReadyCapability)c.displayReadyCapability.reject(h);else if(c.opListReadCapability)c.opListReadCapability.reject(h);else throw h}})};f()}_abortOperatorList({intentState:e,reason:t,force:s=!1}){if(e.streamReader){if(e.streamReaderCancelTimeout&&(clearTimeout(e.streamReaderCancelTimeout),e.streamReaderCancelTimeout=null),!s){if(e.renderTasks.size>0)return;if(t instanceof nl){let i=Nk;t.extraDelay>0&&t.extraDelay<1e3&&(i+=t.extraDelay),e.streamReaderCancelTimeout=setTimeout(()=>{e.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:e,reason:t,force:!0})},i);return}}if(e.streamReader.cancel(new Ei(t.message)).catch(()=>{}),e.streamReader=null,!this._transport.destroyed){for(let[i,r]of this._intentStates)if(r===e){this._intentStates.delete(i);break}this.cleanup()}}}get stats(){return this._stats}},dl=class n{#e=Promise.withResolvers();#n=null;#t=null;#s=null;static#i=0;static#r=!1;static#a=new WeakMap;static{Ms&&(this.#r=!0,fi.workerSrc||=\"./pdf.worker.mjs\")}constructor({name:e=null,port:t=null,verbosity:s=_5()}={}){if(this.name=e,this.destroyed=!1,this.verbosity=s,t){if(n.#a.has(t))throw new Error(\"Cannot use more than one PDFWorker per port.\");n.#a.set(t,this),this.#l(t)}else this.#c()}get promise(){return this.#e.promise}#o(){this.#e.resolve(),this.#n.send(\"configure\",{verbosity:this.verbosity})}get port(){return this.#t}get messageHandler(){return this.#n}#l(e){this.#t=e,this.#n=new Ti(\"main\",\"worker\",e),this.#n.on(\"ready\",()=>{}),this.#o()}#c(){if(n.#r||n.#f){this.#h();return}let{workerSrc:e}=n;try{let t=new Worker(O5(e),{type:\"module\"}),s=new Ti(\"main\",\"worker\",t),i=()=>{r.abort(),s.destroy(),t.terminate(),this.destroyed?this.#e.reject(new Error(\"Worker was destroyed\")):this.#h()},r=new AbortController;t.addEventListener(\"error\",()=>{this.#s||i()},{signal:r.signal}),s.on(\"ready\",a=>{if(r.abort(),this.destroyed||!(a instanceof Uint8Array)){i();return}this.#n=s,this.#t=t,this.#s=t,this.#o()})}catch{c0(\"The worker has been disabled.\"),this.#h()}}#h(){n.#r||(at(\"Setting up fake worker.\"),n.#r=!0),n._setupFakeWorkerGlobal.then(e=>{if(this.destroyed){this.#e.reject(new Error(\"Worker was destroyed\"));return}let t=new hd;this.#t=t;let s=`fake${n.#i++}`,i=new Ti(s+\"_worker\",s,t);e.setup(i,t),this.#n=new Ti(s,s+\"_worker\",t),this.#o()}).catch(e=>{this.#e.reject(new Error(`Setting up fake worker failed: \"${e.message}\".`))})}destroy(){this.destroyed=!0,this.#s?.terminate(),this.#s=null,n.#a.delete(this.#t),this.#t=null,this.#n?.destroy(),this.#n=null}static create(e){let t=this.#a.get(e?.port);if(t){if(t._pendingDestroy)throw new Error(\"PDFWorker.create - the worker is being destroyed.\\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.\");return t}return new n(e)}static get workerSrc(){if(fi.workerSrc)return fi.workerSrc;throw new Error('No \"GlobalWorkerOptions.workerSrc\" specified.')}static get#f(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){return ze(this,\"_setupFakeWorkerGlobal\",(async()=>this.#f?this.#f:(await import(this.workerSrc)).WorkerMessageHandler)())}},ip=class{downloadInfoCapability=Promise.withResolvers();#e=null;#n=!1;#t=new Map;#s=null;#i=new Map;#r=new Map;#a=new Map;#o=null;#l=null;constructor(e,t,s,i,r,a){this.messageHandler=e,this.loadingTask=t,this.#s=s,this.commonObjs=new hl,this.fontLoader=new qd({ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this.rendererWorker=i.rendererWorker,this.loadingParams=i.loadingParams,this._params=i,this.canvasFactory=r.canvasFactory,this.filterFactory=r.filterFactory,this.binaryDataFactory=r.binaryDataFactory,this.pagesMapper=a,this.destroyed=!1,this.destroyCapability=null,this.setupMessageHandler()}updatePage(e){this.#i.set(e._id,e),this.#r.set(e._pageIndex,Promise.resolve(e))}#c(e,t=null){return this.#t.getOrInsertComputed(e,()=>this.messageHandler.sendWithPromise(e,t))}#h({loaded:e,total:t}){this.loadingTask.onProgress?.({loaded:e,total:t,percent:t?Xt(Math.round(e/t*100),0,100):NaN})}get annotationStorage(){return ze(this,\"annotationStorage\",new ll)}getRenderingIntent(e,t=Ii.ENABLE,s=null,i=!1,r=!1){let a=Os.DISPLAY,o=ol;switch(e){case\"any\":a=Os.ANY;break;case\"display\":break;case\"print\":a=Os.PRINT;break;default:at(`getRenderingIntent - invalid intent: ${e}`)}let l=a&Os.PRINT&&s instanceof jf?s:this.annotationStorage;switch(t){case Ii.DISABLE:a+=Os.ANNOTATIONS_DISABLE;break;case Ii.ENABLE:break;case Ii.ENABLE_FORMS:a+=Os.ANNOTATIONS_FORMS;break;case Ii.ENABLE_STORAGE:a+=Os.ANNOTATIONS_STORAGE,o=l.serializable;break;default:at(`getRenderingIntent - invalid annotationMode: ${t}`)}i&&(a+=Os.IS_EDITING),r&&(a+=Os.OPLIST);let{ids:c,hash:f}=l.modifiedIds,h=[a,o.hash,f];return{renderingIntent:a,cacheKey:h.join(\"_\"),annotationStorageSerializable:o,modifiedIds:c}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),this.#o?.reject(new Error(\"Worker was destroyed during onPassword callback\"));let e=[];for(let s of this.#i.values())e.push(s._destroy());this.#i.clear(),this.#r.clear(),this.#a.clear(),Object.hasOwn(this,\"annotationStorage\")&&this.annotationStorage.resetModified();let t=this.messageHandler.sendWithPromise(\"Terminate\",null);return e.push(t),Promise.all(e).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#t.clear(),this.filterFactory.destroy(),ul.cleanup(),this.#s?.cancelAllRequests(new Ei(\"Worker was terminated.\")),this.messageHandler?.destroy(),this.messageHandler=null,this.rendererWorker=null,this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){let{messageHandler:e,loadingTask:t}=this;e.on(\"GetReader\",(i,r)=>{yn(this.#s,\"GetReader - no `BasePDFStream` instance available.\"),this.#e=this.#s.getFullReader(),this.#e.onProgress=a=>this.#h(a),r.onPull=()=>{this.#e.read().then(function({value:a,done:o}){if(o){r.close();return}yn(a instanceof ArrayBuffer,\"GetReader - expected an ArrayBuffer.\"),r.enqueue(new Uint8Array(a),1,[a])}).catch(a=>{r.error(a)})},r.onCancel=a=>{this.#e.cancel(a),r.ready.catch(o=>{if(!this.destroyed)throw o})}}),e.on(\"ReaderHeadersReady\",async i=>{await this.#e.headersReady;let{isStreamingSupported:r,isRangeSupported:a,contentLength:o}=this.#e;return r&&a&&(this.#e.onProgress=null),{isStreamingSupported:r,isRangeSupported:a,contentLength:o}}),e.on(\"GetRangeReader\",(i,r)=>{yn(this.#s,\"GetRangeReader - no `BasePDFStream` instance available.\");let a=this.#s.getRangeReader(i.begin,i.end);if(!a){r.close();return}r.onPull=()=>{a.read().then(function({value:o,done:l}){if(l){r.close();return}yn(o instanceof ArrayBuffer,\"GetRangeReader - expected an ArrayBuffer.\"),r.enqueue(new Uint8Array(o),1,[o])}).catch(o=>{r.error(o)})},r.onCancel=o=>{a.cancel(o),r.ready.catch(l=>{if(!this.destroyed)throw l})}}),e.on(\"GetDoc\",({pdfInfo:i})=>{this.pagesMapper.pagesNumber=i.numPages,this._numPages=i.numPages,this._htmlForXfa=i.htmlForXfa,delete i.htmlForXfa,t._capability.resolve(new np(i,this))}),e.on(\"DocException\",i=>{t._capability.reject(ks(i))}),e.on(\"PasswordRequest\",i=>{this.#o=Promise.withResolvers();try{if(!t.onPassword)throw ks(i);let r=a=>{a instanceof Error?this.#o.reject(a):this.#o.resolve({password:a})};t.onPassword(r,i.code)}catch(r){this.#o.reject(r)}return this.#o.promise}),e.on(\"DataLoaded\",i=>{this.#h({loaded:i.length,total:i.length}),this.downloadInfoCapability.resolve(i)}),e.on(\"StartRenderPage\",i=>{if(this.destroyed)return;this.#i.get(i.pageProxyId)._startRenderPage(i.transparency,i.cacheKey)});let s=new Xd({messageHandler:e,commonObjs:this.commonObjs,fontLoader:this.fontLoader,pageCache:this.#i,pdfBug:this._params.pdfBug});this.rendererWorker?.promise.then(()=>{this.rendererWorker?.messageHandler?.on(\"FontFallback\",i=>this.destroyed?null:e.sendWithPromise(\"FontFallback\",i))},()=>{}),e.on(\"commonobj\",([i,r,a])=>{if(this.destroyed)return null;let{rendererWorker:o}=this;if(r===\"CopyLocalImage\"){if(this.commonObjs.has(i))return null;let l=s.resolveCommonObject(i,r,a);return l&&o?.sendCommonObj(i,\"Image\",this.commonObjs.get(i)),l}return o?.sendCommonObj(i,r,a),this.commonObjs.has(i)||(s.resolveCommonObject(i,r,a),r===\"Pattern\"&&this.commonObjs.get(i)[0]===\"Mesh\"&&(this.#n=!0)),null}),e.on(\"obj\",([i,r,a,o])=>{this.destroyed||(a===\"Pattern\"&&o[0]===\"Mesh\"&&(this.#n=!0),s.resolveObject(i,r,a,o)&&this.rendererWorker?.sendObj(i,r,a,o))}),e.on(\"DocProgress\",i=>{this.destroyed||this.#h(i)}),e.on(\"FetchBinaryData\",async i=>{if(this.destroyed)throw new Error(\"Worker was destroyed.\");if(!this.binaryDataFactory)throw new Error(\"`BinaryDataFactory` not initialized, see the `useWorkerFetch` parameter.\");return this.binaryDataFactory.fetch(i)})}getData(){return this.messageHandler.sendWithPromise(\"GetData\",null)}saveDocument(e=null){this.annotationStorage.size<=0&&at(\"saveDocument called while `annotationStorage` is empty, please use the getData-method instead.\");let{map:t,transfer:s}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise(\"SaveDocument\",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,supportsPrintToPDF:this.#l!==null,filename:this.#e?.filename??null},s).finally(()=>{this.#l=null,this.annotationStorage.resetModified()})}extractPages(e,t=null){let s={pageInfos:e},i,r=globalThis.ImageBitmap;if(typeof r==\"function\"){let a=Array.isArray(e)?e:[e];for(let o of a)o?.image instanceof r&&(i||=[]).push(o.image)}if(this.annotationStorage.size>0){let a=this.annotationStorage.serializable,{map:o}=a;a.transfer?.length&&(i?i.push(...a.transfer):i=a.transfer);let l=this.pagesMapper.getMapping();if(l){let c=new Map;for(let[f,h]of o){if(h?.pageIndex!==void 0&&h.pageIndex>=0&&h.pageIndex<l.length){let u=t?.[h.pageIndex]??0,d=l[h.pageIndex]-1;if(d!==h.pageIndex||u!==0){c.set(f,{...h,pageIndex:d,copyLevel:u});continue}}c.set(f,h)}o=c}s.annotationStorage=o}return this.messageHandler.sendWithPromise(\"ExtractPages\",s,i).finally(()=>{this.annotationStorage.resetModified()})}waitForGPU(){return this._params.enableWebGPU&&this.#n&&!P5()?M5():null}getPage(e){if(!Number.isInteger(e)||e<=0||e>this.pagesMapper.pagesNumber)return Promise.reject(new Error(\"Invalid page request.\"));let t=e-1,s=this.pagesMapper.getPageId(e)-1,i=this.#r.get(t);if(i)return i;let r=this.messageHandler.sendWithPromise(\"GetPage\",{pageIndex:s}).then(a=>{if(this.destroyed)throw new Error(\"Transport destroyed\");a.refStr&&this.#a.set(a.refStr,s);let o=new sp(t,a,this,this.pagesMapper,this._params.pdfBug);return this.#i.set(o._id,o),o});return this.#r.set(t,r),r}async getPageIndex(e){if(!fd(e))throw new Error(\"Invalid pageIndex request.\");let t=await this.messageHandler.sendWithPromise(\"GetPageIndex\",{num:e.num,gen:e.gen}),s=this.pagesMapper.getPageNumber(t+1);if(s===0)throw new Error(\"GetPageIndex: page has been removed.\");return s-1}getAnnotations(e,t){return this.messageHandler.sendWithPromise(\"GetAnnotations\",{pageIndex:this.pagesMapper.getPageId(e+1)-1,intent:t})}getFieldObjects(){return this.#c(\"GetFieldObjects\")}getSignatures(){return this.#c(\"GetSignatures\")}getSignatureData(e){return this.messageHandler.sendWithPromise(\"GetSignatureData\",e)}hasJSActions(){return this.#c(\"HasJSActions\")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise(\"GetCalculationOrderIds\",null)}getDestinations(){return this.messageHandler.sendWithPromise(\"GetDestinations\",null)}getDestination(e){return typeof e!=\"string\"?Promise.reject(new Error(\"Invalid destination request.\")):this.messageHandler.sendWithPromise(\"GetDestination\",{id:e})}getPageLabels(){return this.messageHandler.sendWithPromise(\"GetPageLabels\",null)}getPageLayout(){return this.messageHandler.sendWithPromise(\"GetPageLayout\",null)}getPageMode(){return this.messageHandler.sendWithPromise(\"GetPageMode\",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise(\"GetViewerPreferences\",null)}getOpenAction(){return this.messageHandler.sendWithPromise(\"GetOpenAction\",null)}getAttachments(){return this.messageHandler.sendWithPromise(\"GetAttachments\",null)}getAttachmentContent(e){return this.messageHandler.sendWithPromise(\"GetAttachmentContent\",e)}getAnnotationsByType(e,t){return this.messageHandler.sendWithPromise(\"GetAnnotationsByType\",{types:e,pageIndexesToSkip:t})}getDocJSActions(){return this.#c(\"GetDocJSActions\")}getPageJSActions(e){return this.messageHandler.sendWithPromise(\"GetPageJSActions\",{pageIndex:this.pagesMapper.getPageId(e+1)-1})}getStructTree(e){return this.messageHandler.sendWithPromise(\"GetStructTree\",{pageIndex:this.pagesMapper.getPageId(e+1)-1})}getOutline(){return this.messageHandler.sendWithPromise(\"GetOutline\",null)}getOptionalContentConfig(e){let t=\"GetOptionalContentConfig\";return this.#t.getOrInsertComputed(t,()=>this.messageHandler.sendWithPromise(t,null).catch(s=>(at(`${t}: \"${s}\".`),null))).then(s=>new Jd(s,e))}getPermissions(){return this.messageHandler.sendWithPromise(\"GetPermissions\",null)}getMetadata(){let e=\"GetMetadata\";return this.#t.getOrInsertComputed(e,()=>this.messageHandler.sendWithPromise(e,null).then(t=>({info:t[0],metadata:t[1]?new Hd(t[1]):null,contentDispositionFilename:this.#e?.filename??null,contentLength:this.#e?.contentLength??null,hasStructTree:t[2]})))}getMarkInfo(){return this.messageHandler.sendWithPromise(\"GetMarkInfo\",null)}async startCleanup(e=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise(\"Cleanup\",null);for(let t of this.#i.values())if(!t.cleanup())throw new Error(`startCleanup: Page ${t.pageNumber} is currently rendering.`);this.commonObjs.clear(),e||this.fontLoader.clear(),this.rendererWorker?.cleanup(e),this.#t.clear(),this.filterFactory.destroy(!0),ul.cleanup()}}cleanupPage(e){this.destroyed||this.messageHandler.send(\"CleanupPage\",{pageProxyId:e}),this.rendererWorker?.cleanupPage(e)}cachedPageNumber(e){if(!fd(e))return null;let t=e.gen===0?`${e.num}R`:`${e.num}R${e.gen}`,s=this.#a.get(t);if(s>=0){let i=this.pagesMapper.getPageNumber(s+1);if(i!==0)return i}return null}},rp=class{_internalRenderTask=null;onContinue=null;onError=null;onFrame=null;constructor(e){this._internalRenderTask=e}get promise(){return this._internalRenderTask.capability.promise}cancel(e=0){this._internalRenderTask.cancel(null,e)}get separateAnnots(){let{separateAnnots:e}=this._internalRenderTask.operatorList;if(!e)return!1;let{annotationCanvasMap:t}=this._internalRenderTask;return e.form||e.canvas&&t?.size>0}get imageCoordinates(){return this._internalRenderTask.imageCoordinates||null}get isWorkerRendering(){return this._internalRenderTask.isWorkerRendering}},ap=class n{#e=null;#n=null;#t=null;#s=null;#i=null;static#r=new WeakSet;constructor({callback:e,params:t,objs:s,commonObjs:i,annotationCanvasMap:r,operatorList:a,pageIndex:o,pageProxyId:l,canvasFactory:c,filterFactory:f,useRequestAnimationFrame:h=!1,pdfBug:u=!1,pageColors:d=null,operationsFilter:p=null,rendererWorker:m=null,waitForGPU:g=null}){this.callback=e,this.params=t,this.objs=s,this.commonObjs=i,this.annotationCanvasMap=r,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=o,this.canvasFactory=c,this.filterFactory=f,this._pdfBug=u,this.pageColors=d,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=h===!0&&typeof window<\"u\",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new rp(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvas,this._canvasContext=t.canvas?null:t.canvasContext,this._operationsFilter=p,this.#i=g,this.#s=m?.createRenderTask({pageProxyId:l,operatorList:a,params:t,pageColors:d,canvasFactory:c,annotationCanvasMap:r,onFrame:()=>this.task.onFrame?.(),onError:b=>this.cancel(b)})??null}get completed(){return this.capability.promise.catch(()=>{})}get isWorkerRendering(){return!!this.#s}get imageCoordinates(){return this.#s?this.#s.imageCoordinates:this.#n?.take()}get recordedBBoxes(){return this.#s?this.#s.recordedBBoxes:this.#e?.take()}get debugMetadata(){return this.#e?.takeDebugMetadata()??null}async initializeGraphics({transparency:e=!1,optionalContentConfig:t}){if(!this.cancelled){if(this._canvas){if(n.#r.has(this._canvas))throw new Error(\"Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.\");n.#r.add(this._canvas)}if(this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint()),this.#s){let s=await this.#s.initialize(e,t);if(this.cancelled)return;s||(this.#s=null)}if(!this.#s){let{viewport:s,transform:i,background:r,recordOperations:a,recordImages:o,recordForDebugger:l}=this.params,c=this._canvasContext||this.canvasFactory.getNoAlphaContext(this._canvas),{dependencyTracker:f,imagesTracker:h}=yk(this._canvas,this.operatorList.fnArray.length,{recordOperations:a,recordImages:o,recordDebugMetadata:l});this.#e=f,this.#n=h,this.gfx=new Ya(c,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:t},this.annotationCanvasMap,this.pageColors,f,h),this.gfx.beginDrawing({transform:i,viewport:s,transparency:e,background:r})}this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback?.()}}cancel(e=null,t=0){this.running=!1,this.cancelled=!0,this.#s?.cancel(),this.gfx?.endDrawing(),this.#t&&(window.cancelAnimationFrame(this.#t),this.#t=null),n.#r.delete(this._canvas),e||=new nl(`Rendering cancelled, page ${this._pageIndex+1}`,t),this.callback(e),this.task.onError?.(e)}operatorListChanged(){if(!this.graphicsReady){this.graphicsReadyCallback||=this._continueBound;return}this.#e?.growOperationsCount(this.operatorList.fnArray.length),this.stepper?.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?this.#t=window.requestAnimationFrame(()=>{this.#t=null,this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){if(this.cancelled)return;if(!this.#s){let s=this.#i?.();if(s&&(await s,this.cancelled))return}let{operatorList:e}=this,{lastChunk:t}=e;if(this.#s){if(this.operatorListIdx=await this.#s.executeOperatorList(e,this.operatorListIdx,this._operationsFilter),this.cancelled)return;if(this.operatorListIdx!==e.argsArray.length||t!==e.lastChunk){this._continue();return}}else this.operatorListIdx=this.gfx.executeOperatorList(e,this.operatorListIdx,this._continueBound,null,this.stepper,this._operationsFilter);this.operatorListIdx===e.argsArray.length&&(this.running=!1,t&&(this.gfx?.endDrawing(),n.#r.delete(this._canvas),this.callback()))}},Hk=\"6.5.438\",Lk=\"0a4153349\";C7();var Rf=class n{#e=null;#n=null;#t;#s=null;#i=!1;#r=!1;#a=null;#o;#l=null;#c=null;static#h=null;static get _keyboardManager(){return ze(this,\"_keyboardManager\",new Vr([[[\"Escape\"],n.prototype._hideDropdownFromKeyboard],[[\"Space\"],n.prototype._colorSelectFromKeyboard],[[\"ArrowDown\",\"ArrowRight\"],n.prototype._moveToNext],[[\"ArrowUp\",\"ArrowLeft\"],n.prototype._moveToPrevious],[[\"Home\"],n.prototype._moveToBeginning],[[\"End\"],n.prototype._moveToEnd]]))}constructor({editor:e=null,uiManager:t=null}){e?(this.#r=!1,this.#a=e):this.#r=!0,this.#c=e?._uiManager||t,this.#o=this.#c._eventBus,this.#t=e?.color?.toUpperCase()||this.#c?.highlightColors.values().next().value||\"#FFFF98\",n.#h||=Object.freeze({blue:\"pdfjs-editor-colorpicker-blue\",green:\"pdfjs-editor-colorpicker-green\",pink:\"pdfjs-editor-colorpicker-pink\",red:\"pdfjs-editor-colorpicker-red\",yellow:\"pdfjs-editor-colorpicker-yellow\"})}renderButton(){let e=this.#e=document.createElement(\"button\");e.className=\"colorPicker\",e.tabIndex=\"0\",e.setAttribute(\"data-l10n-id\",\"pdfjs-editor-colorpicker-button\"),e.ariaHasPopup=\"true\",this.#a&&(e.ariaControls=`${this.#a.id}_colorpicker_dropdown`);let t=this.#c._signal;e.addEventListener(\"click\",this.#g.bind(this),{signal:t}),e.addEventListener(\"keydown\",this.#p.bind(this),{signal:t});let s=this.#n=document.createElement(\"span\");return s.className=\"swatch\",s.ariaHidden=\"true\",s.style.backgroundColor=this.#t,e.append(s),e}renderMainDropdown(){let e=this.#s=this.#f();return e.ariaOrientation=\"horizontal\",e.ariaLabelledBy=\"highlightColorPickerLabel\",e}#f(){let e=document.createElement(\"div\"),t=this.#c._signal;e.addEventListener(\"contextmenu\",hi,{signal:t}),e.className=\"dropdown\",e.role=\"listbox\",e.ariaMultiSelectable=\"false\",e.ariaOrientation=\"vertical\",e.setAttribute(\"data-l10n-id\",\"pdfjs-editor-colorpicker-dropdown\"),this.#a&&(e.id=`${this.#a.id}_colorpicker_dropdown`);for(let[s,i]of this.#c.highlightColors){let r=document.createElement(\"button\");r.tabIndex=\"0\",r.role=\"option\",r.setAttribute(\"data-color\",i),r.title=s,r.setAttribute(\"data-l10n-id\",n.#h[s]);let a=document.createElement(\"span\");r.append(a),a.className=\"swatch\",a.style.backgroundColor=i,r.ariaSelected=i===this.#t,r.addEventListener(\"click\",this.#d.bind(this,i),{signal:t}),e.append(r)}return e.addEventListener(\"keydown\",this.#p.bind(this),{signal:t}),e}#d(e,t){t.stopPropagation(),this.#o.dispatch(\"switchannotationeditorparams\",{source:this,type:qt.HIGHLIGHT_COLOR,value:e}),this.update(e)}_colorSelectFromKeyboard(e){if(e.target===this.#e){this.#g(e);return}let t=e.target.getAttribute(\"data-color\");t&&this.#d(t,e)}_moveToNext(e){if(!this.#m){this.#g(e);return}if(e.target===this.#e){this.#s.firstElementChild?.focus();return}e.target.nextSibling?.focus()}_moveToPrevious(e){if(e.target===this.#s?.firstElementChild||e.target===this.#e){this.#m&&this._hideDropdownFromKeyboard();return}this.#m||this.#g(e),e.target.previousSibling?.focus()}_moveToBeginning(e){if(!this.#m){this.#g(e);return}this.#s.firstElementChild?.focus()}_moveToEnd(e){if(!this.#m){this.#g(e);return}this.#s.lastElementChild?.focus()}#p(e){n._keyboardManager.exec(this,e)}#g(e){if(this.#m){this.hideDropdown();return}if(this.#i=e.detail===0,this.#l||(this.#l=new AbortController,window.addEventListener(\"pointerdown\",this.#u.bind(this),{signal:this.#c.combinedSignal(this.#l)})),this.#e.ariaExpanded=\"true\",this.#s){this.#s.classList.remove(\"hidden\");return}let t=this.#s=this.#f();this.#e.append(t)}#u(e){this.#s?.contains(e.target)||this.hideDropdown()}hideDropdown(){this.#s?.classList.add(\"hidden\"),this.#e.ariaExpanded=\"false\",this.#l?.abort(),this.#l=null}get#m(){return this.#s&&!this.#s.classList.contains(\"hidden\")}_hideDropdownFromKeyboard(){if(!this.#r){if(!this.#m){this.#a?.unselect();return}this.hideDropdown(),this.#e.focus({preventScroll:!0,focusVisible:this.#i})}}update(e){if(this.#n&&(this.#n.style.backgroundColor=e),!this.#s)return;let t=this.#c.highlightColors.values();for(let s of this.#s.children)s.ariaSelected=t.next().value===e.toUpperCase()}destroy(){this.#e?.remove(),this.#e=null,this.#n=null,this.#s?.remove(),this.#s=null}},Ff=class n{#e=null;#n=!1;#t=null;#s=null;static#i=null;constructor(e){this.#t=e,this.#s=e._uiManager,n.#i||=Object.freeze({freetext:\"pdfjs-editor-color-picker-free-text-input\",ink:\"pdfjs-editor-color-picker-ink-input\"})}renderButton(){if(this.#e)return this.#e;let{editorType:e,colorType:t,colorAndOpacityType:s,opacityType:i,color:r,opacity:a}=this.#t,o=this.#n=Ot.isAlphaColorInputSupported&&i!==void 0,l=this.#e=document.createElement(\"input\");if(l.type=\"color\",o){l.setAttribute(\"alpha\",\"\");let c=Be.hexNums[Math.round((a??1)*255)];l.value=(r||\"#000000\")+c}else l.value=r||\"#000000\";return l.className=\"basicColorPicker\",l.tabIndex=0,l.setAttribute(\"data-l10n-id\",n.#i[e]),l.addEventListener(\"input\",()=>{if(o){let c=ro(l.value);if(!c)return;let[f,h,u,d]=c,p=Be.makeHexColor(f,h,u);s!==void 0?this.#s.updateParams(s,{color:p,opacity:d}):(this.#s.updateParams(t,p),this.#s.updateParams(i,d))}else this.#s.updateParams(t,l.value)},{signal:this.#s._signal}),l}update(e){if(this.#e)if(this.#n){let t=Be.hexNums[Math.round(this.#t.opacity*255)];this.#e.value=e+t}else this.#e.value=e}updateOpacity(e){if(!this.#e||!this.#n)return;let t=Be.hexNums[Math.round(e*255)];this.#e.value=this.#t.color+t}destroy(){this.#e?.remove(),this.#e=null}hideDropdown(){}};x7();function Yv(n){return Math.floor(Xt(n,0,1)*255).toString(16).padStart(2,\"0\")}function Vo(n){return Xt(n,0,1)*255}var Of=class{static CMYK_G([e,t,s,i]){return[\"G\",1-Math.min(1,.3*e+.59*s+.11*t+i)]}static G_CMYK([e]){return[\"CMYK\",0,0,0,1-e]}static G_RGB([e]){return[\"RGB\",e,e,e]}static G_rgb([e]){return e=Vo(e),[e,e,e]}static G_HTML([e]){let t=Yv(e);return`#${t}${t}${t}`}static RGB_G([e,t,s]){return[\"G\",.3*e+.59*t+.11*s]}static RGB_rgb(e){return e.map(Vo)}static RGB_HTML(e){return`#${e.map(Yv).join(\"\")}`}static T_HTML(){return\"#00000000\"}static T_rgb(){return[null]}static CMYK_RGB([e,t,s,i]){return[\"RGB\",1-Math.min(1,e+i),1-Math.min(1,s+i),1-Math.min(1,t+i)]}static CMYK_rgb([e,t,s,i]){return[Vo(1-Math.min(1,e+i)),Vo(1-Math.min(1,s+i)),Vo(1-Math.min(1,t+i))]}static CMYK_HTML(e){let t=this.CMYK_RGB(e).slice(1);return this.RGB_HTML(t)}static RGB_CMYK([e,t,s]){let i=1-e,r=1-t,a=1-s,o=Math.min(i,r,a);return[\"CMYK\",i,r,a,o]}};var op=class{create(e,t,s=!1){if(e<=0||t<=0)throw new Error(\"Invalid SVG dimensions\");let i=this._createSVG(\"svg:svg\");return i.setAttribute(\"version\",\"1.1\"),s||(i.setAttribute(\"width\",`${e}px`),i.setAttribute(\"height\",`${t}px`)),i.setAttribute(\"preserveAspectRatio\",\"none\"),i.setAttribute(\"viewBox\",`0 0 ${e} ${t}`),i}createElement(e){if(typeof e!=\"string\")throw new Error(\"Invalid SVG element type\");return this._createSVG(e)}_createSVG(e){Mt(\"Abstract method `_createSVG` called.\")}},pl=class extends op{_createSVG(e){return document.createElementNS(rs,e)}},zk=9,Xr=new WeakSet,Uk=new Date().getTimezoneOffset()*60*1e3,Zo=class{static create(e){switch(e.data.annotationType){case cn.LINK:return new ml(e);case cn.TEXT:return new cp(e);case cn.WIDGET:switch(e.data.fieldType){case\"Tx\":return new fp(e);case\"Btn\":return e.data.radioButton?new dp(e):e.data.checkBox?new up(e):new pp(e);case\"Ch\":return new mp(e);case\"Sig\":return new hp(e)}return new Zi(e);case cn.POPUP:return new gl(e);case cn.FREETEXT:return new Mf(e);case cn.LINE:return new bp(e);case cn.SQUARE:return new wp(e);case cn.CIRCLE:return new xp(e);case cn.POLYLINE:return new Pf(e);case cn.CARET:return new yp(e);case cn.INK:return new bl(e);case cn.POLYGON:return new vp(e);case cn.HIGHLIGHT:return new Bf(e);case cn.UNDERLINE:return new kp(e);case cn.SQUIGGLY:return new jp(e);case cn.STRIKEOUT:return new Ap(e);case cn.STAMP:return new Df(e);case cn.FILEATTACHMENT:return new Sp(e);case cn.RICHMEDIA:case cn.SCREEN:case cn.SOUND:return new Nf(e);default:return new Lt(e)}}},Lt=class n{#e=null;#n=!1;#t=null;constructor(e,{isRenderable:t=!1,ignoreBorder:s=!1,createQuadrilaterals:i=!1}={}){this.isRenderable=t,this.data=e.data,this.layer=e.layer,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderForms=e.renderForms,this.annotationStorage=e.annotationStorage,this.enableComment=e.enableComment,this.enableAnnotationEditing=e.enableAnnotationEditing!==!1,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._fieldObjects=e.fieldObjects,this.parent=e.parent,this.hasOwnCommentButton=!1,t&&(this.contentElement=this.container=this._createContainer(s)),i&&this._createQuadrilaterals()}static _hasPopupData({contentsObj:e,richText:t}){return!!(e?.str||t?.str)}static get _svgFactory(){return ze(this,\"_svgFactory\",new pl)}get _isEditable(){return this.enableAnnotationEditing&&this.data.isEditable}get hasPopupData(){return n._hasPopupData(this.data)||this.enableComment&&!!this.commentText}get commentData(){let{data:e}=this,t=this.annotationStorage?.getEditor(e.id);return t?t.getData():e}get hasCommentButton(){return this.enableComment&&this.hasPopupElement}get commentButtonPosition(){let e=this.annotationStorage?.getEditor(this.data.id);if(e)return e.commentButtonPositionInPage;let{quadPoints:t,inkLists:s,rect:i}=this.data,r=-1/0,a=-1/0;if(t?.length>=8){for(let o=0;o<t.length;o+=8)t[o+1]>a?(a=t[o+1],r=t[o+2]):t[o+1]===a&&(r=Math.max(r,t[o+2]));return[r,a]}if(s?.length>=1){for(let o of s)for(let l=0,c=o.length;l<c;l+=2)o[l+1]>a?(a=o[l+1],r=o[l]):o[l+1]===a&&(r=Math.max(r,o[l]));if(r!==1/0)return[r,a]}return i?[i[2],i[3]]:null}_normalizePoint(e){let{page:{view:t},viewport:{rawDims:{pageWidth:s,pageHeight:i,pageX:r,pageY:a}}}=this.parent;return e[1]=t[3]-e[1]+t[1],e[0]=100*(e[0]-r)/s,e[1]=100*(e[1]-a)/i,e}get commentText(){let{data:e}=this;return this.annotationStorage.getRawValue(`${Ja}${e.id}`)?.popup?.contents||e.contentsObj?.str||\"\"}set commentText(e){let{data:t}=this,s={deleted:!e,contents:e||\"\"};this.annotationStorage.updateEditor(t.id,{popup:s})||this.annotationStorage.setValue(`${Ja}${t.id}`,{id:t.id,annotationType:t.annotationType,page:this.parent.page,popup:s,popupRef:t.popupRef,modificationDate:new Date}),e||this.removePopup()}removePopup(){(this.#t?.popup||this.popup)?.remove(),this.#t=this.popup=null}updateEdited(e){if(!this.container)return;e.rect&&(this.#e||={rect:this.data.rect.slice(0)});let{rect:t,popup:s}=e;t&&this.#s(t);let i=this.#t?.popup||this.popup;!i&&s?.text&&(this._createPopup(s),i=this.#t.popup),i&&(i.updateEdited(e),s?.deleted&&(i.remove(),this.#t=null,this.popup=null))}resetEdited(){this.#e&&(this.#s(this.#e.rect),this.#t?.popup.resetEdited(),this.#e=null)}#s(e){let{container:{style:t},data:{rect:s,rotation:i},parent:{viewport:{rawDims:{pageWidth:r,pageHeight:a,pageX:o,pageY:l}}}}=this;s?.splice(0,4,...e),t.left=`${100*(e[0]-o)/r}%`,t.top=`${100*(a-e[3]+l)/a}%`,i===0?(t.width=`${100*(e[2]-e[0])/r}%`,t.height=`${100*(e[3]-e[1])/a}%`):this.setRotation(i)}_createContainer(e){let{data:t,parent:{page:s,viewport:i}}=this,r=document.createElement(\"section\");r.setAttribute(\"data-annotation-id\",t.id),!(this instanceof Zi)&&!(this instanceof ml)&&!(this instanceof Nf)&&(r.tabIndex=0);let{style:a}=r;if(a.zIndex=this.parent.zIndex,this.parent.zIndex+=2,t.alternativeText&&(r.title=t.alternativeText),t.noRotate&&r.classList.add(\"norotate\"),!t.rect||this instanceof gl){let{rotation:m}=t;return!t.hasOwnCanvas&&m!==0&&this.setRotation(m,r),r}let{width:o,height:l}=this;if(!e&&t.borderStyle.width>0){a.borderWidth=`${t.borderStyle.width}px`;let m=t.borderStyle.horizontalCornerRadius,g=t.borderStyle.verticalCornerRadius;if(m>0||g>0){let x=`calc(${m}px * var(--total-scale-factor)) / calc(${g}px * var(--total-scale-factor))`;a.borderRadius=x}switch(t.borderStyle.style){case $a.SOLID:a.borderStyle=\"solid\";break;case $a.DASHED:a.borderStyle=\"dashed\";break;case $a.BEVELED:at(\"Unimplemented border style: beveled\");break;case $a.INSET:at(\"Unimplemented border style: inset\");break;case $a.UNDERLINE:a.borderBottomStyle=\"solid\";break;default:break}let b=t.borderColor||null;b?(this.#n=!0,a.borderColor=Be.makeHexColor(...b)):a.borderWidth=0}let c=Be.normalizeRect([t.rect[0],s.view[3]-t.rect[1]+s.view[1],t.rect[2],s.view[3]-t.rect[3]+s.view[1]]),{pageWidth:f,pageHeight:h,pageX:u,pageY:d}=i.rawDims;a.left=`${100*(c[0]-u)/f}%`,a.top=`${100*(c[1]-d)/h}%`;let{rotation:p}=t;return t.hasOwnCanvas||p===0?(a.width=`${100*o/f}%`,a.height=`${100*l/h}%`):this.setRotation(p,r),r}setRotation(e,t=this.container){if(!this.data.rect)return;let{pageWidth:s,pageHeight:i}=this.parent.viewport.rawDims,{width:r,height:a}=this;e%180!==0&&([r,a]=[a,r]),t.style.width=`${100*r/s}%`,t.style.height=`${100*a/i}%`,t.setAttribute(\"data-main-rotation\",(360-e)%360)}get _commonActions(){let e=(t,s,i)=>{let r=i.detail[t],a=r[0],o=r.slice(1);i.target.style[s]=Of[`${a}_HTML`](o),this.annotationStorage.setValue(this.data.id,{[s]:Of[`${a}_rgb`](o)})};return ze(this,\"_commonActions\",{display:t=>{let{display:s}=t.detail,i=s%2===1;this.container.style.visibility=i?\"hidden\":\"visible\",this.annotationStorage.setValue(this.data.id,{noView:i,noPrint:s===1||s===2})},print:t=>{this.annotationStorage.setValue(this.data.id,{noPrint:!t.detail.print})},hidden:t=>{let{hidden:s}=t.detail;this.container.style.visibility=s?\"hidden\":\"visible\",this.annotationStorage.setValue(this.data.id,{noPrint:s,noView:s})},focus:t=>{setTimeout(()=>t.target.focus({preventScroll:!1}),0)},userName:t=>{t.target.title=t.detail.userName},readonly:t=>{t.target.disabled=t.detail.readonly},required:t=>{this._setRequired(t.target,t.detail.required)},bgColor:t=>{e(\"bgColor\",\"backgroundColor\",t)},fillColor:t=>{e(\"fillColor\",\"backgroundColor\",t)},fgColor:t=>{e(\"fgColor\",\"color\",t)},textColor:t=>{e(\"textColor\",\"color\",t)},borderColor:t=>{e(\"borderColor\",\"borderColor\",t)},strokeColor:t=>{e(\"strokeColor\",\"borderColor\",t)},rotation:t=>{let s=t.detail.rotation;this.setRotation(s),this.annotationStorage.setValue(this.data.id,{rotation:s})}})}_dispatchEventFromSandbox(e,t){let s=this._commonActions;for(let i of Object.keys(t.detail))(e[i]||s[i])?.(t)}_setDefaultPropertiesFromJS(e){if(!this.enableScripting)return;let t=this.annotationStorage.getRawValue(this.data.id);if(!t)return;let s=this._commonActions;for(let[i,r]of Object.entries(t)){let a=s[i];if(a){let o={detail:{[i]:r},target:e};a(o),delete t[i]}}}_createQuadrilaterals(){if(!this.container)return;let{quadPoints:e}=this.data;if(!e)return;let[t,s,i,r]=this.data.rect.map(Math.fround);if(e.length===8){let[m,g,b,x]=e.subarray(2,6);if(i===m&&r===g&&t===b&&s===x)return}let{style:a}=this.container,o;if(this.#n){let{borderColor:m,borderWidth:g}=a;a.borderWidth=0,o=[\"url('data:image/svg+xml;utf8,\",`<svg xmlns=\"${rs}\" preserveAspectRatio=\"none\" viewBox=\"0 0 1 1\">`,`<g fill=\"transparent\" stroke=\"${m}\" stroke-width=\"${g}\">`],this.container.classList.add(\"hasBorder\")}let l=i-t,c=r-s,f=n._svgFactory,h=f.createElement(\"svg\");h.classList.add(\"quadrilateralsContainer\"),h.setAttribute(\"width\",0),h.setAttribute(\"height\",0),h.role=\"none\";let u=f.createElement(\"defs\");h.append(u);let d=f.createElement(\"clipPath\"),p=`clippath_${this.data.id}`;d.setAttribute(\"id\",p),d.setAttribute(\"clipPathUnits\",\"objectBoundingBox\"),u.append(d);for(let m=2,g=e.length;m<g;m+=8){let b=e[m],x=e[m+1],w=e[m+2],v=e[m+3],k=f.createElement(\"rect\"),j=(w-t)/l,A=(r-x)/c,S=(b-w)/l,q=(x-v)/c;k.setAttribute(\"x\",j),k.setAttribute(\"y\",A),k.setAttribute(\"width\",S),k.setAttribute(\"height\",q),d.append(k),o?.push(`<rect vector-effect=\"non-scaling-stroke\" x=\"${j}\" y=\"${A}\" width=\"${S}\" height=\"${q}\"/>`)}this.#n&&(o.push(\"</g></svg>')\"),a.backgroundImage=o.join(\"\")),this.container.append(h),this.container.style.clipPath=`url(#${p})`}_createPopup(e=null){let{data:t}=this,s,i;e?(s={str:e.text},i=e.date):(s=t.contentsObj,i=t.modificationDate),this.#t=new gl({data:{color:t.color,titleObj:t.titleObj,modificationDate:i,contentsObj:s,richText:t.richText,parentRect:t.rect,borderStyle:0,id:`popup_${t.id}`,rotation:t.rotation,noRotate:!0},linkService:this.linkService,parent:this.parent,elements:[this]})}get hasPopupElement(){return!!(this.#t||this.popup||this.data.popupRef)}get extraPopupElement(){return this.#t}render(){Mt(\"Abstract method `AnnotationElement.render` called\")}_getElementsByName(e,t=null){let s=[];if(this._fieldObjects){let i=this._fieldObjects.get(e)||[];for(let{page:r,id:a,exportValues:o}of i){if(r===-1||a===t)continue;let l=typeof o==\"string\"?o:null,c=document.querySelector(`[data-element-id=\"${a}\"]`);if(c&&!Xr.has(c)){at(`_getElementsByName - element not allowed: ${a}`);continue}s.push({id:a,exportValue:l,domElement:c})}return s}for(let i of document.getElementsByName(e)){let{exportValue:r}=i,a=i.getAttribute(\"data-element-id\");a===t||!Xr.has(i)||s.push({id:a,exportValue:r,domElement:i})}return s}show(){this.container&&(this.container.hidden=!1),this.popup?.maybeShow()}hide(){this.container&&(this.container.hidden=!0),this.popup?.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){let e=this.getElementsToTriggerPopup();if(Array.isArray(e))for(let t of e)t.classList.add(\"highlightArea\");else e.classList.add(\"highlightArea\")}_editOnDoubleClick(){if(!this._isEditable)return;let{annotationEditorType:e,data:{id:t}}=this;this.container.addEventListener(\"dblclick\",()=>{this.linkService.eventBus?.dispatch(\"switchannotationeditormode\",{source:this,mode:e,editId:t,mustEnterInEditMode:!0})})}updateOC(e){if(!this.data.oc||!e)return;e.isVisible(this.data.oc)?this.show():this.hide()}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}_setBackgroundColor(e){let t=this.data.backgroundColor||null;e.style.backgroundColor=t===null?\"transparent\":Be.makeHexColor(...t)}},lp=class extends Lt{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.editor=e.editor}render(){return this.container.className=\"editorAnnotation\",this.container}createOrUpdatePopup(){let{editor:e}=this;e.hasComment&&this._createPopup(e.comment)}get hasCommentButton(){return this.enableComment&&this.editor.hasComment}get commentButtonPosition(){return this.editor.commentButtonPositionInPage}get commentText(){return this.editor.comment.text}set commentText(e){this.editor.comment=e,e||this.removePopup()}get commentData(){return this.editor.getData()}remove(){this.parent.removeAnnotation(this.data.id),this.container.remove(),this.container=null,this.removePopup()}},ml=class extends Lt{constructor(e,t=null){super(e,{isRenderable:!0,ignoreBorder:!!t?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=e.data.isTooltipOnly}render(){let{data:e,linkService:t}=this,s=document.createElement(\"a\");s.setAttribute(\"data-element-id\",e.id);let i=!1;return e.url?(t.addLinkAttributes(s,e.url,e.newWindow),i=!0):e.action?(this._bindNamedAction(s,e.action,e.overlaidText),i=!0):e.attachment?(this.#n(s,e.attachmentId,e.attachment,e.overlaidText,e.attachmentDest),i=!0):e.setOCGState?(this.#t(s,e.setOCGState,e.overlaidText),i=!0):e.dest?(this._bindLink(s,e.dest,e.overlaidText),i=!0):(e.actions&&(e.actions.has(\"Action\")||e.actions.has(\"Mouse Up\")||e.actions.has(\"Mouse Down\"))&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(s,e),i=!0),e.resetForm?(this._bindResetFormAction(s,e.resetForm),i=!0):this.isTooltipOnly&&!i&&(this._bindLink(s,\"\"),i=!0)),this.container.classList.add(\"linkAnnotation\"),i&&(this.contentElement=s,this.container.append(s)),this.container}#e(){this.container.setAttribute(\"data-internal-link\",\"\")}_bindLink(e,t,s=\"\"){e.href=this.linkService.getDestinationHash(t),e.onclick=()=>(t&&this.linkService.goToDestination(t),!1),(t||t===\"\")&&this.#e(),s&&(e.title=s)}_bindNamedAction(e,t,s=\"\"){e.href=this.linkService.getAnchorUrl(\"\"),e.onclick=()=>(this.linkService.executeNamedAction(t),!1),s&&(e.title=s),this.#e()}#n(e,t,s,i=\"\",r=null){e.href=this.linkService.getAnchorUrl(\"\"),s.description?e.title=s.description:i&&(e.title=i);let a=async()=>{let o=await this.linkService.getAttachmentContent(t);o&&this.downloadManager?.openOrDownloadData(o,s.filename,r)};e.onclick=()=>(a(),!1),this.#e()}#t(e,t,s=\"\"){e.href=this.linkService.getAnchorUrl(\"\"),e.onclick=()=>(this.linkService.executeSetOCGState(t),!1),s&&(e.title=s),this.#e()}_bindJSAction(e,{actions:t,id:s,overlaidText:i}){e.href=this.linkService.getAnchorUrl(\"\");let r=new Map([[\"Action\",\"onclick\"],[\"Mouse Up\",\"onmouseup\"],[\"Mouse Down\",\"onmousedown\"]]);for(let a of t.keys()){let o=r.get(a);o&&(e[o]=()=>(this.linkService.eventBus?.dispatch(\"dispatcheventinsandbox\",{source:this,detail:{id:s,name:a}}),!1))}i&&(e.title=i),e.onclick||=()=>!1,this.#e()}_bindResetFormAction(e,t){let s=e.onclick;if(s||(e.href=this.linkService.getAnchorUrl(\"\")),this.#e(),!this._fieldObjects){at('_bindResetFormAction - \"resetForm\" action not supported, ensure that the `fieldObjects` parameter is provided.'),s||(e.onclick=()=>!1);return}e.onclick=()=>{s?.();let{fields:i,refs:r,include:a}=t,o=[];if(i.length!==0||r.length!==0){let f=new Set(r);for(let u of i){let d=this._fieldObjects.get(u)||[];for(let{id:p}of d)f.add(p)}let h=new Map;for(let u of this._fieldObjects.values())for(let{id:d,kidIds:p}of u)p&&h.set(d,p);for(let u of f)for(let d of h.get(u)||[])f.add(d);for(let u of this._fieldObjects.values())for(let d of u)f.has(d.id)===a&&o.push(d)}else for(let f of this._fieldObjects.values())o.push(...f);let l=this.annotationStorage,c=[];for(let f of o){let{id:h}=f;switch(c.push(h),f.type){case\"text\":{let d=f.defaultValue||\"\";l.setValue(h,{value:d});break}case\"checkbox\":case\"radiobutton\":{let d=f.defaultValue===f.exportValues;l.setValue(h,{value:d});break}case\"combobox\":case\"listbox\":{let d=f.defaultValue||\"\";l.setValue(h,{value:d});break}default:continue}let u=document.querySelector(`[data-element-id=\"${h}\"]`);if(u){if(!Xr.has(u)){at(`_bindResetFormAction - element not allowed: ${h}`);continue}}else continue;u.dispatchEvent(new Event(\"resetform\"))}return this.enableScripting&&this.linkService.eventBus?.dispatch(\"dispatcheventinsandbox\",{source:this,detail:{id:\"app\",ids:c,name:\"ResetForm\"}}),!1}}},cp=class extends Lt{constructor(e){super(e,{isRenderable:!0})}render(){this.container.classList.add(\"textAnnotation\");let e=document.createElement(\"img\");return e.src=this.imageResourcesPath+\"annotation-\"+this.data.name.toLowerCase()+\".svg\",e.setAttribute(\"data-l10n-id\",\"pdfjs-text-annotation-type\"),e.setAttribute(\"data-l10n-args\",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container.append(e),this.container}},Zi=class extends Lt{render(){return this.container}_getKeyModifier(e){return Ot.platform.isMac?e.metaKey:e.ctrlKey}_setEventListener(e,t,s,i,r){s.includes(\"mouse\")?e.addEventListener(s,a=>{this.linkService.eventBus?.dispatch(\"dispatcheventinsandbox\",{source:this,detail:{id:this.data.id,name:i,value:r(a),shift:a.shiftKey,modifier:this._getKeyModifier(a)}})}):e.addEventListener(s,a=>{if(s===\"blur\"){if(!t.focused||!a.relatedTarget)return;t.focused=!1}else if(s===\"focus\"){if(t.focused)return;t.focused=!0}r&&this.linkService.eventBus?.dispatch(\"dispatcheventinsandbox\",{source:this,detail:{id:this.data.id,name:i,value:r(a)}})})}_setEventListeners(e,t,s,i){let{actions:r}=this.data;for(let[a,o]of s)(o===\"Action\"||r?.has(o))&&((o===\"Focus\"||o===\"Blur\")&&(t||={focused:!1}),this._setEventListener(e,t,a,o,i),o===\"Focus\"&&!r?.has(\"Blur\")?this._setEventListener(e,t,\"blur\",\"Blur\",null):o===\"Blur\"&&!r?.has(\"Focus\")&&this._setEventListener(e,t,\"focus\",\"Focus\",null))}_setTextStyle(e){let t=[\"left\",\"center\",\"right\"],{fontColor:s}=this.data.defaultAppearanceData,i=this.data.defaultAppearanceData.fontSize||zk,r=e.style,a,o=2,l=c=>Math.round(10*c)/10;if(this.data.multiLine){let c=Math.abs(this.data.rect[3]-this.data.rect[1]-o),f=Math.round(c/(1.35*i))||1,h=c/f;a=Math.min(i,l(h/1.35))}else{let c=Math.abs(this.data.rect[3]-this.data.rect[1]-o);a=Math.min(i,l(c/1.35))}r.fontSize=`calc(${a}px * var(--total-scale-factor))`,r.color=Be.makeHexColor(...s),this.data.textAlignment!==null&&!this.data.comb&&(r.textAlign=t[this.data.textAlignment])}_setRequired(e,t){t?e.setAttribute(\"required\",!0):e.removeAttribute(\"required\"),e.setAttribute(\"aria-required\",t)}},fp=class extends Zi{constructor(e){let t=e.renderForms||e.data.hasOwnCanvas||!e.data.hasAppearance&&!!e.data.fieldValue;super(e,{isRenderable:t})}setPropertyOnSiblings(e,t,s,i){let r=this.annotationStorage;for(let a of this._getElementsByName(e.name,e.id))a.domElement&&(a.domElement[t]=s),r.setValue(a.id,{[i]:s})}render(){let e=this.annotationStorage,t=this.data.id;this.container.classList.add(\"textWidgetAnnotation\");let s=null;if(this.renderForms){let i=e.getValue(t,{value:this.data.fieldValue}),r=i.value||\"\",a=e.getValue(t,{charLimit:this.data.maxLen}).charLimit;a&&r.length>a&&(r=r.slice(0,a));let o=i.formattedValue||this.data.textContent?.join(`\n`)||null;o&&this.data.comb&&(o=o.replaceAll(/\\s+/g,\"\"));let l={userValue:r,formattedValue:o,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(s=document.createElement(\"textarea\"),s.textContent=o??r,this.data.doNotScroll&&(s.style.overflowY=\"hidden\")):(s=document.createElement(\"input\"),s.type=this.data.password?\"password\":\"text\",s.setAttribute(\"value\",o??r),this.data.doNotScroll&&(s.style.overflowX=\"hidden\")),this.data.hasOwnCanvas&&(this.container.classList.add(\"hasOwnCanvas\"),e.has(t)&&this.container.classList.add(\"sandboxModified\")),Xr.add(s),this.contentElement=s,s.setAttribute(\"data-element-id\",t),s.disabled=this.data.readOnly,s.name=this.data.fieldName,s.tabIndex=0;let{datetimeFormat:c,datetimeType:f,timeStep:h}=this.data,u=!!f&&this.enableScripting;c&&(s.title=c),this._setRequired(s,this.data.required),a&&(s.maxLength=a),s.addEventListener(\"input\",p=>{e.setValue(t,{value:p.target.value}),this.setPropertyOnSiblings(s,\"value\",p.target.value,\"value\"),l.formattedValue=null}),s.addEventListener(\"resetform\",p=>{let m=this.data.defaultFieldValue??\"\";s.value=l.userValue=m,l.formattedValue=null});let d=p=>{let{formattedValue:m}=l;m!=null&&(p.target.value=m),p.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){s.addEventListener(\"focus\",m=>{if(l.focused)return;let{target:g}=m;if(u&&(g.type=f,h&&(g.step=h)),l.userValue){let b=l.userValue;if(u)if(f===\"time\"){let x=new Date(b),w=[x.getHours(),x.getMinutes(),x.getSeconds()];g.value=w.map(v=>v.toString().padStart(2,\"0\")).join(\":\")}else g.value=new Date(b-Uk).toISOString().split(f===\"date\"?\"T\":\".\",1)[0];else g.value=b}l.lastCommittedValue=g.value,l.commitKey=1,this.data.actions?.has(\"Focus\")||(l.focused=!0)}),s.addEventListener(\"updatefromsandbox\",m=>{this.container.classList.add(\"sandboxModified\");let g={value(b){l.userValue=b.detail.value??\"\",u||e.setValue(t,{value:l.userValue.toString()}),b.target.value=l.userValue},formattedValue(b){let{formattedValue:x}=b.detail;l.formattedValue=x,x!=null&&b.target!==document.activeElement&&(b.target.value=x);let w={formattedValue:x};u&&(w.value=x),e.setValue(t,w)},selRange(b){b.target.setSelectionRange(...b.detail.selRange)},charLimit:b=>{let{charLimit:x}=b.detail,{target:w}=b;if(x===0){w.removeAttribute(\"maxLength\");return}w.setAttribute(\"maxLength\",x);let v=l.userValue;!v||v.length<=x||(v=v.slice(0,x),w.value=l.userValue=v,e.setValue(t,{value:v}),this.linkService.eventBus?.dispatch(\"dispatcheventinsandbox\",{source:this,detail:{id:t,name:\"Keystroke\",value:v,willCommit:!0,commitKey:1,selStart:w.selectionStart,selEnd:w.selectionEnd}}))}};this._dispatchEventFromSandbox(g,m)}),s.addEventListener(\"keydown\",m=>{l.commitKey=1;let g=-1;if(m.key===\"Escape\"?g=0:m.key===\"Enter\"&&!this.data.multiLine?g=2:m.key===\"Tab\"&&(l.commitKey=3),g===-1)return;let{value:b}=m.target;l.lastCommittedValue!==b&&(l.lastCommittedValue=b,l.userValue=b,this.linkService.eventBus?.dispatch(\"dispatcheventinsandbox\",{source:this,detail:{id:t,name:\"Keystroke\",value:b,willCommit:!0,commitKey:g,selStart:m.target.selectionStart,selEnd:m.target.selectionEnd}}))});let p=d;d=null,s.addEventListener(\"blur\",m=>{if(!l.focused||!m.relatedTarget)return;this.data.actions?.has(\"Blur\")||(l.focused=!1);let{target:g}=m,{value:b}=g;if(u){if(b&&f===\"time\"){let x=b.split(\":\").map(w=>parseInt(w,10));b=new Date(2e3,0,1,x[0],x[1],x[2]||0).valueOf(),g.step=\"\"}else b.includes(\"T\")||(b=`${b}T00:00`),b=new Date(b).valueOf();g.type=\"text\"}l.userValue=b,l.lastCommittedValue!==b&&this.linkService.eventBus?.dispatch(\"dispatcheventinsandbox\",{source:this,detail:{id:t,name:\"Keystroke\",value:b,willCommit:!0,commitKey:l.commitKey,selStart:m.target.selectionStart,selEnd:m.target.selectionEnd}}),p(m)}),this.data.actions?.has(\"Keystroke\")&&s.addEventListener(\"beforeinput\",m=>{l.lastCommittedValue=null;let{data:g,target:b}=m,{value:x,selectionStart:w,selectionEnd:v}=b,k=w,j=v;switch(m.inputType){case\"deleteWordBackward\":{let A=/\\w/;for(;k>0&&!A.test(x[k-1]);)k--;for(;k>0&&A.test(x[k-1]);)k--;break}case\"deleteWordForward\":{let A=x.substring(w).match(/^\\W*\\w*/);A&&(j+=A[0].length);break}case\"deleteContentBackward\":w===v&&(k-=1);break;case\"deleteContentForward\":w===v&&(j+=1);break}m.preventDefault(),this.linkService.eventBus?.dispatch(\"dispatcheventinsandbox\",{source:this,detail:{id:t,name:\"Keystroke\",value:x,change:g||\"\",willCommit:!1,selStart:k,selEnd:j}})}),this._setEventListeners(s,l,[[\"focus\",\"Focus\"],[\"blur\",\"Blur\"],[\"mousedown\",\"Mouse Down\"],[\"mouseenter\",\"Mouse Enter\"],[\"mouseleave\",\"Mouse Exit\"],[\"mouseup\",\"Mouse Up\"]],m=>m.target.value)}if(d&&s.addEventListener(\"blur\",d),this.data.comb){let m=(this.data.rect[2]-this.data.rect[0])/a;s.classList.add(\"comb\"),s.style.setProperty(\"--comb-width\",`calc(${m}px * var(--total-scale-factor))`);let g=this.data.textAlignment;if(g===1||g===2){let b=()=>{let x=a-s.value.length;s.style.setProperty(\"--comb-offset\",`${g===1?x>>1:x}`)};b();for(let x of[\"input\",\"blur\",\"resetform\",\"updatefromsandbox\"])s.addEventListener(x,b)}}}else s=document.createElement(\"div\"),s.textContent=this.data.fieldValue,s.style.verticalAlign=\"middle\",s.style.display=\"table-cell\",this.data.hasOwnCanvas&&(s.hidden=!0);return this._setTextStyle(s),this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}},hp=class extends Zi{constructor(e){super(e,{isRenderable:!!e.data.hasOwnCanvas})}},up=class extends Zi{constructor(e){super(e,{isRenderable:e.renderForms})}render(){let e=this.annotationStorage,t=this.data,s=t.id,i=e.getValue(s,{value:t.exportValue===t.fieldValue}).value;typeof i==\"string\"&&(i=i!==\"Off\",e.setValue(s,{value:i})),this.container.classList.add(\"buttonWidgetAnnotation\",\"checkBox\");let r=document.createElement(\"input\");return Xr.add(r),r.setAttribute(\"data-element-id\",s),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type=\"checkbox\",r.name=t.fieldName,i&&r.setAttribute(\"checked\",!0),r.setAttribute(\"exportValue\",t.exportValue),r.tabIndex=0,r.addEventListener(\"change\",a=>{let{name:o,checked:l}=a.target;for(let c of this._getElementsByName(o,s)){let f=l&&c.exportValue===t.exportValue;c.domElement&&(c.domElement.checked=f),e.setValue(c.id,{value:f})}e.setValue(s,{value:l})}),r.addEventListener(\"resetform\",a=>{let o=t.defaultFieldValue||\"Off\";a.target.checked=o===t.exportValue}),this.enableScripting&&this.hasJSActions&&(r.addEventListener(\"updatefromsandbox\",a=>{let o={value(l){l.target.checked=l.detail.value!==\"Off\",e.setValue(s,{value:l.target.checked})}};this._dispatchEventFromSandbox(o,a)}),this._setEventListeners(r,null,[[\"change\",\"Validate\"],[\"change\",\"Action\"],[\"focus\",\"Focus\"],[\"blur\",\"Blur\"],[\"mousedown\",\"Mouse Down\"],[\"mouseenter\",\"Mouse Enter\"],[\"mouseleave\",\"Mouse Exit\"],[\"mouseup\",\"Mouse Up\"]],a=>a.target.checked)),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}},dp=class extends Zi{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add(\"buttonWidgetAnnotation\",\"radioButton\");let e=this.annotationStorage,t=this.data,s=t.id,i=e.getValue(s,{value:t.buttonValue!==null&&t.fieldValue===t.buttonValue}).value;if(typeof i==\"string\"&&(i=i!==t.buttonValue,e.setValue(s,{value:i})),i)for(let a of this._getElementsByName(t.fieldName,s))e.setValue(a.id,{value:!1});let r=document.createElement(\"input\");if(Xr.add(r),r.setAttribute(\"data-element-id\",s),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type=\"radio\",r.name=t.fieldName,i&&r.setAttribute(\"checked\",!0),r.tabIndex=0,r.addEventListener(\"change\",a=>{let{name:o,checked:l}=a.target;for(let c of this._getElementsByName(o,s))e.setValue(c.id,{value:!1});e.setValue(s,{value:l})}),r.addEventListener(\"resetform\",a=>{let o=t.defaultFieldValue;a.target.checked=o!=null&&o===t.buttonValue}),this.enableScripting&&this.hasJSActions){let a=t.buttonValue;r.addEventListener(\"updatefromsandbox\",o=>{let l={value:c=>{let f=a===c.detail.value;for(let h of this._getElementsByName(c.target.name)){let u=f&&h.id===s;h.domElement&&(h.domElement.checked=u),e.setValue(h.id,{value:u})}}};this._dispatchEventFromSandbox(l,o)}),this._setEventListeners(r,null,[[\"change\",\"Validate\"],[\"change\",\"Action\"],[\"focus\",\"Focus\"],[\"blur\",\"Blur\"],[\"mousedown\",\"Mouse Down\"],[\"mouseenter\",\"Mouse Enter\"],[\"mouseleave\",\"Mouse Exit\"],[\"mouseup\",\"Mouse Up\"]],o=>o.target.checked)}return this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}},pp=class extends ml{constructor(e){super(e,{ignoreBorder:e.data.hasAppearance})}render(){let e=super.render();e.classList.add(\"buttonWidgetAnnotation\",\"pushButton\");let t=e.lastChild;return this.enableScripting&&this.hasJSActions&&t&&(this._setDefaultPropertiesFromJS(t),t.addEventListener(\"updatefromsandbox\",s=>{this._dispatchEventFromSandbox({},s)})),e}},mp=class extends Zi{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add(\"choiceWidgetAnnotation\");let e=this.annotationStorage,t=this.data.id,s=e.getValue(t,{value:this.data.fieldValue}),i=document.createElement(\"select\");Xr.add(i),i.setAttribute(\"data-element-id\",t),i.disabled=this.data.readOnly,this._setRequired(i,this.data.required),i.name=this.data.fieldName,i.tabIndex=0;let r=this.data.combo&&this.data.options.length>0;this.data.combo||(i.size=this.data.options.length,this.data.multiSelect&&(i.multiple=!0)),i.addEventListener(\"resetform\",h=>{let u=this.data.defaultFieldValue;for(let d of i.options)d.selected=d.value===u});let a=(h,u)=>{let d=u.replaceAll(\" \",\"\\xA0\");h.textContent=d,d!==u&&h.setAttribute(\"display-value\",u)};for(let h of this.data.options){let u=document.createElement(\"option\");a(u,h.displayValue),u.value=h.exportValue,s.value.includes(h.exportValue)&&(u.setAttribute(\"selected\",!0),r=!1),i.append(u)}let o=null;if(r){let h=document.createElement(\"option\");h.value=\" \",h.setAttribute(\"hidden\",!0),h.setAttribute(\"selected\",!0),i.prepend(h),o=()=>{h.remove(),i.removeEventListener(\"input\",o),o=null},i.addEventListener(\"input\",o)}let l=h=>{let u=h?\"value\":\"textContent\",{options:d,multiple:p}=i;return p?Array.prototype.filter.call(d,m=>m.selected).map(m=>m[u]):d.selectedIndex===-1?null:d[d.selectedIndex][u]},c=l(!1),f=h=>{let u=h.target.options;return Array.prototype.map.call(u,d=>({displayValue:d.getAttribute(\"display-value\")||d.textContent,exportValue:d.value}))};return this.enableScripting&&this.hasJSActions?(i.addEventListener(\"updatefromsandbox\",h=>{let u={value(d){o?.();let p=d.detail.value,m=new Set(Array.isArray(p)?p:[p]);for(let g of i.options)g.selected=m.has(g.value);e.setValue(t,{value:l(!0)}),c=l(!1)},multipleSelection(d){i.multiple=!0},remove(d){let p=i.options,m=d.detail.remove;p[m].selected=!1,i.remove(m),p.length>0&&Array.prototype.findIndex.call(p,b=>b.selected)===-1&&(p[0].selected=!0),e.setValue(t,{value:l(!0),items:f(d)}),c=l(!1)},clear(d){for(;i.length!==0;)i.remove(0);e.setValue(t,{value:null,items:[]}),c=l(!1)},insert(d){let{index:p,displayValue:m,exportValue:g}=d.detail.insert,b=i.children[p],x=document.createElement(\"option\");a(x,m),x.value=g,b?b.before(x):i.append(x),e.setValue(t,{value:l(!0),items:f(d)}),c=l(!1)},items(d){let{items:p}=d.detail;for(;i.length!==0;)i.remove(0);for(let m of p){let{displayValue:g,exportValue:b}=m,x=document.createElement(\"option\");a(x,g),x.value=b,i.append(x)}i.options.length>0&&(i.options[0].selected=!0),e.setValue(t,{value:l(!0),items:f(d)}),c=l(!1)},indices(d){let p=new Set(d.detail.indices);for(let m of d.target.options)m.selected=p.has(m.index);e.setValue(t,{value:l(!0)}),c=l(!1)},editable(d){d.target.disabled=!d.detail.editable}};this._dispatchEventFromSandbox(u,h)}),i.addEventListener(\"input\",h=>{let u=l(!0),d=l(!1);e.setValue(t,{value:u}),h.preventDefault(),this.linkService.eventBus?.dispatch(\"dispatcheventinsandbox\",{source:this,detail:{id:t,name:\"Keystroke\",value:c,change:d,changeEx:u,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(i,null,[[\"focus\",\"Focus\"],[\"blur\",\"Blur\"],[\"mousedown\",\"Mouse Down\"],[\"mouseenter\",\"Mouse Enter\"],[\"mouseleave\",\"Mouse Exit\"],[\"mouseup\",\"Mouse Up\"],[\"input\",\"Action\"],[\"input\",\"Validate\"]],h=>h.target.value)):i.addEventListener(\"input\",function(h){e.setValue(t,{value:l(!0)})}),this.data.combo&&this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}},gl=class extends Lt{constructor(e){let{data:t,elements:s,parent:i}=e,r=!!i._commentManager;if(super(e,{isRenderable:!r&&Lt._hasPopupData(t)}),this.elements=s,r&&Lt._hasPopupData(t)){let a=this.popup=this.#e();for(let o of s)o.popup=a}else this.popup=null}#e(){return new gp({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate||this.data.creationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open,commentManager:this.parent._commentManager})}render(){let{container:e}=this;e.classList.add(\"popupAnnotation\"),e.role=\"comment\";let t=this.popup=this.#e(),s=[];for(let i of this.elements)i.popup=t,i.container.ariaHasPopup=\"dialog\",s.push(i.data.id),i.addHighlightArea();return this.container.setAttribute(\"aria-controls\",s.map(i=>`${Va}${i}`).join(\",\")),this.container}},gp=class{#e=null;#n=this.#W.bind(this);#t=this.#S.bind(this);#s=this.#q.bind(this);#i=this.#U.bind(this);#r=null;#a=null;#o=null;#l=null;#c=null;#h=null;#f=null;#d=!1;#p=null;#g=null;#u=null;#m=null;#b=null;#w=null;#x=null;#v=null;#k=null;#j=null;#y=!1;#A=null;#T=null;constructor({container:e,color:t,elements:s,titleObj:i,modificationDate:r,contentsObj:a,richText:o,parent:l,rect:c,parentRect:f,open:h,commentManager:u=null}){this.#a=e,this.#k=i,this.#o=a,this.#v=o,this.#h=l,this.#r=t,this.#x=c,this.#f=f,this.#c=s,this.#e=u,this.#A=s[0],this.#l=rl.toDateObject(r),this.trigger=s.flatMap(d=>d.getElementsToTriggerPopup()),u||(this.#I(),this.#a.hidden=!0,h&&this.#U())}#I(){if(this.#g)return;this.#g=new AbortController;let{signal:e}=this.#g;for(let t of this.trigger)t.addEventListener(\"click\",this.#i,{signal:e}),t.addEventListener(\"pointerenter\",this.#s,{signal:e}),t.addEventListener(\"pointerleave\",this.#t,{signal:e}),t.classList.add(\"popupTriggerArea\");for(let t of this.#c)t.container?.addEventListener(\"keydown\",this.#n,{signal:e})}#_(){let e=this.#c.find(t=>t.hasCommentButton);e&&(this.#b=e._normalizePoint(e.commentButtonPosition))}renderCommentButton(){if(this.#m){this.#m.parentNode||this.#A.container.after(this.#m);return}if(this.#b||this.#_(),!this.#b)return;let{signal:e}=this.#g=new AbortController,t=this.#A.hasOwnCommentButton,s=()=>{this.#e.toggleCommentPopup(this,!0,void 0,!t)},i=()=>{this.#e.toggleCommentPopup(this,!1,!0,!t)},r=()=>{this.#e.toggleCommentPopup(this,!1,!1)};if(t){this.#m=this.#A.container;for(let a of this.trigger)a.ariaHasPopup=\"dialog\",a.ariaControls=\"commentPopup\",a.addEventListener(\"keydown\",this.#n,{signal:e}),a.addEventListener(\"click\",s,{signal:e}),a.addEventListener(\"pointerenter\",i,{signal:e}),a.addEventListener(\"pointerleave\",r,{signal:e}),a.classList.add(\"popupTriggerArea\")}else{let a=this.#m=document.createElement(\"button\");a.className=\"annotationCommentButton\";let o=this.#A.container;a.style.zIndex=parseInt(o.style.zIndex,10)+1,a.tabIndex=0,a.ariaHasPopup=\"dialog\",a.ariaControls=\"commentPopup\",a.setAttribute(\"data-l10n-id\",\"pdfjs-show-comment-button\"),this.#C(),this.#O(),a.addEventListener(\"keydown\",this.#n,{signal:e}),a.addEventListener(\"click\",s,{signal:e}),a.addEventListener(\"pointerenter\",i,{signal:e}),a.addEventListener(\"pointerleave\",r,{signal:e}),o.after(a)}}#O(){if(this.#A.extraPopupElement&&!this.#A.editor)return;this.#m||this.renderCommentButton();let[e,t]=this.#b,{style:s}=this.#m;s.left=`calc(${e}%)`,s.top=`calc(${t}% - var(--comment-button-dim))`}#C(){this.#A.extraPopupElement||(this.#m||this.renderCommentButton(),this.#m.style.backgroundColor=this.commentButtonColor||\"\")}get commentButtonColor(){let{color:e,opacity:t}=this.#A.commentData;return e?this.#h._commentManager.makeCommentColor(e,t):null}focusCommentButton(){setTimeout(()=>{this.#m?.focus()},0)}getData(){let{richText:e,color:t,opacity:s,creationDate:i,modificationDate:r}=this.#A.commentData;return{contentsObj:{str:this.comment},richText:e,color:t,opacity:s,creationDate:i,modificationDate:r}}get elementBeforePopup(){return this.#m}get comment(){return this.#T||=this.#A.commentText,this.#T}set comment(e){e!==this.comment&&(this.#A.commentText=this.#T=e)}focus(){this.#A.container?.focus()}get parentBoundingClientRect(){return this.#A.layer.getBoundingClientRect()}setCommentButtonStates({selected:e,hasPopup:t}){this.#m&&(this.#m.classList.toggle(\"selected\",e),this.#m.ariaExpanded=t)}setSelectedCommentButton(e){this.#m.classList.toggle(\"selected\",e)}get commentPopupPosition(){if(this.#w)return this.#w;let{x:e,y:t,height:s}=this.#m.getBoundingClientRect(),{x:i,y:r,width:a,height:o}=this.#A.layer.getBoundingClientRect();return[(e-i)/a,(t+s-r)/o]}set commentPopupPosition(e){this.#w=e}hasDefaultPopupPosition(){return this.#w===null}get commentButtonPosition(){return this.#b}get commentButtonWidth(){return this.#m.getBoundingClientRect().width/this.parentBoundingClientRect.width}editComment(e){let[t,s]=this.#w||this.commentButtonPosition.map(c=>c/100),i=this.parentBoundingClientRect,{x:r,y:a,width:o,height:l}=i;this.#e.showDialog(null,this,r+t*o,a+s*l,{...e,parentDimensions:i})}render(){if(this.#p)return;let e=this.#p=document.createElement(\"div\");if(e.className=\"popup\",this.#r){let s=e.style.outlineColor=Be.makeHexColor(...this.#r);e.style.backgroundColor=`color-mix(in srgb, ${s} 30%, white)`}let t=document.createElement(\"span\");if(t.className=\"header\",this.#k?.str){let s=document.createElement(\"span\");s.className=\"title\",t.append(s),{dir:s.dir,str:s.textContent}=this.#k}if(e.append(t),this.#l){let s=document.createElement(\"time\");s.className=\"popupDate\",s.setAttribute(\"data-l10n-id\",\"pdfjs-annotation-date-time-string\"),s.setAttribute(\"data-l10n-args\",JSON.stringify({dateObj:this.#l.valueOf()})),s.dateTime=this.#l.toISOString(),t.append(s)}R5({html:this.#R||this.#o.str,dir:this.#o?.dir,className:\"popupContent\"},e),this.#a.append(e)}get#R(){let e=this.#v,t=this.#o;return e?.str&&(!t?.str||t.str===e.str)&&this.#v.html||null}get#M(){return this.#R?.attributes?.style?.fontSize||0}get#F(){return this.#R?.attributes?.style?.color||null}#D(e){let t=[],s={str:e,html:{name:\"div\",attributes:{dir:\"auto\"},children:[{name:\"p\",children:t}]}},i={style:{color:this.#F,fontSize:this.#M?`calc(${this.#M}px * var(--total-scale-factor))`:\"\"}};for(let r of e.split(`\n`))t.push({name:\"span\",value:r,attributes:i});return s}#W(e){e.altKey||e.shiftKey||e.ctrlKey||e.metaKey||(e.key===\"Enter\"||e.key===\"Escape\"&&this.#d)&&this.#U()}updateEdited({rect:e,popup:t,deleted:s}){if(this.#e){s?(this.remove(),this.#T=null):t&&(t.deleted?this.remove():(this.#C(),this.#T=t.text)),e&&(this.#b=null,this.#_(),this.#O());return}if(s||t?.deleted){this.remove();return}this.#I(),this.#j||={contentsObj:this.#o,richText:this.#v},e&&(this.#u=null),t&&t.text&&(this.#v=this.#D(t.text),this.#l=rl.toDateObject(t.date),this.#o=null),this.#p?.remove(),this.#p=null}resetEdited(){this.#j&&({contentsObj:this.#o,richText:this.#v}=this.#j,this.#j=null,this.#p?.remove(),this.#p=null,this.#u=null)}remove(){if(this.#g?.abort(),this.#g=null,this.#p?.remove(),this.#p=null,this.#y=!1,this.#d=!1,this.#m?.remove(),this.#m=null,this.trigger)for(let e of this.trigger)e.classList.remove(\"popupTriggerArea\")}#N(){if(this.#u!==null)return;let{page:{view:e},viewport:{rawDims:{pageWidth:t,pageHeight:s,pageX:i,pageY:r}}}=this.#h,a=!!this.#f,o=a?this.#f:this.#x;for(let p of this.#c)if(!o||Be.intersect(p.data.rect,o)!==null){o=p.data.rect,a=!0;break}let l=Be.normalizeRect([o[0],e[3]-o[1]+e[1],o[2],e[3]-o[3]+e[1]]),f=a?o[2]-o[0]+5:0,h=l[0]+f,u=l[1];this.#u=[100*(h-i)/t,100*(u-r)/s];let{style:d}=this.#a;d.left=`${this.#u[0]}%`,d.top=`${this.#u[1]}%`}#U(){if(this.#e){this.#e.toggleCommentPopup(this,!1);return}this.#d=!this.#d,this.#d?(this.#q(),this.#a.addEventListener(\"click\",this.#i),this.#a.addEventListener(\"keydown\",this.#n)):(this.#S(),this.#a.removeEventListener(\"click\",this.#i),this.#a.removeEventListener(\"keydown\",this.#n))}#q(){this.#p||this.render(),this.isVisible?this.#d&&this.#a.classList.add(\"focused\"):(this.#N(),this.#a.hidden=!1,this.#a.style.zIndex=parseInt(this.#a.style.zIndex,10)+1e3)}#S(){this.#a.classList.remove(\"focused\"),!(this.#d||!this.isVisible)&&(this.#a.hidden=!0,this.#a.style.zIndex=parseInt(this.#a.style.zIndex,10)-1e3)}forceHide(){this.#y=this.isVisible,this.#y&&(this.#a.hidden=!0)}maybeShow(){this.#e||(this.#I(),this.#y&&(this.#p||this.#q(),this.#y=!1,this.#a.hidden=!1))}get isVisible(){return!this.#e&&this.#a.hidden===!1}},Mf=class extends Lt{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.textContent=e.data.textContent,this.textPosition=e.data.textPosition,this.annotationEditorType=pt.FREETEXT}render(){if(this.container.classList.add(\"freeTextAnnotation\"),this.textContent){let e=this.contentElement=document.createElement(\"div\");e.classList.add(\"annotationTextContent\"),e.setAttribute(\"role\",\"comment\");for(let t of this.textContent){let s=document.createElement(\"span\");s.textContent=t,e.append(s)}this.container.append(e)}return!this.data.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this._editOnDoubleClick(),this.container}},bp=class extends Lt{#e=null;constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add(\"lineAnnotation\");let{data:e,width:t,height:s}=this,i=Lt._svgFactory,r=i.create(t,s,!0),a=this.#e=i.createElement(\"svg:line\");return a.setAttribute(\"x1\",e.rect[2]-e.lineCoordinates[0]),a.setAttribute(\"y1\",e.rect[3]-e.lineCoordinates[1]),a.setAttribute(\"x2\",e.rect[2]-e.lineCoordinates[2]),a.setAttribute(\"y2\",e.rect[3]-e.lineCoordinates[3]),a.setAttribute(\"stroke-width\",e.borderStyle.width||1),a.setAttribute(\"stroke\",\"transparent\"),a.setAttribute(\"fill\",\"transparent\"),r.append(a),this.container.append(r),!e.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add(\"highlightArea\")}},wp=class extends Lt{#e=null;constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add(\"squareAnnotation\");let{data:e,width:t,height:s}=this,i=Lt._svgFactory,r=i.create(t,s,!0),a=e.borderStyle.width,o=this.#e=i.createElement(\"svg:rect\");return o.setAttribute(\"x\",a/2),o.setAttribute(\"y\",a/2),o.setAttribute(\"width\",t-a),o.setAttribute(\"height\",s-a),o.setAttribute(\"stroke-width\",a||1),o.setAttribute(\"stroke\",\"transparent\"),o.setAttribute(\"fill\",\"transparent\"),r.append(o),this.container.append(r),!e.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add(\"highlightArea\")}},xp=class extends Lt{#e=null;constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add(\"circleAnnotation\");let{data:e,width:t,height:s}=this,i=Lt._svgFactory,r=i.create(t,s,!0),a=e.borderStyle.width,o=this.#e=i.createElement(\"svg:ellipse\");return o.setAttribute(\"cx\",t/2),o.setAttribute(\"cy\",s/2),o.setAttribute(\"rx\",t/2-a/2),o.setAttribute(\"ry\",s/2-a/2),o.setAttribute(\"stroke-width\",a||1),o.setAttribute(\"stroke\",\"transparent\"),o.setAttribute(\"fill\",\"transparent\"),r.append(o),this.container.append(r),!e.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add(\"highlightArea\")}},Pf=class extends Lt{#e=null;constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName=\"polylineAnnotation\",this.svgElementName=\"svg:polyline\"}render(){this.container.classList.add(this.containerClassName);let{data:{rect:e,vertices:t,borderStyle:s,popupRef:i},width:r,height:a}=this;if(!t)return this.container;let o=Lt._svgFactory,l=o.create(r,a,!0),c=[];for(let h=0,u=t.length;h<u;h+=2){let d=t[h]-e[0],p=e[3]-t[h+1];c.push(`${d},${p}`)}c=c.join(\" \");let f=this.#e=o.createElement(this.svgElementName);return f.setAttribute(\"points\",c),f.setAttribute(\"stroke-width\",s.width||1),f.setAttribute(\"stroke\",\"transparent\"),f.setAttribute(\"fill\",\"transparent\"),l.append(f),this.container.append(l),!i&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add(\"highlightArea\")}},vp=class extends Pf{constructor(e){super(e),this.containerClassName=\"polygonAnnotation\",this.svgElementName=\"svg:polygon\"}},yp=class extends Lt{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add(\"caretAnnotation\"),!this.data.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}},bl=class extends Lt{#e=null;#n=[];constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName=\"inkAnnotation\",this.svgElementName=\"svg:polyline\",this.annotationEditorType=this.data.it===\"InkHighlight\"?pt.HIGHLIGHT:pt.INK}#t(e,t){switch(e){case 90:return{transform:`rotate(90) translate(${-t[0]},${t[1]}) scale(1,-1)`,width:t[3]-t[1],height:t[2]-t[0]};case 180:return{transform:`rotate(180) translate(${-t[2]},${t[1]}) scale(1,-1)`,width:t[2]-t[0],height:t[3]-t[1]};case 270:return{transform:`rotate(270) translate(${-t[2]},${t[3]}) scale(1,-1)`,width:t[3]-t[1],height:t[2]-t[0]};default:return{transform:`translate(${-t[0]},${t[3]}) scale(1,-1)`,width:t[2]-t[0],height:t[3]-t[1]}}}render(){this.container.classList.add(this.containerClassName);let{data:{rect:e,rotation:t,inkLists:s,borderStyle:i,popupRef:r}}=this,{transform:a,width:o,height:l}=this.#t(t,e),c=Lt._svgFactory,f=c.create(o,l,!0),h=this.#e=c.createElement(\"svg:g\");f.append(h),h.setAttribute(\"stroke-width\",i.width||1),h.setAttribute(\"stroke-linecap\",\"round\"),h.setAttribute(\"stroke-linejoin\",\"round\"),h.setAttribute(\"stroke-miterlimit\",10),h.setAttribute(\"stroke\",\"transparent\"),h.setAttribute(\"fill\",\"transparent\"),h.setAttribute(\"transform\",a);for(let u of s){let d=c.createElement(this.svgElementName);this.#n.push(d),d.setAttribute(\"points\",u.join(\",\")),h.append(d)}return!r&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container.append(f),this._editOnDoubleClick(),this.container}updateEdited(e){super.updateEdited(e);let{thickness:t,points:s,rect:i}=e,r=this.#e;if(t>=0&&r.setAttribute(\"stroke-width\",t||1),s)for(let a=0,o=this.#n.length;a<o;a++)this.#n[a].setAttribute(\"points\",s[a].join(\",\"));if(i){let{transform:a,width:o,height:l}=this.#t(this.data.rotation,i);r.parentElement.setAttribute(\"viewBox\",`0 0 ${o} ${l}`),r.setAttribute(\"transform\",a)}}getElementsToTriggerPopup(){return this.#n}addHighlightArea(){this.container.classList.add(\"highlightArea\")}},Bf=class extends Lt{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}),this.annotationEditorType=pt.HIGHLIGHT}render(){let{data:{overlaidText:e,popupRef:t}}=this;if(!t&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container.classList.add(\"highlightAnnotation\"),this._editOnDoubleClick(),e){let s=document.createElement(\"mark\");s.classList.add(\"overlaidText\"),s.textContent=e,this.container.append(s)}return this.container}},kp=class extends Lt{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){let{data:{overlaidText:e,popupRef:t}}=this;if(!t&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container.classList.add(\"underlineAnnotation\"),e){let s=document.createElement(\"u\");s.classList.add(\"overlaidText\"),s.textContent=e,this.container.append(s)}return this.container}},jp=class extends Lt{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){let{data:{overlaidText:e,popupRef:t}}=this;if(!t&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container.classList.add(\"squigglyAnnotation\"),e){let s=document.createElement(\"u\");s.classList.add(\"overlaidText\"),s.textContent=e,this.container.append(s)}return this.container}},Ap=class extends Lt{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){let{data:{overlaidText:e,popupRef:t}}=this;if(!t&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container.classList.add(\"strikeoutAnnotation\"),e){let s=document.createElement(\"s\");s.classList.add(\"overlaidText\"),s.textContent=e,this.container.append(s)}return this.container}},Df=class extends Lt{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.annotationEditorType=pt.STAMP}render(){return this.container.classList.add(\"stampAnnotation\"),this.container.setAttribute(\"role\",\"img\"),!this.data.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this._editOnDoubleClick(),this.container}},Sp=class extends Lt{#e=null;constructor(e){super(e,{isRenderable:!0});let{fileId:t,file:s}=this.data;this.filename=s.filename,this.content=s.content,this.fileId=t,this.linkService.eventBus?.dispatch(\"fileattachmentannotation\",{source:this,attachmentId:this.fileId,...s})}render(){this.container.classList.add(\"fileAttachmentAnnotation\");let{container:e,data:t}=this,s;t.hasAppearance||t.fillAlpha===0?s=document.createElement(\"div\"):(s=document.createElement(\"img\"),s.src=`${this.imageResourcesPath}annotation-${/paperclip/i.test(t.name)?\"paperclip\":\"pushpin\"}.svg`,t.fillAlpha&&t.fillAlpha<1&&(s.style=`filter: opacity(${Math.round(t.fillAlpha*100)}%);`)),s.addEventListener(\"dblclick\",this.#n.bind(this)),this.#e=s;let{isMac:i}=Ot.platform;return e.addEventListener(\"keydown\",r=>{r.key===\"Enter\"&&(i?r.metaKey:r.ctrlKey)&&this.#n()}),!t.popupRef&&this.hasPopupData?(this.hasOwnCommentButton=!0,this._createPopup()):s.classList.add(\"popupTriggerArea\"),e.append(s),e}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add(\"highlightArea\")}async#n(){let{fileId:e,filename:t,content:s}=this,i=await this.linkService.getAttachmentContent(e)||s;i&&this.downloadManager?.openOrDownloadData(i,t)}},Nf=class extends Lt{#e=new AbortController;#n=null;#t=null;constructor(e){super(e,{isRenderable:!!e.data.richMedia})}render(){this.container.classList.add(\"mediaAnnotation\");let{filename:e}=this.data.richMedia,t=document.createElement(\"button\");return t.className=\"mediaPlayButton\",t.type=\"button\",t.title=t.ariaLabel=e,t.addEventListener(\"click\",()=>this.#s(t),{signal:this.#e.signal}),this.container.append(t),this.container}async#s(e){let{fileId:t,filename:s,contentType:i}=this.data.richMedia;e.disabled=!0;let r;try{r=await this.linkService.getAttachmentContent(t)}catch{return}finally{e.disabled=!1}if(!r||!e.isConnected)return;let{signal:a}=this.#e,o=new Blob([r],{type:i});if(!/^(?:video|audio)\\//.test(o.type))return;let l=URL.createObjectURL(o);this.#n=l;let c=o.type.startsWith(\"audio/\"),f=document.createElement(c?\"audio\":\"video\");if(this.#t=f,f.className=\"mediaContent\",this._setBackgroundColor(f),f.src=l,f.title=s,f.controls=!0,f.autoplay=!0,f.tabIndex=0,c){let h=!1,u=!1,d=()=>{f.controls=h||u};this.container.addEventListener(\"pointerenter\",()=>{h=!0,d()},{signal:a}),this.container.addEventListener(\"pointerleave\",()=>{h=!1,d()},{signal:a}),this.container.addEventListener(\"focusin\",()=>{u=!0,d()},{signal:a}),this.container.addEventListener(\"focusout\",()=>{u=!1,d()},{signal:a})}f.addEventListener(\"emptied\",()=>this.#i(l),{once:!0,signal:a}),e.replaceWith(f),f.play().catch(()=>{})}#i(e=this.#n){e&&e===this.#n&&(URL.revokeObjectURL(e),this.#n=null)}destroy(){this.#e.abort(),this.#t&&(this.#t.pause(),this.#t.removeAttribute(\"src\"),this.#t.load(),this.#t=null),this.#i()}},qp=class n{#e=null;#n=null;#t=null;#s=new Map;#i=null;#r=null;#a=[];#o=!1;zIndex=0;constructor({div:e,accessibilityManager:t,annotationCanvasMap:s,annotationEditorUIManager:i,page:r,viewport:a,structTreeLayer:o,commentManager:l,linkService:c,annotationStorage:f}){this.div=e,this.#e=t,this.#n=s,this.#i=o||null,this.#r=c||null,this.#t=f||new ll,this.page=r,this.viewport=a,this._annotationEditorUIManager=i,this._commentManager=l||null}hasEditableAnnotations(){return this.#s.size>0}async render(e){let{annotations:t,optionalContentConfig:s}=e,i=this.div;$r(i,this.viewport);let r=new Map,a=[],o={data:null,layer:i,linkService:this.#r,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||\"\",renderForms:e.renderForms!==!1,annotationStorage:this.#t,enableComment:e.enableComment===!0,enableAnnotationEditing:e.enableAnnotationEditing!==!1,enableScripting:e.enableScripting===!0,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,parent:this,elements:null};for(let l of t){if(l.noHTML)continue;let c=l.annotationType===cn.POPUP;if(c){let u=r.get(l.id);if(!u)continue;if(!this._commentManager){a.push(l);continue}o.elements=u}else if(l.rect[2]===l.rect[0]||l.rect[3]===l.rect[1])continue;o.data=l;let f=Zo.create(o);if(!f.isRenderable)continue;c||(this.#a.push(f),l.popupRef&&r.getOrInsertComputed(l.popupRef,io).push(f));let h=f.render();l.hidden&&(h.style.visibility=\"hidden\"),f.updateOC(s),f._isEditable&&(this.#s.set(f.data.id,f),this._annotationEditorUIManager?.renderAnnotationElement(f))}await this.#l();for(let l of a){let c=o.elements=r.get(l.id);o.data=l;let f=Zo.create(o);if(!f.isRenderable)continue;let h=f.render();f.contentElement.id=`${Va}${l.id}`,l.hidden&&(h.style.visibility=\"hidden\"),c.at(-1).container.after(h)}this.#c()}async#l(){if(this.#a.length===0)return;this.div.replaceChildren();let e=[];if(!this.#o){this.#o=!0;for(let{contentElement:s,data:{hidden:i,id:r,oc:a}}of this.#a){let o=s.id=`${Va}${r}`,l=s.localName===\"a\"&&!i&&!a;e.push(this.#i?.getAriaAttributes(o,{enableLinkOwnership:l}).then(c=>{if(c)for(let[f,h]of c)s.setAttribute(f,h)}))}}this.#a.sort(({data:{rect:[s,i,r,a]}},{data:{rect:[o,l,c,f]}})=>{if(s===r&&i===a)return 1;if(o===c&&l===f)return-1;let h=a,u=i,d=(i+a)/2,p=f,m=l,g=(l+f)/2;if(d>=p&&g<=u)return-1;if(g>=h&&d<=m)return 1;let b=(s+r)/2,x=(o+c)/2;return b-x});let t=document.createDocumentFragment();for(let s of this.#a)t.append(s.container),this._commentManager?(s.extraPopupElement?.popup||s.popup)?.renderCommentButton():s.extraPopupElement&&t.append(s.extraPopupElement.render());if(this.div.append(t),await Promise.all(e),this.#e){let s=await this.#i?.getAnnotationIds();for(let{contentElement:i}of this.#a)s?.has(i.id)||this.#e.addPointerInTextLayer(i,!1)}}async addLinkAnnotations(e){let t={data:null,layer:this.div,linkService:this.#r,parent:this};for(let s of e){s.borderStyle||=n._defaultBorderStyle,t.data=s;let i=Zo.create(t);i.isRenderable&&(i.render(),i.contentElement.id=`${Va}${s.id}`,this.#a.push(i))}await this.#l()}update({viewport:e,optionalContentConfig:t}){let s=this.div;this.viewport=e,$r(s,{rotation:e.rotation});for(let i of this.#a)i.updateOC(t);this.#c(),s.hidden=!1}destroy(){for(let e of this.#a)e.destroy?.(),this.#e?.removePointerInTextLayer(e.contentElement);this.#a.length=0,this.#s.clear(),this.div.replaceChildren()}#c(){if(!this.#n)return;let e=this.div;for(let[t,s]of this.#n){let i=e.querySelector(`[data-annotation-id=\"${t}\"]`);if(!i)continue;if(Array.isArray(s))for(let c of s)c.className=\"annotationContent\",c.ariaHidden=!0;else s.className=\"annotationContent\",s.ariaHidden=!0;let r=[];for(let c of i.children)c.nodeName===\"CANVAS\"&&r.push(c);for(let c of r)c.remove();let a=Array.isArray(s)?s[0]:s,{firstChild:o}=i;if(o?o.classList.contains(\"annotationContent\")?o.after(a):o.before(a):i.append(a),Array.isArray(s)){let c=a;for(let f=1,h=s.length;f<h;f++)c.after(s[f]),c=s[f]}this.#n.delete(t);let l=this.#s.get(t);l&&(l._hasNoCanvas?(this._annotationEditorUIManager?.setMissingCanvas(t,i.id,s),l._hasNoCanvas=!1):l.canvas=s)}}refreshCanvases(){this.#c()}getEditableAnnotations(){return this.#s.values()}getEditableAnnotation(e){return this.#s.get(e)}addFakeAnnotation(e){let{div:t}=this,{id:s,rotation:i}=e,r=new lp({data:{id:s,rect:e.getPDFRect(),rotation:i},editor:e,layer:t,parent:this,enableComment:!!this._commentManager,linkService:this.#r,annotationStorage:this.#t});return r.render(),r.contentElement.id=`${Va}${s}`,r.createOrUpdatePopup(),this.#a.push(r),r}removeAnnotation(e){let t=this.#a.findIndex(i=>i.data.id===e);if(t<0)return;let[s]=this.#a.splice(t,1);this.#e?.removePointerInTextLayer(s.contentElement)}updateFakeAnnotations(e){if(e.length!==0){for(let t of e)t.updateFakeAnnotationElement(this);this.#l()}}togglePointerEvents(e=!1){this.div.classList.toggle(\"disabled\",!e)}static get _defaultBorderStyle(){return ze(this,\"_defaultBorderStyle\",Object.freeze({width:1,rawWidth:1,style:$a.SOLID,dashArray:[3],horizontalCornerRadius:0,verticalCornerRadius:0}))}},uf=/\\r\\n?|\\n/g,_p=class n extends Ut{#e=\"\";#n=`${this.id}-editor`;#t=null;#s;_colorPicker=null;static _freeTextDefaultContent=\"\";static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static get _keyboardManager(){let e=n.prototype,t=r=>r.isEmpty(),s=Kr.TRANSLATE_SMALL,i=Kr.TRANSLATE_BIG;return ze(this,\"_keyboardManager\",new Vr([[[\"ctrl+s\",\"mac+meta+s\",\"ctrl+p\",\"mac+meta+p\"],e.commitOrRemove,{bubbles:!0}],[[\"ctrl+Enter\",\"mac+meta+Enter\"],e.commitOrRemove],[[\"Escape\"],e.commitOrRemove],[[\"ArrowLeft\"],e._translateEmpty,{args:[-s,0],checker:t}],[[\"ctrl+ArrowLeft\",\"mac+shift+ArrowLeft\"],e._translateEmpty,{args:[-i,0],checker:t}],[[\"ArrowRight\"],e._translateEmpty,{args:[s,0],checker:t}],[[\"ctrl+ArrowRight\",\"mac+shift+ArrowRight\"],e._translateEmpty,{args:[i,0],checker:t}],[[\"ArrowUp\"],e._translateEmpty,{args:[0,-s],checker:t}],[[\"ctrl+ArrowUp\",\"mac+shift+ArrowUp\"],e._translateEmpty,{args:[0,-i],checker:t}],[[\"ArrowDown\"],e._translateEmpty,{args:[0,s],checker:t}],[[\"ctrl+ArrowDown\",\"mac+shift+ArrowDown\"],e._translateEmpty,{args:[0,i],checker:t}]]))}static _type=\"freetext\";static _editorType=pt.FREETEXT;constructor(e){super({...e,name:\"freeTextEditor\"}),this.color=e.color||n._defaultColor||Ut._defaultLineColor,this.#s=e.fontSize||n._defaultFontSize,this.annotationElementId||this._uiManager.a11yAlert(Ut._l10nAlert.freetext),this.canAddComment=!1}static initialize(e,t){Ut.initialize(e,t);let s=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(s.getPropertyValue(\"--freetext-padding\"))}static updateDefaultParams(e,t){switch(e){case qt.FREETEXT_SIZE:n._defaultFontSize=t;break;case qt.FREETEXT_COLOR:n._defaultColor=t;break}}updateParams(e,t){switch(e){case qt.FREETEXT_SIZE:this.#i(t);break;case qt.FREETEXT_COLOR:this.#r(t);break}}static get defaultPropertiesToUpdate(){return[[qt.FREETEXT_SIZE,n._defaultFontSize],[qt.FREETEXT_COLOR,n._defaultColor||Ut._defaultLineColor]]}get propertiesToUpdate(){return[[qt.FREETEXT_SIZE,this.#s],[qt.FREETEXT_COLOR,this.color]]}get toolbarButtons(){return this._colorPicker||=new Ff(this),[[\"colorPicker\",this._colorPicker]]}get colorType(){return qt.FREETEXT_COLOR}#i(e){let t=i=>{this.editorDiv.style.fontSize=`calc(${i}px * var(--total-scale-factor))`,this.translate(0,-(i-this.#s)*this.parentScale),this.#s=i,this.#o()},s=this.#s;this.addCommands({cmd:t.bind(this,e),undo:t.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:qt.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}onUpdatedColor(){this.editorDiv.style.color=this.color,this._colorPicker?.update(this.color),super.onUpdatedColor()}#r(e){let t=i=>{this.color=i,this.onUpdatedColor()},s=this.color;this.addCommands({cmd:t.bind(this,e),undo:t.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:qt.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}_translateEmpty(e,t){this._uiManager.translateSelectedEditors(e,t,!0)}getInitialTranslation(){let e=this.parentScale;return[-n._internalPadding*e,-(n._internalPadding+this.#s)*e]}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(!super.enableEditMode())return!1;this.overlayDiv.classList.remove(\"enabled\"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute(\"aria-activedescendant\"),this.#t=new AbortController;let e=this._uiManager.combinedSignal(this.#t);return this.editorDiv.addEventListener(\"keydown\",this.editorDivKeydown.bind(this),{signal:e}),this.editorDiv.addEventListener(\"focus\",this.editorDivFocus.bind(this),{signal:e}),this.editorDiv.addEventListener(\"blur\",this.editorDivBlur.bind(this),{signal:e}),this.editorDiv.addEventListener(\"input\",this.editorDivInput.bind(this),{signal:e}),this.editorDiv.addEventListener(\"paste\",this.editorDivPaste.bind(this),{signal:e}),!0}disableEditMode(){return super.disableEditMode()?(this.overlayDiv.classList.add(\"enabled\"),this.editorDiv.contentEditable=!1,this.div.setAttribute(\"aria-activedescendant\",this.#n),this._isDraggable=!0,this.#t?.abort(),this.#t=null,this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add(\"freetextEditing\"),!0):!1}focusin(e){this._focusEventsAllowed&&(super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(e){this.width||(this.enableEditMode(),e&&this.editorDiv.focus(),this._initialOptions?.isCentered&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||this.editorDiv.innerText.trim()===\"\"}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add(\"freetextEditing\")),super.remove()}#a(){let e=[];this.editorDiv.normalize();let t=null;for(let s of this.editorDiv.childNodes)t?.nodeType===Node.TEXT_NODE&&s.nodeName===\"BR\"||(e.push(n.#l(s)),t=s);return e.join(`\n`)}#o(){let[e,t]=this.parentDimensions,s;if(this.isAttachedToDOM)s=this.div.getBoundingClientRect();else{let{currentLayer:i,div:r}=this,a=r.style.display,o=r.classList.contains(\"hidden\");r.classList.remove(\"hidden\"),r.style.display=\"hidden\",i.div.append(this.div),s=r.getBoundingClientRect(),r.remove(),r.style.display=a,r.classList.toggle(\"hidden\",o)}this.rotation%180===this.parentRotation%180?(this.width=s.width/e,this.height=s.height/t):(this.width=s.height/e,this.height=s.width/t),this.fixAndSetPosition()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();let e=this.#e,t=this.#e=this.#a().trimEnd();if(e===t)return;let s=i=>{if(this.#e=i,!i){this.remove();return}this.#c(),this._uiManager.rebuild(this),this.#o()};this.addCommands({cmd:()=>{s(t)},undo:()=>{s(e)},mustExec:!1}),this.#o()}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}keydown(e){e.target===this.div&&e.key===\"Enter\"&&(this.enterInEditMode(),e.preventDefault())}editorDivKeydown(e){n._keyboardManager.exec(this,e)}editorDivFocus(e){this.isEditing=!0}editorDivBlur(e){this.isEditing=!1}editorDivInput(e){this.parent.div.classList.toggle(\"freetextEditing\",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute(\"role\",\"comment\"),this.editorDiv.removeAttribute(\"aria-multiline\")}enableEditing(){this.editorDiv.setAttribute(\"role\",\"textbox\"),this.editorDiv.setAttribute(\"aria-multiline\",!0)}get canChangeContent(){return!0}render(){if(this.div)return this.div;let e,t;(this._isCopy||this.annotationElementId)&&(e=this.x,t=this.y),super.render(),this.editorDiv=document.createElement(\"div\"),this.editorDiv.className=\"internal\",this.editorDiv.setAttribute(\"id\",this.#n),this.editorDiv.setAttribute(\"data-l10n-id\",\"pdfjs-free-text2\"),this.editorDiv.setAttribute(\"data-l10n-attrs\",\"default-content\"),this.enableEditing(),this.editorDiv.contentEditable=!0;let{style:s}=this.editorDiv;if(s.fontSize=`calc(${this.#s}px * var(--total-scale-factor))`,s.color=this.color,this.div.append(this.editorDiv),this.overlayDiv=document.createElement(\"div\"),this.overlayDiv.classList.add(\"overlay\",\"enabled\"),this.div.append(this.overlayDiv),this._isCopy||this.annotationElementId){let[i,r]=this.parentDimensions;if(this.annotationElementId){let{position:a}=this._initialData,[o,l]=this.getInitialTranslation();[o,l]=this.pageTranslationToScreen(o,l);let[c,f]=this.pageDimensions,[h,u]=this.pageTranslation,d,p;switch(this.rotation){case 0:d=e+(a[0]-h)/c,p=t+this.height-(a[1]-u)/f;break;case 90:d=e+(a[0]-h)/c,p=t-(a[1]-u)/f,[o,l]=[l,-o];break;case 180:d=e-this.width+(a[0]-h)/c,p=t-(a[1]-u)/f,[o,l]=[-o,-l];break;case 270:d=e+(a[0]-h-this.height*f)/c,p=t+(a[1]-u-this.width*c)/f,[o,l]=[-l,o];break}this.setAt(d*i,p*r,o,l)}else this._moveAfterPaste(e,t);this.#c(),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}static#l(e){return(e.nodeType===Node.TEXT_NODE?e.nodeValue:e.innerText).replaceAll(uf,\"\")}editorDivPaste(e){let t=e.clipboardData||window.clipboardData,{types:s}=t;if(s.length===1&&s[0]===\"text/plain\")return;e.preventDefault();let i=n.#f(t.getData(\"text\")||\"\").replaceAll(uf,`\n`);if(!i)return;let r=window.getSelection();if(!r.rangeCount)return;this.editorDiv.normalize(),r.deleteFromDocument();let a=r.getRangeAt(0);if(!i.includes(`\n`)){a.insertNode(document.createTextNode(i)),this.editorDiv.normalize(),r.collapseToStart();return}let{startContainer:o,startOffset:l}=a,c=[],f=[];if(o.nodeType===Node.TEXT_NODE){let d=o.parentElement;if(f.push(o.nodeValue.slice(l).replaceAll(uf,\"\")),d!==this.editorDiv){let p=c;for(let m of this.editorDiv.childNodes){if(m===d){p=f;continue}p.push(n.#l(m))}}c.push(o.nodeValue.slice(0,l).replaceAll(uf,\"\"))}else if(o===this.editorDiv){let d=c,p=0;for(let m of this.editorDiv.childNodes)p++===l&&(d=f),d.push(n.#l(m))}this.#e=`${c.join(`\n`)}${i}${f.join(`\n`)}`,this.#c();let h=new Range,u=Math.sumPrecise(c.map(d=>d.length));for(let{firstChild:d}of this.editorDiv.childNodes)if(d.nodeType===Node.TEXT_NODE){let p=d.nodeValue.length;if(u<=p){h.setStart(d,u),h.setEnd(d,u);break}u-=p}r.removeAllRanges(),r.addRange(h)}#c(){if(this.editorDiv.replaceChildren(),!!this.#e)for(let e of this.#e.split(`\n`)){let t=document.createElement(\"div\");t.append(e?document.createTextNode(e):document.createElement(\"br\")),this.editorDiv.append(t)}}#h(){return this.#e.replaceAll(\"\\xA0\",\" \")}static#f(e){return e.replaceAll(\" \",\"\\xA0\")}get contentDiv(){return this.editorDiv}getPDFRect(){let e=n._internalPadding*this.parentScale;return this.getRect(e,e)}static async deserialize(e,t,s){let i=null;if(e instanceof Mf){let{data:{defaultAppearanceData:{fontSize:a,fontColor:o},rect:l,rotation:c,id:f,popupRef:h,richText:u,contentsObj:d,creationDate:p,modificationDate:m},textContent:g,textPosition:b,parent:{page:{pageNumber:x}}}=e;if(!g?.length)return null;i=e={annotationType:pt.FREETEXT,color:Array.from(o),fontSize:a,value:g.join(`\n`),position:b,pageIndex:x-1,rect:l.slice(0),rotation:c,annotationElementId:f,id:f,deleted:!1,popupRef:h,comment:d?.str||null,richText:u,creationDate:p,modificationDate:m}}let r=await super.deserialize(e,t,s);return r.#s=e.fontSize,r.color=Be.makeHexColor(...e.color),r.#e=n.#f(e.value),r._initialData=i,e.comment&&r.setCommentData(e),r}serialize(e=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();let t=Ut._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:this.color),s=Object.assign(super.serialize(e),{color:t,fontSize:this.#s,value:this.#h()});return this.addComment(s),e?(s.isCopy=!0,s):this.annotationElementId&&!this.#d(s)?null:(s.id=this.annotationElementId,s)}#d(e){let{value:t,fontSize:s,color:i,pageIndex:r}=this._initialData;return this.hasEditedComment||this._hasBeenMoved||e.value!==t||e.fontSize!==s||e.color.some((a,o)=>a!==i[o])||e.pageIndex!==r}renderAnnotationElement(e){let t=super.renderAnnotationElement(e);if(!t)return null;let{style:s}=t;s.fontSize=`calc(${this.#s}px * var(--total-scale-factor))`,s.color=this.color,t.replaceChildren();for(let i of this.#e.split(`\n`)){let r=document.createElement(\"div\");r.append(i?document.createTextNode(i):document.createElement(\"br\")),t.append(r)}return e.updateEdited({rect:this.getPDFRect(),popup:this._uiManager.hasCommentManager()||this.hasEditedComment?this.comment:{text:this.#e}}),t}resetAnnotationElement(e){super.resetAnnotationElement(e),e.resetEdited()}},wl=class{#e=Object.create(null);updateProperty(e,t){this[e]=t,this.updateSVGProperty(e,t)}updateProperties(e){if(e)for(let[t,s]of Object.entries(e))t.startsWith(\"_\")||this.updateProperty(t,s)}updateSVGProperty(e,t){this.#e[e]=t}toSVGProperties(){let e=this.#e;return this.#e=Object.create(null),{root:e}}reset(){this.#e=Object.create(null)}updateAll(e=this){this.updateProperties(e)}clone(){Mt(\"Not implemented\")}},xl=class n extends Ut{#e=null;#n;_clipPathId=null;_colorPicker=null;_drawId=null;_drawOutlines=null;_focusDrawId=null;static _currentDrawId=-1;static _currentParent=null;static#t=null;static#s=null;static#i=null;static#r=null;static _INNER_MARGIN=3;constructor(e){super(e),this.#n=e.mustBeCommitted||!1,this._addOutlines(e)}onUpdatedColor(){this._colorPicker?.update(this.color),super.onUpdatedColor()}onUpdatedOpacity(){this._colorPicker?.updateOpacity?.(this.opacity)}_addOutlines(e){e.drawOutlines&&(this.#a(e),this.#g())}#a({drawOutlines:e,drawId:t,drawingOptions:s,clipPathId:i}){this._drawOutlines=e,this._drawingOptions||=s,this.annotationElementId||this._uiManager.a11yAlert(Ut._l10nAlert[this.editorType]),t>=0?(this._drawId=t,this._clipPathId=i??null,this.parent.drawLayer.finalizeDraw(t,e.defaultProperties),this.#l(this.parent)):this._drawId=this.#o(e,this.parent),this.#b(e.box)}#o(e,t){let{id:s,clipPathId:i}=t.drawLayer.draw(n._mergeSVGProperties(this._drawingOptions.toSVGProperties(),e.defaultSVGProperties),!1,this.constructor._hasClipPath);return this.constructor._hasClipPath&&(this._clipPathId=i),this.#l(t),s}#l(e){let t=this._drawOutlines.getFocusSVGProperties(this.#d);t&&(this._focusDrawId=e.drawLayer.drawOutline(t,this._drawOutlines.focusMustRemoveSelfIntersections))}#c(e=this.#d){this._focusDrawId!==null&&this.parent?.drawLayer.updateProperties(this._focusDrawId,this._drawOutlines.getFocusSVGProperties(e))}#h(e){this._focusDrawId!==null&&this.parent?.drawLayer.updateProperties(this._focusDrawId,{rootClass:e})}#f(){let{parent:e,_drawId:t,_focusDrawId:s,_isVisible:i}=this;if(!e||t===null)return;let r={hidden:!i};e.drawLayer.updateProperties(t,{rootClass:r}),s!==null&&e.drawLayer.updateProperties(s,{rootClass:r})}static _mergeSVGProperties(e,t){let s=new Set(Object.keys(e));for(let[i,r]of Object.entries(t))s.has(i)?Object.assign(e[i],r):e[i]=r;return e}static getDefaultDrawingOptions(e){Mt(\"Not implemented\")}static get typesMap(){Mt(\"Not implemented\")}static get isDrawer(){return!0}static get _hasClipPath(){return!1}static get _hasDrawClass(){return!0}static get supportMultipleDrawings(){return!1}get _drawRotation(){return this.rotation}get _opacityName(){return this.constructor.typesMap.get(this.opacityType)}get#d(){return(this.parentRotation-this._drawRotation+360)%360}static updateDefaultParams(e,t){let s=this.typesMap.get(e);s&&this._defaultDrawingOptions.updateProperty(s,t),this._currentParent&&(n.#t.updateProperty(s,t),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(e,t){let s=this.constructor.typesMap.get(e);s&&this._updateProperty(e,s,t)}static get defaultPropertiesToUpdate(){let e=[],t=this._defaultDrawingOptions;for(let[s,i]of this.typesMap)e.push([s,t[i]]);return e}get propertiesToUpdate(){let e=[],{_drawingOptions:t}=this;for(let[s,i]of this.constructor.typesMap)e.push([s,t[i]]);return e}_updateProperty(e,t,s){let i=this._drawingOptions,r=i[t],a=o=>{i.updateProperty(t,o);let l=this._drawOutlines.updateProperty(t,o);l&&this.#b(l),this.parent?.drawLayer.updateProperties(this._drawId,i.toSVGProperties()),e===this.colorType?this.onUpdatedColor():e===this.opacityType&&this.onUpdatedOpacity()};this.addCommands({cmd:a.bind(this,s),undo:a.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:e,overwriteIfSameType:!0,keepUndo:!0})}_updateColorAndOpacity(e,t,s=this.colorAndOpacityType){let i=this.constructor.typesMap.get(this.colorType),r=this._opacityName,a=this._drawingOptions,o=a[i],l=a[r],c=(f,h)=>{a.updateProperty(i,f),a.updateProperty(r,h),this._drawOutlines.updateProperty(i,f),this._drawOutlines.updateProperty(r,h),this.parent?.drawLayer.updateProperties(this._drawId,a.toSVGProperties()),this.onUpdatedColor(),this.onUpdatedOpacity()};this.addCommands({cmd:c.bind(this,e,t),undo:c.bind(this,o,l),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:s,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){this.parent?.drawLayer.updateProperties(this._drawId,n._mergeSVGProperties(this._drawOutlines.getPathResizingSVGProperties(this.#m()),{bbox:this.#w()}))}_onResized(){this.parent?.drawLayer.updateProperties(this._drawId,n._mergeSVGProperties(this._drawOutlines.getPathResizedSVGProperties(this.#m()),{bbox:this.#w()})),this.#c()}_onTranslating(e,t){this.parent?.drawLayer.updateProperties(this._drawId,{bbox:this.#w()})}_onTranslated(){this.parent?.drawLayer.updateProperties(this._drawId,n._mergeSVGProperties(this._drawOutlines.getPathTranslatedSVGProperties(this.#m(),this.parentDimensions),{bbox:this.#w()}))}_onStartDragging(){this.parent?.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){this.parent?.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}get _mustBeDisabledOnCommit(){return!0}commit(){super.commit(),this._mustBeDisabledOnCommit&&(this.disableEditMode(),this.disableEditing())}disableEditing(){super.disableEditing(),this.div.classList.toggle(\"disabled\",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle(\"disabled\",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(e){!this.annotationElementId&&this._drawId!==null&&this.parent.addUndoableEditor(this),this._isDraggable=!0,this.#n&&(this.#n=!1,this.commit(),this.parent.setSelected(this),e&&this.isOnScreen&&this.div.focus())}remove(){this._uiManager.removeShouldRescale(this),this.#p(),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.#g(),this.#b(this._drawOutlines.box),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){let t=!1;this.parent&&!e?(this._uiManager.removeShouldRescale(this),this.#p()):e&&(this._uiManager.addShouldRescale(this),this.#g(e),t=!this.parent&&this.div?.classList.contains(\"selectedEditor\")),super.setParent(e),this.#f(),t&&this.select()}#p(){if(this._drawId===null||!this.parent)return;let{drawLayer:e}=this.parent;e.remove(this._drawId),this._drawId=null,this._focusDrawId!==null&&(e.remove(this._focusDrawId),this._focusDrawId=null),this._drawingOptions.reset()}#g(e=this.parent){if(!(this._drawId!==null&&this.parent===e)){if(this._drawId!==null){let{drawLayer:t}=this.parent;t.updateParent(this._drawId,e.drawLayer),this._focusDrawId!==null&&t.updateParent(this._focusDrawId,e.drawLayer);return}this._drawingOptions.updateAll(),this._drawId=this.#o(this._drawOutlines,e),this._clipPathId&&this.#e&&(this.#e.style.clipPath=this._clipPathId)}}#u([e,t,s,i]){let{parentDimensions:[r,a],_drawRotation:o}=this;switch(o){case 90:return[t,1-e,s*(a/r),i*(r/a)];case 180:return[1-e,1-t,s,i];case 270:return[1-t,e,s*(a/r),i*(r/a)];default:return[e,t,s,i]}}#m(){let{x:e,y:t,width:s,height:i,parentDimensions:[r,a],_drawRotation:o}=this;switch(o){case 90:return[1-t,e,s*(r/a),i*(a/r)];case 180:return[1-e,1-t,s,i];case 270:return[t,1-e,s*(r/a),i*(a/r)];default:return[e,t,s,i]}}#b(e){[this.x,this.y,this.width,this.height]=this.#u(e),this.div&&(this.fixAndSetPosition(),this.setDims()),this._onResized()}#w(e=this.parentRotation){let{x:t,y:s,width:i,height:r,_drawRotation:a,parentDimensions:[o,l]}=this;switch((a*4+e)/90){case 1:return[1-s-r,t,r,i];case 2:return[1-t-i,1-s-r,i,r];case 3:return[s,1-t-i,r,i];case 4:return[t,s-i*(o/l),r*(l/o),i*(o/l)];case 5:return[1-s,t,i*(o/l),r*(l/o)];case 6:return[1-t-r*(l/o),1-s,r*(l/o),i*(o/l)];case 7:return[s-i*(o/l),1-t-r*(l/o),i*(o/l),r*(l/o)];case 8:return[t-i,s-r,i,r];case 9:return[1-s,t-i,r,i];case 10:return[1-t,1-s,i,r];case 11:return[s-r,1-t,r,i];case 12:return[t-r*(l/o),s,r*(l/o),i*(o/l)];case 13:return[1-s-i*(o/l),t-r*(l/o),i*(o/l),r*(l/o)];case 14:return[1-t,1-s-i*(o/l),r*(l/o),i*(o/l)];case 15:return[s,1-t,i*(o/l),r*(l/o)];default:return[t,s,i,r]}}rotate(e=this.parentRotation){if(!this.parent||this._drawId===null)return;let t=(e-this._drawRotation+360)%360;this.parent.drawLayer.updateProperties(this._drawId,n._mergeSVGProperties({bbox:this.#w(e)},this._drawOutlines.updateRotation(t))),this.#c(t)}show(e=this._isVisible){super.show(e),this.#f()}select(){super.select(),this.#h({hovered:!1,selected:!0})}unselect(){super.unselect(),this.#h({selected:!1})}pointerover(){this.isSelected||this.#h({hovered:!0})}pointerleave(){this.isSelected||this.#h({hovered:!1})}onScaleChanging(){if(!this.parent)return;let e=this._drawOutlines.updateParentDimensions(this.parentDimensions,this.parent.scale);e&&this.#b(e)}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;let e,t;this._isCopy&&(e=this.x,t=this.y);let s=super.render();this.constructor._hasDrawClass&&s.classList.add(\"draw\");let i=this.#e=document.createElement(\"div\");return s.append(i),i.setAttribute(\"aria-hidden\",\"true\"),i.className=\"internal\",this._clipPathId&&(i.style.clipPath=this._clipPathId),F5(this,i,[\"pointerover\",\"pointerleave\"]),this.setDims(),this._uiManager.addShouldRescale(this),this.disableEditing(),this._isCopy&&this._moveAfterPaste(e,t),s}static createDrawerInstance(e){Mt(\"Not implemented\")}static _getDrawingTarget(e,{target:t}){return t}static _getPointerCoords({offsetX:e,offsetY:t,clientX:s,clientY:i},r=null){if(!r)return[e,t];let a=s-r.clientX,o=i-r.clientY;switch(this._currentParent.viewport.rotation){case 90:[a,o]=[o,-a];break;case 180:[a,o]=[-a,-o];break;case 270:[a,o]=[-o,a];break}return[r.offsetX+a,r.offsetY+o]}static _addDrawingListeners(e,t){}static _endDrawingSession(e=!1){return this._currentParent.endDrawingSession(e)}static startDrawing(e,t,s,i){let{pointerId:r,pointerType:a}=i;if(Zn.isInitializedAndDifferentPointerType(a))return;let o=this._getDrawingTarget(e,i),[l,c]=this._getPointerCoords(i),{viewport:{rotation:f}}=e,{x:h,y:u,width:d,height:p}=o.getBoundingClientRect(),m=n.#s=new AbortController,g=e.combinedSignal(m);if(Zn.setPointer(a,r),window.addEventListener(\"pointerup\",w=>{Zn.isSamePointerIdOrRemove(w.pointerId)&&this._endDraw(w)},{signal:g}),window.addEventListener(\"pointercancel\",w=>{Zn.isSamePointerIdOrRemove(w.pointerId)&&this._endDrawingSession()},{signal:g}),window.addEventListener(\"pointerdown\",w=>{Zn.isSamePointerType(w.pointerType)&&(Zn.initializeAndAddPointerId(w.pointerId),n.#t.isCancellable()&&(n.#t.removeLastElement(),n.#t.isEmpty()?this._endDrawingSession(!0):this._endDraw(null)))},{capture:!0,passive:!1,signal:g}),window.addEventListener(\"contextmenu\",hi,{signal:g}),o.addEventListener(\"pointermove\",this._drawMove.bind(this),{signal:g}),o.addEventListener(\"touchmove\",w=>{Zn.isSameTimeStamp(w.timeStamp)&&Fn(w)},{signal:g}),this._addDrawingListeners(o,g),e.toggleDrawing(),t._editorUndoBar?.hide(),n.#t){e.drawLayer.updateProperties(this._currentDrawId,n.#t.startNew(l,c,d,p,f,i.timeStamp));return}t.updateUIForDefaultProperties(this),n.#t=this.createDrawerInstance({x:l,y:c,box:[h,u,d,p],rotation:f,parent:e,isLTR:s,timeStamp:i.timeStamp}),n.#i=this.getDefaultDrawingOptions(),this._currentParent=e;let{id:b,clipPathId:x}=e.drawLayer.draw(this._mergeSVGProperties(n.#i.toSVGProperties(),n.#t.defaultSVGProperties),!0,this._hasClipPath);this._currentDrawId=b,n.#r=this._hasClipPath?x:null}static _drawMove(e){if(Zn.isSameTimeStamp(e.timeStamp),!n.#t||!Zn.isSamePointerId(e.pointerId))return;if(Zn.isUsingMultiplePointers()){this._endDraw(e);return}let t,s=e.getCoalescedEvents?.();if(s?.length){let i=[],r=[];for(let a of s)i.push(...this._getPointerCoords(a,e)),r.push(a.timeStamp);t=n.#t.addPoints(i,r)}else t=n.#t.add(...this._getPointerCoords(e),e.timeStamp);this._currentParent.drawLayer.updateProperties(this._currentDrawId,t),Zn.setTimeStamp(e.timeStamp),Fn(e)}static _cleanup(e){e&&(this._currentDrawId=-1,this._currentParent=null,n.#t=null,n.#i=null,n.#r=null,Zn.clearTimeStamp()),n.#s&&(n.#s.abort(),n.#s=null,Zn.clearPointerIds())}static _endDraw(e){let t=this._currentParent;if(t){if(t.toggleDrawing(!0),this._cleanup(!1),t.drawLayer.updateProperties(this._currentDrawId,e?.target===t.div?n.#t.end(...this._getPointerCoords(e),e.timeStamp):n.#t.end()),this.supportMultipleDrawings){let s=n.#t,i=this._currentDrawId,r=s.getLastElement();t.addCommands({cmd:()=>{t.drawLayer.updateProperties(i,s.setLastElement(r))},undo:()=>{t.drawLayer.updateProperties(i,s.removeLastElement())},mustExec:!1,type:qt.DRAW_STEP});return}this.endDrawing(!1)}}static endDrawing(e){let t=this._currentParent;if(!t)return null;if(t.toggleDrawing(!0),t.cleanUndoStack(qt.DRAW_STEP),!n.#t.isEmpty()){let{pageDimensions:[s,i],scale:r}=t,a=t.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,clipPathId:n.#r,drawOutlines:n.#t.getOutlines(s*r,i*r,r,this._INNER_MARGIN),drawingOptions:n.#i,mustBeCommitted:!e});return this._cleanup(!0),a}return t.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(e){}static deserializeDraw(e,t,s,i,r,a,o){Mt(\"Not implemented\")}static async deserialize(e,t,s){let{rawDims:{pageWidth:i,pageHeight:r,pageX:a,pageY:o}}=t.viewport,l=this.deserializeDraw(a,o,i,r,this._INNER_MARGIN,e,s),c=await super.deserialize(e,t,s);return c.createDrawingOptions(e),c.#a({drawOutlines:l}),c.#g(),c.onScaleChanging(),c.rotate(),c}serializeDraw(e){let[t,s]=this.pageTranslation,[i,r]=this.pageDimensions;return this._drawOutlines.serialize([t,s,i,r],e)}renderAnnotationElement(e){return e.updateEdited({rect:this.getPDFRect()}),null}static canCreateNewEmptyEditor(){return!1}},Qe=class{static PRECISION=1e-4;focusOutline=null;toSVGPath(){Mt(\"Abstract method `toSVGPath` must be implemented.\")}get box(){Mt(\"Abstract getter `box` must be implemented.\")}serialize(e,t){Mt(\"Abstract method `serialize` must be implemented.\")}get defaultSVGProperties(){Mt(\"Abstract getter `defaultSVGProperties` must be implemented.\")}get defaultProperties(){return this.defaultSVGProperties}getFocusSVGProperties(e){return null}get focusMustRemoveSelfIntersections(){return!1}updateProperty(e,t){return null}updateParentDimensions(e,t){return null}serializeQuadPoints(e,t){return null}updateRotation(e){return{}}getPathResizingSVGProperties(e){return{}}getPathResizedSVGProperties(e){return{}}getPathTranslatedSVGProperties(e,t){return{}}static _rotateBox([e,t,s,i],r){switch(r){case 90:return[1-t-i,e,i,s];case 180:return[1-e-s,1-t-i,s,i];case 270:return[t,1-e-s,i,s]}return[e,t,s,i]}static _rescale(e,t,s,i,r,a){a||=new Float32Array(e.length);for(let o=0,l=e.length;o<l;o+=2)a[o]=t+e[o]*i,a[o+1]=s+e[o+1]*r;return a}static _rescaleAndSwap(e,t,s,i,r,a){a||=new Float32Array(e.length);for(let o=0,l=e.length;o<l;o+=2)a[o]=t+e[o+1]*i,a[o+1]=s+e[o]*r;return a}static _translate(e,t,s,i){i||=new Float32Array(e.length);for(let r=0,a=e.length;r<a;r+=2)i[r]=t+e[r],i[r+1]=s+e[r+1];return i}static svgRound(e){return Math.round(e*1e4)}static _normalizePoint(e,t,s,i,r,a=[]){switch(r){case 90:a[0]=1-t/s,a[1]=e/i;break;case 180:a[0]=1-e/s,a[1]=1-t/i;break;case 270:a[0]=t/s,a[1]=1-e/i;break;default:a[0]=e/s,a[1]=t/i;break}return a}static createBezierPoints(e,t,s,i,r,a,o=[]){return o.push((e+5*s)/6,(t+5*i)/6,(5*s+r)/6,(5*i+a)/6,(s+r)/2,(i+a)/2),o}},Hf=class n{#e;#n=[];#t;#s;#i=[];#r=new Float32Array(18);#a;#o;#l;#c;#h;#f;#d=[];static#p=8;static#g=2;static#u=n.#p+n.#g;constructor(e,t,s,i,r,a,o=0){this.#e=s,this.#f=r*i,this.#s=a,this.#r.set([NaN,NaN,NaN,NaN,e,t],6),this.#t=o,this.#c=n.#p*i,this.#l=n.#u*i,this.#h=i,this.#d.push(e,t)}isEmpty(){return isNaN(this.#r[8])}isCancellable(){return this.#d.length<=10}removeLastElement(){return this.#r.fill(NaN),this.#i.length=this.#n.length=this.#d.length=0,{path:{d:\"\"}}}#m(){let e=this.#r.subarray(4,6),t=this.#r.subarray(16,18),[s,i,r,a]=this.#e;return[(this.#a+(e[0]-t[0])/2-s)/r,(this.#o+(e[1]-t[1])/2-i)/a,(this.#a+(t[0]-e[0])/2-s)/r,(this.#o+(t[1]-e[1])/2-i)/a]}add(e,t){this.#a=e,this.#o=t;let[s,i,r,a]=this.#e,[o,l,c,f]=this.#r.subarray(8,12),h=e-c,u=t-f,d=Math.hypot(h,u);if(d<this.#l)return!1;let p=d-this.#c,m=p/d,g=m*h,b=m*u,x=o,w=l;o=c,l=f,c+=g,f+=b,this.#d?.push(e,t);let v=-b/p,k=g/p,j=v*this.#f,A=k*this.#f;return this.#r.set(this.#r.subarray(2,8),0),this.#r.set([c+j,f+A],4),this.#r.set(this.#r.subarray(14,18),12),this.#r.set([c-j,f-A],16),isNaN(this.#r[6])?(this.#i.length===0&&(this.#r.set([o+j,l+A],2),this.#i.push(NaN,NaN,NaN,NaN,(o+j-s)/r,(l+A-i)/a),this.#r.set([o-j,l-A],14),this.#n.push(NaN,NaN,NaN,NaN,(o-j-s)/r,(l-A-i)/a)),this.#r.set([x,w,o,l,c,f],6),!this.isEmpty()):(this.#r.set([x,w,o,l,c,f],6),Math.abs(Math.atan2(w-l,x-o)-Math.atan2(b,g))<Math.PI/2?([o,l,c,f]=this.#r.subarray(2,6),this.#i.push(NaN,NaN,NaN,NaN,((o+c)/2-s)/r,((l+f)/2-i)/a),[o,l,x,w]=this.#r.subarray(14,18),this.#n.push(NaN,NaN,NaN,NaN,((x+o)/2-s)/r,((w+l)/2-i)/a),!0):([x,w,o,l,c,f]=this.#r.subarray(0,6),this.#i.push(((x+5*o)/6-s)/r,((w+5*l)/6-i)/a,((5*o+c)/6-s)/r,((5*l+f)/6-i)/a,((o+c)/2-s)/r,((l+f)/2-i)/a),[c,f,o,l,x,w]=this.#r.subarray(12,18),this.#n.push(((x+5*o)/6-s)/r,((w+5*l)/6-i)/a,((5*o+c)/6-s)/r,((5*l+f)/6-i)/a,((o+c)/2-s)/r,((l+f)/2-i)/a),!0))}toSVGPath(){if(this.isEmpty())return\"\";let e=this.#i,t=this.#n;if(isNaN(this.#r[6])&&!this.isEmpty())return this.#b();let s=[];s.push(`M${e[4]} ${e[5]}`);for(let i=6;i<e.length;i+=6)isNaN(e[i])?s.push(`L${e[i+4]} ${e[i+5]}`):s.push(`C${e[i]} ${e[i+1]} ${e[i+2]} ${e[i+3]} ${e[i+4]} ${e[i+5]}`);this.#x(s);for(let i=t.length-6;i>=6;i-=6)isNaN(t[i])?s.push(`L${t[i+4]} ${t[i+5]}`):s.push(`C${t[i]} ${t[i+1]} ${t[i+2]} ${t[i+3]} ${t[i+4]} ${t[i+5]}`);return this.#w(s),s.join(\" \")}#b(){let[e,t,s,i]=this.#e,[r,a,o,l]=this.#m();return`M${(this.#r[2]-e)/s} ${(this.#r[3]-t)/i} L${(this.#r[4]-e)/s} ${(this.#r[5]-t)/i} L${r} ${a} L${o} ${l} L${(this.#r[16]-e)/s} ${(this.#r[17]-t)/i} L${(this.#r[14]-e)/s} ${(this.#r[15]-t)/i} Z`}#w(e){let t=this.#n;e.push(`L${t[4]} ${t[5]} Z`)}#x(e){let[t,s,i,r]=this.#e,a=this.#r.subarray(4,6),o=this.#r.subarray(16,18),[l,c,f,h]=this.#m();e.push(`L${(a[0]-t)/i} ${(a[1]-s)/r} L${l} ${c} L${f} ${h} L${(o[0]-t)/i} ${(o[1]-s)/r}`)}newFreeDrawOutline(e,t,s,i,r,a){return new Lf(e,t,s,i,r,a)}getOutlines(){let e=this.#i,t=this.#n,s=this.#r,[i,r,a,o]=this.#e,l=new Float32Array((this.#d?.length??0)+2);for(let h=0,u=l.length-2;h<u;h+=2)l[h]=(this.#d[h]-i)/a,l[h+1]=(this.#d[h+1]-r)/o;if(l[l.length-2]=(this.#a-i)/a,l[l.length-1]=(this.#o-r)/o,isNaN(s[6])&&!this.isEmpty())return this.#v(l);let c=new Float32Array(this.#i.length+24+this.#n.length),f=e.length;for(let h=0;h<f;h+=2){if(isNaN(e[h])){c[h]=c[h+1]=NaN;continue}c[h]=e[h],c[h+1]=e[h+1]}f=this.#j(c,f);for(let h=t.length-6;h>=6;h-=6)for(let u=0;u<6;u+=2){if(isNaN(t[h+u])){c[f]=c[f+1]=NaN,f+=2;continue}c[f]=t[h+u],c[f+1]=t[h+u+1],f+=2}return this.#k(c,f),this.newFreeDrawOutline(c,l,this.#e,this.#h,this.#t,this.#s)}#v(e){let t=this.#r,[s,i,r,a]=this.#e,[o,l,c,f]=this.#m(),h=new Float32Array(36);return h.set([NaN,NaN,NaN,NaN,(t[2]-s)/r,(t[3]-i)/a,NaN,NaN,NaN,NaN,(t[4]-s)/r,(t[5]-i)/a,NaN,NaN,NaN,NaN,o,l,NaN,NaN,NaN,NaN,c,f,NaN,NaN,NaN,NaN,(t[16]-s)/r,(t[17]-i)/a,NaN,NaN,NaN,NaN,(t[14]-s)/r,(t[15]-i)/a],0),this.newFreeDrawOutline(h,e,this.#e,this.#h,this.#t,this.#s)}#k(e,t){let s=this.#n;return e.set([NaN,NaN,NaN,NaN,s[4],s[5]],t),t+=6}#j(e,t){let s=this.#r.subarray(4,6),i=this.#r.subarray(16,18),[r,a,o,l]=this.#e,[c,f,h,u]=this.#m();return e.set([NaN,NaN,NaN,NaN,(s[0]-r)/o,(s[1]-a)/l,NaN,NaN,NaN,NaN,c,f,NaN,NaN,NaN,NaN,h,u,NaN,NaN,NaN,NaN,(i[0]-r)/o,(i[1]-a)/l],t),t+=24}},Lf=class extends Qe{#e;#n=new Float32Array(4);#t;#s;#i;#r;#a;constructor(e,t,s,i,r,a){super(),this.#a=e,this.#i=t,this.#e=s,this.#r=i,this.#t=r,this.#s=a,this.firstPoint=[NaN,NaN],this.lastPoint=[NaN,NaN],this.#o(a);let[o,l,c,f]=this.#n;for(let h=0,u=e.length;h<u;h+=2)e[h]=(e[h]-o)/c,e[h+1]=(e[h+1]-l)/f;for(let h=0,u=t.length;h<u;h+=2)t[h]=(t[h]-o)/c,t[h+1]=(t[h+1]-l)/f}toSVGPath(){let e=[`M${this.#a[4]} ${this.#a[5]}`];for(let t=6,s=this.#a.length;t<s;t+=6){if(isNaN(this.#a[t])){e.push(`L${this.#a[t+4]} ${this.#a[t+5]}`);continue}e.push(`C${this.#a[t]} ${this.#a[t+1]} ${this.#a[t+2]} ${this.#a[t+3]} ${this.#a[t+4]} ${this.#a[t+5]}`)}return e.push(\"Z\"),e.join(\" \")}serialize([e,t,s,i],r){let a=s-e,o=i-t,l,c;switch(r){case 0:l=Qe._rescale(this.#a,e,i,a,-o),c=Qe._rescale(this.#i,e,i,a,-o);break;case 90:l=Qe._rescaleAndSwap(this.#a,e,t,a,o),c=Qe._rescaleAndSwap(this.#i,e,t,a,o);break;case 180:l=Qe._rescale(this.#a,s,t,-a,o),c=Qe._rescale(this.#i,s,t,-a,o);break;case 270:l=Qe._rescaleAndSwap(this.#a,s,i,-a,-o),c=Qe._rescaleAndSwap(this.#i,s,i,-a,-o);break}return{outline:Array.from(l),points:[Array.from(c)]}}#o(e){let t=this.#a,s=t[4],i=t[5],r=[s,i,s,i],a=s,o=i,l=s,c=i,f=e?Math.max:Math.min,h=new Float32Array(4);for(let d=6,p=t.length;d<p;d+=6){let m=t[d+4],g=t[d+5];isNaN(t[d])?(Be.pointBoundingBox(m,g,r),o>g?(a=m,o=g):o===g&&(a=f(a,m)),c<g?(l=m,c=g):c===g&&(l=f(l,m))):(h.set(Ci,0),Be.bezierBoundingBox(s,i,...t.slice(d,d+6),h),Be.rectBoundingBox(...h,r),o>h[1]?(a=h[0],o=h[1]):o===h[1]&&(a=f(a,h[0])),c<h[3]?(l=h[2],c=h[3]):c===h[3]&&(l=f(l,h[2]))),s=m,i=g}let u=this.#n;u[0]=r[0]-this.#t,u[1]=r[1]-this.#t,u[2]=r[2]-r[0]+2*this.#t,u[3]=r[3]-r[1]+2*this.#t,this.firstPoint=[a,o],this.lastPoint=[l,c]}get box(){return this.#n}newOutliner(e,t,s,i,r,a,o=0){return new Hf(e,t,s,i,r,a,o)}updateThickness(e){let t=this.getNewOutline(e);return this.#a=t.#a,this.#i=t.#i,this.#n.set(t.#n),this.firstPoint=t.firstPoint,this.lastPoint=t.lastPoint,this.#n}getNewOutline(e,t){let[s,i,r,a]=this.#n,[o,l,c,f]=this.#e,h=r*c,u=a*f,d=s*c+o,p=i*f+l,m=this.#i,g=this.newOutliner(m[0]*h+d,m[1]*u+p,this.#e,this.#r,e,this.#s,t??this.#t);for(let b=2,x=m.length;b<x;b+=2)g.add(m[b]*h+d,m[b+1]*u+p);return g.getOutlines()}};function $5(n){return{bbox:n.box,root:{viewBox:\"0 0 1 1\"},rootClass:{highlight:!0,free:n.isFree},path:{d:n.toSVGPath()}}}function V5(n,e){let{focusOutline:t}=n;return{bbox:Qe._rotateBox(t.box,e),root:{\"data-main-rotation\":e},rootClass:{highlightOutline:!0,free:n.isFree},path:{d:t.toSVGPath()}}}var vl=class{#e;#n;#t;#s=[];#i=[];constructor(e,t=0,s=0,i=!0){let r=Ci.slice(),o=10**-4;for(let{x:g,y:b,width:x,height:w}of e){let v=Math.floor((g-t)/o)*o,k=Math.ceil((g+x+t)/o)*o,j=Math.floor((b-t)/o)*o,A=Math.ceil((b+w+t)/o)*o,S=[v,j,A,!0],q=[k,j,A,!1];this.#s.push(S,q),Be.rectBoundingBox(v,j,k,A,r)}let l=r[2]-r[0]+2*s,c=r[3]-r[1]+2*s,f=r[0]-s,h=r[1]-s,u=i?-1/0:1/0,d=1/0,p=this.#s.at(i?-1:-2),m=[p[0],p[2]];for(let g of this.#s){let[b,x,w,v]=g;!v&&i?x<d?(d=x,u=b):x===d&&(u=Math.max(u,b)):v&&!i&&(x<d?(d=x,u=b):x===d&&(u=Math.min(u,b))),g[0]=(b-f)/l,g[1]=(x-h)/c,g[2]=(w-h)/c}this.#e=new Float32Array([f,h,l,c]),this.#n=[u,d],this.#t=m}getOutlines(){this.#s.sort((t,s)=>t[0]-s[0]||t[1]-s[1]||t[2]-s[2]);let e=[];for(let t of this.#s)t[3]?(e.push(...this.#c(t)),this.#o(t)):(this.#l(t),e.push(...this.#c(t)));return this.#r(e)}#r(e){let t=[],s=new Set;for(let r of e){let[a,o,l]=r;t.push([a,o,r],[a,l,r])}t.sort((r,a)=>r[1]-a[1]||r[0]-a[0]);for(let r=0,a=t.length;r<a;r+=2){let o=t[r][2],l=t[r+1][2];o.push(l),l.push(o),s.add(o),s.add(l)}let i=[];for(;s.size>0;){let r=s.values().next().value,[a,o,l,c,f]=r;s.delete(r);let h=a,u=o,d=[a,l];for(i.push(d);;){let p;if(s.has(c))p=c;else if(s.has(f))p=f;else break;s.delete(p),[a,o,l,c,f]=p,h!==a&&(d.push(h,u,a,u===o?o:l),h=a),u=u===o?l:o}d.push(h,u)}return new yl(i,this.#e,this.#n,this.#t)}#a(e){let t=this.#i,s=0,i=t.length-1;for(;s<=i;){let r=s+i>>1,a=t[r][0];if(a===e)return r;a<e?s=r+1:i=r-1}return i+1}#o([,e,t]){let s=this.#a(e);this.#i.splice(s,0,[e,t])}#l([,e,t]){let s=this.#a(e);for(let i=s;i<this.#i.length;i++){let[r,a]=this.#i[i];if(r!==e)break;if(r===e&&a===t){this.#i.splice(i,1);return}}for(let i=s-1;i>=0;i--){let[r,a]=this.#i[i];if(r!==e)break;if(r===e&&a===t){this.#i.splice(i,1);return}}}#c(e){let[t,s,i]=e,r=[[t,s,i]],a=this.#a(i);for(let o=0;o<a;o++){let[l,c]=this.#i[o];for(let f=0,h=r.length;f<h;f++){let[,u,d]=r[f];if(!(c<=u||d<=l)){if(u>=l){if(d>c)r[f][1]=c;else{if(h===1)return[];r.splice(f,1),f--,h--}continue}r[f][2]=l,d>c&&r.push([t,c,d])}}}return r}},yl=class extends Qe{#e;#n=null;#t;constructor(e,t,s,i){super(),this.#t=e,this.#e=t,this.firstPoint=s,this.lastPoint=i}static build(e,t){let s=new vl(e,.001).getOutlines();return s.#n=e,s.focusOutline=new vl(e,.0025,.001,t).getOutlines(),s}get isFree(){return!1}get defaultSVGProperties(){return $5(this)}getFocusSVGProperties(e){return V5(this,e)}updateRotation(e){return{root:{\"data-main-rotation\":e}}}serializeQuadPoints([e,t],[s,i]){let r=this.#n,a=new Float32Array(r.length*8),o=0;for(let{x:l,y:c,width:f,height:h}of r){let u=l*s+e,d=(1-c)*i+t;a[o]=a[o+4]=u,a[o+1]=a[o+3]=d,a[o+2]=a[o+6]=u+f*s,a[o+5]=a[o+7]=d-h*i,o+=8}return a}toSVGPath(){let e=[];for(let t of this.#t){let[s,i]=t;e.push(`M${s} ${i}`);for(let r=2;r<t.length;r+=2){let a=t[r],o=t[r+1];a===s?(e.push(`V${o}`),i=o):o===i&&(e.push(`H${a}`),s=a)}e.push(\"Z\")}return e.join(\" \")}serialize([e,t,s,i],r){let a=[],o=s-e,l=i-t;for(let c of this.#t){let f=new Array(c.length);for(let h=0;h<c.length;h+=2)f[h]=e+c[h]*o,f[h+1]=i-c[h+1]*l;a.push(f)}return a}get box(){return this.#e}},kl=class extends Hf{newFreeDrawOutline(e,t,s,i,r,a){return new Cp(e,t,s,i,r,a)}},Ip=class{#e;#n;constructor(e,t,s,i,r,a,o){this.#e=new kl(e,t,s,i,r,a,o),this.#n=r}add(e,t){return this.#e.add(e,t)?{path:{d:this.#e.toSVGPath()}}:null}addPoints(e){let t=!1;for(let s=0,i=e.length;s<i;s+=2)t=this.#e.add(e[s],e[s+1])||t;return t?{path:{d:this.#e.toSVGPath()}}:null}end(e,t){return e===void 0?null:this.add(e,t)}isEmpty(){return this.#e.isEmpty()}isCancellable(){return this.#e.isCancellable()}removeLastElement(){return this.#e.removeLastElement()}updateProperty(e,t){return null}getOutlines(){let e=this.#e.getOutlines();return e.buildFocusOutline(2*this.#n),e}get defaultSVGProperties(){return{bbox:[0,0,1,1],root:{viewBox:\"0 0 1 1\"},rootClass:{highlight:!0,free:!0},path:{d:this.#e.toSVGPath()}}}},Cp=class n extends Lf{static#e=1.5;newOutliner(e,t,s,i,r,a,o=0){return new kl(e,t,s,i,r,a,o)}get isFree(){return!0}buildFocusOutline(e){this.focusOutline=this.getNewOutline(e/2+n.#e,.0025)}get defaultSVGProperties(){return $5(this)}getFocusSVGProperties(e){return V5(this,e)}get focusMustRemoveSelfIntersections(){return!0}updateRotation(e){return{root:{\"data-main-rotation\":e}}}updateProperty(e,t){if(e!==\"thickness\")return null;let s=this.updateThickness(t/2);return this.buildFocusOutline(t),s}getPathResizedSVGProperties(){return{path:{d:this.toSVGPath()}}}},Tp=class n extends wl{constructor(e=null){super(),super.updateProperties(e)}updateSVGProperty(e,t){e!==\"thickness\"&&super.updateSVGProperty(e,t)}clone(){let e=new n;return e.updateAll(this),e}},zf=class n extends xl{#e=null;#n=0;#t=null;#s=0;#i=\"\";#r=\"\";static _DEFAULT_OPACITY=1;static _DEFAULT_THICKNESS=12;static _defaultDrawingOptions=null;static _type=\"highlight\";static _editorType=pt.HIGHLIGHT;static get _keyboardManager(){let e=n.prototype;return ze(this,\"_keyboardManager\",new Vr([[[\"ArrowLeft\"],e._moveCaret,{args:[0]}],[[\"ArrowRight\"],e._moveCaret,{args:[1]}],[[\"ArrowUp\"],e._moveCaret,{args:[2]}],[[\"ArrowDown\"],e._moveCaret,{args:[3]}]]))}constructor(e){super({...e,name:\"highlightEditor\"}),this.#e=e.anchorNode||null,this.#n=e.anchorOffset||0,this.#t=e.focusNode||null,this.#s=e.focusOffset||0,this.#i=e.methodOfCreation||(this._drawOutlines?.isFree?\"main_toolbar\":\"\"),this.#r=e.text||\"\",this._isDraggable=!1,this.defaultL10nId=\"pdfjs-editor-highlight-editor\",this.rotate()}static initialize(e,t){Ut.initialize(e,t),this._defaultDrawingOptions||=new Tp({fill:t.highlightColors?.values().next().value||\"#fff066\",\"fill-opacity\":n._DEFAULT_OPACITY,thickness:n._DEFAULT_THICKNESS})}static getDefaultDrawingOptions(e){let t=this._defaultDrawingOptions.clone();return t.updateProperties(e),t}static get typesMap(){return ze(this,\"typesMap\",new Map([[qt.HIGHLIGHT_COLOR,\"fill\"],[qt.HIGHLIGHT_THICKNESS,\"thickness\"]]))}static get isDrawer(){return!1}static get _hasClipPath(){return!0}static get _hasDrawClass(){return!1}_addOutlines(e){let{boxes:t,drawOutlines:s}=e;!t&&!s||(this._drawingOptions||=e.drawingOptions||n.getDefaultDrawingOptions(),t&&(e={...e,drawOutlines:yl.build(t,this._uiManager.direction===\"ltr\")}),super._addOutlines(e))}get colorType(){return qt.HIGHLIGHT_COLOR}get color(){return this._drawingOptions.fill}get opacity(){return this._drawingOptions[\"fill-opacity\"]}get _opacityName(){return\"fill-opacity\"}get _drawRotation(){return this._drawOutlines?.isFree?this.rotation:0}get isResizable(){return!1}get _mustBeDisabledOnCommit(){return!1}get _mustFixPosition(){return!this._drawOutlines?.isFree}get telemetryInitialData(){return{action:\"added\",type:this._drawOutlines.isFree?\"free_highlight\":\"highlight\",color:this._uiManager.getNonHCMColorName(this.color),thickness:this._drawingOptions.thickness,methodOfCreation:this.#i}}get telemetryFinalData(){return{type:\"highlight\",color:this._uiManager.getNonHCMColorName(this.color)}}static computeTelemetryFinalData(e){return{numberOfColors:e.get(\"color\").size}}translateInPage(e,t){}get toolbarPosition(){return this.#a(this._drawOutlines.focusOutline.lastPoint)}get commentButtonPosition(){return this.#a(this._drawOutlines.firstPoint)}#a([e,t]){let[s,i,r,a]=this._drawOutlines.box;return[(e-s)/r,(t-i)/a]}updateParams(e,t){switch(e){case qt.HIGHLIGHT_COLOR:this._updateColorAndOpacity(t,n._DEFAULT_OPACITY,e),this._reportTelemetry({action:\"color_changed\",color:this._uiManager.getNonHCMColorName(t)},!0);break;case qt.HIGHLIGHT_THICKNESS:super.updateParams(e,t),this._reportTelemetry({action:\"thickness_changed\",thickness:t},!0);break}}get propertiesToUpdate(){let e=super.propertiesToUpdate;return e.push([qt.HIGHLIGHT_FREE,this._drawOutlines.isFree]),e}get toolbarButtons(){return this._uiManager.highlightColors?(this._colorPicker=new Rf({editor:this}),[[\"colorPicker\",this._colorPicker]]):super.toolbarButtons}fixAndSetPosition(){return super.fixAndSetPosition(this._drawRotation)}getRect(e,t){return super.getRect(e,t,this._drawRotation)}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),e&&this.div.focus()}remove(){this._reportTelemetry({action:\"deleted\"}),super.remove()}render(){if(this.div)return this.div;let e=super.render();return this.#r&&(e.setAttribute(\"aria-label\",this.#r),e.setAttribute(\"role\",\"mark\")),this._drawOutlines.isFree?e.classList.add(\"free\"):e.addEventListener(\"keydown\",this.#o.bind(this),{signal:this._uiManager._signal}),this.enableEditing(),e}#o(e){n._keyboardManager.exec(this,e)}_moveCaret(e){switch(this.parent.unselect(this),e){case 0:case 2:this.#l(!0);break;case 1:case 3:this.#l(!1);break}}#l(e){if(!this.#e)return;let t=window.getSelection();e?t.setPosition(this.#e,this.#n):t.setPosition(this.#t,this.#s)}unselect(){super.unselect(),this._drawOutlines.isFree||this.#l(!1)}static createDrawerInstance({x:e,y:t,box:s,parent:i,isLTR:r}){return new Ip(e,t,s,i.scale,this._defaultDrawingOptions.thickness/2,r,.001)}static _getDrawingTarget(e,{target:t}){return t.closest(\".textLayer\")}static _getPointerCoords({x:e,y:t}){return[e,t]}static _addDrawingListeners(e,t){e.classList.add(\"free\"),t.addEventListener(\"abort\",()=>e.classList.remove(\"free\"),{once:!0}),window.addEventListener(\"blur\",()=>this._endDraw(null),{signal:t}),window.addEventListener(\"pointerdown\",Fn,{capture:!0,passive:!1,signal:t})}static _endDrawingSession(e=!1){return this.endDrawing(e)}createDrawingOptions({color:e,opacity:t,thickness:s}){let{_defaultDrawingOptions:i,_DEFAULT_OPACITY:r}=n;this._drawingOptions=n.getDefaultDrawingOptions({fill:Be.makeHexColor(...e),\"fill-opacity\":t||r,thickness:s||i.thickness})}static deserializeDraw(e,t,s,i,r,a,o){let{quadPoints:l}=a;if(l){let d=[];for(let p=0,m=l.length;p<m;p+=8)d.push({x:(l[p]-e)/s,y:1-(l[p+1]-t)/i,width:(l[p+2]-l[p])/s,height:(l[p+1]-l[p+5])/i});return yl.build(d,o.direction===\"ltr\")}let c=a.thickness||this._defaultDrawingOptions.thickness,f=(a.inkLists||a.outlines.points)[0],h=new kl(f[0]-e,i-(f[1]-t),[0,0,s,i],1,c/2,!0,.001);for(let d=0,p=f.length;d<p;d+=2)h.add(f[d]-e,i-(f[d+1]-t));let u=h.getOutlines();return u.buildFocusOutline(c),u}static async deserialize(e,t,s){let i=null;if(e instanceof Bf){let{data:{quadPoints:a,rect:o,rotation:l,id:c,color:f,opacity:h,popupRef:u,richText:d,contentsObj:p,creationDate:m,modificationDate:g},parent:{page:{pageNumber:b}}}=e;i=e={annotationType:pt.HIGHLIGHT,color:Array.from(f),opacity:h,quadPoints:a,pageIndex:b-1,rect:o.slice(0),rotation:l,annotationElementId:c,id:c,deleted:!1,popupRef:u,richText:d,comment:p?.str||null,creationDate:m,modificationDate:g}}else if(e instanceof bl){let{data:{inkLists:a,rect:o,rotation:l,id:c,color:f,borderStyle:{rawWidth:h},popupRef:u,richText:d,contentsObj:p,creationDate:m,modificationDate:g},parent:{page:{pageNumber:b}}}=e;i=e={annotationType:pt.HIGHLIGHT,color:Array.from(f),thickness:h,inkLists:a,pageIndex:b-1,rect:o.slice(0),rotation:l,annotationElementId:c,id:c,deleted:!1,popupRef:u,richText:d,comment:p?.str||null,creationDate:m,modificationDate:g}}let r=await super.deserialize(e,t,s);return r._initialData=i,e.comment&&r.setCommentData(e),r}serialize(e=!1){if(this.isEmpty()||e)return null;if(this.deleted)return this.serializeDeleted();let t=super.serialize(e);return Object.assign(t,{color:Ut._colorManager.convert(this._uiManager.getNonHCMColor(this.color)),opacity:this.opacity,thickness:this._drawingOptions.thickness,quadPoints:this._drawOutlines.serializeQuadPoints(this.pageTranslation,this.pageDimensions),outlines:this._drawOutlines.serialize(t.rect,this._drawRotation)}),this.addComment(t),this.annotationElementId&&!this.#c(t)?null:(t.id=this.annotationElementId,t)}#c(e){let{color:t}=this._initialData;return this.hasEditedComment||e.color.some((s,i)=>s!==t[i])}renderAnnotationElement(e){return this.deleted?(e.hide(),null):(e.updateEdited({rect:this.getPDFRect(),popup:this.comment}),null)}},Ep=class n{static#e=10;static#n=1e3/180;static#t=100;static#s=.001;#i;#r;#a;constructor(e,t,s){this.#i=[e,t,s],this.#r=this.#a=s}add(e,t,s){let i=this.#i,r=i.at(-1);s=s>r?s:r+n.#s,i.push(e,t,s);let a=this.#o(s-n.#e,!0),o=this.#l(this.#a-n.#e);return o>=i.length/2&&(i.copyWithin(0,o),i.length-=o),a}get pendingPoints(){return this.#o(1/0,!1)}end(){return this.#o(1/0,!0)}#o(e,t){let s=this.#i,i=this.#r,r=s.at(-1),a=[],o=this.#a;for(let l=this.#l(o)+3;l<s.length;l+=3){let c=s[l-1],f=s[l+2]-c,h=Math.min(Math.ceil(f/n.#n),n.#t);for(let u=1;u<=h;u++){let d=u===h?s[l+2]:c+f*u/h;if(d<=o)continue;if(d>e)return a;let p=Math.min(n.#e,d-i,r-d);this.#c(d-p,d+p,a),t&&(this.#a=d)}}return a}#l(e){let t=this.#i,s=0,i=t.length/3-1;for(;s<i;){let r=s+i+1>>1;t[3*r+2]<=e?s=r:i=r-1}return 3*s}#c(e,t,s){let i=this.#i,r=this.#l(e),a=0,o=0,l=0;for(let c=r;c<i.length-3&&i[c+2]<t;c+=3){let f=i[c],h=i[c+1],u=i[c+2],d=i[c+5],p=Math.max(u,e),m=Math.min(d,t);if(m<=p)continue;let g=m-p,b=(p+m-2*u)/(d-u);a+=g*(f+b*(i[c+3]-f)/2),o+=g*(h+b*(i[c+4]-h)/2),l+=g}l===0?s.push(i[r],i[r+1]):s.push(a/l,o/l)}};function Qi(n,e){return`${Qe.svgRound(n[e])} ${Qe.svgRound(n[e+1])}`}function K5(n,e,t){for(let s=t,i=e.length;s<i;s+=6)n.push(`C${Qi(e,s)} ${Qi(e,s+2)} ${Qi(e,s+4)}`)}function wf(n){let e=`M${Qi(n,4)}`;if(n.length===6)return`${e}Z`;if(n.length===12&&isNaN(n[6]))return`${e}L${Qi(n,10)}`;let t=[e];return K5(t,n,6),t.join(\"\")}var Rp=class{#e=new Float64Array(6);#n=new Float64Array(2);#t;#s;#i;#r=null;#a;#o;#l=1;#c=new Float64Array(2);#h=\"\";#f=0;#d=new Yr;#p;#g;constructor(e,t,s,i,r,a,o){this.#p=s,this.#g=i,this.#i=r,this.#a=a,this.#s=[],this.#u(e,t,o)}#u(e,t,s){[e,t]=this.#m(e,t);let i=this.#t=[NaN,NaN,NaN,NaN,e,t];this.#o=[e,t],this.#s.push({line:i,points:this.#o}),this.#e.set(i,0),this.#f=0,this.#l=1,this.#c.set(this.#n),this.#r=s===void 0?null:new Ep(e,t,s)}updateProperty(e,t){e===\"stroke-width\"&&(this.#a=t)}#m(e,t){return Qe._normalizePoint(e,t,this.#p,this.#g,this.#i,this.#n)}isEmpty(){return!this.#s?.length}isCancellable(){return this.#l<=5}add(e,t,s){return this.#b(e,t,s),{path:{d:this.#y()}}}addPoints(e,t){for(let s=0,i=e.length;s<i;s+=2)this.#b(e[s],e[s+1],t?.[s/2]);return{path:{d:this.#y()}}}#b(e,t,s){[e,t]=this.#m(e,t);let[i,r]=this.#c;this.#w(e,t,i,r)||(this.#l++,this.#c.set(this.#n)),this.#r?this.#x(this.#r.add(e,t,s)):this.#v(e,t)}#w(e,t,s,i){return Math.hypot(this.#p*(e-s),this.#g*(t-i))<=2}#x(e){for(let t=0,s=e.length;t<s;t+=2)this.#v(e[t],e[t+1])}#v(e,t){let[,,s,i,r,a]=this.#e;this.#w(e,t,r,a)||(this.#o.push(e,t),isNaN(s)?this.#t.push(NaN,NaN,NaN,NaN,e,t):(isNaN(this.#e[0])&&this.#t.splice(6,6),Qe.createBezierPoints(s,i,r,a,e,t,this.#t)),this.#e.copyWithin(0,2),this.#e[4]=e,this.#e[5]=t)}#k(){let e=this.#t;if(this.#o.length<6||this.#f===e.length)return;let t=[this.#h];this.#f===0&&(t.push(`M${Qi(e,4)}`),this.#f=6),K5(t,e,this.#f),this.#h=t.join(\"\"),this.#f=e.length}#j(){if(this.#t){if(this.#r&&(this.#x(this.#r.end()),this.#r=null),this.#o.length<6)this.#h+=wf(this.#t);else{let[,,e,t,s,i]=this.#e;Qe.createBezierPoints(e,t,s,i,s,i,this.#t),this.#k()}this.#t=this.#o=null}}end(e,t,s){return this.#t&&e!==void 0&&this.#b(e,t,s),this.#j(),{path:{d:this.#h}}}startNew(e,t,s,i,r,a){this.#p=s,this.#g=i,this.#i=r;let o=this.#s.at(-1);return o&&(o.line=new Float32Array(o.line),o.points=new Float32Array(o.points)),this.#u(e,t,a),null}getLastElement(){return this.#s.at(-1)}setLastElement(e){return this.#s?(this.#s.push(e),this.#h+=wf(e.line),{path:{d:this.#h}}):this.#d.setLastElement(e)}removeLastElement(){return this.#s?(this.#t=this.#o=this.#r=null,this.#s.pop(),this.#h=this.#s.map(({line:e})=>wf(e)).join(\"\"),{path:{d:this.#h}}):this.#d.removeLastElement()}#y(){this.#k();let e=[this.#h];this.#f===0&&(e.push(`M${Qi(this.#t,4)}`),this.#o.length===4&&e.push(`L${Qi(this.#t,10)}`));let t=this.#r?.pendingPoints;t?.length||(t=this.#n);for(let s=0,i=t.length;s<i;s+=2)e.push(`L${Qi(t,s)}`);return e.join(\"\")}getOutlines(e,t,s,i){this.#j();let r=this.#s.at(-1);return r.line=new Float32Array(r.line),r.points=new Float32Array(r.points),this.#d.build(this.#s,e,t,s,this.#i,this.#a,i),this.#e=null,this.#t=null,this.#s=null,this.#h=null,this.#d}get defaultSVGProperties(){return{root:{viewBox:\"0 0 10000 10000\"},rootClass:{draw:!0},bbox:[0,0,1,1]}}},Yr=class extends Qe{#e;#n=0;#t;#s;#i;#r;#a;#o;#l;build(e,t,s,i,r,a,o){this.#i=t,this.#r=s,this.#a=i,this.#o=r,this.#l=a,this.#t=o??0,this.#s=e,this.#f()}get thickness(){return this.#l}setLastElement(e){return this.#s.push(e),{path:{d:this.toSVGPath()}}}removeLastElement(){return this.#s.pop(),{path:{d:this.toSVGPath()}}}toSVGPath(){return this.#s.map(({line:e})=>wf(e)).join(\"\")}serialize([e,t,s,i],r){let a=[],o=[],[l,c,f,h]=this.#h(),u,d,p,m,g,b,x,w,v;switch(this.#o){case 0:v=Qe._rescale,u=e,d=t+i,p=s,m=-i,g=e+l*s,b=t+(1-c-h)*i,x=e+(l+f)*s,w=t+(1-c)*i;break;case 90:v=Qe._rescaleAndSwap,u=e,d=t,p=s,m=i,g=e+c*s,b=t+l*i,x=e+(c+h)*s,w=t+(l+f)*i;break;case 180:v=Qe._rescale,u=e+s,d=t,p=-s,m=i,g=e+(1-l-f)*s,b=t+c*i,x=e+(1-l)*s,w=t+(c+h)*i;break;case 270:v=Qe._rescaleAndSwap,u=e+s,d=t+i,p=-s,m=-i,g=e+(1-c-h)*s,b=t+(1-l-f)*i,x=e+(1-c)*s,w=t+(1-l)*i;break}for(let{line:k,points:j}of this.#s)a.push(v(k,u,d,p,m,r?new Array(k.length):null)),o.push(v(j,u,d,p,m,r?new Array(j.length):null));return{lines:a,points:o,rect:[g,b,x,w]}}static deserialize(e,t,s,i,r,{paths:{lines:a,points:o},rotation:l,thickness:c}){let f=[],h,u,d,p,m;switch(l){case 0:m=Qe._rescale,h=-e/s,u=t/i+1,d=1/s,p=-1/i;break;case 90:m=Qe._rescaleAndSwap,h=-t/i,u=-e/s,d=1/i,p=1/s;break;case 180:m=Qe._rescale,h=e/s+1,u=-t/i,d=-1/s,p=1/i;break;case 270:m=Qe._rescaleAndSwap,h=t/i+1,u=e/s+1,d=-1/i,p=-1/s;break}if(!a){a=[];for(let b of o){let x=b.length;if(x===2){a.push(new Float32Array([NaN,NaN,NaN,NaN,b[0],b[1]]));continue}if(x===4){a.push(new Float32Array([NaN,NaN,NaN,NaN,b[0],b[1],NaN,NaN,NaN,NaN,b[2],b[3]]));continue}let w=new Float32Array(3*x);a.push(w);let[v,k,j,A]=b.subarray(0,4);w.set([NaN,NaN,NaN,NaN,v,k],0);for(let S=4;S<=x;S+=2){let q=Math.min(S,x-2),_=b[q],I=b[q+1];w.set(Qe.createBezierPoints(v,k,j,A,_,I),(S-2)*3),[v,k,j,A]=[j,A,_,I]}}}for(let b=0,x=a.length;b<x;b++)f.push({line:m(a[b].map(w=>w??NaN),h,u,d,p),points:m(o[b].map(w=>w??NaN),h,u,d,p)});let g=new this.prototype.constructor;return g.build(f,s,i,1,l,c,r),g}#c(e=this.#l){let t=this.#t+e/2*this.#a;return this.#o%180===0?[t/this.#i,t/this.#r]:[t/this.#r,t/this.#i]}#h(){let[e,t,s,i]=this.#e,[r,a]=this.#c(0);return[e+r,t+a,s-2*r,i-2*a]}#f(){let e=this.#e=Wr.slice();for(let{line:i}of this.#s){if(i.length<=12){for(let o=4,l=i.length;o<l;o+=6)Be.pointBoundingBox(i[o],i[o+1],e);continue}let r=i[4],a=i[5];for(let o=6,l=i.length;o<l;o+=6){let[c,f,h,u,d,p]=i.subarray(o,o+6);Be.bezierBoundingBox(r,a,c,f,h,u,d,p,e),r=d,a=p}}let[t,s]=this.#c();e[0]=Xt(e[0]-t,0,1),e[1]=Xt(e[1]-s,0,1),e[2]=Xt(e[2]+t,0,1),e[3]=Xt(e[3]+s,0,1),e[2]-=e[0],e[3]-=e[1]}get box(){return this.#e}updateProperty(e,t){return e===\"stroke-width\"?this.#d(t):null}#d(e){let[t,s]=this.#c();this.#l=e;let[i,r]=this.#c(),[a,o]=[i-t,r-s],l=this.#e;return l[0]-=a,l[1]-=o,l[2]+=2*a,l[3]+=2*o,l}updateParentDimensions([e,t],s){let[i,r]=this.#c();this.#i=e,this.#r=t,this.#a=s;let[a,o]=this.#c(),l=a-i,c=o-r,f=this.#e;return f[0]-=l,f[1]-=c,f[2]+=2*l,f[3]+=2*c,f}updateRotation(e){return this.#n=e,{path:{transform:this.rotationTransform}}}get viewBox(){return this.#e.map(Qe.svgRound).join(\" \")}get defaultProperties(){let[e,t]=this.#e;return{root:{viewBox:this.viewBox},path:{\"transform-origin\":`${Qe.svgRound(e)} ${Qe.svgRound(t)}`}}}get rotationTransform(){let[,,e,t]=this.#e,s=0,i=0,r=0,a=0,o=0,l=0;switch(this.#n){case 90:i=t/e,r=-e/t,o=e;break;case 180:s=-1,a=-1,o=e,l=t;break;case 270:i=-t/e,r=e/t,l=t;break;default:return\"\"}return`matrix(${s} ${i} ${r} ${a} ${Qe.svgRound(o)} ${Qe.svgRound(l)})`}getPathResizingSVGProperties([e,t,s,i]){let[r,a]=this.#c(),[o,l,c,f]=this.#e;if(Math.abs(c-r)<=Qe.PRECISION||Math.abs(f-a)<=Qe.PRECISION){let m=e+s/2-(o+c/2),g=t+i/2-(l+f/2);return{path:{\"transform-origin\":`${Qe.svgRound(e)} ${Qe.svgRound(t)}`,transform:`${this.rotationTransform} translate(${m} ${g})`}}}let h=(s-2*r)/(c-2*r),u=(i-2*a)/(f-2*a),d=c/s,p=f/i;return{path:{\"transform-origin\":`${Qe.svgRound(o)} ${Qe.svgRound(l)}`,transform:`${this.rotationTransform} scale(${d} ${p}) translate(${Qe.svgRound(r)} ${Qe.svgRound(a)}) scale(${h} ${u}) translate(${Qe.svgRound(-r)} ${Qe.svgRound(-a)})`}}}getPathResizedSVGProperties([e,t,s,i]){let[r,a]=this.#c(),o=this.#e,[l,c,f,h]=o;if(o[0]=e,o[1]=t,o[2]=s,o[3]=i,Math.abs(f-r)<=Qe.PRECISION||Math.abs(h-a)<=Qe.PRECISION){let g=e+s/2-(l+f/2),b=t+i/2-(c+h/2);for(let{line:x,points:w}of this.#s)Qe._translate(x,g,b,x),Qe._translate(w,g,b,w);return{root:{viewBox:this.viewBox},path:{\"transform-origin\":`${Qe.svgRound(e)} ${Qe.svgRound(t)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}let u=(s-2*r)/(f-2*r),d=(i-2*a)/(h-2*a),p=-u*(l+r)+e+r,m=-d*(c+a)+t+a;if(u!==1||d!==1||p!==0||m!==0)for(let{line:g,points:b}of this.#s)Qe._rescale(g,p,m,u,d,g),Qe._rescale(b,p,m,u,d,b);return{root:{viewBox:this.viewBox},path:{\"transform-origin\":`${Qe.svgRound(e)} ${Qe.svgRound(t)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([e,t],s){let[i,r]=s,a=this.#e,o=e-a[0],l=t-a[1];if(this.#i===i&&this.#r===r)for(let{line:c,points:f}of this.#s)Qe._translate(c,o,l,c),Qe._translate(f,o,l,f);else{let c=this.#i/i,f=this.#r/r;this.#i=i,this.#r=r;for(let{line:h,points:u}of this.#s)Qe._rescale(h,o,l,c,f,h),Qe._rescale(u,o,l,c,f,u);a[2]*=c,a[3]*=f}return a[0]=e,a[1]=t,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),\"transform-origin\":`${Qe.svgRound(e)} ${Qe.svgRound(t)}`}}}get defaultSVGProperties(){let e=this.#e;return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),\"transform-origin\":`${Qe.svgRound(e[0])} ${Qe.svgRound(e[1])}`,transform:this.rotationTransform||null},bbox:e}}},Uf=class n extends wl{constructor(e){super(),this._viewParameters=e,super.updateProperties({fill:\"none\",stroke:Ut._defaultLineColor,\"stroke-opacity\":1,\"stroke-width\":1,\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":10})}updateSVGProperty(e,t){e===\"stroke-width\"&&(t??=this[\"stroke-width\"],t*=this._viewParameters.realScale),super.updateSVGProperty(e,t)}clone(){let e=new n(this._viewParameters);return e.updateAll(this),e}},Fp=class n extends xl{static _type=\"ink\";static _editorType=pt.INK;static _defaultDrawingOptions=null;constructor(e){super({...e,name:\"inkEditor\"}),this._willKeepAspectRatio=!0,this.defaultL10nId=\"pdfjs-editor-ink-editor\"}static initialize(e,t){Ut.initialize(e,t),this._defaultDrawingOptions=new Uf(t.viewParameters)}static getDefaultDrawingOptions(e){let t=this._defaultDrawingOptions.clone();return t.updateProperties(e),t}static get supportMultipleDrawings(){return!0}static get typesMap(){return ze(this,\"typesMap\",new Map([[qt.INK_THICKNESS,\"stroke-width\"],[qt.INK_COLOR,\"stroke\"],[qt.INK_OPACITY,\"stroke-opacity\"]]))}static createDrawerInstance({x:e,y:t,box:[,,s,i],rotation:r,timeStamp:a}){return new Rp(e,t,s,i,r,this._defaultDrawingOptions[\"stroke-width\"],a)}static deserializeDraw(e,t,s,i,r,a){return Yr.deserialize(e,t,s,i,r,a)}static async deserialize(e,t,s){let i=null;if(e instanceof bl){let{data:{inkLists:a,rect:o,rotation:l,id:c,color:f,opacity:h,borderStyle:{rawWidth:u},popupRef:d,richText:p,contentsObj:m,creationDate:g,modificationDate:b},parent:{page:{pageNumber:x}}}=e;i=e={annotationType:pt.INK,color:Array.from(f),thickness:u,opacity:h,paths:{points:a},boxes:null,pageIndex:x-1,rect:o.slice(0),rotation:l,annotationElementId:c,id:c,deleted:!1,popupRef:d,richText:p,comment:m?.str||null,creationDate:g,modificationDate:b}}let r=await super.deserialize(e,t,s);return r._initialData=i,e.comment&&r.setCommentData(e),r}get toolbarButtons(){return this._colorPicker||=new Ff(this),[[\"colorPicker\",this._colorPicker]]}get colorType(){return qt.INK_COLOR}get colorAndOpacityType(){return qt.INK_COLOR_AND_OPACITY}get opacityType(){return qt.INK_OPACITY}updateParams(e,t){if(e===qt.INK_COLOR_AND_OPACITY){this._updateColorAndOpacity(t.color,t.opacity);return}super.updateParams(e,t)}static updateDefaultParams(e,t){if(e===qt.INK_COLOR_AND_OPACITY){super.updateDefaultParams(qt.INK_COLOR,t.color),super.updateDefaultParams(qt.INK_OPACITY,t.opacity);return}super.updateDefaultParams(e,t)}get color(){return this._drawingOptions.stroke}get opacity(){return this._drawingOptions[\"stroke-opacity\"]}onScaleChanging(){if(!this.parent)return;super.onScaleChanging();let{_drawId:e,_drawingOptions:t,parent:s}=this;t.updateSVGProperty(\"stroke-width\"),s.drawLayer.updateProperties(e,t.toSVGProperties())}static onScaleChangingWhenDrawing(){let e=this._currentParent;e&&(super.onScaleChangingWhenDrawing(),this._defaultDrawingOptions.updateSVGProperty(\"stroke-width\"),e.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}createDrawingOptions({color:e,thickness:t,opacity:s}){this._drawingOptions=n.getDefaultDrawingOptions({stroke:Be.makeHexColor(...e),\"stroke-width\":t,\"stroke-opacity\":s})}serialize(e=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();let{lines:t,points:s}=this.serializeDraw(e),{_drawingOptions:{stroke:i,\"stroke-opacity\":r,\"stroke-width\":a}}=this,o=Object.assign(super.serialize(e),{color:Ut._colorManager.convert(i),opacity:r,thickness:a,paths:{lines:t,points:s}});return this.addComment(o),e?(o.isCopy=!0,o):this.annotationElementId&&!this.#e(o)?null:(o.id=this.annotationElementId,o)}#e(e){let{color:t,thickness:s,opacity:i,pageIndex:r}=this._initialData;return this.hasEditedComment||this._hasBeenMoved||this._hasBeenResized||e.color.some((a,o)=>a!==t[o])||e.thickness!==s||e.opacity!==i||e.pageIndex!==r}renderAnnotationElement(e){if(this.deleted)return e.hide(),null;let{points:t,rect:s}=this.serializeDraw(!1);return e.updateEdited({rect:s,thickness:this._drawingOptions[\"stroke-width\"],points:t,popup:this.comment}),null}},jl=class extends Yr{toSVGPath(){let e=super.toSVGPath();return e.endsWith(\"Z\")||(e+=\"Z\"),e}};N7();var df=8,Ko=3,vr=class{static#e={maxDim:512,sigmaSFactor:.02,sigmaR:25,kernelSize:16};static#n(e,t,s,i){return s-=e,i-=t,s===0?i>0?0:4:s===1?i+6:2-i}static#t=new Int32Array([0,1,-1,1,-1,0,-1,-1,0,-1,1,-1,1,0,1,1]);static#s(e,t,s,i,r,a,o){let l=this.#n(s,i,r,a);for(let c=0;c<8;c++){let f=(-c+l-o+16)%8,h=this.#t[2*f],u=this.#t[2*f+1];if(e[(s+h)*t+(i+u)]!==0)return f}return-1}static#i(e,t,s,i,r,a,o){let l=this.#n(s,i,r,a);for(let c=0;c<8;c++){let f=(c+l+o+16)%8,h=this.#t[2*f],u=this.#t[2*f+1];if(e[(s+h)*t+(i+u)]!==0)return f}return-1}static#r(e,t,s,i){let r=e.length,a=new Int32Array(r);for(let f=0;f<r;f++)a[f]=e[f]<=i?1:0;for(let f=1;f<s-1;f++)a[f*t]=a[f*t+t-1]=0;for(let f=0;f<t;f++)a[f]=a[t*s-1-f]=0;let o=1,l,c=[];for(let f=1;f<s-1;f++){l=1;for(let h=1;h<t-1;h++){let u=f*t+h,d=a[u];if(d===0)continue;let p=f,m=h;if(d===1&&a[u-1]===0)o+=1,m-=1;else if(d>=1&&a[u+1]===0)o+=1,m+=1,d>1&&(l=d);else{d!==1&&(l=Math.abs(d));continue}let g=[h,f],b=m===h+1,x={isHole:b,points:g,id:o,parent:0};c.push(x);let w;for(let I of c)if(I.id===l){w=I;break}w?w.isHole?x.parent=b?w.parent:l:x.parent=b?l:w.parent:x.parent=b?l:0;let v=this.#s(a,t,f,h,p,m,0);if(v===-1){a[u]=-o,a[u]!==1&&(l=Math.abs(a[u]));continue}let k=this.#t[2*v],j=this.#t[2*v+1],A=f+k,S=h+j;p=A,m=S;let q=f,_=h;for(;;){let I=this.#i(a,t,q,_,p,m,1);k=this.#t[2*I],j=this.#t[2*I+1];let C=q+k,T=_+j;g.push(T,C);let M=q*t+_;if(a[M+1]===0?a[M]=-o:a[M]===1&&(a[M]=o),C===f&&T===h&&q===A&&_===S){a[u]!==1&&(l=Math.abs(a[u]));break}else p=q,m=_,q=C,_=T}}}return c}static#a(e,t,s,i){if(s-t<=4){for(let A=t;A<s-2;A+=2)i.push(e[A],e[A+1]);return}let r=e[t],a=e[t+1],o=e[s-4]-r,l=e[s-3]-a,c=Math.hypot(o,l),f=o/c,h=l/c,u=f*a-h*r,d=l/o,p=1/c,m=Math.atan(d),g=Math.cos(m),b=Math.sin(m),x=p*(Math.abs(g)+Math.abs(b)),w=p*(1-x+x**2),v=Math.max(Math.atan(Math.abs(b+g)*w),Math.atan(Math.abs(b-g)*w)),k=0,j=t;for(let A=t+2;A<s-2;A+=2){let S=Math.abs(u-f*e[A+1]+h*e[A]);S>k&&(j=A,k=S)}k>(c*v)**2?(this.#a(e,t,j+2,i),this.#a(e,j,s,i)):i.push(r,a)}static#o(e){let t=[],s=e.length;return this.#a(e,0,s,t),t.push(e[s-2],e[s-1]),t.length<=4?null:t}static#l(e,t,s,i,r,a){let o=new Float32Array(a**2),l=-2*i**2,c=a>>1;for(let m=0;m<a;m++){let g=(m-c)**2;for(let b=0;b<a;b++)o[m*a+b]=Math.exp((g+(b-c)**2)/l)}let f=new Float32Array(256),h=-2*r**2;for(let m=0;m<256;m++)f[m]=Math.exp(m**2/h);let u=e.length,d=new Uint8Array(u),p=new Uint32Array(256);for(let m=0;m<s;m++)for(let g=0;g<t;g++){let b=m*t+g,x=e[b],w=0,v=0;for(let j=0;j<a;j++){let A=m+j-c;if(!(A<0||A>=s))for(let S=0;S<a;S++){let q=g+S-c;if(q<0||q>=t)continue;let _=e[A*t+q],I=o[j*a+S]*f[Math.abs(_-x)];w+=_*I,v+=I}}let k=d[b]=Math.round(w/v);p[k]++}return[d,p]}static#c(e){let t=new Uint32Array(256);for(let s of e)t[s]++;return t}static#h(e){let t=e.length,s=new Uint8ClampedArray(t>>2),i=-1/0,r=1/0;for(let o=0,l=s.length;o<l;o++){let c=s[o]=e[o<<2];i=Math.max(i,c),r=Math.min(r,c)}let a=255/(i-r);for(let o=0,l=s.length;o<l;o++)s[o]=(s[o]-r)*a;return s}static#f(e){let t,s=-1/0,i=-1/0,r=e.findIndex(l=>l!==0),a=r,o=r;for(t=r;t<256;t++){let l=e[t];l>s&&(t-a>i&&(i=t-a,o=t-1),s=l,a=t)}for(t=o-1;t>=0&&!(e[t]>e[t+1]);t--);return t}static#d(e){let t=e,{width:s,height:i}=e,{maxDim:r}=this.#e,a=s,o=i;if(s>r||i>r){let u=s,d=i,p=Math.log2(Math.max(s,i)/r),m=Math.floor(p);p=p===m?m-1:m;for(let b=0;b<p;b++){a=Math.ceil(u/2),o=Math.ceil(d/2);let x=new OffscreenCanvas(a,o);x.getContext(\"2d\").drawImage(e,0,0,u,d,0,0,a,o),u=a,d=o,e!==t&&e.close(),e=x.transferToImageBitmap()}let g=Math.min(r/a,r/o);a=Math.round(a*g),o=Math.round(o*g)}let c=new OffscreenCanvas(a,o).getContext(\"2d\",{willReadFrequently:!0});c.fillStyle=\"white\",c.fillRect(0,0,a,o),c.filter=\"grayscale(1)\",c.drawImage(e,0,0,e.width,e.height,0,0,a,o);let f=c.getImageData(0,0,a,o).data;return[this.#h(f),a,o]}static extractContoursFromText(e,{fontFamily:t,fontStyle:s,fontWeight:i},r,a,o,l){let c=new OffscreenCanvas(1,1),f=c.getContext(\"2d\",{alpha:!1}),h=200,u=f.font=`${s} ${i} ${h}px ${t}`,{actualBoundingBoxLeft:d,actualBoundingBoxRight:p,actualBoundingBoxAscent:m,actualBoundingBoxDescent:g,fontBoundingBoxAscent:b,fontBoundingBoxDescent:x,width:w}=f.measureText(e),v=1.5,k=Math.ceil(Math.max(Math.abs(d)+Math.abs(p)||0,w)*v),j=Math.ceil(Math.max(Math.abs(m)+Math.abs(g)||h,Math.abs(b)+Math.abs(x)||h)*v);c=new OffscreenCanvas(k,j),f=c.getContext(\"2d\",{alpha:!0,willReadFrequently:!0}),f.font=u,f.filter=\"grayscale(1)\",f.fillStyle=\"white\",f.fillRect(0,0,k,j),f.fillStyle=\"black\",f.fillText(e,k*(v-1)/2,j*(3-v)/2);let A=this.#h(f.getImageData(0,0,k,j).data),S=this.#c(A),q=this.#f(S),_=this.#r(A,k,j,q);return this.processDrawnLines({lines:{curves:_,width:k,height:j},pageWidth:r,pageHeight:a,rotation:o,innerMargin:l,mustSmooth:!0,areContours:!0})}static process(e,t,s,i,r){let[a,o,l]=this.#d(e),[c,f]=this.#l(a,o,l,Math.hypot(o,l)*this.#e.sigmaSFactor,this.#e.sigmaR,this.#e.kernelSize),h=this.#f(f),u=this.#r(c,o,l,h);return this.processDrawnLines({lines:{curves:u,width:o,height:l},pageWidth:t,pageHeight:s,rotation:i,innerMargin:r,mustSmooth:!0,areContours:!0})}static processDrawnLines({lines:e,pageWidth:t,pageHeight:s,rotation:i,innerMargin:r,mustSmooth:a,areContours:o}){i%180!==0&&([t,s]=[s,t]);let{curves:l,width:c,height:f}=e,h=e.thickness??0,u=[],d=Math.min(t/c,s/f),p=d/t,m=d/s,g=[];for(let{points:x}of l){let w=a?this.#o(x):x;if(!w)continue;g.push(w);let v=w.length,k=new Float32Array(v),j=new Float32Array(3*(v===2?2:v-2));if(u.push({line:j,points:k}),v===2){k[0]=w[0]*p,k[1]=w[1]*m,j.set([NaN,NaN,NaN,NaN,k[0],k[1]],0);continue}let[A,S,q,_]=w;A*=p,S*=m,q*=p,_*=m,k.set([A,S,q,_],0),j.set([NaN,NaN,NaN,NaN,A,S],0);for(let I=4;I<v;I+=2){let C=k[I]=w[I]*p,T=k[I+1]=w[I+1]*m;j.set(Qe.createBezierPoints(A,S,q,_,C,T),(I-2)*3),[A,S,q,_]=[q,_,C,T]}}if(u.length===0)return null;let b=o?new jl:new Yr;return b.build(u,t,s,1,i,o?0:h,r),{outline:b,newCurves:g,areContours:o,thickness:h,width:c,height:f}}static async compressSignature({outlines:e,areContours:t,thickness:s,width:i,height:r}){let a=1/0,o=-1/0,l=0;for(let x of e){l+=x.length;for(let w=2,v=x.length;w<v;w++){let k=x[w]-x[w-2];a=Math.min(a,k),o=Math.max(o,k)}}let c;a>=-128&&o<=127?c=Int8Array:a>=-32768&&o<=32767?c=Int16Array:c=Int32Array;let f=e.length,h=df+Ko*f,u=new Uint32Array(h),d=0;u[d++]=h*Uint32Array.BYTES_PER_ELEMENT+(l-2*f)*c.BYTES_PER_ELEMENT,u[d++]=0,u[d++]=i,u[d++]=r,u[d++]=t?0:1,u[d++]=Math.max(0,Math.floor(s??0)),u[d++]=f,u[d++]=c.BYTES_PER_ELEMENT;for(let x of e)u[d++]=x.length-2,u[d++]=x[0],u[d++]=x[1];let p=new CompressionStream(\"deflate-raw\"),m=p.writable.getWriter();await m.ready,m.write(u);let g=c.prototype.constructor;for(let x of e){let w=new g(x.length-2);for(let v=2,k=x.length;v<k;v++)w[v-2]=x[v]-x[v-2];m.write(w)}return m.close(),(await new Response(p.readable).bytes()).toBase64()}static async decompressSignature(e){try{let t=Uint8Array.fromBase64(e),{readable:s,writable:i}=new DecompressionStream(\"deflate-raw\"),r=i.getWriter();await r.ready,r.write(t).then(async()=>{await r.ready,await r.close()}).catch(()=>{});let a=null,o=0;for await(let w of s)a||=new Uint8Array(new Uint32Array(w.buffer,0,4)[0]),a.set(w,o),o+=w.length;let l=new Uint32Array(a.buffer,0,a.length>>2),c=l[1];if(c!==0)throw new Error(`Invalid version: ${c}`);let f=l[2],h=l[3],u=l[4]===0,d=l[5],p=l[6],m=l[7],g=[],b=(df+Ko*p)*Uint32Array.BYTES_PER_ELEMENT,x;switch(m){case Int8Array.BYTES_PER_ELEMENT:x=new Int8Array(a.buffer,b);break;case Int16Array.BYTES_PER_ELEMENT:x=new Int16Array(a.buffer,b);break;case Int32Array.BYTES_PER_ELEMENT:x=new Int32Array(a.buffer,b);break}o=0;for(let w=0;w<p;w++){let v=l[Ko*w+df],k=new Float32Array(v+2);g.push(k);for(let j=0;j<Ko-1;j++)k[j]=l[Ko*w+df+j+1];for(let j=0;j<v;j++)k[j+2]=k[j]+x[o++]}return{areContours:u,thickness:d,outlines:g,width:f,height:h}}catch(t){return at(`decompressSignature: ${t}`),null}}},Op=class n extends wl{constructor(){super(),super.updateProperties({fill:Ut._defaultLineColor,\"stroke-width\":0})}clone(){let e=new n;return e.updateAll(this),e}},Mp=class n extends Uf{constructor(e){super(e),super.updateProperties({stroke:Ut._defaultLineColor,\"stroke-width\":1})}clone(){let e=new n(this._viewParameters);return e.updateAll(this),e}},Pp=class n extends xl{#e=!1;#n=null;#t=null;#s=null;#i=!1;static _type=\"signature\";static _editorType=pt.SIGNATURE;static _defaultDrawingOptions=null;constructor(e){super({...e,mustBeCommitted:!0,name:\"signatureEditor\"}),this._willKeepAspectRatio=!0,this.#t=e.signatureData||null,this.#n=null,this.defaultL10nId=\"pdfjs-editor-signature-editor1\"}static initialize(e,t){Ut.initialize(e,t),this._defaultDrawingOptions=new Op,this._defaultDrawnSignatureOptions=new Mp(t.viewParameters)}static getDefaultDrawingOptions(e){let t=this._defaultDrawingOptions.clone();return t.updateProperties(e),t}static get supportMultipleDrawings(){return!1}static get typesMap(){return ze(this,\"typesMap\",new Map)}static get isDrawer(){return!1}get telemetryFinalData(){return{type:\"signature\",hasDescription:!!this.#n}}static computeTelemetryFinalData(e){let t=e.get(\"hasDescription\");return{hasAltText:t.get(!0)??0,hasNoAltText:t.get(!1)??0}}get isResizable(){return!0}onceAdded(e){this.#i=this._drawId===null,super.onceAdded(e)}onScaleChanging(){this._drawId!==null&&super.onScaleChanging()}render(){if(this.div)return this.div;let e,t,{_isCopy:s}=this;if(s&&(this._isCopy=!1,e=this.x,t=this.y),super.render(),this._drawId===null)if(this.#t){let{lines:i,mustSmooth:r,areContours:a,description:o,uuid:l,heightInPage:c}=this.#t,{rawDims:{pageWidth:f,pageHeight:h},rotation:u}=this.parent.viewport,d=vr.processDrawnLines({lines:i,pageWidth:f,pageHeight:h,rotation:u,innerMargin:n._INNER_MARGIN,mustSmooth:r,areContours:a});this.addSignature(d,c,o,l)}else this.div.setAttribute(\"data-l10n-args\",JSON.stringify({description:\"\"})),this.div.hidden=!0,this._uiManager.getSignature(this);else this.div.setAttribute(\"data-l10n-args\",JSON.stringify({description:this.#n||\"\"}));return s&&(this._isCopy=!0,this._moveAfterPaste(e,t)),this.div}setUuid(e){this.#s=e,this.addEditToolbar()}getUuid(){return this.#s}get description(){return this.#n}set description(e){this.#n=e,this.div&&(this.div.setAttribute(\"data-l10n-args\",JSON.stringify({description:e})),super.addEditToolbar().then(t=>{t?.updateEditSignatureButton(e)}))}getSignaturePreview(){let{newCurves:e,areContours:t,thickness:s,width:i,height:r}=this.#t,a=Math.max(i,r),o=vr.processDrawnLines({lines:{curves:e.map(l=>({points:l})),thickness:s,width:i,height:r},pageWidth:a,pageHeight:a,rotation:0,innerMargin:0,mustSmooth:!1,areContours:t});return{areContours:t,outline:o.outline}}get toolbarButtons(){return this._uiManager.signatureManager?[[\"editSignature\",this._uiManager.signatureManager]]:super.toolbarButtons}addSignature(e,t,s,i){let{x:r,y:a}=this,{outline:o}=this.#t=e;this.#e=o instanceof jl,this.description=s;let l;this.#e?l=n.getDefaultDrawingOptions():(l=n._defaultDrawnSignatureOptions.clone(),l.updateProperties({\"stroke-width\":o.thickness})),this._addOutlines({drawOutlines:o,drawingOptions:l});let[,c]=this.pageDimensions,f=t/c;f=f>=1?.5:f,this.width*=f/this.height,this.width>=1&&(f*=.9/this.width,this.width=.9),this.height=f,this.setDims(),this.x=r,this.y=a,this.center(),this._onResized(),this.onScaleChanging(),this.rotate(),this._uiManager.addToAnnotationStorage(this),this.setUuid(i),this._reportTelemetry({action:\"pdfjs.signature.inserted\",data:{hasBeenSaved:!!i,hasDescription:!!s}}),this.div.hidden=!1,this.#i&&(this.#i=!1,this.parent.addUndoableEditor(this))}getFromImage(e){let{rawDims:{pageWidth:t,pageHeight:s},rotation:i}=this.parent.viewport;return vr.process(e,t,s,i,n._INNER_MARGIN)}getFromText(e,t){let{rawDims:{pageWidth:s,pageHeight:i},rotation:r}=this.parent.viewport;return vr.extractContoursFromText(e,t,s,i,r,n._INNER_MARGIN)}getDrawnSignature(e){let{rawDims:{pageWidth:t,pageHeight:s},rotation:i}=this.parent.viewport;return vr.processDrawnLines({lines:e,pageWidth:t,pageHeight:s,rotation:i,innerMargin:n._INNER_MARGIN,mustSmooth:!1,areContours:!1})}createDrawingOptions({areContours:e,thickness:t}){e?this._drawingOptions=n.getDefaultDrawingOptions():(this._drawingOptions=n._defaultDrawnSignatureOptions.clone(),this._drawingOptions.updateProperties({\"stroke-width\":t}))}serialize(e=!1){if(this.isEmpty())return null;let{lines:t,points:s}=this.serializeDraw(e),{_drawingOptions:{\"stroke-width\":i}}=this,r=Object.assign(super.serialize(e),{isSignature:!0,areContours:this.#e,color:[0,0,0],thickness:this.#e?0:i});return this.addComment(r),e?(r.paths={lines:t,points:s},r.uuid=this.#s,r.isCopy=!0):r.lines=t,this.#n&&(r.accessibilityData={type:\"Figure\",alt:this.#n}),r}static deserializeDraw(e,t,s,i,r,a){return a.areContours?jl.deserialize(e,t,s,i,r,a):Yr.deserialize(e,t,s,i,r,a)}static async deserialize(e,t,s){let i=await super.deserialize(e,t,s);return i.#e=e.areContours,i.description=e.accessibilityData?.alt||\"\",i.#s=e.uuid,i}},Bp=class extends Ut{#e=null;#n=null;#t=null;#s=null;#i=null;#r=\"\";#a=null;#o=!1;#l=null;#c=!1;#h=!1;static _type=\"stamp\";static _editorType=pt.STAMP;constructor(e){super({...e,name:\"stampEditor\"}),this.#s=e.bitmapUrl,this.#i=e.bitmapFile,this.defaultL10nId=\"pdfjs-editor-stamp-editor\"}static initialize(e,t){Ut.initialize(e,t)}static isHandlingMimeForPasting(e){return ed.has(e)}static paste(e,t){t.pasteEditor({mode:pt.STAMP},{bitmapFile:e.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){return{type:\"stamp\",hasAltText:!!this.altTextData?.altText}}static computeTelemetryFinalData(e){let t=e.get(\"hasAltText\");return{hasAltText:t.get(!0)??0,hasNoAltText:t.get(!1)??0}}#f(e,t=!1){if(!e){this.remove();return}this.#e=e.bitmap,t||(this.#n=e.id,this.#c=e.isSvg),e.file&&(this.#r=e.file.name),this.#g()}#d(){if(this.#t=null,this._uiManager.enableWaiting(!1),!!this.#a){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&this.#e){this.addEditToolbar().then(()=>{this._editToolbar.hide(),this._uiManager.editAltText(this,!0)});return}if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&this.#e){this._reportTelemetry({action:\"pdfjs.image.image_added\",data:{alt_text_modal:!1,alt_text_type:\"empty\"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}}async mlGuessAltText(e=null,t=!0){if(this.hasAltTextData())return null;let{mlManager:s}=this._uiManager;if(!s)throw new Error(\"No ML.\");if(!await s.isEnabledFor(\"altText\"))throw new Error(\"ML isn't enabled for alt text.\");let{data:i,width:r,height:a}=e||this.copyCanvas(null,null,!0).imageData,o=await s.guess({name:\"altText\",request:{data:i,width:r,height:a,channels:i.length/(r*a)}});if(!o)throw new Error(\"No response from the AI service.\");if(o.error)throw new Error(\"Error from the AI service.\");if(o.cancel)return null;if(!o.output)throw new Error(\"No valid response from the AI service.\");let l=o.output;return await this.setGuessedAltText(l),t&&!this.hasAltTextData()&&(this.altTextData={alt:l,decorative:!1}),l}#p(){if(this.#n){this._uiManager.enableWaiting(!0),this._uiManager.imageManager.getFromId(this.#n).then(s=>this.#f(s,!0)).finally(()=>this.#d());return}if(this.#s){let s=this.#s;this.#s=null,this._uiManager.enableWaiting(!0),this.#t=this._uiManager.imageManager.getFromUrl(s).then(i=>this.#f(i)).finally(()=>this.#d());return}if(this.#i){let s=this.#i;this.#i=null,this._uiManager.enableWaiting(!0),this.#t=this._uiManager.imageManager.getFromFile(s).then(i=>this.#f(i)).finally(()=>this.#d());return}let e=document.createElement(\"input\");e.type=\"file\",e.accept=ed.keys().join(\",\");let t=this._uiManager._signal;this.#t=new Promise(s=>{e.addEventListener(\"change\",async()=>{if(!e.files||e.files.length===0)this.remove();else{this._uiManager.enableWaiting(!0);let i=await this._uiManager.imageManager.getFromFile(e.files[0]);this._reportTelemetry({action:\"pdfjs.image.image_selected\",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),this.#f(i)}s()},{signal:t}),e.addEventListener(\"cancel\",()=>{this.remove(),s()},{signal:t})}).finally(()=>this.#d()),e.click()}remove(){this.#n&&(this.#e=null,this._uiManager.imageManager.deleteId(this.#n),this.#a?.remove(),this.#a=null,this.#l&&(clearTimeout(this.#l),this.#l=null)),super.remove()}rebuild(){if(!this.parent){this.#n&&this.#p();return}super.rebuild(),this.div!==null&&(this.#n&&this.#a===null&&this.#p(),this.isAttachedToDOM||this.parent.add(this))}onceAdded(e){this._isDraggable=!0,e&&this.div.focus()}isEmpty(){return!(this.#t||this.#e||this.#s||this.#i||this.#n||this.#o)}get toolbarButtons(){return[[\"altText\",this.createAltText()]]}get isResizable(){return!0}render(){if(this.div)return this.div;let e,t;return this._isCopy&&(e=this.x,t=this.y),super.render(),this.div.hidden=!0,this.createAltText(),this.#o||(this.#e?this.#g():this.#p()),this._isCopy&&this._moveAfterPaste(e,t),this._uiManager.addShouldRescale(this),this.div}setCanvas(e,t){let{id:s,bitmap:i}=this._uiManager.imageManager.getFromCanvas(e,t);t.remove(),s&&this._uiManager.imageManager.isValidId(s)&&(this.#n=s,i&&(this.#e=i),this.#o=!1,this.#g())}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;this.#l!==null&&clearTimeout(this.#l);let e=200;this.#l=setTimeout(()=>{this.#l=null,this.#m()},e)}#g(){let{div:e}=this,{width:t,height:s}=this.#e,[i,r]=this.pageDimensions,a=.75;if(this.width)t=this.width*i,s=this.height*r;else if(t>a*i||s>a*r){let l=Math.min(a*i/t,a*r/s);t*=l,s*=l}this._uiManager.enableWaiting(!1);let o=this.#a=document.createElement(\"canvas\");o.setAttribute(\"role\",\"img\"),this.addContainer(o),this.width=t/i,this.height=s/r,this.setDims(),this._initialOptions?.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,(!this._uiManager.useNewAltTextWhenAddingImage||!this._uiManager.useNewAltTextFlow||this.annotationElementId)&&(e.hidden=!1),this.#m(),this.#h||(this.parent.addUndoableEditor(this),this.#h=!0),this._reportTelemetry({action:\"inserted_image\"}),this.#r&&this.div.setAttribute(\"aria-description\",this.#r),this.annotationElementId||this._uiManager.a11yAlert(Ut._l10nAlert.stamp)}copyCanvas(e,t,s=!1){e||=224;let{width:i,height:r}=this.#e,a=new Qs,o=this.#e,l=i,c=r,f=null;if(t){if(i>t||r>t){let j=Math.min(t/i,t/r);l=Math.floor(i*j),c=Math.floor(r*j)}f=document.createElement(\"canvas\");let u=f.width=Math.ceil(l*a.sx),d=f.height=Math.ceil(c*a.sy);this.#c||(o=this.#u(u,d));let p=f.getContext(\"2d\");p.filter=this._uiManager.hcmFilter;let m=\"white\",g=\"#cfcfd8\";this._uiManager.hcmFilter!==\"none\"?g=\"black\":td.isDarkMode&&(m=\"#8f8f9d\",g=\"#42414d\");let b=15,x=b*a.sx,w=b*a.sy,v=new OffscreenCanvas(x*2,w*2),k=v.getContext(\"2d\");k.fillStyle=m,k.fillRect(0,0,x*2,w*2),k.fillStyle=g,k.fillRect(0,0,x,w),k.fillRect(x,w,x,w),p.fillStyle=p.createPattern(v,\"repeat\"),p.fillRect(0,0,u,d),p.drawImage(o,0,0,o.width,o.height,0,0,u,d)}let h=null;if(s){let u,d;if(a.symmetric&&o.width<e&&o.height<e)u=o.width,d=o.height;else if(o=this.#e,i>e||r>e){let g=Math.min(e/i,e/r);u=Math.floor(i*g),d=Math.floor(r*g),this.#c||(o=this.#u(u,d))}let m=new OffscreenCanvas(u,d).getContext(\"2d\",{willReadFrequently:!0});m.drawImage(o,0,0,o.width,o.height,0,0,u,d),h={width:u,height:d,data:m.getImageData(0,0,u,d).data}}return{canvas:f,width:l,height:c,imageData:h}}#u(e,t){let{width:s,height:i}=this.#e,r=s,a=i,o=this.#e;for(;r>2*e||a>2*t;){let l=r,c=a;r>2*e&&(r=Math.ceil(r/2)),a>2*t&&(a=Math.ceil(a/2));let f=new OffscreenCanvas(r,a);f.getContext(\"2d\").drawImage(o,0,0,l,c,0,0,r,a),o=f.transferToImageBitmap()}return o}#m(){let[e,t]=this.parentDimensions,{width:s,height:i}=this,r=new Qs,a=Math.ceil(s*e*r.sx),o=Math.ceil(i*t*r.sy),l=this.#a;if(!l||l.width===a&&l.height===o)return;l.width=a,l.height=o;let c=this.#c?this.#e:this.#u(a,o),f=l.getContext(\"2d\");f.filter=this._uiManager.hcmFilter,f.drawImage(c,0,0,c.width,c.height,0,0,a,o)}#b(e){if(e){if(this.#c){let i=this._uiManager.imageManager.getSvgUrl(this.#n);if(i)return i}let t=document.createElement(\"canvas\");return{width:t.width,height:t.height}=this.#e,t.getContext(\"2d\").drawImage(this.#e,0,0),t.toDataURL()}if(this.#c){let[t,s]=this.pageDimensions,i=Math.round(this.width*t*yr.PDF_TO_CSS_UNITS),r=Math.round(this.height*s*yr.PDF_TO_CSS_UNITS),a=new OffscreenCanvas(i,r);return a.getContext(\"2d\").drawImage(this.#e,0,0,this.#e.width,this.#e.height,0,0,i,r),a.transferToImageBitmap()}return structuredClone(this.#e)}static async deserialize(e,t,s){let i=null,r=!1;if(e instanceof Df){let{data:{rect:m,rotation:g,id:b,structParent:x,popupRef:w,richText:v,contentsObj:k,creationDate:j,modificationDate:A},container:S,parent:{page:{pageNumber:q}},canvas:_}=e,I,C;_?(delete e.canvas,{id:I,bitmap:C}=s.imageManager.getFromCanvas(S.id,_),_.remove()):(r=!0,e._hasNoCanvas=!0);let T=(await t._structTree.getAriaAttributes(`${Va}${b}`))?.get(\"aria-label\")||\"\";i=e={annotationType:pt.STAMP,bitmapId:I,bitmap:C,pageIndex:q-1,rect:m.slice(0),rotation:g,annotationElementId:b,id:b,deleted:!1,accessibilityData:{decorative:!1,altText:T},isSvg:!1,structParent:x,popupRef:w,richText:v,comment:k?.str||null,creationDate:j,modificationDate:A}}let a=await super.deserialize(e,t,s),{rect:o,bitmap:l,bitmapUrl:c,bitmapId:f,isSvg:h,accessibilityData:u}=e;r?(s.addMissingCanvas(e.id,a),a.#o=!0):f&&s.imageManager.isValidId(f)?(a.#n=f,l&&(a.#e=l)):a.#s=c,a.#c=h;let[d,p]=a.pageDimensions;return a.width=(o[2]-o[0])/d,a.height=(o[3]-o[1])/p,u&&(a.altTextData=u),a._initialData=i,e.comment&&a.setCommentData(e),a.#h=!!i,a}serialize(e=!1,t=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();let s=Object.assign(super.serialize(e),{bitmapId:this.#n,isSvg:this.#c});if(this.addComment(s),e)return s.bitmapUrl=this.#b(!0),s.accessibilityData=this.serializeAltText(!0),s.isCopy=!0,s;let{decorative:i,altText:r}=this.serializeAltText(!1);if(!i&&r&&(s.accessibilityData={type:\"Figure\",alt:r}),this.annotationElementId){let o=this.#w(s);if(o.isSame)return null;if(o.isSameAltText)delete s.accessibilityData;else{let l=this._initialData.structParent??-1;s.accessibilityData?s.accessibilityData.structParent=l:l>=0&&(s.accessibilityData={type:\"Figure\",alt:\"\",structParent:l})}return s.id=this.annotationElementId,delete s.bitmapId,s}if(t===null)return s;t.stamps||=new Map;let a=this.#c?(s.rect[2]-s.rect[0])*(s.rect[3]-s.rect[1]):null;if(!t.stamps.has(this.#n))t.stamps.set(this.#n,{area:a,serialized:s}),s.bitmap=this.#b(!1);else if(this.#c){let o=t.stamps.get(this.#n);a>o.area&&(o.area=a,o.serialized.bitmap.close(),o.serialized.bitmap=this.#b(!1))}return s}#w(e){let{pageIndex:t,accessibilityData:{altText:s}}=this._initialData,i=e.pageIndex===t,r=(e.accessibilityData?.alt||\"\")===s;return{isSame:!this.hasEditedComment&&!this._hasBeenMoved&&!this._hasBeenResized&&i&&r,isSameAltText:r}}renderAnnotationElement(e){return this.deleted?(e.hide(),null):(e.updateEdited({rect:this.getPDFRect(),popup:this.comment}),null)}},Dp=class n{#e;#n=!1;#t=null;#s=null;#i=null;#r=new Map;#a=!1;#o=!1;#l=!1;#c=null;#h=null;#f=null;#d=null;#p=null;#g=-1;#u;static _initialized=!1;static#m=new Map([_p,Fp,Bp,zf,Pp].map(e=>[e._editorType,e]));constructor({uiManager:e,pageIndex:t,div:s,structTreeLayer:i,accessibilityManager:r,annotationLayer:a,drawLayer:o,textLayer:l,viewport:c,l10n:f}){let h=[...n.#m.values()];if(!n._initialized){n._initialized=!0;for(let u of h)u.initialize(f,e)}e.registerEditorTypes(h),this.#u=e,this.pageIndex=t,this.div=s,this.#e=r,this.#t=a,this.viewport=c,this.#f=l,this.drawLayer=o,this._structTree=i,this.#u.addLayer(this)}get isEmpty(){return this.#r.size===0}get isInvisible(){return this.isEmpty&&this.#u.getMode()===pt.NONE}updateToolbar(e){this.#u.updateToolbar(e)}updateMode(e=this.#u.getMode()){switch(this.#j(),e){case pt.NONE:this.div.classList.toggle(\"nonEditing\",!0),this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),this.disableClick();return;case pt.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case pt.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);let{classList:t}=this.div;if(t.toggle(\"nonEditing\",!1),e===pt.POPUP)t.toggle(\"commentEditing\",!0);else{t.toggle(\"commentEditing\",!1);for(let s of n.#m.values())t.toggle(`${s._type}Editing`,e===s._editorType)}this.div.hidden=!1}hasTextLayer(e){return e===this.#f?.div}setEditingState(e){this.#u.setEditingState(e)}addCommands(e){this.#u.addCommands(e)}cleanUndoStack(e){this.#u.cleanUndoStack(e)}toggleDrawing(e=!1){this.div.classList.toggle(\"drawing\",!e)}togglePointerEvents(e=!1){this.div.classList.toggle(\"disabled\",!e)}toggleAnnotationLayerPointerEvents(e=!1){this.#t?.togglePointerEvents(e)}get#b(){return this.#r.size!==0?this.#r.values():this.#u.getEditors(this.pageIndex)}async enable(){this.#l=!0,this.div.tabIndex=0,this.togglePointerEvents(!0),this.div.classList.toggle(\"nonEditing\",!1),this.#p?.abort(),this.#p=null;let e=new Set;for(let s of this.#b)s.enableEditing(),s.show(!0),s.annotationElementId&&(this.#u.removeChangedExistingAnnotation(s),e.add(s.annotationElementId));let t=this.#t;if(t)for(let s of t.getEditableAnnotations()){if(s.hide(),this.#u.isDeletedAnnotationElement(s.data.id)||e.has(s.data.id))continue;let i=await this.deserialize(s);i&&(this.addOrRebuild(i),i.enableEditing())}this.#l=!1,this.#u._eventBus.dispatch(\"editorsrendered\",{source:this,pageNumber:this.pageIndex+1})}disable(){if(this.#o=!0,this.div.tabIndex=-1,this.togglePointerEvents(!1),this.div.classList.toggle(\"nonEditing\",!0),this.#f&&!this.#p){this.#p=new AbortController;let i=this.#u.combinedSignal(this.#p);this.#f.div.addEventListener(\"pointerdown\",r=>{let{clientX:o,clientY:l,timeStamp:c}=r,f=this.#g;if(c-f>500){this.#g=c;return}this.#g=-1;let{classList:h}=this.div;h.toggle(\"getElements\",!0);let u=document.elementsFromPoint(o,l);if(h.toggle(\"getElements\",!1),!this.div.contains(u[0]))return;let d,p=new RegExp(`^${Ja}[0-9]+$`);for(let g of u)if(p.test(g.id)){d=g.id;break}if(!d)return;let m=this.#r.get(d);m?.annotationElementId===null&&(Fn(r),m.dblclick(r))},{signal:i,capture:!0})}let e=this.#t,t=[];if(e){let i=new Map,r=new Map;for(let a of this.#b){if(a.disableEditing(),!a.annotationElementId){t.push(a);continue}if(a.serialize()!==null){i.set(a.annotationElementId,a);continue}else r.set(a.annotationElementId,a);this.getEditableAnnotation(a.annotationElementId)?.show(),a.remove()}for(let a of e.getEditableAnnotations()){let{id:o}=a.data;if(this.#u.isDeletedAnnotationElement(o)){a.updateEdited({deleted:!0});continue}let l=r.get(o);if(l){l.resetAnnotationElement(a),l.show(!1),a.show();continue}l=i.get(o),l&&(this.#u.addChangedExistingAnnotation(l),l.renderAnnotationElement(a)&&l.show(!1)),a.show()}}this.#j(),this.isEmpty&&(this.div.hidden=!0);let{classList:s}=this.div;for(let i of n.#m.values())s.remove(`${i._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),e?.updateFakeAnnotations(t),this.#o=!1}getEditableAnnotation(e){return this.#t?.getEditableAnnotation(e)||null}setActiveEditor(e){this.#u.getActive()!==e&&this.#u.setActiveEditor(e)}enableTextSelection(){if(this.div.tabIndex=-1,this.#f?.div&&!this.#d){this.#d=new AbortController;let e=this.#u.combinedSignal(this.#d);this.#f.div.addEventListener(\"pointerdown\",this.#w.bind(this),{signal:e}),this.#f.div.classList.add(\"highlighting\")}}disableTextSelection(){this.div.tabIndex=0,this.#f?.div&&this.#d&&(this.#d.abort(),this.#d=null,this.#f.div.classList.remove(\"highlighting\"))}#w(e){this.#u.unselectAll();let{target:t}=e;if(t===this.#f.div||(t.getAttribute(\"role\")===\"img\"||t.classList.contains(\"endOfContent\")||t.classList.contains(\"textLayerImages\")||t.classList.contains(\"textLayerImagePlaceholder\"))&&this.#f.div.contains(t)){let{isMac:s}=Ot.platform;if(e.button!==0||e.ctrlKey&&s)return;this.#u.showAllEditors(\"highlight\",!0,!0),zf.startDrawing(this,this.#u,this.#u.direction===\"ltr\",e),e.preventDefault()}}enableClick(){if(this.#s)return;this.#s=new AbortController;let e=this.#u.combinedSignal(this.#s);this.div.addEventListener(\"pointerdown\",this.pointerdown.bind(this),{signal:e});let t=this.pointerup.bind(this);this.div.addEventListener(\"pointerup\",t,{signal:e}),this.div.addEventListener(\"pointercancel\",t,{signal:e})}disableClick(){this.#s?.abort(),this.#s=null}attach(e){this.#r.set(e.id,e);let{annotationElementId:t}=e;t&&this.#u.isDeletedAnnotationElement(t)&&this.#u.removeDeletedAnnotationElement(e)}detach(e){this.#r.delete(e.id),this.#e?.removePointerInTextLayer(e.contentDiv),!this.#o&&e.annotationElementId&&this.#u.addDeletedAnnotationElement(e)}remove(e){this.detach(e),this.#u.removeEditor(e),e.div.remove(),e.isAttachedToDOM=!1}changeParent(e){e.parent!==this&&(e.parent&&e.annotationElementId&&(this.#u.addDeletedAnnotationElement(e),Ut.deleteAnnotationElement(e),e.annotationElementId=null),this.attach(e),e.parent?.detach(e),e.setParent(this),e.div&&e.isAttachedToDOM&&(e.div.remove(),this.div.append(e.div)))}add(e){if(!(e.parent===this&&e.isAttachedToDOM)){if(this.changeParent(e),this.#u.addEditor(e),this.attach(e),!e.isAttachedToDOM){let t=e.render();this.div.append(t),e.isAttachedToDOM=!0}e.fixAndSetPosition(),e.onceAdded(!this.#l),this.#u.addToAnnotationStorage(e),e._reportTelemetry(e.telemetryInitialData)}}moveEditorInDOM(e){if(!e.isAttachedToDOM)return;let{activeElement:t}=document;e.div.contains(t)&&!this.#i&&(e._focusEventsAllowed=!1,this.#i=setTimeout(()=>{this.#i=null,e.div.contains(document.activeElement)?e._focusEventsAllowed=!0:(e.div.addEventListener(\"focusin\",()=>{e._focusEventsAllowed=!0},{once:!0,signal:this.#u._signal}),t.focus())},0)),e._structTreeParentId=this.#e?.moveElementInDOM(this.div,e.div,e.contentDiv,!0)}addOrRebuild(e){e.needsToBeRebuilt()?(e.parent||=this,e.rebuild(),e.show()):this.add(e)}addUndoableEditor(e){let t=()=>e._uiManager.rebuild(e),s=()=>{e.remove()};this.addCommands({cmd:t,undo:s,mustExec:!1})}getEditorByUID(e){for(let t of this.#r.values())if(t.uid===e)return t;return null}get#x(){return n.#m.get(this.#u.getMode())}combinedSignal(e){return this.#u.combinedSignal(e)}#v(e){let t=this.#x;return t?new t.prototype.constructor(e):null}canCreateNewEmptyEditor(){return this.#x?.canCreateNewEmptyEditor()}async pasteEditor(e,t){this.updateToolbar(e),await this.#u.updateMode(e.mode);let{offsetX:s,offsetY:i}=this.#k(),r=this.#u.getId(),a=this.#v({parent:this,id:r,x:s,y:i,uiManager:this.#u,isCentered:!0,...t});a&&this.add(a)}async deserialize(e){return await n.#m.get(e.annotationType??e.annotationEditorType)?.deserialize(e,this,this.#u)||null}createAndAddNewEditor(e,t,s={}){let i=this.#u.getId(),r=this.#v({parent:this,id:i,x:e.offsetX,y:e.offsetY,uiManager:this.#u,isCentered:t,...s});return r&&this.add(r),r}get boundingClientRect(){return this.div.getBoundingClientRect()}#k(){let{x:e,y:t,width:s,height:i}=this.boundingClientRect,r=Math.max(0,e),a=Math.max(0,t),o=Math.min(window.innerWidth,e+s),l=Math.min(window.innerHeight,t+i),c=(r+o)/2-e,f=(a+l)/2-t,[h,u]=this.viewport.rotation%180===0?[c,f]:[f,c];return{offsetX:h,offsetY:u}}addNewEditor(e={}){this.createAndAddNewEditor(this.#k(),!0,e)}setSelected(e){this.#u.setSelected(e)}toggleSelected(e){this.#u.toggleSelected(e)}unselect(e){this.#u.unselect(e)}pointerup(e){let{isMac:t}=Ot.platform;if(e.button!==0||e.ctrlKey&&t||e.target!==this.div||!this.#a||(this.#a=!1,this.#x?.isDrawer&&this.#x.supportMultipleDrawings))return;if(!this.#n){this.#n=!0;return}let s=this.#u.getMode();if(s===pt.STAMP||s===pt.POPUP||s===pt.SIGNATURE){this.#u.unselectAll();return}this.createAndAddNewEditor(e,!1)}pointerdown(e){if(this.#u.getMode()===pt.HIGHLIGHT&&this.enableTextSelection(),this.#a){this.#a=!1;return}let{isMac:t}=Ot.platform;if(e.button!==0||e.ctrlKey&&t||e.target!==this.div)return;if(this.#a=!0,this.#x?.isDrawer){this.startDrawingSession(e);return}let s=this.#u.getActive();this.#n=!s||s.isEmpty()}startDrawingSession(e){if(this.div.focus({preventScroll:!0}),this.#c){this.#x.startDrawing(this,this.#u,!1,e);return}this.#u.setCurrentDrawingSession(this),this.#c=new AbortController;let t=this.#u.combinedSignal(this.#c);this.div.addEventListener(\"blur\",({relatedTarget:s})=>{s&&!this.div.contains(s)&&(this.#h=null,this.commitOrRemove())},{signal:t}),this.#x.startDrawing(this,this.#u,!1,e)}pause(e){if(e){let{activeElement:t}=document;this.div.contains(t)&&(this.#h=t);return}this.#h&&setTimeout(()=>{this.#h?.focus(),this.#h=null},0)}endDrawingSession(e=!1){return this.#c?(this.#u.setCurrentDrawingSession(null),this.#c.abort(),this.#c=null,this.#h=null,this.#x.endDrawing(e)):null}findNewParent(e,t,s){let i=this.#u.findParent(t,s);return i===null||i===this?!1:(i.changeParent(e),!0)}commitOrRemove(){return this.#c?(this.endDrawingSession(),!0):!1}onScaleChanging(){this.#c&&this.#x.onScaleChangingWhenDrawing(this)}destroy(){this.commitOrRemove(),this.#u.getActive()?.parent===this&&(this.#u.commitOrRemove(),this.#u.setActiveEditor(null)),this.#i&&(clearTimeout(this.#i),this.#i=null);for(let e of this.#r.values())this.#e?.removePointerInTextLayer(e.contentDiv),e.setParent(null),e.isAttachedToDOM=!1,e.div.remove();this.div=null,this.#r.clear(),this.#u.removeLayer(this)}#j(){for(let e of this.#r.values())e.isEmpty()&&e.remove()}async render({viewport:e}){this.viewport=e,$r(this.div,e);for(let t of this.#u.getEditors(this.pageIndex))this.add(t),t.rebuild();await this.#u.findClonesForPage(this),this.div.hidden=this.isEmpty,this.updateMode()}update({viewport:e}){this.#u.commitOrRemove(),this.#j();let t=this.viewport.rotation,s=e.rotation;if(this.viewport=e,$r(this.div,{rotation:s}),t!==s)for(let i of this.#r.values())i.rotate(s)}get pageDimensions(){let{pageWidth:e,pageHeight:t}=this.viewport.rawDims;return[e,t]}get scale(){return this.#u.viewParameters.realScale}};A7();function Gk(n,e){return n===e?0:n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function pf(n){return n?n.nodeType===Node.ELEMENT_NODE?n.closest(\".textLayer\"):n.parentElement?.closest(\".textLayer\")||null:null}function Wk(n,e,t,s){if(n===t)return e<=s;let i=n.compareDocumentPosition(t);return i&Node.DOCUMENT_POSITION_FOLLOWING?!0:i&Node.DOCUMENT_POSITION_PRECEDING?!1:null}function Jv(n,e,t){if(n.nodeType!==Node.ELEMENT_NODE||!n.classList.contains(\"textLayer\")||e!==n.childNodes.length)return{container:n,offset:e};let s=n.lastChild;return s?.nodeType===Node.ELEMENT_NODE&&s.classList.contains(\"endOfContent\")&&(s=s.previousSibling),!s||!t.contains(s)?null:s.nodeType===Node.TEXT_NODE?{container:s,offset:s.textContent.length}:{container:s,offset:s.childNodes.length}}var Np=class n{#e=null;#n=new Map;#t=null;#s=null;#i=null;#r=null;#a=new Map;static#o=0;static#l=0;static#c=null;static#h=new Set;static#f=!1;static#d=new Set;static#p=new WeakMap;constructor({filterFactory:e=null,pageColors:t=null,pageIndex:s,textLayer:i=null}){if(this.pageIndex=s,this.#s=e,this.#i=t,i){let r=n.#p.get(i);if(r?.selectionDiv&&(r.selectionDiv.remove(),n.#h.delete(r.selectionDiv)),n.#p.set(i,{drawLayer:this}),n.#d.add(i),this.#t=i,this.#r=new MutationObserver(a=>{if(!(!this.#e||!this.#t?.isConnected||!n.#u())){for(let{addedNodes:o}of a)for(let l of o)if(l.nodeType===Node.ELEMENT_NODE&&l.classList.contains(\"endOfContent\")){n.#b();return}}}),this.#r.observe(i,{childList:!0}),n.#c===null){n.#c=new AbortController;let{signal:a}=n.#c;document.addEventListener(\"selectionchange\",n.#b.bind(n),{signal:a}),document.addEventListener(\"pointerdown\",()=>{n.#f=!0},{signal:a}),document.addEventListener(\"pointerup\",()=>{n.#f=!1},{signal:a}),window.addEventListener(\"blur\",()=>{n.#f=!1},{signal:a})}}}setParent(e){if(!this.#e){this.#e=e,this.#t?.isConnected&&n.#u()&&n.#b();return}if(this.#e!==e){if(this.#n.size>0)for(let t of this.#n.values())t.remove(),e.append(t);this.#e=e}}static#g(e){let t=this.#p.get(e);t?.selectionDiv&&(t.selectionDiv.remove(),this.#h.delete(t.selectionDiv),t.selectionDiv=null,t.path=null)}static#u(){let e=document.getSelection();return!!e&&!e.isCollapsed}static#m(){return this.#d.keys().filter(e=>e.isConnected).toArray().sort(Gk)}static#b(){let e=document.getSelection();if(!e||e.isCollapsed){for(let a of this.#h)a.remove();this.#h.clear();return}let t=new WeakMap,s=this.#m(),i=[];for(let a=0,o=e.rangeCount;a<o;a++){let l=e.getRangeAt(a);if(l.collapsed)continue;let{startContainer:c,startOffset:f,endContainer:h,endOffset:u}=l,d=pf(c),p=pf(h),m=d===null,g=p===null;if(this.#f&&m!==g)return;if(e.rangeCount===1){let{anchorNode:w,anchorOffset:v,focusNode:k,focusOffset:j}=e,A=pf(w),S=pf(k),q=Wk(w,v,k,j);A&&S&&q!==null&&(q?(c=w,f=v,d=A,h=k,u=j,p=S):(c=k,f=j,d=S,h=w,u=v,p=A))}let b=s.filter(w=>l.intersectsNode(w));if(b.length===0)continue;let x=!1;if(d||(d=b[0],c=d,f=0,x=!0),p||(p=b.at(-1),h=p,u=p.childNodes.length,x=!0),h.nodeType===Node.ELEMENT_NODE){if(h.classList.contains(\"endOfContent\")){let w=h.previousSibling;if(!w)continue;h=w,u=w.nodeType===Node.TEXT_NODE?w.textContent.length:w.childNodes.length}else if(h.classList.contains(\"textLayer\")&&h.childNodes.length===u){let w=Jv(h,u,p);if(!w)continue;h=w.container,u=w.offset}}if(c.nodeType===Node.ELEMENT_NODE){let w=Jv(c,f,d);if(!w)continue;c=w.container,f=w.offset}if(d===p&&!x&&b.includes(d)){i.push([l,d]);continue}for(let w of b){let v=w.firstChild;if(!v)continue;let k=document.createRange();if(w===d?k.setStart(c,f):k.setStartBefore(v),w===p)k.setEnd(h,u);else{let j=w.lastChild;if(!j)continue;if(j.nodeType===Node.ELEMENT_NODE&&j.classList.contains(\"endOfContent\")){let A=j.previousSibling;if(!A)continue;k.setEndAfter(A)}else k.setEndAfter(j)}k.collapsed||i.push([k,w])}}let r=new Set(i.map(a=>a[1]));for(let a of this.#d)r.has(a)||this.#g(a);for(let[a,o]of i){let l=n.#p.get(o);if(!l)continue;let c=t.get(o);if(!c){let p=o.getBoundingClientRect();c=(m,g,b,x)=>({x:(m-p.x)/p.width,y:(g-p.y)/p.height,width:b/p.width,height:x/p.height}),t.set(o,c)}let f=[];for(let{x:p,y:m,width:g,height:b}of a.getClientRects())g===0||b===0||({x:p,y:m,width:g,height:b}=c(p,m,g,b),!(g===1&&b===1)&&f.push(`M${p} ${m} h${g} v${b} h-${g} Z`));if(f.length===0)continue;let h=l.drawLayer,u=l.selectionDiv,d=l.path;if(!u){let p=`clip_selection_${n.#l++}`;u=document.createElement(\"div\"),u.className=\"selection\",u.style.clipPath=`url(#${p})`;let m=h.#s?.createSelectionStyle(h.#i);if(m)for(let[x,w]of Object.entries(m))u.style.setProperty(x,w);let g=n._svgFactory.create(1,1,!0);g.setAttribute(\"aria-hidden\",\"true\"),g.setAttribute(\"width\",\"100%\"),g.setAttribute(\"height\",\"100%\");let b=n._svgFactory.createElement(\"clipPath\");b.setAttribute(\"id\",p),b.setAttribute(\"clipPathUnits\",\"objectBoundingBox\"),d=n._svgFactory.createElement(\"path\"),b.append(d),g.append(b),u.append(g),l.path=d,l.selectionDiv=u}h.#e&&u.parentNode!==h.#e&&(h.#e.append(u),this.#h.add(u)),d.setAttribute(\"d\",f.join(\" \"))}}static get _svgFactory(){return ze(this,\"_svgFactory\",new pl)}static#w(e,[t,s,i,r]){let{style:a}=e;a.top=`${100*s}%`,a.left=`${100*t}%`,a.width=`${100*i}%`,a.height=`${100*r}%`}#x(){let e=n._svgFactory.create(1,1,!0);return this.#e.append(e),e.setAttribute(\"aria-hidden\",\"true\"),e}#v(e,t){let s=n._svgFactory.createElement(\"clipPath\");e.append(s);let i=`clip_${t}`;s.setAttribute(\"id\",i),s.setAttribute(\"clipPathUnits\",\"objectBoundingBox\");let r=n._svgFactory.createElement(\"use\");return s.append(r),r.setAttribute(\"href\",`#${t}`),r.classList.add(\"clip\"),i}#k(e,t){for(let[s,i]of Object.entries(t))i===null?e.removeAttribute(s):e.setAttribute(s,i)}draw(e,t=!1,s=!1){let i=n.#o++,r=this.#x(),a=n._svgFactory.createElement(\"defs\");r.append(a);let o=n._svgFactory.createElement(\"path\");a.append(o);let l=`path_${i}`;o.setAttribute(\"id\",l),o.setAttribute(\"vector-effect\",\"non-scaling-stroke\"),t&&this.#a.set(i,o);let c=s?this.#v(a,l):null,f=n._svgFactory.createElement(\"use\");return r.append(f),f.setAttribute(\"href\",`#${l}`),this.updateProperties(r,e),this.#n.set(i,r),{id:i,clipPathId:`url(#${c})`}}drawOutline(e,t){let s=n.#o++,i=this.#x(),r=n._svgFactory.createElement(\"defs\");i.append(r);let a=n._svgFactory.createElement(\"path\");r.append(a);let o=`path_${s}`;a.setAttribute(\"id\",o),a.setAttribute(\"vector-effect\",\"non-scaling-stroke\");let l;if(t){let h=n._svgFactory.createElement(\"mask\");r.append(h),l=`mask_${s}`,h.setAttribute(\"id\",l),h.setAttribute(\"maskUnits\",\"objectBoundingBox\");let u=n._svgFactory.createElement(\"rect\");h.append(u),u.setAttribute(\"width\",\"1\"),u.setAttribute(\"height\",\"1\"),u.setAttribute(\"fill\",\"white\");let d=n._svgFactory.createElement(\"use\");h.append(d),d.setAttribute(\"href\",`#${o}`),d.setAttribute(\"stroke\",\"none\"),d.setAttribute(\"fill\",\"black\"),d.setAttribute(\"fill-rule\",\"nonzero\"),d.classList.add(\"mask\")}let c=n._svgFactory.createElement(\"use\");i.append(c),c.setAttribute(\"href\",`#${o}`),l&&c.setAttribute(\"mask\",`url(#${l})`);let f=c.cloneNode();return i.append(f),c.classList.add(\"mainOutline\"),f.classList.add(\"secondaryOutline\"),this.updateProperties(i,e),this.#n.set(s,i),s}finalizeDraw(e,t){this.#a.delete(e),this.updateProperties(e,t)}updateProperties(e,t){if(!t)return;let{root:s,bbox:i,rootClass:r,path:a}=t,o=typeof e==\"number\"?this.#n.get(e):e;if(o){if(s&&this.#k(o,s),i&&n.#w(o,i),r){let{classList:l}=o;for(let[c,f]of Object.entries(r))l.toggle(c,f)}if(a){let c=o.firstElementChild.firstElementChild;this.#k(c,a)}}}updateParent(e,t){if(t===this)return;let s=this.#n.get(e);s&&(t.#e.append(s),this.#n.delete(e),t.#n.set(e,s))}remove(e){this.#a.delete(e),this.#e!==null&&(this.#n.get(e).remove(),this.#n.delete(e))}destroy(){this.#e=null;for(let e of this.#n.values())e.remove();this.#n.clear(),this.#a.clear(),this.#r?.disconnect(),this.#r=null,this.#t&&(n.#p.get(this.#t)?.drawLayer===this&&(n.#g(this.#t),n.#p.delete(this.#t),n.#d.delete(this.#t),n.#d.size===0&&(n.#c?.abort(),n.#c=null,n.#f=!1)),this.#t=null)}};function mf(n){return`${(n*100).toFixed(2)}%`}var Hp=class n{#e=[];#n=new Map;#t=null;#s=0;#i=0;#r=0;static#a=null;constructor(e,t,s,i){this.#s=e,this.#e=t,this.#i=s.rawDims.pageWidth,this.#r=s.rawDims.pageHeight,this.#t=i}render(){let e=document.createElement(\"div\");e.className=\"textLayerImages\";for(let t=0;t<this.#e.length;t+=6){let s=this.#o(this.#e.subarray(t,t+6));s&&e.append(s)}return e.addEventListener(\"contextmenu\",t=>{if(!(t.target instanceof HTMLCanvasElement))return;let s=t.target,i=this.#n.get(s);if(!i)return;let r=n.#a?.deref();if(r===s)return;r&&(r.width=0,r.height=0),n.#a=new WeakRef(s);let{inverseTransform:a,x1:o,y1:l,width:c,height:f}=i,h=this.#t(),u=Math.ceil(o*h.width),d=Math.ceil(l*h.height),p=Math.floor((o+c/this.#i)*h.width),m=Math.floor((l+f/this.#r)*h.height);s.width=p-u,s.height=m-d;let g=s.getContext(\"2d\");g.setTransform(...a),g.translate(-u,-d),g.drawImage(h,0,0)}),e}#o([e,t,s,i,r,a]){let o=Math.hypot((r-e)*this.#i,(a-t)*this.#r),l=Math.hypot((s-e)*this.#i,(i-t)*this.#r);if(o<this.#s||l<this.#s)return null;let c=[(r-e)*this.#i/o,(a-t)*this.#r/o,(s-e)*this.#i/l,(i-t)*this.#r/l,0,0],f=Be.inverseTransform(c),h=document.createElement(\"canvas\");return h.className=\"textLayerImagePlaceholder\",h.width=0,h.height=0,Object.assign(h.style,{opacity:0,position:\"absolute\",left:mf(e),top:mf(t),width:mf(o/this.#i),height:mf(l/this.#r),transformOrigin:\"0% 0%\",transform:`matrix(${c.join(\",\")})`}),this.#n.set(h,{inverseTransform:f,width:o,height:l,x1:e,y1:t}),h}};globalThis._pdfjsTestingUtils={HighlightOutliner:vl};globalThis.pdfjsLib={AbortException:Ei,AnnotationEditorLayer:Dp,AnnotationEditorParamsType:qt,AnnotationEditorType:pt,AnnotationEditorUIManager:Kr,AnnotationLayer:qp,AnnotationMode:Ii,AnnotationType:cn,applyOpacity:sk,build:Lk,ColorPicker:Rf,createValidAbsoluteUrl:I5,CSSConstants:nd,DOMSVGFactory:pl,DrawLayer:Np,FeatureTest:Ot,fetchData:sm,findContrastColor:ik,getDocument:rm,getFilenameFromUrl:ok,getPdfFilenameFromUrl:lk,getRGB:Il,getRGBA:ro,getUuid:T5,GlobalWorkerOptions:fi,ImageKind:gf,InvalidPDFException:tl,isDataScheme:h0,isPdfFile:im,isValidExplicitDest:pk,makeArr:io,makeMap:xf,makeObj:Ju,makeSet:nk,MathClamp:Xt,noContextMenu:hi,normalizeUnicode:ek,OPS:Ji,OutputScale:Qs,PasswordException:el,PasswordResponses:X7,PDFDataRangeTransport:Ef,PDFDateString:rl,PDFWorker:dl,PermissionFlag:K7,PixelsPerInch:yr,RenderingCancelledException:nl,renderRichText:R5,ResponseException:Qa,setLayerDimensions:$r,shadow:ze,SignatureExtractor:vr,stopEvent:Fn,SupportedImageMimeTypes:ed,TextLayer:ul,TextLayerImages:Hp,TouchManager:kf,updateUrlHash:C5,Util:Be,VerbosityLevel:o0,version:Hk,XfaLayer:vf};var $4={},$k={463(n){var e=TypeError;n.exports=function(t){if(typeof t==\"string\")return t;throw new e(\"Argument is not a string\")}},804(n){var e=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\",t=e+\"+/\",s=e+\"-_\",i=function(r){for(var a={},o=0;o<64;o++)a[r.charAt(o)]=o;return a};n.exports={i2c:t,c2i:i(t),i2cUrl:s,c2iUrl:i(s)}},529(n){n.exports=function(e,t){return{value:e,done:t}}},837(n){var e=TypeError,t=9007199254740991;n.exports=function(s){if(s>t)throw new e(\"Maximum allowed index exceeded\");return s}},944(n){var e=TypeError;n.exports=function(t){var s=t&&t.alphabet;if(s===void 0||s===\"base64\"||s===\"base64url\")return s||\"base64\";throw new e(\"Incorrect `alphabet` option\")}},767(n){n.exports=function(e){return{iterator:e,next:e.next,done:!1}}},117(n){n.exports=function(e){return e==null}},859(n){n.exports=function(e){e.iterator=e.next=e.nextHandler=e.mapper=e.predicate=e.inner=e.iterables=e.iters=e.openIters=e.padding=e.finishResults=e.buffer=null}},684(n){n.exports=function(e,t){var s=typeof Iterator==\"function\"&&Iterator.prototype[e];if(s)try{s.call({next:null},t).next()}catch{return!0}}},269(n){n.exports=Object.create?Object.create(null):{}},741(n){var e=Math.ceil,t=Math.floor;n.exports=Math.trunc||function(i){var r=+i;return(r>0?t:e)(r)}},717(n,e){e.f=Object.getOwnPropertySymbols},103(n){n.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},750(n,e,t){var s=t(117),i=TypeError;n.exports=function(r){if(s(r))throw new i(\"Can't call method on \"+r);return r}},835(n){n.exports=function(e){try{var t=new Set,s={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},\"next\",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},i=t[e](s);return i.size===1&&i.values().next().value===4}catch{return!1}}},291(n,e,t){var s=t(741);n.exports=function(i){var r=+i;return r!==r||r===0?0:s(r)}},14(n,e,t){var s=t(291),i=Math.min;n.exports=function(r){var a=s(r);return a>0?i(a,9007199254740991):0}},981(n,e,t){var s=t(750),i=Object;n.exports=function(r){return i(s(r))}},812(n){var e=TypeError;n.exports=function(t,s){if(t<s)throw new e(\"Not enough arguments\");return t}}},Y5={};function Z(n){let e=Y5[n];if(e!==void 0)return e.exports;let t=Y5[n]={exports:{}};return $k[n](t,t.exports,Z),t.exports}Z.cw=n=>{var e;return()=>{if(n){var t=n;n=0,e={exports:{}},t.call(e.exports,e,e.exports)}return e.exports}};Z.d=(n,e)=>{for(var t in e)Z.o(e,t)&&!Z.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})};Z.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e);var ws=Z.cw(n=>{var e=Qn(),t=Au(),s=TypeError;n.exports=function(i){if(e(i))return i;throw new s(t(i)+\" is not a function\")}}),Vk=Z.cw(n=>{var e=kj(),t=String,s=TypeError;n.exports=function(i){if(e(i))return i;throw new s(\"Can't set \"+t(i)+\" as a prototype\")}}),Pa=Z.cw(n=>{var e=Vi().has;n.exports=function(t){return e(t),t}}),s8=()=>Z(463),Kk=Z.cw(n=>{var e=qu(),t=new e.WeakMap,s=e.set,i=e.remove;n.exports=function(r){return s(t,r,1),i(t,r),r}}),Xk=Z.cw(n=>{var e=qu().has;n.exports=function(t){return e(t),t}}),Yk=Z.cw(n=>{var e=oi(),t=yu(),s=La().f,i=e(\"unscopables\"),r=Array.prototype;r[i]===void 0&&s(r,i,{configurable:!0,value:t(null)}),n.exports=function(a){r[i][a]=!0}}),Jk=Z.cw(n=>{var e=ku(),t=TypeError;n.exports=function(s,i){if(e(i,s))return s;throw new t(\"Incorrect invocation\")}}),i8=Z.cw(n=>{var e=Ks(),t=String,s=TypeError;n.exports=function(i){if(i===void 0||e(i))return i;throw new s(t(i)+\" is not an object or undefined\")}}),Tn=Z.cw(n=>{var e=Ks(),t=String,s=TypeError;n.exports=function(i){if(e(i))return i;throw new s(t(i)+\" is not an object\")}}),du=Z.cw(n=>{var e=mu(),t=TypeError;n.exports=function(s){if(e(s)===\"Uint8Array\")return s;throw new t(\"Argument is not an Uint8Array\")}}),r8=Z.cw(n=>{n.exports=typeof ArrayBuffer<\"u\"&&typeof DataView<\"u\"}),Qk=Z.cw(n=>{var e=nn(),t=H3(),s=Ba(),i=e.ArrayBuffer,r=e.TypeError;n.exports=i&&t(i.prototype,\"byteLength\",\"get\")||function(a){if(s(a)!==\"ArrayBuffer\")throw new r(\"ArrayBuffer expected\");return a.byteLength}}),Zk=Z.cw(n=>{var e=nn(),t=r8(),s=Qk(),i=e.DataView;n.exports=function(r){if(!t||s(r)!==0)return!1;try{return new i(r),!1}catch{return!0}}}),pu=Z.cw(n=>{var e=Zk(),t=TypeError;n.exports=function(s){if(e(s))throw new t(\"ArrayBuffer is detached\");return s}}),ej=Z.cw(n=>{var e=r8(),t=Es(),s=nn(),i=Qn(),r=Ks(),a=Vs(),o=mu(),l=Au(),c=gu(),f=bu(),h=B3(),u=ku(),d=$3(),p=y8(),m=oi(),g=Su(),b=vu(),x=b.enforce,w=b.get,v=s.Int8Array,k=v&&v.prototype,j=s.Uint8ClampedArray,A=j&&j.prototype,S=v&&d(v),q=k&&d(k),_=Object.prototype,I=s.TypeError,C=m(\"toStringTag\"),T=g(\"TYPED_ARRAY_TAG\"),M=\"TypedArrayConstructor\",E=e&&!!p&&o(s.opera)!==\"Opera\",G=!1,D,N,K,ee={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},de={BigInt64Array:8,BigUint64Array:8},X=function(te){if(!r(te))return!1;var ie=o(te);return ie===\"DataView\"||a(ee,ie)||a(de,ie)},ue=function($){var te=d($);if(r(te)){var ie=w(te);return ie&&a(ie,M)?ie[M]:ue(te)}},re=function($){if(!r($))return!1;var te=o($);return a(ee,te)||a(de,te)},H=function($){if(re($))return $;throw new I(\"Target is not a typed array\")},O=function($){if(i($)&&(!p||u(S,$)))return $;throw new I(l($)+\" is not a typed array constructor\")},z=function($,te,ie,le){if(t){if(ie)for(var Ae in ee){var Oe=s[Ae];if(Oe&&a(Oe.prototype,$))try{delete Oe.prototype[$]}catch{try{Oe.prototype[$]=te}catch{}}}(!q[$]||ie)&&f(q,$,ie?te:E&&k[$]||te,le)}},V=function($,te,ie){var le,Ae;if(t){if(p){if(ie){for(le in ee)if(Ae=s[le],Ae&&a(Ae,$))try{delete Ae[$]}catch{}}if(!S[$]||ie)try{return f(S,$,ie?te:E&&S[$]||te)}catch{}else return}for(le in ee)Ae=s[le],Ae&&(!Ae[$]||ie)&&f(Ae,$,te)}};for(D in ee)N=s[D],K=N&&N.prototype,K?x(K)[M]=N:E=!1;for(D in de)N=s[D],K=N&&N.prototype,K&&(x(K)[M]=N);if((!E||!i(S)||S===Function.prototype)&&(S=function(){throw new I(\"Incorrect invocation\")},E))for(D in ee)s[D]&&p(s[D],S);if((!E||!q||q===_)&&(q=S.prototype,E))for(D in ee)s[D]&&p(s[D].prototype,q);if(E&&d(A)!==q&&p(A,q),t&&!a(q,C)){G=!0,h(q,C,{configurable:!0,get:function(){return r(this)?this[T]:void 0}});for(D in ee)s[D]&&c(s[D].prototype,T,D)}n.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_TAG:G&&T,aTypedArray:H,aTypedArrayConstructor:O,exportTypedArrayMethod:z,exportTypedArrayStaticMethod:V,getTypedArrayConstructor:ue,isView:X,isTypedArray:re,TypedArray:S,TypedArrayPrototype:q}}),tj=Z.cw(n=>{var e=Jc();n.exports=function(t,s,i){for(var r=0,a=arguments.length>2?i:e(s),o=new t(a);a>r;)o[r]=s[r++];return o}}),M3=Z.cw(n=>{var e=ju(),t=$j(),s=Jc(),i=function(r){return function(a,o,l){var c=e(a),f=s(c);if(f===0)return!r&&-1;var h=t(l,f),u;if(r&&o!==o){for(;f>h;)if(u=c[h++],u!==u)return!0}else for(;f>h;h++)if((r||h in c)&&c[h]===o)return r||h||0;return!r&&-1}};n.exports={includes:i(!0),indexOf:i(!1)}}),nj=Z.cw(n=>{var e=Es(),t=d8(),s=TypeError,i=Object.getOwnPropertyDescriptor,r=e&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],\"length\",{writable:!1}).length=1}catch(a){return a instanceof TypeError}})();n.exports=r?function(a,o){if(t(a)&&!i(a,\"length\").writable)throw new s(\"Cannot set read only .length\");return a.length=o}:function(a,o){return a.length=o}}),sj=Z.cw(n=>{var e=on();n.exports=e([].slice)}),a8=()=>Z(804),o8=Z.cw(n=>{var e=Tn(),t=Xs();n.exports=function(s,i,r,a){try{return a?i(e(r)[0],r[1]):i(r)}catch(o){t(s,\"throw\",o)}}}),Ba=Z.cw(n=>{var e=on(),t=e({}.toString),s=e(\"\".slice);n.exports=function(i){return s(t(i),8,-1)}}),mu=Z.cw(n=>{var e=Xj(),t=Qn(),s=Ba(),i=oi(),r=i(\"toStringTag\"),a=Object,o=s((function(){return arguments})())===\"Arguments\",l=function(c,f){try{return c[f]}catch{}};n.exports=e?s:function(c){var f,h,u;return c===void 0?\"Undefined\":c===null?\"Null\":typeof(h=l(f=a(c),r))==\"string\"?h:o?s(f):(u=s(f))===\"Object\"&&t(f.callee)?\"Arguments\":u}}),ij=Z.cw(n=>{var e=Vs(),t=Oj(),s=x8(),i=La();n.exports=function(r,a,o){for(var l=t(a),c=i.f,f=s.f,h=0;h<l.length;h++){var u=l[h];!e(r,u)&&!(o&&e(o,u))&&c(r,u,f(a,u))}}}),rj=Z.cw(n=>{var e=An();n.exports=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}),aj=()=>Z(529),gu=Z.cw(n=>{var e=Es(),t=La(),s=P3();n.exports=e?function(i,r,a){return t.f(i,r,s(1,a))}:function(i,r,a){return i[r]=a,i}}),P3=Z.cw(n=>{n.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}}),l8=Z.cw(n=>{var e=Es(),t=La(),s=P3();n.exports=function(i,r,a){e?t.f(i,r,s(0,a)):i[r]=a}}),B3=Z.cw(n=>{var e=g8(),t=La();n.exports=function(s,i,r){return r.get&&e(r.get,i,{getter:!0}),r.set&&e(r.set,i,{setter:!0}),t.f(s,i,r)}}),bu=Z.cw(n=>{var e=Qn(),t=La(),s=g8(),i=D3();n.exports=function(r,a,o,l){l||(l={});var c=l.enumerable,f=l.name!==void 0?l.name:a;if(e(o)&&s(o,f,l),l.global)c?r[a]=o:i(a,o);else{try{l.unsafe?r[a]&&(c=!0):delete r[a]}catch{}c?r[a]=o:t.f(r,a,{value:o,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return r}}),oj=Z.cw(n=>{var e=bu();n.exports=function(t,s,i){for(var r in s)e(t,r,s[r],i);return t}}),D3=Z.cw(n=>{var e=nn(),t=Object.defineProperty;n.exports=function(s,i){try{t(e,s,{value:i,configurable:!0,writable:!0})}catch{e[s]=i}return i}}),Es=Z.cw(n=>{var e=An();n.exports=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}),c8=Z.cw(n=>{var e=nn(),t=Ks(),s=e.document,i=t(s)&&t(s.createElement);n.exports=function(r){return i?s.createElement(r):{}}}),lj=()=>Z(837),N3=Z.cw(n=>{n.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]}),cj=Z.cw(n=>{var e=nn(),t=e.navigator,s=t&&t.userAgent;n.exports=s?String(s):\"\"}),fj=Z.cw(n=>{var e=nn(),t=cj(),s=e.process,i=e.Deno,r=s&&s.versions||i&&i.version,a=r&&r.v8,o,l;a&&(o=a.split(\".\"),l=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!l&&t&&(o=t.match(/Edge\\/(\\d+)/),(!o||o[1]>=74)&&(o=t.match(/Chrome\\/(\\d+)/),o&&(l=+o[1]))),n.exports=l}),Dt=Z.cw(n=>{var e=nn(),t=x8().f,s=gu(),i=bu(),r=D3(),a=ij(),o=yj();n.exports=function(l,c){var f=l.target,h=l.global,u=l.stat,d,p,m,g,b,x;if(h?p=e:u?p=e[f]||r(f,{}):p=e[f]&&e[f].prototype,p)for(m in c){if(b=c[m],l.dontCallGetSet?(x=t(p,m),g=x&&x.value):g=p[m],d=o(h?m:f+(u?\".\":\"#\")+m,l.forced),!d&&g!==void 0){if(typeof b==typeof g)continue;a(b,g)}(l.sham||g&&g.sham)&&s(b,\"sham\",!0),i(p,m,b,l)}}}),An=Z.cw(n=>{n.exports=function(e){try{return!!e()}catch{return!0}}}),hj=Z.cw(n=>{var e=wu(),t=Function.prototype,s=t.apply,i=t.call;n.exports=typeof Reflect==\"object\"&&Reflect.apply||(e?i.bind(s):function(){return i.apply(s,arguments)})}),uj=Z.cw(n=>{var e=pj(),t=ws(),s=wu(),i=e(e.bind);n.exports=function(r,a){return t(r),a===void 0?r:s?i(r,a):function(){return r.apply(a,arguments)}}}),wu=Z.cw(n=>{var e=An();n.exports=!e(function(){var t=function(){}.bind();return typeof t!=\"function\"||t.hasOwnProperty(\"prototype\")})}),$n=Z.cw(n=>{var e=wu(),t=Function.prototype.call;n.exports=e?t.bind(t):function(){return t.apply(t,arguments)}}),dj=Z.cw(n=>{var e=Es(),t=Vs(),s=Function.prototype,i=e&&Object.getOwnPropertyDescriptor,r=t(s,\"name\"),a=r&&function(){}.name===\"something\",o=r&&(!e||e&&i(s,\"name\").configurable);n.exports={CONFIGURABLE:o}}),H3=Z.cw(n=>{var e=on(),t=ws();n.exports=function(s,i,r){try{return e(t(Object.getOwnPropertyDescriptor(s,i)[r]))}catch{}}}),pj=Z.cw(n=>{var e=Ba(),t=on();n.exports=function(s){if(e(s)===\"Function\")return t(s)}}),on=Z.cw(n=>{var e=wu(),t=Function.prototype,s=t.call,i=e&&t.bind.bind(s,s);n.exports=e?i:function(r){return function(){return s.apply(r,arguments)}}}),f8=()=>Z(944),Ho=Z.cw(n=>{var e=nn(),t=Qn(),s=function(i){return t(i)?i:void 0};n.exports=function(i,r){return arguments.length<2?s(e[i]):e[i]&&e[i][r]}}),$i=()=>Z(767),mj=Z.cw(n=>{var e=$n(),t=Tn(),s=$i(),i=L3();n.exports=function(r,a){(!a||typeof r!=\"string\")&&t(r);var o=i(r);return s(t(o!==void 0?e(o,r):r))}}),h8=Z.cw(n=>{var e=$n(),t=Qn(),s=Tn(),i=Au(),r=L3(),a=TypeError;n.exports=function(o,l){var c=arguments.length<2?r(o):l;if(t(c))return s(e(c,o));throw new a(i(o)+\" is not iterable\")}}),L3=Z.cw(n=>{var e=Ba(),t=p8(),s=xu(),i=oi(),r=i(\"iterator\"),a=Array.prototype;n.exports=function(o){if(!t(o))return s(o,r)||s(o,\"@@iterator\")||(e(o)===\"Arguments\"?a[r]:void 0)}}),xu=Z.cw(n=>{var e=ws(),t=p8();n.exports=function(s,i){var r=s[i];return t(r)?void 0:e(r)}}),Da=Z.cw(n=>{var e=ws(),t=Tn(),s=$n(),i=J3(),r=$i(),a=\"Invalid size\",o=RangeError,l=TypeError,c=Math.max,f=function(h,u){this.set=h,this.size=c(u,0),this.has=e(h.has),this.keys=e(h.keys)};f.prototype={getIterator:function(){return r(t(s(this.keys,this.set)))},includes:function(h){return s(this.has,this.set,h)}},n.exports=function(h){t(h);var u=+h.size;if(u!==u)throw new l(a);var d=i(u);if(d<0)throw new o(a);return new f(h,d)}}),nn=Z.cw(function(n){var e=function(t){return t&&t.Math===Math&&t};n.exports=e(typeof globalThis==\"object\"&&globalThis)||e(typeof window==\"object\"&&window)||e(typeof self==\"object\"&&self)||e(typeof global==\"object\"&&global)||e(typeof this==\"object\"&&this)||(function(){return this})()||Function(\"return this\")()}),Vs=Z.cw(n=>{var e=on(),t=Q3(),s=e({}.hasOwnProperty);n.exports=Object.hasOwn||function(r,a){return s(t(r),a)}}),z3=Z.cw(n=>{n.exports={}}),gj=Z.cw(n=>{var e=Ho();n.exports=e(\"document\",\"documentElement\")}),u8=Z.cw(n=>{var e=Es(),t=An(),s=c8();n.exports=!e&&!t(function(){return Object.defineProperty(s(\"div\"),\"a\",{get:function(){return 7}}).a!==7})}),bj=Z.cw(n=>{var e=on(),t=An(),s=Ba(),i=Object,r=e(\"\".split);n.exports=t(function(){return!i(\"z\").propertyIsEnumerable(0)})?function(a){return s(a)===\"String\"?r(a,\"\"):i(a)}:i}),wj=Z.cw(n=>{var e=on(),t=Qn(),s=X3(),i=e(Function.toString);t(s.inspectSource)||(s.inspectSource=function(r){return i(r)}),n.exports=s.inspectSource}),vu=Z.cw(n=>{var e=Zj(),t=nn(),s=Ks(),i=gu(),r=Vs(),a=X3(),o=K3(),l=z3(),c=\"Object already initialized\",f=t.TypeError,h=t.WeakMap,u,d,p,m=function(w){return p(w)?d(w):u(w,{})},g=function(w){return function(v){var k;if(!s(v)||(k=d(v)).type!==w)throw new f(\"Incompatible receiver, \"+w+\" required\");return k}};if(e||a.state){var b=a.state||(a.state=new h);b.get=b.get,b.has=b.has,b.set=b.set,u=function(w,v){if(b.has(w))throw new f(c);return v.facade=w,b.set(w,v),v},d=function(w){return b.get(w)||{}},p=function(w){return b.has(w)}}else{var x=o(\"state\");l[x]=!0,u=function(w,v){if(r(w,x))throw new f(c);return v.facade=w,i(w,x,v),v},d=function(w){return r(w,x)?w[x]:{}},p=function(w){return r(w,x)}}n.exports={set:u,get:d,has:p,enforce:m,getterFor:g}}),xj=Z.cw(n=>{var e=oi(),t=qj(),s=e(\"iterator\"),i=Array.prototype;n.exports=function(r){return r!==void 0&&(t.Array===r||i[s]===r)}}),d8=Z.cw(n=>{var e=Ba();n.exports=Array.isArray||function(s){return e(s)===\"Array\"}}),vj=Z.cw(n=>{var e=mu();n.exports=function(t){var s=e(t);return s===\"BigInt64Array\"||s===\"BigUint64Array\"}}),Qn=Z.cw(n=>{var e=typeof document==\"object\"&&document.all;n.exports=typeof e>\"u\"&&e!==void 0?function(t){return typeof t==\"function\"||t===e}:function(t){return typeof t==\"function\"}}),yj=Z.cw(n=>{var e=An(),t=Qn(),s=/#|\\.prototype\\./,i=function(c,f){var h=a[r(c)];return h===l?!0:h===o?!1:t(f)?e(f):!!f},r=i.normalize=function(c){return String(c).replace(s,\".\").toLowerCase()},a=i.data={},o=i.NATIVE=\"N\",l=i.POLYFILL=\"P\";n.exports=i}),p8=()=>Z(117),Ks=Z.cw(n=>{var e=Qn();n.exports=function(t){return typeof t==\"object\"?t!==null:e(t)}}),kj=Z.cw(n=>{var e=Ks();n.exports=function(t){return e(t)||t===null}}),ji=Z.cw(n=>{n.exports=!1}),jj=Z.cw(n=>{var e=Ks(),t=vu().get;n.exports=function(i){if(!e(i))return!1;var r=t(i);return!!r&&r.type===\"RawJSON\"}}),U3=Z.cw(n=>{var e=Ho(),t=Qn(),s=ku(),i=C8(),r=Object;n.exports=i?function(a){return typeof a==\"symbol\"}:function(a){var o=e(\"Symbol\");return t(o)&&s(o.prototype,r(a))}}),Na=Z.cw(n=>{var e=$n();n.exports=function(t,s,i){for(var r=i?t:t.iterator,a=t.next,o,l;!(o=e(a,r)).done;)if(l=s(o.value),l!==void 0)return l}}),Lo=Z.cw(n=>{var e=uj(),t=$n(),s=Tn(),i=Au(),r=xj(),a=Jc(),o=ku(),l=h8(),c=L3(),f=Xs(),h=TypeError,u=function(p,m){this.stopped=p,this.result=m},d=u.prototype;n.exports=function(p,m,g){var b=g&&g.that,x=!!(g&&g.AS_ENTRIES),w=!!(g&&g.IS_RECORD),v=!!(g&&g.IS_ITERATOR),k=!!(g&&g.INTERRUPTED),j=e(m,b),A,S,q,_,I,C,T,M=function(D){var N=A;return A=void 0,N&&f(N,\"normal\"),new u(!0,D)},E=function(D){return x?(s(D),k?j(D[0],D[1],M):j(D[0],D[1])):k?j(D,M):j(D)};if(w)A=p.iterator;else if(v)A=p;else{if(S=c(p),!S)throw new h(i(p)+\" is not iterable\");if(r(S)){for(q=0,_=a(p);_>q;q++)if(I=E(p[q]),I&&o(d,I))return I;return new u(!1)}A=l(p,S)}for(C=w?p.next:A.next;!(T=t(C,A)).done;){var G=T.value;try{I=E(G)}catch(D){if(A)f(A,\"throw\",D);else throw D}if(typeof I==\"object\"&&I&&o(d,I))return I}return new u(!1)}}),Aj=()=>Z(859),Sj=Z.cw(n=>{var e=Xs();n.exports=function(t,s,i){for(var r=t.length-1;r>=0;r--)if(t[r]!==void 0)try{i=e(t[r].iterator,s,i)}catch(a){s=\"throw\",i=a}if(s===\"throw\")throw i;return i}}),Xs=Z.cw(n=>{var e=$n(),t=Tn(),s=xu();n.exports=function(i,r,a){var o,l;t(i);try{if(o=s(i,\"return\"),!o){if(r===\"throw\")throw a;return a}o=e(o,i)}catch(c){l=!0,o=c}if(r===\"throw\")throw a;if(l)throw o;return t(o),a}}),G3=Z.cw(n=>{var e=$n(),t=yu(),s=gu(),i=oj(),r=oi(),a=vu(),o=xu(),l=m8().IteratorPrototype,c=aj(),f=Xs(),h=Sj(),u=Aj(),d=r(\"toStringTag\"),p=\"IteratorHelper\",m=\"WrapForValidIterator\",g=\"normal\",b=\"throw\",x=a.set,w=function(j){var A=a.getterFor(j?m:p);return i(t(l),{next:function(){var q=A(this);if(j)return q.nextHandler();if(q.done)return c(void 0,!0);try{var _=q.nextHandler();return q.done&&u(q),q.returnHandlerResult?_:c(_,q.done)}catch(I){throw q.done=!0,u(q),I}},return:function(){var S=A(this),q=S.iterator,_=S.inner,I=S.openIters,C=S.done;if(S.done=!0,j){var T=o(q,\"return\");return T?e(T,q):c(void 0,!0)}if(u(S),C)return c(void 0,!0);if(_)try{f(_.iterator,g)}catch(M){return f(q,b,M)}if(I)try{h(I,g)}catch(M){if(q)return f(q,b,M);throw M}return q&&f(q,g),c(void 0,!0)}})},v=w(!0),k=w(!1);s(k,d,\"Iterator Helper\"),n.exports=function(j,A,S){var q=function(I,C){C?(C.iterator=I.iterator,C.next=I.next):C=I,C.type=A?m:p,C.returnHandlerResult=!!S,C.nextHandler=j,C.counter=0,C.done=!1,x(this,C)};return q.prototype=A?v:k,q}}),W3=()=>Z(684),Ha=Z.cw(n=>{var e=nn();n.exports=function(t,s){var i=e.Iterator,r=i&&i.prototype,a=r&&r[t],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(l){l instanceof s||(o=!1)}if(!o)return a}}),m8=Z.cw(n=>{var e=An(),t=Qn(),s=Ks(),i=yu(),r=$3(),a=bu(),o=oi(),l=ji(),c=o(\"iterator\"),f=!1,h,u,d;[].keys&&(d=[].keys(),\"next\"in d?(u=r(r(d)),u!==Object.prototype&&(h=u)):f=!0);var p=!s(h)||e(function(){var m={};return h[c].call(m)!==m});p?h={}:l&&(h=i(h)),t(h[c])||a(h,c,function(){return this}),n.exports={IteratorPrototype:h}}),qj=()=>Z(269),Jc=Z.cw(n=>{var e=Kj();n.exports=function(t){return e(t.length)}}),g8=Z.cw(n=>{var e=on(),t=An(),s=Qn(),i=Vs(),r=Es(),a=dj().CONFIGURABLE,o=wj(),l=vu(),c=l.enforce,f=l.get,h=String,u=Object.defineProperty,d=e(\"\".slice),p=e(\"\".replace),m=e([].join),g=r&&!t(function(){return u(function(){},\"length\",{value:8}).length!==8}),b=String(String).split(\"String\"),x=n.exports=function(w,v,k){d(h(v),0,7)===\"Symbol(\"&&(v=\"[\"+p(h(v),/^Symbol\\(([^)]*)\\).*$/,\"$1\")+\"]\"),k&&k.getter&&(v=\"get \"+v),k&&k.setter&&(v=\"set \"+v),(!i(w,\"name\")||a&&w.name!==v)&&(r?u(w,\"name\",{value:v,configurable:!0}):w.name=v),g&&k&&i(k,\"arity\")&&w.length!==k.arity&&u(w,\"length\",{value:k.arity});try{k&&i(k,\"constructor\")&&k.constructor?r&&u(w,\"prototype\",{writable:!1}):w.prototype&&(w.prototype=void 0)}catch{}var j=c(w);return i(j,\"source\")||(j.source=m(b,typeof v==\"string\"?v:\"\")),w};Function.prototype.toString=x(function(){return s(this)&&f(this).source||o(this)},\"toString\")}),b8=Z.cw(n=>{var e=on(),t=Map.prototype;n.exports={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t}}),_j=Z.cw(n=>{var e=An();n.exports=!e(function(){var t=\"9007199254740993\",s=JSON.rawJSON(t);return!JSON.isRawJSON(s)||JSON.stringify(s)!==t})}),w8=Z.cw(n=>{var e=ws(),t=TypeError,s=function(i){var r,a;this.promise=new i(function(o,l){if(r!==void 0||a!==void 0)throw new t(\"Bad Promise constructor\");r=o,a=l}),this.resolve=e(r),this.reject=e(a)};n.exports.f=function(i){return new s(i)}}),yu=Z.cw(n=>{var e=Tn(),t=Ij(),s=N3(),i=z3(),r=gj(),a=c8(),o=K3(),l=\">\",c=\"<\",f=\"prototype\",h=\"script\",u=o(\"IE_PROTO\"),d=function(){},p=function(w){return c+h+l+w+c+\"/\"+h+l},m=function(w){w.write(p(\"\")),w.close();var v=w.parentWindow.Object;return w=null,v},g=function(){var w=a(\"iframe\"),v=\"java\"+h+\":\",k;return w.style.display=\"none\",r.appendChild(w),w.src=String(v),k=w.contentWindow.document,k.open(),k.write(p(\"document.F=Object\")),k.close(),k.F},b,x=function(){try{b=new ActiveXObject(\"htmlfile\")}catch{}x=typeof document<\"u\"?document.domain&&b?m(b):g():m(b);for(var w=s.length;w--;)delete x[f][s[w]];return x()};i[u]=!0,n.exports=Object.create||function(v,k){var j;return v!==null?(d[f]=e(v),j=new d,d[f]=null,j[u]=v):j=x(),k===void 0?j:t.f(j,k)}}),Ij=Z.cw((n,e)=>{var t=Es(),s=T8(),i=La(),r=Tn(),a=ju(),o=Ej();e.f=t&&!s?Object.defineProperties:function(c,f){r(c);for(var h=a(f),u=o(f),d=u.length,p=0,m;d>p;)i.f(c,m=u[p++],h[m]);return c}}),La=Z.cw((n,e)=>{var t=Es(),s=u8(),i=T8(),r=Tn(),a=q8(),o=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f=\"enumerable\",h=\"configurable\",u=\"writable\";e.f=t?i?function(p,m,g){if(r(p),m=a(m),r(g),typeof p==\"function\"&&m===\"prototype\"&&\"value\"in g&&u in g&&!g[u]){var b=c(p,m);b&&b[u]&&(p[m]=g.value,g={configurable:h in g?g[h]:b[h],enumerable:f in g?g[f]:b[f],writable:!1})}return l(p,m,g)}:l:function(p,m,g){if(r(p),m=a(m),r(g),s)try{return l(p,m,g)}catch{}if(\"get\"in g||\"set\"in g)throw new o(\"Accessors not supported\");return\"value\"in g&&(p[m]=g.value),p}}),x8=Z.cw((n,e)=>{var t=Es(),s=$n(),i=Rj(),r=P3(),a=ju(),o=q8(),l=Vs(),c=u8(),f=Object.getOwnPropertyDescriptor;e.f=t?f:function(u,d){if(u=a(u),d=o(d),c)try{return f(u,d)}catch{}if(l(u,d))return r(!s(i.f,u,d),u[d])}}),Cj=Z.cw((n,e)=>{var t=v8(),s=N3(),i=s.concat(\"length\",\"prototype\");e.f=Object.getOwnPropertyNames||function(a){return t(a,i)}}),Tj=()=>Z(717),$3=Z.cw(n=>{var e=Vs(),t=Qn(),s=Q3(),i=K3(),r=rj(),a=i(\"IE_PROTO\"),o=Object,l=o.prototype;n.exports=r?o.getPrototypeOf:function(c){var f=s(c);if(e(f,a))return f[a];var h=f.constructor;return t(h)&&f instanceof h?h.prototype:f instanceof o?l:null}}),ku=Z.cw(n=>{var e=on();n.exports=e({}.isPrototypeOf)}),v8=Z.cw(n=>{var e=on(),t=Vs(),s=ju(),i=M3().indexOf,r=z3(),a=e([].push);n.exports=function(o,l){var c=s(o),f=0,h=[],u;for(u in c)!t(r,u)&&t(c,u)&&a(h,u);for(;l.length>f;)t(c,u=l[f++])&&(~i(h,u)||a(h,u));return h}}),Ej=Z.cw(n=>{var e=v8(),t=N3();n.exports=Object.keys||function(i){return e(i,t)}}),Rj=Z.cw((n,e)=>{var t={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,i=s&&!t.call({1:2},1);e.f=i?function(a){var o=s(this,a);return!!o&&o.enumerable}:t}),y8=Z.cw(n=>{var e=H3(),t=Ks(),s=k8(),i=Vk();n.exports=Object.setPrototypeOf||(\"__proto__\"in{}?(function(){var r=!1,a={},o;try{o=e(Object.prototype,\"__proto__\",\"set\"),o(a,[]),r=a instanceof Array}catch{}return function(c,f){return s(c),i(f),t(c)&&(r?o(c,f):c.__proto__=f),c}})():void 0)}),Fj=Z.cw(n=>{var e=$n(),t=Qn(),s=Ks(),i=TypeError;n.exports=function(r,a){var o,l;if(a===\"string\"&&t(o=r.toString)&&!s(l=e(o,r))||t(o=r.valueOf)&&!s(l=e(o,r))||a!==\"string\"&&t(o=r.toString)&&!s(l=e(o,r)))return l;throw new i(\"Can't convert object to primitive value\")}}),Oj=Z.cw(n=>{var e=Ho(),t=on(),s=Cj(),i=Tj(),r=Tn(),a=t([].concat);n.exports=e(\"Reflect\",\"ownKeys\")||function(l){var c=s.f(r(l)),f=i.f;return f?a(c,f(l)):c}}),Mj=Z.cw(n=>{var e=on(),t=Vs(),s=SyntaxError,i=parseInt,r=String.fromCharCode,a=e(\"\".charAt),o=e(\"\".slice),l=e(/./.exec),c={'\\\\\"':'\"',\"\\\\\\\\\":\"\\\\\",\"\\\\/\":\"/\",\"\\\\b\":\"\\b\",\"\\\\f\":\"\\f\",\"\\\\n\":`\n`,\"\\\\r\":\"\\r\",\"\\\\t\":\"\t\"},f=/^[\\da-f]{4}$/i,h=/^[\\u0000-\\u001F]$/;n.exports=function(u,d){for(var p=!0,m=\"\";d<u.length;){var g=a(u,d);if(g===\"\\\\\"){var b=o(u,d,d+2);if(t(c,b))m+=c[b],d+=2;else if(b===\"\\\\u\"){d+=2;var x=o(u,d,d+4);if(!l(f,x))throw new s(\"Bad Unicode escape at: \"+d);m+=r(i(x,16)),d+=4}else throw new s('Unknown escape sequence: \"'+b+'\"')}else if(g==='\"'){p=!1,d++;break}else{if(l(h,g))throw new s(\"Bad control character in string literal at: \"+d);m+=g,d++}}if(p)throw new s(\"Unterminated string at: \"+d);return{value:m,end:d}}}),Pj=()=>Z(103),Bj=Z.cw(n=>{var e=Tn(),t=Ks(),s=w8();n.exports=function(i,r){if(e(i),t(r)&&r.constructor===i)return r;var a=s.f(i),o=a.resolve;return o(r),a.promise}}),k8=()=>Z(750),V3=Z.cw(n=>{var e=Vi(),t=Qc(),s=e.Set,i=e.add;n.exports=function(r){var a=new s;return t(r,function(o){i(a,o)}),a}}),Dj=Z.cw(n=>{var e=Pa(),t=Vi(),s=V3(),i=Zc(),r=Da(),a=Qc(),o=Na(),l=t.has,c=t.remove;n.exports=function(h){var u=e(this),d=r(h),p=s(u);return i(p)<=d.size?a(p,function(m){d.includes(m)&&c(p,m)}):o(d.getIterator(),function(m){l(p,m)&&c(p,m)}),p}}),Vi=Z.cw(n=>{var e=on(),t=Set.prototype;n.exports={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t}}),Nj=Z.cw(n=>{var e=Pa(),t=Vi(),s=Zc(),i=Da(),r=Qc(),a=Na(),o=t.Set,l=t.add,c=t.has;n.exports=function(h){var u=e(this),d=i(h),p=new o;return s(u)>d.size?a(d.getIterator(),function(m){c(u,m)&&l(p,m)}):r(u,function(m){d.includes(m)&&l(p,m)}),p}}),Hj=Z.cw(n=>{var e=Pa(),t=Vi().has,s=Zc(),i=Da(),r=Qc(),a=Na(),o=Xs();n.exports=function(c){var f=e(this),h=i(c);if(s(f)<=h.size)return r(f,function(d){if(h.includes(d))return!1},!0)!==!1;var u=h.getIterator();return a(u,function(d){if(t(f,d))return o(u.iterator,\"normal\",!1)})!==!1}}),Lj=Z.cw(n=>{var e=Pa(),t=Zc(),s=Qc(),i=Da();n.exports=function(a){var o=e(this),l=i(a);return t(o)>l.size?!1:s(o,function(c){if(!l.includes(c))return!1},!0)!==!1}}),zj=Z.cw(n=>{var e=Pa(),t=Vi().has,s=Zc(),i=Da(),r=Na(),a=Xs();n.exports=function(l){var c=e(this),f=i(l);if(s(c)<f.size)return!1;var h=f.getIterator();return r(h,function(u){if(!t(c,u))return a(h.iterator,\"normal\",!1)})!==!1}}),Qc=Z.cw(n=>{var e=on(),t=Na(),s=Vi(),i=s.Set,r=s.proto,a=e(r.forEach),o=e(r.keys),l=o(new i).next;n.exports=function(c,f,h){return h?t({iterator:o(c),next:l},f):a(c,f)}}),za=Z.cw(n=>{var e=Ho(),t=function(i){return{size:i,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},s=function(i){return{size:i,has:function(){return!0},keys:function(){throw new Error(\"e\")}}};n.exports=function(i,r){var a=e(\"Set\");try{new a()[i](t(0));try{return new a()[i](t(-1)),!1}catch{if(!r)return!0;try{return new a()[i](s(-1/0)),!1}catch{var o=new a([1,2]);return r(o[i](s(1/0)))}}}catch{return!1}}}),j8=()=>Z(835),Zc=Z.cw(n=>{var e=H3(),t=Vi();n.exports=e(t.proto,\"size\",\"get\")||function(s){return s.size}}),Uj=Z.cw(n=>{var e=Pa(),t=Vi(),s=V3(),i=Da(),r=Na(),a=t.add,o=t.has,l=t.remove;n.exports=function(f){var h=e(this),u=i(f).getIterator(),d=s(h);return r(u,function(p){o(h,p)?l(d,p):a(d,p)}),d}}),Gj=Z.cw(n=>{var e=Pa(),t=Vi().add,s=V3(),i=Da(),r=Na();n.exports=function(o){var l=e(this),c=i(o).getIterator(),f=s(l);return r(c,function(h){t(f,h)}),f}}),K3=Z.cw(n=>{var e=A8(),t=Su(),s=e(\"keys\");n.exports=function(i){return s[i]||(s[i]=t(i))}}),X3=Z.cw(n=>{var e=ji(),t=nn(),s=D3(),i=\"__core-js_shared__\",r=n.exports=t[i]||s(i,{});(r.versions||(r.versions=[])).push({version:\"3.51.0\",mode:e?\"pure\":\"global\",copyright:\"\\xA9 2013\\u20132025 Denis Pushkarev (zloirock.ru), 2025\\u20132026 CoreJS Company (core-js.io). All rights reserved.\",license:\"https://github.com/zloirock/core-js/blob/v3.51.0/LICENSE\",source:\"https://github.com/zloirock/core-js\"})}),A8=Z.cw(n=>{var e=X3(),t=Object.create||Object;n.exports=function(s,i){return e[s]||(e[s]=i||t(null))}}),Y3=Z.cw(n=>{var e=fj(),t=An(),s=nn(),i=s.String;n.exports=!!Object.getOwnPropertySymbols&&!t(function(){var r=Symbol(\"symbol detection\");return!i(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&e&&e<41})}),Wj=Z.cw(n=>{var e=on();n.exports=e(1.1.valueOf)}),$j=Z.cw(n=>{var e=J3(),t=Math.max,s=Math.min;n.exports=function(i,r){var a=e(i);return a<0?t(a+r,0):s(a,r)}}),Vj=Z.cw(n=>{var e=S8(),t=TypeError;n.exports=function(s){var i=e(s,\"number\");if(typeof i==\"number\")throw new t(\"Can't convert number to bigint\");return BigInt(i)}}),ju=Z.cw(n=>{var e=bj(),t=k8();n.exports=function(s){return e(t(s))}}),J3=()=>Z(291),Kj=()=>Z(14),Q3=()=>Z(981),S8=Z.cw(n=>{var e=$n(),t=Ks(),s=U3(),i=xu(),r=Fj(),a=oi(),o=TypeError,l=a(\"toPrimitive\");n.exports=function(c,f){if(!t(c)||s(c))return c;var h=i(c,l),u;if(h){if(f===void 0&&(f=\"default\"),u=e(h,c,f),!t(u)||s(u))return u;throw new o(\"Can't convert object to primitive value\")}return f===void 0&&(f=\"number\"),r(c,f)}}),q8=Z.cw(n=>{var e=S8(),t=U3();n.exports=function(s){var i=e(s,\"string\");return t(i)?i:i+\"\"}}),Xj=Z.cw(n=>{var e=oi(),t=e(\"toStringTag\"),s={};s[t]=\"z\",n.exports=String(s)===\"[object z]\"}),_8=Z.cw(n=>{var e=mu(),t=String;n.exports=function(s){if(e(s)===\"Symbol\")throw new TypeError(\"Cannot convert a Symbol value to a string\");return t(s)}}),Au=Z.cw(n=>{var e=String;n.exports=function(t){try{return e(t)}catch{return\"Object\"}}}),Su=Z.cw(n=>{var e=on(),t=0,s=Math.random(),i=e(1.1.toString);n.exports=function(r){return\"Symbol(\"+(r===void 0?\"\":r)+\")_\"+i(++t+s,36)}}),I8=Z.cw(n=>{var e=nn(),t=on(),s=i8(),i=s8(),r=Vs(),a=a8(),o=f8(),l=pu(),c=a.c2i,f=a.c2iUrl,h=e.SyntaxError,u=e.TypeError,d=e.Array,p=t(\"\".charAt),m=Math.floor,g=function(w,v){for(var k=w.length;v<k;v++){var j=p(w,v);if(j!==\" \"&&j!==\"\t\"&&j!==`\n`&&j!==\"\\f\"&&j!==\"\\r\")break}return v},b=function(w,v,k){var j=w.length;j<4&&(w+=j===2?\"AA\":\"A\");var A=(v[p(w,0)]<<18)+(v[p(w,1)]<<12)+(v[p(w,2)]<<6)+v[p(w,3)],S=[A>>16&255,A>>8&255,A&255];if(j===2){if(k&&S[1]!==0)throw new h(\"Extra bits\");return[S[0]]}if(j===3){if(k&&S[2]!==0)throw new h(\"Extra bits\");return[S[0],S[1]]}return S},x=function(w,v,k){for(var j=v.length,A=0;A<j;A++)w[k+A]=v[A];return k+j};n.exports=function(w,v,k,j){i(w),s(v);var A=o(v)===\"base64\"?c:f,S=v?v.lastChunkHandling:void 0;if(S===void 0&&(S=\"loose\"),S!==\"loose\"&&S!==\"strict\"&&S!==\"stop-before-partial\")throw new u(\"Incorrect `lastChunkHandling` option\");k&&l(k.buffer);var q=w.length,_=k||d(m(q*3/4)),I=0,C=0,T=\"\",M=0;if(j)for(;;){if(M=g(w,M),M===q){if(T.length>0){if(S===\"stop-before-partial\")break;if(S===\"loose\"){if(T.length===1)throw new h(\"Malformed padding: exactly one additional character\");I=x(_,b(T,A,!1),I)}else throw new h(\"Missing padding\")}C=q;break}var E=p(w,M);if(++M,E===\"=\"){if(T.length<2)throw new h(\"Padding is too early\");if(M=g(w,M),T.length===2){if(M===q){if(S===\"stop-before-partial\")break;throw new h(\"Malformed padding: only one =\")}p(w,M)===\"=\"&&(++M,M=g(w,M))}if(M<q)throw new h(\"Unexpected character after padding\");I=x(_,b(T,A,S===\"strict\"),I),C=q;break}if(!r(A,E))throw new h(\"Unexpected character\");var G=j-I;if(G===1&&T.length===2||G===2&&T.length===3||(T+=E,T.length===4&&(I=x(_,b(T,A,!1),I),T=\"\",C=M,I===j)))break}return k||(_.length=I),{bytes:_,read:C,written:I}}}),Yj=Z.cw(n=>{var e=nn(),t=on(),s=e.Uint8Array,i=e.SyntaxError,r=Math.min,a=t(\"\".match);n.exports=function(o,l){var c=o.length;if(c%2!==0)throw new i(\"String should be an even number of characters\");for(var f=l?r(l.length,c/2):c/2,h=l||new s(f),u=a(o,/[\\S\\s]{2}/g),d=0;d<f;d++){var p=+(\"0x\"+u[d]+\"0\");if(p!==p)throw new i(\"String should only contain hex characters\");h[d]=p>>4}return{bytes:h,read:d<<1}}}),Jj=Z.cw(n=>{var e=An(),t=oi(),s=Es(),i=ji(),r=t(\"iterator\");n.exports=!e(function(){var a=new URL(\"b?a=1&b=2&c=3\",\"https://a\"),o=a.searchParams,l=new URLSearchParams(\"a=1&a=2&b=3\"),c=\"\";return a.pathname=\"c%20d\",o.forEach(function(f,h){o.delete(\"b\"),c+=h+f}),l.delete(\"a\",2),l.delete(\"b\",void 0),i&&(!a.toJSON||!l.has(\"a\",1)||l.has(\"a\",2)||!l.has(\"a\",void 0)||l.has(\"b\"))||!o.size&&(i||!s)||!o.sort||a.href!==\"https://a/c%20d?a=1&c=3\"||o.get(\"c\")!==\"3\"||String(new URLSearchParams(\"?a=1\"))!==\"a=1\"||!o[r]||new URL(\"https://a@b\").username!==\"a\"||new URLSearchParams(new URLSearchParams(\"a=b\")).get(\"a\")!==\"b\"||new URL(\"https://\\u0442\\u0435\\u0441\\u0442\").host!==\"xn--e1aybc\"||new URL(\"https://a#\\u0431\").hash!==\"#%D0%B1\"||c!==\"a1c3\"||new URL(\"https://x\",void 0).host!==\"x\"})}),C8=Z.cw(n=>{var e=Y3();n.exports=e&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\"}),T8=Z.cw(n=>{var e=Es(),t=An();n.exports=e&&t(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!==42})}),Qj=()=>Z(812),Zj=Z.cw(n=>{var e=nn(),t=Qn(),s=e.WeakMap;n.exports=t(s)&&/native code/.test(String(s))}),qu=Z.cw(n=>{var e=on(),t=WeakMap.prototype;n.exports={WeakMap,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete)}}),oi=Z.cw(n=>{var e=nn(),t=A8(),s=Vs(),i=Su(),r=Y3(),a=C8(),o=e.Symbol,l=t(\"wks\"),c=a?o.for||o:o&&o.withoutSetter||i;n.exports=function(f){return s(l,f)||(l[f]=r&&s(o,f)?o[f]:c(\"Symbol.\"+f)),l[f]}}),eA=Z.cw(()=>{var n=Dt(),e=M3().includes,t=An(),s=Yk(),i=t(function(){return!Array(1).includes()}),r=t(function(){return[,1].includes(void 0,1)});n({target:\"Array\",proto:!0,forced:i||r},{includes:function(o){return e(this,o,arguments.length>1?arguments[1]:void 0)}}),s(\"includes\")}),tA=Z.cw(()=>{var n=Dt(),e=Q3(),t=Jc(),s=nj(),i=lj(),r=An(),a=r(function(){return[].push.call({length:4294967296},1)!==4294967297}),o=function(){try{Object.defineProperty([],\"length\",{writable:!1}).push()}catch(c){return c instanceof TypeError}},l=a||!o();n({target:\"Array\",proto:!0,arity:1,forced:l},{push:function(f){var h=e(this),u=t(h),d=arguments.length;i(u+d);for(var p=0;p<d;p++)h[u]=arguments[p],u++;return s(h,u),u}})}),nA=Z.cw(()=>{var n=Dt(),e=nn(),t=Jk(),s=Tn(),i=Qn(),r=$3(),a=B3(),o=l8(),l=An(),c=Vs(),f=oi(),h=m8().IteratorPrototype,u=Es(),d=ji(),p=\"constructor\",m=\"Iterator\",g=f(\"toStringTag\"),b=TypeError,x=e[m],w=d||!i(x)||x.prototype!==h||!l(function(){x({})}),v=function(){if(t(this,h),r(this)===h)throw new b(\"Abstract class Iterator not directly constructable\")},k=function(j,A){u?a(h,j,{configurable:!0,get:function(){return A},set:function(S){if(s(this),this===h)throw new b(\"You can't redefine this property\");c(this,j)?this[j]=S:o(this,j,S)}}):h[j]=A};c(h,g)||k(g,m),(w||!c(h,p)||h[p]===Object)&&k(p,v),v.prototype=h,n({global:!0,constructor:!0,forced:w},{Iterator:v})}),sA=Z.cw(()=>{var n=Dt(),e=$n(),t=Lo(),s=ws(),i=Tn(),r=$i(),a=Xs(),o=Ha(),l=o(\"every\",TypeError);n({target:\"Iterator\",proto:!0,real:!0,forced:l},{every:function(f){i(this);try{s(f)}catch(d){a(this,\"throw\",d)}if(l)return e(l,this,f);var h=r(this),u=0;return!t(h,function(d,p){if(!f(d,u++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}),iA=Z.cw(()=>{var n=Dt(),e=$n(),t=ws(),s=Tn(),i=$i(),r=G3(),a=o8(),o=ji(),l=Xs(),c=W3(),f=Ha(),h=!o&&!c(\"filter\",function(){}),u=!o&&!h&&f(\"filter\",TypeError),d=o||h||u,p=r(function(){for(var m=this.iterator,g=this.predicate,b=this.next,x,w,v;;){if(x=s(e(b,m)),w=this.done=!!x.done,w)return;if(v=x.value,a(m,g,[v,this.counter++],!0))return v}});n({target:\"Iterator\",proto:!0,real:!0,forced:d},{filter:function(g){s(this);try{t(g)}catch(b){l(this,\"throw\",b)}return u?e(u,this,g):new p(i(this),{predicate:g})}})}),rA=Z.cw(()=>{var n=Dt(),e=$n(),t=Lo(),s=ws(),i=Tn(),r=$i(),a=Xs(),o=Ha(),l=o(\"find\",TypeError);n({target:\"Iterator\",proto:!0,real:!0,forced:l},{find:function(f){i(this);try{s(f)}catch(d){a(this,\"throw\",d)}if(l)return e(l,this,f);var h=r(this),u=0;return t(h,function(d,p){if(f(d,u++))return p(d)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}),aA=Z.cw(()=>{var n=Dt(),e=$n(),t=ws(),s=Tn(),i=$i(),r=mj(),a=G3(),o=Xs(),l=An(),c=ji(),f=W3(),h=Ha(),u=!c&&l(function(){return[1].values().flatMap(function(){return[1]}).find(function(){return!0})!==1}),d=!c&&!u&&!f(\"flatMap\",function(){}),p=!c&&!u&&!d&&h(\"flatMap\",TypeError),m=c||u||d||p,g=a(function(){for(var b=this.iterator,x=this.mapper,w,v;;){if(v=this.inner)try{if(w=s(e(v.next,v.iterator)),!w.done)return w.value;this.inner=null}catch(k){o(b,\"throw\",k)}if(w=s(e(this.next,b)),this.done=!!w.done)return;try{this.inner=r(x(w.value,this.counter++),!1)}catch(k){o(b,\"throw\",k)}}});n({target:\"Iterator\",proto:!0,real:!0,forced:m},{flatMap:function(x){s(this);try{t(x)}catch(w){o(this,\"throw\",w)}return p?e(p,this,x):new g(i(this),{mapper:x,inner:null})}})}),oA=Z.cw(()=>{var n=Dt(),e=$n(),t=Lo(),s=ws(),i=Tn(),r=$i(),a=Xs(),o=Ha(),l=o(\"forEach\",TypeError);n({target:\"Iterator\",proto:!0,real:!0,forced:l},{forEach:function(f){i(this);try{s(f)}catch(d){a(this,\"throw\",d)}if(l)return e(l,this,f);var h=r(this),u=0;t(h,function(d){f(d,u++)},{IS_RECORD:!0})}})}),lA=Z.cw(()=>{var n=Dt(),e=$n(),t=ws(),s=Tn(),i=$i(),r=G3(),a=o8(),o=Xs(),l=W3(),c=Ha(),f=ji(),h=!f&&!l(\"map\",function(){}),u=!f&&!h&&c(\"map\",TypeError),d=f||h||u,p=r(function(){var m=this.iterator,g=s(e(this.next,m)),b=this.done=!!g.done;if(!b)return a(m,this.mapper,[g.value,this.counter++],!0)});n({target:\"Iterator\",proto:!0,real:!0,forced:d},{map:function(g){s(this);try{t(g)}catch(b){o(this,\"throw\",b)}return u?e(u,this,g):new p(i(this),{mapper:g})}})}),cA=Z.cw(()=>{var n=Dt(),e=$n(),t=Lo(),s=ws(),i=Tn(),r=$i(),a=Xs(),o=Ha(),l=o(\"some\",TypeError);n({target:\"Iterator\",proto:!0,real:!0,forced:l},{some:function(f){i(this);try{s(f)}catch(d){a(this,\"throw\",d)}if(l)return e(l,this,f);var h=r(this),u=0;return t(h,function(d,p){if(f(d,u++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}),fA=Z.cw(()=>{var n=Dt(),e=Tn(),t=l8(),s=Lo(),i=$i();n({target:\"Iterator\",proto:!0,real:!0},{toArray:function(){var a=[],o=0;return s(i(e(this)),function(l){t(a,o++,l)},{IS_RECORD:!0}),a}})}),hA=Z.cw(()=>{var n=Dt(),e=Ho(),t=$n(),s=on(),i=An(),r=d8(),a=Qn(),o=Ks(),l=yu(),c=jj(),f=U3(),h=Ba(),u=Wj(),d=M3().includes,p=Vs(),m=_8(),g=Mj(),b=Su(),x=Y3(),w=_j(),v=String,k=TypeError,j=e(\"JSON\",\"stringify\"),A=e(\"BigInt\"),S=s(\"\".valueOf),q=s((!0).valueOf),_=A&&s(A.prototype.valueOf),I=s(/./.exec),C=s(\"\".charAt),T=s(\"\".charCodeAt),M=s(\"\".replace),E=s(\"\".slice),G=s([].push),D=s([].pop),N=s(1.1.toString),K=/[\\uD800-\\uDFFF]/g,ee=/^[\\uD800-\\uDBFF]$/,de=/^[\\uDC00-\\uDFFF]$/,X=/^\\d+$/,ue=b(),re=b(),H=b(),O=ue.length,z=re.length,V=!x||i(function(){var he=e(\"Symbol\")(\"stringify detection\");return j([he])!==\"[null]\"||j({a:he})!==\"{}\"||j(Object(he))!==\"{}\"}),$=i(function(){return j(\"\\uDF06\\uD834\")!=='\"\\\\udf06\\\\ud834\"'||j(\"\\uDEAD\")!=='\"\\\\udead\"'}),te=w?e(\"JSON\",\"isRawJSON\"):c,ie=V?function(he,ae,me){return j(he,function(ge,qe){var ye=t(ae,this,ge,qe);if(!f(ye))return ye},me)}:j,le=function(he,ae,me){var ge=C(me,ae-1),qe=C(me,ae+1);return I(ee,he)&&!I(de,qe)||I(de,he)&&!I(ee,ge)?\"\\\\u\"+N(T(he,0),16):he},Ae=function(he){if(r(he)){for(var ae=he.length,me=[],ge=l(null),qe=0;qe<ae;qe++){var ye=he[qe],Re;if(typeof ye==\"string\")Re=ye;else if(typeof ye==\"number\"||h(ye)===\"Number\"||h(ye)===\"String\")Re=m(ye);else continue;p(ge,Re)||(ge[Re]=!0,G(me,Re))}return me}},Oe=function(he,ae){try{return he(ae),!0}catch{return!1}},De=function(he){var ae=h(he);return ae===\"Number\"&&Oe(u,he)||ae===\"String\"&&Oe(S,he)||ae===\"Boolean\"&&Oe(q,he)||!!_&&ae===\"BigInt\"&&Oe(_,he)},Ye=function(he){if(!o(he)||a(he)||r(he))return!1;try{return!De(he)}catch{return!0}},lt=function(he,ae){return{toJSON:function(){var me=he[ae];if(o(me)||typeof me==\"bigint\"){var ge=me.toJSON;a(ge)&&(me=t(ge,me,ae))}return me}}},Le=function(he){for(var ae=0,me=he.length;ae<me;ae++)if(I(X,he[ae]))return re;return\"\"},Se=function(he,ae,me){for(var ge=l(null),qe=0,ye=ae.length;qe<ye;qe++){var Re=ae[qe];ge[me+Re]=lt(he,Re)}return ge[H]=null,ge};j&&n({target:\"JSON\",stat:!0,arity:3,forced:V||$||!w},{stringify:function(ae,me,ge){var qe=a(me)?me:void 0,ye=qe?void 0:Ae(me),Re=ye&&Le(ye),Fe=[],Ge=[],Ve=[],ke,Ce=!1,Ue=!0,we=ie(ae,function(xn,Wt){if(xn=v(xn),ye){if(xn===H){D(Ge),ke=D(Ve);return}if(Ue)Ue=!1;else if(this!==ke&&!r(this)&&!d(ye,xn))return}else qe&&(Wt=t(qe,this,xn,Wt));if(te(Wt))return w?Wt:(Ce=!0,ue+(G(Fe,Wt.rawJSON)-1));if(ye&&Ye(Wt)){if(d(Ge,Wt))throw new k(\"Converting circular structure to JSON\");var qi=Se(Wt,ye,Re);return G(Ge,Wt),G(Ve,ke),ke=qi,Re&&(Ce=!0),qi}return Wt},ge);if(typeof we!=\"string\"||($&&(we=M(we,K,le)),!Ce))return we;for(var Ne=\"\",gt=we.length,it=0;it<gt;it++){var Nt=C(we,it);if(Nt==='\"'){var wn=g(we,++it).end-1,en=E(we,it,wn);E(en,0,O)===ue?Ne+=Fe[E(en,O)]:E(en,0,z)===re?Ne+='\"'+E(en,z)+'\"':Ne+='\"'+en+'\"',it=wn}else Ne+=Nt}return Ne}})}),uA=Z.cw(()=>{var n=Dt(),e=ws(),t=b8(),s=ji(),i=t.get,r=t.has,a=t.set;n({target:\"Map\",proto:!0,real:!0,forced:s},{getOrInsertComputed:function(l,c){var f=r(this,l);if(e(c),f)return i(this,l);l===0&&1/l===-1/0&&(l=0);var h=c(l);return a(this,l,h),h}})}),dA=Z.cw(()=>{var n=Dt(),e=b8(),t=ji(),s=e.get,i=e.has,r=e.set;n({target:\"Map\",proto:!0,real:!0,forced:t},{getOrInsert:function(o,l){return i(this,o)?s(this,o):(r(this,o,l),l)}})}),pA=Z.cw(()=>{var n=Dt(),e=on(),t=Lo(),s=An(),i=h8(),r=y8(),a=oi(),o=RangeError,l=TypeError,c=1/0,f=NaN,h=Math.sumPrecise,u=Math.abs,d=Math.pow,p=e([].push),m=a(\"iterator\"),g=d(2,1023),b=d(2,53)-1,x=Number.MAX_VALUE,w=d(2,971),v={},k={},j={},A={},S={},q=s(function(){if(h([-1])!==-1||h([-x])!==-x)return!0;if(!r)return!1;try{return h(r([1],{})),!0}catch{}try{var I={};return I[m]=function(){return this},h(r(i([1]),I)),!0}catch{}}),_=function(I,C){var T=I+C,M=C-(T-I);return{hi:T,lo:M}};n({target:\"Math\",stat:!0,forced:q},{sumPrecise:function(C){var T=[],M=0,E=A;switch(t(C,function(te){if(++M>b)throw new o(\"Maximum allowed index exceeded\");if(typeof te!=\"number\")throw new l(\"Value is not a number\");E!==v&&(te!==te?E=v:te===c?E=E===k?v:j:te===-c?E=E===j?v:k:(te!==0||1/te===c)&&(E===A||E===S)&&(E=S,p(T,te)))}),E){case v:return f;case k:return-c;case j:return c;case A:return-0}for(var G=[],D=0,N,K,ee,de,X,ue,re=0;re<T.length;re++){N=T[re];for(var H=0,O=0;O<G.length;O++){if(K=G[O],u(N)<u(K)&&(ue=N,N=K,K=ue),ee=_(N,K),de=ee.hi,X=ee.lo,u(de)===c){var z=de===c?1:-1;D+=z,N=N-z*g-z*g,u(N)<u(K)&&(ue=N,N=K,K=ue),ee=_(N,K),de=ee.hi,X=ee.lo}X!==0&&(G[H++]=X),N=de}G.length=H,N!==0&&p(G,N)}var V=G.length-1;if(de=0,X=0,D!==0){var $=V>=0?G[V]:0;if(V--,u(D)>1||D>0&&$>0||D<0&&$<0)return D>0?c:-c;if(ee=_(D*g,$/2),de=ee.hi,X=ee.lo,X*=2,u(2*de)===c)return de>0?de===g&&X===-(w/2)&&V>=0&&G[V]<0?x:c:de===-g&&X===w/2&&V>=0&&G[V]>0?-x:-c;X!==0&&(G[++V]=X,X=0),de*=2}for(;V>=0&&(ee=_(de,G[V--]),de=ee.hi,X=ee.lo,X===0););return V>=0&&(X<0&&G[V]<0||X>0&&G[V]>0)&&(K=X*2,N=de+K,K===N-de&&(de=N)),de}})}),mA=Z.cw(()=>{var n=Dt(),e=nn(),t=hj(),s=sj(),i=Bj(),r=w8(),a=ws(),o=Pj(),l=An(),c=e.Promise,f=!1,h=!c||!c.try||l(function(){var u=c.resolve();return c.try(function(d){return f=d===8,u},8)!==u})||!f;n({target:\"Promise\",stat:!0,forced:h},{try:function(u){var d=arguments.length>1?s(arguments,1):[],p=o(function(){return t(a(u),void 0,d)});if(!p.error)return i(this,p.value);var m=r.f(this),g=m.reject;return g(p.value),m.promise}})}),gA=Z.cw(()=>{var n=Dt(),e=Dj(),t=An(),s=za(),i=!s(\"difference\",function(a){return a.size===0}),r=i||t(function(){var a={size:1,has:function(){return!0},keys:function(){var l=0;return{next:function(){var c=l++>1;return o.has(1)&&o.clear(),{done:c,value:2}}}}},o=new Set([1,2,3,4]);return o.difference(a).size!==3});n({target:\"Set\",proto:!0,real:!0,forced:r},{difference:e})}),bA=Z.cw(()=>{var n=Dt(),e=An(),t=Nj(),s=za(),i=!s(\"intersection\",function(r){return r.size===2&&r.has(1)&&r.has(2)})||e(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!==\"3,2\"});n({target:\"Set\",proto:!0,real:!0,forced:i},{intersection:t})}),wA=Z.cw(()=>{var n=Dt(),e=Hj(),t=za(),s=!t(\"isDisjointFrom\",function(i){return!i});n({target:\"Set\",proto:!0,real:!0,forced:s},{isDisjointFrom:e})}),xA=Z.cw(()=>{var n=Dt(),e=Lj(),t=za(),s=!t(\"isSubsetOf\",function(i){return i});n({target:\"Set\",proto:!0,real:!0,forced:s},{isSubsetOf:e})}),vA=Z.cw(()=>{var n=Dt(),e=zj(),t=za(),s=!t(\"isSupersetOf\",function(i){return!i});n({target:\"Set\",proto:!0,real:!0,forced:s},{isSupersetOf:e})}),yA=Z.cw(()=>{var n=Dt(),e=Uj(),t=j8(),s=za(),i=!s(\"symmetricDifference\")||!t(\"symmetricDifference\");n({target:\"Set\",proto:!0,real:!0,forced:i},{symmetricDifference:e})}),kA=Z.cw(()=>{var n=Dt(),e=Gj(),t=j8(),s=za(),i=!s(\"union\")||!t(\"union\");n({target:\"Set\",proto:!0,real:!0,forced:i},{union:e})}),jA=Z.cw(()=>{var n=ej(),e=vj(),t=Jc(),s=J3(),i=Vj(),r=n.aTypedArray,a=n.getTypedArrayConstructor,o=n.exportTypedArrayMethod,l=RangeError,c=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(h){return h===8}})(),f=c&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();o(\"with\",function(h,u){var d=r(this),p=t(d),m=s(h),g=m<0?p+m:m,b=e(d)?i(u):+u;if(g>=p||g<0)throw new l(\"Incorrect index\");for(var x=new(a(d))(p),w=0;w<p;w++)x[w]=w===g?b:d[w];return x},!c||f)}),AA=Z.cw(()=>{var n=Dt(),e=nn(),t=tj(),s=I8(),i=e.Uint8Array,r=!i||!i.fromBase64||!(function(){try{i.fromBase64(\"a\");return}catch{}try{i.fromBase64(\"\",null)}catch{return!0}})();i&&n({target:\"Uint8Array\",stat:!0,forced:r},{fromBase64:function(o){var l=s(o,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return t(i,l.bytes)}})}),SA=Z.cw(()=>{var n=Dt(),e=nn(),t=I8(),s=du(),i=e.Uint8Array,r=!i||!i.prototype.setFromBase64||!(function(){var a=new i([255,255,255,255,255]);try{a.setFromBase64(\"\",null);return}catch{}try{a.setFromBase64(\"a\");return}catch{}try{a.setFromBase64(\"MjYyZg===\")}catch{return a[0]===50&&a[1]===54&&a[2]===50&&a[3]===255&&a[4]===255}})();i&&n({target:\"Uint8Array\",proto:!0,forced:r},{setFromBase64:function(o){s(this);var l=t(o,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:l.read,written:l.written}}})}),qA=Z.cw(()=>{var n=Dt(),e=nn(),t=s8(),s=du(),i=pu(),r=Yj();function a(){try{var o=new ArrayBuffer(16,{maxByteLength:1024});new Uint8Array(o).setFromHex(\"cafed00d\")}catch{return!0}}e.Uint8Array&&n({target:\"Uint8Array\",proto:!0,forced:a()},{setFromHex:function(l){s(this),t(l),i(this.buffer);var c=r(l,this).read;return{read:c,written:c/2}}})}),_A=Z.cw(()=>{var n=Dt(),e=nn(),t=on(),s=i8(),i=du(),r=pu(),a=a8(),o=f8(),l=a.i2c,c=a.i2cUrl,f=Math.floor,h=Math.ceil,u=t(\"\".charAt),d=e.Uint8Array,p=e.Array,m=t([].join),g=!d||!d.prototype.toBase64||!(function(){try{var b=new d;b.toBase64(null)}catch{return!0}})();d&&n({target:\"Uint8Array\",proto:!0,forced:g},{toBase64:function(){var x=i(this),w=arguments.length?s(arguments[0]):void 0,v=o(w)===\"base64\"?l:c,k=!!w&&!!w.omitPadding;r(this.buffer);for(var j=0,A=x.length,S=p(k?f(A/3)*4+(A%3?A%3+1:0):h(A/3)*4),q=0,_,I=function(C){return u(v,_>>6*C&63)};j+2<A;j+=3)_=(x[j]<<16)+(x[j+1]<<8)+x[j+2],S[q++]=I(3),S[q++]=I(2),S[q++]=I(1),S[q++]=I(0);return j+2===A?(_=(x[j]<<16)+(x[j+1]<<8),S[q++]=I(3),S[q++]=I(2),S[q++]=I(1),k||(S[q++]=\"=\")):j+1===A&&(_=x[j]<<16,S[q++]=I(3),S[q++]=I(2),k||(S[q++]=\"=\",S[q++]=\"=\")),m(S,\"\")}})}),IA=Z.cw(()=>{var n=Dt(),e=nn(),t=on(),s=du(),i=pu(),r=t(1.1.toString),a=t([].join),o=Array,l=e.Uint8Array,c=!l||!l.prototype.toHex||!(function(){try{var f=new l([255,255,255,255,255,255,255,255]);return f.toHex()===\"ffffffffffffffff\"}catch{return!1}})();l&&n({target:\"Uint8Array\",proto:!0,forced:c},{toHex:function(){s(this),i(this.buffer);for(var h=o(this.length),u=0,d=this.length;u<d;u++){var p=r(this[u],16);h[u]=p.length===1?\"0\"+p:p}return a(h,\"\")}})}),CA=Z.cw(()=>{var n=Dt(),e=ws(),t=Xk(),s=Kk(),i=qu(),r=ji(),a=i.get,o=i.has,l=i.set,c=r||!(function(){try{WeakMap.prototype.getOrInsertComputed&&new WeakMap().getOrInsertComputed(1,function(){throw 1})}catch(f){return f instanceof TypeError}})();n({target:\"WeakMap\",proto:!0,real:!0,forced:c},{getOrInsertComputed:function(h,u){if(r||t(this),s(h),e(u),o(this,h))return a(this,h);var d=u(h);return l(this,h,d),d}})}),TA=Z.cw(()=>{var n=Dt(),e=qu(),t=ji(),s=e.get,i=e.has,r=e.set;n({target:\"WeakMap\",proto:!0,real:!0,forced:t},{getOrInsert:function(o,l){return i(this,o)?s(this,o):(r(this,o,l),l)}})}),EA=Z.cw(()=>{var n=Dt(),e=nn(),t=B3(),s=Es(),i=TypeError,r=Object.defineProperty,a=e.self!==e;try{if(s){var o=Object.getOwnPropertyDescriptor(e,\"self\");(a||!o||!o.get||!o.enumerable)&&t(e,\"self\",{get:function(){return e},set:function(c){if(this!==e)throw new i(\"Illegal invocation\");r(e,\"self\",{value:c,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:a},{self:e})}catch{}}),RA=Z.cw(()=>{var n=Dt(),e=Ho(),t=Qj(),s=_8(),i=Jj(),r=e(\"URL\");n({target:\"URL\",stat:!0,forced:!i},{parse:function(o){var l=t(arguments.length,1),c=s(o),f=l<2||arguments[1]===void 0?void 0:s(arguments[1]);try{return new r(c,f)}catch{return null}}})});tA();nA();iA();oA();lA();cA();dA();uA();gA();bA();wA();xA();vA();yA();kA();jA();SA();qA();_A();IA();EA();eA();RA();var FA=typeof process==\"object\"&&process+\"\"==\"[object process]\"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!==\"browser\"),dr=[1/0,1/0,-1/0,-1/0],K0=new Float32Array(dr),ba=[.001,0,0,.001,0,0];var OA=1.35,MA=.35,J5=MA/OA,wa=\"http://www.w3.org/2000/svg\",Un={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256};var PA=\"pdfjs_internal_id_\",E8=\"pdfjs_internal_editor_\",Fi={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15,POPUP:16,SIGNATURE:101,COMMENT:102};var BA={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},mi={TRIANGLES:1,LATTICE:2,PATCH:3},R8={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},Pn={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},F8={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,RICHMEDIA:27},Om={GROUP:\"Group\",REPLY:\"R\"},Q5={PLAY_OR_RESUME:0,STOP:1,PAUSE:2,RESUME:3,PLAY:4},$t={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},wi={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},ao={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},O8={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\"},DA={WC:\"WillClose\",WS:\"WillSave\",DS:\"DidSave\",WP:\"WillPrint\",DP:\"DidPrint\"},NA={O:\"PageOpen\",C:\"PageClose\"},Z3={ERRORS:0,WARNINGS:1,INFOS:5},F={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,setStrokeTransparent:92,setFillTransparent:93,rawFillPath:94},zt={moveTo:0,lineTo:1,curveTo:2,quadraticCurveTo:3,closePath:4},H0={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},ev=Z3.WARNINGS;function HA(n){Number.isInteger(n)&&(ev=n)}function kt(n){ev>=Z3.INFOS&&console.info(`Info: ${n}`)}function B(n){ev>=Z3.WARNINGS&&console.warn(`Warning: ${n}`)}function dt(n){throw new Error(n)}function Qt(n,e){n||dt(e)}function LA(n){switch(n?.protocol){case\"http:\":case\"https:\":case\"ftp:\":case\"mailto:\":case\"tel:\":return!0;default:return!1}}function X0(n,e=null,t=null){if(!n)return null;if(t&&typeof n==\"string\"&&(t.addDefaultProtocol&&n.startsWith(\"www.\")&&n.match(/\\./g)?.length>=2&&(n=`http://${n}`),t.tryConvertEncoding))try{n=To(n)}catch{}let s=e?URL.parse(n,e):URL.parse(n);return LA(s)?s:null}function zA(n){return n.substring(n.lastIndexOf(\"/\")+1)}function je(n,e,t,s=!1){return Object.defineProperty(n,e,{value:t,enumerable:!s,configurable:!0,writable:!1}),t}var xs=(function(){function e(t,s){this.message=t,this.name=s}return e.prototype=new Error,e.constructor=e,e})(),vi=class extends xs{constructor(e,t){super(e,\"PasswordException\"),this.code=t}},ko=class extends xs{constructor(e,t){super(e,\"UnknownErrorException\"),this.details=t}},Sa=class extends xs{constructor(e){super(e,\"InvalidPDFException\")}},Y0=class extends xs{constructor(e,t,s){super(e,\"ResponseException\"),this.status=t,this.missing=s}},se=class extends xs{constructor(e){super(e,\"FormatError\")}},_n=class extends xs{constructor(e){super(e,\"AbortException\")}};function ms(n){(typeof n!=\"object\"||n?.length===void 0)&&dt(\"Invalid argument for bytesToString\");let e=n.length,t=8192;if(e<t)return String.fromCharCode.apply(null,n);let s=[];for(let i=0;i<e;i+=t){let r=Math.min(i+t,e),a=n.subarray(i,r);s.push(String.fromCharCode.apply(null,a))}return s.join(\"\")}function Vt(n){typeof n!=\"string\"&&dt(\"Invalid argument for stringToBytes\");let e=n.length,t=new Uint8Array(e);for(let s=0;s<e;++s)t[s]=n.charCodeAt(s)&255;return t}var Nn=class{static get isLittleEndian(){let e=new Uint8Array(4);e[0]=1;let t=new Uint32Array(e.buffer,0,1);return je(this,\"isLittleEndian\",t[0]===1)}static get isOffscreenCanvasSupported(){return je(this,\"isOffscreenCanvasSupported\",typeof OffscreenCanvas<\"u\")}static get isImageDecoderSupported(){return je(this,\"isImageDecoderSupported\",typeof ImageDecoder<\"u\")}static get isVideoFrameSupported(){return je(this,\"isVideoFrameSupported\",typeof VideoFrame<\"u\")}static get isFloat16ArraySupported(){return je(this,\"isFloat16ArraySupported\",typeof Float16Array<\"u\")}static get isSanitizerSupported(){return je(this,\"isSanitizerSupported\",typeof Sanitizer<\"u\")}static get platform(){let{platform:e,userAgent:t}=navigator;return je(this,\"platform\",{isAndroid:t.includes(\"Android\"),isLinux:e.includes(\"Linux\"),isMac:e.includes(\"Mac\"),isWindows:e.includes(\"Win\"),isFirefox:t.includes(\"Firefox\")})}static get isCanvasFilterSupported(){let e;return this.isOffscreenCanvasSupported&&(e=new OffscreenCanvas(1,1).getContext(\"2d\")),je(this,\"isCanvasFilterSupported\",e?.filter!==void 0)}static get isAlphaColorInputSupported(){return je(this,\"isAlphaColorInputSupported\",!1)}static get isBackdropFilterSupported(){return je(this,\"isBackdropFilterSupported\",typeof CSS<\"u\"&&CSS.supports(\"backdrop-filter\",\"blur(1px)\"))}},ft=class{static get hexNums(){return je(this,\"hexNums\",Array.from({length:256},(e,t)=>t.toString(16).padStart(2,\"0\")))}static makeHexColor(e,t,s){return`#${this.hexNums[e]}${this.hexNums[t]}${this.hexNums[s]}`}static get identity0to256Map(){return je(this,\"identity0to256Map\",Uint8Array.from({length:256},(e,t)=>t))}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static multiplyByDOMMatrix(e,t){return[e[0]*t.a+e[2]*t.b,e[1]*t.a+e[3]*t.b,e[0]*t.c+e[2]*t.d,e[1]*t.c+e[3]*t.d,e[0]*t.e+e[2]*t.f+e[4],e[1]*t.e+e[3]*t.f+e[5]]}static applyTransform(e,t,s=0){let i=e[s],r=e[s+1];e[s]=i*t[0]+r*t[2]+t[4],e[s+1]=i*t[1]+r*t[3]+t[5]}static applyTransformToBezier(e,t,s=0){let i=t[0],r=t[1],a=t[2],o=t[3],l=t[4],c=t[5];for(let f=0;f<6;f+=2){let h=e[s+f],u=e[s+f+1];e[s+f]=h*i+u*a+l,e[s+f+1]=h*r+u*o+c}}static applyInverseTransform(e,t){let s=e[0],i=e[1],r=t[0]*t[3]-t[1]*t[2];e[0]=(s*t[3]-i*t[2]+t[2]*t[5]-t[4]*t[3])/r,e[1]=(-s*t[1]+i*t[0]+t[4]*t[1]-t[5]*t[0])/r}static axialAlignedBoundingBox(e,t,s){let i=t[0],r=t[1],a=t[2],o=t[3],l=t[4],c=t[5],f=e[0],h=e[1],u=e[2],d=e[3],p=i*f+l,m=p,g=i*u+l,b=g,x=o*h+c,w=x,v=o*d+c,k=v;if(r!==0||a!==0){let j=r*f,A=r*u,S=a*h,q=a*d;p+=S,b+=S,g+=q,m+=q,x+=j,k+=j,v+=A,w+=A}s[0]=Math.min(s[0],p,g,Math.min(m,b)),s[1]=Math.min(s[1],x,v,Math.min(w,k)),s[2]=Math.max(s[2],p,g,Math.max(m,b)),s[3]=Math.max(s[3],x,v,Math.max(w,k))}static inverseTransform(e){let t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e,t){let s=e[0],i=e[1],r=e[2],a=e[3],o=s**2+i**2,l=s*r+i*a,c=r**2+a**2,f=(o+c)/2,h=Math.sqrt(f**2-(o*c-l**2));t[0]=Math.sqrt(f+h||1),t[1]=Math.sqrt(f-h||1)}static normalizeRect(e){let t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){let s=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),i=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(s>i)return null;let r=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),a=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return r>a?null:[s,r,i,a]}static pointBoundingBox(e,t,s){s[0]=Math.min(s[0],e),s[1]=Math.min(s[1],t),s[2]=Math.max(s[2],e),s[3]=Math.max(s[3],t)}static rectBoundingBox(e,t,s,i,r){r[0]=Math.min(r[0],e,s),r[1]=Math.min(r[1],t,i),r[2]=Math.max(r[2],e,s),r[3]=Math.max(r[3],t,i)}static#e(e,t,s,i,r,a,o,l,c,f){if(c<=0||c>=1)return;let h=1-c,u=c*c,d=u*c,p=h*(h*(h*e+3*c*t)+3*u*s)+d*i,m=h*(h*(h*r+3*c*a)+3*u*o)+d*l;f[0]=Math.min(f[0],p),f[1]=Math.min(f[1],m),f[2]=Math.max(f[2],p),f[3]=Math.max(f[3],m)}static#n(e,t,s,i,r,a,o,l,c,f,h,u){if(Math.abs(c)<1e-12){Math.abs(f)>=1e-12&&this.#e(e,t,s,i,r,a,o,l,-h/f,u);return}let d=f**2-4*h*c;if(d<0)return;let p=Math.sqrt(d),m=2*c;this.#e(e,t,s,i,r,a,o,l,(-f+p)/m,u),this.#e(e,t,s,i,r,a,o,l,(-f-p)/m,u)}static bezierBoundingBox(e,t,s,i,r,a,o,l,c){c[0]=Math.min(c[0],e,o),c[1]=Math.min(c[1],t,l),c[2]=Math.max(c[2],e,o),c[3]=Math.max(c[3],t,l),this.#n(e,s,r,o,t,i,a,l,3*(-e+3*(s-r)+o),6*(e-2*s+r),3*(s-e),c),this.#n(e,s,r,o,t,i,a,l,3*(-t+3*(i-a)+l),6*(t-2*i+a),3*(i-t),c)}};function To(n){return decodeURIComponent(escape(n))}function Mm(n){return unescape(encodeURIComponent(n))}function qa(n,e){if(n.length!==e.length)return!1;for(let t=0,s=n.length;t<s;t++)if(n[t]!==e[t])return!1;return!0}var am=null,Z5=null;function UA(n){return am||(am=/([\\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,Z5=new Map([[\"\\uFB05\",\"\\u017Ft\"]])),n.replaceAll(am,(e,t,s)=>t?t.normalize(\"NFKC\"):Z5.get(s))}function GA(n,e,t){if(!Array.isArray(t)||t.length<2)return!1;let[s,i,...r]=t;if(!n(s)&&!Number.isInteger(s)||!e(i))return!1;let a=r.length,o=!0;switch(i.name){case\"XYZ\":if(a<2||a>3)return!1;break;case\"Fit\":case\"FitB\":return a===0;case\"FitH\":case\"FitBH\":case\"FitV\":case\"FitBV\":if(a>1)return!1;break;case\"FitR\":if(a!==4)return!1;o=!1;break;default:return!1}for(let l of r)if(!(typeof l==\"number\"||o&&l===null))return!1;return!0}var Hi=()=>[],WA=()=>new Map,$A=()=>Object.create(null),M8=()=>new Set;typeof Blob.prototype.bytes!=\"function\"&&(Blob.prototype.bytes=async function(){return new Uint8Array(await this.arrayBuffer())});typeof Response.prototype.bytes!=\"function\"&&(Response.prototype.bytes=async function(){return new Uint8Array(await this.arrayBuffer())});typeof Iterator.prototype.join!=\"function\"&&(Iterator.prototype.join=function(n){return[...this].join(n)});sA();var VA=Symbol(\"CIRCULAR_REF\"),Kn=Symbol(\"EOF\"),Pm=new Map,Bm=new Map,Gl=new Map;function KA(){Pm.clear(),Bm.clear(),Gl.clear()}var ce=class n{constructor(e){this.name=e}static get(e){let t=Bm.get(e);return t||(t=new n(e),Bm.set(e,t)),t}},jn=class n{constructor(e){this.cmd=e}static get(e){let t=Pm.get(e);return t||(t=new n(e),Pm.set(e,t)),t}},P8=()=>P8,P=class n{__nonSerializable__=P8;#e=new Map;objId=null;suppressEncryption=!1;xref;constructor(e=null){this.xref=e}assignXref(e){this.xref=e}get size(){return this.#e.size}#n(e,t,s){let i=this.#e.get(t);return i===void 0&&s!==void 0&&(i=this.#e.get(s)),i instanceof fe&&this.xref?e?this.xref.fetchAsync(i,this.suppressEncryption):this.xref.fetch(i,this.suppressEncryption):i}get(e,t){return this.#n(!1,e,t)}async getAsync(e,t){return this.#n(!0,e,t)}getArray(e,t){let s=this.#n(!1,e,t);if(Array.isArray(s)){s=s.slice();for(let i=0,r=s.length;i<r;i++)s[i]instanceof fe&&this.xref&&(s[i]=this.xref.fetch(s[i],this.suppressEncryption))}return s}getRaw(e){return this.#e.get(e)}getKeys(){return this.#e.keys()}getRawValues(){return this.#e.values()}getRawEntries(){return this.#e.entries()}set(e,t){this.#e.set(e,t)}setIfNotExists(e,t){this.has(e)||this.set(e,t)}setIfNumber(e,t){typeof t==\"number\"&&this.set(e,t)}setIfArray(e,t){(Array.isArray(t)||ArrayBuffer.isView(t))&&this.set(e,t)}setIfDefined(e,t){t!=null&&this.set(e,t)}setIfName(e,t){typeof t==\"string\"?this.set(e,ce.get(t)):t instanceof ce&&this.set(e,t)}setIfDict(e,t){t instanceof n&&this.set(e,t)}has(e){return this.#e.has(e)}*[Symbol.iterator](){for(let[e,t]of this.#e)yield[e,t instanceof fe&&this.xref?this.xref.fetch(t,this.suppressEncryption):t]}static get empty(){let e=new n(null);return e.set=(t,s)=>{dt(\"Should not call `set` on the empty dictionary.\")},je(this,\"empty\",e)}static merge({xref:e,dictArray:t,mergeSubDicts:s=!1}){let i=new n(e),r=new Map;for(let a of t)if(a instanceof n)for(let[o,l]of a.getRawEntries()){let c=r.getOrInsertComputed(o,Hi);c.length&&!(s&&l instanceof n)||c.push(l)}for(let[a,o]of r){if(o.length===1||!(o[0]instanceof n)){i.set(a,o[0]);continue}let l=new n(e);for(let c of o)for(let[f,h]of c.getRawEntries())l.setIfNotExists(f,h);l.size>0&&i.set(a,l)}return r.clear(),i.size>0?i:n.empty}clone(){let e=new n(this.xref);for(let[t,s]of this.#e)e.set(t,s);return e}delete(e){this.#e.delete(e)}},fe=class n{#e;constructor(e,t,s){this.#e=e,this.num=t,this.gen=s}toString(){return this.#e}static fromString(e){let t=Gl.get(e);if(t)return t;let s=/^([1-9]\\d*)R([1-9]\\d*)?$/.exec(e);return s?(t=new n(e,parseInt(s[1],10),s[2]?parseInt(s[2],10):0),Gl.set(e,t),t):null}static get(e,t){let s=t===0?`${e}R`:`${e}R${t}`,i=Gl.get(s);return i||(i=new n(s,e,t),Gl.set(s,i)),i}},xt=class{#e=new Set;constructor(e=null){if(e)for(let t of e)this.#e.add(t)}has(e){return this.#e.has(e.toString())}put(e){this.#e.add(e.toString())}remove(e){this.#e.delete(e.toString())}[Symbol.iterator](){return this.#e.keys()}clear(){this.#e.clear()}},sn=class{#e=new Map;get size(){return this.#e.size}get(e){return this.#e.get(e.toString())}has(e){return this.#e.has(e.toString())}put(e,t){this.#e.set(e.toString(),t)}putAlias(e,t){this.#e.set(e.toString(),this.get(t))}remove(e){this.#e.delete(e.toString())}getOrPutComputed(e,t){let s=this.#e,i=e.toString();return s.has(i)||s.set(i,t(e)),s.get(i)}[Symbol.iterator](){return this.#e.values()}clear(){this.#e.clear()}*values(){yield*this.#e.values()}*items(){for(let[e,t]of this.#e)yield[fe.fromString(e),t]}*keys(){for(let e of this.#e.keys())yield fe.fromString(e)}};function Ke(n,e){return n instanceof ce&&(e===void 0||n.name===e)}function Bn(n,e){return n instanceof jn&&(e===void 0||n.cmd===e)}function _a(n,e){return n instanceof P&&(e===void 0||Ke(n.get(\"Type\"),e))}function Eo(n,e){return n.num===e.num&&n.gen===e.gen}var Xe=class{get length(){dt(\"Abstract getter `length` accessed\")}get isEmpty(){dt(\"Abstract getter `isEmpty` accessed\")}get isDataLoaded(){return je(this,\"isDataLoaded\",!0)}getByte(){dt(\"Abstract method `getByte` called\")}getBytes(e){dt(\"Abstract method `getBytes` called\")}async getImageData(e,t){return this.getBytes(e,t)}async asyncGetBytes(){dt(\"Abstract method `asyncGetBytes` called\")}get isAsync(){return!1}get isAsyncDecoder(){return!1}get isImageStream(){return!1}get canAsyncDecodeImageFromBuffer(){return!1}async getTransferableImage(e,t){return null}peekByte(){let e=this.getByte();return e!==-1&&this.pos--,e}peekBytes(e){let t=this.getBytes(e);return this.pos-=t.length,t}getUint16(){let e=this.getByte(),t=this.getByte();return e===-1||t===-1?-1:(e<<8)+t}getInt32(){let e=this.getByte(),t=this.getByte(),s=this.getByte(),i=this.getByte();return(e<<24)+(t<<16)+(s<<8)+i}getByteRange(e,t){dt(\"Abstract method `getByteRange` called\")}getString(e){return ms(this.getBytes(e))}skip(e){this.pos+=e||1}reset(){dt(\"Abstract method `reset` called\")}moveStart(){dt(\"Abstract method `moveStart` called\")}makeSubStream(e,t,s=null){dt(\"Abstract method `makeSubStream` called\")}clone(){dt(\"Abstract method `clone` called\")}getBaseStreams(){return null}getOriginalStream(){return this.stream?.getOriginalStream()||this}},Dm=/\\p{Cc}/u;function XA(n){let e=n[0];if(n.length<2||e!=='\"'&&e!==\"'\"||n.at(-1)!==e)return!1;let t=n.length-1;for(let s=1;s<t;s++){let i=n[s];if(i===e||Dm.test(i)||i===\"\\\\\"&&(++s>=t||Dm.test(n[s])))return!1}return!0}function ey(n){return XA(n)?n:`\"${n.replaceAll(/[\"\\\\\\p{Cc}]/gu,t=>t==='\"'||t===\"\\\\\"?`\\\\${t}`:`\\\\${t.codePointAt(0).toString(16)} `)}\"`}function YA(n){return typeof n==\"string\"&&(!n||/^[\\x00-\\x7F]*$/.test(n))}function Dn(n){return n==null||YA(n)?n:B8(n,!0)}function JA(n){let e=[];for(let t=0,s=n.length;t<s;t++){let i=n.charCodeAt(t);e.push(ft.hexNums[i>>8&255],ft.hexNums[i&255])}return e.join(\"\")}function B8(n,e=!1){let t=[];e&&t.push(\"\\xFE\\xFF\");for(let s=0,i=n.length;s<i;s++){let r=n.charCodeAt(s);t.push(String.fromCharCode(r>>8&255),String.fromCharCode(r&255))}return t.join(\"\")}var QA=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364],ZA=Object.create(null);function st(n,e=!1){if(n[0]>=\"\\xEF\"){let s;if(n[0]===\"\\xFE\"&&n[1]===\"\\xFF\"?(s=\"utf-16be\",n.length%2===1&&(n=n.slice(0,-1))):n[0]===\"\\xFF\"&&n[1]===\"\\xFE\"?(s=\"utf-16le\",n.length%2===1&&(n=n.slice(0,-1))):n[0]===\"\\xEF\"&&n[1]===\"\\xBB\"&&n[2]===\"\\xBF\"&&(s=\"utf-8\"),s)try{let i=ZA[s]??=new TextDecoder(s,{fatal:!0}),r=Vt(n),a=i.decode(r);return e||!a.includes(\"\\x1B\")?a:a.replaceAll(/\\x1b[^\\x1b]*(?:\\x1b|$)/g,\"\")}catch(i){B(`stringToPDFString: \"${i}\".`)}}let t=[];for(let s=0,i=n.length;s<i;s++){let r=n.charCodeAt(s);if(!e&&r===27){for(;++s<i&&n.charCodeAt(s)!==27;);continue}let a=QA[r];t.push(a?String.fromCharCode(a):n.charAt(s))}return t.join(\"\")}var D8=/^[1-9]\\.\\d$/,ty=2**31-1,ri=[1,0,0,1,0,0],Nm=[\"ColorSpace\",\"ExtGState\",\"Font\",\"Pattern\",\"Properties\",\"Shading\",\"XObject\"],Hm=[\"ExtGState\",\"Font\",\"Properties\",\"XObject\"];function Gt(n,e=!1){let t;return function(){return n&&(t=e?[]:Object.create(null),n(t),n=null),t}}var Tt=class extends xs{constructor(e,t){super(`Missing data [${e}, ${t})`,\"MissingDataException\"),this.begin=e,this.end=t}},cc=class extends xs{constructor(e){super(e,\"ParserEOFException\")}},Di=class extends xs{constructor(e){super(e,\"XRefEntryException\")}},lr=class extends xs{constructor(e){super(e,\"XRefParseException\")}};function N8(n){let e=n.length;if(e===0)return new Uint8Array(0);if(e===1)return new Uint8Array(n[0]);let t=0;for(let r=0;r<e;r++)t+=n[r].byteLength;let s=new Uint8Array(t),i=0;for(let r=0;r<e;r++){let a=new Uint8Array(n[r]);s.set(a,i),i+=a.byteLength}return s}async function Lm(n){let e=await fetch(n);if(!e.ok)throw new Error(`Failed to fetch file \"${n}\" with \"${e.statusText}\".`);return e.bytes()}function Gn({dict:n,key:e,getArray:t=!1,stopWhenFound:s=!0}){let i,r=new xt;for(;n instanceof P&&!(n.objId&&r.has(n.objId));){n.objId&&r.put(n.objId);let a=t?n.getArray(e):n.get(e);if(a!==void 0){if(s)return a;(i||=[]).push(a)}n=n.get(\"Parent\")}return i}function eS(n,e,t){let s=new xt,i=n,r={dict:null,ref:null};for(;n instanceof P&&!s.has(e)&&(s.put(e),!n.has(\"T\"));){if(e=n.getRaw(\"Parent\"),!(e instanceof fe))return r;n=t.fetch(e)}return n instanceof P&&n!==i&&(r.dict=n,r.ref=e),r}function zm(n,e){if(n===e)return!0;if(n instanceof fe&&e instanceof fe)return Eo(n,e);if(n instanceof ce&&e instanceof ce)return n.name===e.name;if(n instanceof P&&e instanceof P){if(n.size!==e.size)return!1;for(let[t,s]of n.getRawEntries()){let i=e.getRaw(t);if(i===void 0||!zm(s,i))return!1}return!0}if(Array.isArray(n)&&Array.isArray(e)){if(n.length!==e.length)return!1;for(let t=0,s=n.length;t<s;t++)if(!zm(n[t],e[t]))return!1;return!0}return!1}var om=[\"\",\"C\",\"CC\",\"CCC\",\"CD\",\"D\",\"DC\",\"DCC\",\"DCCC\",\"CM\",\"\",\"X\",\"XX\",\"XXX\",\"XL\",\"L\",\"LX\",\"LXX\",\"LXXX\",\"XC\",\"\",\"I\",\"II\",\"III\",\"IV\",\"V\",\"VI\",\"VII\",\"VIII\",\"IX\"];function tS(n,e=!1){Qt(Number.isInteger(n)&&n>0,\"The number should be a positive integer.\");let t=\"M\".repeat(n/1e3|0)+om[n%1e3/100|0]+om[10+(n%100/10|0)]+om[20+n%10];return e?t.toLowerCase():t}function yi(n){return n===32||n===9||n===13||n===10}function nS(n,e){return Array.isArray(n)&&(e===null||n.length===e)&&n.every(t=>typeof t==\"boolean\")}function tn(n,e){return Array.isArray(n)?(e===null||n.length===e)&&n.every(t=>typeof t==\"number\"):ArrayBuffer.isView(n)&&!(n instanceof BigInt64Array||n instanceof BigUint64Array)&&(e===null||n.length===e)}function ar(n,e){return tn(n,6)?n:e}function fc(n,e){return tn(n,4)?n:e}function Ui(n,e){return tn(n,4)?ft.normalizeRect(n):e}function H8(n){let e=/^(.+)\\[(\\d+)\\]$/;return n.split(\".\").map(t=>{let s=t.match(e);return s?{name:s[1],pos:parseInt(s[2],10)}:{name:t,pos:0}})}function tv(n){let e=[],t=0;for(let s=0,i=n.length;s<i;s++){let r=n.charCodeAt(s);(r<33||r>126||r===35||r===40||r===41||r===60||r===62||r===91||r===93||r===123||r===125||r===47||r===37)&&(t<s&&e.push(n.substring(t,s)),e.push(`#${r.toString(16).padStart(2,\"0\")}`),t=s+1)}return e.length===0?n:(t<n.length&&e.push(n.substring(t)),e.join(\"\"))}function Ia(n){return n.replaceAll(/([()\\\\\\n\\r])/g,e=>e===`\n`?\"\\\\n\":e===\"\\r\"?\"\\\\r\":`\\\\${e}`)}function Um(n,e,t,s){if(!n)return;let i=null;if(n instanceof fe){if(s.has(n))return;i=n,s.put(i),n=e.fetch(n)}if(Array.isArray(n))for(let r of n)Um(r,e,t,s);else if(n instanceof P){if(Ke(n.get(\"S\"),\"JavaScript\")){let r=n.get(\"JS\"),a;r instanceof Xe?a=r.getString():typeof r==\"string\"&&(a=r),a&&=st(a,!0).replaceAll(\"\\0\",\"\"),a&&t.push(a.trim())}Um(n.getRaw(\"Next\"),e,t,s)}i&&s.remove(i)}function ny(n,e,t,s){let i=[];Um(n,t,i,new xt),i.length&&s.set(e,i)}function _u(n,e,t){let s=new Map,i=Gn({dict:e,key:\"AA\",stopWhenFound:!1});if(i)for(let r=i.length-1;r>=0;r--){let a=i[r];if(a instanceof P)for(let[o,l]of a.getRawEntries()){let c=t[o];c&&ny(l,c,n,s)}}return e.has(\"A\")&&ny(e.get(\"A\"),\"Action\",n,s),s.size?s:null}var sS={60:\"<\",62:\">\",38:\"&\",34:\""\",39:\"'\"};function*iS(n){for(let e=0,t=n.length;e<t;e++){let s=n.codePointAt(e);s>55295&&(s<57344||s>65533)&&e++,yield s}}function _o(n){let e=[],t=0;for(let s=0,i=n.length;s<i;s++){let r=n.codePointAt(s);if(32<=r&&r<=126){let a=sS[r];a&&(t<s&&e.push(n.substring(t,s)),e.push(a),t=s+1)}else t<s&&e.push(n.substring(t,s)),e.push(`&#x${r.toString(16).toUpperCase()};`),r>65535&&s++,t=s+1}return e.length===0?n:(t<n.length&&e.push(n.substring(t)),e.join(\"\"))}function Gm(n,e=!1){let t=/^(\"|').*(\"|')$/.exec(n);if(t&&t[1]===t[2]){if(new RegExp(`[^\\\\\\\\]${t[1]}`).test(n.slice(1,-1)))return e&&B(`FontFamily contains unescaped ${t[1]}: ${n}.`),!1;if(Dm.test(n))return e&&B(`FontFamily contains control characters: ${n}.`),!1}else for(let s of n.split(/[ \\t]+/))if(/^(?:\\d|-[\\d-])/.test(s)||!/^[\\w\\\\-]+$/.test(s))return e&&B(`FontFamily contains invalid <custom-ident>: ${n}.`),!1;return!0}function rS(n){return n.replaceAll(/( +)(\\d)?/g,(e,t,s)=>s??\" \")}function aS(n){let s=new Set([\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\",\"1000\",\"normal\",\"bold\",\"bolder\",\"lighter\"]),{fontFamily:i,fontWeight:r,italicAngle:a}=n;if(!Gm(i,!0))return!1;let o=r?r.toString():\"\";n.fontWeight=s.has(o)?o:\"400\";let l=parseFloat(a);return n.italicAngle=isNaN(l)||l<-90||l>90?\"14\":a.toString(),!0}function L8(n){let e=[\"app.launchURL\",\"window.open\",\"xfa.host.gotoURL\"],s=new RegExp(\"^\\\\s*(\"+e.join(\"|\").replaceAll(\".\",\"\\\\.\")+`)\\\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\\\s*(\\\\w+)\\\\)|\\\\))`,\"i\").exec(n);return s?.[2]?{url:s[2],newWindow:s[1]===\"app.launchURL\"&&s[3]===\"true\"}:null}function _t(n){if(Number.isInteger(n))return n.toString();let e=Math.round(n*100);return e%100===0?(e/100).toString():e%10===0?n.toFixed(1):n.toFixed(2)}function nv(n){if(!n)return null;let e=new Map;for(let[t,s]of n)t.startsWith(E8)&&e.getOrInsertComputed(s.pageIndex,Hi).push(s);return e.size>0?e:null}function Fr(n=new Date){return n instanceof Date||(n=new Date(n)),[n.getUTCFullYear().toString(),(n.getUTCMonth()+1).toString().padStart(2,\"0\"),n.getUTCDate().toString().padStart(2,\"0\"),n.getUTCHours().toString().padStart(2,\"0\"),n.getUTCMinutes().toString().padStart(2,\"0\"),n.getUTCSeconds().toString().padStart(2,\"0\")].join(\"\")}function J0(n,e,t){switch(n){case 90:return[0,1,-1,0,e,0];case 180:return[-1,0,0,-1,e,t];case 270:return[0,-1,1,0,0,t];default:throw new Error(\"Invalid rotation\")}}function sy(n){return Math.ceil(Math.ceil(Math.log2(1+n))/8)}rA();var z8=new Uint8Array(new Uint32Array([1]).buffer)[0]===1?4278190080:255,oS=~z8,Ns=class{static#e=null;static _memory=null;static _destBuffer=null;static _destOffset=0;static _keepAlpha=!1;static get _memoryArray(){let e=this.#e;return e?.byteLength?e:this.#e=new Uint8Array(this._memory.buffer)}};function lS(n,e){let{_destBuffer:t,_destOffset:s,_keepAlpha:i,_memoryArray:r}=Ns;if(!i){t.set(r.subarray(n,n+e),s);return}let a=e>>2,o=t.byteOffset+s;if(((o|n)&3)===0){let l=new Uint32Array(t.buffer,o,a),c=new Uint32Array(Ns._memory.buffer,n,a);for(let f=0;f<a;f++)l[f]=l[f]&z8|c[f]Ⓢreturn}for(let l=n,c=n+e,f=s;l<c;l+=4,f+=4)t[f]=r[l],t[f+1]=r[l+1],t[f+2]=r[l+2]}var lm=Object.freeze({RGB8:0,0:\"RGB8\",RGBA8:1,1:\"RGBA8\",BGRA8:2,2:\"BGRA8\",Gray8:3,3:\"Gray8\",GrayA8:4,4:\"GrayA8\",CMYK:5,5:\"CMYK\"}),cS=Object.freeze({Perceptual:0,0:\"Perceptual\",RelativeColorimetric:1,1:\"RelativeColorimetric\",Saturation:2,2:\"Saturation\",AbsoluteColorimetric:3,3:\"AbsoluteColorimetric\"});function iy(n,e,t){let s=G8(e,gs.__wbindgen_malloc),i=sv;gs.qcms_convert_array(n,s,i,t)}function fS(n,e,t,s,i){return gs.qcms_convert_four(n,e,t,s,i)>>>0}function hS(n,e){return gs.qcms_convert_one(n,e)>>>0}function uS(n,e,t,s){return gs.qcms_convert_three(n,e,t,s)>>>0}function dS(n){gs.qcms_drop_transformer(n)}function pS(n,e,t){let s=G8(n,gs.__wbindgen_malloc),i=sv;return gs.qcms_transformer_from_memory(s,i,e,t)>>>0}function mS(){return{__proto__:null,\"./qcms_bg.js\":{__proto__:null,__wbg___wbindgen_throw_344f42d3211c4765:function(e,t){throw new Error(gS(e,t))},__wbg_copy_result_0d15f3bf9d9012ae:function(e,t){lS(e>>>0,t>>>0)},__wbindgen_init_externref_table:function(){let e=gs.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}}}}function gS(n,e){return wS(n>>>0,e)}var Wl=null;function U8(){return(Wl===null||Wl.byteLength===0)&&(Wl=new Uint8Array(gs.memory.buffer)),Wl}function G8(n,e){let t=e(n.length*1,1)>>>0;return U8().set(n,t/1),sv=n.length,t}var L0=new TextDecoder(\"utf-8\",{ignoreBOM:!0,fatal:!0});L0.decode();var bS=2146435072,cm=0;function wS(n,e){return cm+=e,cm>=bS&&(L0=new TextDecoder(\"utf-8\",{ignoreBOM:!0,fatal:!0}),L0.decode(),cm=e),L0.decode(U8().subarray(n,n+e))}var sv=0,xS,vS,gs;function yS(n,e){return vS=n,gs=n.exports,xS=e,Wl=null,gs.__wbindgen_start(),gs}function kS(n){if(gs!==void 0)return gs;n!==void 0&&(Object.getPrototypeOf(n)===Object.prototype?{module:n}=n:console.warn(\"using deprecated parameters for `initSync()`; pass a single object instead\"));let e=mS();n instanceof WebAssembly.Module||(n=new WebAssembly.Module(n));let t=new WebAssembly.Instance(n,e);return yS(t,n)}function Rt(n,e,t){return Math.min(Math.max(n,e),t)}function jS(n,e,t,s,i,r,a){a=a!==1?0:a;let l=t/i,c=s/r,f=0,h,u=new Uint32Array(i),d=t*3;for(let p=0;p<i;p++)u[p]=Math.floor(p*l)*3;for(let p=0;p<r;p++){let m=Math.floor(p*c)*d;for(let g=0;g<i;g++)h=m+u[g],e[f++]=n[h++],e[f++]=n[h++],e[f++]=n[h++],f+=a}}function AS(n,e,t,s,i,r,a){let o=t/i,l=s/r,c=0,f=new Uint32Array(i);if(a===1){for(let p=0;p<i;p++)f[p]=Math.floor(p*o);let h=new Uint32Array(n.buffer),u=new Uint32Array(e.buffer),d=Nn.isLittleEndian?16777215:4294967040;for(let p=0;p<r;p++){let m=h.subarray(Math.floor(p*l)*t);for(let g=0;g<i;g++)u[c++]|=m[f[g]]&d}}else{let u=t*4;for(let d=0;d<i;d++)f[d]=Math.floor(d*o)*4;for(let d=0;d<r;d++){let p=n.subarray(Math.floor(d*l)*u);for(let m=0;m<i;m++){let g=f[m];e[c++]=p[g],e[c++]=p[g+1],e[c++]=p[g+2]}}}}function SS(n,e,t){if(t===1){let s=new Uint32Array(n.buffer),i=new Uint32Array(e.buffer),r=Nn.isLittleEndian?16777215:4294967040;for(let a=0,o=s.length;a<o;a++)i[a]|=s[a]&r}else{let s=0;for(let i=0,r=n.length;i<r;i+=4)e[s++]=n[i],e[s++]=n[i+1],e[s++]=n[i+2]}}function W8(n,e){if(!Array.isArray(n))return!0;let t=n.length;return t<e?(B(\"Decode map length is too short.\"),!0):(t>e&&(kt(\"Truncating too long decode map.\"),n.length=e),!1)}var Yn=class n{static#e=new Uint8ClampedArray(3);constructor(e,t){this.name=e,this.numComps=t}getRgb(e,t,s=new Uint8ClampedArray(3)){return this.getRgbItem(e,t,s,0),s}getRgbHex(e,t){let s=this.getRgb(e,t,n.#e);return ft.makeHexColor(s[0],s[1],s[2])}getRgbItem(e,t,s,i){dt(\"Should not call ColorSpace.getRgbItem\")}getRgbBuffer(e,t,s,i,r,a,o){dt(\"Should not call ColorSpace.getRgbBuffer\")}getRgbItems(e,t,s,i,r){let{numComps:a}=this;for(let o=0,l=0;o<t;o++,l+=a)this.getRgbItem(e,l,s,i),i+=3+r}isPassthrough(e){return!1}getColorMap(e){let t=1<<e,s=e<=8?new Uint8Array(t):new Uint16Array(t);for(let r=0;r<t;r++)s[r]=r;let i=new Uint8ClampedArray(t*3);return this.getRgbBuffer(s,0,t,i,0,e,0),i}isDefaultDecode(e,t){return n.isDefaultDecode(e,this.numComps)}fillRgb(e,t,s,i,r,a,o,l,c){let f=t*s,h=null,u=1<<o,d=s!==r||t!==i;if(this.isPassthrough(o))h=l;else if(this.numComps===1&&f>u&&this.name!==\"DeviceGray\"&&this.name!==\"DeviceRGB\"){let p=this.getColorMap(o);if(d){h=new Uint8Array(f*3);let m=0;for(let g=0;g<f;++g){let b=l[g]*3;h[m++]=p[b],h[m++]=p[b+1],h[m++]=p[b+2]}}else{let m=0;for(let g=0;g<f;++g){let b=l[g]*3;e[m++]=p[b],e[m++]=p[b+1],e[m++]=p[b+2],m+=c}}}else d?(h=new Uint8ClampedArray(f*3),this.getRgbBuffer(l,0,f,h,0,o,0)):this.getRgbBuffer(l,0,i*a,e,0,o,c);if(h)if(d)jS(h,e,t,s,i,r,c);else{let p=0,m=0;for(let g=0,b=i*a;g<b;g++)e[p++]=h[m++],e[p++]=h[m++],e[p++]=h[m++],p+=c}}get usesZeroToOneRange(){return je(this,\"usesZeroToOneRange\",!0)}static isDefaultDecode(e,t){if(W8(e,t*2))return!0;for(let s=0,i=e.length;s<i;s+=2)if(e[s]!==0||e[s+1]!==1)return!1;return!0}},Wm=class extends Yn{constructor(e,t,s){super(\"Alternate\",e),this.base=t,this.tintFn=s,this.tmpBuf=new Float32Array(t.numComps)}getRgbItem(e,t,s,i){let r=this.tmpBuf;this.tintFn(e,t,r,0),this.base.getRgbItem(r,0,s,i)}getRgbItems(e,t,s,i,r){let{base:a,numComps:o,tintFn:l}=this,c=a.numComps,f=new Float32Array(t*c);for(let h=0,u=0,d=0;h<t;h++)l(e,u,f,d),u+=o,d+=c;a.getRgbItems(f,t,s,i,r)}getRgbBuffer(e,t,s,i,r,a,o){let l=this.tintFn,c=this.base,f=1/((1<<a)-1),h=c.numComps,u=c.usesZeroToOneRange,d=(c.isPassthrough(8)||!u)&&o===0,p=d?r:0,m=d?i:new Uint8ClampedArray(h*s),g=this.numComps,b=new Float32Array(g),x=new Float32Array(h),w,v;for(w=0;w<s;w++){for(v=0;v<g;v++)b[v]=e[t++]*f;if(l(b,0,x,0),u)for(v=0;v<h;v++)m[p++]=x[v]*255;else c.getRgbItem(x,0,m,p),p+=h}d||c.getRgbBuffer(m,0,s,i,r,8,o)}},Q0=class extends Yn{constructor(e){super(\"Pattern\",null),this.base=e}isDefaultDecode(e,t){dt(\"Should not call PatternCS.isDefaultDecode\")}},$m=class extends Yn{#e;constructor(e,t,s){super(\"Indexed\",1),this.highVal=t;let i=t+1,r=e.numComps*i,a=new Uint8Array(r);if(s instanceof Xe)a.set(s.getBytes(r));else if(typeof s==\"string\")for(let o=0;o<r;++o)a[o]=s.charCodeAt(o);else throw new se(`IndexedCS - unrecognized lookup table: ${s}`);this.#e=new Uint8ClampedArray(i*3),e.getRgbBuffer(a,0,i,this.#e,0,8,0)}getRgbItem(e,t,s,i){let r=this.#e,a=Rt(Math.round(e[t]),0,this.highVal)*3;s[i]=r[a],s[i+1]=r[a+1],s[i+2]=r[a+2]}getRgbBuffer(e,t,s,i,r,a,o){let{highVal:l}=this,c=this.#e;for(let f=0;f<s;++f){let h=Rt(Math.round(e[t++]),0,l)*3;i[r++]=c[h],i[r++]=c[h+1],i[r++]=c[h+2],r+=o}}isDefaultDecode(e,t){return W8(e,2)?!0:!Number.isInteger(t)||t<1?(B(\"Bits per component is not correct\"),!0):e[0]===0&&e[1]===(1<<t)-1}},Vm=class extends Yn{constructor(){super(\"DeviceGray\",1)}getRgbItem(e,t,s,i){let r=e[t]*255;s[i]=s[i+1]=s[i+2]=r}getRgbBuffer(e,t,s,i,r,a,o){let l=255/((1<<a)-1),c=t,f=r;for(let h=0;h<s;++h){let u=l*e[c++];i[f++]=u,i[f++]=u,i[f++]=u,f+=o}}},Km=class extends Yn{constructor(){super(\"DeviceRGB\",3)}getRgbItem(e,t,s,i){s[i]=e[t]*255,s[i+1]=e[t+1]*255,s[i+2]=e[t+2]*255}getRgbBuffer(e,t,s,i,r,a,o){if(a===8&&o===0){i.set(e.subarray(t,t+s*3),r);return}let l=255/((1<<a)-1),c=t,f=r;for(let h=0;h<s;++h)i[f++]=l*e[c++],i[f++]=l*e[c++],i[f++]=l*e[c++],f+=o}isPassthrough(e){return e===8}},Xm=class extends Yn{constructor(){super(\"DeviceRGBA\",4)}isPassthrough(e){return e===8}fillRgb(e,t,s,i,r,a,o,l,c){s!==r||t!==i?AS(l,e,t,s,i,r,c):SS(l,e,c)}},Z0=class extends Yn{constructor(){super(\"DeviceCMYK\",4)}#e(e,t,s,i,r){let a=e[t]*s,o=e[t+1]*s,l=e[t+2]*s,c=e[t+3]*s;i[r]=255+a*(-4.387332384609988*a+54.48615194189176*o+18.82290502165302*l+212.25662451639585*c+-285.2331026137004)+o*(1.7149763477362134*o-5.6096736904047315*l+-17.873870861415444*c-5.497006427196366)+l*(-2.5217340131683033*l-21.248923337353073*c+17.5119270841813)+c*(-21.86122147463605*c-189.48180835922747),i[r+1]=255+a*(8.841041422036149*a+60.118027045597366*o+6.871425592049007*l+31.159100130055922*c+-79.2970844816548)+o*(-15.310361306967817*o+17.575251261109482*l+131.35250912493976*c-190.9453302588951)+l*(4.444339102852739*l+9.8632861493405*c-24.86741582555878)+c*(-20.737325471181034*c-187.80453709719578),i[r+2]=255+a*(.8842522430003296*a+8.078677503112928*o+30.89978309703729*l-.23883238689178934*c+-14.183576799673286)+o*(10.49593273432072*o+63.02378494754052*l+50.606957656360734*c-112.23884253719248)+l*(.03296041114873217*l+115.60384449646641*c+-193.58209356861505)+c*(-22.33816807309886*c-180.12613974708367)}getRgbItem(e,t,s,i){this.#e(e,t,1,s,i)}getRgbBuffer(e,t,s,i,r,a,o){let l=1/((1<<a)-1);for(let c=0;c<s;c++)this.#e(e,t,l,i,r),t+=4,r+=3+o}},Ym=class extends Yn{constructor(e,t,s){if(super(\"CalGray\",1),!e)throw new se(\"WhitePoint missing - required for color space CalGray\");if([this.XW,this.YW,this.ZW]=e,[this.XB,this.YB,this.ZB]=t||[0,0,0],this.G=s||1,this.XW<0||this.ZW<0||this.YW!==1)throw new se(`Invalid WhitePoint components for ${this.name}, no fallback available`);(this.XB<0||this.YB<0||this.ZB<0)&&(kt(`Invalid BlackPoint for ${this.name}, falling back to default.`),this.XB=this.YB=this.ZB=0),(this.XB!==0||this.YB!==0||this.ZB!==0)&&B(`${this.name}, BlackPoint: XB: ${this.XB}, YB: ${this.YB}, ZB: ${this.ZB}, only default values are supported.`),this.G<1&&(kt(`Invalid Gamma: ${this.G} for ${this.name}, falling back to default.`),this.G=1)}#e(e,t,s,i,r){let o=(e[t]*r)**this.G,l=this.YW*o,c=Math.max(295.8*l**.3333333333333333-40.8,0);s[i]=c,s[i+1]=c,s[i+2]=c}getRgbItem(e,t,s,i){this.#e(e,t,s,i,1)}getRgbBuffer(e,t,s,i,r,a,o){let l=1/((1<<a)-1);for(let c=0;c<s;++c)this.#e(e,t,i,r,l),t+=1,r+=3+o}},Jm=class n extends Yn{static#e=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]);static#n=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]);static#t=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]);static#s=new Float32Array([1,1,1]);static#i=new Float32Array(3);static#r=new Float32Array(3);static#a=new Float32Array(3);static#o=(24/116)**3/8;constructor(e,t,s,i){if(super(\"CalRGB\",3),!e)throw new se(\"WhitePoint missing - required for color space CalRGB\");let[r,a,o]=this.whitePoint=e,[l,c,f]=this.blackPoint=t||new Float32Array(3);if([this.GR,this.GG,this.GB]=s||new Float32Array([1,1,1]),[this.MXA,this.MYA,this.MZA,this.MXB,this.MYB,this.MZB,this.MXC,this.MYC,this.MZC]=i||new Float32Array([1,0,0,0,1,0,0,0,1]),r<0||o<0||a!==1)throw new se(`Invalid WhitePoint components for ${this.name}, no fallback available`);(l<0||c<0||f<0)&&(kt(`Invalid BlackPoint for ${this.name} [${l}, ${c}, ${f}], falling back to default.`),this.blackPoint=new Float32Array(3)),(this.GR<0||this.GG<0||this.GB<0)&&(kt(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ${this.name}, falling back to default.`),this.GR=this.GG=this.GB=1)}#l(e,t,s){s[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2],s[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2],s[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}#c(e,t,s){s[0]=t[0]*1/e[0],s[1]=t[1]*1/e[1],s[2]=t[2]*1/e[2]}#h(e,t,s){s[0]=t[0]*.95047/e[0],s[1]=t[1]*1/e[1],s[2]=t[2]*1.08883/e[2]}#f(e){return e<=.0031308?Rt(12.92*e,0,1):e>=.99554525?1:Rt((1+.055)*e**(1/2.4)-.055,0,1)}#d(e){return e<0?-this.#d(-e):e>8?((e+16)/116)**3:e*n.#o}#p(e,t,s){if(e[0]===0&&e[1]===0&&e[2]===0){s[0]=t[0],s[1]=t[1],s[2]=t[2];return}let i=this.#d(0),r=i,a=this.#d(e[0]),o=i,l=this.#d(e[1]),c=i,f=this.#d(e[2]),h=(1-r)/(1-a),u=1-h,d=(1-o)/(1-l),p=1-d,m=(1-c)/(1-f),g=1-m;s[0]=t[0]*h+u,s[1]=t[1]*d+p,s[2]=t[2]*m+g}#g(e,t,s){if(e[0]===1&&e[2]===1){s[0]=t[0],s[1]=t[1],s[2]=t[2];return}let i=s;this.#l(n.#e,t,i);let r=n.#i;this.#c(e,i,r),this.#l(n.#n,r,s)}#u(e,t,s){let i=s;this.#l(n.#e,t,i);let r=n.#i;this.#h(e,i,r),this.#l(n.#n,r,s)}#m(e,t,s,i,r){let a=Rt(e[t]*r,0,1),o=Rt(e[t+1]*r,0,1),l=Rt(e[t+2]*r,0,1),c=a===1?1:a**this.GR,f=o===1?1:o**this.GG,h=l===1?1:l**this.GB,u=this.MXA*c+this.MXB*f+this.MXC*h,d=this.MYA*c+this.MYB*f+this.MYC*h,p=this.MZA*c+this.MZB*f+this.MZC*h,m=n.#r;m[0]=u,m[1]=d,m[2]=p;let g=n.#a;this.#g(this.whitePoint,m,g);let b=n.#r;this.#p(this.blackPoint,g,b);let x=n.#a;this.#u(n.#s,b,x);let w=n.#r;this.#l(n.#t,x,w),s[i]=this.#f(w[0])*255,s[i+1]=this.#f(w[1])*255,s[i+2]=this.#f(w[2])*255}getRgbItem(e,t,s,i){this.#m(e,t,s,i,1)}getRgbBuffer(e,t,s,i,r,a,o){let l=1/((1<<a)-1);for(let c=0;c<s;++c)this.#m(e,t,i,r,l),t+=3,r+=3+o}},Qm=class extends Yn{constructor(e,t,s){if(super(\"Lab\",3),!e)throw new se(\"WhitePoint missing - required for color space Lab\");if([this.XW,this.YW,this.ZW]=e,[this.amin,this.amax,this.bmin,this.bmax]=s||[-100,100,-100,100],[this.XB,this.YB,this.ZB]=t||[0,0,0],this.XW<0||this.ZW<0||this.YW!==1)throw new se(\"Invalid WhitePoint components, no fallback available\");(this.XB<0||this.YB<0||this.ZB<0)&&(kt(\"Invalid BlackPoint, falling back to default\"),this.XB=this.YB=this.ZB=0),(this.amin>this.amax||this.bmin>this.bmax)&&(kt(\"Invalid Range, falling back to defaults\"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}#e(e){return e>=6/29?e**3:108/841*(e-4/29)}#n(e,t,s,i){return s+e*(i-s)/t}#t(e,t,s,i,r){let a=e[t],o=e[t+1],l=e[t+2];s!==!1&&(a=this.#n(a,s,0,100),o=this.#n(o,s,this.amin,this.amax),l=this.#n(l,s,this.bmin,this.bmax)),o>this.amax?o=this.amax:o<this.amin&&(o=this.amin),l>this.bmax?l=this.bmax:l<this.bmin&&(l=this.bmin);let c=(a+16)/116,f=c+o/500,h=c-l/200,u=this.XW*this.#e(f),d=this.YW*this.#e(c),p=this.ZW*this.#e(h),m,g,b;this.ZW<1?(m=u*3.1339+d*-1.617+p*-.4906,g=u*-.9785+d*1.916+p*.0333,b=u*.072+d*-.229+p*1.4057):(m=u*3.2406+d*-1.5372+p*-.4986,g=u*-.9689+d*1.8758+p*.0415,b=u*.0557+d*-.204+p*1.057),i[r]=Math.sqrt(m)*255,i[r+1]=Math.sqrt(g)*255,i[r+2]=Math.sqrt(b)*255}getRgbItem(e,t,s,i){this.#t(e,t,!1,s,i)}getRgbBuffer(e,t,s,i,r,a,o){let l=(1<<a)-1;for(let c=0;c<s;c++)this.#t(e,t,l,i,r),t+=3,r+=3+o}isDefaultDecode(e,t){return!0}get usesZeroToOneRange(){return je(this,\"usesZeroToOneRange\",!1)}};function $8(n){let e=new XMLHttpRequest;return e.open(\"GET\",n,!1),e.responseType=\"arraybuffer\",e.send(null),e.response}var Ca=class n extends Yn{#e;#n;static#t=!0;static#s=null;static#i=null;constructor(e,t,s){if(!n.isUsable)throw new Error(\"No ICC color space support\");super(t,s);let i;switch(s){case 1:i=lm.Gray8,this.#n=(r,a)=>hS(this.#e,r[a]*255);break;case 3:i=lm.RGB8,this.#n=(r,a)=>uS(this.#e,r[a]*255,r[a+1]*255,r[a+2]*255);break;case 4:i=lm.CMYK,this.#n=(r,a)=>fS(this.#e,r[a]*255,r[a+1]*255,r[a+2]*255,r[a+3]*255);break;default:throw new Error(`Unsupported number of components: ${s}`)}if(this.#e=pS(e,i,cS.Perceptual),!this.#e)throw new Error(\"Failed to create ICC color space\");n.#i||=new FinalizationRegistry(r=>{dS(r)}),n.#i.register(this,this.#e)}getRgbHex(e,t){let s=this.#n(e,t);return ft.makeHexColor(s>>16,s>>8&255,s&255)}getRgbItem(e,t,s,i){let r=this.#n(e,t);s[i]=r>>16,s[i+1]=r>>8&255,s[i+2]=r&255}getRgbItems(e,t,s,i,r){let{numComps:a}=this,o=t*a,l=new Uint8Array(o);for(let c=0;c<o;c++)l[c]=e[c]*255;Ns._destBuffer=s,Ns._destOffset=i,Ns._keepAlpha=r===1,iy(this.#e,l,r===1),Ns._destBuffer=null}getRgbBuffer(e,t,s,i,r,a,o){if(e=e.subarray(t,t+s*this.numComps),a!==8){let l=255/((1<<a)-1);for(let c=0,f=e.length;c<f;c++)e[c]*=l}Ns._destBuffer=i,Ns._destOffset=r,Ns._keepAlpha=o===1&&i.buffer!==e.buffer,iy(this.#e,e,o===1),Ns._destBuffer=null}static setOptions({useWasm:e,useWorkerFetch:t,wasmUrl:s}){if(!t){this.#t=!1;return}this.#t=e,this.#s=s}static get isUsable(){let e=!1;if(this.#t)if(this.#s)try{this._module=kS({module:$8(`${this.#s}qcms_bg.wasm`)}),e=!!this._module,Ns._memory=this._module.memory}catch(t){B(`ICCBased color space: \"${t}\".`)}else B(\"No ICC color space support due to missing `wasmUrl` API option\");return je(this,\"isUsable\",e)}},hc=class n extends Ca{static#e;constructor(){let e=new Uint8Array($8(`${n.#e}CGATS001Compat-v2-micro.icc`));super(e,\"DeviceCMYK\",4)}static setOptions({iccUrl:e}){this.#e=e}static get isUsable(){let e=!1;return Ca.isUsable&&(this.#e?e=!0:B(\"No CMYK ICC profile support due to missing `iccUrl` API option\")),je(this,\"isUsable\",e)}},Ft=class n extends Xe{constructor(e,t,s,i){super(),this.bytes=e instanceof Uint8Array?e:new Uint8Array(e),this.start=t||0,this.pos=this.start,this.end=t+s||this.bytes.length,this.dict=i}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(e){let t=this.pos,s=e?Math.min(t+e,this.end):this.end;return this.pos=s,this.bytes.subarray(t,s)}getByteRange(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),this.bytes.subarray(e,t)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(e,t,s=null){return new n(this.bytes.buffer,e,t,s)}clone(){return new n(this.bytes.buffer,this.start,this.length,this.dict?.clone())}},Hn=class extends Ft{constructor(e,t=null){super(Vt(e),NaN,NaN,t)}},uc=class extends Ft{constructor(){super(new Uint8Array(0))}},Zm=class extends Ft{progressiveDataLength=0;_lastSuccessfulEnsureByteChunk=-1;_loadedChunks=new Set;constructor(e,t,s){super(new Uint8Array(e),0,e,null),this.chunkSize=t,this.numChunks=Math.ceil(e/t),this.manager=s}getMissingChunks(){let e=[];for(let t=0,s=this.numChunks;t<s;++t)this._loadedChunks.has(t)||e.push(t);return e}get numChunksLoaded(){return this._loadedChunks.size}get isDataLoaded(){return this.numChunksLoaded===this.numChunks}onReceiveData(e,t){let s=this.chunkSize;if(e%s!==0)throw new Error(`Bad begin offset: ${e}`);let i=e+t.byteLength;if(i%s!==0&&i!==this.bytes.length)throw new Error(`Bad end offset: ${i}`);this.bytes.set(new Uint8Array(t),e);let r=Math.floor(e/s),a=Math.floor((i-1)/s)+1;for(let o=r;o<a;++o)this._loadedChunks.add(o)}onReceiveProgressiveData(e){let t=this.progressiveDataLength,s=Math.floor(t/this.chunkSize);this.bytes.set(new Uint8Array(e),t),t+=e.byteLength,this.progressiveDataLength=t;let i=t>=this.end?this.numChunks:Math.floor(t/this.chunkSize);for(let r=s;r<i;++r)this._loadedChunks.add(r)}ensureByte(e){if(e<this.progressiveDataLength)return;let t=Math.floor(e/this.chunkSize);if(!(t>this.numChunks||t===this._lastSuccessfulEnsureByteChunk)){if(!this._loadedChunks.has(t))throw new Tt(e,e+1);this._lastSuccessfulEnsureByteChunk=t}}ensureRange(e,t){if(e>=t||t<=this.progressiveDataLength)return;let s=Math.floor(e/this.chunkSize);if(s>this.numChunks)return;let i=Math.min(Math.floor((t-1)/this.chunkSize)+1,this.numChunks);for(let r=s;r<i;++r)if(!this._loadedChunks.has(r))throw new Tt(e,t)}nextEmptyChunk(e){let t=this.numChunks;for(let s=0;s<t;++s){let i=(e+s)%t;if(!this._loadedChunks.has(i))return i}return null}hasChunk(e){return this._loadedChunks.has(e)}getByte(){let e=this.pos;return e>=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}getBytes(e){let t=this.pos,s=e?Math.min(t+e,this.end):this.end;return s>this.progressiveDataLength&&this.ensureRange(t,s),this.pos=s,this.bytes.subarray(t,s)}getByteRange(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),t>this.progressiveDataLength&&this.ensureRange(e,t),this.bytes.subarray(e,t)}makeSubStream(e,t,s=null){t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e);function i(){}i.prototype=Object.create(this),i.prototype.getMissingChunks=function(){let a=this.chunkSize,o=Math.floor(this.start/a),l=Math.floor((this.end-1)/a)+1,c=[];for(let f=o;f<l;++f)this._loadedChunks.has(f)||c.push(f);return c},Object.defineProperty(i.prototype,\"isDataLoaded\",{get(){return this.numChunksLoaded===this.numChunks||this.getMissingChunks().length===0},configurable:!0});let r=new i;return r.pos=r.start=e,r.end=e+t||this.end,r.dict=s,r}getBaseStreams(){return[this]}},e1=class{#e=null;#n=0;#t=new Map;#s=Promise.withResolvers();_promisesByRequest=new Map;_requestsByChunk=new Map;constructor(e,t){this.length=t.length,this.chunkSize=t.rangeChunkSize,this.stream=new Zm(this.length,this.chunkSize,this),this.pdfStream=e,this.disableAutoFetch=t.disableAutoFetch,this.msgHandler=t.msgHandler}async sendRequest(e,t){let s=this.pdfStream.getRangeReader(e,t),i=[];for(;;){let{value:a,done:o}=await s.read();if(this.#e){i=null;return}if(o)break;i.push(a)}if(i.length===0&&this.disableAutoFetch)return;let r=N8(i);i=null,this.onReceiveData({chunk:r.buffer,begin:e})}requestAllChunks(e=!1){if(!e&&!this.#e){let t=this.stream.getMissingChunks();this.#i(t)}return this.#s.promise}#i(e){if(this.#e)return Promise.reject(this.#e);let t=new Set;for(let a of e)this.stream.hasChunk(a)||t.add(a);if(t.size===0)return Promise.resolve();let s=this.#n++;this.#t.set(s,t);let i=Promise.withResolvers();this._promisesByRequest.set(s,i);let r=[];for(let a of t)this._requestsByChunk.getOrInsertComputed(a,()=>(r.push(a),[])).push(s);if(r.length>0){let a=this.groupChunks(r);for(let o of a){let l=o.beginChunk*this.chunkSize,c=Math.min(o.endChunk*this.chunkSize,this.length);this.sendRequest(l,c).catch(i.reject)}}return i.promise.catch(()=>{}),i.promise}getStream(){return this.stream}requestRange(e,t){t=Math.min(t,this.length);let s=this.getBeginChunk(e),i=this.getEndChunk(t),r=[];for(let a=s;a<i;++a)r.push(a);return this.#i(r)}requestRanges(e=[]){let t=[];for(let s of e){let i=this.getBeginChunk(s.begin),r=this.getEndChunk(s.end);for(let a=i;a<r;++a)t.includes(a)||t.push(a)}return t.sort((s,i)=>s-i),this.#i(t)}groupChunks(e){let t=[],s=-1,i=-1;for(let r=0,a=e.length;r<a;++r){let o=e[r];s<0&&(s=o),i>=0&&i+1!==o&&(t.push({beginChunk:s,endChunk:i+1}),s=o),r+1===e.length&&t.push({beginChunk:s,endChunk:o+1}),i=o}return t}onReceiveData(e){let{chunkSize:t,length:s,stream:i}=this,r=e.chunk,a=e.begin===void 0,o=a?i.progressiveDataLength:e.begin,l=o+r.byteLength,c=Math.floor(o/t),f=l<s?Math.floor(l/t):Math.ceil(l/t);a?i.onReceiveProgressiveData(r):i.onReceiveData(o,r),i.isDataLoaded&&this.#s.resolve(i);let h=[];for(let u=c;u<f;++u){let d=this._requestsByChunk.get(u);if(d){this._requestsByChunk.delete(u);for(let p of d){let m=this.#t.get(p);m.delete(u),!(m.size>0)&&h.push(p)}}}if(!this.disableAutoFetch&&!this._requestsByChunk.size&&!this.#e){let u;if(i.numChunksLoaded===1){let d=i.numChunks-1;i.hasChunk(d)||(u=d)}else u=i.nextEmptyChunk(f);Number.isInteger(u)&&this.#i([u])}for(let u of h){let d=this._promisesByRequest.get(u);this._promisesByRequest.delete(u),d.resolve()}this.msgHandler.send(\"DocProgress\",{loaded:Rt(i.numChunksLoaded*t,i.progressiveDataLength,s),total:s})}getBeginChunk(e){return Math.floor(e/this.chunkSize)}getEndChunk(e){return Math.floor((e-1)/this.chunkSize)+1}abort(e){Qt(e instanceof Error,\"abort must have a valid reason\"),this.#e=e,this.pdfStream?.cancelAllRequests(e);for(let t of this._promisesByRequest.values())t.reject(e);this.#s.reject(e)}};function V8(n){switch(n.kind){case Pn.GRAYSCALE_1BPP:return t1(n);case Pn.RGB_24BPP:return qS(n)}return null}function t1({src:n,srcPos:e=0,dest:t,width:s,height:i,nonBlackColor:r=4294967295,inverseDecode:a=!1}){let o=Nn.isLittleEndian?4278190080:255,[l,c]=a?[r,o]:[o,r],f=s>>3,h=s&7,u=l^c,d=n.length;t=new Uint32Array(t.buffer);let p=0;for(let m=0;m<i;++m){for(let b=e+f;e<b;++e,p+=8){let x=n[e];t[p]=l^-(x>>7&1)&u,t[p+1]=l^-(x>>6&1)&u,t[p+2]=l^-(x>>5&1)&u,t[p+3]=l^-(x>>4&1)&u,t[p+4]=l^-(x>>3&1)&u,t[p+5]=l^-(x>>2&1)&u,t[p+6]=l^-(x>>1&1)&u,t[p+7]=l^-(x&1)&u}if(h===0)continue;let g=e<d?n[e++]:255;for(let b=0;b<h;++b,++p)t[p]=l^-(g>>7-b&1)&u}return{srcPos:e,destPos:p}}function qS({src:n,srcPos:e=0,dest:t,destPos:s=0,width:i,height:r}){let a=0,o=i*r*3,l=n.byteOffset+e,c=l%4===0?Math.floor(Rt(n.length-e,0,o)/4):0,f=c>0?new Uint32Array(n.buffer,l,c):null,h=Nn.isLittleEndian?4278190080:255;if(Nn.isLittleEndian){for(;a<c-2;a+=3,s+=4){let u=f[a],d=f[a+1],p=f[a+2];t[s]=u|h,t[s+1]=u>>>24|d<<8|h,t[s+2]=d>>>16|p<<16|h,t[s+3]=p>>>8|h}for(let u=e+a*4,d=e+o;u<d;u+=3)t[s++]=n[u]|n[u+1]<<8|n[u+2]<<16|h}else{for(;a<c-2;a+=3,s+=4){let u=f[a],d=f[a+1],p=f[a+2];t[s]=u|h,t[s+1]=u<<24|d>>>8|h,t[s+2]=d<<16|p>>>16|h,t[s+3]=p<<8|h}for(let u=e+a*4,d=e+o;u<d;u+=3)t[s++]=n[u]<<24|n[u+1]<<16|n[u+2]<<8|h}return{srcPos:e+o,destPos:s}}function _S(n,e){if(Nn.isLittleEndian)for(let t=0,s=n.length;t<s;t++)e[t]=n[t]*65793|4278190080;else for(let t=0,s=n.length;t<s;t++)e[t]=n[t]*16843008|255}var ry=2048,IS=32768,ay=128,Ss=class n{static#e=ry;static#n=Nn.isImageDecoderSupported;constructor(e,t){this._imgData=e,this._isMask=t}static get canUseImageDecoder(){return je(this,\"canUseImageDecoder\",this.#n?ImageDecoder.isTypeSupported(\"image/bmp\"):Promise.resolve(!1))}static needsToBeResized(e,t){if(e<=this.#e&&t<=this.#e)return!1;let{MAX_DIM:s}=this;if(e>s||t>s)return!0;let i=e*t;if(this._hasMaxArea)return i>this.MAX_AREA;if(i<this.#e**2)return!1;if(this._areGoodDims(e,t))return this.#e=Math.max(this.#e,Math.floor(Math.sqrt(e*t))),!1;this.#e=this._guessMax(this.#e,s,ay,0);let r=this.MAX_AREA=this.#e**2;return i>r}static getReducePower(e,t,s=1/0){if(!Number.isInteger(e)||e<=0||!Number.isInteger(t)||t<=0)return 0;let i=e*t;if(!this.needsToBeResized(e,t))return i>s?Math.ceil(Math.log2(i/s)):0;let{MAX_DIM:r,MAX_AREA:a}=this,o=Math.max(e/r,t/r,Math.sqrt(i/Math.min(s,a)));return Math.max(0,Math.ceil(Math.log2(o)))}static getReducePowerForJPX(e,t,s){return this.getReducePower(e,t,2**30/(s*4))}static get MAX_DIM(){return je(this,\"MAX_DIM\",this._guessMax(ry,IS,0,1))}static get MAX_AREA(){return this._hasMaxArea=!0,je(this,\"MAX_AREA\",this._guessMax(this.#e,this.MAX_DIM,ay,0)**2)}static set MAX_AREA(e){e>=0&&(this._hasMaxArea=!0,je(this,\"MAX_AREA\",e))}static setOptions({canvasMaxAreaInBytes:e=-1,isImageDecoderSupported:t=!1}){this._hasMaxArea||(this.MAX_AREA=e>>2),this.#n=t}static _areGoodDims(e,t){try{let s=new OffscreenCanvas(e,t),i=s.getContext(\"2d\");i.fillRect(0,0,1,1);let r=i.getImageData(0,0,1,1).data[3];return s.width=s.height=1,r!==0}catch{return!1}}static _guessMax(e,t,s,i){for(;e+s+1<t;){let r=Math.floor((e+t)/2),a=i||r;this._areGoodDims(r,a)?e=r:t=r}return e}static async createImage(e,t=!1){return new n(e,t)._createImage()}async _createImage(){let{_imgData:e}=this,{width:t,height:s}=e;if(t*s*4>ty){let x=this._rescaleImageData();if(x)return x}let i=this._encodeBMP(),r,a;await n.canUseImageDecoder?(r=new ImageDecoder({data:i,type:\"image/bmp\",preferAnimation:!1,transfer:[i.buffer]}),a=r.decode().catch(x=>(B(`BMP image decoding failed: ${x}`),createImageBitmap(new Blob([this._encodeBMP().buffer],{type:\"image/bmp\"})))).finally(()=>{r.close()})):a=createImageBitmap(new Blob([i.buffer],{type:\"image/bmp\"}));let{MAX_AREA:o,MAX_DIM:l}=n,c=Math.max(t/l,s/l,Math.sqrt(t*s/o)),f=Math.max(c,2),h=Math.round(10*(c+1.25))/10/f,u=Math.floor(Math.log2(h)),d=new Array(u+2).fill(2);d[0]=f,d.splice(-1,1,h/(1<<u));let p=t,m=s,g=await a,b=g.image||g;for(let x of d){let w=p,v=m;p=Math.floor(p/x),m=Math.floor(m/x);let k=new OffscreenCanvas(p,m);k.getContext(\"2d\").drawImage(b,0,0,w,v,0,0,p,m),b.close(),b=k.transferToImageBitmap()}return e.data=null,e.bitmap=b,e.width=p,e.height=m,e}_rescaleImageData(e=ty){let{_imgData:t}=this,{data:s,width:i,height:r,kind:a}=t,o=i*r*4,l=Math.ceil(Math.log2(o/e)),c=i>>l,f=r>>l,h,u=r;try{h=new Uint8Array(o)}catch{let k=Math.floor(Math.log2(o+1));for(;;)try{h=new Uint8Array(2**k-1);break}catch{k-=1}if(u=Math.floor((2**k-1)/(i*4)),u===0)return null;u>=4&&(u-=u%4);let j=i*u*4;j<h.length&&(h=new Uint8Array(j))}let d=new Uint32Array(h.buffer),p=new Uint32Array(c*f),m=0,g=0,b=f<<l,x=0;for(let k=0;k<r;k+=u){let j=Math.min(u,r-k);({srcPos:m}=V8({kind:a,src:s,dest:d,width:i,height:j,inverseDecode:this._isMask,srcPos:m}));for(let A=Math.min(k+j,b);x<A;x+=1<<l){let S=d.subarray((x-k)*i);for(let q=0;q<c;q++)p[g++]=S[q<<l]}}if(n.needsToBeResized(c,f))return t.data=p,t.width=c,t.height=f,t.kind=Pn.RGBA_32BPP,null;let w=new OffscreenCanvas(c,f);return w.getContext(\"2d\",{willReadFrequently:!0}).putImageData(new ImageData(new Uint8ClampedArray(p.buffer),c,f),0,0),t.data=null,t.bitmap=w.transferToImageBitmap(),t.width=c,t.height=f,t}_encodeBMP(){let{width:e,height:t,kind:s}=this._imgData,i=this._imgData.data,r,a=new Uint8Array(0),o=a,l=0;switch(s){case Pn.GRAYSCALE_1BPP:{r=1,a=new Uint8Array(this._isMask?[255,255,255,255,0,0,0,0]:[0,0,0,0,255,255,255,255]);let m=e+7>>3,g=m+3&-4;if(m!==g){let b=new Uint8Array(g*t),x=0;for(let w=0,v=t*m;w<v;w+=m,x+=g)b.set(i.subarray(w,w+m),x);i=b}break}case Pn.RGB_24BPP:{if(r=24,e&3){let m=3*e,g=m+3&-4,b=g-m,x=new Uint8Array(g*t),w=0;for(let v=0,k=t*m;v<k;v+=m){let j=i.subarray(v,v+m);for(let A=0;A<m;A+=3)x[w++]=j[A+2],x[w++]=j[A+1],x[w++]=j[A];w+=b}i=x}else for(let m=0,g=i.length;m<g;m+=3){let b=i[m];i[m]=i[m+2],i[m+2]=b}break}case Pn.RGBA_32BPP:r=32,l=3,o=new Uint8Array(68);let p=new DataView(o.buffer);Nn.isLittleEndian?(p.setUint32(0,255,!0),p.setUint32(4,65280,!0),p.setUint32(8,16711680,!0),p.setUint32(12,4278190080,!0)):(p.setUint32(0,4278190080,!0),p.setUint32(4,16711680,!0),p.setUint32(8,65280,!0),p.setUint32(12,255,!0));break;default:throw new Error(\"invalid format\")}let c=0,f=40+o.length,h=14+f+a.length+i.length,u=new Uint8Array(h),d=new DataView(u.buffer);return d.setUint16(c,19778,!0),c+=2,d.setUint32(c,h,!0),c+=4,d.setUint32(c,0,!0),c+=4,d.setUint32(c,14+f+a.length,!0),c+=4,d.setUint32(c,f,!0),c+=4,d.setInt32(c,e,!0),c+=4,d.setInt32(c,-t,!0),c+=4,d.setUint16(c,1,!0),c+=2,d.setUint16(c,r,!0),c+=2,d.setUint32(c,l,!0),c+=4,d.setUint32(c,0,!0),c+=4,d.setInt32(c,0,!0),c+=4,d.setInt32(c,0,!0),c+=4,d.setUint32(c,a.length/4,!0),c+=4,d.setUint32(c,0,!0),c+=4,u.set(o,c),c+=o.length,u.set(a,c),c+=a.length,u.set(i,c),u}},CS=new Uint8Array(0),Wn=class extends Xe{buffer=CS;bufferLength=0;eof=!1;minBufferLength=512;pos=0;constructor(e){if(super(),this._rawMinBufferLength=e||0,e)for(;this.minBufferLength<e;)this.minBufferLength*=2}readBlock(){dt(\"Abstract method `readBlock` called\")}get isEmpty(){for(;!this.eof&&this.bufferLength===0;)this.readBlock();return this.bufferLength===0}ensureBuffer(e){let t=this.buffer;if(e<=t.byteLength)return t;let s=this.minBufferLength;for(;s<e;)s*=2;let i=new Uint8Array(s);return i.set(t),this.buffer=i}getByte(){let e=this.pos;for(;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}getBytes(e,t=null){let s=this.pos,i;if(e){for(this.ensureBuffer(s+e),i=s+e;!this.eof&&this.bufferLength<i;)this.readBlock(t);let r=this.bufferLength;i>r&&(i=r)}else{for(;!this.eof;)this.readBlock(t);i=this.bufferLength}return this.pos=i,this.buffer.subarray(s,i)}async getImageData(e,t){if(!this.canAsyncDecodeImageFromBuffer)return this.isAsyncDecoder?this.decodeImage(null,e,t):this.getBytes(e,t);let s=await this.stream.asyncGetBytes();return this.decodeImage(s,e,t)}async asyncGetBytesFromDecompressionStream(e){this.stream.reset();let t=this.stream.isAsync&&await this.stream.asyncGetBytes()||this.stream.getBytes();try{let{readable:s,writable:i}=new DecompressionStream(e),r=i.getWriter();r.write(t).catch(()=>{}),r.close().catch(()=>{});let a=[],o=0,l=s.getReader();for(;;){let{value:h,done:u}=await l.read();if(u)break;a.push(h),o+=h.byteLength}if(a.length===1)return{decompressed:a[0],compressed:t};let c=new Uint8Array(o),f=0;for(let h of a)c.set(h,f),f+=h.byteLength;return{decompressed:c,compressed:t}}catch{return{decompressed:null,compressed:t}}}reset(){this.pos=0}makeSubStream(e,t,s=null){if(t===void 0)for(;!this.eof;)this.readBlock();else{let i=e+t;for(;this.bufferLength<=i&&!this.eof;)this.readBlock()}return new Ft(this.buffer,e,t,s)}clone(){for(;!this.eof;)this.readBlock();return new Ft(this.buffer,0,this.bufferLength,this.dict?.clone())}getBaseStreams(){return this.stream?this.stream.getBaseStreams():null}},n1=class extends Wn{constructor(e,t=null){e=e.filter(i=>i instanceof Xe&&!i.isImageStream);let s=0;for(let i of e)s+=i instanceof Wn?i._rawMinBufferLength:i.length;super(s),this.streams=e,this._onError=t}readBlock(){let e=this.streams;if(e.length===0){this.eof=!0;return}let t=e.shift(),s;try{s=t.getBytes()}catch(o){if(this._onError){this._onError(o,t.dict?.objId);return}throw o}let i=this.bufferLength,r=i+s.length+1,a=this.ensureBuffer(r);a.set(s,i),a[r-1]=10,this.bufferLength=r}getBaseStreams(){let e=[];for(let t of this.streams){let s=t.getBaseStreams();s&&e.push(...s)}return e.length>0?e:null}},bt=class{static parse({cs:e,xref:t,resources:s=null,pdfFunctionFactory:i,globalColorSpaceCache:r,localColorSpaceCache:a,asyncIfNotCached:o=!1}){let l={xref:t,resources:s,pdfFunctionFactory:i,globalColorSpaceCache:r,localColorSpaceCache:a},c,f,h;if(e instanceof fe){f=e;let u=r.getByRef(f)||a.getByRef(f);if(u)return u;e=t.fetch(e)}if(e instanceof ce){c=e.name;let u=a.getByName(c);if(u)return u}try{h=this.#n(e,l)}catch(u){if(o&&!(u instanceof Tt))return Promise.reject(u);throw u}return(c||f)&&(a.set(c,f,h),f&&r.set(null,f,h)),o?Promise.resolve(h):h}static#e(e,t){let{globalColorSpaceCache:s}=t,i;if(e instanceof fe){i=e;let a=s.getByRef(i);if(a)return a}let r=this.#n(e,t);return i&&s.set(null,i,r),r}static#n(e,t){let{xref:s,resources:i,pdfFunctionFactory:r,globalColorSpaceCache:a}=t;if(e=s.fetchIfRef(e),e instanceof ce)switch(e.name){case\"G\":case\"DeviceGray\":return this.gray;case\"RGB\":case\"DeviceRGB\":return this.rgb;case\"DeviceRGBA\":return this.rgba;case\"CMYK\":case\"DeviceCMYK\":return this.cmyk;case\"Pattern\":return new Q0(null);default:if(i instanceof P){let o=i.get(\"ColorSpace\");if(o instanceof P){let l=o.get(e.name);if(l){if(l instanceof ce)return this.#n(l,t);e=l;break}}}return B(`Unrecognized ColorSpace: ${e.name}`),this.gray}if(Array.isArray(e)){let o=s.fetchIfRef(e[0]).name,l,c,f,h,u,d;switch(o){case\"G\":case\"DeviceGray\":return this.gray;case\"RGB\":case\"DeviceRGB\":return this.rgb;case\"CMYK\":case\"DeviceCMYK\":return this.cmyk;case\"CalGray\":return l=s.fetchIfRef(e[1]),h=l.getArray(\"WhitePoint\"),u=l.getArray(\"BlackPoint\"),d=l.get(\"Gamma\"),new Ym(h,u,d);case\"CalRGB\":l=s.fetchIfRef(e[1]),h=l.getArray(\"WhitePoint\"),u=l.getArray(\"BlackPoint\"),d=l.getArray(\"Gamma\");let p=l.getArray(\"Matrix\");return new Jm(h,u,d,p);case\"ICCBased\":let m=e[1]instanceof fe;if(m){let S=a.getByRef(e[1]);if(S)return S}let g=s.fetchIfRef(e[1]),b=g.dict;if(c=b.get(\"N\"),Ca.isUsable)try{let S=new Ca(g.getBytes(),\"ICCBased\",c);return m&&a.set(null,e[1],S),S}catch(S){if(S instanceof Tt)throw S;B(`ICCBased color space (${e[1]}): \"${S}\".`)}let x=b.getRaw(\"Alternate\");if(x){let S=this.#e(x,t);if(S.numComps===c)return S;B(\"ICCBased color space: Ignoring incorrect /Alternate entry.\")}if(c===1)return this.gray;if(c===3)return this.rgb;if(c===4)return this.cmyk;break;case\"Pattern\":return f=e[1]||null,f&&=this.#e(f,t),new Q0(f);case\"I\":case\"Indexed\":f=this.#e(e[1],t);let w=Rt(s.fetchIfRef(e[2]),0,255),v=s.fetchIfRef(e[3]);return new $m(f,w,v);case\"Separation\":case\"DeviceN\":let k=s.fetchIfRef(e[1]);c=Array.isArray(k)?k.length:1,f=this.#e(e[2],t);let j=r.create(e[3]);return new Wm(c,f,j);case\"Lab\":l=s.fetchIfRef(e[1]),h=l.getArray(\"WhitePoint\"),u=l.getArray(\"BlackPoint\");let A=l.getArray(\"Range\");return new Qm(h,u,A);default:return B(`Unimplemented ColorSpace object: ${o}`),this.gray}}return B(`Unrecognized ColorSpace object: ${e}`),this.gray}static get gray(){return je(this,\"gray\",new Vm)}static get rgb(){return je(this,\"rgb\",new Km)}static get rgba(){return je(this,\"rgba\",new Xm)}static get cmyk(){if(hc.isUsable)try{return je(this,\"cmyk\",new hc)}catch{B(\"CMYK fallback: DeviceCMYK\")}return je(this,\"cmyk\",new Z0)}},_s=class extends xs{constructor(e){super(e,\"JpegError\")}},dc=class extends xs{constructor(e,t){super(e,\"DNLMarkerError\"),this.scanLines=t}},eh=class extends xs{constructor(e){super(e,\"EOIMarkerError\")}},Kl=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]),b0=4017,w0=799,x0=3406,v0=2276,y0=1567,k0=3784,oo=5793,j0=2896;function TS(n,e){let t=0,s,i,r=16;for(;r>0&&!n[r-1];)r--;let a=[{children:[],index:0}],o=a[0],l;for(s=0;s<r;s++){for(i=0;i<n[s];i++){for(o=a.pop(),o.children[o.index]=e[t];o.index>0;)o=a.pop();for(o.index++,a.push(o);a.length<=s;)a.push(l={children:[],index:0}),o.children[o.index]=l.children,o=l;t++}s+1<r&&(a.push(l={children:[],index:0}),o.children[o.index]=l.children,o=l)}return a[0].children}function s1(n,e,t){return 64*((n.blocksPerLine+1)*e+t)}function ES(n,e,t,s,i,r,a,o,l,c,f=!1){let h=s.mcusPerLine,u=s.progressive,d=t,p=0,m=0;function g(){if(m>0)return m--,p>>m&1;if(p=n[t++],p===255){let z=n[t++];if(z){if(z===220&&f){t+=2;let V=e.getUint16(t);if(t+=2,V>0&&V!==s.scanLines)throw new dc(\"Found DNL marker (0xFFDC) while parsing scan data\",V)}else if(z===217){if(f){let V=C*(s.precision===8?8:0);if(V>0&&Math.round(s.scanLines/V)>=5)throw new dc(\"Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter\",V)}throw new eh(\"Found EOI marker (0xFFD9) while parsing scan data\")}throw new _s(`unexpected marker ${(p<<8|z).toString(16)}`)}}return m=7,p>>>7}function b(z){let V=z;for(;;){switch(V=V[g()],typeof V){case\"number\":return V;case\"object\":continue}throw new _s(\"invalid huffman sequence\")}}function x(z){let V=0;for(;z>0;)V=V<<1|g(),z--;return V}function w(z){if(z===1)return g()===1?1:-1;let V=x(z);return V>=1<<z-1?V:V+(-1<<z)+1}function v(z,V){let $=b(z.huffmanTableDC),te=$===0?0:w($);z.blockData[V]=z.pred+=te;let ie=1;for(;ie<64;){let le=b(z.huffmanTableAC),Ae=le&15,Oe=le>>4;if(Ae===0){if(Oe<15)break;ie+=16;continue}ie+=Oe;let De=Kl[ie];z.blockData[V+De]=w(Ae),ie++}}function k(z,V){let $=b(z.huffmanTableDC),te=$===0?0:w($)<<c;z.blockData[V]=z.pred+=te}function j(z,V){z.blockData[V]|=g()<<c}let A=0;function S(z,V){if(A>0){A--;return}let $=a,te=o;for(;$<=te;){let ie=b(z.huffmanTableAC),le=ie&15,Ae=ie>>4;if(le===0){if(Ae<15){A=x(Ae)+(1<<Ae)-1;break}$+=16;continue}$+=Ae;let Oe=Kl[$];z.blockData[V+Oe]=w(le)*(1<<c),$++}}let q=0,_;function I(z,V){let $=a,te=o,ie=0,le,Ae;for(;$<=te;){let Oe=V+Kl[$],De=z.blockData[Oe]<0?-1:1;switch(q){case 0:if(Ae=b(z.huffmanTableAC),le=Ae&15,ie=Ae>>4,le===0)ie<15?(A=x(ie)+(1<<ie),q=4):(ie=16,q=1);else{if(le!==1)throw new _s(\"invalid ACn encoding\");_=w(le),q=ie?2:3}continue;case 1:case 2:z.blockData[Oe]?z.blockData[Oe]+=De*(g()<<c):(ie--,ie===0&&(q=q===2?3:0));break;case 3:z.blockData[Oe]?z.blockData[Oe]+=De*(g()<<c):(z.blockData[Oe]=_<<c,q=0);break;case 4:z.blockData[Oe]&&(z.blockData[Oe]+=De*(g()<<c));break}$++}q===4&&(A--,A===0&&(q=0))}let C=0;function T(z,V,$,te,ie){let le=$/h|0,Ae=$%h;C=le*z.v+te;let Oe=Ae*z.h+ie,De=s1(z,C,Oe);V(z,De)}function M(z,V,$){C=$/z.blocksPerLine|0;let te=$%z.blocksPerLine,ie=s1(z,C,te);V(z,ie)}let E=i.length,G,D,N,K,ee,de;u?a===0?de=l===0?k:j:de=l===0?S:I:de=v;let X=0,ue,re=E===1?i[0].blocksPerLine*i[0].blocksPerColumn:h*s.mcusPerColumn,H,O;for(;X<=re;){let z=r?Math.min(re-X,r):re;if(z>0){for(D=0;D<E;D++)i[D].pred=0;if(A=0,E===1)for(G=i[0],ee=0;ee<z;ee++)M(G,de,X),X++;else for(ee=0;ee<z;ee++){for(D=0;D<E;D++)for(G=i[D],H=G.h,O=G.v,N=0;N<O;N++)for(K=0;K<H;K++)T(G,de,X,N,K);X++}}if(m=0,ue=Iu(n,e,t),!ue)break;if(ue.invalid){let V=z>0?\"unexpected\":\"excessive\";B(`decodeScan - ${V} MCU data, current marker is: ${ue.invalid}`),t=ue.offset}if(ue.marker>=65488&&ue.marker<=65495)t+=2;else break}return t-d}function RS(n,e,t){let s=n.quantizationTable,i=n.blockData,r,a,o,l,c,f,h,u,d,p,m,g,b,x,w,v,k;if(!s)throw new _s(\"missing required Quantization Table.\");for(let j=0;j<64;j+=8){if(d=i[e+j],p=i[e+j+1],m=i[e+j+2],g=i[e+j+3],b=i[e+j+4],x=i[e+j+5],w=i[e+j+6],v=i[e+j+7],d*=s[j],(p|m|g|b|x|w|v)===0){k=oo*d+512>>10,t[j]=k,t[j+1]=k,t[j+2]=k,t[j+3]=k,t[j+4]=k,t[j+5]=k,t[j+6]=k,t[j+7]=k;continue}p*=s[j+1],m*=s[j+2],g*=s[j+3],b*=s[j+4],x*=s[j+5],w*=s[j+6],v*=s[j+7],r=oo*d+128>>8,a=oo*b+128>>8,o=m,l=w,c=j0*(p-v)+128>>8,u=j0*(p+v)+128>>8,f=g<<4,h=x<<4,r=r+a+1>>1,a=r-a,k=o*k0+l*y0+128>>8,o=o*y0-l*k0+128>>8,l=k,c=c+h+1>>1,h=c-h,u=u+f+1>>1,f=u-f,r=r+l+1>>1,l=r-l,a=a+o+1>>1,o=a-o,k=c*v0+u*x0+2048>>12,c=c*x0-u*v0+2048>>12,u=k,k=f*w0+h*b0+2048>>12,f=f*b0-h*w0+2048>>12,h=k,t[j]=r+u,t[j+7]=r-u,t[j+1]=a+h,t[j+6]=a-h,t[j+2]=o+f,t[j+5]=o-f,t[j+3]=l+c,t[j+4]=l-c}for(let j=0;j<8;++j){if(d=t[j],p=t[j+8],m=t[j+16],g=t[j+24],b=t[j+32],x=t[j+40],w=t[j+48],v=t[j+56],(p|m|g|b|x|w|v)===0){k=oo*d+8192>>14,k<-2040?k=0:k>=2024?k=255:k=k+2056>>4,i[e+j]=k,i[e+j+8]=k,i[e+j+16]=k,i[e+j+24]=k,i[e+j+32]=k,i[e+j+40]=k,i[e+j+48]=k,i[e+j+56]=k;continue}r=oo*d+2048>>12,a=oo*b+2048>>12,o=m,l=w,c=j0*(p-v)+2048>>12,u=j0*(p+v)+2048>>12,f=g,h=x,r=(r+a+1>>1)+4112,a=r-a,k=o*k0+l*y0+2048>>12,o=o*y0-l*k0+2048>>12,l=k,c=c+h+1>>1,h=c-h,u=u+f+1>>1,f=u-f,r=r+l+1>>1,l=r-l,a=a+o+1>>1,o=a-o,k=c*v0+u*x0+2048>>12,c=c*x0-u*v0+2048>>12,u=k,k=f*w0+h*b0+2048>>12,f=f*b0-h*w0+2048>>12,h=k,d=r+u,v=r-u,p=a+h,w=a-h,m=o+f,x=o-f,g=l+c,b=l-c,d<16?d=0:d>=4080?d=255:d>>=4,p<16?p=0:p>=4080?p=255:p>>=4,m<16?m=0:m>=4080?m=255:m>>=4,g<16?g=0:g>=4080?g=255:g>>=4,b<16?b=0:b>=4080?b=255:b>>=4,x<16?x=0:x>=4080?x=255:x>>=4,w<16?w=0:w>=4080?w=255:w>>=4,v<16?v=0:v>=4080?v=255:v>>=4,i[e+j]=d,i[e+j+8]=p,i[e+j+16]=m,i[e+j+24]=g,i[e+j+32]=b,i[e+j+40]=x,i[e+j+48]=w,i[e+j+56]=v}}function FS(n,e){let t=e.blocksPerLine,s=e.blocksPerColumn,i=new Int16Array(64);for(let r=0;r<s;r++)for(let a=0;a<t;a++){let o=s1(e,r,a);RS(e,o,i)}return e.blockData}function Iu(n,e,t,s=t){let i=n.length-1,r=s<t?s:t;if(t>=i)return null;let a=e.getUint16(t);if(a>=65472&&a<=65534)return{invalid:null,marker:a,offset:t};let o=e.getUint16(r);for(;!(o>=65472&&o<=65534);){if(++r>=i)return null;o=e.getUint16(r)}return{invalid:a.toString(16),marker:o,offset:r}}function OS(n){let e=Math.ceil(n.samplesPerLine/8/n.maxH),t=Math.ceil(n.scanLines/8/n.maxV);for(let s of n.components){let i=Math.ceil(Math.ceil(n.samplesPerLine/8)*s.h/n.maxH),r=Math.ceil(Math.ceil(n.scanLines/8)*s.v/n.maxV),a=e*s.h,l=64*(t*s.v)*(a+1);s.blockData=new Int16Array(l),s.blocksPerLine=i,s.blocksPerColumn=r}n.mcusPerLine=e,n.mcusPerColumn=t}function oy(n,e,t){let s=e.getUint16(t);t+=2;let i=t+s-2,r=Iu(n,e,i,t);r?.invalid&&(B(\"readDataBlock - incorrect length, current marker is: \"+r.invalid),i=r.offset);let a=n.subarray(t,i);return{appData:a,oldOffset:t,newOffset:t+a.length}}function MS(n,e,t){let s=e.getUint16(t);t+=2;let i=t+s-2,r=Iu(n,e,i,t);return r?.invalid?r.offset:i}var th=class{constructor(e){this._colorTransform=e?.colorTransform??-1}static canUseImageDecoder(e,t=-1){let s=new DataView(e.buffer,e.byteOffset,e.byteLength),i={width:0,height:0,exifStart:0,exifEnd:0},r=0,a=null,o=s.getUint16(r);if(r+=2,o!==65496)throw new _s(\"SOI not found\");o=s.getUint16(r),r+=2;e:for(;o!==65497;){switch(o){case 65505:let{appData:l,oldOffset:c,newOffset:f}=oy(e,s,r);if(r=f,l[0]===69&&l[1]===120&&l[2]===105&&l[3]===102&&l[4]===0&&l[5]===0){if(i.exifStart)throw new _s(\"Duplicate EXIF-blocks found.\");i.exifStart=c+6,i.exifEnd=f}o=s.getUint16(r),r+=2;continue;case 65472:case 65473:case 65474:i.height=s.getUint16(r+3),i.width=s.getUint16(r+5),a=e[r+7];break e;case 65535:e[r]!==255&&r--;break}r=MS(e,s,r),o=s.getUint16(r),r+=2}return a===4||a===3&&t===0?null:i}parse(e,{dnlScanLines:t=null}={}){let s=new DataView(e.buffer,e.byteOffset,e.byteLength),i=e.length-1,r=0,a=null,o=null,l,c,f=0,h=[],u=[],d=[],p=s.getUint16(r);if(r+=2,p!==65496)throw new _s(\"SOI not found\");p=s.getUint16(r),r+=2;e:for(;p!==65497;){let m,g,b;switch(p){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:let{appData:x,newOffset:w}=oy(e,s,r);r=w,p===65504&&x[0]===74&&x[1]===70&&x[2]===73&&x[3]===70&&x[4]===0&&(a={version:{major:x[5],minor:x[6]},densityUnits:x[7],xDensity:x[8]<<8|x[9],yDensity:x[10]<<8|x[11],thumbWidth:x[12],thumbHeight:x[13],thumbData:x.subarray(14,14+3*x[12]*x[13])}),p===65518&&x[0]===65&&x[1]===100&&x[2]===111&&x[3]===98&&x[4]===101&&(o={version:x[5]<<8|x[6],flags0:x[7]<<8|x[8],flags1:x[9]<<8|x[10],transformCode:x[11]});break;case 65499:let v=s.getUint16(r);r+=2;let k=v+r-2,j;for(;r<k;){let K=e[r++],ee=new Uint16Array(64);if(K>>4===0)for(g=0;g<64;g++)j=Kl[g],ee[j]=e[r++];else if(K>>4===1)for(g=0;g<64;g++)j=Kl[g],ee[j]=s.getUint16(r),r+=2;else throw new _s(\"DQT - invalid table spec\");h[K&15]=ee}break;case 65472:case 65473:case 65474:if(l)throw new _s(\"Only single frame JPEGs supported\");r+=2,l={},l.extended=p===65473,l.progressive=p===65474,l.precision=e[r++];let A=s.getUint16(r);r+=2,l.scanLines=t||A,l.samplesPerLine=s.getUint16(r),r+=2,l.components=[],l.componentIds={};let S=e[r++],q=0,_=0;for(m=0;m<S;m++){let K=e[r],ee=e[r+1]>>4,de=e[r+1]&15;q<ee&&(q=ee),_<de&&(_=de);let X=e[r+2];b=l.components.push({h:ee,v:de,quantizationId:X,quantizationTable:null}),l.componentIds[K]=b-1,r+=3}l.maxH=q,l.maxV=_,OS(l);break;case 65476:let I=s.getUint16(r);for(r+=2,m=2;m<I;){let K=e[r++],ee=new Uint8Array(16),de=0;for(g=0;g<16;g++,r++)de+=ee[g]=e[r];let X=new Uint8Array(de);for(g=0;g<de;g++,r++)X[g]=e[r];m+=17+de,(K>>4===0?d:u)[K&15]=TS(ee,X)}break;case 65501:r+=2,c=s.getUint16(r),r+=2;break;case 65498:let C=++f===1&&!t;r+=2;let T=e[r++],M=[];for(m=0;m<T;m++){let K=e[r++],ee=l.componentIds[K],de=l.components[ee];de.index=K;let X=e[r++];de.huffmanTableDC=d[X>>4],de.huffmanTableAC=u[X&15],M.push(de)}let E=e[r++],G=e[r++],D=e[r++];try{let K=ES(e,s,r,l,M,c,E,G,D>>4,D&15,C);r+=K}catch(K){if(K instanceof dc)return B(`${K.message} -- attempting to re-parse the JPEG image.`),this.parse(e,{dnlScanLines:K.scanLines});if(K instanceof eh){B(`${K.message} -- ignoring the rest of the image data.`);break e}throw K}break;case 65500:r+=4;break;case 65535:e[r]!==255&&r--;break;default:let N=Iu(e,s,r-2,r-3);if(N?.invalid){B(\"JpegImage.parse - unexpected data, current marker is: \"+N.invalid),r=N.offset;break}if(!N||r>=i){B(\"JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).\");break e}throw new _s(\"JpegImage.parse - unknown marker: \"+p.toString(16))}r<i?(p=s.getUint16(r),r+=2):p=0}if(!l)throw new _s(\"JpegImage.parse - no frame data found.\");this.width=l.samplesPerLine,this.height=l.scanLines,this.jfif=a,this.adobe=o,this.components=[];for(let m of l.components){let g=h[m.quantizationId];g&&(m.quantizationTable=g),this.components.push({index:m.index,output:FS(l,m),scaleX:m.h/l.maxH,scaleY:m.v/l.maxV,blocksPerLine:m.blocksPerLine,blocksPerColumn:m.blocksPerColumn})}this.numComponents=this.components.length}#e(e,t){let s=this.width/e,i=this.height/t,r,a,o,l,c,f,h,u,d,p=0,m=this.components.length,g=e*t*m,b=new Uint8ClampedArray(g),x=new Uint32Array(e),w=4294967288,v;for(h=0;h<m;h++){r=this.components[h],a=r.scaleX*s,o=r.scaleY*i,p=h;let k=r.output;if(l=r.blocksPerLine+1<<3,a!==v){for(c=0;c<e;c++)u=0|c*a,x[c]=(u&w)<<3|u&7;v=a}for(f=0;f<t;f++){u=0|f*o;let j=l*(u&w)|(u&7)<<3;for(c=0;c<e;c++)b[p]=k[j+x[c]],p+=m}}return b}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(e){let t,s,i;for(let r=0,a=e.length;r<a;r+=3)t=e[r],s=e[r+1],i=e[r+2],e[r]=t-179.456+1.402*i,e[r+1]=t+135.459-.344*s-.714*i,e[r+2]=t-226.816+1.772*s;return e}_convertYccToRgba(e,t){for(let s=0,i=0,r=e.length;s<r;s+=3,i+=4){let a=e[s],o=e[s+1],l=e[s+2];t[i]=a-179.456+1.402*l,t[i+1]=a+135.459-.344*o-.714*l,t[i+2]=a-226.816+1.772*o,t[i+3]=255}return t}_convertYcckToRgb(e){return this._convertYcckToCmyk(e),this._convertCmykToRgb(e)}_convertYcckToRgba(e){return this._convertYcckToCmyk(e),this._convertCmykToRgba(e)}_convertYcckToCmyk(e){let t,s,i;for(let r=0,a=e.length;r<a;r+=4)t=e[r],s=e[r+1],i=e[r+2],e[r]=434.456-t-1.402*i,e[r+1]=119.541-t+.344*s+.714*i,e[r+2]=481.816-t-1.772*s;return e}_convertCmykToRgb(e){let t=e.length/4;return bt.cmyk.getRgbBuffer(e,0,t,e,0,8,0),e.subarray(0,t*3)}_convertCmykToRgba(e){if(bt.cmyk.getRgbBuffer(e,0,e.length/4,e,0,8,1),bt.cmyk instanceof Z0)for(let t=3,s=e.length;t<s;t+=4)e[t]=255;return e}getData({width:e,height:t,forceRGBA:s=!1,forceRGB:i=!1}){if(this.numComponents>4)throw new _s(\"Unsupported color mode\");let r=this.#e(e,t);if(this.numComponents===1&&(s||i)){let a=r.length*(s?4:3),o=new Uint8ClampedArray(a);if(s)_S(r,new Uint32Array(o.buffer));else{let l=0;for(let c of r)o[l++]=c,o[l++]=c,o[l++]=c}return o}else if(this.numComponents===3&&this._isColorConversionNeeded){if(s){let a=new Uint8ClampedArray(r.length/3*4);return this._convertYccToRgba(r,a)}return this._convertYccToRgb(r)}else if(this.numComponents===4){if(this._isColorConversionNeeded)return s?this._convertYcckToRgba(r):i?this._convertYcckToRgb(r):this._convertYcckToCmyk(r);if(s)return this._convertCmykToRgba(r);if(i)return this._convertCmykToRgb(r)}return r}},Ro=class n extends Wn{static#e=Nn.isImageDecoderSupported;constructor(e,t,s){super(t),this.stream=e,this.dict=e.dict,this.maybeLength=t,this.params=s}static get canUseImageDecoder(){return je(this,\"canUseImageDecoder\",this.#e?ImageDecoder.isTypeSupported(\"image/jpeg\"):Promise.resolve(!1))}static setOptions({isImageDecoderSupported:e=!1}){this.#e=e}get bytes(){return je(this,\"bytes\",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){this.decodeImage()}get jpegOptions(){let e={colorTransform:void 0};if(this.params instanceof P){let t=this.params.get(\"ColorTransform\");Number.isInteger(t)&&(e.colorTransform=t)}return je(this,\"jpegOptions\",e)}#n(e){for(let t=0,s=e.length-1;t<s;t++)if(e[t]===255&&e[t+1]===216){t>0&&(e=e.subarray(t));break}return e}decodeImage(e){if(this.eof)return this.buffer;e=this.#n(e||this.bytes);let t=new th(this.jpegOptions);t.parse(e);let s=t.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB});return this.buffer=s,this.bufferLength=s.length,this.eof=!0,this.buffer}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}async getTransferableImage(e,t){if(!await n.canUseImageDecoder)return null;let s=this.jpegOptions,i;try{let r=this.canAsyncDecodeImageFromBuffer&&await this.stream.asyncGetBytes()||this.bytes;if(!r)return null;let a=this.#n(r),o=th.canUseImageDecoder(a,s.colorTransform);if(!o)return null;let{width:l,height:c}=o,f=Ss.getReducePower(l,c);if((l!==e||c!==t)&&(f||!c))return null;o.exifStart&&(a=a.slice(),a.fill(0,o.exifStart,o.exifEnd));let h={data:a,type:\"image/jpeg\",preferAnimation:!1};if(f){let u=2**f;h.desiredWidth=Math.ceil(l/u),h.desiredHeight=Math.ceil(c/u)}return i=new ImageDecoder(h),(await i.decode()).image}catch(r){return B(`getTransferableImage - failed: \"${r}\".`),null}finally{i?.close()}}get isImageStream(){return!0}};function ef(n,e,t,s,i){let r=n;for(let a=0,o=e.length-1;a<o;a++){let l=e[a];r=r[l]||=[]}r[e.at(-1)]={checkFn:t,iterateFn:s,processFn:i}}var Ta=[];ef(Ta,[F.save,F.transform,F.paintInlineImageXObject,F.restore],null,function(e,t){let s=e.fnArray,i=e.iCurr-3,r=(t-i)%4;switch(r){case 0:return s[t]===F.save;case 1:return s[t]===F.transform;case 2:return s[t]===F.paintInlineImageXObject;case 3:return s[t]===F.restore}throw new Error(`iterateInlineImageGroup - invalid pos: ${r}`)},function(e,t){let o=e.fnArray,l=e.argsArray,c=e.iCurr,f=c-3,h=c-2,u=c-1,d=Math.min(Math.floor((t-f)/4),200);if(d<10)return t-(t-f)%4;let p=0,m=[],g=0,b=1,x=1;for(let S=0;S<d;S++){let q=l[h+(S<<2)],_=l[u+(S<<2)][0];b+_.width>1e3&&(p=Math.max(p,b),x+=g+2,b=0,g=0),m.push({transform:q,x:b,y:x,w:_.width,h:_.height}),b+=_.width+2,g=Math.max(g,_.height)}let w=Math.max(p,b)+1,v=x+g+1,k=new Uint8Array(w*v*4),j=w<<2;for(let S=0;S<d;S++){let q=l[u+(S<<2)][0].data,_=m[S].w<<2,I=0,C=m[S].x+m[S].y*w<<2;k.set(q.subarray(0,_),C-j);for(let T=0,M=m[S].h;T<M;T++)k.set(q.subarray(I,I+_),C),I+=_,C+=j;for(k.set(q.subarray(I-_,I),C);C>=0;)q[C-4]=q[C],q[C-3]=q[C+1],q[C-2]=q[C+2],q[C-1]=q[C+3],q[C+_]=q[C+_-4],q[C+_+1]=q[C+_-3],q[C+_+2]=q[C+_-2],q[C+_+3]=q[C+_-1],C-=j}let A={width:w,height:v};if(e.isOffscreenCanvasSupported){let S=new OffscreenCanvas(w,v);S.getContext(\"2d\").putImageData(new ImageData(new Uint8ClampedArray(k.buffer),w,v),0,0),A.bitmap=S.transferToImageBitmap(),A.data=null}else A.kind=Pn.RGBA_32BPP,A.data=k;return o.splice(f,d*4,F.paintInlineImageXObjectGroup),l.splice(f,d*4,[A,m]),f+1});ef(Ta,[F.save,F.transform,F.paintImageMaskXObject,F.restore],null,function(e,t){let s=e.fnArray,i=e.iCurr-3,r=(t-i)%4;switch(r){case 0:return s[t]===F.save;case 1:return s[t]===F.transform;case 2:return s[t]===F.paintImageMaskXObject;case 3:return s[t]===F.restore}throw new Error(`iterateImageMaskGroup - invalid pos: ${r}`)},function(e,t){let a=e.fnArray,o=e.argsArray,l=e.iCurr,c=l-3,f=l-2,h=l-1,u=Math.floor((t-c)/4);if(u<10)return t-(t-c)%4;let d=!1,p,m,g=o[h][0],b=o[f][0],x=o[f][1],w=o[f][2],v=o[f][3];if(x===w){d=!0,p=f+4;let k=h+4;for(let j=1;j<u;j++,p+=4,k+=4)if(m=o[p],o[k][0]!==g||m[0]!==b||m[1]!==x||m[2]!==w||m[3]!==v){j<10?d=!1:u=j;break}}if(d){u=Math.min(u,1e3);let k=new Float32Array(u*2);p=f;for(let j=0;j<u;j++,p+=4)m=o[p],k[j<<1]=m[4],k[(j<<1)+1]=m[5];a.splice(c,u*4,F.paintImageMaskXObjectRepeat),o.splice(c,u*4,[g,b,x,w,v,k])}else{u=Math.min(u,100);let k=[];for(let j=0;j<u;j++){m=o[f+(j<<2)];let A=o[h+(j<<2)][0];k.push({data:A.data,width:A.width,height:A.height,interpolate:A.interpolate,count:A.count,transform:m})}a.splice(c,u*4,F.paintImageMaskXObjectGroup),o.splice(c,u*4,[k])}return c+1});ef(Ta,[F.save,F.transform,F.paintImageXObject,F.restore],function(n){let e=n.argsArray,t=n.iCurr-2;return e[t][1]===0&&e[t][2]===0},function(e,t){let s=e.fnArray,i=e.argsArray,r=e.iCurr-3,a=(t-r)%4;switch(a){case 0:return s[t]===F.save;case 1:if(s[t]!==F.transform)return!1;let o=e.iCurr-2,l=i[o][0],c=i[o][3];return!(i[t][0]!==l||i[t][1]!==0||i[t][2]!==0||i[t][3]!==c);case 2:if(s[t]!==F.paintImageXObject)return!1;let f=e.iCurr-1,h=i[f][0];return i[t][0]===h;case 3:return s[t]===F.restore}throw new Error(`iterateImageGroup - invalid pos: ${a}`)},function(n,e){let i=n.fnArray,r=n.argsArray,a=n.iCurr,o=a-3,l=a-2,c=a-1,f=r[c][0],h=r[l][0],u=r[l][3],d=Math.min(Math.floor((e-o)/4),1e3);if(d<3)return e-(e-o)%4;let p=new Float32Array(d*2),m=l;for(let b=0;b<d;b++,m+=4){let x=r[m];p[b<<1]=x[4],p[(b<<1)+1]=x[5]}let g=[f,h,u,p];return i.splice(o,d*4,F.paintImageXObjectRepeat),r.splice(o,d*4,g),o+1});ef(Ta,[F.beginText,F.setFont,F.setTextMatrix,F.showText,F.endText],null,function(e,t){let s=e.fnArray,i=e.argsArray,r=e.iCurr-4,a=(t-r)%5;switch(a){case 0:return s[t]===F.beginText;case 1:return s[t]===F.setFont;case 2:return s[t]===F.setTextMatrix;case 3:if(s[t]!==F.showText)return!1;let o=e.iCurr-3,l=i[o][0],c=i[o][1];return!(i[t][0]!==l||i[t][1]!==c);case 4:return s[t]===F.endText}throw new Error(`iterateShowTextGroup - invalid pos: ${a}`)},function(n,e){let i=n.fnArray,r=n.argsArray,a=n.iCurr,o=a-4,l=a-3,c=a-2,f=a-1,h=a,u=r[l][0],d=r[l][1],p=Math.min(Math.floor((e-o)/5),1e3);if(p<3)return e-(e-o)%5;let m=o;o>=4&&i[o-4]===i[l]&&i[o-3]===i[c]&&i[o-2]===i[f]&&i[o-1]===i[h]&&r[o-4][0]===u&&r[o-4][1]===d&&(p++,m-=5);let g=m+4;for(let b=1;b<p;b++)i.splice(g,3),r.splice(g,3),g+=2;return g+1});ef(Ta,[F.save,F.transform,F.constructPath,F.restore],n=>{let e=n.argsArray,t=n.iCurr-1,s=e[t][0];if(s!==F.stroke&&s!==F.closeStroke&&s!==F.fillStroke&&s!==F.eoFillStroke&&s!==F.closeFillStroke&&s!==F.closeEOFillStroke)return!0;let i=n.iCurr-2,r=e[i];return r[0]===1&&r[1]===0&&r[2]===0&&r[3]===1},()=>!1,(n,e)=>{let{fnArray:t,argsArray:s}=n,i=n.iCurr,r=i-3,a=i-2,o=i-1,l=s[o],c=s[a],[,[f],h]=l;if(h){let u=K0.slice();ft.axialAlignedBoundingBox(h,c,u),h.set(u);for(let d=0,p=f.length;d<p;)switch(f[d++]){case zt.moveTo:case zt.lineTo:ft.applyTransform(f,c,d),d+=2;break;case zt.curveTo:ft.applyTransformToBezier(f,c,d),d+=6;break}}return t.splice(r,4,F.constructPath),s.splice(r,4,l),r+1});var nh=class{constructor(e){this.queue=e}_optimize(){}push(e,t){this.queue.fnArray.push(e),this.queue.argsArray.push(t),this._optimize()}flush(){}reset(){}},i1=class extends nh{constructor(e){super(e),this.state=null,this.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray,isOffscreenCanvasSupported:Gs.isOffscreenCanvasSupported},this.match=null,this.lastProcessed=0}_optimize(){let e=this.queue.fnArray,t=this.lastProcessed,s=e.length,i=this.state,r=this.match;if(!i&&!r&&t+1===s&&!Ta[e[t]]){this.lastProcessed=s;return}let a=this.context;for(;t<s;){if(r){if((0,r.iterateFn)(a,t)){t++;continue}if(t=(0,r.processFn)(a,t+1),s=e.length,r=null,i=null,t>=s)break}if(i=(i||Ta)[e[t]],!i||Array.isArray(i)){t++;continue}if(a.iCurr=t,t++,i.checkFn&&!(0,i.checkFn)(a)){i=null;continue}r=i,i=null}this.state=i,this.match=r,this.lastProcessed=t}flush(){for(;this.match;){let e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e),this.match=null,this.state=null,this._optimize()}}reset(){this.state=null,this.match=null,this.lastProcessed=0}},Gs=class n{static CHUNK_SIZE=1e3;static CHUNK_SIZE_ABOUT=this.CHUNK_SIZE-5;static isOffscreenCanvasSupported=!1;constructor(e=0,t){this._streamSink=t,this.fnArray=[],this.argsArray=[],this.optimizer=t&&!(e&Un.OPLIST)?new i1(this):new nh(this),this.dependencies=new Set,this.weight=0,this._resolved=t?null:Promise.resolve()}static setOptions({isOffscreenCanvasSupported:e}){this.isOffscreenCanvasSupported=e}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}addOp(e,t){this.optimizer.push(e,t),this.weight++,this._streamSink&&(this.weight>=n.CHUNK_SIZE?this.flush():this.weight>=n.CHUNK_SIZE_ABOUT&&(e===F.restore||e===F.endText)&&this.flush())}addImageOps(e,t,s,i=!1){i&&(this.addOp(F.save),this.addOp(F.setGState,[[[\"SMask\",!1]]])),s!==void 0&&this.addOp(F.beginMarkedContentProps,[\"OC\",s]),this.addOp(e,t),s!==void 0&&this.addOp(F.endMarkedContent,[]),i&&this.addOp(F.restore)}addDependency(e){this.dependencies.has(e)||(this.dependencies.add(e),this.addOp(F.dependency,[e]))}addDependencies(e){for(let t of e)this.addDependency(t)}addOpList(e){if(!(e instanceof n)){B('addOpList - ignoring invalid \"opList\" parameter.');return}for(let t of e.dependencies)this.dependencies.add(t);for(let t=0,s=e.length;t<s;t++)this.addOp(e.fnArray[t],e.argsArray[t])}getIR(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}get _transfers(){let e=[],{fnArray:t,argsArray:s,length:i}=this;for(let r=0;r<i;r++)switch(t[r]){case F.paintInlineImageXObject:case F.paintInlineImageXObjectGroup:case F.paintImageMaskXObject:{let{bitmap:l,data:c}=s[r][0];(l||c?.buffer)&&e.push(l||c.buffer);break}case F.constructPath:{let[,[l],c]=s[r];l&&e.push(l.buffer,c.buffer);break}case F.paintFormXObjectBegin:let[a,o]=s[r];a&&e.push(a.buffer),o&&e.push(o.buffer);break;case F.setTextMatrix:e.push(s[r][0].buffer);break}return e}flush(e=!1,t=null){this.optimizer.flush(),this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:e,separateAnnots:t,length:this.length},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}},sh=class extends Gs{needsIsolation=!1;hasSoftMask=!1;addOp(e,t){if(!this.needsIsolation||!this.hasSoftMask){if(e===F.beginGroup)this.needsIsolation||=t[0].needsIsolation,this.hasSoftMask||=t[0].hasSoftMask;else if(e===F.setGState)for(let[s,i]of t[0])s===\"BM\"&&i!==\"source-over\"?this.needsIsolation=!0:s===\"SMask\"&&i!==!1&&(this.needsIsolation=!0,this.hasSoftMask=!0)}super.addOp(e,t)}};pA();function es(n,e){let t=0;for(let s=0;s<=e;s++)t=t<<8|n[s];return t>>>0}function A0(n,e){return e===1?String.fromCharCode(n[0],n[1]):e===3?String.fromCharCode(n[0],n[1],n[2],n[3]):String.fromCharCode(...n.subarray(0,e+1))}function hs(n,e,t){let s=0;for(let i=t;i>=0;i--)s+=n[i]+e[i],n[i]=s&255,s>>=8}function sa(n,e){let t=1;for(let s=e;s>=0&&t>0;s--)t+=n[s],n[s]=t&255,t>>=8}var lo=16,PS=19,r1=class extends Ft{tmpBuf=new Uint8Array(PS);constructor(e){super(e,0,e.length,null)}readNumber(){let e=0,t;do{let s=this.getByte();if(s<0)throw new se(\"unexpected EOF in bcmap\");t=!(s&128),e=e<<7|s&127}while(!t);return e}readSigned(){let e=this.readNumber();return e&1?~(e>>>1):e>>>1}readHex(e,t){e.set(this.getBytes(t+1))}readHexNumber(e,t){let s,i=this.tmpBuf,r=0;do{let c=this.getByte();if(c<0)throw new se(\"unexpected EOF in bcmap\");s=!(c&128),i[r++]=c&127}while(!s);let a=t,o=0,l=0;for(;a>=0;){for(;l<8&&i.length>0;)o|=i[--r]<<l,l+=7;e[a]=o&255,a--,o>>=8,l-=8}}readHexSigned(e,t){this.readHexNumber(e,t);let s=e[t]&1?255:0,i=0;for(let r=0;r<=t;r++)i=(i&1)<<8|e[r],e[r]=i>>1^s}readString(){let e=this.readNumber(),t=new Array(e);for(let s=0;s<e;s++)t[s]=this.readNumber();return String.fromCharCode(...t)}},a1=class{async process(e,t,s){let i=new r1(e),r=i.getByte();t.vertical=!!(r&1);let a=null,o=new Uint8Array(lo),l=new Uint8Array(lo),c=new Uint8Array(lo),f=new Uint8Array(lo),h=new Uint8Array(lo),u,d;for(;(d=i.getByte())>=0;){let p=d>>5;if(p===7){switch(d&31){case 0:i.readString();break;case 1:a=i.readString();break}continue}let m=!!(d&16),g=d&15;if(g+1>lo)throw new Error(\"BinaryCMapReader.process: Invalid dataSize.\");let b=1,x=i.readNumber();switch(p){case 0:i.readHex(o,g),i.readHexNumber(l,g),hs(l,o,g),t.addCodespaceRange(g+1,es(o,g),es(l,g));for(let w=1;w<x;w++)sa(l,g),i.readHexNumber(o,g),hs(o,l,g),i.readHexNumber(l,g),hs(l,o,g),t.addCodespaceRange(g+1,es(o,g),es(l,g));break;case 1:i.readHex(o,g),i.readHexNumber(l,g),hs(l,o,g),i.readNumber();for(let w=1;w<x;w++)sa(l,g),i.readHexNumber(o,g),hs(o,l,g),i.readHexNumber(l,g),hs(l,o,g),i.readNumber();break;case 2:i.readHex(c,g),u=i.readNumber(),t.mapOne(es(c,g),u);for(let w=1;w<x;w++)sa(c,g),m||(i.readHexNumber(h,g),hs(c,h,g)),u=i.readSigned()+(u+1),t.mapOne(es(c,g),u);break;case 3:i.readHex(o,g),i.readHexNumber(l,g),hs(l,o,g),u=i.readNumber(),t.mapCidRange(es(o,g),es(l,g),u);for(let w=1;w<x;w++)sa(l,g),m?o.set(l):(i.readHexNumber(o,g),hs(o,l,g)),i.readHexNumber(l,g),hs(l,o,g),u=i.readNumber(),t.mapCidRange(es(o,g),es(l,g),u);break;case 4:i.readHex(c,b),i.readHex(f,g),t.mapOne(es(c,b),A0(f,g));for(let w=1;w<x;w++)sa(c,b),m||(i.readHexNumber(h,b),hs(c,h,b)),sa(f,g),i.readHexSigned(h,g),hs(f,h,g),t.mapOne(es(c,b),A0(f,g));break;case 5:i.readHex(o,b),i.readHexNumber(l,b),hs(l,o,b),i.readHex(f,g),t.mapBfRange(es(o,b),es(l,b),A0(f,g));for(let w=1;w<x;w++)sa(l,b),m?o.set(l):(i.readHexNumber(o,b),hs(o,l,b)),i.readHexNumber(l,b),hs(l,o,b),i.readHex(f,g),t.mapBfRange(es(o,b),es(l,b),A0(f,g));break;default:throw new Error(`BinaryCMapReader.process - unknown type: ${p}`)}}return a?s(a):t}},BS=32,xi=class n{#e=[];#n=[];#t=null;#s=null;#i=0;get size(){return this.#e.length}get(e){return(e&65535)===e?this.#n[e]:this.#s?.get(e)}has(e){return this.get(e)!==void 0}set(e,t){if(this.#t=null,(e&65535)===e){this.#n[e]===void 0&&this.#e.push(e),this.#n[e]=t;return}this.#s??=new Map,this.#s.has(e)||this.#e.push(e),this.#s.set(e,t)}forEach(e){let t=this.#e,s=this.#n,i=this.#s;for(let r=0,a=t.length;r<a;r++){let o=t[r];e(o,(o&65535)===o?s[o]:i.get(o))}}charCodeOf(e){if(!this.#t&&this.#i>BS*this.size){let s=this.#t=new Map;this.forEach((i,r)=>{s.has(r)||s.set(r,i)})}if(this.#t)return this.#t.get(e)??-1;let t=this.#e;for(let s=0,i=t.length;s<i;s++)if(this.get(t[s])===e)return this.#i+=s+1,t[s];return this.#i+=t.length,-1}clone(){let e=new n;return e.#e=this.#e.slice(),e.#n=this.#n.slice(),e.#s=this.#s&&new Map(this.#s),e}},o1=class extends Wn{#e=new Uint8Array(5);constructor(e,t){t&&(t*=.8),super(t),this.stream=e,this.dict=e.dict}readBlock(){let i=this.stream,r=i.getByte();for(;yi(r);)r=i.getByte();if(r===-1||r===126){this.eof=!0;return}let a=this.bufferLength,o,l;if(r===122)o=this.ensureBuffer(a+4),o.fill(0,a,a+4),this.bufferLength+=4;else{let c=this.#e;for(c[0]=r,l=1;l<5;++l){for(r=i.getByte();yi(r);)r=i.getByte();if(c[l]=r,r===-1||r===126)break}o=this.ensureBuffer(a+l-1),this.bufferLength+=l-1,l<5&&(c.fill(117,l,5),this.eof=!0);let f=0;for(l=0;l<5;++l)f=f*85+(c[l]-33);for(l=3;l>=0;--l)o[a+l]=f&255,f>>=8}}},l1=class extends Wn{constructor(e,t){t&&(t*=.5),super(t),this.stream=e,this.dict=e.dict,this.firstDigit=-1}readBlock(){let t=this.stream.getBytes(8e3);if(!t.length){this.eof=!0;return}let s=t.length+1>>1,i=this.ensureBuffer(this.bufferLength+s),r=this.bufferLength,a=this.firstDigit;for(let o of t){let l;if(o>=48&&o<=57)l=o&15;else if(o>=65&&o<=70||o>=97&&o<=102)l=(o&15)+9;else if(o===62){this.eof=!0;break}else continue;a<0?a=l:(i[r++]=a<<4|l,a=-1)}a>=0&&this.eof&&(i[r++]=a<<4,a=-1),this.firstDigit=a,this.bufferLength=r}};var DS=()=>{let n=Int32Array.from([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]),e=Int32Array.from([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),t=Int32Array.from([0,3,2,1,0,0,0,0,0,0,3,3,3,3,3,3]),s=Int32Array.from([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),i=Int32Array.from([131072,131076,131075,196610,131072,131076,131075,262145,131072,131076,131075,196610,131072,131076,131075,262149]),r=Int32Array.from([1,5,9,13,17,25,33,41,49,65,81,97,113,145,177,209,241,305,369,497,753,1265,2289,4337,8433,16625]),a=Int32Array.from([2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,7,8,9,10,11,12,13,24]),o=Int16Array.from([0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,12,14,24]),l=Int16Array.from([0,0,0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,24]),c=new Int16Array(2816);d(c);function f(y){let L=-1,W=16,Q=y;for(;W>0;){let Y=Q>>W;Y!==0&&(L+=W,Q=Y),W=W>>1}return L+Q}function h(y,L,W){return 16+L+2*(W<<y)}function u(y,L,W,Q){if(L<Q+(2<<W))return It(y,-23);let Y=(L-Q>>W)+4,xe=f(Y)-1;return((xe-1<<1|Y>>xe&1)-1<<W)+(1<<W)+Q+16}function d(y){let L=new Int32Array(24),W=new Int32Array(24);W[0]=2;for(let Q=0;Q<23;++Q)L[Q+1]=L[Q]+(1<<o[Q]),W[Q+1]=W[Q]+(1<<l[Q]);for(let Q=0;Q<704;++Q){let Y=Q>>6,xe=-4;Y>=2&&(Y-=2,xe=0);let Te=(170064>>Y*2&3)<<3|Q>>3&7,Me=(156228>>Y*2&3)<<3|Q&7,Ze=W[Me],ot=xe+Math.min(Ze,5)-2,et=Q*4;y[et]=o[Te]|l[Me]<<8,y[et+1]=L[Te],y[et+2]=W[Me],y[et+3]=ot}}function p(y){let L=y.isLargeWindow;if(y.isLargeWindow=0,y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16),ge(y,1)===0)return 16;let W=ge(y,3);return W!==0?17+W:(W=ge(y,3),W!==0?W===1?L===0||(y.isLargeWindow=1,ge(y,1)===1)||(W=ge(y,6),W<10||W>30)?-1:W:8+W:17)}function m(y,L){return y.runningState!==1?It(y,-24):(y.cdNumChunks===0&&(y.cdChunks=new Array(16),y.cdChunkOffsets=new Int32Array(16),y.cdBlockBits=-1),y.cdNumChunks===15?It(y,-27):(y.cdChunks[y.cdNumChunks]=L,y.cdNumChunks++,y.cdTotalSize+=L.length,y.cdChunkOffsets[y.cdNumChunks]=y.cdTotalSize,0))}function g(y){if(y.runningState!==0)return It(y,-26);y.blockTrees=new Int32Array(3091),y.blockTrees[0]=7,y.distRbIdx=3;let L=u(y,2147483644,3,120);if(L<0)return L;let W=L;return y.distExtraBits=new Int8Array(W),y.distOffset=new Int32Array(W),L=ye(y),L<0?L:(y.runningState=1,0)}function b(y){return y.runningState===0?It(y,-25):(y.runningState>0&&(y.runningState=11),0)}function x(y){if(y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16),ge(y,1)!==0){let L=ge(y,3);return L===0?1:ge(y,L)+(1<<L)}return 0}function w(y){if(y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16),y.inputEnd=ge(y,1),y.metaBlockLength=0,y.isUncompressed=0,y.isMetadata=0,y.inputEnd!==0&&ge(y,1)!==0)return 0;let L=ge(y,2)+4;if(L===7){if(y.isMetadata=1,ge(y,1)!==0)return It(y,-6);let W=ge(y,2);if(W===0)return 0;for(let Q=0;Q<W;++Q){y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16);let Y=ge(y,8);if(Y===0&&Q+1===W&&W>1)return It(y,-8);y.metaBlockLength+=Y<<Q*8}}else for(let W=0;W<L;++W){y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16);let Q=ge(y,4);if(Q===0&&W+1===L&&L>4)return It(y,-8);y.metaBlockLength+=Q<<W*4}return y.metaBlockLength++,y.inputEnd===0&&(y.isUncompressed=ge(y,1)),0}function v(y,L,W){let Q=y[L],Y=W.accumulator32>>>W.bitOffset;Q+=Y&255;let xe=y[Q]>>16,Te=y[Q]&65535;if(xe<=8)return W.bitOffset+=xe,Te;Q+=Te;let Me=(1<<xe)-1;return Q+=(Y&Me)>>>8,W.bitOffset+=(y[Q]>>16)+8,y[Q]&65535}function k(y,L,W){W.bitOffset>=16&&(W.accumulator32=W.shortBuffer[W.halfOffset++]<<16|W.accumulator32>>>16,W.bitOffset-=16);let Q=v(y,L,W),Y=a[Q];return W.bitOffset>=16&&(W.accumulator32=W.shortBuffer[W.halfOffset++]<<16|W.accumulator32>>>16,W.bitOffset-=16),r[Q]+(Y<=16?ge(W,Y):qe(W,Y))}function j(y,L){let W=L,Q=y[W];for(;W>0;)y[W]=y[W-1],W--;y[0]=Q}function A(y,L){let W=new Int32Array(256);for(let Q=0;Q<256;++Q)W[Q]=Q;for(let Q=0;Q<L;++Q){let Y=y[Q]&255;y[Q]=W[Y],Y!==0&&j(W,Y)}}function S(y,L,W,Q){let Y=0,xe=8,Te=0,Me=0,Ze=32768,ot=new Int32Array(33),et=ot.length-1;for(he(ot,et,5,y,18);Y<L&&Ze>0;){if(Q.halfOffset>2030){let yt=ae(Q);if(yt<0)return yt}Q.bitOffset>=16&&(Q.accumulator32=Q.shortBuffer[Q.halfOffset++]<<16|Q.accumulator32>>>16,Q.bitOffset-=16);let ut=Q.accumulator32>>>Q.bitOffset&31;Q.bitOffset+=ot[ut]>>16;let wt=ot[ut]&65535;if(wt<16)Te=0,W[Y++]=wt,wt!==0&&(xe=wt,Ze-=32768>>wt);else{let yt=wt-14,fn=0;wt===16&&(fn=xe),Me!==fn&&(Te=0,Me=fn);let ci=Te;Te>0&&(Te-=2,Te=Te<<yt),Q.bitOffset>=16&&(Q.accumulator32=Q.shortBuffer[Q.halfOffset++]<<16|Q.accumulator32>>>16,Q.bitOffset-=16),Te+=ge(Q,yt)+3;let Rs=Te-ci;if(Y+Rs>L)return It(Q,-2);for(let Ln=0;Ln<Rs;++Ln)W[Y++]=Me;Me!==0&&(Ze-=Rs<<15-Me)}}return Ze!==0?It(Q,-18):(W.fill(0,Y,L),0)}function q(y,L,W){for(let Q=0;Q<W-1;++Q)for(let Y=Q+1;Y<W;++Y)if(L[Q]===L[Y])return It(y,-7);return 0}function _(y,L,W,Q,Y){let xe=new Int32Array(L),Te=new Int32Array(4),Me=1+f(y-1),Ze=ge(Y,2)+1;for(let ut=0;ut<Ze;++ut){Y.bitOffset>=16&&(Y.accumulator32=Y.shortBuffer[Y.halfOffset++]<<16|Y.accumulator32>>>16,Y.bitOffset-=16);let wt=ge(Y,Me);if(wt>=L)return It(Y,-15);Te[ut]=wt}let ot=q(Y,Te,Ze);if(ot<0)return ot;let et=Ze;switch(Ze===4&&(et+=ge(Y,1)),et){case 1:xe[Te[0]]=1;break;case 2:xe[Te[0]]=1,xe[Te[1]]=1;break;case 3:xe[Te[0]]=1,xe[Te[1]]=2,xe[Te[2]]=2;break;case 4:xe[Te[0]]=2,xe[Te[1]]=2,xe[Te[2]]=2,xe[Te[3]]=2;break;case 5:xe[Te[0]]=1,xe[Te[1]]=2,xe[Te[2]]=3,xe[Te[3]]=3;break;default:break}return he(W,Q,8,xe,L)}function I(y,L,W,Q,Y){let xe=new Int32Array(y),Te=new Int32Array(18),Me=32,Ze=0;for(let et=L;et<18;++et){let ut=e[et];Y.bitOffset>=16&&(Y.accumulator32=Y.shortBuffer[Y.halfOffset++]<<16|Y.accumulator32>>>16,Y.bitOffset-=16);let wt=Y.accumulator32>>>Y.bitOffset&15;Y.bitOffset+=i[wt]>>16;let yt=i[wt]&65535;if(Te[ut]=yt,yt!==0&&(Me-=32>>yt,Ze++,Me<=0))break}if(Me!==0&&Ze!==1)return It(Y,-4);let ot=S(Te,y,xe,Y);return ot<0?ot:he(W,Q,8,xe,y)}function C(y,L,W,Q,Y){if(Y.halfOffset>2030){let Te=ae(Y);if(Te<0)return Te}Y.bitOffset>=16&&(Y.accumulator32=Y.shortBuffer[Y.halfOffset++]<<16|Y.accumulator32>>>16,Y.bitOffset-=16);let xe=ge(Y,2);return xe===1?_(y,L,W,Q,Y):I(L,xe,W,Q,Y)}function T(y,L,W){let Q;if(W.halfOffset>2030&&(Q=ae(W),Q<0))return Q;let Y=x(W)+1;if(Y===1)return L.fill(0,0,y),Y;W.bitOffset>=16&&(W.accumulator32=W.shortBuffer[W.halfOffset++]<<16|W.accumulator32>>>16,W.bitOffset-=16);let xe=ge(W,1),Te=0;xe!==0&&(Te=ge(W,4)+1);let Me=Y+Te,Ze=n[Me+31>>5],ot=new Int32Array(Ze+1),et=ot.length-1;if(Q=C(Me,Me,ot,et,W),Q<0)return Q;let ut=0;for(;ut<y;){if(W.halfOffset>2030&&(Q=ae(W),Q<0))return Q;W.bitOffset>=16&&(W.accumulator32=W.shortBuffer[W.halfOffset++]<<16|W.accumulator32>>>16,W.bitOffset-=16);let wt=v(ot,et,W);if(wt===0)L[ut]=0,ut++;else if(wt<=Te){W.bitOffset>=16&&(W.accumulator32=W.shortBuffer[W.halfOffset++]<<16|W.accumulator32>>>16,W.bitOffset-=16);let yt=(1<<wt)+ge(W,wt);for(;yt!==0;){if(ut>=y)return It(W,-3);L[ut]=0,ut++,yt--}}else L[ut]=wt-Te,ut++}return W.bitOffset>=16&&(W.accumulator32=W.shortBuffer[W.halfOffset++]<<16|W.accumulator32>>>16,W.bitOffset-=16),ge(W,1)===1&&A(L,y),Y}function M(y,L,W){let Q=y.rings,Y=4+L*2;y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16);let xe=v(y.blockTrees,2*L,y),Te=k(y.blockTrees,2*L+1,y);return xe===1?xe=Q[Y+1]+1:xe===0?xe=Q[Y]:xe-=2,xe>=W&&(xe-=W),Q[Y]=Q[Y+1],Q[Y+1]=xe,Te}function E(y){y.literalBlockLength=M(y,0,y.numLiteralBlockTypes);let L=y.rings[5];y.contextMapSlice=L<<6,y.literalTreeIdx=y.contextMap[y.contextMapSlice]&255;let W=y.contextModes[L];y.contextLookupOffset1=W<<9,y.contextLookupOffset2=y.contextLookupOffset1+256}function G(y){y.commandBlockLength=M(y,1,y.numCommandBlockTypes),y.commandTreeIdx=y.rings[7]}function D(y){y.distanceBlockLength=M(y,2,y.numDistanceBlockTypes),y.distContextMapSlice=y.rings[9]<<2}function N(y){let L=y.maxRingBufferSize;if(L>y.expectedTotalSize){let xe=y.expectedTotalSize;for(;L>>1>xe;)L=L>>1;y.inputEnd===0&&L<16384&&y.maxRingBufferSize>=16384&&(L=16384)}if(L<=y.ringBufferSize)return;let W=L+37,Q=new Int8Array(W),Y=y.ringBuffer;Y.length!==0&&Q.set(Y.subarray(0,y.ringBufferSize),0),y.ringBuffer=Q,y.ringBufferSize=L}function K(y){if(y.inputEnd!==0)return y.nextRunningState=10,y.runningState=12,0;y.literalTreeGroup=new Int32Array(0),y.commandTreeGroup=new Int32Array(0),y.distanceTreeGroup=new Int32Array(0);let L;if(y.halfOffset>2030&&(L=ae(y),L<0)||(L=w(y),L<0))return L;if(y.metaBlockLength===0&&y.isMetadata===0)return 0;if(y.isUncompressed!==0||y.isMetadata!==0){if(L=Ge(y),L<0)return L;y.isMetadata===0?y.runningState=6:y.runningState=5}else y.runningState=3;return y.isMetadata!==0||(y.expectedTotalSize+=y.metaBlockLength,y.expectedTotalSize>1<<30&&(y.expectedTotalSize=1<<30),y.ringBufferSize<y.maxRingBufferSize&&N(y)),0}function ee(y,L,W){let Q=y.blockTrees[2*L];if(W<=1)return y.blockTrees[2*L+1]=Q,y.blockTrees[2*L+2]=Q,1<<28;let Y=W+2,xe=C(Y,Y,y.blockTrees,2*L,y);if(xe<0)return xe;Q+=xe,y.blockTrees[2*L+1]=Q;let Te=26;return xe=C(Te,Te,y.blockTrees,2*L+1,y),xe<0?xe:(Q+=xe,y.blockTrees[2*L+2]=Q,k(y.blockTrees,2*L+1,y))}function de(y,L){let W=y.distExtraBits,Q=y.distOffset,Y=y.distancePostfixBits,xe=y.numDirectDistanceCodes,Te=1<<Y,Me=1,Ze=0,ot=16;for(let et=0;et<xe;++et)W[ot]=0,Q[ot]=et+1,++ot;for(;ot<L;){let et=xe+((2+Ze<<Me)-4<<Y)+1;for(let ut=0;ut<Te;++ut)W[ot]=Me,Q[ot]=et+ut,++ot;Me=Me+Ze,Ze=Ze^1}}function X(y){y.numLiteralBlockTypes=x(y)+1;let L=ee(y,0,y.numLiteralBlockTypes);if(L<0||(y.literalBlockLength=L,y.numCommandBlockTypes=x(y)+1,L=ee(y,1,y.numCommandBlockTypes),L<0)||(y.commandBlockLength=L,y.numDistanceBlockTypes=x(y)+1,L=ee(y,2,y.numDistanceBlockTypes),L<0)||(y.distanceBlockLength=L,y.halfOffset>2030&&(L=ae(y),L<0)))return L;y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16),y.distancePostfixBits=ge(y,2),y.numDirectDistanceCodes=ge(y,4)<<y.distancePostfixBits,y.contextModes=new Int8Array(y.numLiteralBlockTypes);let W=0;for(;W<y.numLiteralBlockTypes;){let Ze=Math.min(W+96,y.numLiteralBlockTypes);for(;W<Ze;)y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16),y.contextModes[W]=ge(y,2),W++;if(y.halfOffset>2030&&(L=ae(y),L<0))return L}let Q=y.numLiteralBlockTypes<<6;if(y.contextMap=new Int8Array(Q),L=T(Q,y.contextMap,y),L<0)return L;let Y=L;y.trivialLiteralContext=1;for(let Ze=0;Ze<Q;++Ze)if(y.contextMap[Ze]!==Ze>>6){y.trivialLiteralContext=0;break}if(y.distContextMap=new Int8Array(y.numDistanceBlockTypes<<2),L=T(y.numDistanceBlockTypes<<2,y.distContextMap,y),L<0)return L;let xe=L;if(y.literalTreeGroup=new Int32Array(H(256,Y)),L=O(256,256,Y,y,y.literalTreeGroup),L<0||(y.commandTreeGroup=new Int32Array(H(704,y.numCommandBlockTypes)),L=O(704,704,y.numCommandBlockTypes,y,y.commandTreeGroup),L<0))return L;let Te=h(y.distancePostfixBits,y.numDirectDistanceCodes,24),Me=Te;if(y.isLargeWindow===1){if(Te=h(y.distancePostfixBits,y.numDirectDistanceCodes,62),L=u(y,2147483644,y.distancePostfixBits,y.numDirectDistanceCodes),L<0)return L;Me=L}return y.distanceTreeGroup=new Int32Array(H(Me,xe)),L=O(Te,Me,xe,y,y.distanceTreeGroup),L<0?L:(de(y,Me),y.contextMapSlice=0,y.distContextMapSlice=0,y.contextLookupOffset1=y.contextModes[0]*512,y.contextLookupOffset2=y.contextLookupOffset1+256,y.literalTreeIdx=0,y.commandTreeIdx=0,y.rings[4]=1,y.rings[5]=0,y.rings[6]=1,y.rings[7]=0,y.rings[8]=1,y.rings[9]=0,0)}function ue(y){let L=y.ringBuffer,W;if(y.metaBlockLength<=0)return W=Fe(y),W<0?W:(y.runningState=2,0);let Q=Math.min(y.ringBufferSize-y.pos,y.metaBlockLength);return W=ke(y,L,y.pos,Q),W<0?W:(y.metaBlockLength-=Q,y.pos+=Q,y.pos===y.ringBufferSize?(y.nextRunningState=6,y.runningState=12,0):(W=Fe(y),W<0?W:(y.runningState=2,0)))}function re(y){let L=Math.min(y.outputLength-y.outputUsed,y.ringBufferBytesReady-y.ringBufferBytesWritten);return L!==0&&(y.output.set(y.ringBuffer.subarray(y.ringBufferBytesWritten,y.ringBufferBytesWritten+L),y.outputOffset+y.outputUsed),y.outputUsed+=L,y.ringBufferBytesWritten+=L),y.outputUsed<y.outputLength?0:2}function H(y,L){let W=n[y+31>>5];return L+L*W}function O(y,L,W,Q,Y){let xe=W;for(let Te=0;Te<W;++Te){Y[Te]=xe;let Me=C(y,L,Y,Te,Q);if(Me<0)return Me;xe+=Me}return 0}function z(y){let L=y.ringBufferSize;return y.isEager!==0&&(L=Math.min(L,y.ringBufferBytesWritten+y.outputLength-y.outputUsed)),L}function V(y,L){if(y.distance>2147483644)return It(y,-9);let W=y.distance-y.maxDistance-1-y.cdTotalSize;if(W<0){let Q=te(y,-W-1,y.copyLength);if(Q<0)return Q;y.runningState=14}else{let Q=gt,Y=y.copyLength;if(Y>31)return It(y,-9);let xe=Nt[Y];if(xe===0)return It(y,-9);let Te=it[Y],Me=(1<<xe)-1,Ze=W&Me,ot=W>>xe;Te+=Ze*Y;let et=Oe;if(ot>=et.numTransforms)return It(y,-9);let ut=Ye(y.ringBuffer,y.pos,Q,Te,Y,et,ot);if(y.pos+=ut,y.metaBlockLength-=ut,y.pos>=L)return y.nextRunningState=4,y.runningState=12,0;y.runningState=4}return 0}function $(y){y.cdBlockMap=new Int8Array(256);let L=8;for(;y.cdTotalSize-1>>L!==0;)L++;L-=8,y.cdBlockBits=L;let W=0,Q=0;for(;W<y.cdTotalSize;){for(;y.cdChunkOffsets[Q+1]<W;)Q++;y.cdBlockMap[W>>L]=Q,W+=1<<L}}function te(y,L,W){y.cdBlockBits===-1&&$(y);let Q=y.cdBlockMap[L>>y.cdBlockBits];for(;L>=y.cdChunkOffsets[Q+1];)Q++;return y.cdTotalSize>L+W?It(y,-9):(y.distRbIdx=y.distRbIdx+1&3,y.rings[y.distRbIdx]=y.distance,y.metaBlockLength-=W,y.cdBrIndex=Q,y.cdBrOffset=L-y.cdChunkOffsets[Q],y.cdBrLength=W,y.cdBrCopied=0,0)}function ie(y,L){let W=y.pos,Q=W;for(;y.cdBrLength!==y.cdBrCopied;){let Y=L-W,Te=y.cdChunkOffsets[y.cdBrIndex+1]-y.cdChunkOffsets[y.cdBrIndex]-y.cdBrOffset,Me=y.cdBrLength-y.cdBrCopied;if(Me>Te&&(Me=Te),Me>Y&&(Me=Y),y.ringBuffer.set(y.cdChunks[y.cdBrIndex].subarray(y.cdBrOffset,y.cdBrOffset+Me),W),W+=Me,y.cdBrOffset+=Me,y.cdBrCopied+=Me,Me===Te&&(y.cdBrIndex++,y.cdBrOffset=0),W>=L)break}return W-Q}function le(y){let L;if(y.runningState===0)return It(y,-25);if(y.runningState<0)return It(y,-28);if(y.runningState===11)return It(y,-22);if(y.runningState===1){let xe=p(y);if(xe===-1)return It(y,-11);y.maxRingBufferSize=1<<xe,y.maxBackwardDistance=y.maxRingBufferSize-16,y.runningState=2}let W=z(y),Q=y.ringBufferSize-1,Y=y.ringBuffer;for(;y.runningState!==10;)switch(y.runningState){case 2:if(y.metaBlockLength<0)return It(y,-10);if(L=K(y),L<0)return L;W=z(y),Q=y.ringBufferSize-1,Y=y.ringBuffer;continue;case 3:if(L=X(y),L<0)return L;y.runningState=4;continue;case 4:if(y.metaBlockLength<=0){y.runningState=2;continue}if(y.halfOffset>2030&&(L=ae(y),L<0))return L;y.commandBlockLength===0&&G(y),y.commandBlockLength--,y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16);let xe=v(y.commandTreeGroup,y.commandTreeIdx,y)<<2,Te=c[xe],Me=c[xe+1],Ze=c[xe+2];y.distanceCode=c[xe+3],y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16);let ot=Te&255;y.insertLength=Me+(ot<=16?ge(y,ot):qe(y,ot)),y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16);let et=Te>>8;y.copyLength=Ze+(et<=16?ge(y,et):qe(y,et)),y.j=0,y.runningState=7;continue;case 7:if(y.trivialLiteralContext!==0)for(;y.j<y.insertLength;){if(y.halfOffset>2030&&(L=ae(y),L<0))return L;if(y.literalBlockLength===0&&E(y),y.literalBlockLength--,y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16),Y[y.pos]=v(y.literalTreeGroup,y.literalTreeIdx,y),y.pos++,y.j++,y.pos>=W){y.nextRunningState=7,y.runningState=12;break}}else{let Ln=Y[y.pos-1&Q]&255,ct=Y[y.pos-2&Q]&255;for(;y.j<y.insertLength;){if(y.halfOffset>2030&&(L=ae(y),L<0))return L;y.literalBlockLength===0&&E(y);let Fs=Ue[y.contextLookupOffset1+Ln]|Ue[y.contextLookupOffset2+ct],Ga=y.contextMap[y.contextMapSlice+Fs]&255;if(y.literalBlockLength--,ct=Ln,y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16),Ln=v(y.literalTreeGroup,Ga,y),Y[y.pos]=Ln,y.pos++,y.j++,y.pos>=W){y.nextRunningState=7,y.runningState=12;break}}}if(y.runningState!==7)continue;if(y.metaBlockLength-=y.insertLength,y.metaBlockLength<=0){y.runningState=4;continue}let ut=y.distanceCode;if(ut<0)y.distance=y.rings[y.distRbIdx];else{if(y.halfOffset>2030&&(L=ae(y),L<0))return L;y.distanceBlockLength===0&&D(y),y.distanceBlockLength--,y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16);let Ln=y.distContextMap[y.distContextMapSlice+ut]&255;if(ut=v(y.distanceTreeGroup,Ln,y),ut<16){let ct=y.distRbIdx+t[ut]&3;if(y.distance=y.rings[ct]+s[ut],y.distance<0)return It(y,-12)}else{let ct=y.distExtraBits[ut],Fs;y.bitOffset+ct<=32?Fs=ge(y,ct):(y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16),Fs=ct<=16?ge(y,ct):qe(y,ct)),y.distance=y.distOffset[ut]+(Fs<<y.distancePostfixBits)}}if(y.maxDistance!==y.maxBackwardDistance&&y.pos<y.maxBackwardDistance?y.maxDistance=y.pos:y.maxDistance=y.maxBackwardDistance,y.distance>y.maxDistance){y.runningState=9;continue}if(ut>0&&(y.distRbIdx=y.distRbIdx+1&3,y.rings[y.distRbIdx]=y.distance),y.copyLength>y.metaBlockLength)return It(y,-9);y.j=0,y.runningState=8;continue;case 8:let wt=y.pos-y.distance&Q,yt=y.pos,fn=y.copyLength-y.j,ci=wt+fn,Rs=yt+fn;if(ci<Q&&Rs<Q){if(fn<12||ci>yt&&Rs>wt){let Ln=fn+3>>2;for(let ct=0;ct<Ln;++ct)Y[yt++]=Y[wt++],Y[yt++]=Y[wt++],Y[yt++]=Y[wt++],Y[yt++]=Y[wt++]}else Y.copyWithin(yt,wt,ci);y.j+=fn,y.metaBlockLength-=fn,y.pos+=fn}else for(;y.j<y.copyLength;)if(Y[y.pos]=Y[y.pos-y.distance&Q],y.metaBlockLength--,y.pos++,y.j++,y.pos>=W){y.nextRunningState=8,y.runningState=12;break}y.runningState===8&&(y.runningState=4);continue;case 9:if(L=V(y,W),L<0)return L;continue;case 14:if(y.pos+=ie(y,W),y.pos>=W)return y.nextRunningState=14,y.runningState=12,2;y.runningState=4;continue;case 5:for(;y.metaBlockLength>0;){if(y.halfOffset>2030&&(L=ae(y),L<0))return L;y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16),ge(y,8),y.metaBlockLength--}y.runningState=2;continue;case 6:if(L=ue(y),L<0)return L;continue;case 12:y.ringBufferBytesReady=Math.min(y.pos,y.ringBufferSize),y.runningState=13;continue;case 13:if(L=re(y),L!==0)return L;y.pos>=y.maxBackwardDistance&&(y.maxDistance=y.maxBackwardDistance),y.pos>=y.ringBufferSize&&(y.pos>y.ringBufferSize&&Y.copyWithin(0,y.ringBufferSize,y.pos),y.pos=y.pos&Q,y.ringBufferBytesWritten=0),y.runningState=y.nextRunningState;continue;default:return It(y,-28)}return y.runningState!==10?It(y,-29):y.metaBlockLength<0?It(y,-10):(L=Ge(y),L!==0||(L=me(y,1),L!==0)?L:1)}function Ae(y,L,W){this.numTransforms=0,this.triplets=new Int32Array(0),this.prefixSuffixStorage=new Int8Array(0),this.prefixSuffixHeads=new Int32Array(0),this.params=new Int16Array(0),this.numTransforms=y,this.triplets=new Int32Array(y*3),this.params=new Int16Array(y),this.prefixSuffixStorage=new Int8Array(L),this.prefixSuffixHeads=new Int32Array(W+1)}let Oe=new Ae(121,167,50);function De(y,L,W,Q,Y){let xe=kv(Q),Te=xe.length,Me=1,Ze=0;for(let ot=0;ot<Te;++ot){let et=xe[ot];et===35?L[Me++]=Ze:y[Ze++]=et}for(let ot=0;ot<363;++ot)W[ot]=Y.charCodeAt(ot)-32}De(Oe.prefixSuffixStorage,Oe.prefixSuffixHeads,Oe.triplets,`# #s #, #e #.# the #.com/#\\xC2\\xA0# of # and # in # to #\"#\">#\n#]# for # a # that #. # with #'# from # by #. The # on # as # is #ing #\n\t#:#ed #(# at #ly #=\"# of the #. This #,# not #er #al #='#ful #ive #less #est #ize #ous #`,` !! ! , *! &! \" ! ) * * - ! # ! #!*! + ,$ ! - % . / # 0 1 . \" 2 3!* 4% ! # / 5 6 7 8 0 1 & $ 9 + : ; < ' != > ?! 4 @ 4 2 & A *# ( B C& ) % ) !*# *-% A +! *. D! %' & E *6 F G% ! *A *% H! D I!+! J!+ K +- *4! A L!*4 M N +6 O!*% +.! K *G P +%( ! G *D +D Q +# *K!*G!+D!+# +G +A +4!+% +K!+4!*D!+K!*K`);function Ye(y,L,W,Q,Y,xe,Te){let Me=L,Ze=xe.triplets,ot=xe.prefixSuffixStorage,et=xe.prefixSuffixHeads,ut=3*Te,wt=Ze[ut],yt=Ze[ut+1],fn=Ze[ut+2],ci=et[wt],Rs=et[wt+1],Ln=et[fn],ct=et[fn+1],Fs=yt-11,Ga=yt;for((Fs<1||Fs>9)&&(Fs=0),(Ga<1||Ga>9)&&(Ga=0);ci!==Rs;)y[Me++]=ot[ci++];let vn=Y;Fs>vn&&(Fs=vn);let t6=Q+Fs;vn-=Fs,vn-=Ga;let jv=vn;for(;jv>0;)y[Me++]=W[t6++],jv--;if(yt===10||yt===11){let Ht=Me-vn;for(yt===10&&(vn=1);vn>0;){let Lr=y[Ht]&255;Lr<192?(Lr>=97&&Lr<=122&&(y[Ht]=y[Ht]^32),Ht+=1,vn-=1):Lr<224?(y[Ht+1]=y[Ht+1]^32,Ht+=2,vn-=2):(y[Ht+2]=y[Ht+2]^5,Ht+=3,vn-=3)}}else if(yt===21||yt===22){let Ht=Me-vn,Lr=xe.params[Te],ys=(Lr&32767)+(16777216-(Lr&32768));for(;vn>0;){let br=1,Ki=y[Ht]&255;if(Ki<128)ys+=Ki,y[Ht]=ys&127;else if(!(Ki<192)){if(Ki<224)if(vn>=2){let wr=y[Ht+1];ys+=wr&63|(Ki&31)<<6,y[Ht]=192|ys>>6&31,y[Ht+1]=wr&192|ys&63,br=2}else br=vn;else if(Ki<240)if(vn>=3){let wr=y[Ht+1],Wo=y[Ht+2];ys+=Wo&63|(wr&63)<<6|(Ki&15)<<12,y[Ht]=224|ys>>12&15,y[Ht+1]=wr&192|ys>>6&63,y[Ht+2]=Wo&192|ys&63,br=3}else br=vn;else if(Ki<248)if(vn>=4){let wr=y[Ht+1],Wo=y[Ht+2],Av=y[Ht+3];ys+=Av&63|(Wo&63)<<6|(wr&63)<<12|(Ki&7)<<18,y[Ht]=240|ys>>18&7,y[Ht+1]=wr&192|ys>>12&63,y[Ht+2]=Wo&192|ys>>6&63,y[Ht+3]=Av&192|ys&63,br=4}else br=vn}Ht+=br,vn-=br,yt===21&&(vn=0)}}for(;Ln!==ct;)y[Me++]=ot[Ln++];return Me-L}function lt(y,L){let W=1<<L-1;for(;(y&W)!==0;)W=W>>1;return(y&W-1)+W}function Le(y,L,W,Q,Y){let xe=Q;for(;xe>0;)xe-=W,y[L+xe]=Y}function Se(y,L,W){let Q=L,Y=1<<Q-W;for(;Q<15&&(Y-=y[Q],!(Y<=0));)Q++,Y=Y<<1;return Q-W}function he(y,L,W,Q,Y){let xe=y[L],Te=new Int32Array(Y),Me=new Int32Array(16),Ze=new Int32Array(16);for(let ct=0;ct<Y;++ct)Me[Q[ct]]++;Ze[1]=0;for(let ct=1;ct<15;++ct)Ze[ct+1]=Ze[ct]+Me[ct];for(let ct=0;ct<Y;++ct)Q[ct]!==0&&(Te[Ze[Q[ct]]++]=ct);let ot=W,et=1<<ot,ut=et;if(Ze[15]===1){for(let ct=0;ct<ut;++ct)y[xe+ct]=Te[0];return ut}let wt=0,yt=0,fn=1;for(let ct=1;ct<=W;++ct)for(fn=fn<<1;Me[ct]>0;)Le(y,xe+wt,fn,et,ct<<16|Te[yt++]),wt=lt(wt,ct),Me[ct]--;let ci=ut-1,Rs=-1,Ln=xe;fn=1;for(let ct=W+1;ct<=15;++ct)for(fn=fn<<1;Me[ct]>0;)(wt&ci)!==Rs&&(Ln+=et,ot=Se(Me,ct,W),et=1<<ot,ut+=et,Rs=wt&ci,y[xe+Rs]=ot+W<<16|Ln-xe-Rs),Le(y,Ln+(wt>>W),fn,et,ct-W<<16|Te[yt++]),wt=lt(wt,ct),Me[ct]--;return ut}function ae(y){if(y.endOfStreamReached!==0)return Ve(y)>=-2?0:It(y,-16);let L=y.halfOffset<<1,W=4096-L;for(y.byteBuffer.copyWithin(0,L,4096),y.halfOffset=0;W<4096;){let Q=4096-W,Y=yv(y,y.byteBuffer,W,Q);if(Y<-1)return Y;if(Y<=0){y.endOfStreamReached=1,y.tailBytes=W,W+=1;break}W+=Y}return Ce(y,W),0}function me(y,L){if(y.endOfStreamReached===0)return 0;let W=(y.halfOffset<<1)+(y.bitOffset+7>>3)-4;return W>y.tailBytes?It(y,-13):L!==0&&W!==y.tailBytes?It(y,-17):0}function ge(y,L){let W=y.accumulator32>>>y.bitOffset&(1<<L)-1;return y.bitOffset+=L,W}function qe(y,L){let W=ge(y,16);return y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16,W|ge(y,L-16)<<16}function ye(y){return y.byteBuffer=new Int8Array(4160),y.accumulator32=0,y.shortBuffer=new Int16Array(2080),y.bitOffset=32,y.halfOffset=2048,y.endOfStreamReached=0,Re(y)}function Re(y){if(y.halfOffset>2030){let W=ae(y);if(W!==0)return W}let L=me(y,0);return L!==0?L:(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16,y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16,0)}function Fe(y){return y.bitOffset===32?Re(y):0}function Ge(y){let L=32-y.bitOffset&7;return L!==0&&ge(y,L)!==0?It(y,-5):0}function Ve(y){let L=2048;return y.endOfStreamReached!==0&&(L=y.tailBytes+1>>1),L-y.halfOffset}function ke(y,L,W,Q){let Y=W,xe=Q;if((y.bitOffset&7)!==0)return It(y,-30);for(;y.bitOffset!==32&&xe!==0;)L[Y++]=y.accumulator32>>>y.bitOffset,y.bitOffset+=8,xe--;if(xe===0)return 0;let Te=Math.min(Ve(y),xe>>1);if(Te>0){let Me=y.halfOffset<<1,Ze=Te<<1;L.set(y.byteBuffer.subarray(Me,Me+Ze),Y),Y+=Ze,xe-=Ze,y.halfOffset+=Te}if(xe===0)return 0;if(Ve(y)>0){for(y.bitOffset>=16&&(y.accumulator32=y.shortBuffer[y.halfOffset++]<<16|y.accumulator32>>>16,y.bitOffset-=16);xe!==0;)L[Y++]=y.accumulator32>>>y.bitOffset,y.bitOffset+=8,xe--;return me(y,0)}for(;xe>0;){let Me=yv(y,L,Y,xe);if(Me<-1)return Me;if(Me<=0)return It(y,-16);Y+=Me,xe-=Me}return 0}function Ce(y,L){let W=y.byteBuffer,Q=L>>1,Y=y.shortBuffer;for(let xe=0;xe<Q;++xe)Y[xe]=W[xe*2]&255|(W[xe*2+1]&255)<<8}let Ue=new Int32Array(2048);function we(y,L,W){for(let Y=0;Y<256;++Y)y[Y]=Y&63,y[512+Y]=Y>>2,y[1792+Y]=2+(Y>>6);for(let Y=0;Y<128;++Y)y[1024+Y]=4*(L.charCodeAt(Y)-32);for(let Y=0;Y<64;++Y)y[1152+Y]=Y&1,y[1216+Y]=2+(Y&1);let Q=1280;for(let Y=0;Y<19;++Y){let xe=Y&3,Te=W.charCodeAt(Y)-32;for(let Me=0;Me<Te;++Me)y[Q++]=xe}for(let Y=0;Y<16;++Y)y[1792+Y]=1,y[2032+Y]=6;y[1792]=0,y[2047]=7;for(let Y=0;Y<256;++Y)y[1536+Y]=y[1792+Y]<<3}we(Ue,` !! ! \"#$##%#$&'##(#)#++++++++++((&*'##,---,---,-----,-----,-----&#'###.///.///./////./////./////&#'# `,\"A/* ': & : $ \\x81 @\");function Ne(){this.ringBuffer=new Int8Array(0),this.contextModes=new Int8Array(0),this.contextMap=new Int8Array(0),this.distContextMap=new Int8Array(0),this.distExtraBits=new Int8Array(0),this.output=new Int8Array(0),this.byteBuffer=new Int8Array(0),this.shortBuffer=new Int16Array(0),this.intBuffer=new Int32Array(0),this.rings=new Int32Array(0),this.blockTrees=new Int32Array(0),this.literalTreeGroup=new Int32Array(0),this.commandTreeGroup=new Int32Array(0),this.distanceTreeGroup=new Int32Array(0),this.distOffset=new Int32Array(0),this.accumulator64=0,this.runningState=0,this.nextRunningState=0,this.accumulator32=0,this.bitOffset=0,this.halfOffset=0,this.tailBytes=0,this.endOfStreamReached=0,this.metaBlockLength=0,this.inputEnd=0,this.isUncompressed=0,this.isMetadata=0,this.literalBlockLength=0,this.numLiteralBlockTypes=0,this.commandBlockLength=0,this.numCommandBlockTypes=0,this.distanceBlockLength=0,this.numDistanceBlockTypes=0,this.pos=0,this.maxDistance=0,this.distRbIdx=0,this.trivialLiteralContext=0,this.literalTreeIdx=0,this.commandTreeIdx=0,this.j=0,this.insertLength=0,this.contextMapSlice=0,this.distContextMapSlice=0,this.contextLookupOffset1=0,this.contextLookupOffset2=0,this.distanceCode=0,this.numDirectDistanceCodes=0,this.distancePostfixBits=0,this.distance=0,this.copyLength=0,this.maxBackwardDistance=0,this.maxRingBufferSize=0,this.ringBufferSize=0,this.expectedTotalSize=0,this.outputOffset=0,this.outputLength=0,this.outputUsed=0,this.ringBufferBytesWritten=0,this.ringBufferBytesReady=0,this.isEager=0,this.isLargeWindow=0,this.cdNumChunks=0,this.cdTotalSize=0,this.cdBrIndex=0,this.cdBrOffset=0,this.cdBrLength=0,this.cdBrCopied=0,this.cdChunks=new Array(0),this.cdChunkOffsets=new Int32Array(0),this.cdBlockBits=0,this.cdBlockMap=new Int8Array(0),this.input=new qi(new Int8Array(0)),this.ringBuffer=new Int8Array(0),this.rings=new Int32Array(10),this.rings[0]=16,this.rings[1]=15,this.rings[2]=11,this.rings[3]=4}let gt=new Int8Array(0),it=new Int32Array(32),Nt=new Int32Array(32);function wn(y,L){let W=it,Q=Nt;for(let xe=0;xe<L.length;++xe)Q[xe]=L[xe];let Y=0;for(let xe=0;xe<L.length;++xe){W[xe]=Y;let Te=Q[xe];Te!==0&&(Y+=xe<<(Te&31))}for(let xe=L.length;xe<32;++xe)W[xe]=Y;gt=y}function en(y,L,W,Q,Y,xe){let Te=Z4(L+W),Me=kv(Q),Ze=0,ot=Me.length>>1;for(let et=0;et<ot;++et){let ut=Me[2*et]-36,wt=Me[2*et+1]-36;for(let yt=0;yt<ut;++yt)Te[Ze]=Te[Ze]^3,Ze++;for(let yt=0;yt<wt;++yt)Te[Ze]=Te[Ze]^236,Ze++}for(let et=0;et<xe.length;++et)Y[et]=xe.charCodeAt(et)-65;y.set(Te)}let xn=new Int8Array(122784),Wt=new Int32Array(25);en(xn,'wjnfgltmojefofewab`h`lgfgbwbpkltlmozpjwf`jwzlsfmivpwojhfeqfftlqhwf{wzfbqlufqalgzolufelqnallhsobzojufojmfkfosklnfpjgfnlqftlqgolmdwkfnujftejmgsbdfgbzpevookfbgwfqnfb`kbqfbeqlnwqvfnbqhbaofvslmkjdkgbwfobmgmftpfufmmf{w`bpfalwkslpwvpfgnbgfkbmgkfqftkbwmbnfOjmhaoldpjyfabpfkfognbhfnbjmvpfq$*#(klogfmgptjwkMftpqfbgtfqfpjdmwbhfkbufdbnfpffm`boosbwktfoosovpnfmvejonsbqwiljmwkjpojpwdllgmffgtbzptfpwilapnjmgboploldlqj`kvpfpobpwwfbnbqnzellghjmdtjoofbpwtbqgafpwejqfSbdfhmltbtbz-smdnlufwkbmolbgdjufpfoemlwfnv`keffgnbmzql`hj`lmlm`follhkjgfgjfgKlnfqvofklpwbib{jmel`ovaobtpofppkboeplnfpv`kylmf233&lmfp`bqfWjnfqb`faovfelvqtffheb`fklsfdbufkbqgolpwtkfmsbqhhfswsbpppkjsqllnKWNOsobmWzsfglmfpbufhffseobdojmhplogejufwllhqbwfwltmivnswkvpgbqh`bqgejofefbqpwbzhjoowkbweboobvwlfufq-`lnwbohpklsulwfgffsnlgfqfpwwvqmalqmabmgefooqlpfvqo+phjmqlof`lnfb`wpbdfpnffwdlog-isdjwfnubqzefowwkfmpfmggqlsUjft`lsz2-3!?,b=pwlsfopfojfpwlvqsb`h-djesbpw`pp<dqbznfbm%dw8qjgfpklwobwfpbjgqlbgubq#effoilkmqj`hslqwebpw$VB.gfbg?,a=sllqajoowzsfV-P-tllgnvpw1s{8JmelqbmhtjgftbmwtbooofbgX3^8sbvotbufpvqf\\'+$ tbjwnbppbqnpdlfpdbjmobmdsbjg\"..#ol`hvmjwqllwtbohejqntjef{no!plmdwfpw13s{hjmgqltpwlloelmwnbjopbefpwbqnbsp`lqfqbjmeoltabazpsbmpbzp7s{85s{8bqwpellwqfbotjhjkfbwpwfswqjslqd,obhftfbhwlogElqn`bpwebmpabmhufqzqvmpivozwbph2s{8dlbodqftpoltfgdfjg>!pfwp6s{8-ip<73s{je#+pllmpfbwmlmfwvafyfqlpfmwqffgeb`wjmwldjewkbqn2;s{`bnfkjooalogyllnuljgfbpzqjmdejoosfbhjmjw`lpw0s{8ib`hwbdpajwpqloofgjwhmftmfbq?\"..dqltIPLMgvwzMbnfpbofzlv#olwpsbjmibyy`logfzfpejpkttt-qjphwbapsqfu23s{qjpf16s{Aovfgjmd033/abooelqgfbqmtjogal{-ebjqob`hufqpsbjqivmfwf`kje+\"sj`hfujo\\'+! tbqnolqgglfpsvoo/333jgfbgqbtkvdfpslwevmgavqmkqfe`foohfzpwj`hklvqolppevfo21s{pvjwgfboQPP!bdfgdqfzDFW!fbpfbjnpdjqobjgp;s{8mbuzdqjgwjsp :::tbqpobgz`bqp*8#~sks<kfoowbootklnyk9\t),\u000E\t#233kboo-\t\tB4s{8svpk`kbw3s{8`qft),?,kbpk46s{eobwqbqf#%%#wfoo`bnslmwlobjgnjppphjswfmwejmfnbofdfwpsolw733/\u000E\t\u000E\t`lloeffw-sks?aq=fqj`nlpwdvjgafoogfp`kbjqnbwkbwln,jnd% ;1ov`h`fmw3338wjmzdlmfkwnopfoogqvdEQFFmlgfmj`h<jg>olpfmvooubpwtjmgQPP#tfbqqfozaffmpbnfgvhfmbpb`bsftjpkdvoeW109kjwppolwdbwfhj`haovqwkfz26s{$$*8*8!=npjftjmpajqgplqwafwbpffhW2;9lqgpwqffnboo53s{ebqn\u000ElupalzpX3^-$*8!SLPWafbqhjgp*8~~nbqzwfmg+VH*rvbgyk9\\n.pjy....sqls$*8\u000EojewW2:9uj`fbmgzgfaw=QPPsllomf`haoltW259gllqfuboW249ofwpebjolqbosloomlub`lopdfmf#\u000Elxplewqlnfwjooqlpp?k0=slvqebgfsjmh?wq=njmj*\\x7F\"+njmfyk9\u0004abqpkfbq33*8njoh#..=jqlmeqfggjphtfmwpljosvwp,ip,klozW119JPAMW139bgbnpffp?k1=iplm$/#$`lmwW129#QPPollsbpjbnllm?,s=plvoOJMFelqw`bqwW279?k2=;3s{\"..?:s{8W379njhf975Ymj`fjm`kZlqhqj`fyk9\\b$**8svqfnbdfsbqbwlmfalmg904Y\\\\le\\\\$^*8333/yk9\\vwbmhzbqgaltoavpk965YIbub03s{\t\\x7F~\t&@0&907YifeeF[SJ`bpkujpbdloepmltyk9\u0005rvfq-`pppj`hnfbwnjm-ajmggfookjqfsj`pqfmw905YKWWS.132elwltloeFMG#{al{967YALGZgj`h8\t~\tf{jw906Yubqpafbw$~*8gjfw:::8bmmf~~?,Xj^-Obmdhn.^tjqfwlzpbggppfbobof{8\t\\n~f`klmjmf-lqd336*wlmziftppbmgofdpqlle333*#133tjmfdfbqgldpallwdbqz`vwpwzofwfnswjlm-{no`l`hdbmd\\'+$-63s{Sk-Gnjp`bobmolbmgfphnjofqzbmvmj{gjp`*8~\tgvpw`ojs*-\t\t43s{.133GUGp4^=?wbsfgfnlj((*tbdffvqlskjolswpklofEBRpbpjm.15WobapsfwpVQO#avoh`llh8~\u000E\tKFBGX3^*baaqivbm+2:;ofpkwtjm?,j=plmzdvzpev`hsjsf\\x7F.\t\"331*mgltX2^8X^8\tOld#pbow\u000E\t\\n\\nabmdwqjnabwk*x\u000E\t33s{\t~*8hl9\\0effpbg=\u000Ep9,,#X^8wloosovd+*x\tx\u000E\t#-ip$133sgvboalbw-ISD*8\t~rvlw*8\t\t$*8\t\u000E\t~\u000E1327132613251324132;132:13131312131113101317131613151314131;131:130313021301130013071306130513041320132113221323133:133;133413351336133713301331133213332:::2::;2::42::52::62::72::02::12::22::32:;:2:;;2:;42:;52:;62:;72:;02:;12:;22:;32:4:2:4;2:442:452:462:472:402:412:422:432:5:2:5;2:542:552:562:572:502:512:522:532:6:2:6;2:642:652:662:672:602:612:622:632333231720:73333::::`lnln/Mpfpwffpwbsfqlwlglkb`f`bgbb/]lajfmg/Abbp/Aujgb`bpllwqlelqlplollwqb`vbogjilpjgldqbmwjslwfnbgfafbodlrv/Efpwlmbgbwqfpsl`l`bpbabilwlgbpjmlbdvbsvfpvmlpbmwfgj`fovjpfoobnbzlylmbbnlqsjpllaqb`oj`foolgjlpklqb`bpj<[<\\\\<Q<\\\\<R<P=l<\\\\=l=o=n<\\\\<Q<Y<S<R<R=n<T<[<Q<R<X<R=n<R<Z<Y<R<Q<T=i<q<\\\\<Y<Y<]=g<P=g<~=g=m<R<^=g<^<R<q<R<R<]<s<R<W<T<Q<T<L<H<q<Y<p=g=n=g<r<Q<T<P<X<\\\\<{<\\\\<x<\\\\<q=o<r<]=n<Y<t<[<Y<U<Q=o<P<P<N=g=o<Z5m5f4O5j5i4K5i4U5o5h4O5d4]4C5f4K5m5e5k5d5h5i5h5o4K5d5h5k4D4_4K5h4I5j5k5f4O5f5n4C5k5h4G5i4D5k5h5d5h5f4D5h4K5f4D5o4X5f4K5i4O5i5j4F4D5f5h5j4A4D5k5i5i4X5d4Xejqpwujgflojdkwtlqognfgjbtkjwf`olpfaob`hqjdkwpnbooallhpsob`fnvpj`ejfoglqgfqsljmwubovfofufowbaofalbqgklvpfdqlvstlqhpzfbqppwbwfwlgbztbwfqpwbqwpwzofgfbwksltfqsklmfmjdkwfqqlqjmsvwbalvwwfqnpwjwofwllopfufmwol`bowjnfpobqdftlqgpdbnfppklqwpsb`fel`vp`ofbqnlgfoaol`hdvjgfqbgjlpkbqftlnfmbdbjmnlmfzjnbdfmbnfpzlvmdojmfpobwfq`lolqdqffmeqlmw%bns8tbw`kelq`fsqj`fqvofpafdjmbewfqujpjwjppvfbqfbpafoltjmgf{wlwboklvqpobafosqjmwsqfppavjowojmhppsffgpwvgzwqbgfelvmgpfmpfvmgfqpkltmelqnpqbmdfbggfgpwjoonlufgwbhfmbalufeobpkej{fglewfmlwkfqujftp`kf`hofdboqjufqjwfnprvj`hpkbsfkvnbmf{jpwdljmdnlujfwkjqgabpj`sfb`fpwbdftjgwkoldjmjgfbptqlwfsbdfpvpfqpgqjufpwlqfaqfbhplvwkulj`fpjwfpnlmwktkfqfavjogtkj`kfbqwkelqvnwkqffpslqwsbqwz@oj`holtfqojufp`obppobzfqfmwqzpwlqzvpbdfplvmg`lvqwzlvq#ajqwkslsvswzsfpbssozJnbdfafjmdvssfqmlwfpfufqzpkltpnfbmpf{wqbnbw`kwqb`hhmltmfbqozafdbmpvsfqsbsfqmlqwkofbqmdjufmmbnfgfmgfgWfqnpsbqwpDqlvsaqbmgvpjmdtlnbmebopfqfbgzbvgjlwbhfptkjof-`ln,ojufg`bpfpgbjoz`kjogdqfbwivgdfwklpfvmjwpmfufqaqlbg`lbpw`lufqbssofejofp`z`ofp`fmfsobmp`oj`htqjwfrvffmsjf`ffnbjoeqbnflogfqsklwlojnjw`b`kf`jujop`boffmwfqwkfnfwkfqfwlv`kalvmgqlzbobphfgtklofpjm`fpwl`h#mbnfebjwkkfbqwfnswzleefqp`lsfltmfgnjdkwboavnwkjmhaollgbqqbznbilqwqvpw`bmlmvmjlm`lvmwubojgpwlmfPwzofOldjmkbsszl``vqofew9eqfpkrvjwfejonpdqbgfmffgpvqabmejdkwabpjpklufqbvwl8qlvwf-kwnonj{fgejmboZlvq#pojgfwlsj`aqltmbolmfgqbtmpsojwqfb`kQjdkwgbwfpnbq`krvlwfdllgpOjmhpglvawbpzm`wkvnaboolt`kjfezlvwkmlufo23s{8pfqufvmwjokbmgp@kf`hPsb`frvfqzibnfpfrvbowtj`f3/333Pwbqwsbmfoplmdpqlvmgfjdkwpkjewtlqwkslpwpofbgptffhpbuljgwkfpfnjofpsobmfpnbqwboskbsobmwnbqhpqbwfpsobzp`objnpbofpwf{wppwbqptqlmd?,k0=wkjmd-lqd,nvowjkfbqgSltfqpwbmgwlhfmplojg+wkjpaqjmdpkjsppwbeewqjfg`boopevoozeb`wpbdfmwWkjp#,,..=bgnjmfdzswFufmw26s{8Fnbjowqvf!`qlpppsfmwaoldpal{!=mlwfgofbuf`kjmbpjyfpdvfpw?,k7=qlalwkfbuzwqvf/pfufmdqbmg`qjnfpjdmpbtbqfgbm`fskbpf=?\"..fm\\\\VP% 0:8133s{\\\\mbnfobwjmfmilzbib{-bwjlmpnjwkV-P-#klogpsfwfqjmgjbmbu!=`kbjmp`lqf`lnfpgljmdsqjlqPkbqf2::3pqlnbmojpwpibsbmeboopwqjboltmfqbdqff?,k1=bavpfbofqwlsfqb!.,,T`bqgpkjoopwfbnpSklwlwqvwk`ofbm-sks<pbjmwnfwboolvjpnfbmwsqlleaqjfeqlt!=dfmqfwqv`hollhpUbovfEqbnf-mfw,..=\t?wqz#x\tubq#nbhfp`lpwpsobjmbgvowrvfpwwqbjmobalqkfosp`bvpfnbdj`nlwlqwkfjq163s{ofbpwpwfsp@lvmw`lvogdobpppjgfpevmgpklwfobtbqgnlvwknlufpsbqjpdjufpgvw`kwf{bpeqvjwmvoo/\\x7F\\x7FX^8wls!=\t?\"..SLPW!l`fbm?aq,=eollqpsfbhgfswk#pjyfabmhp`bw`k`kbqw13s{8bojdmgfboptlvog63s{8vqo>!sbqhpnlvpfNlpw#---?,bnlmdaqbjmalgz#mlmf8abpfg`bqqzgqbewqfefqsbdf\\\\klnf-nfwfqgfobzgqfbnsqlufiljmw?,wq=gqvdp?\"..#bsqjojgfboboofmf{b`welqwk`lgfpoldj`Ujft#pffnpaobmhslqwp#+133pbufg\\\\ojmhdlbopdqbmwdqffhklnfpqjmdpqbwfg03s{8tklpfsbqpf+*8!#Aol`hojmv{ilmfpsj{fo$*8!=*8je+.ofewgbujgklqpfEl`vpqbjpfal{fpWqb`hfnfmw?,fn=abq!=-pq`>wltfqbow>!`baofkfmqz17s{8pfwvsjwbozpkbqsnjmlqwbpwftbmwpwkjp-qfpfwtkffodjqop,`pp,233&8`ovappwveeajaofulwfp#2333hlqfb~*8\u000E\tabmgprvfvf>#x~8;3s{8`hjmdx\u000E\t\\n\\nbkfbg`ol`hjqjpkojhf#qbwjlpwbwpElqn!zbkll*X3^8Balvwejmgp?,k2=gfavdwbphpVQO#>`foop~*+*821s{8sqjnfwfoopwvqmp3{533-isd!psbjmafb`kwb{fpnj`qlbmdfo..=?,djewppwfuf.ojmhalgz-~*8\t\\nnlvmw#+2::EBR?,qldfqeqbmh@obpp1;s{8effgp?k2=?p`lwwwfpwp11s{8gqjmh*#\\x7F\\x7F#oftjppkboo 30:8#elq#olufgtbpwf33s{8ib9\u000Fnpjnlm?elmwqfsoznffwpvmwfq`kfbswjdkwAqbmg*#\">#gqfpp`ojspqllnplmhfznlajonbjm-Mbnf#sobwfevmmzwqffp`ln,!2-isdtnlgfsbqbnPWBQWofew#jggfm/#132*8\t~\telqn-ujqvp`kbjqwqbmptlqpwSbdfpjwjlmsbw`k?\"..\tl.`b`ejqnpwlvqp/333#bpjbmj((*xbglaf$*X3^jg>23alwk8nfmv#-1-nj-smd!hfujm`lb`k@kjogaqv`f1-isdVQO*(-isd\\x7Fpvjwfpoj`fkbqqz213!#ptffwwq=\u000E\tmbnf>gjfdlsbdf#ptjpp..=\t\t eee8!=Old-`ln!wqfbwpkffw*#%%#27s{8poffsmwfmwejofgib9\u000Fojg>!`Mbnf!tlqpfpklwp.al{.gfowb\t%ow8afbqp97;Y?gbwb.qvqbo?,b=#psfmgabhfqpklsp>#!!8sks!=`wjlm20s{8aqjbmkfoolpjyf>l>&1E#iljmnbzaf?jnd#jnd!=/#eipjnd!#!*X3^NWlsAWzsf!mftozGbmph`yf`kwqbjohmltp?,k6=ebr!=yk.`m23*8\t.2!*8wzsf>aovfpwqvozgbujp-ip$8=\u000E\t?\"pwffo#zlv#k1=\u000E\telqn#ifpvp233&#nfmv-\u000E\t\\n\u000E\ttbofpqjphpvnfmwggjmda.ojhwfb`kdje!#ufdbpgbmphffpwjpkrjspvlnjplaqfgfpgffmwqfwlglpsvfgfb/]lpfpw/Mwjfmfkbpwblwqlpsbqwfglmgfmvfulkb`fqelqnbnjpnlnfilqnvmglbrv/Ag/Abpp/_olbzvgbef`kbwlgbpwbmwlnfmlpgbwlplwqbppjwjlnv`klbklqbovdbqnbzlqfpwlpklqbpwfmfqbmwfpelwlpfpwbpsb/Apmvfubpbovgelqlpnfgjlrvjfmnfpfpslgfq`kjofpfq/Muf`fpgf`jqilp/Efpwbqufmwbdqvslkf`klfoolpwfmdlbnjdl`lpbpmjufodfmwfnjpnbbjqfpivojlwfnbpkb`jbebulqivmjlojaqfsvmwlavfmlbvwlqbaqjoavfmbwf{wlnbqylpbafqojpwbovfdl`/_nlfmfqlivfdlsfq/Vkbafqfpwlzmvm`bnvifqubolqevfqbojaqldvpwbjdvboulwlp`bplpdv/Absvfglplnlpbujplvpwfggfafmml`kfavp`bebowbfvqlppfqjfgj`kl`vqpl`obuf`bpbpof/_msobylobqdllaqbpujpwbbslzlivmwlwqbwbujpwl`qfbq`bnslkfnlp`jm`l`bqdlsjplplqgfmkb`fm/Mqfbgjp`lsfgql`fq`bsvfgbsbsfonfmlq/Vwjo`obqlilqdf`boofslmfqwbqgfmbgjfnbq`bpjdvffoobppjdol`l`kfnlwlpnbgqf`obpfqfpwlmj/]lrvfgbsbpbqabm`lkjilpujbifsbaol/Epwfujfmfqfjmlgfibqelmgl`bmbomlqwfofwqb`bvpbwlnbqnbmlpovmfpbvwlpujoobufmglsfpbqwjslpwfmdbnbq`loofubsbgqfvmjglubnlpylmbpbnalpabmgbnbqjbbavplnv`kbpvajqqjlibujujqdqbgl`kj`bboo/Ailufmgj`kbfpwbmwbofppbojqpvfolsfplpejmfpoobnbavp`l/Epwboofdbmfdqlsobybkvnlqsbdbqivmwbglaofjpobpalopbab/]lkbaobov`kb/mqfbgj`fmivdbqmlwbpuboofboo/M`bqdbglolqbabilfpw/Edvpwlnfmwfnbqjlejqnb`lpwlej`kbsobwbkldbqbqwfpofzfpbrvfonvpflabpfpsl`lpnjwbg`jfol`kj`lnjfgldbmbqpbmwlfwbsbgfafpsobzbqfgfppjfwf`lqwf`lqfbgvgbpgfpflujfilgfpfbbdvbp%rvlw8glnbjm`lnnlmpwbwvpfufmwpnbpwfqpzpwfnb`wjlmabmmfqqfnlufp`qloovsgbwfdolabonfgjvnejowfqmvnafq`kbmdfqfpvowsvaoj`p`qffm`kllpfmlqnbowqbufojppvfpplvq`fwbqdfwpsqjmdnlgvofnlajofptjw`ksklwlpalqgfqqfdjlmjwpfoepl`jbob`wjuf`lovnmqf`lqgelooltwjwof=fjwkfqofmdwkebnjozeqjfmgobzlvwbvwklq`qfbwfqfujftpvnnfqpfqufqsobzfgsobzfqf{sbmgsloj`zelqnbwglvaofsljmwppfqjfpsfqplmojujmdgfpjdmnlmwkpelq`fpvmjrvftfjdkwsflsoffmfqdzmbwvqfpfbq`kejdvqfkbujmd`vpwlnleepfwofwwfqtjmgltpvanjwqfmgfqdqlvspvsolbgkfbowknfwklgujgflpp`klloevwvqfpkbgltgfabwfubovfpLaif`wlwkfqpqjdkwpofbdvf`kqlnfpjnsofmlwj`fpkbqfgfmgjmdpfbplmqfslqwlmojmfprvbqfavwwlmjnbdfpfmbaofnlujmdobwfpwtjmwfqEqbm`fsfqjlgpwqlmdqfsfbwOlmglmgfwbjoelqnfggfnbmgpf`vqfsbppfgwlddofsob`fpgfuj`fpwbwj``jwjfppwqfbnzfooltbwwb`hpwqffweojdkwkjggfmjmel!=lsfmfgvpfevouboofz`bvpfpofbgfqpf`qfwpf`lmggbnbdfpslqwpf{`fswqbwjmdpjdmfgwkjmdpfeef`wejfogppwbwfpleej`fujpvbofgjwlqulovnfQfslqwnvpfvnnlujfpsbqfmwb``fppnlpwoznlwkfq!#jg>!nbqhfwdqlvmg`kbm`fpvqufzafelqfpznalonlnfmwpsff`knlwjlmjmpjgfnbwwfq@fmwfqlaif`wf{jpwpnjggofFvqlsfdqltwkofdb`znbmmfqfmlvdk`bqffqbmptfqlqjdjmslqwbo`ojfmwpfof`wqbmgln`olpfgwlsj`p`lnjmdebwkfqlswjlmpjnsozqbjpfgfp`bsf`klpfm`kvq`kgfejmfqfbplm`lqmfqlvwsvwnfnlqzjeqbnfsloj`fnlgfopMvnafqgvqjmdleefqppwzofphjoofgojpwfg`boofgpjoufqnbqdjmgfofwfafwwfqaqltpfojnjwpDolabopjmdoftjgdfw`fmwfqavgdfwmltqbs`qfgjw`objnpfmdjmfpbefwz`klj`fpsjqjw.pwzofpsqfbgnbhjmdmffgfgqvppjbsofbpff{wfmwP`qjswaqlhfmbooltp`kbqdfgjujgfeb`wlqnfnafq.abpfgwkflqz`lmejdbqlvmgtlqhfgkfosfg@kvq`kjnsb`wpklvogbotbzpoldl!#alwwlnojpw!=*xubq#sqfej{lqbmdfKfbgfq-svpk+`lvsofdbqgfmaqjgdfobvm`kQfujftwbhjmdujpjlmojwwofgbwjmdAvwwlmafbvwzwkfnfpelqdlwPfbq`kbm`klqbonlpwolbgfg@kbmdfqfwvqmpwqjmdqfolbgNlajofjm`lnfpvssozPlvq`flqgfqpujftfg%maps8`lvqpfBalvw#jpobmg?kwno#`llhjfmbnf>!bnbylmnlgfqmbguj`fjm?,b=9#Wkf#gjboldklvpfpAFDJM#Nf{j`lpwbqwp`fmwqfkfjdkwbggjmdJpobmgbppfwpFnsjqfP`kllofeelqwgjqf`wmfbqoznbmvboPfof`w-\t\tLmfiljmfgnfmv!=SkjojsbtbqgpkbmgofjnslqwLeej`fqfdbqgphjoopmbwjlmPslqwpgfdqfftffhoz#+f-d-afkjmggl`wlqolddfgvmjwfg?,a=?,afdjmpsobmwpbppjpwbqwjpwjppvfg033s{\\x7F`bmbgbbdfm`zp`kfnfqfnbjmAqbyjopbnsofoldl!=afzlmg.p`bofb``fswpfqufgnbqjmfEllwfq`bnfqb?,k2=\t\\\\elqn!ofbufppwqfpp!#,=\u000E\t-dje!#lmolbgolbgfqL{elqgpjpwfqpvqujuojpwfmefnbofGfpjdmpjyf>!bssfbowf{w!=ofufopwkbmhpkjdkfqelq`fgbmjnbobmzlmfBeqj`bbdqffgqf`fmwSflsof?aq#,=tlmgfqsqj`fpwvqmfg\\x7F\\x7F#x~8nbjm!=jmojmfpvmgbztqbs!=ebjofg`fmpvpnjmvwfafb`lmrvlwfp263s{\\x7Ffpwbwfqfnlwffnbjo!ojmhfgqjdkw8pjdmboelqnbo2-kwnopjdmvssqjm`feolbw9-smd!#elqvn-B``fppsbsfqpplvmgpf{wfmgKfjdkwpojgfqVWE.;!%bns8#Afelqf-#TjwkpwvgjlltmfqpnbmbdfsqlejwiRvfqzbmmvbosbqbnpalvdkwebnlvpdlldofolmdfqj((*#xjpqbfopbzjmdgf`jgfklnf!=kfbgfqfmpvqfaqbm`ksjf`fpaol`h8pwbwfgwls!=?qb`jmdqfpjyf..%dw8sb`jwzpf{vboavqfbv-isd!#23/333lawbjmwjwofpbnlvmw/#Jm`-`lnfgznfmv!#ozqj`pwlgbz-jmgffg`lvmwz\\\\oldl-EbnjozollhfgNbqhfwopf#jeSobzfqwvqhfz*8ubq#elqfpwdjujmdfqqlqpGlnbjm~fopfxjmpfqwAold?,ellwfqoldjm-ebpwfqbdfmwp?algz#23s{#3sqbdnbeqjgbzivmjlqgloobqsob`fg`lufqpsovdjm6/333#sbdf!=alpwlm-wfpw+bubwbqwfpwfg\\\\`lvmwelqvnpp`kfnbjmgf{/ejoofgpkbqfpqfbgfqbofqw+bssfbqPvanjwojmf!=algz!=\t)#WkfWklvdkpffjmdifqpfzMftp?,ufqjezf{sfqwjmivqztjgwk>@llhjfPWBQW#b`qlpp\\\\jnbdfwkqfbgmbwjufsl`hfwal{!=\tPzpwfn#Gbujg`bm`fqwbaofpsqlufgBsqjo#qfboozgqjufqjwfn!=nlqf!=albqgp`lolqp`bnsvpejqpw#\\x7F\\x7F#X^8nfgjb-dvjwbqejmjpktjgwk9pkltfgLwkfq#-sks!#bppvnfobzfqptjoplmpwlqfpqfojfeptfgfm@vpwlnfbpjoz#zlvq#Pwqjmd\t\tTkjowbzolq`ofbq9qfplqweqfm`kwklvdk!*#(#!?algz=avzjmdaqbmgpNfnafqmbnf!=lssjmdpf`wlq6s{8!=upsb`fslpwfqnbilq#`leeffnbqwjmnbwvqfkbssfm?,mbu=hbmpbpojmh!=Jnbdfp>ebopftkjof#kpsb`f3%bns8#\t\tJm##sltfqSlophj.`lolqilqgbmAlwwlnPwbqw#.`lvmw1-kwnomftp!=32-isdLmojmf.qjdkwnjoofqpfmjlqJPAM#33/333#dvjgfpubovf*f`wjlmqfsbjq-{no!##qjdkwp-kwno.aol`hqfdF{s9klufqtjwkjmujqdjmsklmfp?,wq=\u000Evpjmd#\t\\nubq#=$*8\t\\n?,wg=\t?,wq=\tabkbpbaqbpjodbofdlnbdzbqslophjpqsphj4]4C5d\\bTA\\nzk\\vBl\\bQ\\x7F\\vUm\u0005Gx\\bSM\\nmC\\bTA\twQ\\nd}\\bW@\\bTl\\bTF\ti@\tcT\\vBM\\v|j\u0004BV\tqw\tcC\\bWI\\npa\tfM\\n{Z\u0005{X\\bTF\\bVV\\bVK\t\\x7Fm\u0004kF\t[]\\bPm\\bTv\\nsI\\vpg\t[I\\bQp\u0004mx\\v_W\\n^M\\npe\\vQ}\\vGu\\nel\\npe\u0004Ch\u0004BV\\bTA\tSo\\nzk\\vGL\\vxD\\nd[\u0005Jz\u0005MY\\bQp\u0004li\\nfl\\npC\u0005{B\u0005Nt\\vwT\ti_\\bTg\u0004QQ\\n|p\\vXN\\bQS\\vxD\u0004QC\\bWZ\tpD\\vVS\\bTW\u0005Nt\u0004Yh\\nzu\u0004Kj\u0005N}\twr\tHa\\n_D\tj`\\vQ}\\vWp\\nxZ\u0004{c\tji\tBU\\nbD\u0004a|\tTn\tpV\\nZd\\nmC\\vEV\u0005{X\tc}\tTo\\bWl\\bUd\tIQ\tcg\\vxs\\nXW\twR\\vek\tc}\t]y\tJn\\nrp\\neg\\npV\\nz\\\\\u0005{W\\npl\\nz\\\\\\nzU\tPc\t`{\\bV@\\nc|\\bRw\ti_\\bVb\\nwX\tHv\u0004Su\\bTF\\v_W\\vWs\\vsI\u0005m\\x7F\\nTT\\ndc\tUS\t}f\tiZ\\bWz\tc}\u0004MD\tBe\tiD\\v@@\\bTl\\bPv\t}t\u0004Sw\u0004M`\\vnU\tkW\\ved\\nqo\\vxY\tA|\\bTz\\vy`\u0004BR\u0004BM\tia\u0004XU\\nyu\u0004n^\tfL\tiI\\nXW\tfD\\bWz\\bW@\tyj\t\\x7Fm\tav\tBN\\vb\\\\\tpD\\bTf\\nY[\tJn\\bQy\t[^\\vWc\\vyu\u0004Dl\u0004CJ\\vWj\\vHR\t`V\\vuW\tQy\\np@\\vGu\u0005pl\u0004Jm\\bW[\\nLP\\nxC\\n`m\twQ\u0005ui\u0005\\x7FR\\nbI\twQ\tBZ\tWV\u0004BR\\npg\tcg\u0005ti\u0004CW\\n_y\tRg\\bQa\\vQB\\vWc\\nYb\u0005le\\ngE\u0004Su\\nL[\tQ\\x7F\tea\tdj\\v]W\\nb~\u0004M`\twL\\bTV\\bVH\\nt\\x7F\\npl\t|b\u0005s_\\bU|\\bTa\u0004oQ\u0005lv\u0004Sk\u0004M`\\bTv\\vK}\\nfl\tcC\u0004oQ\u0004BR\tHk\t|d\\bQp\tHK\tBZ\\vHR\\bPv\\vLx\\vEZ\\bT\\x7F\\bTv\tiD\u0005oD\u0005MU\\vwB\u0004Su\u0005k`\u0004St\\ntC\tPl\tKg\\noi\tjY\\vxY\u0004h}\\nzk\\bWZ\t\\x7Fm\\ve`\tTB\tfE\\nzk\t`z\u0004Yh\\nV|\tHK\tAJ\tAJ\\bUL\tp\\\\\tql\\nYc\u0004Kd\\nfy\u0004Yh\t[I\\vDg\u0004Jm\\n]n\\nlb\\bUd\\n{Z\tlu\tfs\u0004oQ\\bTW\u0004Jm\\vwB\tea\u0004Yh\u0004BC\tsb\tTn\\nzU\\n_y\\vxY\tQ]\\ngw\u0004mt\tO\\\\\\ntb\\bWW\\bQy\tmI\tV[\\ny\\\\\\naB\\vRb\twQ\\n]Q\u0004QJ\\bWg\\vWa\\bQj\\ntC\\bVH\\nYm\\vxs\\bVK\\nel\\bWI\\vxY\u0004Cq\\ntR\\vHV\\bTl\\bVw\tay\\bQa\\bVV\t}t\tdj\\nr|\tp\\\\\twR\\n{i\\nTT\t[I\ti[\tAJ\\vxs\\v_W\td{\\vQ}\tcg\tTz\tA|\tCj\\vLm\u0005N}\u0005m\\x7F\\nbK\tdZ\tp\\\\\t`V\tsV\\np@\tiD\twQ\\vQ}\\bTf\u0005ka\u0004Jm\\v@@\\bV`\tzp\\n@N\u0004Sw\tiI\tcg\\noi\u0004Su\\bVw\u0004lo\u0004Cy\tc}\\vb\\\\\tsU\u0004BA\\bWI\\bTf\\nxS\tVp\\nd|\\bTV\\vbC\tNo\u0005Ju\\nTC\t|`\\n{Z\tD]\\bU|\tc}\u0005lm\\bTl\tBv\tPl\tc}\\bQp\t\\x7Fm\\nLk\tkj\\n@N\u0004Sb\u0004KO\tj_\tp\\\\\\nzU\\bTl\\bTg\\bWI\tcf\u0004XO\\bWW\\ndz\u0004li\tBN\\nd[\\bWO\u0004MD\\vKC\tdj\tI_\\bVV\\ny\\\\\\vLm\u0005xl\txB\tkV\\vb\\\\\\vJW\\vVS\tVx\\vxD\td{\u0004MD\\bTa\t|`\\vPz\u0004R}\\vWs\u0004BM\\nsI\u0004CN\\bTa\u0004Jm\\npe\ti_\\npV\\nrh\tRd\tHv\\n~A\\nxR\\vWh\\vWk\\nxS\\vAz\\vwX\\nbI\u0004oQ\tfw\\nqI\\nV|\\nun\u0005z\\x7F\\vpg\td\\\\\\voA\u0005{D\ti_\u0005xB\\bT\\x7F\t`V\u0005qr\tTT\u0004g]\u0004CA\\vuR\tVJ\tT`\\npw\\vRb\tI_\\nCx\u0004Ro\\vsI\u0004Cj\u0004Kh\tBv\tWV\u0004BB\u0005oD\u0005{D\\nhc\u0004Km\\v^R\tQE\\n{I\\np@\\nc|\u0005Gt\tc}\u0004Dl\\nzU\u0005qN\tsV\u0005k}\tHh\\v|j\\nqo\u0005u|\tQ]\\vek\u0005\\x7FZ\u0004M`\u0004St\\npe\tdj\\bVG\\veE\t\\x7Fm\\vWc\u0004|I\\n[W\tfL\\bT\\x7F\tBZ\u0004Su\\vKa\u0004Cq\u0005Nt\u0004Y[\\nqI\\bTv\tfM\ti@\t}f\u0004B\\\\\tQy\\vBl\\bWg\u0004XD\u0005kc\\vx[\\bVV\tQ]\t\\x7Fa\tPy\\vxD\\nfI\t}f\u0005oD\tdj\tSG\u0005ls\t~D\u0004CN\\n{Z\t\\\\v\\n_D\\nhc\\vx_\u0004C[\tAJ\\nLM\tVx\u0004CI\tbj\tc^\tcF\\ntC\u0004Sx\twr\u0004XA\\bU\\\\\t|a\\vK\\\\\\bTV\\bVj\\nd|\tfs\u0004CX\\ntb\\bRw\tVx\tAE\tA|\\bT\\x7F\u0005Nt\\vDg\tVc\\bTl\u0004d@\\npo\t\\x7FM\tcF\\npe\tiZ\tBo\\bSq\\nfH\u0004l`\\bTx\\bWf\tHE\\vF{\tcO\tfD\\nlm\\vfZ\\nlm\\veU\tdG\u0004BH\\bTV\tSi\u0005MW\\nwX\\nz\\\\\t\\\\c\u0004CX\\nd}\tl}\\bQp\\bTV\tF~\\bQ\\x7F\t`i\\ng@\u0005nO\\bUd\\bTl\\nL[\twQ\tji\\ntC\t|J\\nLU\\naB\\vxY\u0004Kj\tAJ\u0005uN\ti[\\npe\u0004Sk\\vDg\\vx]\\bVb\\bVV\\nea\tkV\\nqI\\bTa\u0004Sk\\nAO\tpD\\ntb\\nts\\nyi\\bVg\ti_\\v_W\\nLk\u0005Nt\tyj\tfM\u0004R\\x7F\tiI\\bTl\\vwX\tsV\\vMl\\nyu\tAJ\\bVj\u0004KO\tWV\\vA}\\vW\\x7F\\nrp\tiD\\v|o\u0005lv\\vsI\u0004BM\td~\tCU\\bVb\u0004eV\\npC\\vwT\tj`\tc}\\vxs\\vps\\vvh\tWV\\vGg\\vAe\\vVK\\v]W\trg\\vWc\u0005F`\tBr\\vb\\\\\tdZ\\bQp\\nqI\u0004kF\\nLk\\vAR\\bWI\\bTg\tbs\tdw\\n{L\\n_y\tiZ\\bTA\tlg\\bVV\\bTl\tdk\\n`k\ta{\ti_\u0005{A\u0005wj\twN\\v@@\\bTe\ti_\\n_D\twL\\nAH\\viK\\vek\\n[]\tp_\tyj\\bTv\tUS\t[r\\n{I\\nps\u0005Gt\\vVK\\npl\u0004S}\\vWP\t|d\u0004MD\\vHV\\bT\\x7F\u0004R}\u0004M`\\bTV\\bVH\u0005lv\u0004Ch\\bW[\u0004Ke\tR{\\v^R\tab\tBZ\tVA\tB`\\nd|\\nhs\u0004Ke\tBe\u0004Oi\tR{\td\\\\\u0005nB\\bWZ\tdZ\tVJ\u0005Os\t\\x7Fm\u0004uQ\\vhZ\u0004Q@\u0004QQ\\nfI\\bW[\u0004B\\\\\u0004li\\nzU\\nMd\u0004M`\\nxS\\bVV\\n\\\\}\\vxD\t\\x7Fm\\bTp\u0004IS\\nc|\tkV\u0005i~\tV{\\vhZ\t|b\\bWt\\n@R\\voA\\vnU\\bWI\tea\tB`\tiD\tc}\tTz\u0004BR\\vQB\u0005Nj\tCP\t[I\\bTv\t`W\u0005uN\\vpg\\vpg\\vWc\tiT\tbs\twL\tU_\tc\\\\\t|h\\vKa\tNr\tfL\\nq|\\nzu\\nz\\\\\tNr\\bUg\t|b\u0004m`\\bTv\\nyd\\nrp\\bWf\tUX\u0004BV\\nzk\\nd}\twQ\t}f\u0004Ce\\ved\\bTW\\bSB\\nxU\tcn\\bTb\\ne\\x7F\ta\\\\\tSG\\bU|\\npV\\nN\\\\\u0004Kn\\vnU\tAt\tpD\\v^R\\vIr\u0004b[\tR{\tdE\\vxD\\vWK\\vWA\\bQL\\bW@\u0004Su\\bUd\\nDM\tPc\u0004CA\u0004Dl\u0004oQ\tHs\u0005wi\u0004ub\\n\\x7Fa\\bQp\u0005Ob\\nLP\\bTl\u0004Y[\\vK}\tAJ\\bQ\\x7F\u0004n^\\vsA\\bSM\\nqM\\bWZ\\n^W\\vz{\u0004S|\tfD\\bVK\\bTv\\bPv\u0004BB\tCP\u0004dF\tid\\vxs\u0004mx\\vws\tcC\\ntC\tyc\u0005M`\\vW\\x7F\\nrh\\bQp\\vxD\u0004\\\\o\\nsI\u0004_k\\nzu\u0004kF\tfD\u0004Xs\u0004XO\tjp\\bTv\u0004BS\u0005{B\tBr\\nzQ\\nbI\tc{\u0004BD\u0004BV\u0005nO\\bTF\tca\u0005Jd\tfL\tPV\tI_\\nlK\u0004`o\twX\\npa\tgu\\bP}\u0005{^\\bWf\\n{I\tBN\\npa\u0004Kl\\vpg\tcn\tfL\\vvh\u0004Cq\\bTl\\vnU\\bSq\u0004Cm\twR\\bUJ\\npe\\nyd\\nYg\u0004Cy\\vKW\tfD\\nea\u0004oQ\tj_\tBv\u0004nM\\vID\\bTa\\nzA\u0005pl\\n]n\\bTa\tR{\tfr\\n_y\\bUg\u0005{X\u0005kk\\vxD\u0004|I\u0005xl\\nfy\u0004Ce\\vwB\\nLk\\vd]\\noi\\n}h\tQ]\\npe\\bVw\u0004Hk\u0004OQ\\nzk\tAJ\\npV\\bPv\\ny\\\\\tA{\u0004Oi\\bSB\u0004XA\\veE\tjp\\nq}\tiD\u0005qN\\v^R\t\\x7Fm\tiZ\tBr\\bVg\\noi\\n\\\\X\tU_\\nc|\\vHV\\bTf\tTn\u0004\\\\N\u0004\\\\N\\nuB\u0005lv\\nyu\tTd\\bTf\\bPL\\v]W\tdG\\nA`\\nw^\\ngI\\npe\tdw\\nz\\\\\u0005ia\\bWZ\tcF\u0004Jm\\n{Z\\bWO\u0004_k\u0004Df\u0004RR\td\\\\\\bVV\\vxs\u0004BN\u0005ti\u0004lm\tTd\t]y\\vHV\tSo\\v|j\u0004XX\tA|\\vZ^\\vGu\\bTW\u0005M`\u0004kF\\vhZ\\vVK\tdG\\vBl\tay\\nxU\u0005qE\u0005nO\\bVw\\nqI\u0004CX\\ne\\x7F\tPl\\bWO\\vLm\tdL\u0005uH\u0004Cm\tdT\u0004fn\\vwB\u0005ka\\vnU\\n@M\\nyT\tHv\t\\\\}\u0004Kh\td~\u0004Yh\u0005k}\\neR\td\\\\\\bWI\t|b\tHK\tiD\\bTW\u0005MY\\npl\\bQ_\twr\\vAx\tHE\\bTg\\bSq\u0005vp\\vb\\\\\\bWO\\nOl\\nsI\\nfy\\vID\t\\\\c\\n{Z\\n^~\\npe\\nAO\tTT\\vxv\u0004k_\\bWO\\v|j\\vwB\tQy\ti@\tPl\tHa\tdZ\u0005k}\u0004ra\tUT\\vJc\\ved\\np@\tQN\\nd|\tkj\tHk\u0004M`\\noi\twr\td\\\\\\nlq\\no_\\nlb\\nL[\tac\u0004BB\u0004BH\u0004Cm\\npl\tIQ\\bVK\\vxs\\n`e\\viK\\npa\u0004Oi\tUS\\bTp\tfD\\nPG\u0005kk\u0004XA\\nz\\\\\\neg\\vWh\twR\u0005qN\\nqS\tcn\u0004lo\\nxS\\n^W\tBU\\nt\\x7F\tHE\tp\\\\\tfF\tfw\\bVV\\bW@\tak\\vVK\u0005ls\tVJ\\bVV\\veE\u0004\\\\o\\nyX\\nYm\u0004M`\u0005lL\\nd|\\nzk\tA{\u0005sE\twQ\u0004XT\\nt\\x7F\tPl\t]y\\vwT\u0005{p\u0004MD\\vb\\\\\tQ]\u0004Kj\tJn\\nAH\\vRb\tBU\tHK\t\\\\c\\nfI\u0005m\\x7F\\nqM\\n@R\tSo\\noi\u0004BT\tHv\\n_y\u0004Kh\tBZ\t]i\\bUJ\tV{\u0004Sr\\nbI\\vGg\ta_\\bTR\\nfI\\nfl\t[K\tII\u0004S|\\vuW\tiI\\bWI\\nqI\\v|j\u0004BV\\bVg\\bWZ\u0004kF\\vx]\\bTA\tab\tfr\ti@\tJd\tJd\\vps\\nAO\\bTa\u0005xu\tiD\\nzk\t|d\t|`\\bW[\tlP\tdG\\bVV\\vw}\\vqO\ti[\\bQ\\x7F\\bTz\\vVF\twN\u0005ts\tdw\\bTv\\neS\\ngi\tNr\u0005yS\\npe\\bVV\\bSq\\n`m\tyj\tBZ\\vWX\\bSB\tc\\\\\\nUR\t[J\tc_\u0004nM\\bWQ\\vAx\\nMd\tBr\u0005ui\\vxY\\bSM\\vWc\\v|j\\vxs\t}Q\tBO\\bPL\\bWW\tfM\\nAO\tPc\\veU\u0004e^\\bTg\\nqI\tac\\bPv\tcF\u0004oQ\tQ\\x7F\\vhZ\u0005ka\\nz\\\\\tiK\tBU\\n`k\tCP\u0004S|\u0004M`\\n{I\tS{\u0004_O\tBZ\u0004Zi\u0004Sk\tps\tp\\\\\\nYu\\n]s\\nxC\\bWt\\nbD\tkV\\vGu\u0005yS\\nqA\t[r\\neK\u0004M`\tdZ\u0005lL\\bUg\\bTl\\nbD\tUS\\vb\\\\\tpV\\ncc\u0004S\\\\\tct\t`z\\bPL\\vWs\\nA`\\neg\\bSq\u0005uE\u0004CR\\vDg\t`W\\vz{\\vWc\u0004Sk\u0004Sk\tbW\\bUg\tea\\nxZ\tiI\tUX\tVJ\\nqn\tS{\\vRb\\bTQ\\npl\u0005Gt\\vuW\u0005uj\\npF\\nqI\tfL\t[I\tia\u0004XO\\nyu\\vDg\\ved\tq{\u0004VG\\bQ\\x7F\u0005ka\tVj\tkV\txB\\nd|\\np@\tQN\tPc\tps\u0004]j\tkV\toU\\bTp\\nzU\u0005nB\\vB]\ta{\\bV@\\n]n\u0004m`\tcz\tR{\u0004m`\\bQa\\vwT\\bSM\u0005MY\u0005qN\tdj\u0005~s\\vQ}\u0005MY\\vMB\tBv\twR\\bRg\\vQ}\tql\\vKC\\nrm\u0005xu\u0004CC\\vwB\\vvh\tBq\u0004Xq\\npV\ti_\u0005Ob\u0005uE\\nbd\\nqo\\v{i\\nC~\tBL\\veE\u0005uH\\bVj\u0004Ey\u0004Gz\\vzR\\v{i\tcf\\n{Z\\n]n\u0004XA\\vGu\\vnU\thS\\vGI\\nCc\tHE\\bTA\tHB\u0004BH\u0004Cj\\nCc\\bTF\tHE\\nXI\tA{\\bQ\\x7F\tc\\\\\\vmO\\vWX\\nfH\\np@\u0005MY\\bTF\\nlK\tBt\\nzU\tTT\u0004Km\\vwT\\npV\\ndt\\vyI\tVx\tQ\\x7F\tRg\tTd\\nzU\\bRS\\nLM\twA\u0004nM\tTn\\ndS\t]g\\nLc\\vwB\t}t\t[I\tCP\u0004kX\\vFm\\vhZ\u0005m\\x7F\ti[\\np@\\vQ}\\vW\\x7F\t|d\\nMO\\nMd\tf_\tfD\tcJ\tHz\\vRb\tio\tPy\u0004Y[\\nxU\tct\\v@@\tww\\bPv\u0004BM\u0004FF\\ntb\u0005v|\\vKm\tBq\tBq\u0004Kh\u0004`o\\nZd\u0004XU\ti]\t|`\tSt\u0004B\\\\\\bQ\\x7F\\v_W\tTJ\\nqI\t|a\tA{\\vuP\u0004MD\tPl\\nxR\tfL\\vws\tc{\td\\\\\\bV`\\neg\tHK\u0005kc\\nd|\\bVV\\ny\\\\\u0005kc\ti]\\bVG\t`V\tss\tI_\tAE\tbs\tdu\\nel\tpD\\vW\\x7F\\nqs\u0005lv\\bSM\u0004Zi\\vVK\u0005ia\\vQB\tQ\\x7F\\n{Z\\bPt\\vKl\\nlK\\nhs\\ndS\\bVK\u0005mf\\nd^\tkV\tcO\\nc|\\bVH\t\\\\]\\bTv\\bSq\tmI\\vDg\tVJ\tcn\\ny\\\\\\bVg\\bTv\\nyX\\bTF\t]]\\bTp\\noi\\nhs\\veU\\nBf\tdj\u0005Mr\\n|p\t\\\\g\t]r\\bVb\u0005{D\\nd[\u0004XN\tfM\tO\\\\\u0005s_\tcf\tiZ\u0004XN\\vWc\tqv\\n`m\tU^\u0005oD\\nd|\\vGg\tdE\\vwf\u0004lo\u0004u}\\nd|\u0005oQ\t`i\u0004Oi\\vxD\\ndZ\\nCx\u0004Yw\\nzk\\ntb\\ngw\tyj\tB`\\nyX\\vps\\ntC\\vpP\\vqw\\bPu\\bPX\tDm\\npw\u0005Nj\tss\taG\\vxs\\bPt\\noL\u0004Gz\tOk\ti@\ti]\u0004eC\tIQ\tii\tdj\\v@J\t|d\u0005uh\\bWZ\\veU\\vnU\\bTa\tcC\u0004g]\\nzk\u0004Yh\\bVK\\nLU\\np@\\ntb\\ntR\tCj\\vNP\ti@\\bP{\\n\\\\}\\n{c\\nwX\tfL\\bVG\tc{\t|`\tAJ\t|C\tfD\u0005ln\t|d\tbs\\nqI\u0005{B\\vAx\\np@\\nzk\\vRb\u0005Os\\vWS\u0004e^\\vD_\tBv\\vWd\\bVb\\vxs\\veE\\bRw\\n]n\\n|p\\vg|\tfw\u0005kc\\bTI\u0005ka\\n\\\\T\u0004Sp\tju\\vps\\npe\u0005u|\\vGr\\bVe\tCU\u0004]M\u0004XU\\vxD\\bTa\tIQ\\vWq\tCU\tam\tdj\\bSo\u0004Sw\\vnU\u0004Ch\tQ]\u0005s_\\bPt\tfS\\bTa\t\\\\}\\n@O\u0004Yc\tUZ\\bTx\\npe\\vnU\\nzU\t|}\tiD\\nz\\\\\\bSM\\vxD\u0004BR\\nzQ\tQN\u0004]M\u0004Yh\\nLP\\vFm\\vLX\u0005vc\\vql\u0005ka\tHK\\bVb\\ntC\\nCy\\bTv\\nuV\u0004oQ\t`z\t[I\tB`\\vRb\tyj\tsb\\vWs\\bTl\tkV\\ved\\ne\\x7F\u0005lL\\vxN\t\\x7Fm\\nJn\tjY\\vxD\\bVb\\bSq\\vyu\twL\\vXL\\bTA\tpg\tAt\tnD\u0004XX\twR\\npl\\nhw\u0005yS\\nps\tcO\\bW[\\v|j\u0004XN\tsV\tp\\\\\tBe\\nb~\\nAJ\\n]e\u0005k`\u0005qN\tdw\tWV\tHE\\vEV\u0005Jz\tid\tB`\tzh\u0005E]\tfD\\bTg\u0005qN\\bTa\tja\u0004Cv\\bSM\\nhc\\bUe\u0005t_\tie\u0004g]\twQ\\nPn\\bVB\tjw\\bVg\\vbE\tBZ\\vRH\\bP{\tjp\\n\\\\}\ta_\tcC\t|a\\vD]\tBZ\ti[\tfD\\vxW\\no_\td\\\\\\n_D\\ntb\t\\\\c\tAJ\\nlK\u0004oQ\u0004lo\\vLx\\vM@\\bWZ\u0004Kn\\vpg\\nTi\\nIv\\n|r\\v@}\u0005Jz\u0005Lm\u0005Wh\u0005k}\u0005ln\\vxD\\n]s\u0004gc\\vps\tBr\\bTW\\vBM\u0005tZ\\nBY\u0004DW\tjf\\vSW\u0004C}\\nqo\tdE\tmv\tIQ\\bPP\\bUb\u0005lv\u0004BC\\nzQ\t[I\\vgl\\nig\\bUs\u0004BT\\vbC\\bSq\tsU\tiW\\nJn\tSY\tHK\trg\\npV\\vID\\v|j\u0004KO\t`S\t|a`vbmglfmujbqnbgqjgavp`bqjmj`jlwjfnslslqrvf`vfmwbfpwbglsvfgfmivfdlp`lmwqbfpw/Mmmlnaqfwjfmfmsfqejonbmfqbbnjdlp`jvgbg`fmwqlbvmrvfsvfgfpgfmwqlsqjnfqsqf`jlpfd/Vmavfmlpuloufqsvmwlppfnbmbkba/Abbdlpwlmvfulpvmjglp`bqolpfrvjslmj/]lpnv`klpbodvmb`lqqfljnbdfmsbqwjqbqqjabnbq/Abklnaqffnsoflufqgbg`bnajlnv`kbpevfqlmsbpbglo/Amfbsbqf`fmvfubp`vqplpfpwbabrvjfqlojaqlp`vbmwlb``fplnjdvfoubqjlp`vbwqlwjfmfpdqvslppfq/Mmfvqlsbnfgjlpeqfmwfb`fq`bgfn/Mplefqwb`l`kfpnlgfoljwbojbofwqbpbod/Vm`lnsqb`vbofpf{jpwf`vfqslpjfmglsqfmpboofdbqujbifpgjmfqlnvq`jbslgq/Msvfpwlgjbqjlsvfaolrvjfqfnbmvfosqlsjl`qjpjp`jfqwlpfdvqlnvfqwfevfmwf`fqqbqdqbmgffef`wlsbqwfpnfgjgbsqlsjbleqf`fwjfqqbf.nbjoubqjbpelqnbpevwvqllaifwlpfdvjqqjfpdlmlqnbpnjpnlp/Vmj`l`bnjmlpjwjlpqby/_mgfajglsqvfabwlofglwfm/Abifp/Vpfpsfql`l`jmblqjdfmwjfmgb`jfmwl`/Mgjykbaobqpfq/Abobwjmbevfqybfpwjoldvfqqbfmwqbq/E{jwlo/_sfybdfmgbu/Agflfujwbqsbdjmbnfwqlpibujfqsbgqfpe/M`jo`bafyb/Mqfbppbojgbfmu/Alibs/_mbavplpajfmfpwf{wlpoofubqsvfgbmevfqwf`ln/Vm`obpfpkvnbmlwfmjglajoablvmjgbgfpw/Mpfgjwbq`qfbgl<X<W=c=k=n<R<V<\\\\<V<T<W<T=a=n<R<^=m<Y<Y<_<R<S=l<T=n<\\\\<V<Y=e<Y=o<Z<Y<v<\\\\<V<]<Y<[<]=g<W<R<Q<T<~=m<Y<S<R<X<A=n<R=n<R<P=k<Y<P<Q<Y=n<W<Y=n=l<\\\\<[<R<Q<\\\\<_<X<Y<P<Q<Y<x<W=c<s=l<T<Q<\\\\=m<Q<T=i=n<Y<P<V=n<R<_<R<X<^<R=n=n<\\\\<P<M<D<|<P<\\\\=c<K=n<R<^<\\\\=m<^<\\\\<P<Y<P=o<N<\\\\<V<X<^<\\\\<Q<\\\\<P=a=n<T=a=n=o<~<\\\\<P=n<Y=i<S=l<R=n=o=n<Q<\\\\<X<X<Q=c<~<R=n=n=l<T<Q<Y<U<~<\\\\=m<Q<T<P=m<\\\\<P=n<R=n=l=o<]<r<Q<T<P<T=l<Q<Y<Y<r<r<r<W<T=j=a=n<\\\\<r<Q<\\\\<Q<Y<P<X<R<P<P<R<U<X<^<Y<R<Q<R=m=o<X\\fHy\\fIk\\fHU\\fId\\fHy\\fIl\\fHT\\fIk\\fHy\\fHR\\fHy\\fIg\\fHx\\fH\\\\\\fHF\\fH\\\\\\fHD\\fIk\\fHc\\fHy\\fHy\\fHS\\fHA\\fIl\\fHk\\fHT\\fHy\\fH\\\\\\fHH\\fIg\\fHU\\fIg\\fHj\\fHF\\fHU\\fIl\\fHC\\fHU\\fHC\\fHR\\fHH\\fHy\\fHI\\fHRibdqbm\\fHj\\fHp\\fHp\\fIg\\fHi\\fH@\\fHJ\\fIg\\fH{\\fHd\\fHp\\fHR\\fH{\\fHc\\fHU\\fHB\\fHk\\fHD\\fHY\\fHU\\fHC\\fIk\\fHI\\fIk\\fHI\\fIl\\fHt\\fH\\\\\\fHp\\fH@\\fHJ\\fIl\\fHy\\fHd\\fHp\\fIl\\fHY\\fIk\\fHD\\fHd\\fHD\\fHc\\fHU\\fH\\\\\\fHe\\fHT\\fHB\\fIk\\fHy\\fHB\\fHY\\fIg\\fH^\\fIk\\fHT\\fH@\\fHB\\fHd\\fHJ\\fIk\\fH\\x7F\\fH\\\\\\fHj\\fHB\\fH@\\fHT\\fHA\\fH\\\\\\fH@\\fHD\\fHv\\fH^\\fHB\\fHD\\fHj\\fH{\\fHT\\fIl\\fH^\\fIl4U5h5e4I5h5e5k4\\\\4K4N4B4]4U4C4C4K5h5e5k4\\\\5k4Y5d4]4V5f4]5o4K5j5d5h4K4D5f5j4U4]4Z4\\\\5h5o5k5j4K5f5d5i5n4K5h4U5h5f4K5j4K5h5o5j4A4F5e5n4D5h5d4A4E4K4B4]5m5n4[4U4D4C4]5o5j4I4\\\\4K5o5i4K4K4A4C4I5h4K5m5f5k4D4U4Z5o5f5m4D4A4G5d5i5j5d5k5d4O5j4K4@4C4K5h5k4K4_5h5i4U5j4C5h5f4_4U4D4]4Y5h5e5i5j4\\\\4D5k4K4O5j5k5i4G5h5o5j4F4K5h4K4A5f4G5i4Y4]4X4]4A4A5d5h5d5m5f4K4\\\\4K5h5o5h5i4]4E4K5j4F4K5h5m4O4D5d4B4K4Y4O5j4F4K5j5k4K5h5f4U4Z5d5d5n4C4K4D5j4B5f4]4D5j4F5h5o5i4X4K4M5d5k5f4K4D5d5n4Y4Y5d5i4K4]5n5i4O4A4C5j4A5j4U4C5i4]4O5f4K4A4E5o4F4D4C5d5j5f4@4D5i5j5k4F4A4F4@5k4E4_5j4E5f4F5i5o4]4E4V4^4E5j5m4_4D5f4F5h5h5k5h5j4K4F5h5o5n5h4D5h5i4K4U5j5k4O5d5h4X5f4M5j5d4]4O5i4K5m5f5o4D5o5h4\\\\4K4F4]4F4D4D4O5j5k5i4_4K5j5o4D5f4U5m5n4C4A4_5j5h5k5i4X4U4]4O5k5h4X5k4]5n4[4]4[5h4Dsqlejofpfquj`fgfebvowkjnpfoegfwbjop`lmwfmwpvsslqwpwbqwfgnfppbdfpv``fppebpkjlm?wjwof=`lvmwqzb``lvmw`qfbwfgpwlqjfpqfpvowpqvmmjmdsql`fpptqjwjmdlaif`wpujpjaoftfo`lnfbqwj`ofvmhmltmmfwtlqh`lnsbmzgzmbnj`aqltpfqsqjub`zsqlaofnPfquj`fqfpsf`wgjpsobzqfrvfpwqfpfquftfapjwfkjpwlqzeqjfmgplswjlmptlqhjmdufqpjlmnjoojlm`kbmmfotjmglt-bggqfppujpjwfgtfbwkfq`lqqf`wsqlgv`wfgjqf`welqtbqgzlv#`bmqfnlufgpvaif`w`lmwqlobq`kjuf`vqqfmwqfbgjmdojaqbqzojnjwfgnbmbdfqevqwkfqpvnnbqznb`kjmfnjmvwfpsqjubwf`lmwf{wsqldqbnpl`jfwzmvnafqptqjwwfmfmbaofgwqjddfqplvq`fpolbgjmdfofnfmwsbqwmfqejmboozsfqef`wnfbmjmdpzpwfnphffsjmd`vowvqf%rvlw8/ilvqmbosqlif`wpvqeb`fp%rvlw8f{sjqfpqfujftpabobm`fFmdojpk@lmwfmwwkqlvdkSofbpf#lsjmjlm`lmwb`wbufqbdfsqjnbqzujoobdfPsbmjpkdboofqzgf`ojmfnffwjmdnjppjlmslsvobqrvbojwznfbpvqfdfmfqbopsf`jfppfppjlmpf`wjlmtqjwfqp`lvmwfqjmjwjboqfslqwpejdvqfpnfnafqpklogjmdgjpsvwffbqojfqf{sqfppgjdjwbosj`wvqfBmlwkfqnbqqjfgwqbeej`ofbgjmd`kbmdfg`fmwqbouj`wlqzjnbdfp,qfbplmppwvgjfpefbwvqfojpwjmdnvpw#afp`kllopUfqpjlmvpvboozfsjplgfsobzjmddqltjmdlaujlvplufqobzsqfpfmwb`wjlmp?,vo=\u000E\ttqbssfqboqfbgz`fqwbjmqfbojwzpwlqbdfbmlwkfqgfphwlsleefqfgsbwwfqmvmvpvboGjdjwbo`bsjwboTfapjwfebjovqf`lmmf`wqfgv`fgBmgqljggf`bgfpqfdvobq#%bns8#bmjnbopqfofbpfBvwlnbwdfwwjmdnfwklgpmlwkjmdSlsvobq`bswjlmofwwfqp`bswvqfp`jfm`foj`fmpf`kbmdfpFmdobmg>2%bns8Kjpwlqz#>#mft#@fmwqbovsgbwfgPsf`jboMfwtlqhqfrvjqf`lnnfmwtbqmjmd@loofdfwlloabqqfnbjmpaf`bvpffof`wfgGfvwp`kejmbm`ftlqhfqprvj`hozafwtffmf{b`wozpfwwjmdgjpfbpfPl`jfwztfbslmpf{kjajw%ow8\"..@lmwqlo`obppfp`lufqfglvwojmfbwwb`hpgfuj`fp+tjmgltsvqslpfwjwof>!Nlajof#hjoojmdpkltjmdJwbojbmgqlssfgkfbujozfeef`wp.2$^*8\t`lmejqn@vqqfmwbgubm`fpkbqjmdlsfmjmdgqbtjmdajoojlmlqgfqfgDfqnbmzqfobwfg?,elqn=jm`ovgftkfwkfqgfejmfgP`jfm`f`bwboldBqwj`ofavwwlmpobqdfpwvmjelqnilvqmfzpjgfabq@kj`bdlklojgbzDfmfqbosbppbdf/%rvlw8bmjnbwfeffojmdbqqjufgsbppjmdmbwvqboqlvdkoz-\t\tWkf#avw#mlwgfmpjwzAqjwbjm@kjmfpfob`h#lewqjavwfJqfobmg!#gbwb.eb`wlqpqf`fjufwkbw#jpOjaqbqzkvpabmgjm#eb`wbeebjqp@kbqofpqbgj`boaqlvdkwejmgjmdobmgjmd9obmd>!qfwvqm#ofbgfqpsobmmfgsqfnjvnsb`hbdfBnfqj`bFgjwjlm^%rvlw8Nfppbdfmffg#wlubovf>!`lnsof{ollhjmdpwbwjlmafojfufpnboofq.nlajofqf`lqgptbmw#wlhjmg#leEjqfel{zlv#bqfpjnjobqpwvgjfgnb{jnvnkfbgjmdqbsjgoz`ojnbwfhjmdglnfnfqdfgbnlvmwpelvmgfgsjlmffqelqnvobgzmbpwzklt#wl#Pvsslqwqfufmvff`lmlnzQfpvowpaqlwkfqplogjfqobqdfoz`boojmd-%rvlw8B``lvmwFgtbqg#pfdnfmwQlafqw#feelqwpSb`jej`ofbqmfgvs#tjwkkfjdkw9tf#kbufBmdfofpmbwjlmp\\\\pfbq`kbssojfgb`rvjqfnbppjufdqbmwfg9#ebopfwqfbwfgajddfpwafmfejwgqjujmdPwvgjfpnjmjnvnsfqkbspnlqmjmdpfoojmdjp#vpfgqfufqpfubqjbmw#qlof>!njppjmdb`kjfufsqlnlwfpwvgfmwplnflmff{wqfnfqfpwlqfalwwln9fuloufgboo#wkfpjwfnbsfmdojpktbz#wl##Bvdvpwpznalop@lnsbmznbwwfqpnvpj`bobdbjmpwpfqujmd~*+*8\u000E\tsbznfmwwqlvaof`lm`fsw`lnsbqfsbqfmwpsobzfqpqfdjlmpnlmjwlq#$$Wkf#tjmmjmdf{solqfbgbswfgDboofqzsqlgv`fbajojwzfmkbm`f`bqffqp*-#Wkf#`loof`wPfbq`k#bm`jfmwf{jpwfgellwfq#kbmgofqsqjmwfg`lmplofFbpwfqmf{slqwptjmgltp@kbmmfojoofdbomfvwqbopvddfpw\\\\kfbgfqpjdmjmd-kwno!=pfwwofgtfpwfqm`bvpjmd.tfahjw`objnfgIvpwj`f`kbswfquj`wjnpWklnbp#nlyjoobsqlnjpfsbqwjfpfgjwjlmlvwpjgf9ebopf/kvmgqfgLoznsj`\\\\avwwlmbvwklqpqfb`kfg`kqlmj`gfnbmgppf`lmgpsqlwf`wbglswfgsqfsbqfmfjwkfqdqfbwozdqfbwfqlufqboojnsqluf`lnnbmgpsf`jbopfbq`k-tlqpkjsevmgjmdwklvdkwkjdkfpwjmpwfbgvwjojwzrvbqwfq@vowvqfwfpwjmd`ofbqozf{slpfgAqltpfqojafqbo~#`bw`kSqlif`wf{bnsofkjgf+*8EolqjgbbmptfqpbooltfgFnsfqlqgfefmpfpfqjlvpeqffglnPfufqbo.avwwlmEvqwkfqlvw#le#\">#mvoowqbjmfgGfmnbqhuljg+3*,boo-ipsqfufmwQfrvfpwPwfskfm\t\tTkfm#lapfquf?,k1=\u000E\tNlgfqm#sqlujgf!#bow>!alqgfqp-\t\tElq#\t\tNbmz#bqwjpwpsltfqfgsfqelqnej`wjlmwzsf#lenfgj`bowj`hfwplsslpfg@lvm`jotjwmfppivpwj`fDflqdf#Afodjvn---?,b=wtjwwfqmlwbaoztbjwjmdtbqebqf#Lwkfq#qbmhjmdskqbpfpnfmwjlmpvqujufp`klobq?,s=\u000E\t#@lvmwqzjdmlqfgolpp#leivpw#bpDflqdjbpwqbmdf?kfbg=?pwlssfg2$^*8\u000E\tjpobmgpmlwbaofalqgfq9ojpw#le`bqqjfg233/333?,k0=\t#pfufqboaf`lnfppfof`w#tfggjmd33-kwnonlmbq`klee#wkfwfb`kfqkjdkoz#ajloldzojef#lelq#fufmqjpf#le%qbrvl8sovplmfkvmwjmd+wklvdkGlvdobpiljmjmd`jq`ofpElq#wkfBm`jfmwUjfwmbnufkj`ofpv`k#bp`qzpwboubovf#>Tjmgltpfmilzfgb#pnboobppvnfg?b#jg>!elqfjdm#Boo#qjklt#wkfGjpsobzqfwjqfgkltfufqkjggfm8abwwofppffhjmd`bajmfwtbp#mlwollh#bw`lmgv`wdfw#wkfIbmvbqzkbssfmpwvqmjmdb9klufqLmojmf#Eqfm`k#ob`hjmdwzsj`bof{wqb`wfmfnjfpfufm#jedfmfqbwgf`jgfgbqf#mlw,pfbq`kafojfep.jnbdf9ol`bwfgpwbwj`-oldjm!=`lmufqwujlofmwfmwfqfgejqpw!=`jq`vjwEjmobmg`kfnjpwpkf#tbp23s{8!=bp#pv`kgjujgfg?,psbm=tjoo#afojmf#leb#dqfbwnzpwfqz,jmgf{-eboojmdgvf#wl#qbjotbz`loofdfnlmpwfqgfp`fmwjw#tjwkmv`ofbqIftjpk#sqlwfpwAqjwjpkeoltfqpsqfgj`wqfelqnpavwwlm#tkl#tbpof`wvqfjmpwbmwpvj`jgfdfmfqj`sfqjlgpnbqhfwpPl`jbo#ejpkjmd`lnajmfdqbskj`tjmmfqp?aq#,=?az#wkf#MbwvqboSqjub`z`llhjfplvw`lnfqfploufPtfgjpkaqjfeozSfqpjbmpl#nv`k@fmwvqzgfsj`wp`lovnmpklvpjmdp`qjswpmf{w#wlafbqjmdnbssjmdqfujpfgiRvfqz+.tjgwk9wjwof!=wllowjsPf`wjlmgfpjdmpWvqhjpkzlvmdfq-nbw`k+~*+*8\t\tavqmjmdlsfqbwfgfdqffpplvq`f>Qj`kbqg`olpfozsobpwj`fmwqjfp?,wq=\u000E\t`lolq9 vo#jg>!slppfppqloojmdskzpj`pebjojmdf{f`vwf`lmwfpwojmh#wlGfebvow?aq#,=\t9#wqvf/`kbqwfqwlvqjpn`obppj`sql`ffgf{sobjm?,k2=\u000E\tlmojmf-<{no#ufkfosjmdgjbnlmgvpf#wkfbjqojmffmg#..=*-bwwq+qfbgfqpklpwjmd eeeeeeqfbojyfUjm`fmwpjdmbop#pq`>!,Sqlgv`wgfpsjwfgjufqpfwfoojmdSvaoj`#kfog#jmIlpfsk#wkfbwqfbeef`wp?pwzof=b#obqdfglfpm$wobwfq/#Fofnfmwebuj`lm`qfbwlqKvmdbqzBjqslqwpff#wkfpl#wkbwNj`kbfoPzpwfnpSqldqbnp/#bmg##tjgwk>f%rvlw8wqbgjmdofew!=\tsfqplmpDlogfm#Beebjqpdqbnnbqelqnjmdgfpwqlzjgfb#le`bpf#lelogfpw#wkjp#jp-pq`#>#`bqwllmqfdjpwq@lnnlmpNvpojnpTkbw#jpjm#nbmznbqhjmdqfufbopJmgffg/frvbooz,pklt\\\\blvwgllqfp`bsf+Bvpwqjbdfmfwj`pzpwfn/Jm#wkf#pjwwjmdKf#boplJpobmgpB`bgfnz\t\\n\\n?\"..Gbmjfo#ajmgjmdaol`h!=jnslpfgvwjojyfBaqbkbn+f{`fswxtjgwk9svwwjmd*-kwno+\\x7F\\x7F#X^8\tGBWBX#)hjw`kfmnlvmwfgb`wvbo#gjbof`wnbjmoz#\\\\aobmh$jmpwboof{sfqwpje+wzsfJw#bopl%`lsz8#!=Wfqnpalqm#jmLswjlmpfbpwfqmwbohjmd`lm`fqmdbjmfg#lmdljmdivpwjez`qjwj`peb`wlqzjwp#ltmbppbvowjmujwfgobpwjmdkjp#ltmkqfe>!,!#qfo>!gfufols`lm`fqwgjbdqbngloobqp`ovpwfqsks<jg>bo`lklo*8~*+*8vpjmd#b=?psbm=ufppfopqfujuboBggqfppbnbwfvqbmgqljgboofdfgjoomfpptbohjmd`fmwfqprvbojeznbw`kfpvmjejfgf{wjm`wGfefmpfgjfg#jm\t\\n?\"..#`vpwlnpojmhjmdOjwwof#Allh#lefufmjmdnjm-ip<bqf#wkfhlmwbhwwlgbz$p-kwno!#wbqdfw>tfbqjmdBoo#Qjd8\t~*+*8qbjpjmd#Bopl/#`qv`jbobalvw!=gf`obqf..=\t?p`ejqfel{bp#nv`kbssojfpjmgf{/#p/#avw#wzsf#>#\t\u000E\t?\"..wltbqgpQf`lqgpSqjubwfElqfjdmSqfnjfq`klj`fpUjqwvboqfwvqmp@lnnfmwSltfqfgjmojmf8slufqwz`kbnafqOjujmd#ulovnfpBmwklmzoldjm!#QfobwfgF`lmlnzqfb`kfp`vwwjmddqbujwzojef#jm@kbswfq.pkbgltMlwbaof?,wg=\u000E\t#qfwvqmpwbgjvntjgdfwpubqzjmdwqbufopkfog#aztkl#bqftlqh#jmeb`vowzbmdvobqtkl#kbgbjqslqwwltm#le\t\tPlnf#$`oj`h$`kbqdfphfztlqgjw#tjoo`jwz#le+wkjp*8Bmgqft#vmjrvf#`kf`hfglq#nlqf033s{8#qfwvqm8qpjlm>!sovdjmptjwkjm#kfqpfoePwbwjlmEfgfqboufmwvqfsvaojpkpfmw#wlwfmpjlmb`wqfpp`lnf#wlejmdfqpGvhf#lesflsof/f{soljwtkbw#jpkbqnlmzb#nbilq!9!kwwsjm#kjp#nfmv!=\tnlmwkozleej`fq`lvm`jodbjmjmdfufm#jmPvnnbqzgbwf#leolzbowzejwmfppbmg#tbpfnsfqlqpvsqfnfPf`lmg#kfbqjmdQvppjbmolmdfpwBoafqwbobwfqbopfw#le#pnboo!=-bssfmggl#tjwkefgfqboabmh#leafmfbwkGfpsjwf@bsjwbodqlvmgp*/#bmg#sfq`fmwjw#eqln`olpjmd`lmwbjmJmpwfbgejewffmbp#tfoo-zbkll-qfpslmgejdkwfqlap`vqfqfeof`wlqdbmj`>#Nbwk-fgjwjmdlmojmf#sbggjmdb#tkloflmfqqlqzfbq#lefmg#le#abqqjfqtkfm#jwkfbgfq#klnf#leqfpvnfgqfmbnfgpwqlmd=kfbwjmdqfwbjmp`olvgeqtbz#le#Nbq`k#2hmltjmdjm#sbqwAfwtffmofpplmp`olpfpwujqwvboojmhp!=`qlppfgFMG#..=ebnlvp#btbqgfgOj`fmpfKfbowk#ebjqoz#tfbowkznjmjnboBeqj`bm`lnsfwfobafo!=pjmdjmdebqnfqpAqbpjo*gjp`vppqfsob`fDqfdlqzelmw#`lsvqpvfgbssfbqpnbhf#vsqlvmgfgalwk#leaol`hfgpbt#wkfleej`fp`lolvqpje+gl`vtkfm#kffmelq`fsvpk+evBvdvpw#VWE.;!=Ebmwbpzjm#nlpwjmivqfgVpvboozebqnjmd`olpvqflaif`w#gfefm`fvpf#le#Nfgj`bo?algz=\tfujgfmwaf#vpfghfz@lgfpj{wffmJpobnj` 333333fmwjqf#tjgfoz#b`wjuf#+wzsflelmf#`bm`lolq#>psfbhfqf{wfmgpSkzpj`pwfqqbjm?walgz=evmfqboujftjmdnjggof#`qj`hfwsqlskfwpkjewfggl`wlqpQvppfoo#wbqdfw`lnsb`wbodfaqbpl`jbo.avoh#lenbm#bmg?,wg=\t#kf#ofew*-ubo+*ebopf*8oldj`boabmhjmdklnf#wlmbnjmd#Bqjylmb`qfgjwp*8\t~*8\telvmgfqjm#wvqm@loojmpafelqf#Avw#wkf`kbqdfgWjwof!=@bswbjmpsfoofgdlggfppWbd#..=Bggjmd9avw#tbpQf`fmw#sbwjfmwab`h#jm>ebopf%Ojm`lomtf#hmlt@lvmwfqIvgbjpnp`qjsw#bowfqfg$^*8\t##kbp#wkfvm`ofbqFufmw$/alwk#jmmlw#boo\t\t?\"..#sob`jmdkbqg#wl#`fmwfqplqw#le`ojfmwppwqffwpAfqmbqgbppfqwpwfmg#wlebmwbpzgltm#jmkbqalvqEqffglniftfoqz,balvw--pfbq`kofdfmgpjp#nbgfnlgfqm#lmoz#lmlmoz#wljnbdf!#ojmfbq#sbjmwfqbmg#mlwqbqfoz#b`qlmzngfojufqpklqwfq33%bns8bp#nbmztjgwk>!,)#?\"X@wjwof#>le#wkf#oltfpw#sj`hfg#fp`bsfgvpfp#lesflsofp#Svaoj`Nbwwkftwb`wj`pgbnbdfgtbz#elqobtp#lefbpz#wl#tjmgltpwqlmd##pjnsof~`bw`k+pfufmwkjmelal{tfmw#wlsbjmwfg`jwjyfmJ#glm$wqfwqfbw-#Plnf#tt-!*8\talnajmdnbjowl9nbgf#jm-#Nbmz#`bqqjfp\\x7F\\x7Fx~8tjtlqh#lepzmlmzngfefbwpebulqfglswj`bosbdfWqbvmofpp#pfmgjmdofew!=?`lnP`lqBoo#wkfiRvfqz-wlvqjpw@obppj`ebopf!#Tjokfonpvavqapdfmvjmfajpklsp-psojw+dolabo#elooltpalgz#lemlnjmbo@lmwb`wpf`vobqofew#wl`kjfeoz.kjggfm.abmmfq?,oj=\t\t-#Tkfm#jm#alwkgjpnjppF{solqfbotbzp#ujb#wkfpsb/]lotfoebqfqvojmd#bqqbmdf`bswbjmkjp#plmqvof#lekf#wllhjwpfoe/>3%bns8+`boofgpbnsofpwl#nbhf`ln,sbdNbqwjm#Hfmmfgzb``fswpevoo#lekbmgofgAfpjgfp,,..=?,baof#wlwbqdfwpfppfm`fkjn#wl#jwp#az#`lnnlm-njmfqbowl#wbhftbzp#wlp-lqd,obgujpfgsfmbowzpjnsof9je#wkfzOfwwfqpb#pklqwKfqafqwpwqjhfp#dqlvsp-ofmdwkeojdkwplufqobspoltoz#ofppfq#pl`jbo#?,s=\t\\n\\njw#jmwlqbmhfg#qbwf#levo=\u000E\t##bwwfnswsbjq#lenbhf#jwHlmwbhwBmwlmjlkbujmd#qbwjmdp#b`wjufpwqfbnpwqbssfg!*-`pp+klpwjofofbg#wlojwwof#dqlvsp/Sj`wvqf..=\u000E\t\u000E\t#qltp>!#laif`wjmufqpf?ellwfq@vpwlnU=?_,p`qploujmd@kbnafqpobufqztlvmgfgtkfqfbp\">#$vmgelq#boosbqwoz#.qjdkw9Bqbajbmab`hfg#`fmwvqzvmjw#lenlajof.Fvqlsf/jp#klnfqjph#legfpjqfg@ojmwlm`lpw#lebdf#le#af`lnf#mlmf#les%rvlw8Njggof#fbg$*X3@qjwj`ppwvgjlp=%`lsz8dqlvs!=bppfnaonbhjmd#sqfppfgtjgdfw-sp9!#<#qfavjowaz#plnfElqnfq#fgjwlqpgfobzfg@bmlmj`kbg#wkfsvpkjmd`obpp>!avw#bqfsbqwjboAbazolmalwwln#`bqqjfq@lnnbmgjwp#vpfBp#tjwk`lvqpfpb#wkjqggfmlwfpbopl#jmKlvpwlm13s{8!=b``vpfgglvaof#dlbo#leEbnlvp#*-ajmg+sqjfpwp#Lmojmfjm#Ivozpw#(#!d`lmpvowgf`jnbokfosevoqfujufgjp#ufqzq$($jswolpjmd#efnbofpjp#boplpwqjmdpgbzp#lebqqjuboevwvqf#?laif`welq`jmdPwqjmd+!#,=\t\\n\\nkfqf#jpfm`lgfg-##Wkf#aboollmglmf#az,`lnnlmad`lolqobt#le#Jmgjbmbbuljgfgavw#wkf1s{#0s{irvfqz-bewfq#bsloj`z-nfm#bmgellwfq.>#wqvf8elq#vpfp`qffm-Jmgjbm#jnbdf#>ebnjoz/kwws9,,#%maps8gqjufqpfwfqmbopbnf#bpmlwj`fgujftfqp~*+*8\t#jp#nlqfpfbplmpelqnfq#wkf#mftjp#ivpw`lmpfmw#Pfbq`ktbp#wkftkz#wkfpkjssfgaq=?aq=tjgwk9#kfjdkw>nbgf#le`vjpjmfjp#wkbwb#ufqz#Bgnjqbo#ej{fg8mlqnbo#NjppjlmSqfpp/#lmwbqjl`kbqpfwwqz#wl#jmubgfg>!wqvf!psb`jmdjp#nlpwb#nlqf#wlwboozeboo#le~*8\u000E\t##jnnfmpfwjnf#jmpfw#lvwpbwjpezwl#ejmggltm#wlolw#le#Sobzfqpjm#Ivmfrvbmwvnmlw#wkfwjnf#wlgjpwbmwEjmmjpkpq`#>#+pjmdof#kfos#leDfqnbm#obt#bmgobafofgelqfpwp`llhjmdpsb`f!=kfbgfq.tfoo#bpPwbmofzaqjgdfp,dolabo@qlbwjb#Balvw#X3^8\t##jw/#bmgdqlvsfgafjmd#b*xwkqltkf#nbgfojdkwfqfwkj`boEEEEEE!alwwln!ojhf#b#fnsolzpojuf#jmbp#pffmsqjmwfqnlpw#leva.ojmhqfif`wpbmg#vpfjnbdf!=pv``ffgeffgjmdMv`ofbqjmelqnbwl#kfosTlnfm$pMfjwkfqNf{j`bmsqlwfjm?wbaof#az#nbmzkfbowkzobtpvjwgfujpfg-svpk+xpfoofqppjnsoz#Wkqlvdk-`llhjf#Jnbdf+logfq!=vp-ip!=#Pjm`f#vmjufqpobqdfq#lsfm#wl\"..#fmgojfp#jm$^*8\u000E\t##nbqhfwtkl#jp#+!GLN@lnbmbdfglmf#elqwzsfle#Hjmdglnsqlejwpsqlslpfwl#pklt`fmwfq8nbgf#jwgqfppfgtfqf#jmnj{wvqfsqf`jpfbqjpjmdpq`#>#$nbhf#b#pf`vqfgAbswjpwulwjmd#\t\\n\\nubq#Nbq`k#1dqft#vs@ojnbwf-qfnlufphjoofgtbz#wkf?,kfbg=eb`f#leb`wjmd#qjdkw!=wl#tlqhqfgv`fpkbp#kbgfqf`wfgpklt+*8b`wjlm>allh#lebm#bqfb>>#!kww?kfbgfq\t?kwno=`lmelqneb`jmd#`llhjf-qfoz#lmklpwfg#-`vpwlnkf#tfmwavw#elqpsqfbg#Ebnjoz#b#nfbmplvw#wkfelqvnp-ellwbdf!=Nlajo@ofnfmwp!#jg>!bp#kjdkjmwfmpf..=?\"..efnbof#jp#pffmjnsojfgpfw#wkfb#pwbwfbmg#kjpebpwfpwafpjgfpavwwlm\\\\alvmgfg!=?jnd#Jmelal{fufmwp/b#zlvmdbmg#bqfMbwjuf#`kfbsfqWjnflvwbmg#kbpfmdjmfptlm#wkf+nlpwozqjdkw9#ejmg#b#.alwwlnSqjm`f#bqfb#lenlqf#lepfbq`k\\\\mbwvqf/ofdboozsfqjlg/obmg#lelq#tjwkjmgv`fgsqlujmdnjppjofol`boozBdbjmpwwkf#tbzh%rvlw8s{8!=\u000E\tsvpkfg#babmglmmvnfqbo@fqwbjmJm#wkjpnlqf#jmlq#plnfmbnf#jpbmg/#jm`qltmfgJPAM#3.`qfbwfpL`wlafqnbz#mlw`fmwfq#obwf#jmGfefm`ffmb`wfgtjpk#wlaqlbgoz`llojmdlmolbg>jw-#Wkfqf`lufqNfnafqpkfjdkw#bppvnfp?kwno=\tsflsof-jm#lmf#>tjmgltellwfq\\\\b#dllg#qfhobnblwkfqp/wl#wkjp\\\\`llhjfsbmfo!=Olmglm/gfejmfp`qvpkfgabswjpn`lbpwbopwbwvp#wjwof!#nluf#wlolpw#jmafwwfq#jnsojfpqjuboqzpfqufqp#PzpwfnSfqkbspfp#bmg#`lmwfmgeoltjmdobpwfg#qjpf#jmDfmfpjpujft#leqjpjmd#pffn#wlavw#jm#ab`hjmdkf#tjoodjufm#bdjujmd#`jwjfp-eolt#le#Obwfq#boo#avwKjdktbzlmoz#azpjdm#lekf#glfpgjeefqpabwwfqz%bns8obpjmdofpwkqfbwpjmwfdfqwbhf#lmqfevpfg`boofg#>VP%bnsPff#wkfmbwjufpaz#wkjppzpwfn-kfbg#le9klufq/ofpajbmpvqmbnfbmg#boo`lnnlm,kfbgfq\\\\\\\\sbqbnpKbqubqg,sj{fo-qfnlubopl#olmdqlof#leiljmwozphzp`qbVmj`lgfaq#,=\u000E\tBwobmwbmv`ofvp@lvmwz/svqfoz#`lvmw!=fbpjoz#avjog#blm`oj`hb#djufmsljmwfqk%rvlw8fufmwp#fopf#x\tgjwjlmpmlt#wkf/#tjwk#nbm#tkllqd,Tfalmf#bmg`buboqzKf#gjfgpfbwwof33/333#xtjmgltkbuf#wlje+tjmgbmg#jwpplofoz#n%rvlw8qfmftfgGfwqljwbnlmdpwfjwkfq#wkfn#jmPfmbwlqVp?,b=?Hjmd#leEqbm`jp.sqlgv`kf#vpfgbqw#bmgkjn#bmgvpfg#azp`lqjmdbw#klnfwl#kbufqfobwfpjajojwzeb`wjlmAveebolojmh!=?tkbw#kfeqff#wl@jwz#le`lnf#jmpf`wlqp`lvmwfglmf#gbzmfqulvpprvbqf#~8je+dljm#tkbwjnd!#bojp#lmozpfbq`k,wvfpgbzollpfozPlolnlmpf{vbo#.#?b#kqnfgjvn!GL#MLW#Eqbm`f/tjwk#b#tbq#bmgpf`lmg#wbhf#b#=\u000E\t\u000E\t\u000E\tnbqhfw-kjdktbzglmf#jm`wjujwz!obpw!=laojdfgqjpf#wl!vmgfejnbgf#wl#Fbqoz#sqbjpfgjm#jwp#elq#kjpbwkofwfIvsjwfqZbkll\"#wfqnfg#pl#nbmzqfbooz#p-#Wkf#b#tlnbm<ubovf>gjqf`w#qjdkw!#aj`z`ofb`jmd>!gbz#bmgpwbwjmdQbwkfq/kjdkfq#Leej`f#bqf#mltwjnfp/#tkfm#b#sbz#elqlm#wkjp.ojmh!=8alqgfqbqlvmg#bmmvbo#wkf#Mftsvw#wkf-`ln!#wbhjm#wlb#aqjfe+jm#wkfdqlvsp-8#tjgwkfmyznfppjnsof#jm#obwfxqfwvqmwkfqbszb#sljmwabmmjmdjmhp!=\t+*8!#qfb#sob`f_v330@bbalvw#bwq=\u000E\t\\n\\n``lvmw#djufp#b?P@QJSWQbjotbzwkfnfp,wlloal{AzJg+!{kvnbmp/tbw`kfpjm#plnf#je#+tj`lnjmd#elqnbwp#Vmgfq#avw#kbpkbmgfg#nbgf#azwkbm#jmefbq#legfmlwfg,jeqbnfofew#jmulowbdfjm#fb`kb%rvlw8abpf#leJm#nbmzvmgfqdlqfdjnfpb`wjlm#?,s=\u000E\t?vpwlnUb8%dw8?,jnslqwplq#wkbwnlpwoz#%bns8qf#pjyf>!?,b=?,kb#`obppsbppjufKlpw#>#TkfwkfqefqwjofUbqjlvp>X^8+ev`bnfqbp,=?,wg=b`wp#bpJm#plnf=\u000E\t\u000E\t?\"lqdbmjp#?aq#,=Afjijmd`bwbo/Lgfvwp`kfvqlsfvfvphbqbdbfjodfpufmphbfpsb/]bnfmpbifvpvbqjlwqbabiln/E{j`ls/Mdjmbpjfnsqfpjpwfnbl`wvaqfgvqbmwfb/]bgjqfnsqfpbnlnfmwlmvfpwqlsqjnfqbwqbu/Epdqb`jbpmvfpwqbsql`fplfpwbglp`bojgbgsfqplmbm/Vnfqlb`vfqgln/Vpj`bnjfnaqllefqwbpbodvmlpsb/Apfpfifnsolgfqf`klbgfn/Mpsqjubglbdqfdbqfmob`fpslpjaofklwfofppfujoobsqjnfql/Vowjnlfufmwlpbq`kjul`vowvqbnvifqfpfmwqbgbbmvm`jlfnabqdlnfq`bgldqbmgfpfpwvgjlnfilqfpefaqfqlgjpf/]lwvqjpnl`/_gjdlslqwbgbfpsb`jlebnjojbbmwlmjlsfqnjwfdvbqgbqbodvmbpsqf`jlpbodvjfmpfmwjglujpjwbpw/Awvol`lml`fqpfdvmgl`lmpfileqbm`jbnjmvwlppfdvmgbwfmfnlpfef`wlpn/Mobdbpfpj/_mqfujpwbdqbmbgb`lnsqbqjmdqfpldbq`/Abb``j/_mf`vbglqrvjfmfpjm`ovplgfafq/Mnbwfqjbklnaqfpnvfpwqbslgq/Abnb/]bmb/Vowjnbfpwbnlplej`jbowbnajfmmjmd/Vmpbovglpslgfnlpnfilqbqslpjwjlmavpjmfppklnfsbdfpf`vqjwzobmdvbdfpwbmgbqg`bnsbjdmefbwvqfp`bwfdlqzf{wfqmbo`kjogqfmqfpfqufgqfpfbq`kf{`kbmdfebulqjwfwfnsobwfnjojwbqzjmgvpwqzpfquj`fpnbwfqjbosqlgv`wpy.jmgf{9`lnnfmwpplewtbqf`lnsofwf`bofmgbqsobwelqnbqwj`ofpqfrvjqfgnlufnfmwrvfpwjlmavjogjmdslojwj`pslppjaofqfojdjlmskzpj`boeffgab`hqfdjpwfqsj`wvqfpgjpbaofgsqlwl`lobvgjfm`fpfwwjmdpb`wjujwzfofnfmwpofbqmjmdbmzwkjmdbapwqb`wsqldqfpplufqujftnbdbyjmff`lmlnj`wqbjmjmdsqfppvqfubqjlvp#?pwqlmd=sqlsfqwzpklssjmdwldfwkfqbgubm`fgafkbujlqgltmolbgefbwvqfgellwaboopfof`wfgObmdvbdfgjpwbm`fqfnfnafqwqb`hjmdsbpptlqgnlgjejfgpwvgfmwpgjqf`wozejdkwjmdmlqwkfqmgbwbabpfefpwjuboaqfbhjmdol`bwjlmjmwfqmfwgqlsgltmsqb`wj`ffujgfm`fevm`wjlmnbqqjbdfqfpslmpfsqlaofnpmfdbwjufsqldqbnpbmbozpjpqfofbpfgabmmfq!=svq`kbpfsloj`jfpqfdjlmbo`qfbwjufbqdvnfmwallhnbqhqfefqqfq`kfnj`bogjujpjlm`booab`hpfsbqbwfsqlif`wp`lmeoj`wkbqgtbqfjmwfqfpwgfojufqznlvmwbjmlawbjmfg>#ebopf8elq+ubq#b``fswfg`bsb`jwz`lnsvwfqjgfmwjwzbjq`qbewfnsolzfgsqlslpfgglnfpwj`jm`ovgfpsqlujgfgklpsjwboufqwj`bo`loobspfbssqlb`ksbqwmfqpoldl!=?bgbvdkwfqbvwklq!#`vowvqboebnjojfp,jnbdfp,bppfnaozsltfqevowfb`kjmdejmjpkfggjpwqj`w`qjwj`bo`dj.ajm,svqslpfpqfrvjqfpfof`wjlmaf`lnjmdsqlujgfpb`bgfnj`f{fq`jpfb`wvbooznfgj`jmf`lmpwbmwb``jgfmwNbdbyjmfgl`vnfmwpwbqwjmdalwwln!=lapfqufg9#%rvlw8f{wfmgfgsqfujlvpPlewtbqf`vpwlnfqgf`jpjlmpwqfmdwkgfwbjofgpojdkwozsobmmjmdwf{wbqfb`vqqfm`zfufqzlmfpwqbjdkwwqbmpefqslpjwjufsqlgv`fgkfqjwbdfpkjssjmdbaplovwfqf`fjufgqfofubmwavwwlm!#ujlofm`fbmztkfqfafmfejwpobvm`kfgqf`fmwozboojbm`felooltfgnvowjsofavoofwjmjm`ovgfgl``vqqfgjmwfqmbo\\'+wkjp*-qfsvaoj`=?wq=?wg`lmdqfppqf`lqgfgvowjnbwfplovwjlm?vo#jg>!gjp`lufqKlnf?,b=tfapjwfpmfwtlqhpbowklvdkfmwjqfoznfnlqjbonfppbdfp`lmwjmvfb`wjuf!=plnftkbwuj`wlqjbTfpwfqm##wjwof>!Ol`bwjlm`lmwqb`wujpjwlqpGltmolbgtjwklvw#qjdkw!=\tnfbpvqfptjgwk#>#ubqjbaofjmuloufgujqdjmjbmlqnboozkbssfmfgb``lvmwppwbmgjmdmbwjlmboQfdjpwfqsqfsbqfg`lmwqlopb``vqbwfajqwkgbzpwqbwfdzleej`jbodqbskj`p`qjnjmboslppjaoz`lmpvnfqSfqplmbopsfbhjmdubojgbwfb`kjfufg-isd!#,=nb`kjmfp?,k1=\t##hfztlqgpeqjfmgozaqlwkfqp`lnajmfglqjdjmbo`lnslpfgf{sf`wfgbgfrvbwfsbhjpwbmeloolt!#ubovbaof?,obafo=qfobwjufaqjmdjmdjm`qfbpfdlufqmlqsovdjmp,Ojpw#le#Kfbgfq!=!#mbnf>!#+%rvlw8dqbgvbwf?,kfbg=\t`lnnfq`fnbobzpjbgjqf`wlqnbjmwbjm8kfjdkw9p`kfgvof`kbmdjmdab`h#wl#`bwkloj`sbwwfqmp`lolq9# dqfbwfpwpvssojfpqfojbaof?,vo=\t\\n\\n?pfof`w#`jwjyfmp`olwkjmdtbw`kjmd?oj#jg>!psf`jej``bqqzjmdpfmwfm`f?`fmwfq=`lmwqbpwwkjmhjmd`bw`k+f*plvwkfqmNj`kbfo#nfq`kbmw`bqlvpfosbggjmd9jmwfqjlq-psojw+!ojybwjlmL`wlafq#*xqfwvqmjnsqlufg..%dw8\t\t`lufqbdf`kbjqnbm-smd!#,=pvaif`wpQj`kbqg#tkbwfufqsqlabaozqf`lufqzabpfabooivgdnfmw`lmmf`w--`pp!#,=#tfapjwfqfslqwfggfebvow!,=?,b=\u000E\tfof`wqj`p`lwobmg`qfbwjlmrvbmwjwz-#JPAM#3gjg#mlw#jmpwbm`f.pfbq`k.!#obmd>!psfbhfqp@lnsvwfq`lmwbjmpbq`kjufpnjmjpwfqqfb`wjlmgjp`lvmwJwbojbml`qjwfqjbpwqlmdoz9#$kwws9$p`qjsw$`lufqjmdleefqjmdbssfbqfgAqjwjpk#jgfmwjezEb`fallhmvnfqlvpufkj`ofp`lm`fqmpBnfqj`bmkbmgojmdgju#jg>!Tjoojbn#sqlujgfq\\\\`lmwfmwb``vqb`zpf`wjlm#bmgfqplmeof{jaof@bwfdlqzobtqfm`f?p`qjsw=obzlvw>!bssqlufg#nb{jnvnkfbgfq!=?,wbaof=Pfquj`fpkbnjowlm`vqqfmw#`bmbgjbm`kbmmfop,wkfnfp,,bqwj`oflswjlmboslqwvdboubovf>!!jmwfqubotjqfofppfmwjwofgbdfm`jfpPfbq`k!#nfbpvqfgwklvpbmgpsfmgjmd%kfoojs8mft#Gbwf!#pjyf>!sbdfMbnfnjggof!#!#,=?,b=kjggfm!=pfrvfm`fsfqplmbolufqeoltlsjmjlmpjoojmljpojmhp!=\t\\n?wjwof=ufqpjlmppbwvqgbzwfqnjmbojwfnsqlsfmdjmffqpf`wjlmpgfpjdmfqsqlslpbo>!ebopf!Fpsb/]loqfofbpfppvanjw!#fq%rvlw8bggjwjlmpznswlnplqjfmwfgqfplvq`fqjdkw!=?sofbpvqfpwbwjlmpkjpwlqz-ofbujmd##alqgfq>`lmwfmwp`fmwfq!=-\t\tPlnf#gjqf`wfgpvjwbaofavodbqjb-pklt+*8gfpjdmfgDfmfqbo#`lm`fswpF{bnsofptjoojbnpLqjdjmbo!=?psbm=pfbq`k!=lsfqbwlqqfrvfpwpb#%rvlw8booltjmdGl`vnfmwqfujpjlm-#\t\tWkf#zlvqpfoe@lmwb`w#nj`kjdbmFmdojpk#`lovnajbsqjlqjwzsqjmwjmdgqjmhjmdeb`jojwzqfwvqmfg@lmwfmw#leej`fqpQvppjbm#dfmfqbwf.;;6:.2!jmgj`bwfebnjojbq#rvbojwznbqdjm93#`lmwfmwujftslqw`lmwb`wp.wjwof!=slqwbaof-ofmdwk#fojdjaofjmuloufpbwobmwj`lmolbg>!gfebvow-pvssojfgsbznfmwpdolppbqz\t\tBewfq#dvjgbm`f?,wg=?wgfm`lgjmdnjggof!=`bnf#wl#gjpsobzpp`lwwjpkilmbwkbmnbilqjwztjgdfwp-`ojmj`bowkbjobmgwfb`kfqp?kfbg=\t\\nbeef`wfgpvsslqwpsljmwfq8wlPwqjmd?,pnboo=lhobklnbtjoo#af#jmufpwlq3!#bow>!klojgbzpQfplvq`foj`fmpfg#+tkj`k#-#Bewfq#`lmpjgfqujpjwjmdf{solqfqsqjnbqz#pfbq`k!#bmgqljg!rvj`hoz#nffwjmdpfpwjnbwf8qfwvqm#8`lolq9 #kfjdkw>bssqlubo/#%rvlw8#`kf`hfg-njm-ip!nbdmfwj`=?,b=?,kelqf`bpw-#Tkjof#wkvqpgbzgufqwjpf%fb`vwf8kbp@obppfubovbwflqgfqjmdf{jpwjmdsbwjfmwp#Lmojmf#`lolqbglLswjlmp!`bnsafoo?\"..#fmg?,psbm=??aq#,=\u000E\t\\\\slsvsp\\x7Fp`jfm`fp/%rvlw8#rvbojwz#Tjmgltp#bppjdmfgkfjdkw9#?a#`obppof%rvlw8#ubovf>!#@lnsbmzf{bnsofp?jeqbnf#afojfufpsqfpfmwpnbqpkboosbqw#le#sqlsfqoz*-\t\tWkf#wb{lmlnznv`k#le#?,psbm=\t!#gbwb.pqwvdv/Fpp`qlooWl#sqlif`w?kfbg=\u000E\tbwwlqmfzfnskbpjppslmplqpebm`zal{tlqog$p#tjogojef`kf`hfg>pfppjlmpsqldqbnns{8elmw.#Sqlif`wilvqmbopafojfufgub`bwjlmwklnsplmojdkwjmdbmg#wkf#psf`jbo#alqgfq>3`kf`hjmd?,walgz=?avwwlm#@lnsofwf`ofbqej{\t?kfbg=\tbqwj`of#?pf`wjlmejmgjmdpqlof#jm#slsvobq##L`wlafqtfapjwf#f{slpvqfvpfg#wl##`kbmdfplsfqbwfg`oj`hjmdfmwfqjmd`lnnbmgpjmelqnfg#mvnafqp##?,gju=`qfbwjmdlmPvanjwnbqzobmg`loofdfpbmbozwj`ojpwjmdp`lmwb`w-olddfgJmbgujplqzpjaojmdp`lmwfmw!p%rvlw8*p-#Wkjp#sb`hbdfp`kf`hal{pvddfpwpsqfdmbmwwlnlqqltpsb`jmd>j`lm-smdibsbmfpf`lgfabpfavwwlm!=dbnaojmdpv`k#bp#/#tkjof#?,psbm=#njpplvqjpslqwjmdwls92s{#-?,psbm=wfmpjlmptjgwk>!1obyzolbgmlufnafqvpfg#jm#kfjdkw>!`qjsw!=\t%maps8?,?wq=?wg#kfjdkw91,sqlgv`w`lvmwqz#jm`ovgf#ellwfq!#%ow8\"..#wjwof!=?,irvfqz-?,elqn=\t+\\vBl\\bQ\\x7F*+\\vUm\u0005Gx*kqubwphjjwbojbmlqln/Nm(ow/Pqh/Kf4K4]4C5dwbnaj/Emmlwj`jbpnfmpbifpsfqplmbpgfqf`klpmb`jlmbopfquj`jl`lmwb`wlvpvbqjlpsqldqbnbdlajfqmlfnsqfpbpbmvm`jlpubofm`jb`lolnajbgfpsv/Epgfslqwfpsqlzf`wlsqlgv`wls/Vaoj`lmlplwqlpkjpwlqjbsqfpfmwfnjoolmfpnfgjbmwfsqfdvmwbbmwfqjlqqf`vqplpsqlaofnbpbmwjbdlmvfpwqlplsjmj/_mjnsqjnjqnjfmwqbpbn/Eqj`bufmgfglqpl`jfgbgqfpsf`wlqfbojybqqfdjpwqlsbobaqbpjmwfq/Epfmwlm`fpfpsf`jbonjfnaqlpqfbojgbg`/_qglabybqbdlybs/Mdjmbppl`jbofpaolrvfbqdfpwj/_mborvjofqpjpwfnbp`jfm`jbp`lnsofwlufqpj/_m`lnsofwbfpwvgjlps/Vaoj`blaifwjulboj`bmwfavp`bglq`bmwjgbgfmwqbgbpb``jlmfpbq`kjulppvsfqjlqnbzlq/Abbofnbmjbevm`j/_m/Vowjnlpkb`jfmglbrvfoolpfgj`j/_mefqmbmglbnajfmwfeb`fallhmvfpwqbp`ojfmwfpsql`fplpabpwbmwfsqfpfmwbqfslqwbq`lmdqfplsvaoj`bq`lnfq`jl`lmwqbwli/_ufmfpgjpwqjwlw/E`mj`b`lmivmwlfmfqd/Abwqbabibqbpwvqjbpqf`jfmwfvwjojybqalofw/Ampboubglq`lqqf`wbwqbabilpsqjnfqlpmfdl`jlpojafqwbggfwboofpsbmwboobsq/_{jnlbonfq/Abbmjnbofprvj/Emfp`lqby/_mpf``j/_mavp`bmglls`jlmfpf{wfqjlq`lm`fswlwlgbu/Abdbofq/Abfp`qjajqnfgj`jmboj`fm`jb`lmpvowbbpsf`wlp`q/Awj`bg/_obqfpivpwj`jbgfafq/Mmsfq/Alglmf`fpjwbnbmwfmfqsfrvf/]lqf`jajgbwqjavmbowfmfqjef`bm`j/_m`bmbqjbpgfp`bqdbgjufqplpnboolq`bqfrvjfqfw/E`mj`lgfafq/Abujujfmgbejmbmybpbgfobmwfevm`jlmb`lmpfilpgje/A`jo`jvgbgfpbmwjdvbpbubmybgbw/Eqnjmlvmjgbgfpp/Mm`kfy`bnsb/]bplewlmj`qfujpwbp`lmwjfmfpf`wlqfpnlnfmwlpeb`vowbg`q/Egjwlgjufqpbppvsvfpwleb`wlqfppfdvmglpsfrvf/]b<_<R<X<\\\\<Y=m<W<T<Y=m=n=`<]=g<W<R<]=g=n=`=a=n<R<P<y=m<W<T=n<R<_<R<P<Y<Q=c<^=m<Y=i=a=n<R<U<X<\\\\<Z<Y<]=g<W<T<_<R<X=o<X<Y<Q=`=a=n<R=n<]=g<W<\\\\=m<Y<]=c<R<X<T<Q=m<Y<]<Y<Q<\\\\<X<R=m<\\\\<U=n=h<R=n<R<Q<Y<_<R=m<^<R<T=m<^<R<U<T<_=l=g=n<R<Z<Y<^=m<Y<P=m<^<R=b<W<T=d=`=a=n<T=i<S<R<V<\\\\<X<Q<Y<U<X<R<P<\\\\<P<T=l<\\\\<W<T<]<R=n<Y<P=o=i<R=n=c<X<^=o=i=m<Y=n<T<W=b<X<T<X<Y<W<R<P<T=l<Y=n<Y<]=c=m<^<R<Y<^<T<X<Y=k<Y<_<R=a=n<T<P=m=k<Y=n=n<Y<P=g=j<Y<Q=g=m=n<\\\\<W<^<Y<X=`=n<Y<P<Y<^<R<X=g=n<Y<]<Y<^=g=d<Y<Q<\\\\<P<T=n<T<S<\\\\=n<R<P=o<S=l<\\\\<^<W<T=j<\\\\<R<X<Q<\\\\<_<R<X=g<[<Q<\\\\=b<P<R<_=o<X=l=o<_<^=m<Y<U<T<X<Y=n<V<T<Q<R<R<X<Q<R<X<Y<W<\\\\<X<Y<W<Y=m=l<R<V<T=b<Q=c<^<Y=m=`<y=m=n=`=l<\\\\<[<\\\\<Q<\\\\=d<T4K5h5h5k4K5h4F5f4@5i5f4U4B4K4Y4E4K5h4\\\\5f4U5h5f5k4@4C5f4C4K5h4N5j4K5h4]4C4F4A5o5i4Y5m4A4E5o4K5j4F4K5h5h5f5f5o5d5j4X4D5o4E5m5f5k4K4D5j4K4F4A5d4K4M4O5o4G4]4B5h4K5h4K5h4A4D4C5h5f5h4C4]5d4_4K4Z4V4[4F5o5d5j5k5j4K5o4_4K4A4E5j4K4C5f4K5h4[4D4U5h5f5o4X5o4]4K5f5i5o5j5i5j5k4K4X4]5o4E4]4J5f4_5j4X5f4[5i4K4\\\\4K4K5h5m5j4X4D4K4D4F4U4D4]4]4A5i4E5o4K5m4E5f5n5d5h5i4]5o4^5o5h5i4E4O4A5i4C5n5h4D5f5f4U5j5f4Y5d4]4E4[4]5f5n4X4K4]5o4@5d4K5h4O4B4]5e5i4U5j4K4K4D4A4G4U4]5d4Z4D4X5o5h5i4_4@5h4D5j4K5j4B4K5h4C5o4F4K4D5o5h5f4E4D4C5d5j4O5f4Z4K5f5d4@4C5m4]5f5n5o4F4D4F4O5m4Z5h5i4[4D4B4K5o4G4]4D4K4]5o4K5m4Z5h4K4A5h5e5j5m4_5k4O5f4K5i4]4C5d4C4O5j5k4K4C5f5j4K4K5h4K5j5i4U4]4Z4F4U5h5i4C4K4B5h5i5i5o5j\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0002\u0003\u0002\u0003\u0002\u0003\u0002\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\\x07\u0003\\x07\u0003\\x07\u0003\\x07\u0003\u0003\u0002\u0001\\0\\x07\u0006\u0005\u0004\u0004\u0005\u0006\\x07\\0\u0001\u0002\u0003\\v\\n\t\\b\u000F\u000E\\r\\f\\f\\r\u000E\u000F\\b\t\\n\\v\u0013\u0012\u0011\u0010\u0017\u0016\u0015\u0014\u0014\u0015\u0016\u0017\u0010\u0011\u0012\u0013\\x1B\u001A\u0019\u0018\u001F\u001E\u001D\u001C\u001C\u001D\u001E\u001F\u0018\u0019\u001A\\x1B\u0013\u0013\u0013\u0013\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0013\u0013\u0013\u0013\u0002\u0003\u0003\u0003\u0001\u0003\u0003\u0003\u0001\u0003\u0003\u0003\u0002\u0003\u0003\u0003\u0002\u0003\u0003\u0003\\0\u0003\u0003\u0003\u0013\u0013\u0003\u0002\u0003\u0003\u0003\u0002\u0003\u0003\u0013\u0013\u0003\u0002\u0003\u0003\u0003\\v\u0003\\v\u0003\\v\u0003\\v\u0003\u0003\u0003\u0002\u0003\u0001\u0003\\0\u0003\\x07\u0003\u0006\u0003\u0005\u0003\u0004qfplvq`fp`lvmwqjfprvfpwjlmpfrvjsnfmw`lnnvmjwzbubjobaofkjdkojdkwGWG,{kwnonbqhfwjmdhmltofgdfplnfwkjmd`lmwbjmfqgjqf`wjlmpvap`qjafbgufqwjpf`kbqb`wfq!#ubovf>!?,pfof`w=Bvpwqbojb!#`obpp>!pjwvbwjlmbvwklqjwzelooltjmdsqjnbqjozlsfqbwjlm`kboofmdfgfufolsfgbmlmznlvpevm`wjlm#evm`wjlmp`lnsbmjfppwqv`wvqfbdqffnfmw!#wjwof>!slwfmwjbofgv`bwjlmbqdvnfmwppf`lmgbqz`lszqjdkwobmdvbdfpf{`ovpjuf`lmgjwjlm?,elqn=\u000E\tpwbwfnfmwbwwfmwjlmAjldqbskz~#fopf#x\tplovwjlmptkfm#wkf#Bmbozwj`pwfnsobwfpgbmdfqlvppbwfoojwfgl`vnfmwpsvaojpkfqjnslqwbmwsqlwlwzsfjmeovfm`f%qbrvl8?,feef`wjufdfmfqboozwqbmpelqnafbvwjevowqbmpslqwlqdbmjyfgsvaojpkfgsqlnjmfmwvmwjo#wkfwkvnambjoMbwjlmbo#-el`vp+*8lufq#wkf#njdqbwjlmbmmlvm`fgellwfq!=\tf{`fswjlmofpp#wkbmf{sfmpjufelqnbwjlmeqbnftlqhwfqqjwlqzmgj`bwjlm`vqqfmwoz`obppMbnf`qjwj`jpnwqbgjwjlmfopftkfqfBof{bmgfqbssljmwfgnbwfqjbopaqlbg`bpwnfmwjlmfgbeejojbwf?,lswjlm=wqfbwnfmwgjeefqfmw,gfebvow-Sqfpjgfmwlm`oj`h>!ajldqbskzlwkfqtjpfsfqnbmfmwEqbm/KbjpKlooztllgf{sbmpjlmpwbmgbqgp?,pwzof=\tqfgv`wjlmGf`fnafq#sqfefqqfg@bnaqjgdflsslmfmwpAvpjmfpp#`lmevpjlm=\t?wjwof=sqfpfmwfgf{sobjmfgglfp#mlw#tlqogtjgfjmwfqeb`fslpjwjlmpmftpsbsfq?,wbaof=\tnlvmwbjmpojhf#wkf#fppfmwjboejmbm`jbopfof`wjlmb`wjlm>!,babmglmfgFgv`bwjlmsbqpfJmw+pwbajojwzvmbaof#wl?,wjwof=\tqfobwjlmpMlwf#wkbwfeej`jfmwsfqelqnfgwtl#zfbqpPjm`f#wkfwkfqfelqftqbssfq!=bowfqmbwfjm`qfbpfgAbwwof#lesfq`fjufgwqzjmd#wlmf`fppbqzslqwqbzfgfof`wjlmpFojybafwk?,jeqbnf=gjp`lufqzjmpvqbm`fp-ofmdwk8ofdfmgbqzDfldqbskz`bmgjgbwf`lqslqbwfplnfwjnfppfquj`fp-jmkfqjwfg?,pwqlmd=@lnnvmjwzqfojdjlvpol`bwjlmp@lnnjwwffavjogjmdpwkf#tlqogml#olmdfqafdjmmjmdqfefqfm`f`bmmlw#afeqfrvfm`zwzsj`boozjmwl#wkf#qfobwjuf8qf`lqgjmdsqfpjgfmwjmjwjboozwf`kmjrvfwkf#lwkfqjw#`bm#aff{jpwfm`fvmgfqojmfwkjp#wjnfwfofsklmfjwfnp`lsfsqb`wj`fpbgubmwbdf*8qfwvqm#Elq#lwkfqsqlujgjmdgfnl`qb`zalwk#wkf#f{wfmpjufpveefqjmdpvsslqwfg`lnsvwfqp#evm`wjlmsqb`wj`bopbjg#wkbwjw#nbz#afFmdojpk?,eqln#wkf#p`kfgvofggltmolbgp?,obafo=\tpvpsf`wfgnbqdjm9#3psjqjwvbo?,kfbg=\t\tnj`qlplewdqbgvboozgjp`vppfgkf#af`bnff{f`vwjufirvfqz-ipklvpfklog`lmejqnfgsvq`kbpfgojwfqboozgfpwqlzfgvs#wl#wkfubqjbwjlmqfnbjmjmdjw#jp#mlw`fmwvqjfpIbsbmfpf#bnlmd#wkf`lnsofwfgbodlqjwknjmwfqfpwpqfafoojlmvmgfejmfgfm`lvqbdfqfpjybaofjmuloujmdpfmpjwjufvmjufqpbosqlujpjlm+bowklvdkefbwvqjmd`lmgv`wfg*/#tkj`k#`lmwjmvfg.kfbgfq!=Efaqvbqz#mvnfqlvp#lufqeolt9`lnslmfmweqbdnfmwpf{`foofmw`lopsbm>!wf`kmj`bomfbq#wkf#Bgubm`fg#plvq`f#lef{sqfppfgKlmd#Hlmd#Eb`fallhnvowjsof#nf`kbmjpnfofubwjlmleefmpjuf?,elqn=\t\\npslmplqfggl`vnfmw-lq#%rvlw8wkfqf#bqfwklpf#tklnlufnfmwpsql`fppfpgjeej`vowpvanjwwfgqf`lnnfmg`lmujm`fgsqlnlwjmd!#tjgwk>!-qfsob`f+`obppj`bo`lbojwjlmkjp#ejqpwgf`jpjlmpbppjpwbmwjmgj`bwfgfulovwjlm.tqbssfq!fmlvdk#wlbolmd#wkfgfojufqfg..=\u000E\t?\"..Bnfqj`bm#sqlwf`wfgMlufnafq#?,pwzof=?evqmjwvqfJmwfqmfw##lmaovq>!pvpsfmgfgqf`jsjfmwabpfg#lm#Nlqflufq/balojpkfg`loof`wfgtfqf#nbgffnlwjlmbofnfqdfm`zmbqqbwjufbgul`bwfps{8alqgfq`lnnjwwfggjq>!owq!fnsolzffpqfpfbq`k-#pfof`wfgpv``fpplq`vpwlnfqpgjpsobzfgPfswfnafqbgg@obpp+Eb`fallh#pvddfpwfgbmg#obwfqlsfqbwjmdfobalqbwfPlnfwjnfpJmpwjwvwf`fqwbjmozjmpwboofgelooltfqpIfqvpbofnwkfz#kbuf`lnsvwjmddfmfqbwfgsqlujm`fpdvbqbmwffbqajwqbqzqf`ldmjyftbmwfg#wls{8tjgwk9wkflqz#leafkbujlvqTkjof#wkffpwjnbwfgafdbm#wl#jw#af`bnfnbdmjwvgfnvpw#kbufnlqf#wkbmGjqf`wlqzf{wfmpjlmpf`qfwbqzmbwvqboozl``vqqjmdubqjbaofpdjufm#wkfsobwelqn-?,obafo=?ebjofg#wl`lnslvmgphjmgp#le#pl`jfwjfpbolmdpjgf#..%dw8\t\tplvwktfpwwkf#qjdkwqbgjbwjlmnbz#kbuf#vmfp`bsf+pslhfm#jm!#kqfe>!,sqldqbnnflmoz#wkf#`lnf#eqlngjqf`wlqzavqjfg#jmb#pjnjobqwkfz#tfqf?,elmw=?,Mlqtfdjbmpsf`jejfgsqlgv`jmdsbppfmdfq+mft#Gbwfwfnslqbqzej`wjlmboBewfq#wkffrvbwjlmpgltmolbg-qfdvobqozgfufolsfqbaluf#wkfojmhfg#wlskfmlnfmbsfqjlg#lewllowjs!=pvapwbm`fbvwlnbwj`bpsf`w#leBnlmd#wkf`lmmf`wfgfpwjnbwfpBjq#Elq`fpzpwfn#lelaif`wjufjnnfgjbwfnbhjmd#jwsbjmwjmdp`lmrvfqfgbqf#pwjoosql`fgvqfdqltwk#lekfbgfg#azFvqlsfbm#gjujpjlmpnlof`vofpeqbm`kjpfjmwfmwjlmbwwqb`wfg`kjogkllgbopl#vpfggfgj`bwfgpjmdbslqfgfdqff#leebwkfq#le`lmeoj`wp?,b=?,s=\t`bnf#eqlntfqf#vpfgmlwf#wkbwqf`fjujmdF{f`vwjuffufm#nlqfb``fpp#wl`lnnbmgfqSlojwj`bonvpj`jbmpgfoj`jlvpsqjplmfqpbgufmw#leVWE.;!#,=?\"X@GBWBX!=@lmwb`wPlvwkfqm#ad`lolq>!pfqjfp#le-#Jw#tbp#jm#Fvqlsfsfqnjwwfgubojgbwf-bssfbqjmdleej`jboppfqjlvpoz.obmdvbdfjmjwjbwfgf{wfmgjmdolmd.wfqnjmeobwjlmpv`k#wkbwdfw@llhjfnbqhfg#az?,avwwlm=jnsofnfmwavw#jw#jpjm`qfbpfpgltm#wkf#qfrvjqjmdgfsfmgfmw..=\t?\"..#jmwfqujftTjwk#wkf#`lsjfp#le`lmpfmpvptbp#avjowUfmfyvfob+elqnfqozwkf#pwbwfsfqplmmfopwqbwfdj`ebulvq#lejmufmwjlmTjhjsfgjb`lmwjmfmwujqwvbooztkj`k#tbpsqjm`jsof@lnsofwf#jgfmwj`bopklt#wkbwsqjnjwjufbtbz#eqlnnlof`vobqsqf`jpfozgjpploufgVmgfq#wkfufqpjlm>!=%maps8?,Jw#jp#wkf#Wkjp#jp#tjoo#kbuflqdbmjpnpplnf#wjnfEqjfgqj`ktbp#ejqpwwkf#lmoz#eb`w#wkbwelqn#jg>!sqf`fgjmdWf`kmj`boskzpj`jpwl``vqp#jmmbujdbwlqpf`wjlm!=psbm#jg>!plvdkw#wlafolt#wkfpvqujujmd~?,pwzof=kjp#gfbwkbp#jm#wkf`bvpfg#azsbqwjboozf{jpwjmd#vpjmd#wkftbp#djufmb#ojpw#leofufop#lemlwjlm#leLeej`jbo#gjpnjppfgp`jfmwjpwqfpfnaofpgvsoj`bwff{solpjufqf`lufqfgboo#lwkfqdboofqjfpxsbggjmd9sflsof#leqfdjlm#lebggqfppfpbppl`jbwfjnd#bow>!jm#nlgfqmpklvog#afnfwklg#leqfslqwjmdwjnfpwbnsmffgfg#wlwkf#Dqfbwqfdbqgjmdpffnfg#wlujftfg#bpjnsb`w#lmjgfb#wkbwwkf#Tlqogkfjdkw#lef{sbmgjmdWkfpf#bqf`vqqfmw!=`bqfevooznbjmwbjmp`kbqdf#le@obppj`bobggqfppfgsqfgj`wfgltmfqpkjs?gju#jg>!qjdkw!=\u000E\tqfpjgfm`fofbuf#wkf`lmwfmw!=bqf#lewfm##~*+*8\u000E\tsqlabaoz#Sqlefpplq.avwwlm!#qfpslmgfgpbzp#wkbwkbg#wl#afsob`fg#jmKvmdbqjbmpwbwvp#lepfqufp#bpVmjufqpbof{f`vwjlmbddqfdbwfelq#tkj`kjmef`wjlmbdqffg#wlkltfufq/#slsvobq!=sob`fg#lm`lmpwqv`wfof`wlqbopznalo#lejm`ovgjmdqfwvqm#wlbq`kjwf`w@kqjpwjbmsqfujlvp#ojujmd#jmfbpjfq#wlsqlefpplq\t%ow8\"..#feef`w#lebmbozwj`ptbp#wbhfmtkfqf#wkfwllh#lufqafojfe#jmBeqjhbbmpbp#ebq#bpsqfufmwfgtlqh#tjwkb#psf`jbo?ejfogpfw@kqjpwnbpQfwqjfufg\t\tJm#wkf#ab`h#jmwlmlqwkfbpwnbdbyjmfp=?pwqlmd=`lnnjwwffdlufqmjmddqlvsp#lepwlqfg#jmfpwbaojpkb#dfmfqbojwp#ejqpwwkfjq#ltmslsvobwfgbm#laif`w@bqjaafbmboolt#wkfgjpwqj`wptjp`lmpjmol`bwjlm-8#tjgwk9#jmkbajwfgPl`jbojpwIbmvbqz#2?,ellwfq=pjnjobqoz`klj`f#lewkf#pbnf#psf`jej`#avpjmfpp#Wkf#ejqpw-ofmdwk8#gfpjqf#wlgfbo#tjwkpjm`f#wkfvpfqBdfmw`lm`fjufgjmgf{-sksbp#%rvlw8fmdbdf#jmqf`fmwoz/eft#zfbqptfqf#bopl\t?kfbg=\t?fgjwfg#azbqf#hmltm`jwjfp#jmb``fpphfz`lmgfnmfgbopl#kbufpfquj`fp/ebnjoz#leP`kllo#le`lmufqwfgmbwvqf#le#obmdvbdfnjmjpwfqp?,laif`w=wkfqf#jp#b#slsvobqpfrvfm`fpbgul`bwfgWkfz#tfqfbmz#lwkfqol`bwjlm>fmwfq#wkfnv`k#nlqfqfeof`wfgtbp#mbnfglqjdjmbo#b#wzsj`botkfm#wkfzfmdjmffqp`lvog#mlwqfpjgfmwptfgmfpgbzwkf#wkjqg#sqlgv`wpIbmvbqz#1tkbw#wkfzb#`fqwbjmqfb`wjlmpsql`fpplqbewfq#kjpwkf#obpw#`lmwbjmfg!=?,gju=\t?,b=?,wg=gfsfmg#lmpfbq`k!=\tsjf`fp#le`lnsfwjmdQfefqfm`fwfmmfppfftkj`k#kbp#ufqpjlm>?,psbm=#??,kfbgfq=djufp#wkfkjpwlqjbmubovf>!!=sbggjmd93ujft#wkbwwldfwkfq/wkf#nlpw#tbp#elvmgpvapfw#lebwwb`h#lm`kjogqfm/sljmwp#lesfqplmbo#slpjwjlm9boofdfgoz@ofufobmgtbp#obwfqbmg#bewfqbqf#djufmtbp#pwjoop`qloojmdgfpjdm#lenbhfp#wkfnv`k#ofppBnfqj`bmp-\t\tBewfq#/#avw#wkfNvpfvn#leolvjpjbmb+eqln#wkfnjmmfplwbsbqwj`ofpb#sql`fppGlnjmj`bmulovnf#leqfwvqmjmdgfefmpjuf33s{\\x7Fqjdknbgf#eqlnnlvpflufq!#pwzof>!pwbwfp#le+tkj`k#jp`lmwjmvfpEqbm`jp`lavjogjmd#tjwklvw#btjwk#plnftkl#tlvogb#elqn#leb#sbqw#leafelqf#jwhmltm#bp##Pfquj`fpol`bwjlm#bmg#lewfmnfbpvqjmdbmg#jw#jpsbsfqab`hubovfp#le\u000E\t?wjwof=>#tjmglt-gfwfqnjmffq%rvlw8#sobzfg#azbmg#fbqoz?,`fmwfq=eqln#wkjpwkf#wkqffsltfq#bmgle#%rvlw8jmmfqKWNO?b#kqfe>!z9jmojmf8@kvq`k#lewkf#fufmwufqz#kjdkleej`jbo#.kfjdkw9#`lmwfmw>!,`dj.ajm,wl#`qfbwfbeqjhbbmpfpsfqbmwleqbm/Kbjpobwujf)Mvojfwvuj)_(`f)Mwjmb(af)Mwjmb\\fUh\\fT{\\fTN\\n{I\\np@\u0004Fr\\vBl\\bQ\\x7F\tA{\\vUm\u0005Gx\tA{\u0001yp\u0006YA\\0zX\\bTV\\bWl\\bUd\u0004BM\\vB{\\npV\\v@x\u0004B\\\\\\np@\u0004Db\u0004Gz\tal\\npa\tfM\tuD\\bV~\u0004mx\\vQ}\\ndS\tp\\\\\\bVK\\bS]\\bU|\u0005oD\tkV\\ved\\vHR\\nb~\u0004M`\\nJp\u0005oD\u0004|Q\\nLP\u0004Sw\\bTl\\nAI\\nxC\\bWt\tBq\u0005F`\u0004Cm\\vLm\tKx\t}t\\bPv\\ny\\\\\\naB\tV\\x7F\\nZd\u0004XU\u0004li\tfr\ti@\tBH\u0004BD\u0004BV\t`V\\n[]\tp_\tTn\\n~A\\nxR\tuD\t`{\\bV@\tTn\tHK\tAJ\\vxs\u0004Zf\\nqI\u0004Zf\\vBM\\v|j\t}t\\bSM\\nmC\\vQ}pfquj`jlpbqw/A`volbqdfmwjmbabq`folmb`vborvjfqsvaoj`bglsqlgv`wlpslo/Awj`bqfpsvfpwbtjhjsfgjbpjdvjfmwfa/Vprvfgb`lnvmjgbgpfdvqjgbgsqjm`jsbosqfdvmwbp`lmwfmjglqfpslmgfqufmfyvfobsqlaofnbpgj`jfnaqfqfob`j/_mmlujfnaqfpjnjobqfpsqlzf`wlpsqldqbnbpjmpwjwvwlb`wjujgbgfm`vfmwqbf`lmln/Abjn/Mdfmfp`lmwb`wbqgfp`bqdbqmf`fpbqjlbwfm`j/_mwfo/Eelml`lnjpj/_m`bm`jlmfp`bsb`jgbgfm`lmwqbqbm/Mojpjpebulqjwlpw/Eqnjmlpsqlujm`jbfwjrvfwbpfofnfmwlpevm`jlmfpqfpvowbgl`bq/M`wfqsqlsjfgbgsqjm`jsjlmf`fpjgbgnvmj`jsbo`qfb`j/_mgfp`bqdbpsqfpfm`jb`lnfq`jbolsjmjlmfpfifq`j`jlfgjwlqjbopbobnbm`bdlmy/Mofygl`vnfmwlsfo/A`vobqf`jfmwfpdfmfqbofpwbqqbdlmbsq/M`wj`bmlufgbgfpsqlsvfpwbsb`jfmwfpw/E`mj`bplaifwjulp`lmwb`wlp\\fHB\\fIk\\fHn\\fH^\\fHS\\fHc\\fHU\\fId\\fHn\\fH{\\fHC\\fHR\\fHT\\fHR\\fHI\\fHc\\fHY\\fHn\\fH\\\\\\fHU\\fIk\\fHy\\fIg\\fHd\\fHy\\fIm\\fHw\\fH\\\\\\fHU\\fHR\\fH@\\fHR\\fHJ\\fHy\\fHU\\fHR\\fHT\\fHA\\fIl\\fHU\\fIm\\fHc\\fH\\\\\\fHU\\fIl\\fHB\\fId\\fHn\\fHJ\\fHS\\fHD\\fH@\\fHR\\fHHgjsolgl`p\\fHT\\fHB\\fHC\\fH\\\\\\fIn\\fHF\\fHD\\fHR\\fHB\\fHF\\fHH\\fHR\\fHG\\fHS\\fH\\\\\\fHx\\fHT\\fHH\\fHH\\fH\\\\\\fHU\\fH^\\fIg\\fH{\\fHU\\fIm\\fHj\\fH@\\fHR\\fH\\\\\\fHJ\\fIk\\fHZ\\fHU\\fIm\\fHd\\fHz\\fIk\\fH^\\fHC\\fHJ\\fHS\\fHy\\fHR\\fHB\\fHY\\fIk\\fH@\\fHH\\fIl\\fHD\\fH@\\fIl\\fHv\\fHB\\fI`\\fHH\\fHT\\fHR\\fH^\\fH^\\fIk\\fHz\\fHp\\fIe\\fH@\\fHB\\fHJ\\fHJ\\fHH\\fHI\\fHR\\fHD\\fHU\\fIl\\fHZ\\fHU\\fH\\\\\\fHi\\fH^\\fH{\\fHy\\fHA\\fIl\\fHD\\fH{\\fH\\\\\\fHF\\fHR\\fHT\\fH\\\\\\fHR\\fHH\\fHy\\fHS\\fHc\\fHe\\fHT\\fIk\\fH{\\fHC\\fIl\\fHU\\fIn\\fHm\\fHj\\fH{\\fIk\\fHs\\fIl\\fHB\\fHz\\fIg\\fHp\\fHy\\fHR\\fH\\\\\\fHi\\fHA\\fIl\\fH{\\fHC\\fIk\\fHH\\fIm\\fHB\\fHY\\fIg\\fHs\\fHJ\\fIk\\fHn\\fHi\\fH{\\fH\\\\\\fH|\\fHT\\fIk\\fHB\\fIk\\fH^\\fH^\\fH{\\fHR\\fHU\\fHR\\fH^\\fHf\\fHF\\fH\\\\\\fHv\\fHR\\fH\\\\\\fH|\\fHT\\fHR\\fHJ\\fIk\\fH\\\\\\fHp\\fHS\\fHT\\fHJ\\fHS\\fH^\\fH@\\fHn\\fHJ\\fH@\\fHD\\fHR\\fHU\\fIn\\fHn\\fH^\\fHR\\fHz\\fHp\\fIl\\fHH\\fH@\\fHs\\fHD\\fHB\\fHS\\fH^\\fHk\\fHT\\fIk\\fHj\\fHD\\fIk\\fHD\\fHC\\fHR\\fHy\\fIm\\fH^\\fH^\\fIe\\fH{\\fHA\\fHR\\fH{\\fH\\\\\\fIk\\fH^\\fHp\\fH{\\fHU\\fH\\\\\\fHR\\fHB\\fH^\\fH{\\fIk\\fHF\\fIk\\fHp\\fHU\\fHR\\fHI\\fHk\\fHT\\fIl\\fHT\\fHU\\fIl\\fHy\\fH^\\fHR\\fHL\\fIl\\fHy\\fHU\\fHR\\fHm\\fHJ\\fIn\\fH\\\\\\fHH\\fHU\\fHH\\fHT\\fHR\\fHH\\fHC\\fHR\\fHJ\\fHj\\fHC\\fHR\\fHF\\fHR\\fHy\\fHy\\fI`\\fHD\\fHZ\\fHR\\fHB\\fHJ\\fIk\\fHz\\fHC\\fHU\\fIl\\fH\\\\\\fHR\\fHC\\fHz\\fIm\\fHJ\\fH^\\fH{\\fIl`bwfdlqjfpf{sfqjfm`f?,wjwof=\u000E\t@lszqjdkw#ibubp`qjsw`lmgjwjlmpfufqzwkjmd?s#`obpp>!wf`kmloldzab`hdqlvmg?b#`obpp>!nbmbdfnfmw%`lsz8#132ibubP`qjsw`kbqb`wfqpaqfbg`qvnawkfnpfoufpklqjylmwbodlufqmnfmw@bojelqmjbb`wjujwjfpgjp`lufqfgMbujdbwjlmwqbmpjwjlm`lmmf`wjlmmbujdbwjlmbssfbqbm`f?,wjwof=?n`kf`hal{!#wf`kmjrvfpsqlwf`wjlmbssbqfmwozbp#tfoo#bpvmw$/#$VB.qfplovwjlmlsfqbwjlmpwfofujpjlmwqbmpobwfgTbpkjmdwlmmbujdbwlq-#>#tjmglt-jnsqfppjlm%ow8aq%dw8ojwfqbwvqfslsvobwjlmad`lolq>! fpsf`jbooz#`lmwfmw>!sqlgv`wjlmmftpofwwfqsqlsfqwjfpgfejmjwjlmofbgfqpkjsWf`kmloldzSbqojbnfmw`lnsbqjplmvo#`obpp>!-jmgf{Le+!`lm`ovpjlmgjp`vppjlm`lnslmfmwpajloldj`boQfulovwjlm\\\\`lmwbjmfqvmgfqpwllgmlp`qjsw=?sfqnjppjlmfb`k#lwkfqbwnlpskfqf#lmel`vp>!?elqn#jg>!sql`fppjmdwkjp-ubovfdfmfqbwjlm@lmefqfm`fpvapfrvfmwtfoo.hmltmubqjbwjlmpqfsvwbwjlmskfmlnfmlmgjp`jsojmfoldl-smd!#+gl`vnfmw/alvmgbqjfpf{sqfppjlmpfwwofnfmwAb`hdqlvmglvw#le#wkffmwfqsqjpf+!kwwsp9!#vmfp`bsf+!sbpptlqg!#gfnl`qbwj`?b#kqfe>!,tqbssfq!=\tnfnafqpkjsojmdvjpwj`s{8sbggjmdskjolplskzbppjpwbm`fvmjufqpjwzeb`jojwjfpqf`ldmjyfgsqfefqfm`fje#+wzsflenbjmwbjmfgul`bavobqzkzslwkfpjp-pvanjw+*8%bns8maps8bmmlwbwjlmafkjmg#wkfElvmgbwjlmsvaojpkfq!bppvnswjlmjmwqlgv`fg`lqqvswjlmp`jfmwjpwpf{soj`jwozjmpwfbg#legjnfmpjlmp#lm@oj`h>!`lmpjgfqfggfsbqwnfmwl``vsbwjlmpllm#bewfqjmufpwnfmwsqlmlvm`fgjgfmwjejfgf{sfqjnfmwNbmbdfnfmwdfldqbskj`!#kfjdkw>!ojmh#qfo>!-qfsob`f+,gfsqfppjlm`lmefqfm`fsvmjpknfmwfojnjmbwfgqfpjpwbm`fbgbswbwjlmlsslpjwjlmtfoo#hmltmpvssofnfmwgfwfqnjmfgk2#`obpp>!3s{8nbqdjmnf`kbmj`bopwbwjpwj`p`fofaqbwfgDlufqmnfmw\t\tGvqjmd#wgfufolsfqpbqwjej`jbofrvjubofmwlqjdjmbwfg@lnnjppjlmbwwb`knfmw?psbm#jg>!wkfqf#tfqfMfgfqobmgpafzlmg#wkfqfdjpwfqfgilvqmbojpweqfrvfmwozboo#le#wkfobmd>!fm!#?,pwzof=\u000E\tbaplovwf8#pvsslqwjmdf{wqfnfoz#nbjmpwqfbn?,pwqlmd=#slsvobqjwzfnsolznfmw?,wbaof=\u000E\t#`lopsbm>!?,elqn=\t##`lmufqpjlmbalvw#wkf#?,s=?,gju=jmwfdqbwfg!#obmd>!fmSlqwvdvfpfpvapwjwvwfjmgjujgvbojnslppjaofnvowjnfgjbbonlpw#boos{#plojg# bsbqw#eqlnpvaif`w#wljm#Fmdojpk`qjwj`jyfgf{`fsw#elqdvjgfojmfplqjdjmboozqfnbqhbaofwkf#pf`lmgk1#`obpp>!?b#wjwof>!+jm`ovgjmdsbqbnfwfqpsqlkjajwfg>#!kwws9,,gj`wjlmbqzsfq`fswjlmqfulovwjlmelvmgbwjlms{8kfjdkw9pv``fppevopvsslqwfqpnjoofmmjvnkjp#ebwkfqwkf#%rvlw8ml.qfsfbw8`lnnfq`jbojmgvpwqjbofm`lvqbdfgbnlvmw#le#vmleej`jbofeej`jfm`zQfefqfm`fp`llqgjmbwfgjp`objnfqf{sfgjwjlmgfufolsjmd`bo`vobwfgpjnsojejfgofdjwjnbwfpvapwqjmd+3!#`obpp>!`lnsofwfozjoovpwqbwfejuf#zfbqpjmpwqvnfmwSvaojpkjmd2!#`obpp>!spz`kloldz`lmejgfm`fmvnafq#le#bapfm`f#leel`vpfg#lmiljmfg#wkfpwqv`wvqfpsqfujlvpoz=?,jeqbnf=lm`f#bdbjmavw#qbwkfqjnnjdqbmwple#`lvqpf/b#dqlvs#leOjwfqbwvqfVmojhf#wkf?,b=%maps8\tevm`wjlm#jw#tbp#wkf@lmufmwjlmbvwlnlajofSqlwfpwbmwbddqfppjufbewfq#wkf#Pjnjobqoz/!#,=?,gju=`loof`wjlm\u000E\tevm`wjlmujpjajojwzwkf#vpf#leulovmwffqpbwwqb`wjlmvmgfq#wkf#wkqfbwfmfg)?\"X@GBWBXjnslqwbm`fjm#dfmfqbowkf#obwwfq?,elqn=\t?,-jmgf{Le+$j#>#38#j#?gjeefqfm`fgfulwfg#wlwqbgjwjlmppfbq`k#elqvowjnbwfozwlvqmbnfmwbwwqjavwfppl.`boofg#~\t?,pwzof=fubovbwjlmfnskbpjyfgb``fppjaof?,pf`wjlm=pv``fppjlmbolmd#tjwkNfbmtkjof/jmgvpwqjfp?,b=?aq#,=kbp#af`lnfbpsf`wp#leWfofujpjlmpveej`jfmwabphfwabooalwk#pjgfp`lmwjmvjmdbm#bqwj`of?jnd#bow>!bgufmwvqfpkjp#nlwkfqnbm`kfpwfqsqjm`jsofpsbqwj`vobq`lnnfmwbqzfeef`wp#legf`jgfg#wl!=?pwqlmd=svaojpkfqpIlvqmbo#legjeej`vowzeb`jojwbwfb``fswbaofpwzof-`pp!\\nevm`wjlm#jmmlubwjlm=@lszqjdkwpjwvbwjlmptlvog#kbufavpjmfppfpGj`wjlmbqzpwbwfnfmwplewfm#vpfgsfqpjpwfmwjm#Ibmvbqz`lnsqjpjmd?,wjwof=\t\\ngjsolnbwj``lmwbjmjmdsfqelqnjmdf{wfmpjlmpnbz#mlw#af`lm`fsw#le#lm`oj`h>!Jw#jp#boplejmbm`jbo#nbhjmd#wkfOv{fnalvqdbggjwjlmbobqf#`boofgfmdbdfg#jm!p`qjsw!*8avw#jw#tbpfof`wqlmj`lmpvanjw>!\t?\"..#Fmg#fof`wqj`boleej`jboozpvddfpwjlmwls#le#wkfvmojhf#wkfBvpwqbojbmLqjdjmboozqfefqfm`fp\t?,kfbg=\u000E\tqf`ldmjpfgjmjwjbojyfojnjwfg#wlBof{bmgqjbqfwjqfnfmwBgufmwvqfpelvq#zfbqp\t\t%ow8\"..#jm`qfbpjmdgf`lqbwjlmk0#`obpp>!lqjdjmp#lelaojdbwjlmqfdvobwjlm`obppjejfg+evm`wjlm+bgubmwbdfpafjmd#wkf#kjpwlqjbmp?abpf#kqfeqfsfbwfgoztjoojmd#wl`lnsbqbaofgfpjdmbwfgmlnjmbwjlmevm`wjlmbojmpjgf#wkfqfufobwjlmfmg#le#wkfp#elq#wkf#bvwklqjyfgqfevpfg#wlwbhf#sob`fbvwlmlnlvp`lnsqlnjpfslojwj`bo#qfpwbvqbmwwtl#le#wkfEfaqvbqz#1rvbojwz#leptelaif`w-vmgfqpwbmgmfbqoz#bootqjwwfm#azjmwfqujftp!#tjgwk>!2tjwkgqbtboeolbw9ofewjp#vpvbooz`bmgjgbwfpmftpsbsfqpnzpwfqjlvpGfsbqwnfmwafpw#hmltmsbqojbnfmwpvssqfppfg`lmufmjfmwqfnfnafqfggjeefqfmw#pzpwfnbwj`kbp#ofg#wlsqlsbdbmgb`lmwqloofgjmeovfm`fp`fqfnlmjbosql`objnfgSqlwf`wjlmoj#`obpp>!P`jfmwjej``obpp>!ml.wqbgfnbqhpnlqf#wkbm#tjgfpsqfbgOjafqbwjlmwllh#sob`fgbz#le#wkfbp#olmd#bpjnsqjplmfgBggjwjlmbo\t?kfbg=\t?nObalqbwlqzMlufnafq#1f{`fswjlmpJmgvpwqjboubqjfwz#leeolbw9#ofeGvqjmd#wkfbppfppnfmwkbuf#affm#gfbop#tjwkPwbwjpwj`pl``vqqfm`f,vo=?,gju=`ofbqej{!=wkf#svaoj`nbmz#zfbqptkj`k#tfqflufq#wjnf/pzmlmznlvp`lmwfmw!=\tsqfpvnbaozkjp#ebnjozvpfqBdfmw-vmf{sf`wfgjm`ovgjmd#`kboofmdfgb#njmlqjwzvmgfejmfg!afolmdp#wlwbhfm#eqlnjm#L`wlafqslpjwjlm9#pbjg#wl#afqfojdjlvp#Efgfqbwjlm#qltpsbm>!lmoz#b#eftnfbmw#wkbwofg#wl#wkf..=\u000E\t?gju#?ejfogpfw=Bq`kajpkls#`obpp>!mlafjmd#vpfgbssqlb`kfpsqjujofdfpmlp`qjsw=\tqfpvowp#jmnbz#af#wkfFbpwfq#fddnf`kbmjpnpqfbplmbaofSlsvobwjlm@loof`wjlmpfof`wfg!=mlp`qjsw=\u000E,jmgf{-sksbqqjubo#le.ippgh$**8nbmbdfg#wljm`lnsofwf`bpvbowjfp`lnsofwjlm@kqjpwjbmpPfswfnafq#bqjwknfwj`sql`fgvqfpnjdkw#kbufSqlgv`wjlmjw#bssfbqpSkjolplskzeqjfmgpkjsofbgjmd#wldjujmd#wkfwltbqg#wkfdvbqbmwffggl`vnfmwfg`lolq9 333ujgfl#dbnf`lnnjppjlmqfeof`wjmd`kbmdf#wkfbppl`jbwfgpbmp.pfqjelmhfzsqfpp8#sbggjmd9Kf#tbp#wkfvmgfqozjmdwzsj`booz#/#bmg#wkf#pq`Fofnfmwpv``fppjufpjm`f#wkf#pklvog#af#mfwtlqhjmdb``lvmwjmdvpf#le#wkfoltfq#wkbmpkltp#wkbw?,psbm=\t\\n\\n`lnsobjmwp`lmwjmvlvprvbmwjwjfpbpwqlmlnfqkf#gjg#mlwgvf#wl#jwpbssojfg#wlbm#bufqbdffeelqwp#wlwkf#evwvqfbwwfnsw#wlWkfqfelqf/`bsbajojwzQfsvaoj`bmtbp#elqnfgFof`wqlmj`hjolnfwfqp`kboofmdfpsvaojpkjmdwkf#elqnfqjmgjdfmlvpgjqf`wjlmppvapjgjbqz`lmpsjqb`zgfwbjop#lebmg#jm#wkfbeelqgbaofpvapwbm`fpqfbplm#elq`lmufmwjlmjwfnwzsf>!baplovwfozpvsslpfgozqfnbjmfg#bbwwqb`wjufwqbufoojmdpfsbqbwfozel`vpfp#lmfofnfmwbqzbssoj`baofelvmg#wkbwpwzofpkffwnbmvp`qjswpwbmgp#elq#ml.qfsfbw+plnfwjnfp@lnnfq`jbojm#Bnfqj`bvmgfqwbhfmrvbqwfq#lebm#f{bnsofsfqplmboozjmgf{-sks<?,avwwlm=\tsfq`fmwbdfafpw.hmltm`qfbwjmd#b!#gjq>!owqOjfvwfmbmw\t?gju#jg>!wkfz#tlvogbajojwz#lenbgf#vs#lemlwfg#wkbw`ofbq#wkbwbqdvf#wkbwwl#bmlwkfq`kjogqfm$psvqslpf#leelqnvobwfgabpfg#vslmwkf#qfdjlmpvaif`w#lesbppfmdfqpslppfppjlm-\t\tJm#wkf#Afelqf#wkfbewfqtbqgp`vqqfmwoz#b`qlpp#wkfp`jfmwjej``lnnvmjwz-`bsjwbojpnjm#Dfqnbmzqjdkw.tjmdwkf#pzpwfnPl`jfwz#leslojwj`jbmgjqf`wjlm9tfmw#lm#wlqfnlubo#le#Mft#Zlqh#bsbqwnfmwpjmgj`bwjlmgvqjmd#wkfvmofpp#wkfkjpwlqj`bokbg#affm#bgfejmjwjufjmdqfgjfmwbwwfmgbm`f@fmwfq#elqsqlnjmfm`fqfbgzPwbwfpwqbwfdjfpavw#jm#wkfbp#sbqw#le`lmpwjwvwf`objn#wkbwobalqbwlqz`lnsbwjaofebjovqf#le/#pv`k#bp#afdbm#tjwkvpjmd#wkf#wl#sqlujgfefbwvqf#leeqln#tkj`k,!#`obpp>!dfloldj`bopfufqbo#legfojafqbwfjnslqwbmw#klogp#wkbwjmd%rvlw8#ubojdm>wlswkf#Dfqnbmlvwpjgf#lemfdlwjbwfgkjp#`bqffqpfsbqbwjlmjg>!pfbq`ktbp#`boofgwkf#elvqwkqf`qfbwjlmlwkfq#wkbmsqfufmwjlmtkjof#wkf#fgv`bwjlm/`lmmf`wjmdb``vqbwfoztfqf#avjowtbp#hjoofgbdqffnfmwpnv`k#nlqf#Gvf#wl#wkftjgwk9#233plnf#lwkfqHjmdgln#lewkf#fmwjqfebnlvp#elqwl#`lmmf`wlaif`wjufpwkf#Eqfm`ksflsof#bmgefbwvqfg!=jp#pbjg#wlpwqv`wvqboqfefqfmgvnnlpw#lewfmb#pfsbqbwf.=\t?gju#jg#Leej`jbo#tlqogtjgf-bqjb.obafowkf#sobmfwbmg#jw#tbpg!#ubovf>!ollhjmd#bwafmfej`jbobqf#jm#wkfnlmjwlqjmdqfslqwfgozwkf#nlgfqmtlqhjmd#lmbooltfg#wltkfqf#wkf#jmmlubwjuf?,b=?,gju=plvmgwqb`hpfbq`kElqnwfmg#wl#afjmsvw#jg>!lsfmjmd#leqfpwqj`wfgbglswfg#azbggqfppjmdwkfloldjbmnfwklgp#leubqjbmw#le@kqjpwjbm#ufqz#obqdfbvwlnlwjufaz#ebq#wkfqbmdf#eqlnsvqpvjw#leeloolt#wkfaqlvdkw#wljm#Fmdobmgbdqff#wkbwb``vpfg#le`lnfp#eqlnsqfufmwjmdgju#pwzof>kjp#lq#kfqwqfnfmglvpeqffgln#le`lm`fqmjmd3#2fn#2fn8Abphfwaboo,pwzof-`ppbm#fbqojfqfufm#bewfq,!#wjwof>!-`ln,jmgf{wbhjmd#wkfsjwwpavqdk`lmwfmw!=\u000E?p`qjsw=+ewvqmfg#lvwkbujmd#wkf?,psbm=\u000E\t#l``bpjlmboaf`bvpf#jwpwbqwfg#wlskzpj`booz=?,gju=\t##`qfbwfg#az@vqqfmwoz/#ad`lolq>!wbajmgf{>!gjpbpwqlvpBmbozwj`p#bopl#kbp#b=?gju#jg>!?,pwzof=\t?`boofg#elqpjmdfq#bmg-pq`#>#!,,ujlobwjlmpwkjp#sljmw`lmpwbmwozjp#ol`bwfgqf`lqgjmdpg#eqln#wkfmfgfqobmgpslqwvdv/Fp;N;};D;u;F5m4K4]4_7`gfpbqqlool`lnfmwbqjlfgv`b`j/_mpfswjfnaqfqfdjpwqbglgjqf``j/_mvaj`b`j/_msvaoj`jgbgqfpsvfpwbpqfpvowbglpjnslqwbmwfqfpfqubglpbqw/A`volpgjefqfmwfppjdvjfmwfpqfs/Vaoj`bpjwvb`j/_mnjmjpwfqjlsqjub`jgbggjqf`wlqjlelqnb`j/_mslaob`j/_msqfpjgfmwf`lmw','fmjglpb``fplqjlpwf`kmlqbwjsfqplmbofp`bwfdlq/Abfpsf`jbofpgjpslmjaofb`wvbojgbgqfefqfm`jbuboobglojgajaojlwf`bqfob`jlmfp`bofmgbqjlslo/Awj`bpbmwfqjlqfpgl`vnfmwlpmbwvqbofybnbwfqjbofpgjefqfm`jbf`lm/_nj`bwqbmpslqwfqlgq/Advfysbqwj`jsbqfm`vfmwqbmgjp`vpj/_mfpwqv`wvqbevmgb`j/_meqf`vfmwfpsfqnbmfmwfwlwbonfmwf<P<R<Z<Q<R<]=o<X<Y=n<P<R<Z<Y=n<^=l<Y<P=c=n<\\\\<V<Z<Y=k=n<R<]=g<]<R<W<Y<Y<R=k<Y<Q=`=a=n<R<_<R<V<R<_<X<\\\\<S<R=m<W<Y<^=m<Y<_<R=m<\\\\<U=n<Y=k<Y=l<Y<[<P<R<_=o=n=m<\\\\<U=n<\\\\<Z<T<[<Q<T<P<Y<Z<X=o<]=o<X=o=n<s<R<T=m<V<[<X<Y=m=`<^<T<X<Y<R=m<^=c<[<T<Q=o<Z<Q<R=m<^<R<Y<U<W=b<X<Y<U<S<R=l<Q<R<P<Q<R<_<R<X<Y=n<Y<U=m<^<R<T=i<S=l<\\\\<^<\\\\=n<\\\\<V<R<U<P<Y=m=n<R<T<P<Y<Y=n<Z<T<[<Q=`<R<X<Q<R<U<W=o=k=d<Y<S<Y=l<Y<X=k<\\\\=m=n<T=k<\\\\=m=n=`=l<\\\\<]<R=n<Q<R<^=g=i<S=l<\\\\<^<R=m<R<]<R<U<S<R=n<R<P<P<Y<Q<Y<Y=k<T=m<W<Y<Q<R<^=g<Y=o=m<W=o<_<R<V<R<W<R<Q<\\\\<[<\\\\<X=n<\\\\<V<R<Y=n<R<_<X<\\\\<S<R=k=n<T<s<R=m<W<Y=n<\\\\<V<T<Y<Q<R<^=g<U=m=n<R<T=n=n<\\\\<V<T=i=m=l<\\\\<[=o<M<\\\\<Q<V=n=h<R=l=o<P<v<R<_<X<\\\\<V<Q<T<_<T=m<W<R<^<\\\\<Q<\\\\=d<Y<U<Q<\\\\<U=n<T=m<^<R<T<P=m<^=c<[=`<W=b<]<R<U=k<\\\\=m=n<R=m=l<Y<X<T<v=l<R<P<Y<H<R=l=o<P=l=g<Q<V<Y=m=n<\\\\<W<T<S<R<T=m<V=n=g=m=c=k<P<Y=m=c=j=j<Y<Q=n=l=n=l=o<X<\\\\=m<\\\\<P=g=i=l=g<Q<V<\\\\<q<R<^=g<U=k<\\\\=m<R<^<P<Y=m=n<\\\\=h<T<W=`<P<P<\\\\=l=n<\\\\=m=n=l<\\\\<Q<P<Y=m=n<Y=n<Y<V=m=n<Q<\\\\=d<T=i<P<T<Q=o=n<T<P<Y<Q<T<T<P<Y=b=n<Q<R<P<Y=l<_<R=l<R<X=m<\\\\<P<R<P=a=n<R<P=o<V<R<Q=j<Y=m<^<R<Y<P<V<\\\\<V<R<U<|=l=i<T<^5i5j4F4C5e4I4]4_4K5h4]4_4K5h4E4K5h4U4K5i5o4F4D5k4K4D4]4K5i4@4K5h5f5d5i4K5h4Y5d4]4@4C5f4C4E4K5h4U4Z5d4I4Z4K5m4E4K5h5n4_5i4K5h4U4K4D4F4A5i5f5h5i5h5m4K4F5i5h4F5n5e4F4U4C5f5h4K5h4X4U4]4O4B4D4K4]4F4[5d5f4]4U5h5f5o5i4I4]5m4K5n4[5h4D4K4F4K5h5h4V4E4F4]4F5f4D4K5h5j4K4_4K5h4X5f4B5i5j4F4C5f4K5h4U4]4D4K5h5n4Y4Y4K5m5h4K5i4U5h5f5k4K4F4A4C5f4G4K5h5h5k5i4K5h4U5i5h5i5o4F4D4E5f5i5o5j5o4K5h4[5m5h5m5f4C5f5d4I4C4K4]4E4F4K4]5f4B4K5h4Y4A4E4F4_4@5f5h4K5h5d5n4F4U5j4C5i4K5i4C5f5j4E4F4Y5i5f5i4O4]4X5f5m4K5h4\\\\5f5j4U4]4D5f4E4D5d4K4D4E4O5h4U4K4D4K5h4_5m4]5i4X4K5o5h4F4U4K5h5e4K5h4O5d5h4K5h4_5j4E4@4K5i4U4E4K5h4Y4A5m4K5h4C5f5j5o5h5i4K4F4K5h4B4K4Y4K5h5i5h5m4O4U4Z4K4M5o4F4K4D4E4K5h4B5f4]4]4_4K4J5h4K5h5n5h4D4K5h4O4C4D5i5n4K4[4U5i4]4K4_5h5i5j4[5n4E4K5h5o4F4D4K5h4]4@5h4K4X4F4]5o4K5h5n4C5i5f4U4[5f5opAzWbdMbnf+-isd!#bow>!2s{#plojg# -dje!#bow>!wqbmpsbqfmwjmelqnbwjlmbssoj`bwjlm!#lm`oj`h>!fpwbaojpkfgbgufqwjpjmd-smd!#bow>!fmujqlmnfmwsfqelqnbm`fbssqlsqjbwf%bns8ngbpk8jnnfgjbwfoz?,pwqlmd=?,qbwkfq#wkbmwfnsfqbwvqfgfufolsnfmw`lnsfwjwjlmsob`fklogfqujpjajojwz9`lszqjdkw!=3!#kfjdkw>!fufm#wklvdkqfsob`fnfmwgfpwjmbwjlm@lqslqbwjlm?vo#`obpp>!Bppl`jbwjlmjmgjujgvbopsfqpsf`wjufpfwWjnflvw+vqo+kwws9,,nbwkfnbwj`pnbqdjm.wls9fufmwvbooz#gfp`qjswjlm*#ml.qfsfbw`loof`wjlmp-ISD\\x7Fwkvna\\x7Fsbqwj`jsbwf,kfbg=?algzeolbw9ofew8?oj#`obpp>!kvmgqfgp#le\t\tKltfufq/#`lnslpjwjlm`ofbq9alwk8`llsfqbwjlmtjwkjm#wkf#obafo#elq>!alqgfq.wls9Mft#Yfbobmgqf`lnnfmgfgsklwldqbskzjmwfqfpwjmd%ow8pvs%dw8`lmwqlufqpzMfwkfqobmgpbowfqmbwjufnb{ofmdwk>!ptjwyfqobmgGfufolsnfmwfppfmwjbooz\t\tBowklvdk#?,wf{wbqfb=wkvmgfqajqgqfsqfpfmwfg%bns8mgbpk8psf`vobwjlm`lnnvmjwjfpofdjpobwjlmfof`wqlmj`p\t\\n?gju#jg>!joovpwqbwfgfmdjmffqjmdwfqqjwlqjfpbvwklqjwjfpgjpwqjavwfg5!#kfjdkw>!pbmp.pfqje8`bsbaof#le#gjpbssfbqfgjmwfqb`wjufollhjmd#elqjw#tlvog#afBedkbmjpwbmtbp#`qfbwfgNbwk-eollq+pvqqlvmgjmd`bm#bopl#aflapfqubwjlmnbjmwfmbm`ffm`lvmwfqfg?k1#`obpp>!nlqf#qf`fmwjw#kbp#affmjmubpjlm#le*-dfwWjnf+*evmgbnfmwboGfpsjwf#wkf!=?gju#jg>!jmpsjqbwjlmf{bnjmbwjlmsqfsbqbwjlmf{sobmbwjlm?jmsvw#jg>!?,b=?,psbm=ufqpjlmp#lejmpwqvnfmwpafelqf#wkf##>#$kwws9,,Gfp`qjswjlmqfobwjufoz#-pvapwqjmd+fb`k#le#wkff{sfqjnfmwpjmeovfmwjbojmwfdqbwjlmnbmz#sflsofgvf#wl#wkf#`lnajmbwjlmgl#mlw#kbufNjggof#Fbpw?mlp`qjsw=?`lszqjdkw!#sfqkbsp#wkfjmpwjwvwjlmjm#Gf`fnafqbqqbmdfnfmwnlpw#ebnlvpsfqplmbojwz`qfbwjlm#leojnjwbwjlmpf{`ovpjufozplufqfjdmwz.`lmwfmw!=\t?wg#`obpp>!vmgfqdqlvmgsbqboofo#wlgl`wqjmf#lel``vsjfg#azwfqnjmloldzQfmbjppbm`fb#mvnafq#lepvsslqw#elqf{solqbwjlmqf`ldmjwjlmsqfgf`fpplq?jnd#pq`>!,?k2#`obpp>!svaoj`bwjlmnbz#bopl#afpsf`jbojyfg?,ejfogpfw=sqldqfppjufnjoojlmp#lepwbwfp#wkbwfmelq`fnfmwbqlvmg#wkf#lmf#bmlwkfq-sbqfmwMlgfbdqj`vowvqfBowfqmbwjufqfpfbq`kfqpwltbqgp#wkfNlpw#le#wkfnbmz#lwkfq#+fpsf`jbooz?wg#tjgwk>!8tjgwk9233&jmgfsfmgfmw?k0#`obpp>!#lm`kbmdf>!*-bgg@obpp+jmwfqb`wjlmLmf#le#wkf#gbvdkwfq#leb``fpplqjfpaqbm`kfp#le\u000E\t?gju#jg>!wkf#obqdfpwgf`obqbwjlmqfdvobwjlmpJmelqnbwjlmwqbmpobwjlmgl`vnfmwbqzjm#lqgfq#wl!=\t?kfbg=\t?!#kfjdkw>!2b`qlpp#wkf#lqjfmwbwjlm*8?,p`qjsw=jnsofnfmwfg`bm#af#pffmwkfqf#tbp#bgfnlmpwqbwf`lmwbjmfq!=`lmmf`wjlmpwkf#Aqjwjpktbp#tqjwwfm\"jnslqwbmw8s{8#nbqdjm.elooltfg#azbajojwz#wl#`lnsoj`bwfggvqjmd#wkf#jnnjdqbwjlmbopl#`boofg?k7#`obpp>!gjpwjm`wjlmqfsob`fg#azdlufqmnfmwpol`bwjlm#lejm#Mlufnafqtkfwkfq#wkf?,s=\t?,gju=b`rvjpjwjlm`boofg#wkf#sfqpf`vwjlmgfpjdmbwjlmxelmw.pjyf9bssfbqfg#jmjmufpwjdbwff{sfqjfm`fgnlpw#ojhfoztjgfoz#vpfggjp`vppjlmpsqfpfm`f#le#+gl`vnfmw-f{wfmpjufozJw#kbp#affmjw#glfp#mlw`lmwqbqz#wljmkbajwbmwpjnsqlufnfmwp`klobqpkjs`lmpvnswjlmjmpwqv`wjlmelq#f{bnsoflmf#lq#nlqfs{8#sbggjmdwkf#`vqqfmwb#pfqjfp#lebqf#vpvboozqlof#jm#wkfsqfujlvpoz#gfqjubwjufpfujgfm`f#lef{sfqjfm`fp`lolqp`kfnfpwbwfg#wkbw`fqwjej`bwf?,b=?,gju=\t#pfof`wfg>!kjdk#p`klloqfpslmpf#wl`lnelqwbaofbglswjlm#lewkqff#zfbqpwkf#`lvmwqzjm#Efaqvbqzpl#wkbw#wkfsflsof#tkl#sqlujgfg#az?sbqbn#mbnfbeef`wfg#azjm#wfqnp#lebssljmwnfmwJPL.;;6:.2!tbp#alqm#jmkjpwlqj`bo#qfdbqgfg#bpnfbpvqfnfmwjp#abpfg#lm#bmg#lwkfq#9#evm`wjlm+pjdmjej`bmw`fofaqbwjlmwqbmpnjwwfg,ip,irvfqz-jp#hmltm#bpwkflqfwj`bo#wbajmgf{>!jw#`lvog#af?mlp`qjsw=\tkbujmd#affm\u000E\t?kfbg=\u000E\t?#%rvlw8Wkf#`lnsjobwjlmkf#kbg#affmsqlgv`fg#azskjolplskfq`lmpwqv`wfgjmwfmgfg#wlbnlmd#lwkfq`lnsbqfg#wlwl#pbz#wkbwFmdjmffqjmdb#gjeefqfmwqfefqqfg#wlgjeefqfm`fpafojfe#wkbwsklwldqbskpjgfmwjezjmdKjpwlqz#le#Qfsvaoj`#lemf`fppbqjozsqlabajojwzwf`kmj`boozofbujmd#wkfpsf`wb`vobqeqb`wjlm#lefof`wqj`jwzkfbg#le#wkfqfpwbvqbmwpsbqwmfqpkjsfnskbpjp#lmnlpw#qf`fmwpkbqf#tjwk#pbzjmd#wkbwejoofg#tjwkgfpjdmfg#wljw#jp#lewfm!=?,jeqbnf=bp#elooltp9nfqdfg#tjwkwkqlvdk#wkf`lnnfq`jbo#sljmwfg#lvwlsslqwvmjwzujft#le#wkfqfrvjqfnfmwgjujpjlm#lesqldqbnnjmdkf#qf`fjufgpfwJmwfqubo!=?,psbm=?,jm#Mft#Zlqhbggjwjlmbo#`lnsqfppjlm\t\t?gju#jg>!jm`lqslqbwf8?,p`qjsw=?bwwb`kFufmwaf`bnf#wkf#!#wbqdfw>!\\\\`bqqjfg#lvwPlnf#le#wkfp`jfm`f#bmgwkf#wjnf#le@lmwbjmfq!=nbjmwbjmjmd@kqjpwlskfqNv`k#le#wkftqjwjmdp#le!#kfjdkw>!1pjyf#le#wkfufqpjlm#le#nj{wvqf#le#afwtffm#wkfF{bnsofp#lefgv`bwjlmbo`lnsfwjwjuf#lmpvanjw>!gjqf`wlq#legjpwjm`wjuf,GWG#[KWNO#qfobwjmd#wlwfmgfm`z#wlsqlujm`f#letkj`k#tlvoggfpsjwf#wkfp`jfmwjej`#ofdjpobwvqf-jmmfqKWNO#boofdbwjlmpBdqj`vowvqftbp#vpfg#jmbssqlb`k#wljmwfoojdfmwzfbqp#obwfq/pbmp.pfqjegfwfqnjmjmdSfqelqnbm`fbssfbqbm`fp/#tkj`k#jp#elvmgbwjlmpbaaqfujbwfgkjdkfq#wkbmp#eqln#wkf#jmgjujgvbo#`lnslpfg#lepvsslpfg#wl`objnp#wkbwbwwqjavwjlmelmw.pjyf92fofnfmwp#leKjpwlqj`bo#kjp#aqlwkfqbw#wkf#wjnfbmmjufqpbqzdlufqmfg#azqfobwfg#wl#vowjnbwfoz#jmmlubwjlmpjw#jp#pwjoo`bm#lmoz#afgfejmjwjlmpwlDNWPwqjmdB#mvnafq#lejnd#`obpp>!Fufmwvbooz/tbp#`kbmdfgl``vqqfg#jmmfjdkalqjmdgjpwjmdvjpktkfm#kf#tbpjmwqlgv`jmdwfqqfpwqjboNbmz#le#wkfbqdvfp#wkbwbm#Bnfqj`bm`lmrvfpw#letjgfpsqfbg#tfqf#hjoofgp`qffm#bmg#Jm#lqgfq#wlf{sf`wfg#wlgfp`fmgbmwpbqf#ol`bwfgofdjpobwjufdfmfqbwjlmp#ab`hdqlvmgnlpw#sflsofzfbqp#bewfqwkfqf#jp#mlwkf#kjdkfpweqfrvfmwoz#wkfz#gl#mlwbqdvfg#wkbwpkltfg#wkbwsqfglnjmbmwwkfloldj`boaz#wkf#wjnf`lmpjgfqjmdpklqw.ojufg?,psbm=?,b=`bm#af#vpfgufqz#ojwwoflmf#le#wkf#kbg#boqfbgzjmwfqsqfwfg`lnnvmj`bwfefbwvqfp#ledlufqmnfmw/?,mlp`qjsw=fmwfqfg#wkf!#kfjdkw>!0Jmgfsfmgfmwslsvobwjlmpobqdf.p`bof-#Bowklvdk#vpfg#jm#wkfgfpwqv`wjlmslppjajojwzpwbqwjmd#jmwtl#lq#nlqff{sqfppjlmppvalqgjmbwfobqdfq#wkbmkjpwlqz#bmg?,lswjlm=\u000E\t@lmwjmfmwbofojnjmbwjmdtjoo#mlw#afsqb`wj`f#lejm#eqlmw#lepjwf#le#wkffmpvqf#wkbwwl#`qfbwf#bnjppjppjssjslwfmwjboozlvwpwbmgjmdafwwfq#wkbmtkbw#jp#mltpjwvbwfg#jmnfwb#mbnf>!WqbgjwjlmbopvddfpwjlmpWqbmpobwjlmwkf#elqn#lebwnlpskfqj`jgfloldj`bofmwfqsqjpfp`bo`vobwjmdfbpw#le#wkfqfnmbmwp#lesovdjmpsbdf,jmgf{-sks<qfnbjmfg#jmwqbmpelqnfgKf#tbp#bopltbp#boqfbgzpwbwjpwj`bojm#ebulq#leNjmjpwqz#lenlufnfmw#leelqnvobwjlmjp#qfrvjqfg?ojmh#qfo>!Wkjp#jp#wkf#?b#kqfe>!,slsvobqjyfgjmuloufg#jmbqf#vpfg#wlbmg#pfufqbonbgf#az#wkfpffnp#wl#afojhfoz#wkbwSbofpwjmjbmmbnfg#bewfqjw#kbg#affmnlpw#`lnnlmwl#qfefq#wlavw#wkjp#jp`lmpf`vwjufwfnslqbqjozJm#dfmfqbo/`lmufmwjlmpwbhfp#sob`fpvagjujpjlmwfqqjwlqjbolsfqbwjlmbosfqnbmfmwoztbp#obqdfozlvwaqfbh#lejm#wkf#sbpwelooltjmd#b#{nomp9ld>!=?b#`obpp>!`obpp>!wf{w@lmufqpjlm#nbz#af#vpfgnbmveb`wvqfbewfq#afjmd`ofbqej{!=\trvfpwjlm#letbp#fof`wfgwl#af`lnf#baf`bvpf#le#plnf#sflsofjmpsjqfg#azpv``fppevo#b#wjnf#tkfmnlqf#`lnnlmbnlmdpw#wkfbm#leej`jbotjgwk9233&8wf`kmloldz/tbp#bglswfgwl#hffs#wkfpfwwofnfmwpojuf#ajqwkpjmgf{-kwno!@lmmf`wj`vwbppjdmfg#wl%bns8wjnfp8b``lvmw#elqbojdm>qjdkwwkf#`lnsbmzbotbzp#affmqfwvqmfg#wljmuloufnfmwAf`bvpf#wkfwkjp#sfqjlg!#mbnf>!r!#`lmejmfg#wlb#qfpvow#leubovf>!!#,=jp#b`wvboozFmujqlmnfmw\u000E\t?,kfbg=\u000E\t@lmufqpfoz/=\t?gju#jg>!3!#tjgwk>!2jp#sqlabaozkbuf#af`lnf`lmwqloojmdwkf#sqlaofn`jwjyfmp#leslojwj`jbmpqfb`kfg#wkfbp#fbqoz#bp9mlmf8#lufq?wbaof#`fooubojgjwz#legjqf`woz#wllmnlvpfgltmtkfqf#jw#jptkfm#jw#tbpnfnafqp#le#qfobwjlm#wlb``lnnlgbwfbolmd#tjwk#Jm#wkf#obwfwkf#Fmdojpkgfoj`jlvp!=wkjp#jp#mlwwkf#sqfpfmwje#wkfz#bqfbmg#ejmboozb#nbwwfq#le\u000E\t\\n?,gju=\u000E\t\u000E\t?,p`qjsw=ebpwfq#wkbmnbilqjwz#lebewfq#tkj`k`lnsbqbwjufwl#nbjmwbjmjnsqluf#wkfbtbqgfg#wkffq!#`obpp>!eqbnfalqgfqqfpwlqbwjlmjm#wkf#pbnfbmbozpjp#lewkfjq#ejqpwGvqjmd#wkf#`lmwjmfmwbopfrvfm`f#leevm`wjlm+*xelmw.pjyf9#tlqh#lm#wkf?,p`qjsw=\t?afdjmp#tjwkibubp`qjsw9`lmpwjwvfmwtbp#elvmgfgfrvjojaqjvnbppvnf#wkbwjp#djufm#azmffgp#wl#af`llqgjmbwfpwkf#ubqjlvpbqf#sbqw#lelmoz#jm#wkfpf`wjlmp#lejp#b#`lnnlmwkflqjfp#legjp`lufqjfpbppl`jbwjlmfgdf#le#wkfpwqfmdwk#leslpjwjlm#jmsqfpfmw.gbzvmjufqpboozwl#elqn#wkfavw#jmpwfbg`lqslqbwjlmbwwb`kfg#wljp#`lnnlmozqfbplmp#elq#%rvlw8wkf#`bm#af#nbgftbp#baof#wltkj`k#nfbmpavw#gjg#mlwlmNlvpfLufqbp#slppjaoflsfqbwfg#az`lnjmd#eqlnwkf#sqjnbqzbggjwjlm#leelq#pfufqbowqbmpefqqfgb#sfqjlg#lebqf#baof#wlkltfufq/#jwpklvog#kbufnv`k#obqdfq\t\\n?,p`qjsw=bglswfg#wkfsqlsfqwz#legjqf`wfg#azfeef`wjufoztbp#aqlvdkw`kjogqfm#leSqldqbnnjmdolmdfq#wkbmnbmvp`qjswptbq#bdbjmpwaz#nfbmp#lebmg#nlpw#lepjnjobq#wl#sqlsqjfwbqzlqjdjmbwjmdsqfpwjdjlvpdqbnnbwj`bof{sfqjfm`f-wl#nbhf#wkfJw#tbp#bopljp#elvmg#jm`lnsfwjwlqpjm#wkf#V-P-qfsob`f#wkfaqlvdkw#wkf`bo`vobwjlmeboo#le#wkfwkf#dfmfqbosqb`wj`boozjm#klmlq#leqfofbpfg#jmqfpjgfmwjbobmg#plnf#lehjmd#le#wkfqfb`wjlm#wl2pw#Fbqo#le`vowvqf#bmgsqjm`jsbooz?,wjwof=\t##wkfz#`bm#afab`h#wl#wkfplnf#le#kjpf{slpvqf#wlbqf#pjnjobqelqn#le#wkfbggEbulqjwf`jwjyfmpkjssbqw#jm#wkfsflsof#tjwkjm#sqb`wj`fwl#`lmwjmvf%bns8njmvp8bssqlufg#az#wkf#ejqpw#booltfg#wkfbmg#elq#wkfevm`wjlmjmdsobzjmd#wkfplovwjlm#wlkfjdkw>!3!#jm#kjp#allhnlqf#wkbm#belooltp#wkf`qfbwfg#wkfsqfpfm`f#jm%maps8?,wg=mbwjlmbojpwwkf#jgfb#leb#`kbqb`wfqtfqf#elq`fg#`obpp>!awmgbzp#le#wkfefbwvqfg#jmpkltjmd#wkfjmwfqfpw#jmjm#sob`f#lewvqm#le#wkfwkf#kfbg#leOlqg#le#wkfslojwj`boozkbp#jwp#ltmFgv`bwjlmbobssqlubo#leplnf#le#wkffb`k#lwkfq/afkbujlq#lebmg#af`bvpfbmg#bmlwkfqbssfbqfg#lmqf`lqgfg#jmaob`h%rvlw8nbz#jm`ovgfwkf#tlqog$p`bm#ofbg#wlqfefqp#wl#balqgfq>!3!#dlufqmnfmw#tjmmjmd#wkfqfpvowfg#jm#tkjof#wkf#Tbpkjmdwlm/wkf#pvaif`w`jwz#jm#wkf=?,gju=\u000E\t\\n\\nqfeof`w#wkfwl#`lnsofwfaf`bnf#nlqfqbgjlb`wjufqfif`wfg#aztjwklvw#bmzkjp#ebwkfq/tkj`k#`lvog`lsz#le#wkfwl#jmgj`bwfb#slojwj`bob``lvmwp#le`lmpwjwvwfptlqhfg#tjwkfq?,b=?,oj=le#kjp#ojefb``lnsbmjfg`ojfmwTjgwksqfufmw#wkfOfdjpobwjufgjeefqfmwozwldfwkfq#jmkbp#pfufqboelq#bmlwkfqwf{w#le#wkfelvmgfg#wkff#tjwk#wkf#jp#vpfg#elq`kbmdfg#wkfvpvbooz#wkfsob`f#tkfqftkfqfbp#wkf=#?b#kqfe>!!=?b#kqfe>!wkfnpfoufp/bowklvdk#kfwkbw#`bm#afwqbgjwjlmboqlof#le#wkfbp#b#qfpvowqfnluf@kjoggfpjdmfg#aztfpw#le#wkfPlnf#sflsofsqlgv`wjlm/pjgf#le#wkfmftpofwwfqpvpfg#az#wkfgltm#wl#wkfb``fswfg#azojuf#jm#wkfbwwfnswp#wllvwpjgf#wkfeqfrvfm`jfpKltfufq/#jmsqldqbnnfqpbw#ofbpw#jmbssql{jnbwfbowklvdk#jwtbp#sbqw#lebmg#ubqjlvpDlufqmlq#lewkf#bqwj`ofwvqmfg#jmwl=?b#kqfe>!,wkf#f`lmlnzjp#wkf#nlpwnlpw#tjgfoztlvog#obwfqbmg#sfqkbspqjpf#wl#wkfl``vqp#tkfmvmgfq#tkj`k`lmgjwjlmp-wkf#tfpwfqmwkflqz#wkbwjp#sqlgv`fgwkf#`jwz#lejm#tkj`k#kfpffm#jm#wkfwkf#`fmwqboavjogjmd#lenbmz#le#kjpbqfb#le#wkfjp#wkf#lmoznlpw#le#wkfnbmz#le#wkfwkf#TfpwfqmWkfqf#jp#mlf{wfmgfg#wlPwbwjpwj`bo`lopsbm>1#\\x7Fpklqw#pwlqzslppjaof#wlwlsloldj`bo`qjwj`bo#leqfslqwfg#wlb#@kqjpwjbmgf`jpjlm#wljp#frvbo#wlsqlaofnp#leWkjp#`bm#afnfq`kbmgjpfelq#nlpw#leml#fujgfm`ffgjwjlmp#lefofnfmwp#jm%rvlw8-#Wkf`ln,jnbdfp,tkj`k#nbhfpwkf#sql`fppqfnbjmp#wkfojwfqbwvqf/jp#b#nfnafqwkf#slsvobqwkf#bm`jfmwsqlaofnp#jmwjnf#le#wkfgfefbwfg#azalgz#le#wkfb#eft#zfbqpnv`k#le#wkfwkf#tlqh#le@bojelqmjb/pfqufg#bp#bdlufqmnfmw-`lm`fswp#lenlufnfmw#jm\\n\\n?gju#jg>!jw!#ubovf>!obmdvbdf#lebp#wkfz#bqfsqlgv`fg#jmjp#wkbw#wkff{sobjm#wkfgju=?,gju=\tKltfufq#wkfofbg#wl#wkf\\n?b#kqfe>!,tbp#dqbmwfgsflsof#kbuf`lmwjmvbooztbp#pffm#bpbmg#qfobwfgwkf#qlof#lesqlslpfg#azle#wkf#afpwfb`k#lwkfq-@lmpwbmwjmfsflsof#eqlngjbof`wp#lewl#qfujpjlmtbp#qfmbnfgb#plvq`f#lewkf#jmjwjboobvm`kfg#jmsqlujgf#wkfwl#wkf#tfpwtkfqf#wkfqfbmg#pjnjobqafwtffm#wtljp#bopl#wkfFmdojpk#bmg`lmgjwjlmp/wkbw#jw#tbpfmwjwofg#wlwkfnpfoufp-rvbmwjwz#leqbmpsbqfm`zwkf#pbnf#bpwl#iljm#wkf`lvmwqz#bmgwkjp#jp#wkfWkjp#ofg#wlb#pwbwfnfmw`lmwqbpw#wlobpwJmgf{Lewkqlvdk#kjpjp#gfpjdmfgwkf#wfqn#jpjp#sqlujgfgsqlwf`w#wkfmd?,b=?,oj=Wkf#`vqqfmwwkf#pjwf#lepvapwbmwjbof{sfqjfm`f/jm#wkf#Tfpwwkfz#pklvogpolufm(ajmb`lnfmwbqjlpvmjufqpjgbg`lmgj`jlmfpb`wjujgbgfpf{sfqjfm`jbwf`mlold/Absqlgv``j/_msvmwvb`j/_mbsoj`b`j/_m`lmwqbpf/]b`bwfdlq/Abpqfdjpwqbqpfsqlefpjlmbowqbwbnjfmwlqfd/Apwqbwfpf`qfwbq/Absqjm`jsbofpsqlwf``j/_mjnslqwbmwfpjnslqwbm`jbslpjajojgbgjmwfqfpbmwf`qf`jnjfmwlmf`fpjgbgfppvp`qjajqpfbpl`jb`j/_mgjpslmjaofpfubovb`j/_mfpwvgjbmwfpqfpslmpbaofqfplov`j/_mdvbgbobibqbqfdjpwqbglplslqwvmjgbg`lnfq`jbofpelwldqbe/Abbvwlqjgbgfpjmdfmjfq/Abwfofujpj/_m`lnsfwfm`jblsfqb`jlmfpfpwbaof`jglpjnsofnfmwfb`wvbonfmwfmbufdb`j/_m`lmelqnjgbgojmf.kfjdkw9elmw.ebnjoz9!#9#!kwws9,,bssoj`bwjlmpojmh!#kqfe>!psf`jej`booz,,?\"X@GBWBX\tLqdbmjybwjlmgjpwqjavwjlm3s{8#kfjdkw9qfobwjlmpkjsgfuj`f.tjgwk?gju#`obpp>!?obafo#elq>!qfdjpwqbwjlm?,mlp`qjsw=\t,jmgf{-kwno!tjmglt-lsfm+#\"jnslqwbmw8bssoj`bwjlm,jmgfsfmgfm`f,,ttt-dlldoflqdbmjybwjlmbvwl`lnsofwfqfrvjqfnfmwp`lmpfqubwjuf?elqn#mbnf>!jmwfoof`wvbonbqdjm.ofew92;wk#`fmwvqzbm#jnslqwbmwjmpwjwvwjlmpbaaqfujbwjlm?jnd#`obpp>!lqdbmjpbwjlm`jujojybwjlm2:wk#`fmwvqzbq`kjwf`wvqfjm`lqslqbwfg13wk#`fmwvqz.`lmwbjmfq!=nlpw#mlwbaoz,=?,b=?,gju=mlwjej`bwjlm$vmgfejmfg$*Evqwkfqnlqf/afojfuf#wkbwjmmfqKWNO#>#sqjlq#wl#wkfgqbnbwj`boozqfefqqjmd#wlmfdlwjbwjlmpkfbgrvbqwfqpPlvwk#Beqj`bvmpv``fppevoSfmmpzoubmjbBp#b#qfpvow/?kwno#obmd>!%ow8,pvs%dw8gfbojmd#tjwkskjobgfoskjbkjpwlqj`booz*8?,p`qjsw=\tsbggjmd.wls9f{sfqjnfmwbodfwBwwqjavwfjmpwqv`wjlmpwf`kmloldjfpsbqw#le#wkf#>evm`wjlm+*xpvap`qjswjlmo-gwg!=\u000E\t?kwdfldqbskj`bo@lmpwjwvwjlm$/#evm`wjlm+pvsslqwfg#azbdqj`vowvqbo`lmpwqv`wjlmsvaoj`bwjlmpelmw.pjyf9#2b#ubqjfwz#le?gju#pwzof>!Fm`z`olsfgjbjeqbnf#pq`>!gfnlmpwqbwfgb``lnsojpkfgvmjufqpjwjfpGfnldqbskj`p*8?,p`qjsw=?gfgj`bwfg#wlhmltofgdf#lepbwjpeb`wjlmsbqwj`vobqoz?,gju=?,gju=Fmdojpk#+VP*bssfmg@kjog+wqbmpnjppjlmp-#Kltfufq/#jmwfoojdfm`f!#wbajmgf{>!eolbw9qjdkw8@lnnlmtfbowkqbmdjmd#eqlnjm#tkj`k#wkfbw#ofbpw#lmfqfsqlgv`wjlmfm`z`olsfgjb8elmw.pjyf92ivqjpgj`wjlmbw#wkbw#wjnf!=?b#`obpp>!Jm#bggjwjlm/gfp`qjswjlm(`lmufqpbwjlm`lmwb`w#tjwkjp#dfmfqboozq!#`lmwfmw>!qfsqfpfmwjmd%ow8nbwk%dw8sqfpfmwbwjlml``bpjlmbooz?jnd#tjgwk>!mbujdbwjlm!=`lnsfmpbwjlm`kbnsjlmpkjsnfgjb>!boo!#ujlobwjlm#leqfefqfm`f#wlqfwvqm#wqvf8Pwqj`w,,FM!#wqbmpb`wjlmpjmwfqufmwjlmufqjej`bwjlmJmelqnbwjlm#gjeej`vowjfp@kbnsjlmpkjs`bsbajojwjfp?\"Xfmgje^..=~\t?,p`qjsw=\t@kqjpwjbmjwzelq#f{bnsof/Sqlefppjlmboqfpwqj`wjlmppvddfpw#wkbwtbp#qfofbpfg+pv`k#bp#wkfqfnluf@obpp+vmfnsolznfmwwkf#Bnfqj`bmpwqv`wvqf#le,jmgf{-kwno#svaojpkfg#jmpsbm#`obpp>!!=?b#kqfe>!,jmwqlgv`wjlmafolmdjmd#wl`objnfg#wkbw`lmpfrvfm`fp?nfwb#mbnf>!Dvjgf#wl#wkflufqtkfonjmdbdbjmpw#wkf#`lm`fmwqbwfg/\t-mlmwlv`k#lapfqubwjlmp?,b=\t?,gju=\te#+gl`vnfmw-alqgfq9#2s{#xelmw.pjyf92wqfbwnfmw#le3!#kfjdkw>!2nlgjej`bwjlmJmgfsfmgfm`fgjujgfg#jmwldqfbwfq#wkbmb`kjfufnfmwpfpwbaojpkjmdIbubP`qjsw!#mfufqwkfofpppjdmjej`bm`fAqlbg`bpwjmd=%maps8?,wg=`lmwbjmfq!=\tpv`k#bp#wkf#jmeovfm`f#leb#sbqwj`vobqpq`>$kwws9,,mbujdbwjlm!#kboe#le#wkf#pvapwbmwjbo#%maps8?,gju=bgubmwbdf#legjp`lufqz#leevmgbnfmwbo#nfwqlslojwbmwkf#lsslpjwf!#{no9obmd>!gfojafqbwfozbojdm>`fmwfqfulovwjlm#lesqfpfqubwjlmjnsqlufnfmwpafdjmmjmd#jmIfpvp#@kqjpwSvaoj`bwjlmpgjpbdqffnfmwwf{w.bojdm9q/#evm`wjlm+*pjnjobqjwjfpalgz=?,kwno=jp#`vqqfmwozboskbafwj`bojp#plnfwjnfpwzsf>!jnbdf,nbmz#le#wkf#eolt9kjggfm8bubjobaof#jmgfp`qjaf#wkff{jpwfm`f#leboo#lufq#wkfwkf#Jmwfqmfw\\n?vo#`obpp>!jmpwboobwjlmmfjdkalqkllgbqnfg#elq`fpqfgv`jmd#wkf`lmwjmvfp#wlMlmfwkfofpp/wfnsfqbwvqfp\t\\n\\n?b#kqfe>!`olpf#wl#wkff{bnsofp#le#jp#balvw#wkf+pff#afolt*-!#jg>!pfbq`ksqlefppjlmbojp#bubjobaofwkf#leej`jbo\\n\\n?,p`qjsw=\t\t\\n\\n?gju#jg>!b``fofqbwjlmwkqlvdk#wkf#Kboo#le#Ebnfgfp`qjswjlmpwqbmpobwjlmpjmwfqefqfm`f#wzsf>$wf{w,qf`fmw#zfbqpjm#wkf#tlqogufqz#slsvobqxab`hdqlvmg9wqbgjwjlmbo#plnf#le#wkf#`lmmf`wfg#wlf{soljwbwjlmfnfqdfm`f#le`lmpwjwvwjlmB#Kjpwlqz#lepjdmjej`bmw#nbmveb`wvqfgf{sf`wbwjlmp=?mlp`qjsw=?`bm#af#elvmgaf`bvpf#wkf#kbp#mlw#affmmfjdkalvqjmdtjwklvw#wkf#bggfg#wl#wkf\\n?oj#`obpp>!jmpwqvnfmwboPlujfw#Vmjlmb`hmltofgdfgtkj`k#`bm#afmbnf#elq#wkfbwwfmwjlm#wlbwwfnswp#wl#gfufolsnfmwpJm#eb`w/#wkf?oj#`obpp>!bjnsoj`bwjlmppvjwbaof#elqnv`k#le#wkf#`lolmjybwjlmsqfpjgfmwjbo`bm`foAvaaof#Jmelqnbwjlmnlpw#le#wkf#jp#gfp`qjafgqfpw#le#wkf#nlqf#lq#ofppjm#PfswfnafqJmwfoojdfm`fpq`>!kwws9,,s{8#kfjdkw9#bubjobaof#wlnbmveb`wvqfqkvnbm#qjdkwpojmh#kqfe>!,bubjobajojwzsqlslqwjlmbolvwpjgf#wkf#bpwqlmlnj`bokvnbm#afjmdpmbnf#le#wkf#bqf#elvmg#jmbqf#abpfg#lmpnboofq#wkbmb#sfqplm#tklf{sbmpjlm#lebqdvjmd#wkbwmlt#hmltm#bpJm#wkf#fbqozjmwfqnfgjbwfgfqjufg#eqlnP`bmgjmbujbm?,b=?,gju=\u000E\t`lmpjgfq#wkfbm#fpwjnbwfgwkf#Mbwjlmbo?gju#jg>!sbdqfpvowjmd#jm`lnnjppjlmfgbmboldlvp#wlbqf#qfrvjqfg,vo=\t?,gju=\ttbp#abpfg#lmbmg#af`bnf#b%maps8%maps8w!#ubovf>!!#tbp#`bswvqfgml#nlqf#wkbmqfpsf`wjufoz`lmwjmvf#wl#=\u000E\t?kfbg=\u000E\t?tfqf#`qfbwfgnlqf#dfmfqbojmelqnbwjlm#vpfg#elq#wkfjmgfsfmgfmw#wkf#Jnsfqjbo`lnslmfmw#lewl#wkf#mlqwkjm`ovgf#wkf#@lmpwqv`wjlmpjgf#le#wkf#tlvog#mlw#afelq#jmpwbm`fjmufmwjlm#lenlqf#`lnsof{`loof`wjufozab`hdqlvmg9#wf{w.bojdm9#jwp#lqjdjmbojmwl#b``lvmwwkjp#sql`fppbm#f{wfmpjufkltfufq/#wkfwkfz#bqf#mlwqfif`wfg#wkf`qjwj`jpn#legvqjmd#tkj`ksqlabaoz#wkfwkjp#bqwj`of+evm`wjlm+*xJw#pklvog#afbm#bdqffnfmwb``jgfmwboozgjeefqp#eqlnBq`kjwf`wvqfafwwfq#hmltmbqqbmdfnfmwpjmeovfm`f#lmbwwfmgfg#wkfjgfmwj`bo#wlplvwk#le#wkfsbpp#wkqlvdk{no!#wjwof>!tfjdkw9alog8`qfbwjmd#wkfgjpsobz9mlmfqfsob`fg#wkf?jnd#pq`>!,jkwwsp9,,ttt-Tlqog#Tbq#JJwfpwjnlmjbopelvmg#jm#wkfqfrvjqfg#wl#bmg#wkbw#wkfafwtffm#wkf#tbp#gfpjdmfg`lmpjpwp#le#`lmpjgfqbaozsvaojpkfg#azwkf#obmdvbdf@lmpfqubwjlm`lmpjpwfg#leqfefq#wl#wkfab`h#wl#wkf#`pp!#nfgjb>!Sflsof#eqln#bubjobaof#lmsqlufg#wl#afpvddfpwjlmp!tbp#hmltm#bpubqjfwjfp#leojhfoz#wl#af`lnsqjpfg#lepvsslqw#wkf#kbmgp#le#wkf`lvsofg#tjwk`lmmf`w#bmg#alqgfq9mlmf8sfqelqnbm`fpafelqf#afjmdobwfq#af`bnf`bo`vobwjlmplewfm#`boofgqfpjgfmwp#lenfbmjmd#wkbw=?oj#`obpp>!fujgfm`f#elqf{sobmbwjlmpfmujqlmnfmwp!=?,b=?,gju=tkj`k#booltpJmwqlgv`wjlmgfufolsfg#azb#tjgf#qbmdflm#afkboe#leubojdm>!wls!sqjm`jsof#lebw#wkf#wjnf/?,mlp`qjsw=\u000Epbjg#wl#kbufjm#wkf#ejqpwtkjof#lwkfqpkzslwkfwj`boskjolplskfqpsltfq#le#wkf`lmwbjmfg#jmsfqelqnfg#azjmbajojwz#wltfqf#tqjwwfmpsbm#pwzof>!jmsvw#mbnf>!wkf#rvfpwjlmjmwfmgfg#elqqfif`wjlm#lejnsojfp#wkbwjmufmwfg#wkfwkf#pwbmgbqgtbp#sqlabaozojmh#afwtffmsqlefpplq#lejmwfqb`wjlmp`kbmdjmd#wkfJmgjbm#L`fbm#`obpp>!obpwtlqhjmd#tjwk$kwws9,,ttt-zfbqp#afelqfWkjp#tbp#wkfqf`qfbwjlmbofmwfqjmd#wkfnfbpvqfnfmwpbm#f{wqfnfozubovf#le#wkfpwbqw#le#wkf\t?,p`qjsw=\t\tbm#feelqw#wljm`qfbpf#wkfwl#wkf#plvwkpsb`jmd>!3!=pveej`jfmwozwkf#Fvqlsfbm`lmufqwfg#wl`ofbqWjnflvwgjg#mlw#kbuf`lmpfrvfmwozelq#wkf#mf{wf{wfmpjlm#lef`lmlnj`#bmgbowklvdk#wkfbqf#sqlgv`fgbmg#tjwk#wkfjmpveej`jfmwdjufm#az#wkfpwbwjmd#wkbwf{sfmgjwvqfp?,psbm=?,b=\twklvdkw#wkbwlm#wkf#abpjp`foosbggjmd>jnbdf#le#wkfqfwvqmjmd#wljmelqnbwjlm/pfsbqbwfg#azbppbppjmbwfgp!#`lmwfmw>!bvwklqjwz#lemlqwktfpwfqm?,gju=\t?gju#!=?,gju=\u000E\t##`lmpvowbwjlm`lnnvmjwz#lewkf#mbwjlmbojw#pklvog#afsbqwj`jsbmwp#bojdm>!ofewwkf#dqfbwfpwpfof`wjlm#lepvsfqmbwvqbogfsfmgfmw#lmjp#nfmwjlmfgbooltjmd#wkftbp#jmufmwfgb``lnsbmzjmdkjp#sfqplmbobubjobaof#bwpwvgz#le#wkflm#wkf#lwkfqf{f`vwjlm#leKvnbm#Qjdkwpwfqnp#le#wkfbppl`jbwjlmpqfpfbq`k#bmgpv``ffgfg#azgfefbwfg#wkfbmg#eqln#wkfavw#wkfz#bqf`lnnbmgfq#lepwbwf#le#wkfzfbqp#le#bdfwkf#pwvgz#le?vo#`obpp>!psob`f#jm#wkftkfqf#kf#tbp?oj#`obpp>!ewkfqf#bqf#mltkj`k#af`bnfkf#svaojpkfgf{sqfppfg#jmwl#tkj`k#wkf`lnnjppjlmfqelmw.tfjdkw9wfqqjwlqz#lef{wfmpjlmp!=Qlnbm#Fnsjqffrvbo#wl#wkfJm#`lmwqbpw/kltfufq/#bmgjp#wzsj`boozbmg#kjp#tjef+bopl#`boofg=?vo#`obpp>!feef`wjufoz#fuloufg#jmwlpffn#wl#kbuftkj`k#jp#wkfwkfqf#tbp#mlbm#f{`foofmwboo#le#wkfpfgfp`qjafg#azJm#sqb`wj`f/aqlbg`bpwjmd`kbqdfg#tjwkqfeof`wfg#jmpvaif`wfg#wlnjojwbqz#bmgwl#wkf#sljmwf`lmlnj`boozpfwWbqdfwjmdbqf#b`wvboozuj`wlqz#lufq+*8?,p`qjsw=`lmwjmvlvpozqfrvjqfg#elqfulovwjlmbqzbm#feef`wjufmlqwk#le#wkf/#tkj`k#tbp#eqlmw#le#wkflq#lwkfqtjpfplnf#elqn#lekbg#mlw#affmdfmfqbwfg#azjmelqnbwjlm-sfqnjwwfg#wljm`ovgfp#wkfgfufolsnfmw/fmwfqfg#jmwlwkf#sqfujlvp`lmpjpwfmwozbqf#hmltm#bpwkf#ejfog#lewkjp#wzsf#ledjufm#wl#wkfwkf#wjwof#le`lmwbjmp#wkfjmpwbm`fp#lejm#wkf#mlqwkgvf#wl#wkfjqbqf#gfpjdmfg`lqslqbwjlmptbp#wkbw#wkflmf#le#wkfpfnlqf#slsvobqpv``ffgfg#jmpvsslqw#eqlnjm#gjeefqfmwglnjmbwfg#azgfpjdmfg#elqltmfqpkjs#lebmg#slppjaozpwbmgbqgjyfgqfpslmpfWf{wtbp#jmwfmgfgqf`fjufg#wkfbppvnfg#wkbwbqfbp#le#wkfsqjnbqjoz#jmwkf#abpjp#lejm#wkf#pfmpfb``lvmwp#elqgfpwqlzfg#azbw#ofbpw#wtltbp#gf`obqfg`lvog#mlw#afPf`qfwbqz#lebssfbq#wl#afnbqdjm.wls92,]_p(\\x7F_p(\\',df*xwkqlt#f~8wkf#pwbqw#lewtl#pfsbqbwfobmdvbdf#bmgtkl#kbg#affmlsfqbwjlm#legfbwk#le#wkfqfbo#mvnafqp\\n?ojmh#qfo>!sqlujgfg#wkfwkf#pwlqz#le`lnsfwjwjlmpfmdojpk#+VH*fmdojpk#+VP*<p<R<Q<_<R<W<M=l<S=m<V<T=m=l<S=m<V<T=m=l<S=m<V<R5h4U4]4D5f4E\\nAO\u0005Gx\\bTA\\nzk\\vBl\\bQ\\x7F\\bTA\\nzk\\vUm\\bQ\\x7F\\bTA\\nzk\\npe\u0005u|\ti@\tcT\\bVV\\n\\\\}\\nxS\tVp\u0005tS\u0005k`\t[X\t[X\\vHR\\bPv\\bTW\\bUe\\n\\x7Fa\\bQp\\v_W\\vWs\\nxS\\vAz\\n_y\u0004Khjmelqnb`j/_mkfqqbnjfmwbpfof`wq/_mj`lgfp`qjs`j/_m`obpjej`bglp`lml`jnjfmwlsvaoj`b`j/_mqfob`jlmbgbpjmelqn/Mwj`bqfob`jlmbglpgfsbqwbnfmwlwqbabibglqfpgjqf`wbnfmwfbzvmwbnjfmwlnfq`bglOjaqf`lmw/M`wfmlpkbajwb`jlmfp`vnsojnjfmwlqfpwbvqbmwfpgjpslpj`j/_m`lmpf`vfm`jbfof`wq/_mj`bbsoj`b`jlmfpgfp`lmf`wbgljmpwbob`j/_mqfbojyb`j/_mvwjojyb`j/_mfm`j`olsfgjbfmefqnfgbgfpjmpwqvnfmwlpf{sfqjfm`jbpjmpwjwv`j/_msbqwj`vobqfppva`bwfdlqjb=n<R<W=`<V<R<L<R=m=m<T<T=l<\\\\<]<R=n=g<]<R<W=`=d<Y<S=l<R=m=n<R<P<R<Z<Y=n<Y<X=l=o<_<T=i=m<W=o=k<\\\\<Y=m<Y<U=k<\\\\=m<^=m<Y<_<X<\\\\<L<R=m=m<T=c<p<R=m<V<^<Y<X=l=o<_<T<Y<_<R=l<R<X<\\\\<^<R<S=l<R=m<X<\\\\<Q<Q=g=i<X<R<W<Z<Q=g<T<P<Y<Q<Q<R<p<R=m<V<^=g=l=o<]<W<Y<U<p<R=m<V<^<\\\\=m=n=l<\\\\<Q=g<Q<T=k<Y<_<R=l<\\\\<]<R=n<Y<X<R<W<Z<Y<Q=o=m<W=o<_<T=n<Y<S<Y=l=`<r<X<Q<\\\\<V<R<S<R=n<R<P=o=l<\\\\<]<R=n=o<\\\\<S=l<Y<W=c<^<R<R<]=e<Y<R<X<Q<R<_<R=m<^<R<Y<_<R=m=n<\\\\=n=`<T<X=l=o<_<R<U=h<R=l=o<P<Y=i<R=l<R=d<R<S=l<R=n<T<^=m=m=g<W<V<\\\\<V<\\\\<Z<X=g<U<^<W<\\\\=m=n<T<_=l=o<S<S=g<^<P<Y=m=n<Y=l<\\\\<]<R=n<\\\\=m<V<\\\\<[<\\\\<W<S<Y=l<^=g<U<X<Y<W<\\\\=n=`<X<Y<Q=`<_<T<S<Y=l<T<R<X<]<T<[<Q<Y=m<R=m<Q<R<^<Y<P<R<P<Y<Q=n<V=o<S<T=n=`<X<R<W<Z<Q<\\\\=l<\\\\<P<V<\\\\=i<Q<\\\\=k<\\\\<W<R<L<\\\\<]<R=n<\\\\<N<R<W=`<V<R=m<R<^=m<Y<P<^=n<R=l<R<U<Q<\\\\=k<\\\\<W<\\\\=m<S<T=m<R<V=m<W=o<Z<]=g=m<T=m=n<Y<P<S<Y=k<\\\\=n<T<Q<R<^<R<_<R<S<R<P<R=e<T=m<\\\\<U=n<R<^<S<R=k<Y<P=o<S<R<P<R=e=`<X<R<W<Z<Q<R=m=m=g<W<V<T<]=g=m=n=l<R<X<\\\\<Q<Q=g<Y<P<Q<R<_<T<Y<S=l<R<Y<V=n<M<Y<U=k<\\\\=m<P<R<X<Y<W<T=n<\\\\<V<R<_<R<R<Q<W<\\\\<U<Q<_<R=l<R<X<Y<^<Y=l=m<T=c=m=n=l<\\\\<Q<Y=h<T<W=`<P=g=o=l<R<^<Q=c=l<\\\\<[<Q=g=i<T=m<V<\\\\=n=`<Q<Y<X<Y<W=b=c<Q<^<\\\\=l=c<P<Y<Q=`=d<Y<P<Q<R<_<T=i<X<\\\\<Q<Q<R<U<[<Q<\\\\=k<T=n<Q<Y<W=`<[=c=h<R=l=o<P<\\\\<N<Y<S<Y=l=`<P<Y=m=c=j<\\\\<[<\\\\=e<T=n=g<w=o=k=d<T<Y\\fHD\\fHU\\fIl\\fHn\\fHy\\fH\\\\\\fHD\\fIk\\fHi\\fHF\\fHD\\fIk\\fHy\\fHS\\fHC\\fHR\\fHy\\fH\\\\\\fIk\\fHn\\fHi\\fHD\\fIa\\fHC\\fHy\\fIa\\fHC\\fHR\\fH{\\fHR\\fHk\\fHM\\fH@\\fHR\\fH\\\\\\fIk\\fHy\\fHS\\fHT\\fIl\\fHJ\\fHS\\fHC\\fHR\\fHF\\fHU\\fH^\\fIk\\fHT\\fHS\\fHn\\fHU\\fHA\\fHR\\fH\\\\\\fHH\\fHi\\fHF\\fHD\\fIl\\fHY\\fHR\\fH^\\fIk\\fHT\\fIk\\fHY\\fHR\\fHy\\fH\\\\\\fHH\\fIk\\fHB\\fIk\\fH\\\\\\fIk\\fHU\\fIg\\fHD\\fIk\\fHT\\fHy\\fHH\\fIk\\fH@\\fHU\\fIm\\fHH\\fHT\\fHR\\fHk\\fHs\\fHU\\fIg\\fH{\\fHR\\fHp\\fHR\\fHD\\fIk\\fHB\\fHS\\fHD\\fHs\\fHy\\fH\\\\\\fHH\\fHR\\fHy\\fH\\\\\\fHD\\fHR\\fHe\\fHD\\fHy\\fIk\\fHC\\fHU\\fHR\\fHm\\fHT\\fH@\\fHT\\fIk\\fHA\\fHR\\fH[\\fHR\\fHj\\fHF\\fHy\\fIk\\fH^\\fHS\\fHC\\fIk\\fHZ\\fIm\\fH\\\\\\fIn\\fHk\\fHT\\fHy\\fIk\\fHt\\fHn\\fHs\\fIk\\fHB\\fIk\\fH\\\\\\fIl\\fHT\\fHy\\fHH\\fHR\\fHB\\fIk\\fH\\\\\\fHR\\fH^\\fIk\\fHy\\fH\\\\\\fHi\\fHK\\fHS\\fHy\\fHi\\fHF\\fHD\\fHR\\fHT\\fHB\\fHR\\fHp\\fHB\\fIm\\fHq\\fIk\\fHy\\fHR\\fH\\\\\\fHO\\fHU\\fIg\\fHH\\fHR\\fHy\\fHM\\fHP\\fIl\\fHC\\fHU\\fHR\\fHn\\fHU\\fIg\\fHs\\fH^\\fHZ\\fH@\\fIa\\fHJ\\fH^\\fHS\\fHC\\fHR\\fHp\\fIl\\fHY\\fHD\\fHp\\fHR\\fHH\\fHR\\fHy\\fId\\fHT\\fIk\\fHj\\fHF\\fHy\\fHR\\fHY\\fHR\\fH^\\fIl\\fHJ\\fIk\\fHD\\fIk\\fHF\\fIn\\fH\\\\\\fIl\\fHF\\fHR\\fHD\\fIl\\fHe\\fHT\\fHy\\fIk\\fHU\\fIg\\fH{\\fIl\\fH@\\fId\\fHL\\fHy\\fHj\\fHF\\fHy\\fIl\\fHY\\fH\\\\\\fIa\\fH[\\fH{\\fHR\\fHn\\fHY\\fHj\\fHF\\fHy\\fIg\\fHp\\fHS\\fH^\\fHR\\fHp\\fHR\\fHD\\fHR\\fHT\\fHU\\fHB\\fHH\\fHU\\fHB\\fIk\\fHn\\fHe\\fHD\\fHy\\fIl\\fHC\\fHR\\fHU\\fIn\\fHJ\\fH\\\\\\fIa\\fHp\\fHT\\fIn\\fHv\\fIl\\fHF\\fHT\\fHn\\fHJ\\fHT\\fHY\\fHR\\fH^\\fHU\\fIg\\fHD\\fHR\\fHU\\fIg\\fHH\\fIl\\fHp\\fId\\fHT\\fIk\\fHY\\fHR\\fHF\\fHT\\fHp\\fHD\\fHH\\fHR\\fHD\\fIk\\fHH\\fHR\\fHp\\fHR\\fH\\\\\\fIl\\fHt\\fHR\\fHC\\fH^\\fHp\\fHS\\fH^\\fIk\\fHD\\fIl\\fHv\\fIk\\fHp\\fHR\\fHn\\fHv\\fHF\\fHH\\fIa\\fH\\\\\\fH{\\fIn\\fH{\\fH^\\fHp\\fHR\\fHH\\fIk\\fH@\\fHR\\fHU\\fH\\\\\\fHj\\fHF\\fHD\\fIk\\fHY\\fHR\\fHU\\fHD\\fHk\\fHT\\fHy\\fHR\\fHT\\fIm\\fH@\\fHU\\fH\\\\\\fHU\\fHD\\fIk\\fHk\\fHT\\fHT\\fIk\\fHT\\fHU\\fHS\\fHH\\fH@\\fHM\\fHP\\fIk\\fHt\\fHs\\fHD\\fHR\\fHH\\fH^\\fHR\\fHZ\\fHF\\fHR\\fHn\\fHv\\fHZ\\fIa\\fH\\\\\\fIl\\fH@\\fHM\\fHP\\fIl\\fHU\\fIg\\fHH\\fIk\\fHT\\fHR\\fHd\\fHs\\fHZ\\fHR\\fHC\\fHJ\\fHT\\fHy\\fHH\\fIl\\fHp\\fHR\\fHH\\fIl\\fHY\\fHR\\fH^\\fHR\\fHU\\fHp\\fHR\\fH\\\\\\fHF\\fHs\\fHD\\fHR\\fH\\\\\\fHz\\fHD\\fIk\\fHT\\fHM\\fHP\\fHy\\fHB\\fHS\\fH^\\fHR\\fHe\\fHT\\fHy\\fIl\\fHy\\fIk\\fHY\\fH^\\fH^\\fH{\\fHH\\fHR\\fHz\\fHR\\fHD\\fHR\\fHi\\fH\\\\\\fIa\\fHI\\fHp\\fHU\\fHR\\fHn\\fHJ\\fIk\\fHz\\fHR\\fHF\\fHU\\fH^\\fIl\\fHD\\fHS\\fHC\\fHB\\fH@\\fHS\\fHD\\fHR\\fH@\\fId\\fHn\\fHy\\fHy\\fHU\\fIl\\fHn\\fHy\\fHU\\fHD\\fHR\\fHJ\\fIk\\fHH\\fHR\\fHU\\fHB\\fH^\\fIk\\fHy\\fHR\\fHG\\fIl\\fHp\\fH@\\fHy\\fHS\\fHH\\fIm\\fH\\\\\\fHH\\fHB\\fHR\\fHn\\fH{\\fHY\\fHU\\fIl\\fHn\\fH\\\\\\fIg\\fHp\\fHP\\fHB\\fHS\\fH^\\fIl\\fHj\\fH\\\\\\fIg\\fHF\\fHT\\fIk\\fHD\\fHR\\fHC\\fHR\\fHJ\\fHY\\fH^\\fIk\\fHD\\fIk\\fHz\\fHR\\fHH\\fHR\\fHy\\fH\\\\\\fIl\\fH@\\fHe\\fHD\\fHy\\fHR\\fHp\\fHY\\fHR\\fH@\\fHF\\fIn\\fH\\\\\\fHR\\fH@\\fHM\\fHP\\fHR\\fHT\\fI`\\fHJ\\fHR\\fHZ\\fIk\\fHC\\fH\\\\\\fHy\\fHS\\fHC\\fIk\\fHy\\fHU\\fHR\\fHn\\fHi\\fHy\\fHT\\fH\\\\\\fH@\\fHD\\fHR\\fHc\\fHY\\fHU\\fHR\\fHn\\fHT\\fIa\\fHI\\fH^\\fHB\\fHS\\fH^\\fIk\\fH^\\fIk\\fHz\\fHy\\fHY\\fHS\\fH[\\fHC\\fHy\\fIa\\fH\\\\\\fHn\\fHT\\fHB\\fIn\\fHU\\fHI\\fHR\\fHD\\fHR4F4_4F4[5f4U5i4X4K4]5o4E4D5d4K4_4[4E4K5h4Y5m4A4E5i5d4K4Z5f4U4K5h4B4K4Y4E4K5h5i4^5f4C4K5h4U4K5i4E4K5h5o4K4F4D4K5h4]4C5d4C4D4]5j4K5i4@4K5h4C5d5h4E4K5h4U4K5h5i4K5h5i5d5n4U4K5h4U4]4D5f4K5h4_4]5f4U4K5h4@5d4K5h4K5h4\\\\5k4K4D4K5h4A5f4K4E4K5h4A5n5d5n4K5h5o4]5f5i4K5h4U4]4K5n5i4A5m5d4T4E4K5h4G4K5j5f5i4X4K5k4C4E4K5h5i4]4O4E4K5h5n4]4N5j4K5h4X4D4K4D4K5h4A5d4K4]4K5h4@4C5f4C4K5h4O4_4]4E4K5h4U5h5d5i5i4@5i5d4U4E4K5h4]4A5i5j4K5h5j5n4K4[5m5h4_4[5f5j4K5h5o5d5f4F4K5h4C5j5f4K4D4]5o4K4F5k4K5h4]5f4K4Z4F4A5f4K4F5f4D4F5d5n5f4F4K5h4O5d5h5e4K5h4D4]5f4C4K5h5o5h4K5i4K5h4]4K4D4[4K5h4X4B4Y5f4_5f4K4]4K4F4K5h4G4K5h4G4K5h4Y5h4K4E4K5h4A4C5f4G4K5h4^5d4K4]4K5h4B5h5f4@4K5h4@5i5f4U4K5h4U4K5i5k4K5h4@5i4K5h4K5h4_4K4U4E5i4X4K5k4C5k4K5h4]4J5f4_4K5h4C4B5d5h4K5h5m5j5f4E4K5h5o4F4K4D4K5h4C5d4]5f4K5h4C4]5d4_4K4_4F4V4]5n4F4Y4K5i5f5i4K5h4D5j4K4F4K5h4U4T5f5ifmwfqwbjmnfmwvmgfqpwbmgjmd#>#evm`wjlm+*-isd!#tjgwk>!`lmejdvqbwjlm-smd!#tjgwk>!?algz#`obpp>!Nbwk-qbmgln+*`lmwfnslqbqz#Vmjwfg#Pwbwfp`jq`vnpwbm`fp-bssfmg@kjog+lqdbmjybwjlmp?psbm#`obpp>!!=?jnd#pq`>!,gjpwjmdvjpkfgwklvpbmgp#le#`lnnvmj`bwjlm`ofbq!=?,gju=jmufpwjdbwjlmebuj`lm-j`l!#nbqdjm.qjdkw9abpfg#lm#wkf#Nbppb`kvpfwwpwbaof#alqgfq>jmwfqmbwjlmbobopl#hmltm#bpsqlmvm`jbwjlmab`hdqlvmg9 esbggjmd.ofew9Elq#f{bnsof/#njp`foobmflvp%ow8,nbwk%dw8spz`kloldj`bojm#sbqwj`vobqfbq`k!#wzsf>!elqn#nfwklg>!bp#lsslpfg#wlPvsqfnf#@lvqwl``bpjlmbooz#Bggjwjlmbooz/Mlqwk#Bnfqj`bs{8ab`hdqlvmglsslqwvmjwjfpFmwfqwbjmnfmw-wlOltfq@bpf+nbmveb`wvqjmdsqlefppjlmbo#`lnajmfg#tjwkElq#jmpwbm`f/`lmpjpwjmd#le!#nb{ofmdwk>!qfwvqm#ebopf8`lmp`jlvpmfppNfgjwfqqbmfbmf{wqblqgjmbqzbppbppjmbwjlmpvapfrvfmwoz#avwwlm#wzsf>!wkf#mvnafq#lewkf#lqjdjmbo#`lnsqfkfmpjufqfefqp#wl#wkf?,vo=\t?,gju=\tskjolplskj`bool`bwjlm-kqfetbp#svaojpkfgPbm#Eqbm`jp`l+evm`wjlm+*x\t?gju#jg>!nbjmplskjpwj`bwfgnbwkfnbwj`bo#,kfbg=\u000E\t?algzpvddfpwp#wkbwgl`vnfmwbwjlm`lm`fmwqbwjlmqfobwjlmpkjspnbz#kbuf#affm+elq#f{bnsof/Wkjp#bqwj`of#jm#plnf#`bpfpsbqwp#le#wkf#gfejmjwjlm#leDqfbw#Aqjwbjm#`foosbggjmd>frvjubofmw#wlsob`fklogfq>!8#elmw.pjyf9#ivpwjej`bwjlmafojfufg#wkbwpveefqfg#eqlnbwwfnswfg#wl#ofbgfq#le#wkf`qjsw!#pq`>!,+evm`wjlm+*#xbqf#bubjobaof\t\\n?ojmh#qfo>!#pq`>$kwws9,,jmwfqfpwfg#jm`lmufmwjlmbo#!#bow>!!#,=?,bqf#dfmfqboozkbp#bopl#affmnlpw#slsvobq#`lqqfpslmgjmd`qfgjwfg#tjwkwzof>!alqgfq9?,b=?,psbm=?,-dje!#tjgwk>!?jeqbnf#pq`>!wbaof#`obpp>!jmojmf.aol`h8b``lqgjmd#wl#wldfwkfq#tjwkbssql{jnbwfozsbqojbnfmwbqznlqf#bmg#nlqfgjpsobz9mlmf8wqbgjwjlmboozsqfglnjmbmwoz%maps8\\x7F%maps8%maps8?,psbm=#`foopsb`jmd>?jmsvw#mbnf>!lq!#`lmwfmw>!`lmwqlufqpjbosqlsfqwz>!ld9,{.pkl`htbuf.gfnlmpwqbwjlmpvqqlvmgfg#azMfufqwkfofpp/tbp#wkf#ejqpw`lmpjgfqbaof#Bowklvdk#wkf#`loobalqbwjlmpklvog#mlw#afsqlslqwjlm#le?psbm#pwzof>!hmltm#bp#wkf#pklqwoz#bewfqelq#jmpwbm`f/gfp`qjafg#bp#,kfbg=\t?algz#pwbqwjmd#tjwkjm`qfbpjmdoz#wkf#eb`w#wkbwgjp`vppjlm#lenjggof#le#wkfbm#jmgjujgvbogjeej`vow#wl#sljmw#le#ujftklnlpf{vbojwzb``fswbm`f#le?,psbm=?,gju=nbmveb`wvqfqplqjdjm#le#wkf`lnnlmoz#vpfgjnslqwbm`f#legfmlnjmbwjlmpab`hdqlvmg9# ofmdwk#le#wkfgfwfqnjmbwjlmb#pjdmjej`bmw!#alqgfq>!3!=qfulovwjlmbqzsqjm`jsofp#lejp#`lmpjgfqfgtbp#gfufolsfgJmgl.Fvqlsfbmuvomfqbaof#wlsqlslmfmwp#lebqf#plnfwjnfp`olpfq#wl#wkfMft#Zlqh#@jwz#mbnf>!pfbq`kbwwqjavwfg#wl`lvqpf#le#wkfnbwkfnbwj`jbmaz#wkf#fmg#lebw#wkf#fmg#le!#alqgfq>!3!#wf`kmloldj`bo-qfnluf@obpp+aqbm`k#le#wkffujgfm`f#wkbw\"Xfmgje^..=\u000E\tJmpwjwvwf#le#jmwl#b#pjmdofqfpsf`wjufoz-bmg#wkfqfelqfsqlsfqwjfp#lejp#ol`bwfg#jmplnf#le#tkj`kWkfqf#jp#bopl`lmwjmvfg#wl#bssfbqbm`f#le#%bns8mgbpk8#gfp`qjafp#wkf`lmpjgfqbwjlmbvwklq#le#wkfjmgfsfmgfmwozfrvjssfg#tjwkglfp#mlw#kbuf?,b=?b#kqfe>!`lmevpfg#tjwk?ojmh#kqfe>!,bw#wkf#bdf#lebssfbq#jm#wkfWkfpf#jm`ovgfqfdbqgofpp#le`lvog#af#vpfg#pwzof>%rvlw8pfufqbo#wjnfpqfsqfpfmw#wkfalgz=\t?,kwno=wklvdkw#wl#afslsvobwjlm#leslppjajojwjfpsfq`fmwbdf#leb``fpp#wl#wkfbm#bwwfnsw#wlsqlgv`wjlm#leirvfqz,irvfqzwtl#gjeefqfmwafolmd#wl#wkffpwbaojpknfmwqfsob`jmd#wkfgfp`qjswjlm!#gfwfqnjmf#wkfbubjobaof#elqB``lqgjmd#wl#tjgf#qbmdf#le\\n?gju#`obpp>!nlqf#`lnnlmozlqdbmjpbwjlmpevm`wjlmbojwztbp#`lnsofwfg#%bns8ngbpk8#sbqwj`jsbwjlmwkf#`kbqb`wfqbm#bggjwjlmbobssfbqp#wl#afeb`w#wkbw#wkfbm#f{bnsof#lepjdmjej`bmwozlmnlvpflufq>!af`bvpf#wkfz#bpzm`#>#wqvf8sqlaofnp#tjwkpffnp#wl#kbufwkf#qfpvow#le#pq`>!kwws9,,ebnjojbq#tjwkslppfppjlm#leevm`wjlm#+*#xwllh#sob`f#jmbmg#plnfwjnfppvapwbmwjbooz?psbm=?,psbm=jp#lewfm#vpfgjm#bm#bwwfnswdqfbw#gfbo#leFmujqlmnfmwbopv``fppevooz#ujqwvbooz#boo13wk#`fmwvqz/sqlefppjlmbopmf`fppbqz#wl#gfwfqnjmfg#az`lnsbwjajojwzaf`bvpf#jw#jpGj`wjlmbqz#lenlgjej`bwjlmpWkf#elooltjmdnbz#qfefq#wl9@lmpfrvfmwoz/Jmwfqmbwjlmbobowklvdk#plnfwkbw#tlvog#aftlqog$p#ejqpw`obppjejfg#bpalwwln#le#wkf+sbqwj`vobqozbojdm>!ofew!#nlpw#`lnnlmozabpjp#elq#wkfelvmgbwjlm#le`lmwqjavwjlmpslsvobqjwz#le`fmwfq#le#wkfwl#qfgv`f#wkfivqjpgj`wjlmpbssql{jnbwjlm#lmnlvpflvw>!Mft#Wfpwbnfmw`loof`wjlm#le?,psbm=?,b=?,jm#wkf#Vmjwfgejon#gjqf`wlq.pwqj`w-gwg!=kbp#affm#vpfgqfwvqm#wl#wkfbowklvdk#wkjp`kbmdf#jm#wkfpfufqbo#lwkfqavw#wkfqf#bqfvmsqf`fgfmwfgjp#pjnjobq#wlfpsf`jbooz#jmtfjdkw9#alog8jp#`boofg#wkf`lnsvwbwjlmbojmgj`bwf#wkbwqfpwqj`wfg#wl\\n?nfwb#mbnf>!bqf#wzsj`booz`lmeoj`w#tjwkKltfufq/#wkf#Bm#f{bnsof#le`lnsbqfg#tjwkrvbmwjwjfp#leqbwkfq#wkbm#b`lmpwfoobwjlmmf`fppbqz#elqqfslqwfg#wkbwpsf`jej`bwjlmslojwj`bo#bmg%maps8%maps8?qfefqfm`fp#wlwkf#pbnf#zfbqDlufqmnfmw#ledfmfqbwjlm#lekbuf#mlw#affmpfufqbo#zfbqp`lnnjwnfmw#wl\\n\\n?vo#`obpp>!ujpvbojybwjlm2:wk#`fmwvqz/sqb`wjwjlmfqpwkbw#kf#tlvogbmg#`lmwjmvfgl``vsbwjlm#lejp#gfejmfg#bp`fmwqf#le#wkfwkf#bnlvmw#le=?gju#pwzof>!frvjubofmw#legjeefqfmwjbwfaqlvdkw#balvwnbqdjm.ofew9#bvwlnbwj`boozwklvdkw#le#bpPlnf#le#wkfpf\t?gju#`obpp>!jmsvw#`obpp>!qfsob`fg#tjwkjp#lmf#le#wkffgv`bwjlm#bmgjmeovfm`fg#azqfsvwbwjlm#bp\t?nfwb#mbnf>!b``lnnlgbwjlm?,gju=\t?,gju=obqdf#sbqw#leJmpwjwvwf#elqwkf#pl.`boofg#bdbjmpw#wkf#Jm#wkjp#`bpf/tbp#bssljmwfg`objnfg#wl#afKltfufq/#wkjpGfsbqwnfmw#lewkf#qfnbjmjmdfeef`w#lm#wkfsbqwj`vobqoz#gfbo#tjwk#wkf\t?gju#pwzof>!bonlpw#botbzpbqf#`vqqfmwozf{sqfppjlm#leskjolplskz#leelq#nlqf#wkbm`jujojybwjlmplm#wkf#jpobmgpfof`wfgJmgf{`bm#qfpvow#jm!#ubovf>!!#,=wkf#pwqv`wvqf#,=?,b=?,gju=Nbmz#le#wkfpf`bvpfg#az#wkfle#wkf#Vmjwfgpsbm#`obpp>!n`bm#af#wqb`fgjp#qfobwfg#wlaf`bnf#lmf#lejp#eqfrvfmwozojujmd#jm#wkfwkflqfwj`boozElooltjmd#wkfQfulovwjlmbqzdlufqmnfmw#jmjp#gfwfqnjmfgwkf#slojwj`bojmwqlgv`fg#jmpveej`jfmw#wlgfp`qjswjlm!=pklqw#pwlqjfppfsbqbwjlm#lebp#wl#tkfwkfqhmltm#elq#jwptbp#jmjwjboozgjpsobz9aol`hjp#bm#f{bnsofwkf#sqjm`jsbo`lmpjpwp#le#bqf`ldmjyfg#bp,algz=?,kwno=b#pvapwbmwjboqf`lmpwqv`wfgkfbg#le#pwbwfqfpjpwbm`f#wlvmgfqdqbgvbwfWkfqf#bqf#wtldqbujwbwjlmbobqf#gfp`qjafgjmwfmwjlmboozpfqufg#bp#wkf`obpp>!kfbgfqlsslpjwjlm#wlevmgbnfmwboozglnjmbwfg#wkfbmg#wkf#lwkfqboojbm`f#tjwktbp#elq`fg#wlqfpsf`wjufoz/bmg#slojwj`bojm#pvsslqw#lesflsof#jm#wkf13wk#`fmwvqz-bmg#svaojpkfgolbg@kbqwafbwwl#vmgfqpwbmgnfnafq#pwbwfpfmujqlmnfmwboejqpw#kboe#le`lvmwqjfp#bmgbq`kjwf`wvqboaf#`lmpjgfqfg`kbqb`wfqjyfg`ofbqJmwfqubobvwklqjwbwjufEfgfqbwjlm#letbp#pv``ffgfgbmg#wkfqf#bqfb#`lmpfrvfm`fwkf#Sqfpjgfmwbopl#jm`ovgfgeqff#plewtbqfpv``fppjlm#legfufolsfg#wkftbp#gfpwqlzfgbtbz#eqln#wkf8\t?,p`qjsw=\t?bowklvdk#wkfzelooltfg#az#bnlqf#sltfqevoqfpvowfg#jm#bVmjufqpjwz#leKltfufq/#nbmzwkf#sqfpjgfmwKltfufq/#plnfjp#wklvdkw#wlvmwjo#wkf#fmgtbp#bmmlvm`fgbqf#jnslqwbmwbopl#jm`ovgfp=?jmsvw#wzsf>wkf#`fmwfq#le#GL#MLW#BOWFQvpfg#wl#qfefqwkfnfp,<plqw>wkbw#kbg#affmwkf#abpjp#elqkbp#gfufolsfgjm#wkf#pvnnfq`lnsbqbwjufozgfp`qjafg#wkfpv`k#bp#wklpfwkf#qfpvowjmdjp#jnslppjaofubqjlvp#lwkfqPlvwk#Beqj`bmkbuf#wkf#pbnffeef`wjufmfppjm#tkj`k#`bpf8#wf{w.bojdm9pwqv`wvqf#bmg8#ab`hdqlvmg9qfdbqgjmd#wkfpvsslqwfg#wkfjp#bopl#hmltmpwzof>!nbqdjmjm`ovgjmd#wkfabkbpb#Nfobzvmlqph#alhn/Iomlqph#mzmlqphpolufm)M(ajmbjmwfqmb`jlmbo`bojej`b`j/_m`lnvmj`b`j/_m`lmpwqv``j/_m!=?gju#`obpp>!gjpbnajdvbwjlmGlnbjmMbnf$/#$bgnjmjpwqbwjlmpjnvowbmflvpozwqbmpslqwbwjlmJmwfqmbwjlmbo#nbqdjm.alwwln9qfpslmpjajojwz?\"Xfmgje^..=\t?,=?nfwb#mbnf>!jnsofnfmwbwjlmjmeqbpwqv`wvqfqfsqfpfmwbwjlmalqgfq.alwwln9?,kfbg=\t?algz=>kwws&0B&1E&1E?elqn#nfwklg>!nfwklg>!slpw!#,ebuj`lm-j`l!#~*8\t?,p`qjsw=\t-pfwBwwqjavwf+Bgnjmjpwqbwjlm>#mft#Bqqbz+*8?\"Xfmgje^..=\u000E\tgjpsobz9aol`h8Vmelqwvmbwfoz/!=%maps8?,gju=,ebuj`lm-j`l!=>$pwzofpkffw$#jgfmwjej`bwjlm/#elq#f{bnsof/?oj=?b#kqfe>!,bm#bowfqmbwjufbp#b#qfpvow#lesw!=?,p`qjsw=\twzsf>!pvanjw!#\t+evm`wjlm+*#xqf`lnnfmgbwjlmelqn#b`wjlm>!,wqbmpelqnbwjlmqf`lmpwqv`wjlm-pwzof-gjpsobz#B``lqgjmd#wl#kjggfm!#mbnf>!bolmd#tjwk#wkfgl`vnfmw-algz-bssql{jnbwfoz#@lnnvmj`bwjlmpslpw!#b`wjlm>!nfbmjmd#%rvlw8..?\"Xfmgje^..=Sqjnf#Njmjpwfq`kbqb`wfqjpwj`?,b=#?b#`obpp>wkf#kjpwlqz#le#lmnlvpflufq>!wkf#dlufqmnfmwkqfe>!kwwsp9,,tbp#lqjdjmbooztbp#jmwqlgv`fg`obppjej`bwjlmqfsqfpfmwbwjufbqf#`lmpjgfqfg?\"Xfmgje^..=\t\tgfsfmgp#lm#wkfVmjufqpjwz#le#jm#`lmwqbpw#wl#sob`fklogfq>!jm#wkf#`bpf#lejmwfqmbwjlmbo#`lmpwjwvwjlmbopwzof>!alqgfq.9#evm`wjlm+*#xAf`bvpf#le#wkf.pwqj`w-gwg!=\t?wbaof#`obpp>!b``lnsbmjfg#azb``lvmw#le#wkf?p`qjsw#pq`>!,mbwvqf#le#wkf#wkf#sflsof#jm#jm#bggjwjlm#wlp*8#ip-jg#>#jg!#tjgwk>!233&!qfdbqgjmd#wkf#Qlnbm#@bwkloj`bm#jmgfsfmgfmwelooltjmd#wkf#-dje!#tjgwk>!2wkf#elooltjmd#gjp`qjnjmbwjlmbq`kbfloldj`bosqjnf#njmjpwfq-ip!=?,p`qjsw=`lnajmbwjlm#le#nbqdjmtjgwk>!`qfbwfFofnfmw+t-bwwb`kFufmw+?,b=?,wg=?,wq=pq`>!kwwsp9,,bJm#sbqwj`vobq/#bojdm>!ofew!#@yf`k#Qfsvaoj`Vmjwfg#Hjmdgln`lqqfpslmgfm`f`lm`ovgfg#wkbw-kwno!#wjwof>!+evm`wjlm#+*#x`lnfp#eqln#wkfbssoj`bwjlm#le?psbm#`obpp>!pafojfufg#wl#affnfmw+$p`qjsw$?,b=\t?,oj=\t?ojufqz#gjeefqfmw=?psbm#`obpp>!lswjlm#ubovf>!+bopl#hmltm#bp\\n?oj=?b#kqfe>!=?jmsvw#mbnf>!pfsbqbwfg#eqlnqfefqqfg#wl#bp#ubojdm>!wls!=elvmgfq#le#wkfbwwfnswjmd#wl#`bqalm#gjl{jgf\t\t?gju#`obpp>!`obpp>!pfbq`k.,algz=\t?,kwno=lsslqwvmjwz#wl`lnnvmj`bwjlmp?,kfbg=\u000E\t?algz#pwzof>!tjgwk9Wj\\rVSmd#Uj\\rWkw`kbmdfp#jm#wkfalqgfq.`lolq9 3!#alqgfq>!3!#?,psbm=?,gju=?tbp#gjp`lufqfg!#wzsf>!wf{w!#*8\t?,p`qjsw=\t\tGfsbqwnfmw#le#f``ofpjbpwj`bowkfqf#kbp#affmqfpvowjmd#eqln?,algz=?,kwno=kbp#mfufq#affmwkf#ejqpw#wjnfjm#qfpslmpf#wlbvwlnbwj`booz#?,gju=\t\t?gju#jtbp#`lmpjgfqfgsfq`fmw#le#wkf!#,=?,b=?,gju=`loof`wjlm#le#gfp`fmgfg#eqlnpf`wjlm#le#wkfb``fsw.`kbqpfwwl#af#`lmevpfgnfnafq#le#wkf#sbggjmd.qjdkw9wqbmpobwjlm#lejmwfqsqfwbwjlm#kqfe>$kwws9,,tkfwkfq#lq#mlwWkfqf#bqf#boplwkfqf#bqf#nbmzb#pnboo#mvnafqlwkfq#sbqwp#lejnslppjaof#wl##`obpp>!avwwlmol`bwfg#jm#wkf-#Kltfufq/#wkfbmg#fufmwvboozBw#wkf#fmg#le#af`bvpf#le#jwpqfsqfpfmwp#wkf?elqn#b`wjlm>!#nfwklg>!slpw!jw#jp#slppjaofnlqf#ojhfoz#wlbm#jm`qfbpf#jmkbuf#bopl#affm`lqqfpslmgp#wlbmmlvm`fg#wkbwbojdm>!qjdkw!=nbmz#`lvmwqjfpelq#nbmz#zfbqpfbqojfpw#hmltmaf`bvpf#jw#tbpsw!=?,p`qjsw=\u000E#ubojdm>!wls!#jmkbajwbmwp#leelooltjmd#zfbq\u000E\t?gju#`obpp>!njoojlm#sflsof`lmwqlufqpjbo#`lm`fqmjmd#wkfbqdvf#wkbw#wkfdlufqmnfmw#bmgb#qfefqfm`f#wlwqbmpefqqfg#wlgfp`qjajmd#wkf#pwzof>!`lolq9bowklvdk#wkfqfafpw#hmltm#elqpvanjw!#mbnf>!nvowjsoj`bwjlmnlqf#wkbm#lmf#qf`ldmjwjlm#le@lvm`jo#le#wkffgjwjlm#le#wkf##?nfwb#mbnf>!Fmwfqwbjmnfmw#btbz#eqln#wkf#8nbqdjm.qjdkw9bw#wkf#wjnf#lejmufpwjdbwjlmp`lmmf`wfg#tjwkbmg#nbmz#lwkfqbowklvdk#jw#jpafdjmmjmd#tjwk#?psbm#`obpp>!gfp`fmgbmwp#le?psbm#`obpp>!j#bojdm>!qjdkw!?,kfbg=\t?algz#bpsf`wp#le#wkfkbp#pjm`f#affmFvqlsfbm#Vmjlmqfnjmjp`fmw#lenlqf#gjeej`vowUj`f#Sqfpjgfmw`lnslpjwjlm#lesbppfg#wkqlvdknlqf#jnslqwbmwelmw.pjyf922s{f{sobmbwjlm#lewkf#`lm`fsw#letqjwwfm#jm#wkf\\n?psbm#`obpp>!jp#lmf#le#wkf#qfpfnaobm`f#wllm#wkf#dqlvmgptkj`k#`lmwbjmpjm`ovgjmd#wkf#gfejmfg#az#wkfsvaoj`bwjlm#lenfbmp#wkbw#wkflvwpjgf#le#wkfpvsslqw#le#wkf?jmsvw#`obpp>!?psbm#`obpp>!w+Nbwk-qbmgln+*nlpw#sqlnjmfmwgfp`qjswjlm#le@lmpwbmwjmlsoftfqf#svaojpkfg?gju#`obpp>!pfbssfbqp#jm#wkf2!#kfjdkw>!2!#nlpw#jnslqwbmwtkj`k#jm`ovgfptkj`k#kbg#affmgfpwqv`wjlm#lewkf#slsvobwjlm\t\\n?gju#`obpp>!slppjajojwz#leplnfwjnfp#vpfgbssfbq#wl#kbufpv``fpp#le#wkfjmwfmgfg#wl#afsqfpfmw#jm#wkfpwzof>!`ofbq9a\u000E\t?,p`qjsw=\u000E\t?tbp#elvmgfg#jmjmwfqujft#tjwk\\\\jg!#`lmwfmw>!`bsjwbo#le#wkf\u000E\t?ojmh#qfo>!pqfofbpf#le#wkfsljmw#lvw#wkbw{NOKwwsQfrvfpwbmg#pvapfrvfmwpf`lmg#obqdfpwufqz#jnslqwbmwpsf`jej`bwjlmppvqeb`f#le#wkfbssojfg#wl#wkfelqfjdm#sloj`z\\\\pfwGlnbjmMbnffpwbaojpkfg#jmjp#afojfufg#wlJm#bggjwjlm#wlnfbmjmd#le#wkfjp#mbnfg#bewfqwl#sqlwf`w#wkfjp#qfsqfpfmwfgGf`obqbwjlm#lenlqf#feej`jfmw@obppjej`bwjlmlwkfq#elqnp#lekf#qfwvqmfg#wl?psbm#`obpp>!`sfqelqnbm`f#le+evm`wjlm+*#x\u000Eje#bmg#lmoz#jeqfdjlmp#le#wkfofbgjmd#wl#wkfqfobwjlmp#tjwkVmjwfg#Mbwjlmppwzof>!kfjdkw9lwkfq#wkbm#wkfzsf!#`lmwfmw>!Bppl`jbwjlm#le\t?,kfbg=\t?algzol`bwfg#lm#wkfjp#qfefqqfg#wl+jm`ovgjmd#wkf`lm`fmwqbwjlmpwkf#jmgjujgvbobnlmd#wkf#nlpwwkbm#bmz#lwkfq,=\t?ojmh#qfo>!#qfwvqm#ebopf8wkf#svqslpf#lewkf#bajojwz#wl8`lolq9 eee~\t-\t?psbm#`obpp>!wkf#pvaif`w#legfejmjwjlmp#le=\u000E\t?ojmh#qfo>!`objn#wkbw#wkfkbuf#gfufolsfg?wbaof#tjgwk>!`fofaqbwjlm#leElooltjmd#wkf#wl#gjpwjmdvjpk?psbm#`obpp>!awbhfp#sob`f#jmvmgfq#wkf#mbnfmlwfg#wkbw#wkf=?\"Xfmgje^..=\tpwzof>!nbqdjm.jmpwfbg#le#wkfjmwqlgv`fg#wkfwkf#sql`fpp#lejm`qfbpjmd#wkfgjeefqfm`fp#jmfpwjnbwfg#wkbwfpsf`jbooz#wkf,gju=?gju#jg>!tbp#fufmwvboozwkqlvdklvw#kjpwkf#gjeefqfm`fplnfwkjmd#wkbwpsbm=?,psbm=?,pjdmjej`bmwoz#=?,p`qjsw=\u000E\t\u000E\tfmujqlmnfmwbo#wl#sqfufmw#wkfkbuf#affm#vpfgfpsf`jbooz#elqvmgfqpwbmg#wkfjp#fppfmwjbooztfqf#wkf#ejqpwjp#wkf#obqdfpwkbuf#affm#nbgf!#pq`>!kwws9,,jmwfqsqfwfg#bppf`lmg#kboe#le`qloojmd>!ml!#jp#`lnslpfg#leJJ/#Kloz#Qlnbmjp#f{sf`wfg#wlkbuf#wkfjq#ltmgfejmfg#bp#wkfwqbgjwjlmbooz#kbuf#gjeefqfmwbqf#lewfm#vpfgwl#fmpvqf#wkbwbdqffnfmw#tjwk`lmwbjmjmd#wkfbqf#eqfrvfmwozjmelqnbwjlm#lmf{bnsof#jp#wkfqfpvowjmd#jm#b?,b=?,oj=?,vo=#`obpp>!ellwfqbmg#fpsf`jboozwzsf>!avwwlm!#?,psbm=?,psbm=tkj`k#jm`ovgfg=\t?nfwb#mbnf>!`lmpjgfqfg#wkf`bqqjfg#lvw#azKltfufq/#jw#jpaf`bnf#sbqw#lejm#qfobwjlm#wlslsvobq#jm#wkfwkf#`bsjwbo#letbp#leej`jbooztkj`k#kbp#affmwkf#Kjpwlqz#lebowfqmbwjuf#wlgjeefqfmw#eqlnwl#pvsslqw#wkfpvddfpwfg#wkbwjm#wkf#sql`fpp##?gju#`obpp>!wkf#elvmgbwjlmaf`bvpf#le#kjp`lm`fqmfg#tjwkwkf#vmjufqpjwzlsslpfg#wl#wkfwkf#`lmwf{w#le?psbm#`obpp>!swf{w!#mbnf>!r!\\n\\n?gju#`obpp>!wkf#p`jfmwjej`qfsqfpfmwfg#aznbwkfnbwj`jbmpfof`wfg#az#wkfwkbw#kbuf#affm=?gju#`obpp>!`gju#jg>!kfbgfqjm#sbqwj`vobq/`lmufqwfg#jmwl*8\t?,p`qjsw=\t?skjolplskj`bo#pqsphlkqubwphjwj\\rVSmd#Uj\\rWkw<L=o=m=m<V<T<U=l=o=m=m<V<T<Ujmufpwjdb`j/_msbqwj`jsb`j/_m<V<R=n<R=l=g<Y<R<]<W<\\\\=m=n<T<V<R=n<R=l=g<U=k<Y<W<R<^<Y<V=m<T=m=n<Y<P=g<q<R<^<R=m=n<T<V<R=n<R=l=g=i<R<]<W<\\\\=m=n=`<^=l<Y<P<Y<Q<T<V<R=n<R=l<\\\\=c=m<Y<_<R<X<Q=c=m<V<\\\\=k<\\\\=n=`<Q<R<^<R=m=n<T<O<V=l<\\\\<T<Q=g<^<R<S=l<R=m=g<V<R=n<R=l<R<U=m<X<Y<W<\\\\=n=`<S<R<P<R=e=`=b=m=l<Y<X=m=n<^<R<]=l<\\\\<[<R<P=m=n<R=l<R<Q=g=o=k<\\\\=m=n<T<Y=n<Y=k<Y<Q<T<Y<\\x7F<W<\\\\<^<Q<\\\\=c<T=m=n<R=l<T<T=m<T=m=n<Y<P<\\\\=l<Y=d<Y<Q<T=c<M<V<\\\\=k<\\\\=n=`<S<R=a=n<R<P=o=m<W<Y<X=o<Y=n=m<V<\\\\<[<\\\\=n=`=n<R<^<\\\\=l<R<^<V<R<Q<Y=k<Q<R=l<Y=d<Y<Q<T<Y<V<R=n<R=l<R<Y<R=l<_<\\\\<Q<R<^<V<R=n<R=l<R<P<L<Y<V<W<\\\\<P<\\\\4K5h5i5j4F4C5e5i5j4F4C5f4K4F4K5h5i5d4Z5d4U4K5h4D4]4K5i4@4K5h5i5d4K5n4U4K5h4]4_4K4J5h5i4X4K4]5o4K4F4K5h4O4U4Z4K4M4K5h4]5f4K4Z4E4K5h4F4Y5i5f5i4K5h4K4U4Z4K4M4K5h5j4F4K4J4@4K5h4O5h4U4K4D4K5h4F4_4@5f5h4K5h4O5n4_4K5i4K5h4Z4V4[4K4F4K5h5m5f4C5f5d4K5h4F4]4A5f4D4K5h4@4C5f4C4E4K5h4F4U5h5f5i4K5h4O4B4D4K4]4K5h4K5m5h4K5i4K5h4O5m5h4K5i4K5h4F4K4]5f4B4K5h4F5n5j5f4E4K5h4K5h4U4K4D4K5h4B5d4K4[4]4K5h5i4@4F5i4U4K5h4C5f5o5d4]4K5h4_5f4K4A4E4U4D4C4K5h5h5k4K5h4F4]4D5f4E4K5h4]5d4K4D4[4K5h4O4C4D5f4E4K5h4K4B4D4K4]4K5h5i4F4A4C4E4K5h4K4V4K5j5f`vqplq9sljmwfq8?,wjwof=\t?nfwb#!#kqfe>!kwws9,,!=?psbm#`obpp>!nfnafqp#le#wkf#tjmglt-ol`bwjlmufqwj`bo.bojdm9,b=#\\x7F#?b#kqfe>!?\"gl`wzsf#kwno=nfgjb>!p`qffm!#?lswjlm#ubovf>!ebuj`lm-j`l!#,=\t\\n\\n?gju#`obpp>!`kbqb`wfqjpwj`p!#nfwklg>!dfw!#,algz=\t?,kwno=\tpklqw`vw#j`lm!#gl`vnfmw-tqjwf+sbggjmd.alwwln9qfsqfpfmwbwjufppvanjw!#ubovf>!bojdm>!`fmwfq!#wkqlvdklvw#wkf#p`jfm`f#ej`wjlm\t##?gju#`obpp>!pvanjw!#`obpp>!lmf#le#wkf#nlpw#ubojdm>!wls!=?tbp#fpwbaojpkfg*8\u000E\t?,p`qjsw=\u000E\tqfwvqm#ebopf8!=*-pwzof-gjpsobzaf`bvpf#le#wkf#gl`vnfmw-`llhjf?elqn#b`wjlm>!,~algzxnbqdjm938Fm`z`olsfgjb#leufqpjlm#le#wkf#-`qfbwfFofnfmw+mbnf!#`lmwfmw>!?,gju=\t?,gju=\t\tbgnjmjpwqbwjuf#?,algz=\t?,kwno=kjpwlqz#le#wkf#!=?jmsvw#wzsf>!slqwjlm#le#wkf#bp#sbqw#le#wkf#%maps8?b#kqfe>!lwkfq#`lvmwqjfp!=\t?gju#`obpp>!?,psbm=?,psbm=?Jm#lwkfq#tlqgp/gjpsobz9#aol`h8`lmwqlo#le#wkf#jmwqlgv`wjlm#le,=\t?nfwb#mbnf>!bp#tfoo#bp#wkf#jm#qf`fmw#zfbqp\u000E\t\\n?gju#`obpp>!?,gju=\t\\n?,gju=\tjmpsjqfg#az#wkfwkf#fmg#le#wkf#`lnsbwjaof#tjwkaf`bnf#hmltm#bp#pwzof>!nbqdjm9-ip!=?,p`qjsw=?#Jmwfqmbwjlmbo#wkfqf#kbuf#affmDfqnbm#obmdvbdf#pwzof>!`lolq9 @lnnvmjpw#Sbqwz`lmpjpwfmw#tjwkalqgfq>!3!#`foo#nbqdjmkfjdkw>!wkf#nbilqjwz#le!#bojdm>!`fmwfqqfobwfg#wl#wkf#nbmz#gjeefqfmw#Lqwklgl{#@kvq`kpjnjobq#wl#wkf#,=\t?ojmh#qfo>!ptbp#lmf#le#wkf#vmwjo#kjp#gfbwk~*+*8\t?,p`qjsw=lwkfq#obmdvbdfp`lnsbqfg#wl#wkfslqwjlmp#le#wkfwkf#Mfwkfqobmgpwkf#nlpw#`lnnlmab`hdqlvmg9vqo+bqdvfg#wkbw#wkfp`qloojmd>!ml!#jm`ovgfg#jm#wkfMlqwk#Bnfqj`bm#wkf#mbnf#le#wkfjmwfqsqfwbwjlmpwkf#wqbgjwjlmbogfufolsnfmw#le#eqfrvfmwoz#vpfgb#`loof`wjlm#leufqz#pjnjobq#wlpvqqlvmgjmd#wkff{bnsof#le#wkjpbojdm>!`fmwfq!=tlvog#kbuf#affmjnbdf\\\\`bswjlm#>bwwb`kfg#wl#wkfpvddfpwjmd#wkbwjm#wkf#elqn#le#jmuloufg#jm#wkfjp#gfqjufg#eqlnmbnfg#bewfq#wkfJmwqlgv`wjlm#wlqfpwqj`wjlmp#lm#pwzof>!tjgwk9#`bm#af#vpfg#wl#wkf#`qfbwjlm#lenlpw#jnslqwbmw#jmelqnbwjlm#bmgqfpvowfg#jm#wkf`loobspf#le#wkfWkjp#nfbmp#wkbwfofnfmwp#le#wkftbp#qfsob`fg#azbmbozpjp#le#wkfjmpsjqbwjlm#elqqfdbqgfg#bp#wkfnlpw#pv``fppevohmltm#bp#%rvlw8b#`lnsqfkfmpjufKjpwlqz#le#wkf#tfqf#`lmpjgfqfgqfwvqmfg#wl#wkfbqf#qfefqqfg#wlVmplvq`fg#jnbdf=\t\\n?gju#`obpp>!`lmpjpwp#le#wkfpwlsSqlsbdbwjlmjmwfqfpw#jm#wkfbubjobajojwz#lebssfbqp#wl#kbuffof`wqlnbdmfwj`fmbaofPfquj`fp+evm`wjlm#le#wkfJw#jp#jnslqwbmw?,p`qjsw=?,gju=evm`wjlm+*xubq#qfobwjuf#wl#wkfbp#b#qfpvow#le#wkf#slpjwjlm#leElq#f{bnsof/#jm#nfwklg>!slpw!#tbp#elooltfg#az%bns8ngbpk8#wkfwkf#bssoj`bwjlmip!=?,p`qjsw=\u000E\tvo=?,gju=?,gju=bewfq#wkf#gfbwktjwk#qfpsf`w#wlpwzof>!sbggjmd9jp#sbqwj`vobqozgjpsobz9jmojmf8#wzsf>!pvanjw!#jp#gjujgfg#jmwl\\bTA\\nzk#+\\vBl\\bQ\\x7F*qfpslmpbajojgbgbgnjmjpwqb`j/_mjmwfqmb`jlmbofp`lqqfpslmgjfmwf\\fHe\\fHF\\fHC\\fIg\\fH{\\fHF\\fIn\\fH\\\\\\fIa\\fHY\\fHU\\fHB\\fHR\\fH\\\\\\fIk\\fH^\\fIg\\fH{\\fIg\\fHn\\fHv\\fIm\\fHD\\fHR\\fHY\\fH^\\fIk\\fHy\\fHS\\fHD\\fHT\\fH\\\\\\fHy\\fHR\\fH\\\\\\fHF\\fIm\\fH^\\fHS\\fHT\\fHz\\fIg\\fHp\\fIk\\fHn\\fHv\\fHR\\fHU\\fHS\\fHc\\fHA\\fIk\\fHp\\fIk\\fHn\\fHZ\\fHR\\fHB\\fHS\\fH^\\fHU\\fHB\\fHR\\fH\\\\\\fIl\\fHp\\fHR\\fH{\\fH\\\\\\fHO\\fH@\\fHD\\fHR\\fHD\\fIk\\fHy\\fIm\\fHB\\fHR\\fH\\\\\\fH@\\fIa\\fH^\\fIe\\fH{\\fHB\\fHR\\fH^\\fHS\\fHy\\fHB\\fHU\\fHS\\fH^\\fHR\\fHF\\fIo\\fH[\\fIa\\fHL\\fH@\\fHN\\fHP\\fHH\\fIk\\fHA\\fHR\\fHp\\fHF\\fHR\\fHy\\fIa\\fH^\\fHS\\fHy\\fHs\\fIa\\fH\\\\\\fIk\\fHD\\fHz\\fHS\\fH^\\fHR\\fHG\\fHJ\\fI`\\fH\\\\\\fHR\\fHD\\fHB\\fHR\\fHB\\fH^\\fIk\\fHB\\fHH\\fHJ\\fHR\\fHD\\fH@\\fHR\\fHp\\fHR\\fH\\\\\\fHY\\fHS\\fHy\\fHR\\fHT\\fHy\\fIa\\fHC\\fIg\\fHn\\fHv\\fHR\\fHU\\fHH\\fIk\\fHF\\fHU\\fIm\\fHm\\fHv\\fH@\\fHH\\fHR\\fHC\\fHR\\fHT\\fHn\\fHY\\fHR\\fHJ\\fHJ\\fIk\\fHz\\fHD\\fIk\\fHF\\fHS\\fHw\\fH^\\fIk\\fHY\\fHS\\fHZ\\fIk\\fH[\\fH\\\\\\fHR\\fHp\\fIa\\fHC\\fHe\\fHH\\fIa\\fHH\\fH\\\\\\fHB\\fIm\\fHn\\fH@\\fHd\\fHJ\\fIg\\fHD\\fIg\\fHn\\fHe\\fHF\\fHy\\fH\\\\\\fHO\\fHF\\fHN\\fHP\\fIk\\fHn\\fHT\\fIa\\fHI\\fHS\\fHH\\fHG\\fHS\\fH^\\fIa\\fHB\\fHB\\fIm\\fHz\\fIa\\fHC\\fHi\\fHv\\fIa\\fHw\\fHR\\fHw\\fIn\\fHs\\fHH\\fIl\\fHT\\fHn\\fH{\\fIl\\fHH\\fHp\\fHR\\fHc\\fH{\\fHR\\fHY\\fHS\\fHA\\fHR\\fH{\\fHt\\fHO\\fIa\\fHs\\fIk\\fHJ\\fIn\\fHT\\fH\\\\\\fIk\\fHJ\\fHS\\fHD\\fIg\\fHn\\fHU\\fHH\\fIa\\fHC\\fHR\\fHT\\fIk\\fHy\\fIa\\fHT\\fH{\\fHR\\fHn\\fHK\\fIl\\fHY\\fHS\\fHZ\\fIa\\fHY\\fH\\\\\\fHR\\fHH\\fIk\\fHn\\fHJ\\fId\\fHs\\fIa\\fHT\\fHD\\fHy\\fIa\\fHZ\\fHR\\fHT\\fHR\\fHB\\fHD\\fIk\\fHi\\fHJ\\fHR\\fH^\\fHH\\fH@\\fHS\\fHp\\fH^\\fIl\\fHF\\fIm\\fH\\\\\\fIn\\fH[\\fHU\\fHS\\fHn\\fHJ\\fIl\\fHB\\fHS\\fHH\\fIa\\fH\\\\\\fHy\\fHY\\fHS\\fHH\\fHR\\fH\\\\\\fIm\\fHF\\fHC\\fIk\\fHT\\fIa\\fHI\\fHR\\fHD\\fHy\\fH\\\\\\fIg\\fHM\\fHP\\fHB\\fIm\\fHy\\fIa\\fHH\\fHC\\fIg\\fHp\\fHD\\fHR\\fHy\\fIo\\fHF\\fHC\\fHR\\fHF\\fIg\\fHT\\fIa\\fHs\\fHt\\fH\\\\\\fIk\\fH^\\fIn\\fHy\\fHR\\fH\\\\\\fIa\\fHC\\fHY\\fHS\\fHv\\fHR\\fH\\\\\\fHT\\fIn\\fHv\\fHD\\fHR\\fHB\\fIn\\fH^\\fIa\\fHC\\fHJ\\fIk\\fHz\\fIk\\fHn\\fHU\\fHB\\fIk\\fHZ\\fHR\\fHT\\fIa\\fHy\\fIn\\fH^\\fHB\\fId\\fHn\\fHD\\fIk\\fHH\\fId\\fHC\\fHR\\fH\\\\\\fHp\\fHS\\fHT\\fHy\\fIkqpp({no!#wjwof>!.wzsf!#`lmwfmw>!wjwof!#`lmwfmw>!bw#wkf#pbnf#wjnf-ip!=?,p`qjsw=\t?!#nfwklg>!slpw!#?,psbm=?,b=?,oj=ufqwj`bo.bojdm9w,irvfqz-njm-ip!=-`oj`h+evm`wjlm+#pwzof>!sbggjmd.~*+*8\t?,p`qjsw=\t?,psbm=?b#kqfe>!?b#kqfe>!kwws9,,*8#qfwvqm#ebopf8wf{w.gf`lqbwjlm9#p`qloojmd>!ml!#alqgfq.`loobspf9bppl`jbwfg#tjwk#Abkbpb#JmglmfpjbFmdojpk#obmdvbdf?wf{w#{no9psb`f>-dje!#alqgfq>!3!?,algz=\t?,kwno=\tlufqeolt9kjggfm8jnd#pq`>!kwws9,,bggFufmwOjpwfmfqqfpslmpjaof#elq#p-ip!=?,p`qjsw=\t,ebuj`lm-j`l!#,=lsfqbwjmd#pzpwfn!#pwzof>!tjgwk92wbqdfw>!\\\\aobmh!=Pwbwf#Vmjufqpjwzwf{w.bojdm9ofew8\tgl`vnfmw-tqjwf+/#jm`ovgjmd#wkf#bqlvmg#wkf#tlqog*8\u000E\t?,p`qjsw=\u000E\t?!#pwzof>!kfjdkw98lufqeolt9kjggfmnlqf#jmelqnbwjlmbm#jmwfqmbwjlmbob#nfnafq#le#wkf#lmf#le#wkf#ejqpw`bm#af#elvmg#jm#?,gju=\t\\n\\n?,gju=\tgjpsobz9#mlmf8!=!#,=\t?ojmh#qfo>!\t##+evm`wjlm+*#xwkf#26wk#`fmwvqz-sqfufmwGfebvow+obqdf#mvnafq#le#Azybmwjmf#Fnsjqf-isd\\x7Fwkvna\\x7Fofew\\x7Fubpw#nbilqjwz#lenbilqjwz#le#wkf##bojdm>!`fmwfq!=Vmjufqpjwz#Sqfppglnjmbwfg#az#wkfPf`lmg#Tlqog#Tbqgjpwqjavwjlm#le#pwzof>!slpjwjlm9wkf#qfpw#le#wkf#`kbqb`wfqjyfg#az#qfo>!mleloolt!=gfqjufp#eqln#wkfqbwkfq#wkbm#wkf#b#`lnajmbwjlm#lepwzof>!tjgwk9233Fmdojpk.psfbhjmd`lnsvwfq#p`jfm`falqgfq>!3!#bow>!wkf#f{jpwfm`f#leGfnl`qbwj`#Sbqwz!#pwzof>!nbqdjm.Elq#wkjp#qfbplm/-ip!=?,p`qjsw=\t\\npAzWbdMbnf+p*X3^ip!=?,p`qjsw=\u000E\t?-ip!=?,p`qjsw=\u000E\tojmh#qfo>!j`lm!#$#bow>$$#`obpp>$elqnbwjlm#le#wkfufqpjlmp#le#wkf#?,b=?,gju=?,gju=,sbdf=\t##?sbdf=\t?gju#`obpp>!`lmwaf`bnf#wkf#ejqpwabkbpb#Jmglmfpjbfmdojpk#+pjnsof*\"y\"W\"W\"[\"Q\"U\"V\"@=i=l<^<\\\\=n=m<V<T<V<R<P<S<\\\\<Q<T<T=c<^<W=c<Y=n=m=c<x<R<]<\\\\<^<T=n=`=k<Y<W<R<^<Y<V<\\\\=l<\\\\<[<^<T=n<T=c<t<Q=n<Y=l<Q<Y=n<r=n<^<Y=n<T=n=`<Q<\\\\<S=l<T<P<Y=l<T<Q=n<Y=l<Q<Y=n<V<R=n<R=l<R<_<R=m=n=l<\\\\<Q<T=j=g<V<\\\\=k<Y=m=n<^<Y=o=m<W<R<^<T=c=i<S=l<R<]<W<Y<P=g<S<R<W=o=k<T=n=`=c<^<W=c=b=n=m=c<Q<\\\\<T<]<R<W<Y<Y<V<R<P<S<\\\\<Q<T=c<^<Q<T<P<\\\\<Q<T<Y=m=l<Y<X=m=n<^<\\\\4K5h5i5d4K4Z5f4U4K5h4]4J5f4_5f4E4K5h4K5j4F5n4K5h5i4X4K4]5o4K4F5o4K5h4_5f4K4]4K4F4K5h5i5o4F5d4D4E4K5h4_4U5d4C5f4E4K4A4Y4K4J5f4K4F4K5h4U4K5h5i5f4E4K5h4Y5d4F5f4K4F4K5h4K5j4F4]5j4F4K5h4F4Y4K5i5f5i4K5h4I4_5h4K5i5f4K5h5i4X4K4]5o4E4K5h5i4]4J5f4K4Fqlalwp!#`lmwfmw>!?gju#jg>!ellwfq!=wkf#Vmjwfg#Pwbwfp?jnd#pq`>!kwws9,,-isd\\x7Fqjdkw\\x7Fwkvna\\x7F-ip!=?,p`qjsw=\u000E\t?ol`bwjlm-sqlwl`loeqbnfalqgfq>!3!#p!#,=\t?nfwb#mbnf>!?,b=?,gju=?,gju=?elmw.tfjdkw9alog8%rvlw8#bmg#%rvlw8gfsfmgjmd#lm#wkf#nbqdjm938sbggjmd9!#qfo>!mleloolt!#Sqfpjgfmw#le#wkf#wtfmwjfwk#`fmwvqzfujpjlm=\t##?,sbdfJmwfqmfw#F{solqfqb-bpzm`#>#wqvf8\u000E\tjmelqnbwjlm#balvw?gju#jg>!kfbgfq!=!#b`wjlm>!kwws9,,?b#kqfe>!kwwsp9,,?gju#jg>!`lmwfmw!?,gju=\u000E\t?,gju=\u000E\t?gfqjufg#eqln#wkf#?jnd#pq`>$kwws9,,b``lqgjmd#wl#wkf#\t?,algz=\t?,kwno=\tpwzof>!elmw.pjyf9p`qjsw#obmdvbdf>!Bqjbo/#Kfoufwj`b/?,b=?psbm#`obpp>!?,p`qjsw=?p`qjsw#slojwj`bo#sbqwjfpwg=?,wq=?,wbaof=?kqfe>!kwws9,,ttt-jmwfqsqfwbwjlm#leqfo>!pwzofpkffw!#gl`vnfmw-tqjwf+$?`kbqpfw>!vwe.;!=\tafdjmmjmd#le#wkf#qfufbofg#wkbw#wkfwfofujpjlm#pfqjfp!#qfo>!mleloolt!=#wbqdfw>!\\\\aobmh!=`objnjmd#wkbw#wkfkwws&0B&1E&1Ettt-nbmjefpwbwjlmp#leSqjnf#Njmjpwfq#lejmeovfm`fg#az#wkf`obpp>!`ofbqej{!=,gju=\u000E\t?,gju=\u000E\t\u000E\twkqff.gjnfmpjlmbo@kvq`k#le#Fmdobmgle#Mlqwk#@bqlojmbprvbqf#hjolnfwqfp-bggFufmwOjpwfmfqgjpwjm`w#eqln#wkf`lnnlmoz#hmltm#bpSklmfwj`#Boskbafwgf`obqfg#wkbw#wkf`lmwqloofg#az#wkfAfmibnjm#Eqbmhojmqlof.sobzjmd#dbnfwkf#Vmjufqpjwz#lejm#Tfpwfqm#Fvqlsfsfqplmbo#`lnsvwfqSqlif`w#Dvwfmafqdqfdbqgofpp#le#wkfkbp#affm#sqlslpfgwldfwkfq#tjwk#wkf=?,oj=?oj#`obpp>!jm#plnf#`lvmwqjfpnjm-ip!=?,p`qjsw=le#wkf#slsvobwjlmleej`jbo#obmdvbdf?jnd#pq`>!jnbdfp,jgfmwjejfg#az#wkfmbwvqbo#qfplvq`fp`obppjej`bwjlm#le`bm#af#`lmpjgfqfgrvbmwvn#nf`kbmj`pMfufqwkfofpp/#wkfnjoojlm#zfbqp#bdl?,algz=\u000E\t?,kwno=\u000E\"y\"W\"W\"[\"Q\"U\"V\"@\twbhf#bgubmwbdf#lebmg/#b``lqgjmd#wlbwwqjavwfg#wl#wkfNj`qlplew#Tjmgltpwkf#ejqpw#`fmwvqzvmgfq#wkf#`lmwqlogju#`obpp>!kfbgfqpklqwoz#bewfq#wkfmlwbaof#f{`fswjlmwfmp#le#wklvpbmgppfufqbo#gjeefqfmwbqlvmg#wkf#tlqog-qfb`kjmd#njojwbqzjplobwfg#eqln#wkflsslpjwjlm#wl#wkfwkf#Log#WfpwbnfmwBeqj`bm#Bnfqj`bmpjmpfqwfg#jmwl#wkfpfsbqbwf#eqln#wkfnfwqlslojwbm#bqfbnbhfp#jw#slppjaofb`hmltofgdfg#wkbwbqdvbaoz#wkf#nlpwwzsf>!wf{w,`pp!=\twkf#JmwfqmbwjlmboB``lqgjmd#wl#wkf#sf>!wf{w,`pp!#,=\t`ljm`jgf#tjwk#wkfwtl.wkjqgp#le#wkfGvqjmd#wkjp#wjnf/gvqjmd#wkf#sfqjlgbmmlvm`fg#wkbw#kfwkf#jmwfqmbwjlmbobmg#nlqf#qf`fmwozafojfufg#wkbw#wkf`lmp`jlvpmfpp#bmgelqnfqoz#hmltm#bppvqqlvmgfg#az#wkfejqpw#bssfbqfg#jml``bpjlmbooz#vpfgslpjwjlm9baplovwf8!#wbqdfw>!\\\\aobmh!#slpjwjlm9qfobwjuf8wf{w.bojdm9`fmwfq8ib{,ojap,irvfqz,2-ab`hdqlvmg.`lolq9 wzsf>!bssoj`bwjlm,bmdvbdf!#`lmwfmw>!?nfwb#kwws.frvju>!Sqjub`z#Sloj`z?,b=f+!&0@p`qjsw#pq`>$!#wbqdfw>!\\\\aobmh!=Lm#wkf#lwkfq#kbmg/-isd\\x7Fwkvna\\x7Fqjdkw\\x7F1?,gju=?gju#`obpp>!?gju#pwzof>!eolbw9mjmfwffmwk#`fmwvqz?,algz=\u000E\t?,kwno=\u000E\t?jnd#pq`>!kwws9,,p8wf{w.bojdm9`fmwfqelmw.tfjdkw9#alog8#B``lqgjmd#wl#wkf#gjeefqfm`f#afwtffm!#eqbnfalqgfq>!3!#!#pwzof>!slpjwjlm9ojmh#kqfe>!kwws9,,kwno7,ollpf-gwg!=\tgvqjmd#wkjp#sfqjlg?,wg=?,wq=?,wbaof=`olpfoz#qfobwfg#wlelq#wkf#ejqpw#wjnf8elmw.tfjdkw9alog8jmsvw#wzsf>!wf{w!#?psbm#pwzof>!elmw.lmqfbgzpwbwf`kbmdf\\n?gju#`obpp>!`ofbqgl`vnfmw-ol`bwjlm-#Elq#f{bnsof/#wkf#b#tjgf#ubqjfwz#le#?\"GL@WZSF#kwno=\u000E\t?%maps8%maps8%maps8!=?b#kqfe>!kwws9,,pwzof>!eolbw9ofew8`lm`fqmfg#tjwk#wkf>kwws&0B&1E&1Ettt-jm#slsvobq#`vowvqfwzsf>!wf{w,`pp!#,=jw#jp#slppjaof#wl#Kbqubqg#Vmjufqpjwzwzofpkffw!#kqfe>!,wkf#nbjm#`kbqb`wfqL{elqg#Vmjufqpjwz##mbnf>!hfztlqgp!#`pwzof>!wf{w.bojdm9wkf#Vmjwfg#Hjmdglnefgfqbo#dlufqmnfmw?gju#pwzof>!nbqdjm#gfsfmgjmd#lm#wkf#gfp`qjswjlm#le#wkf?gju#`obpp>!kfbgfq-njm-ip!=?,p`qjsw=gfpwqv`wjlm#le#wkfpojdkwoz#gjeefqfmwjm#b``lqgbm`f#tjwkwfof`lnnvmj`bwjlmpjmgj`bwfp#wkbw#wkfpklqwoz#wkfqfbewfqfpsf`jbooz#jm#wkf#Fvqlsfbm#`lvmwqjfpKltfufq/#wkfqf#bqfpq`>!kwws9,,pwbwj`pvddfpwfg#wkbw#wkf!#pq`>!kwws9,,ttt-b#obqdf#mvnafq#le#Wfof`lnnvmj`bwjlmp!#qfo>!mleloolt!#wKloz#Qlnbm#Fnsfqlqbonlpw#f{`ovpjufoz!#alqgfq>!3!#bow>!Pf`qfwbqz#le#Pwbwf`vonjmbwjmd#jm#wkf@JB#Tlqog#Eb`wallhwkf#nlpw#jnslqwbmwbmmjufqpbqz#le#wkfpwzof>!ab`hdqlvmg.?oj=?fn=?b#kqfe>!,wkf#Bwobmwj`#L`fbmpwqj`woz#psfbhjmd/pklqwoz#afelqf#wkfgjeefqfmw#wzsfp#lewkf#Lwwlnbm#Fnsjqf=?jnd#pq`>!kwws9,,Bm#Jmwqlgv`wjlm#wl`lmpfrvfm`f#le#wkfgfsbqwvqf#eqln#wkf@lmefgfqbwf#Pwbwfpjmgjdfmlvp#sflsofpSql`ffgjmdp#le#wkfjmelqnbwjlm#lm#wkfwkflqjfp#kbuf#affmjmuloufnfmw#jm#wkfgjujgfg#jmwl#wkqffbgib`fmw#`lvmwqjfpjp#qfpslmpjaof#elqgjpplovwjlm#le#wkf`loobalqbwjlm#tjwktjgfoz#qfdbqgfg#bpkjp#`lmwfnslqbqjfpelvmgjmd#nfnafq#leGlnjmj`bm#Qfsvaoj`dfmfqbooz#b``fswfgwkf#slppjajojwz#lebqf#bopl#bubjobaofvmgfq#`lmpwqv`wjlmqfpwlqbwjlm#le#wkfwkf#dfmfqbo#svaoj`jp#bonlpw#fmwjqfozsbppfp#wkqlvdk#wkfkbp#affm#pvddfpwfg`lnsvwfq#bmg#ujgflDfqnbmj`#obmdvbdfp#b``lqgjmd#wl#wkf#gjeefqfmw#eqln#wkfpklqwoz#bewfqtbqgpkqfe>!kwwsp9,,ttt-qf`fmw#gfufolsnfmwAlbqg#le#Gjqf`wlqp?gju#`obpp>!pfbq`k\\x7F#?b#kqfe>!kwws9,,Jm#sbqwj`vobq/#wkfNvowjsof#ellwmlwfplq#lwkfq#pvapwbm`fwklvpbmgp#le#zfbqpwqbmpobwjlm#le#wkf?,gju=\u000E\t?,gju=\u000E\t\u000E\t?b#kqfe>!jmgf{-skstbp#fpwbaojpkfg#jmnjm-ip!=?,p`qjsw=\tsbqwj`jsbwf#jm#wkfb#pwqlmd#jmeovfm`fpwzof>!nbqdjm.wls9qfsqfpfmwfg#az#wkfdqbgvbwfg#eqln#wkfWqbgjwjlmbooz/#wkfFofnfmw+!p`qjsw!*8Kltfufq/#pjm`f#wkf,gju=\t?,gju=\t?gju#ofew8#nbqdjm.ofew9sqlwf`wjlm#bdbjmpw38#ufqwj`bo.bojdm9Vmelqwvmbwfoz/#wkfwzsf>!jnbdf,{.j`lm,gju=\t?gju#`obpp>!#`obpp>!`ofbqej{!=?gju#`obpp>!ellwfq\\n\\n?,gju=\t\\n\\n?,gju=\twkf#nlwjlm#sj`wvqf<}=f<W<_<\\\\=l=m<V<T<]=f<W<_<\\\\=l=m<V<T<H<Y<X<Y=l<\\\\=j<T<T<Q<Y=m<V<R<W=`<V<R=m<R<R<]=e<Y<Q<T<Y=m<R<R<]=e<Y<Q<T=c<S=l<R<_=l<\\\\<P<P=g<r=n<S=l<\\\\<^<T=n=`<]<Y=m<S<W<\\\\=n<Q<R<P<\\\\=n<Y=l<T<\\\\<W=g<S<R<[<^<R<W=c<Y=n<S<R=m<W<Y<X<Q<T<Y=l<\\\\<[<W<T=k<Q=g=i<S=l<R<X=o<V=j<T<T<S=l<R<_=l<\\\\<P<P<\\\\<S<R<W<Q<R=m=n=`=b<Q<\\\\=i<R<X<T=n=m=c<T<[<]=l<\\\\<Q<Q<R<Y<Q<\\\\=m<Y<W<Y<Q<T=c<T<[<P<Y<Q<Y<Q<T=c<V<\\\\=n<Y<_<R=l<T<T<|<W<Y<V=m<\\\\<Q<X=l\\fHJ\\fIa\\fHY\\fHR\\fH\\\\\\fHR\\fHB\\fId\\fHD\\fIm\\fHi\\fH^\\fHF\\fIa\\fH\\\\\\fHJ\\fHR\\fHD\\fHA\\fHR\\fH\\\\\\fHH\\fIl\\fHC\\fHi\\fHD\\fIm\\fHJ\\fIk\\fHZ\\fHU\\fHS\\fHD\\fIa\\fHJ\\fIl\\fHk\\fHn\\fHM\\fHS\\fHC\\fHR\\fHJ\\fHS\\fH^\\fIa\\fH^\\fIl\\fHi\\fHK\\fHS\\fHy\\fHR\\fH\\\\\\fHY\\fIl\\fHM\\fHS\\fHC\\fIg\\fHv\\fHS\\fHs\\fIa\\fHL\\fIk\\fHT\\fHB\\fHR\\fHv\\fHR\\fH\\\\\\fHp\\fHn\\fHy\\fIa\\fHZ\\fHD\\fHJ\\fIm\\fHD\\fHS\\fHC\\fHR\\fHF\\fIa\\fH\\\\\\fHC\\fIg\\fH{\\fHi\\fHD\\fIm\\fHT\\fHR\\fH\\\\\\fH}\\fHD\\fH^\\fHR\\fHk\\fHD\\fHF\\fHR\\fH\\\\\\fIa\\fHs\\fIl\\fHZ\\fH\\\\\\fIa\\fHH\\fIg\\fHn\\fH^\\fIg\\fHy\\fHT\\fHA\\fHR\\fHG\\fHP\\fIa\\fH^\\fId\\fHZ\\fHZ\\fH\\\\\\fIa\\fHH\\fIk\\fHn\\fHF\\fIa\\fH\\\\\\fHJ\\fIk\\fHZ\\fHF\\fIa\\fH^\\fIk\\fHC\\fH\\\\\\fHy\\fIk\\fHn\\fHJ\\fIa\\fH\\\\\\fHT\\fIa\\fHI\\fHS\\fHH\\fHS\\fHe\\fHH\\fIa\\fHF\\fHR\\fHJ\\fHe\\fHD\\fIa\\fHU\\fIk\\fHn\\fHv\\fHS\\fHs\\fIa\\fHL\\fHR\\fHC\\fHR\\fHH\\fIa\\fH\\\\\\fHR\\fHp\\fIa\\fHC\\fHR\\fHJ\\fHR\\fHF\\fIm\\fH\\\\\\fHR\\fHD\\fIk\\fHp\\fIg\\fHM\\fHP\\fIk\\fHn\\fHi\\fHD\\fIm\\fHY\\fHR\\fHJ\\fHZ\\fIa\\fH\\\\\\fIk\\fHO\\fIl\\fHZ\\fHS\\fHy\\fIa\\fH[\\fHR\\fHT\\fH\\\\\\fHy\\fHR\\fH\\\\\\fIl\\fHT\\fHn\\fH{\\fIa\\fH\\\\\\fHU\\fHF\\fH\\\\\\fHS\\fHO\\fHR\\fHB\\fH@\\fIa\\fH\\\\\\fHR\\fHn\\fHM\\fH@\\fHv\\fIa\\fHv\\fIg\\fHn\\fHe\\fHF\\fH^\\fH@\\fIa\\fHK\\fHB\\fHn\\fHH\\fIa\\fH\\\\\\fIl\\fHT\\fHn\\fHF\\fH\\\\\\fIa\\fHy\\fHe\\fHB\\fIa\\fHB\\fIl\\fHJ\\fHB\\fHR\\fHK\\fIa\\fHC\\fHB\\fHT\\fHU\\fHR\\fHC\\fHH\\fHR\\fHZ\\fH@\\fIa\\fHJ\\fIg\\fHn\\fHB\\fIl\\fHM\\fHS\\fHC\\fHR\\fHj\\fHd\\fHF\\fIl\\fHc\\fH^\\fHB\\fIg\\fH@\\fHR\\fHk\\fH^\\fHT\\fHn\\fHz\\fIa\\fHC\\fHR\\fHj\\fHF\\fH\\\\\\fIk\\fHZ\\fHD\\fHi\\fHD\\fIm\\fH@\\fHn\\fHK\\fH@\\fHR\\fHp\\fHP\\fHR\\fH\\\\\\fHD\\fHY\\fIl\\fHD\\fHH\\fHB\\fHF\\fIa\\fH\\\\\\fHB\\fIm\\fHz\\fHF\\fIa\\fH\\\\\\fHZ\\fIa\\fHD\\fHF\\fH\\\\\\fHS\\fHY\\fHR\\fH\\\\\\fHD\\fIm\\fHy\\fHT\\fHR\\fHD\\fHT\\fHB\\fH\\\\\\fIa\\fHI\\fHD\\fHj\\fHC\\fIg\\fHp\\fHS\\fHH\\fHT\\fIg\\fHB\\fHY\\fHR\\fH\\\\4K5h5i4X4K4]5o4K4F4K5h5i5j4F4C5f4K4F4K5h5o5i4D5f5d4F4]4K5h5i4X4K5k4C4K4F4U4C4C4K5h4^5d4K4]4U4C4C4K5h4]4C5d4C4K5h4I4_5h4K5i5f4E4K5h5m5d4F5d4X5d4D4K5h5i4_4K4D5n4K4F4K5h5i4U5h5d5i4K4F4K5h5i4_5h4_5h4K4F4K5h4@4]4K5m5f5o4_4K5h4K4_5h4K5i5f4E4K5h4K4F4Y4K5h4K4Fhfztlqgp!#`lmwfmw>!t0-lqd,2:::,{kwno!=?b#wbqdfw>!\\\\aobmh!#wf{w,kwno8#`kbqpfw>!#wbqdfw>!\\\\aobmh!=?wbaof#`foosbggjmd>!bvwl`lnsofwf>!lee!#wf{w.bojdm9#`fmwfq8wl#obpw#ufqpjlm#az#ab`hdqlvmg.`lolq9# !#kqfe>!kwws9,,ttt-,gju=?,gju=?gju#jg>?b#kqfe>! !#`obpp>!!=?jnd#pq`>!kwws9,,`qjsw!#pq`>!kwws9,,\t?p`qjsw#obmdvbdf>!,,FM!#!kwws9,,ttt-tfm`lgfVQJ@lnslmfmw+!#kqfe>!ibubp`qjsw9?gju#`obpp>!`lmwfmwgl`vnfmw-tqjwf+$?p`slpjwjlm9#baplovwf8p`qjsw#pq`>!kwws9,,#pwzof>!nbqdjm.wls9-njm-ip!=?,p`qjsw=\t?,gju=\t?gju#`obpp>!t0-lqd,2:::,{kwno!#\t\u000E\t?,algz=\u000E\t?,kwno=gjpwjm`wjlm#afwtffm,!#wbqdfw>!\\\\aobmh!=?ojmh#kqfe>!kwws9,,fm`lgjmd>!vwe.;!<=\tt-bggFufmwOjpwfmfq<b`wjlm>!kwws9,,ttt-j`lm!#kqfe>!kwws9,,#pwzof>!ab`hdqlvmg9wzsf>!wf{w,`pp!#,=\tnfwb#sqlsfqwz>!ld9w?jmsvw#wzsf>!wf{w!##pwzof>!wf{w.bojdm9wkf#gfufolsnfmw#le#wzofpkffw!#wzsf>!wfkwno8#`kbqpfw>vwe.;jp#`lmpjgfqfg#wl#afwbaof#tjgwk>!233&!#Jm#bggjwjlm#wl#wkf#`lmwqjavwfg#wl#wkf#gjeefqfm`fp#afwtffmgfufolsnfmw#le#wkf#Jw#jp#jnslqwbmw#wl#?,p`qjsw=\t\t?p`qjsw##pwzof>!elmw.pjyf92=?,psbm=?psbm#jg>daOjaqbqz#le#@lmdqfpp?jnd#pq`>!kwws9,,jnFmdojpk#wqbmpobwjlmB`bgfnz#le#P`jfm`fpgju#pwzof>!gjpsobz9`lmpwqv`wjlm#le#wkf-dfwFofnfmwAzJg+jg*jm#`lmivm`wjlm#tjwkFofnfmw+$p`qjsw$*8#?nfwb#sqlsfqwz>!ld9<}=f<W<_<\\\\=l=m<V<T\t#wzsf>!wf{w!#mbnf>!=Sqjub`z#Sloj`z?,b=bgnjmjpwfqfg#az#wkffmbaofPjmdofQfrvfpwpwzof>%rvlw8nbqdjm9?,gju=?,gju=?,gju=?=?jnd#pq`>!kwws9,,j#pwzof>%rvlw8eolbw9qfefqqfg#wl#bp#wkf#wlwbo#slsvobwjlm#lejm#Tbpkjmdwlm/#G-@-#pwzof>!ab`hdqlvmg.bnlmd#lwkfq#wkjmdp/lqdbmjybwjlm#le#wkfsbqwj`jsbwfg#jm#wkfwkf#jmwqlgv`wjlm#lejgfmwjejfg#tjwk#wkfej`wjlmbo#`kbqb`wfq#L{elqg#Vmjufqpjwz#njpvmgfqpwbmgjmd#leWkfqf#bqf/#kltfufq/pwzofpkffw!#kqfe>!,@lovnajb#Vmjufqpjwzf{sbmgfg#wl#jm`ovgfvpvbooz#qfefqqfg#wljmgj`bwjmd#wkbw#wkfkbuf#pvddfpwfg#wkbwbeejojbwfg#tjwk#wkf`lqqfobwjlm#afwtffmmvnafq#le#gjeefqfmw=?,wg=?,wq=?,wbaof=Qfsvaoj`#le#Jqfobmg\t?,p`qjsw=\t?p`qjsw#vmgfq#wkf#jmeovfm`f`lmwqjavwjlm#wl#wkfLeej`jbo#tfapjwf#lekfbgrvbqwfqp#le#wkf`fmwfqfg#bqlvmg#wkfjnsoj`bwjlmp#le#wkfkbuf#affm#gfufolsfgEfgfqbo#Qfsvaoj`#leaf`bnf#jm`qfbpjmdoz`lmwjmvbwjlm#le#wkfMlwf/#kltfufq/#wkbwpjnjobq#wl#wkbw#le#`bsbajojwjfp#le#wkfb``lqgbm`f#tjwk#wkfsbqwj`jsbmwp#jm#wkfevqwkfq#gfufolsnfmwvmgfq#wkf#gjqf`wjlmjp#lewfm#`lmpjgfqfgkjp#zlvmdfq#aqlwkfq?,wg=?,wq=?,wbaof=?b#kwws.frvju>![.VB.skzpj`bo#sqlsfqwjfple#Aqjwjpk#@lovnajbkbp#affm#`qjwj`jyfg+tjwk#wkf#f{`fswjlmrvfpwjlmp#balvw#wkfsbppjmd#wkqlvdk#wkf3!#`foosbggjmd>!3!#wklvpbmgp#le#sflsofqfgjqf`wp#kfqf-#Elqkbuf#`kjogqfm#vmgfq&0F&0@,p`qjsw&0F!**8?b#kqfe>!kwws9,,ttt-?oj=?b#kqfe>!kwws9,,pjwf\\\\mbnf!#`lmwfmw>!wf{w.gf`lqbwjlm9mlmfpwzof>!gjpsobz9#mlmf?nfwb#kwws.frvju>![.mft#Gbwf+*-dfwWjnf+*#wzsf>!jnbdf,{.j`lm!?,psbm=?psbm#`obpp>!obmdvbdf>!ibubp`qjswtjmglt-ol`bwjlm-kqfe?b#kqfe>!ibubp`qjsw9..=\u000E\t?p`qjsw#wzsf>!w?b#kqfe>$kwws9,,ttt-klqw`vw#j`lm!#kqfe>!?,gju=\u000E\t?gju#`obpp>!?p`qjsw#pq`>!kwws9,,!#qfo>!pwzofpkffw!#w?,gju=\t?p`qjsw#wzsf>,b=#?b#kqfe>!kwws9,,#booltWqbmpsbqfm`z>![.VB.@lnsbwjaof!#`lmqfobwjlmpkjs#afwtffm\t?,p`qjsw=\u000E\t?p`qjsw#?,b=?,oj=?,vo=?,gju=bppl`jbwfg#tjwk#wkf#sqldqbnnjmd#obmdvbdf?,b=?b#kqfe>!kwws9,,?,b=?,oj=?oj#`obpp>!elqn#b`wjlm>!kwws9,,?gju#pwzof>!gjpsobz9wzsf>!wf{w!#mbnf>!r!?wbaof#tjgwk>!233&!#ab`hdqlvmg.slpjwjlm9!#alqgfq>!3!#tjgwk>!qfo>!pklqw`vw#j`lm!#k5=?vo=?oj=?b#kqfe>!##?nfwb#kwws.frvju>!`pp!#nfgjb>!p`qffm!#qfpslmpjaof#elq#wkf#!#wzsf>!bssoj`bwjlm,!#pwzof>!ab`hdqlvmg.kwno8#`kbqpfw>vwe.;!#booltwqbmpsbqfm`z>!pwzofpkffw!#wzsf>!wf\u000E\t?nfwb#kwws.frvju>!=?,psbm=?psbm#`obpp>!3!#`foopsb`jmd>!3!=8\t?,p`qjsw=\t?p`qjsw#plnfwjnfp#`boofg#wkfglfp#mlw#mf`fppbqjozElq#nlqf#jmelqnbwjlmbw#wkf#afdjmmjmd#le#?\"GL@WZSF#kwno=?kwnosbqwj`vobqoz#jm#wkf#wzsf>!kjggfm!#mbnf>!ibubp`qjsw9uljg+3*8!feef`wjufmfpp#le#wkf#bvwl`lnsofwf>!lee!#dfmfqbooz#`lmpjgfqfg=?jmsvw#wzsf>!wf{w!#!=?,p`qjsw=\u000E\t?p`qjswwkqlvdklvw#wkf#tlqog`lnnlm#njp`lm`fswjlmbppl`jbwjlm#tjwk#wkf?,gju=\t?,gju=\t?gju#`gvqjmd#kjp#ojefwjnf/`lqqfpslmgjmd#wl#wkfwzsf>!jnbdf,{.j`lm!#bm#jm`qfbpjmd#mvnafqgjsolnbwj`#qfobwjlmpbqf#lewfm#`lmpjgfqfgnfwb#`kbqpfw>!vwe.;!#?jmsvw#wzsf>!wf{w!#f{bnsofp#jm`ovgf#wkf!=?jnd#pq`>!kwws9,,jsbqwj`jsbwjlm#jm#wkfwkf#fpwbaojpknfmw#le\t?,gju=\t?gju#`obpp>!%bns8maps8%bns8maps8wl#gfwfqnjmf#tkfwkfqrvjwf#gjeefqfmw#eqlnnbqhfg#wkf#afdjmmjmdgjpwbm`f#afwtffm#wkf`lmwqjavwjlmp#wl#wkf`lmeoj`w#afwtffm#wkftjgfoz#`lmpjgfqfg#wltbp#lmf#le#wkf#ejqpwtjwk#ubqzjmd#gfdqffpkbuf#psf`vobwfg#wkbw+gl`vnfmw-dfwFofnfmwsbqwj`jsbwjmd#jm#wkflqjdjmbooz#gfufolsfgfwb#`kbqpfw>!vwe.;!=#wzsf>!wf{w,`pp!#,=\tjmwfq`kbmdfbaoz#tjwknlqf#`olpfoz#qfobwfgpl`jbo#bmg#slojwj`bowkbw#tlvog#lwkfqtjpfsfqsfmgj`vobq#wl#wkfpwzof#wzsf>!wf{w,`ppwzsf>!pvanjw!#mbnf>!ebnjojfp#qfpjgjmd#jmgfufolsjmd#`lvmwqjfp`lnsvwfq#sqldqbnnjmdf`lmlnj`#gfufolsnfmwgfwfqnjmbwjlm#le#wkfelq#nlqf#jmelqnbwjlmlm#pfufqbo#l``bpjlmpslqwvdv/Fp#+Fvqlsfv*<O<V=l<\\\\={<Q=m=`<V<\\\\=o<V=l<\\\\={<Q=m=`<V<\\\\<L<R=m=m<T<U=m<V<R<U<P<\\\\=n<Y=l<T<\\\\<W<R<^<T<Q=h<R=l<P<\\\\=j<T<T=o<S=l<\\\\<^<W<Y<Q<T=c<Q<Y<R<]=i<R<X<T<P<R<T<Q=h<R=l<P<\\\\=j<T=c<t<Q=h<R=l<P<\\\\=j<T=c<L<Y=m<S=o<]<W<T<V<T<V<R<W<T=k<Y=m=n<^<R<T<Q=h<R=l<P<\\\\=j<T=b=n<Y=l=l<T=n<R=l<T<T<X<R=m=n<\\\\=n<R=k<Q<R4K5h5i4F5d4K4@4C5d5j4K5h4K4X4F4]4K5o4K4F4K5h4K5n4F4]4K4A4K4Fkwno8#`kbqpfw>VWE.;!#pfwWjnflvw+evm`wjlm+*gjpsobz9jmojmf.aol`h8?jmsvw#wzsf>!pvanjw!#wzsf#>#$wf{w,ibubp`qj?jnd#pq`>!kwws9,,ttt-!#!kwws9,,ttt-t0-lqd,pklqw`vw#j`lm!#kqfe>!!#bvwl`lnsofwf>!lee!#?,b=?,gju=?gju#`obpp>?,b=?,oj=\t?oj#`obpp>!`pp!#wzsf>!wf{w,`pp!#?elqn#b`wjlm>!kwws9,,{w,`pp!#kqfe>!kwws9,,ojmh#qfo>!bowfqmbwf!#\u000E\t?p`qjsw#wzsf>!wf{w,#lm`oj`h>!ibubp`qjsw9+mft#Gbwf*-dfwWjnf+*~kfjdkw>!2!#tjgwk>!2!#Sflsof$p#Qfsvaoj`#le##?b#kqfe>!kwws9,,ttt-wf{w.gf`lqbwjlm9vmgfqwkf#afdjmmjmd#le#wkf#?,gju=\t?,gju=\t?,gju=\tfpwbaojpknfmw#le#wkf#?,gju=?,gju=?,gju=?,g ujftslqwxnjm.kfjdkw9\t?p`qjsw#pq`>!kwws9,,lswjlm=?lswjlm#ubovf>lewfm#qfefqqfg#wl#bp#,lswjlm=\t?lswjlm#ubov?\"GL@WZSF#kwno=\t?\"..XJmwfqmbwjlmbo#Bjqslqw=\t?b#kqfe>!kwws9,,ttt?,b=?b#kqfe>!kwws9,,t\\fTL\\fT^\\fTE\\fT^\\fUh\\fT{\\fTN\\roI\\ro|\\roL\\ro{\\roO\\rov\\rot\\nAO\u0005Gx\\bTA\\nzk#+\\vUm\u0005Gx*\\fHD\\fHS\\fH\\\\\\fIa\\fHJ\\fIk\\fHZ\\fHM\\fHR\\fHe\\fHD\\fH^\\fIg\\fHM\\fHy\\fIa\\fH[\\fIk\\fHH\\fIa\\fH\\\\\\fHp\\fHR\\fHD\\fHy\\fHR\\fH\\\\\\fIl\\fHT\\fHn\\fH@\\fHn\\fHK\\fHS\\fHH\\fHT\\fIa\\fHI\\fHR\\fHF\\fHD\\fHR\\fHT\\fIa\\fHY\\fIl\\fHy\\fHR\\fH\\\\\\fHT\\fHn\\fHT\\fIa\\fHy\\fH\\\\\\fHO\\fHT\\fHR\\fHB\\fH{\\fIa\\fH\\\\\\fIl\\fHv\\fHS\\fHs\\fIa\\fHL\\fIg\\fHn\\fHY\\fHS\\fHp\\fIa\\fHr\\fHR\\fHD\\fHi\\fHB\\fIk\\fH\\\\\\fHS\\fHy\\fHR\\fHY\\fHS\\fHA\\fHS\\fHD\\fIa\\fHD\\fH{\\fHR\\fHM\\fHS\\fHC\\fHR\\fHm\\fHy\\fIa\\fHC\\fIg\\fHn\\fHy\\fHS\\fHT\\fIm\\fH\\\\\\fHy\\fIa\\fH[\\fHR\\fHF\\fHU\\fIm\\fHm\\fHv\\fHH\\fIl\\fHF\\fIa\\fH\\\\\\fH@\\fHn\\fHK\\fHD\\fHs\\fHS\\fHF\\fIa\\fHF\\fHO\\fIl\\fHy\\fIa\\fH\\\\\\fHS\\fHy\\fIk\\fHs\\fHF\\fIa\\fH\\\\\\fHR\\fH\\\\\\fHn\\fHA\\fHF\\fIa\\fH\\\\\\fHR\\fHF\\fIa\\fHH\\fHB\\fHR\\fH^\\fHS\\fHy\\fIg\\fHn\\fH\\\\\\fHG\\fHP\\fIa\\fHH\\fHR\\fH\\\\\\fHD\\fHS\\fH\\\\\\fIa\\fHB\\fHR\\fHO\\fH^\\fHS\\fHB\\fHS\\fHs\\fIk\\fHMgfp`qjswjlm!#`lmwfmw>!gl`vnfmw-ol`bwjlm-sqlw-dfwFofnfmwpAzWbdMbnf+?\"GL@WZSF#kwno=\t?kwno#?nfwb#`kbqpfw>!vwe.;!=9vqo!#`lmwfmw>!kwws9,,-`pp!#qfo>!pwzofpkffw!pwzof#wzsf>!wf{w,`pp!=wzsf>!wf{w,`pp!#kqfe>!t0-lqd,2:::,{kwno!#{nowzsf>!wf{w,ibubp`qjsw!#nfwklg>!dfw!#b`wjlm>!ojmh#qfo>!pwzofpkffw!##>#gl`vnfmw-dfwFofnfmwwzsf>!jnbdf,{.j`lm!#,=`foosbggjmd>!3!#`foops-`pp!#wzsf>!wf{w,`pp!#?,b=?,oj=?oj=?b#kqfe>!!#tjgwk>!2!#kfjdkw>!2!!=?b#kqfe>!kwws9,,ttt-pwzof>!gjpsobz9mlmf8!=bowfqmbwf!#wzsf>!bssoj.,,T0@,,GWG#[KWNO#2-3#foopsb`jmd>!3!#`foosbg#wzsf>!kjggfm!#ubovf>!,b=%maps8?psbm#qlof>!p\t?jmsvw#wzsf>!kjggfm!#obmdvbdf>!IbubP`qjsw!##gl`vnfmw-dfwFofnfmwpAd>!3!#`foopsb`jmd>!3!#zsf>!wf{w,`pp!#nfgjb>!wzsf>$wf{w,ibubp`qjsw$tjwk#wkf#f{`fswjlm#le#zsf>!wf{w,`pp!#qfo>!pw#kfjdkw>!2!#tjgwk>!2!#>$(fm`lgfVQJ@lnslmfmw+?ojmh#qfo>!bowfqmbwf!#\talgz/#wq/#jmsvw/#wf{wnfwb#mbnf>!qlalwp!#`lmnfwklg>!slpw!#b`wjlm>!=\t?b#kqfe>!kwws9,,ttt-`pp!#qfo>!pwzofpkffw!#?,gju=?,gju=?gju#`obppobmdvbdf>!ibubp`qjsw!=bqjb.kjggfm>!wqvf!=.[?qjsw!#wzsf>!wf{w,ibubpo>38~*+*8\t+evm`wjlm+*xab`hdqlvmg.jnbdf9#vqo+,b=?,oj=?oj=?b#kqfe>!k\\n\\n?oj=?b#kqfe>!kwws9,,bwlq!#bqjb.kjggfm>!wqv=#?b#kqfe>!kwws9,,ttt-obmdvbdf>!ibubp`qjsw!#,lswjlm=\t?lswjlm#ubovf,gju=?,gju=?gju#`obpp>qbwlq!#bqjb.kjggfm>!wqf>+mft#Gbwf*-dfwWjnf+*slqwvdv/Fp#+gl#Aqbpjo*<R=l<_<\\\\<Q<T<[<\\\\=j<T<T<^<R<[<P<R<Z<Q<R=m=n=`<R<]=l<\\\\<[<R<^<\\\\<Q<T=c=l<Y<_<T=m=n=l<\\\\=j<T<T<^<R<[<P<R<Z<Q<R=m=n<T<R<]=c<[<\\\\=n<Y<W=`<Q<\\\\?\"GL@WZSF#kwno#SVAOJ@#!mw.Wzsf!#`lmwfmw>!wf{w,?nfwb#kwws.frvju>!@lmwfqbmpjwjlmbo,,FM!#!kwws9?kwno#{nomp>!kwws9,,ttt.,,T0@,,GWG#[KWNO#2-3#WGWG,{kwno2.wqbmpjwjlmbo,,ttt-t0-lqd,WQ,{kwno2,sf#>#$wf{w,ibubp`qjsw$8?nfwb#mbnf>!gfp`qjswjlmsbqfmwMlgf-jmpfqwAfelqf?jmsvw#wzsf>!kjggfm!#mbip!#wzsf>!wf{w,ibubp`qj+gl`vnfmw*-qfbgz+evm`wjp`qjsw#wzsf>!wf{w,ibubpjnbdf!#`lmwfmw>!kwws9,,VB.@lnsbwjaof!#`lmwfmw>wno8#`kbqpfw>vwe.;!#,=\tojmh#qfo>!pklqw`vw#j`lm?ojmh#qfo>!pwzofpkffw!#?,p`qjsw=\t?p`qjsw#wzsf>>#gl`vnfmw-`qfbwfFofnfm?b#wbqdfw>!\\\\aobmh!#kqfe>#gl`vnfmw-dfwFofnfmwpAjmsvw#wzsf>!wf{w!#mbnf>b-wzsf#>#$wf{w,ibubp`qjmsvw#wzsf>!kjggfm!#mbnfkwno8#`kbqpfw>vwe.;!#,=gwg!=\t?kwno#{nomp>!kwws.,,T0@,,GWG#KWNO#7-32#WfmwpAzWbdMbnf+$p`qjsw$*jmsvw#wzsf>!kjggfm!#mbn?p`qjsw#wzsf>!wf{w,ibubp!#pwzof>!gjpsobz9mlmf8!=gl`vnfmw-dfwFofnfmwAzJg+>gl`vnfmw-`qfbwfFofnfmw+$#wzsf>$wf{w,ibubp`qjsw$jmsvw#wzsf>!wf{w!#mbnf>!g-dfwFofnfmwpAzWbdMbnf+pmj`bo!#kqfe>!kwws9,,ttt-@,,GWG#KWNO#7-32#Wqbmpjw?pwzof#wzsf>!wf{w,`pp!=\t\t?pwzof#wzsf>!wf{w,`pp!=jlmbo-gwg!=\t?kwno#{nomp>kwws.frvju>!@lmwfmw.Wzsfgjmd>!3!#`foopsb`jmd>!3!kwno8#`kbqpfw>vwe.;!#,=\t#pwzof>!gjpsobz9mlmf8!=??oj=?b#kqfe>!kwws9,,ttt-#wzsf>$wf{w,ibubp`qjsw$=<X<Y=c=n<Y<W=`<Q<R=m=n<T=m<R<R=n<^<Y=n=m=n<^<T<T<S=l<R<T<[<^<R<X=m=n<^<\\\\<]<Y<[<R<S<\\\\=m<Q<R=m=n<T\\fHF\\fIm\\fHT\\fIa\\fHH\\fHS\\fHy\\fHR\\fHy\\fHR\\fHn\\fH{\\fIa\\fH\\\\\\fIk\\fHT\\fHe\\fHD\\fIa\\fHU\\fIg\\fHn\\fHD\\fIk\\fHY\\fHS\\fHK\\fHR\\fHD\\fHT\\fHA\\fHR\\fHG\\fHS\\fHy\\fIa\\fHT\\fHS\\fHn\\fH{\\fHT\\fIm\\fH\\\\\\fHy\\fIa\\fH[\\fHS\\fHH\\fHy\\fIe\\fHF\\fIl\\fH\\\\\\fHR\\fHk\\fHs\\fHY\\fHS\\fHp\\fIa\\fHr\\fHR\\fHF\\fHD\\fHy\\fHR\\fH\\\\\\fIa\\fH\\\\\\fHY\\fHR\\fHd\\fHT\\fHy\\fIa\\fH\\\\\\fHS\\fHC\\fHH\\fHR',\"\\u06F7%\\u018C'T%\\x85'W%\\xD7%O%g%\\xA6&\\u0193%\\u01E5&>&*&'&^&\\x88\\u0178\\u0C3E&\\u01AD&\\u0192&)&^&%&'&\\x82&P&1&\\xB1&3&]&m&u&E&t&C&\\xCF&V&V&/&>&6&\\u0F76\\u177Co&p&@&E&M&P&x&@&F&e&\\xCC&7&:&(&D&0&C&)&.&F&-&1&(&L&F&1\\u025E*\\u03EA\\u21F3&\\u1372&K&;&)&E&H&P&0&?&9&V&\\x81&-&v&a&,&E&)&?&=&'&'&B&\\u0D2E&\\u0503&\\u0316*&*8&%&%&&&%,)&\\x9A&>&\\x86&7&]&F&2&>&J&6&n&2&%&?&\\x8E&2&6&J&g&-&0&,&*&J&*&O&)&6&(&<&B&N&.&P&@&2&.&W&M&%\\u053C\\x84(,(<&,&\\u03DA&\\u18C7&-&,(%&(&%&(\\u013B0&X&D&\\x81&j&'&J&(&.&B&3&Z&R&h&3&E&E&<\\xC6-\\u0360\\u1EF3&%8?&@&,&Z&@&0&J&,&^&x&_&6&C&6&C\\u072C\\u2A25&f&-&-&-&-&,&J&2&8&z&8&C&Y&8&-&d&\\u1E78\\xCC-&7&1&F&7&t&W&7&I&.&.&^&=\\u0F9C\\u19D3&8(>&/&/&\\u077B')'\\u1065')'%@/&0&%\\u043E\\u09C0*&*@&C\\u053D\\u05D4\\u0274\\u05EB4\\u0DD7\\u071A\\u04D16\\u0D84&/\\u0178\\u0303Z&*%\\u0246\\u03FF&\\u0134&1\\xA8\\u04B4\\u0174\",Wt,\"AAAAKKLLKKKKKJJIHHIHHGGFF\"),wn(xn,Wt);function qi(y){this.data=new Int8Array(0),this.offset=0,this.data=y}function yv(y,L,W,Q){if(y.input===null)return-1;let Y=y.input,xe=Math.min(Y.offset+Q,Y.data.length),Te=xe-Y.offset;return L.set(Y.data.subarray(Y.offset,xe),W),Y.offset+=Te,Te}function Q4(y){y.input=new qi(new Int8Array(0))}function Z4(y){let L=y.length,W=new Int8Array(L);for(let Q=0;Q<L;++Q)W[Q]=y.charCodeAt(Q);return W}function kv(y){let L=y.length,W=new Int32Array(L);for(let Q=0;Q<L;++Q)W[Q]=y.charCodeAt(Q);return W}function It(y,L){if(L>=0)return L;throw y.runningState>=0&&(y.runningState=L),new Error(\"Brotli error code: \"+L)}let WC;function e6(y,L){let W=new Ne;if(W.input=new qi(y),g(W),L){let Me=L.customDictionary;Me&&m(W,Me)}let Q=0,Y=[];for(;;){let Me=new Int8Array(16384);if(Y.push(Me),W.output=Me,W.outputOffset=0,W.outputLength=16384,W.outputUsed=0,le(W),Q+=W.outputUsed,W.outputUsed<16384)break}b(W),Q4(W);let xe=new Int8Array(Q),Te=0;for(let Me=0;Me<Y.length;++Me){let Ze=Y[Me],et=Math.min(Q,Te+16384)-Te;et<16384?xe.set(Ze.subarray(0,et),Te):xe.set(Ze,Te),Te+=et}return xe}return e6},NS=DS(),c1=class extends Wn{#e=!0;constructor(e,t){super(t),this.stream=e,this.dict=e.dict}readBlock(){let e=this.stream.getBytes(),t=NS(new Int8Array(e.buffer,e.byteOffset,e.length));this.buffer=new Uint8Array(t.buffer,t.byteOffset,t.length),this.bufferLength=this.buffer.length,this.eof=!0}async getImageData(e,t){let s=await this.asyncGetBytes();return s?s.length<=e?s:s.subarray(0,e):this.getBytes(e)}async asyncGetBytes(){let{decompressed:e,compressed:t}=await this.asyncGetBytesFromDecompressionStream(\"brotli\");return e||(this.#e=!1,this.stream=new Ft(t,0,t.length,this.stream.dict),this.reset(),null)}get isAsync(){return this.#e}};async function HS(n={}){var e=n,t=!0,s=!1,i=[],r=\"./this.program\",a=(we,Ne)=>{throw Ne},o=$4.url,l=\"\",c,f;if(t||s){try{l=new URL(\".\",o).href}catch{}c=async we=>{var Ne=await fetch(we,{credentials:\"same-origin\"});if(Ne.ok)return Ne.arrayBuffer();throw new Error(Ne.status+\" : \"+Ne.url)}}var h=console.log.bind(console),u=console.error.bind(console),d,p=!1,m;class g{}class b extends g{}var x=!1;function w(){return Ge.buffer}function v(){if(!T?.buffer?.resizable){var we=w();T=new Int8Array(we),De=new Uint8Array(we)}}function k(){var we=e.preRun;we&&(typeof we==\"function\"&&(we=[we]),G.push(...we)),M(G)}function j(){x=!0,Ue.j()}function A(){var we=e.postRun;we&&(typeof we==\"function\"&&(we=[we]),E.push(...we)),M(E)}function S(we){e.onAbort?.(we),we=`Aborted(${we})`,u(we),p=!0,we+=\". Build with -sASSERTIONS for more info.\";var Ne=new WebAssembly.RuntimeError(we);throw Ne}var q;function _(){var we={a:ke};return we}async function I(){function we(it){return Ue=it.exports,Ve(Ue),v(),Ue}var Ne=_(),gt=e.instantiateWasm;return new Promise(it=>{gt(Ne,Nt=>it(we(Nt)))})}class C{name=\"ExitStatus\";constructor(Ne){this.message=`Program terminated with exit(${Ne})`,this.status=Ne}}var T,M=we=>{for(;we.length>0;)we.shift()(e)},E=[],G=[],D=!0,N=()=>S(\"\"),K=0,ee=()=>{D=!1,K=0},de={},X=we=>{if(we instanceof C||we==\"unwind\")return m;a(1,we)},ue=()=>D||K>0,re=we=>{m=we,ue()||(e.onExit?.(we),p=!0),a(we,new C(we))},H=(we,Ne)=>{m=we,re(we)},O=H,z=()=>{if(!ue())try{O(m)}catch(we){X(we)}},V=we=>{if(!p)try{return we()}catch(Ne){X(Ne)}finally{z()}},$=()=>performance.now(),te=(we,Ne)=>{if(de[we]&&(clearTimeout(de[we].id),delete de[we]),!Ne)return 0;var gt=setTimeout(()=>{delete de[we],V(()=>ye(we,$()))},Ne);return de[we]={id:gt,timeout_ms:Ne},0};function ie(we){e.imageData=new Uint8Array(we)}var le=()=>2147483648,Ae=(we,Ne)=>Math.ceil(we/Ne)*Ne,Oe=we=>{var Ne=Ge.buffer.byteLength,gt=(we-Ne+65535)/65536|0;try{return Ge.grow(gt),v(),1}catch{}},De,Ye=we=>{var Ne=De.length;we>>>=0;var gt=le();if(we>gt)return!1;for(var it=1;it<=4;it*=2){var Nt=Ne*(1+.2/it);Nt=Math.min(Nt,we+100663296);var wn=Math.min(gt,Ae(Math.max(we,Nt),65536)),en=Oe(wn);if(en)return!0}return!1};function lt(we,Ne,gt,it){if(gt===Ne){e.imageData=new Uint8ClampedArray(De.subarray(we,we+gt*it));return}let Nt=Ne*it,wn=e.imageData=new Uint8ClampedArray(Nt);for(let en=we,xn=0;xn<Nt;en+=gt,xn+=Ne)wn.set(De.subarray(en,en+Ne),xn)}function Le(we,Ne,gt){e.imageData.set(De.subarray(we,we+Ne),gt)}var Se=(we,Ne)=>{T.set(we,Ne)};e.noExitRuntime&&(D=e.noExitRuntime),e.print&&(h=e.print),e.printErr&&(u=e.printErr),e.arguments&&(i=e.arguments),e.thisProgram&&(r=e.thisProgram);var he=e.preInit;if(he)for(typeof he==\"function\"&&(e.preInit=he=[he]);he.length>0;)he.shift()();e.writeArrayToMemory=Se;var ae,me,ge,qe,ye,Re,Fe,Ge;function Ve(we){ae=e._malloc=we.k,me=e._free=we.l,ge=e._jbig2_decode=we.m,qe=e._ccitt_decode=we.n,ye=we.o,Re=Ge=we.i,Fe=we.__indirect_function_table}var ke={e:N,d:ee,a:te,g:ie,b:Ye,c:re,h:lt,f:Le};async function Ce(){k();var we=e.setStatus;we&&(we(\"Running...\"),await new Promise(Ne=>setTimeout(Ne,1)),setTimeout(we,1,\"\")),!p&&(j(),e.onRuntimeInitialized?.(),A())}var Ue;return Ue=await I(),await Ce(),e}var LS=HS,Fo=class n{static#e=null;static#n=new Set;static#t=!0;static#s=!0;static#i=null;#r=null;#a=null;_filename=null;_noWasmFilename=null;static setOptions({getHandler:e,useWasm:t,useWorkerFetch:s,wasmUrl:i}){n.#t=t,n.#s=s,n.#i=i,s||(n.#e=e)}static get instance(){dt(\"Abstract getter `instance` accessed\")}static cleanup(){for(let e of n.#n)e.#a=null}constructor(e=!1){e&&n.#n.add(this)}async#o(e){let{default:t}=await import(`${n.#i}${this._noWasmFilename}`);return{exports:t(e)}}async#l(e){return this.#r||(n.#s?this.#r=await Lm(`${n.#i}${this._filename}`):this.#r=await n.#e().sendWithPromise(\"FetchBinaryData\",{kind:\"wasmUrl\",filename:this._filename})),(await WebAssembly.instantiate(this.#r,e)).instance}async#c(e,t,s){if(n.#t)try{return s(await this.#l(t))}catch(i){B(`#getWasmInstance: ${i}`)}try{return s(await this.#o(t))}catch(i){B(`#getJsInstance: ${i}`)}return e(null),null}_getModule(e){if(!this.#a){let{promise:t,resolve:s}=Promise.withResolvers();this.#a=Promise.race([t,e({warn:B,instantiateWasm:this.#c.bind(this,s)})])}return this.#a}async decode(e,t){dt(\"Abstract method `decode` called\")}},ih=class extends xs{constructor(e){super(e,\"Jbig2Error\")}},rh=class n extends Fo{_filename=\"jbig2.wasm\";_noWasmFilename=\"jbig2_nowasm_fallback.js\";static get instance(){return je(this,\"instance\",new n(!0))}async decode(e,t,s,i,r){let a=await this._getModule(LS);if(!a)throw new ih(\"JBig2 failed to initialize\");let o,l;try{let c=e.length;if(o=a._malloc(c),a.writeArrayToMemory(e,o),r)a._ccitt_decode(o,c,t,s,r.K,r.EndOfLine?1:0,r.EncodedByteAlign?1:0,r.BlackIs1?1:0,r.Columns,r.Rows);else{let h=i?i.length:0;h>0&&(l=a._malloc(h),a.writeArrayToMemory(i,l)),a._jbig2_decode(o,c,t,s,l,h)}if(!a.imageData)throw new ih(\"Unknown error\");let{imageData:f}=a;return a.imageData=null,f}finally{o&&a._free(o),l&&a._free(l)}}},f1=class extends Wn{constructor(e,t,s){super(t),this.stream=e,this.maybeLength=t,this.dict=e.dict,s instanceof P||(s=P.empty),this.params={K:s.get(\"K\")||0,EndOfLine:!!s.get(\"EndOfLine\"),EncodedByteAlign:!!s.get(\"EncodedByteAlign\"),Columns:s.get(\"Columns\")||1728,Rows:s.get(\"Rows\")||0,EndOfBlock:!!(s.get(\"EndOfBlock\")??!0),BlackIs1:!!s.get(\"BlackIs1\")}}get bytes(){return je(this,\"bytes\",this.stream.getBytes(this.maybeLength))}get isImageStream(){return!0}get isAsyncDecoder(){return!0}async decodeImage(e,t,s){return this.eof?this.buffer:(e??=this.stream.isAsync?await this.stream.asyncGetBytes()||this.bytes:this.bytes,this.buffer=await rh.instance.decode(e,this.dict.get(\"W\",\"Width\"),this.dict.get(\"H\",\"Height\"),null,this.params),this.bufferLength=this.buffer.length,this.eof=!0,this.buffer)}},ly=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),zS=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]),US=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]),GS=[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],WS=[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],ah=class n extends Wn{static#e=1024;static#n=16384;#t=!0;#s=!1;constructor(e,t){super(t),this.stream=e,this.dict=e.dict,e instanceof Ft&&e.length<n.#e&&(Qt(!e.isAsync,\"Stream sub-classes are never asynchronous\"),this.#s=!0);let s=e.getByte(),i=e.getByte();if(s===-1||i===-1)throw new se(`Invalid header in flate stream: ${s}, ${i}`);if((s&15)!==8)throw new se(`Unknown compression method in flate stream: ${s}, ${i}`);if(((s<<8)+i)%31!==0)throw new se(`Bad FCHECK in flate stream: ${s}, ${i}`);if(i&32)throw new se(`FDICT bit set in flate stream: ${s}, ${i}`);this.codeSize=0,this.codeBuf=0}async getImageData(e,t){let s=await this.asyncGetBytes(e);return s?s.length<=e?s:s.subarray(0,e):this.getBytes(e)}async asyncGetBytes(e=0){if(!this.#t)return null;if(this.#s&&(e<=n.#n||this.bufferLength>0||this.eof))return this.reset(),this.getBytes(e);this.#s=!1;let{decompressed:t,compressed:s}=await this.asyncGetBytesFromDecompressionStream(\"deflate\");return t||(this.#t=!1,this.stream=new Ft(s,2,s.length-2,this.stream.dict),this.bufferLength=0,this.eof=!1,this.codeBuf=0,this.codeSize=0,this.reset(),null)}get isAsync(){return this.#t}getBits(e){let t=this.stream,s=this.codeSize,i=this.codeBuf,r;for(;s<e;){if((r=t.getByte())===-1)throw new se(\"Bad encoding in flate stream\");i|=r<<s,s+=8}return r=i&(1<<e)-1,this.codeBuf=i>>e,this.codeSize=s-=e,r}getCode(e){let t=this.stream,s=e[0],i=e[1],r=this.codeSize,a=this.codeBuf,o;for(;r<i&&(o=t.getByte())!==-1;)a|=o<<r,r+=8;let l=s[a&(1<<i)-1],c=l>>16,f=l&65535;if(c<1||r<c)throw new se(\"Bad encoding in flate stream\");return this.codeBuf=a>>c,this.codeSize=r-c,f}generateHuffmanTable(e){let t=e.length,s=0,i;for(i=0;i<t;++i)e[i]>s&&(s=e[i]);let r=1<<s,a=new Int32Array(r);for(let o=1,l=0,c=2;o<=s;++o,l<<=1,c<<=1)for(let f=0;f<t;++f)if(e[f]===o){let h=0,u=l;for(i=0;i<o;++i)h=h<<1|u&1,u>>=1;let d=o<<16|f;for(i=h;i<r;i+=c)a[i]=d;++l}return[a,s]}readBlock(){try{this.#i()}catch(e){if(!(e instanceof se))throw e;kt(e.message),this.eof=!0}}#i(){let e,t,s=this.stream,i=this.getBits(3);if(i&1&&(this.eof=!0),i>>=1,i===0){let c=s.getBytes(4);if(c.length<4)throw new se(\"Bad block header in flate stream\");let f=c[0]|c[1]<<8,h=c[2]|c[3]<<8;if(h!==(~f&65535)&&(f!==0||h!==0))throw new se(\"Bad uncompressed block length in flate stream\");if(this.codeBuf=0,this.codeSize=0,f===0)s.peekByte()===-1&&(this.eof=!0);else{let u=s.getBytes(f),d=this.bufferLength,p=d+u.length;e=this.ensureBuffer(p),e.set(u,d),this.bufferLength=p,u.length<f&&(this.eof=!0)}return}let r,a;if(i===1)r=GS,a=WS;else if(i===2){let c=this.getBits(5)+257,f=this.getBits(5)+1,h=this.getBits(4)+4,u=new Uint8Array(ly.length),d;for(d=0;d<h;++d)u[ly[d]]=this.getBits(3);let p=this.generateHuffmanTable(u);t=0,d=0;let m=c+f,g=new Uint8Array(m),b,x,w;for(;d<m;){let v=this.getCode(p);if(v===16)b=2,x=3,w=t;else if(v===17)b=3,x=3,w=t=0;else if(v===18)b=7,x=11,w=t=0;else{g[d++]=t=v;continue}let k=this.getBits(b)+x;k>0&&(g.fill(w,d,d+k),d+=k)}r=this.generateHuffmanTable(g.subarray(0,c)),a=this.generateHuffmanTable(g.subarray(c,m))}else throw new se(\"Unknown block type in flate stream\");e=this.buffer;let o=e?e.length:0,l=this.bufferLength;try{for(;;){let c=this.getCode(r);if(c<256){l+1>=o&&(e=this.ensureBuffer(l+1),o=e.length),e[l++]=c;continue}if(c===256){this.bufferLength=l;return}c-=257,c=zS[c];let f=c>>16;f>0&&(f=this.getBits(f)),t=(c&65535)+f,c=this.getCode(a),c=US[c],f=c>>16,f>0&&(f=this.getBits(f));let h=(c&65535)+f;if(l+t>=o&&(e=this.ensureBuffer(l+t),o=e.length),t<=h){let u=l-h;e.copyWithin(l,u,u+t),l+=t}else for(let u=0;u<t;++u,++l)e[l]=e[l-h]}}catch(c){throw this.bufferLength=l,c}}},h1=class n extends Wn{constructor(e,t,s){super(t),this.stream=e,this.dict=e.dict,this.maybeLength=t,this.params=s}get bytes(){return je(this,\"bytes\",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}get isAsyncDecoder(){return!0}get isImageStream(){return!0}static stripFileHeader(e){if(e.length>=9&&e[0]===151&&e[1]===74&&e[2]===66&&e[3]===50&&e[4]===13&&e[5]===10&&e[6]===26&&e[7]===10){let t=(e[8]&2)===0?13:9;return e.subarray(t)}return e}async decodeImage(e,t,s){if(this.eof)return this.buffer;e=n.stripFileHeader(e||this.bytes);let i=null;if(this.params instanceof P){let r=this.params.get(\"JBIG2Globals\");r instanceof Xe&&(i=n.stripFileHeader(r.getBytes()))}return this.buffer=await rh.instance.decode(e,this.dict.get(\"Width\"),this.dict.get(\"Height\"),i),this.bufferLength=this.buffer.length,this.eof=!0,this.buffer}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}};async function $S(n={}){var e=n,t=!0,s=!1,i=[],r=\"./this.program\",a=$4.url,o=\"\",l,c;if(t||s){try{o=new URL(\".\",a).href}catch{}l=async ke=>{var Ce=await fetch(ke,{credentials:\"same-origin\"});if(Ce.ok)return Ce.arrayBuffer();throw new Error(Ce.status+\" : \"+Ce.url)}}var f=console.log.bind(console),h=console.error.bind(console),u,d=!1;class p{}class m extends p{}var g=!1;function b(){return ye.buffer}function x(){if(!_?.buffer?.resizable){var ke=b();_=new Int8Array(ke),ee=new Uint8Array(ke),E=new Int32Array(ke),le=new Uint32Array(ke)}}function w(){var ke=e.preRun;ke&&(typeof ke==\"function\"&&(ke=[ke]),T.push(...ke)),I(T)}function v(){g=!0,Ve.j()}function k(){var ke=e.postRun;ke&&(typeof ke==\"function\"&&(ke=[ke]),C.push(...ke)),I(C)}var j;function A(){var ke={a:Fe};return ke}async function S(){function ke(we){return Ve=we.exports,Re(Ve),x(),Ve}var Ce=A(),Ue=e.instantiateWasm;return new Promise(we=>{Ue(Ce,Ne=>we(ke(Ne)))})}class q{name=\"ExitStatus\";constructor(Ce){this.message=`Program terminated with exit(${Ce})`,this.status=Ce}}var _,I=ke=>{for(;ke.length>0;)ke.shift()(e)},C=[],T=[],M=!0,E;function G(ke,Ce,Ue,we){ke>>=2;let Ne=e.imageData,gt=E.subarray(ke,ke+we);for(let it=0,Nt=Ce;it<we;it++,Nt+=Ue)Ne[Nt]=gt[it]}var D=()=>2147483648,N=(ke,Ce)=>Math.ceil(ke/Ce)*Ce,K=ke=>{var Ce=ye.buffer.byteLength,Ue=(ke-Ce+65535)/65536|0;try{return ye.grow(Ue),x(),1}catch{}},ee,de=ke=>{var Ce=ee.length;ke>>>=0;var Ue=D();if(ke>Ue)return!1;for(var we=1;we<=4;we*=2){var Ne=Ce*(1+.2/we);Ne=Math.min(Ne,ke+100663296);var gt=Math.min(Ue,N(Math.max(ke,Ne),65536)),it=K(gt);if(it)return!0}return!1},X=9007199254740992,ue=-9007199254740992,re=ke=>ke<ue||ke>X?NaN:Number(ke);function H(ke,Ce,Ue,we){return Ce=re(Ce),70}var O=[null,[],[]],z=globalThis.TextDecoder&&new TextDecoder,V=(ke,Ce,Ue,we)=>{var Ne=Ce+Ue;if(we)return Ne;for(;ke[Ce]&&!(Ce>=Ne);)++Ce;return Ce},$=(ke,Ce=0,Ue,we)=>{var Ne=V(ke,Ce,Ue,we);if(Ne-Ce>16&&ke.buffer&&z)return z.decode(ke.subarray(Ce,Ne));for(var gt=\"\";Ce<Ne;){var it=ke[Ce++];if(!(it&128)){gt+=String.fromCharCode(it);continue}var Nt=ke[Ce++]&63;if((it&224)==192){gt+=String.fromCharCode((it&31)<<6|Nt);continue}var wn=ke[Ce++]&63;if((it&240)==224?it=(it&15)<<12|Nt<<6|wn:it=(it&7)<<18|Nt<<12|wn<<6|ke[Ce++]&63,it<65536)gt+=String.fromCharCode(it);else{var en=it-65536;gt+=String.fromCharCode(55296|en>>10,56320|en&1023)}}return gt},te=(ke,Ce)=>{var Ue=O[ke];!Ce||Ce===10?((ke===1?f:h)($(Ue)),Ue.length=0):Ue.push(Ce)},ie=(ke,Ce,Ue)=>ke?$(ee,ke,Ce,Ue):\"\",le,Ae=(ke,Ce,Ue,we)=>{for(var Ne=0,gt=0;gt<Ue;gt++){var it=le[Ce>>2],Nt=le[Ce+4>>2];Ce+=8;for(var wn=0;wn<Nt;wn++)te(ke,ee[it+wn]);Ne+=Nt}return le[we>>2]=Ne,0};function Oe(ke){e.imageData=new Uint8ClampedArray(ke)}function De(ke){let Ce=ie(ke);(e.warn||console.warn)(`OpenJPEG: ${Ce}`)}function Ye(ke,Ce){e.imageData=new Uint8ClampedArray(ee.slice(ke,ke+Ce).buffer)}function lt(ke){let Ce=ie(ke);e.errorMessages?e.errorMessages+=`\n`+Ce:e.errorMessages=Ce}var Le=(ke,Ce)=>{_.set(ke,Ce)};e.noExitRuntime&&(M=e.noExitRuntime),e.print&&(f=e.print),e.printErr&&(h=e.printErr),e.arguments&&(i=e.arguments),e.thisProgram&&(r=e.thisProgram);var Se=e.preInit;if(Se)for(typeof Se==\"function\"&&(e.preInit=Se=[Se]);Se.length>0;)Se.shift()();e.writeArrayToMemory=Le;var he,ae,me,ge,qe,ye;function Re(ke){he=e._malloc=ke.k,ae=e._free=ke.l,me=e._jp2_decode=ke.m,ge=ye=ke.i,qe=ke.__indirect_function_table}var Fe={g:G,c:de,d:H,b:Ae,h:Oe,e:De,f:Ye,a:lt};async function Ge(){w();var ke=e.setStatus;ke&&(ke(\"Running...\"),await new Promise(Ce=>setTimeout(Ce,1)),setTimeout(ke,1,\"\")),!d&&(v(),e.onRuntimeInitialized?.(),k())}var Ve;return Ve=await S(),await Ge(),e}var VS=$S,jo=class extends xs{constructor(e){super(e,\"JpxError\")}},oh=class n extends Fo{_filename=\"openjpeg.wasm\";_noWasmFilename=\"openjpeg_nowasm_fallback.js\";static get instance(){return je(this,\"instance\",new n(!0))}async decode(e,{numComponents:t,isIndexedColormap:s=!1,smaskInData:i=!1,reducePower:r=0}={}){let a=t!==void 0;t??=4;let o=await this._getModule(VS);if(!o)throw new jo(\"OpenJPEG failed to initialize\");let l;try{let c=e.length;if(l=o._malloc(c),o.writeArrayToMemory(e,l),o._jp2_decode(l,c,t>0?t:0,!!s,!!i,r,a)){let{errorMessages:u}=o;throw u?(delete o.errorMessages,new jo(u)):new jo(\"Unknown error\")}let{imageData:h}=o;return o.imageData=null,h}finally{l&&o._free(l)}}static parseImageProperties(e){let t=e.getByte();for(;t>=0;){let s=t;if(t=e.getByte(),(s<<8|t)===65361){e.skip(4);let r=e.getInt32()>>>0,a=e.getInt32()>>>0,o=e.getInt32()>>>0,l=e.getInt32()>>>0;e.skip(16);let c=e.getUint16();return{width:r-o,height:a-l,bitsPerComponent:8,componentsCount:c}}}throw new jo(\"No size marker found in JPX stream\")}},u1=class extends Wn{constructor(e,t){super(t),this.stream=e,this.dict=e.dict,this.maybeLength=t}get bytes(){return je(this,\"bytes\",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}get isAsyncDecoder(){return!0}async decodeImage(e,t,s){return this.eof?this.buffer:(e||=this.bytes,this.buffer=await oh.instance.decode(e,s),this.bufferLength=this.buffer.length,this.eof=!0,this.buffer)}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}get isImageStream(){return!0}},lh=class extends Wn{constructor(e,t,s){super(t),this.stream=e,this.dict=e.dict,this.cachedData=0,this.bitsCached=0;let i=4096,r={earlyChange:s,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(i),dictionaryLengths:new Uint16Array(i).fill(1,0,256),dictionaryPrevCodes:new Uint16Array(i),currentSequence:new Uint8Array(i),currentSequenceLength:0};r.dictionaryValues.set(ft.identity0to256Map,0),this.lzwState=r}readBits(e){let t=this.bitsCached,s=this.cachedData;for(;t<e;){let i=this.stream.getByte();if(i===-1)return this.eof=!0,null;s=s<<8|i,t+=8}return this.bitsCached=t-=e,this.cachedData=s,s>>>t&(1<<e)-1}readBlock(){let s=1024,i,r,a,{lzwState:o}=this,l=o.earlyChange,c=o.nextCode,f=o.dictionaryValues,h=o.dictionaryLengths,u=o.dictionaryPrevCodes,d=o.codeLength,p=o.prevCode,m=o.currentSequence,g=o.currentSequenceLength,b=0,x=this.bufferLength,w=this.ensureBuffer(this.bufferLength+s);for(i=0;i<512;i++){let v=this.readBits(d),k=g>0;if(v<256)m[0]=v,g=1;else if(v>=258)if(v<c)for(g=h[v],r=g-1,a=v;r>=0;r--)m[r]=f[a],a=u[a];else m[g++]=m[0];else if(v===256){d=9,c=258,g=0;continue}else{this.eof=!0,delete this.lzwState;break}if(k&&(u[c]=p,h[c]=h[p]+1,f[c]=m[0],c++,d=c+l&c+l-1?d:Math.min(Math.log(c+l)/.6931471805599453+1,12)|0),p=v,b+=g,s<b){do s+=512;while(s<b);w=this.ensureBuffer(this.bufferLength+s)}for(r=0;r<g;r++)w[x++]=m[r]}o.nextCode=c,o.codeLength=d,o.prevCode=p,o.currentSequenceLength=g,this.bufferLength=x}},ch=class extends Wn{constructor(e,t,s){if(super(t),!(s instanceof P))return e;let i=this.predictor=s.get(\"Predictor\")||1;if(i<=1)return e;if(i!==2&&(i<10||i>15))throw new se(`Unsupported predictor: ${i}`);this.readBlock=i===2?this.readBlockTiff:this.readBlockPng,this.stream=e,this.dict=e.dict;let r=this.colors=s.get(\"Colors\")||1,a=this.bits=s.get(\"BPC\",\"BitsPerComponent\")||8,o=this.columns=s.get(\"Columns\")||1;return this.pixBytes=r*a+7>>3,this.rowBytes=o*r*a+7>>3,this}readBlockTiff(){let e=this.rowBytes,t=this.bufferLength,s=this.ensureBuffer(t+e),i=this.bits,r=this.colors,a=this.stream.getBytes(e);if(this.eof=!a.length,this.eof)return;let o=0,l=0,c=0,f=0,h=t,u;if(i===1&&r===1)for(u=0;u<e;++u){let d=a[u]^o;d^=d>>1,d^=d>>2,d^=d>>4,o=(d&1)<<7,s[h++]=d}else if(i===8){for(u=0;u<r;++u)s[h++]=a[u];for(;u<e;++u)s[h]=s[h-r]+a[u],h++}else if(i===16){let d=r*2;for(u=0;u<d;++u)s[h++]=a[u];for(;u<e;u+=2){let p=((a[u]&255)<<8)+(a[u+1]&255)+((s[h-d]&255)<<8)+(s[h-d+1]&255);s[h++]=p>>8&255,s[h++]=p&255}}else{let d=new Uint8Array(r+1),p=(1<<i)-1,m=0,g=t,b=this.columns;for(u=0;u<b;++u)for(let x=0;x<r;++x)c<i&&(o=o<<8|a[m++]&255,c+=8),d[x]=d[x]+(o>>c-i)&p,c-=i,l=l<<i|d[x],f+=i,f>=8&&(s[g++]=l>>f-8&255,f-=8);f>0&&(s[g++]=(l<<8-f)+(o&(1<<8-f)-1))}this.bufferLength+=e}readBlockPng(){let e=this.rowBytes,t=this.pixBytes,s=this.stream.getByte(),i=this.stream.getBytes(e);if(this.eof=!i.length,this.eof)return;let r=this.bufferLength,a=this.ensureBuffer(r+e),o=a.subarray(r-e,r);o.length===0&&(o=new Uint8Array(e));let l,c=r,f,h;switch(s){case 0:for(l=0;l<e;++l)a[c++]=i[l];break;case 1:for(l=0;l<t;++l)a[c++]=i[l];for(;l<e;++l)a[c]=a[c-t]+i[l]&255,c++;break;case 2:for(l=0;l<e;++l)a[c++]=o[l]+i[l]&255;break;case 3:for(l=0;l<t;++l)a[c++]=(o[l]>>1)+i[l];for(;l<e;++l)a[c]=(o[l]+a[c-t]>>1)+i[l]&255,c++;break;case 4:for(l=0;l<t;++l)f=o[l],h=i[l],a[c++]=f+h;for(;l<e;++l){f=o[l];let u=o[l-t],d=a[c-t],p=d+f-u,m=p-d;m<0&&(m=-m);let g=p-f;g<0&&(g=-g);let b=p-u;b<0&&(b=-b),h=i[l],m<=g&&m<=b?a[c++]=d+h:g<=b?a[c++]=f+h:a[c++]=u+h}break;default:throw new se(`Unsupported predictor: ${s}`)}this.bufferLength+=e}},d1=class extends Wn{constructor(e,t){super(t),this.stream=e,this.dict=e.dict}readBlock(){let e=this.stream.getBytes(2);if(e.length<2||e[0]===128){this.eof=!0;return}let t,s=this.bufferLength,i=e[0];if(i<128){if(t=this.ensureBuffer(s+i+1),t[s++]=e[1],i>0){let r=this.stream.getBytes(i);t.set(r,s),s+=i}}else i=257-i,t=this.ensureBuffer(s+i+1),t.fill(e[1],s,s+i),s+=i;this.bufferLength=s}},KS=1e3;function XS(n){let e=[],t=n.length,s=0;for(;s<t-1;)e.push(n[s++]<<8|n[s++]);return s<t&&e.push(n[s]),t+\"_\"+String.fromCharCode.apply(null,e)}var Pi=class{#e=null;#n=0;constructor({lexer:e,xref:t,allowStreams:s=!1,recoveryMode:i=!1}){this.lexer=e,this.xref=t,this.allowStreams=s,this.recoveryMode=i,this.refill()}refill(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}shift(){this.buf2 instanceof jn&&this.buf2.cmd===\"ID\"?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}tryShift(){try{return this.shift(),!0}catch(e){if(e instanceof Tt)throw e;return!1}}getObj(e=null){let t=this.buf1;if(this.shift(),t instanceof jn)switch(t.cmd){case\"BI\":return this.makeInlineImage(e);case\"[\":let s=[];for(;!Bn(this.buf1,\"]\")&&this.buf1!==Kn;)s.push(this.getObj(e));if(this.buf1===Kn){if(this.recoveryMode)return s;throw new cc(\"End of file inside array.\")}return this.shift(),s;case\"<<\":let i=new P(this.xref);for(;!Bn(this.buf1,\">>\")&&this.buf1!==Kn;){if(!(this.buf1 instanceof ce)){kt(\"Malformed dictionary: key must be a name object\"),this.shift();continue}let r=this.buf1.name;if(this.shift(),this.buf1===Kn)break;i.set(r,this.getObj(e))}if(this.buf1===Kn){if(this.recoveryMode)return i;throw new cc(\"End of file inside dictionary.\")}return Bn(this.buf2,\"stream\")?this.allowStreams?this.makeStream(i,e):i:(this.shift(),i);default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&Bn(this.buf2,\"R\")){let s=fe.get(t,this.buf1);return this.shift(),this.shift(),s}return t}return typeof t==\"string\"&&e?e.decryptString(t):t}findDefaultInlineStreamEnd(e){let{knownCommands:l}=this.lexer,c=e.pos,f=15,h=0,u,d;for(;(u=e.getByte())!==-1;)if(h===0)h=u===69?1:0;else if(h===1)h=u===73?2:0;else if(u===32||u===10||u===13){d=e.pos;let m=e.peekBytes(f),g=m.length;if(g===0)break;for(let w=0;w<g;w++)if(u=m[w],!(u===0&&m[w+1]!==0)&&u!==10&&u!==13&&(u<32||u>127)){h=0;break}if(h!==2)continue;if(!l){B(\"findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.\");continue}let b=new Ls(new Ft(e.peekBytes(5*f)),l);b._hexStringWarn=()=>{};let x=0;for(;;){let w=b.getObj();if(w===Kn){h=0;break}if(w instanceof jn){let v=l[w.cmd];if(v){if(v.variableArgs?x<=v.numArgs:x===v.numArgs)break}else{h=0;break}x=0;continue}x++}if(h===2)break}else h=0;u===-1&&(B(\"findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker\"),d&&(B('... trying to recover by using the last \"EI\" occurrence.'),e.skip(-(e.pos-d))));let p=4;return e.skip(-p),u=e.peekByte(),e.skip(p),yi(u)||p--,e.pos-p-c}findDCTDecodeInlineStreamEnd(e){let t=e.pos,s=!1,i,r;for(;(i=e.getByte())!==-1;)if(i===255){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:s=!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:r=e.getUint16(),r>2?e.skip(r-2):e.skip(-2);break}if(s)break}return this.inlineStreamSkipEI(e,t,i,\"DCTDecode\")}findASCII85DecodeInlineStreamEnd(e){let s=e.pos,i;for(;(i=e.getByte())!==-1&&i!==126;);return this.inlineStreamSkipEI(e,s,i,\"ASCII85Decode\")}findASCIIHexDecodeInlineStreamEnd(e){let s=e.pos,i;for(;(i=e.getByte())!==-1&&i!==62;);return this.inlineStreamSkipEI(e,s,i,\"ASCIIHexDecode\")}inlineStreamSkipEI(e,t,s,i){let r=e.pos-t;if(s===-1)return B(`Inline ${i} image stream: ${i===\"DCTDecode\"?\"EOI\":\"EOD\"} marker not found, searching for /EI/ instead.`),e.skip(-r),this.findDefaultInlineStreamEnd(e);let a=69,o=73,l=0;for(;(s=e.getByte())!==-1;)if(l===0)l=s===a?1:0;else if(l===1)l=s===o?2:0;else if(l===2)break;return r}makeInlineImage(e){let t=this.lexer,s=t.stream,i=new P(this.xref),r;for(;!Bn(this.buf1,\"ID\")&&this.buf1!==Kn;){if(!(this.buf1 instanceof ce))throw new se(\"Dictionary key must be a name object\");let u=this.buf1.name;if(this.shift(),this.buf1===Kn)break;i.set(u,this.getObj(e))}t.beginInlineImagePos!==-1&&(r=s.pos-t.beginInlineImagePos);let a=i.get(\"F\",\"Filter\"),o;if(a instanceof ce)o=a.name;else if(Array.isArray(a)){let u=this.#t(a[0]);u instanceof ce&&(o=u.name)}let l=s.pos,c;switch(o){case\"DCT\":case\"DCTDecode\":c=this.findDCTDecodeInlineStreamEnd(s);break;case\"A85\":case\"ASCII85Decode\":c=this.findASCII85DecodeInlineStreamEnd(s);break;case\"AHx\":case\"ASCIIHexDecode\":c=this.findASCIIHexDecodeInlineStreamEnd(s);break;default:c=this.findDefaultInlineStreamEnd(s)}let f;if(c<KS&&r>0){let u=s.pos;s.pos=t.beginInlineImagePos,f=XS(s.getBytes(r+c)),s.pos=u;let d=this.#e?.get(f);if(d)return this.buf2=jn.get(\"EI\"),this.shift(),d.reset(),d}let h=s.makeSubStream(l,c,i);return e&&!this.#s(a)&&(h=e.createStream(h,c)),h=this.filter(h,i,c,e),h.dict=i,f&&(h.cacheKey=`inline_img_${++this.#n}`,(this.#e??=new Map).set(f,h)),this.buf2=jn.get(\"EI\"),this.shift(),h}#t(e){return this.xref?this.xref.fetchIfRef(e):e}#s(e){return Array.isArray(e)?e.some(t=>Ke(this.#t(t),\"Crypt\")):Ke(e,\"Crypt\")}#i(e){let{stream:t}=this.lexer;t.pos=e;let s=2048,i=9,r=new Uint8Array([101,110,100]),a=r.length,o=[new Uint8Array([115,116,114,101,97,109]),new Uint8Array([115,116,101,97,109]),new Uint8Array([115,116,114,101,97])],l=i-a;for(;t.pos<t.end;){let c=t.peekBytes(s),f=c.length-i;if(f<=0)break;let h=0;for(;h<f;){let u=0;for(;u<a&&c[h+u]===r[u];)u++;if(u>=a){let d=!1;for(let p of o){let m=p.length,g=0;for(;g<m&&c[h+u+g]===p[g];)g++;if(g>=l){d=!0;break}if(g>=m){let b=c[h+u+g];yi(b)&&(kt(`Found \"${ms([...r,...p])}\" when searching for endstream command.`),d=!0);break}}if(d)return t.pos+=h,t.pos-e}h++}t.pos+=f}return-1}makeStream(e,t){let s=this.lexer,i=s.stream;s.skipToNextLine();let r=i.pos-1,a=e.get(\"Length\");if(Number.isInteger(a)||(kt(`Bad length \"${a&&a.toString()}\" in stream.`),a=0),i.pos=r+a,s.nextChar(),this.tryShift()&&Bn(this.buf2,\"endstream\"))this.shift();else{if(a=this.#i(r),a<0)throw new se(\"Missing endstream command.\");s.nextChar(),this.shift(),this.shift()}this.shift(),i=i.makeSubStream(r,a,e);let o=e.get(\"F\",\"Filter\");return t&&!this.#s(o)&&(i=t.createStream(i,a)),i=this.filter(i,e,a,t),i.dict=e,i}filter(e,t,s,i=null){let r=t.get(\"F\",\"Filter\"),a=t.get(\"DP\",\"DecodeParms\");if(r instanceof ce)return Array.isArray(a)&&B(\"/DecodeParms should not be an Array, when /Filter is a Name.\"),this.makeFilter(e,r.name,s,a,i);let o=s;if(Array.isArray(r)){let l=r,c=a;for(let f=0,h=l.length;f<h;++f){if(r=this.#t(l[f]),!(r instanceof ce))throw new se(`Bad filter name \"${r}\"`);a=null,Array.isArray(c)&&f in c&&(a=this.#t(c[f])),e=this.makeFilter(e,r.name,o,a,i),o=null}}return e}makeFilter(e,t,s,i,r=null){if(s===0)return B(`Empty \"${t}\" stream.`),new uc;try{switch(t){case\"Fl\":case\"FlateDecode\":return i?new ch(new ah(e,s),s,i):new ah(e,s);case\"LZW\":case\"LZWDecode\":let a=1;return i?(i.has(\"EarlyChange\")&&(a=i.get(\"EarlyChange\")),new ch(new lh(e,s,a),s,i)):new lh(e,s,a);case\"DCT\":case\"DCTDecode\":return new Ro(e,s,i);case\"JPX\":case\"JPXDecode\":return new u1(e,s);case\"A85\":case\"ASCII85Decode\":return new o1(e,s);case\"AHx\":case\"ASCIIHexDecode\":return new l1(e,s);case\"CCF\":case\"CCITTFaxDecode\":return new f1(e,s,i);case\"RL\":case\"RunLengthDecode\":return new d1(e,s);case\"JBIG2Decode\":return new h1(e,s,i);case\"BrotliDecode\":return new c1(e,s);case\"Crypt\":{if(!r)return B('Filter \"Crypt\" is missing a cipher transform.'),e;let o=i instanceof P?i.get(\"Name\"):null,l=o instanceof ce?o:ce.get(\"Identity\");return r.createStream(e,s,l)}}return B(`Filter \"${t}\" is not supported.`),e}catch(a){if(a instanceof Tt)throw a;return B(`Invalid stream: \"${a}\"`),new uc}}},co=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Xl(n){return n>=48&&n<=57?n&15:n>=65&&n<=70||n>=97&&n<=102?(n&15)+9:-1}var Ls=class{constructor(e,t=null){this.stream=e,this.nextChar(),this.strBuf=[],this.knownCommands=t,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let e=this.currentChar,t=0,s=1;if(e===45?(s=-1,e=this.nextChar(),e===45&&(e=this.nextChar())):e===43&&(e=this.nextChar()),e===10||e===13)do e=this.nextChar();while(e===10||e===13);if(e===46&&(t=10,e=this.nextChar()),e<48||e>57){let r=`Invalid number: ${String.fromCharCode(e)} (charCode ${e})`;if(yi(e)||e===40||e===60||e===-1)return kt(`Lexer.getNumber - \"${r}\".`),0;throw new se(r)}let i=e-48;for(;(e=this.nextChar())>=0;)if(e>=48&&e<=57){let r=e-48;t!==0&&(t*=10),i=i*10+r}else if(e===46)if(t===0)t=1;else break;else if(e===45)B(\"Badly formatted number: minus sign in the middle\");else break;return t!==0&&(i/=t),s*i}getString(){let e=1,t=!1,s=this.strBuf;s.length=0;let i=this.nextChar();for(;;){let r=!1;switch(i|0){case-1:B(\"Unterminated string\"),t=!0;break;case 40:++e,s.push(\"(\");break;case 41:--e===0?(this.nextChar(),t=!0):s.push(\")\");break;case 92:switch(i=this.nextChar(),i){case-1:B(\"Unterminated string\"),t=!0;break;case 110:s.push(`\n`);break;case 114:s.push(\"\\r\");break;case 116:s.push(\"\t\");break;case 98:s.push(\"\\b\");break;case 102:s.push(\"\\f\");break;case 92:s.push(\"\\\\\");break;case 40:s.push(\"(\");break;case 41:s.push(\")\");break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let a=i&15;i=this.nextChar(),r=!0,i>=48&&i<=55&&(a=(a<<3)+(i&15),i=this.nextChar(),i>=48&&i<=55&&(r=!1,a=(a<<3)+(i&15))),s.push(String.fromCharCode(a));break;case 13:this.peekChar()===10&&this.nextChar();break;case 10:break;default:s.push(String.fromCharCode(i));break}break;default:s.push(String.fromCharCode(i));break}if(t)break;r||(i=this.nextChar())}return s.join(\"\")}getName(){let e,t,s=this.strBuf;for(s.length=0;(e=this.nextChar())>=0&&!co[e];)if(e===35){if(e=this.nextChar(),co[e]){B(\"Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number.\"),s.push(\"#\");break}let i=Xl(e);if(i!==-1){t=e,e=this.nextChar();let r=Xl(e);if(r===-1){if(B(`Lexer_getName: Illegal digit (${String.fromCharCode(e)}) in hexadecimal number.`),s.push(\"#\",String.fromCharCode(t)),co[e])break;s.push(String.fromCharCode(e));continue}s.push(String.fromCharCode(i<<4|r))}else s.push(\"#\",String.fromCharCode(e))}else s.push(String.fromCharCode(e));return s.length>127&&B(`Name token is longer than allowed by the spec: ${s.length}`),ce.get(s.join(\"\"))}_hexStringWarn(e){if(this._hexStringNumWarn++===5){B(\"getHexString - ignoring additional invalid characters.\");return}this._hexStringNumWarn>5||B(`getHexString - ignoring invalid character: ${e}`)}getHexString(){let e=this.strBuf;e.length=0;let t=this.currentChar,s=-1,i=-1;for(this._hexStringNumWarn=0;;)if(t<0){B(\"Unterminated hex string\");break}else if(t===62){this.nextChar();break}else if(co[t]===1){t=this.nextChar();continue}else i=Xl(t),i===-1?this._hexStringWarn(t):s===-1?s=i:(e.push(String.fromCharCode(s<<4|i)),s=-1),t=this.nextChar();return s!==-1&&e.push(String.fromCharCode(s<<4)),e.join(\"\")}getObj(){let e=!1,t=this.currentChar;for(;;){if(t<0)return Kn;if(e)(t===10||t===13)&&(e=!1);else if(t===37)e=!0;else if(co[t]!==1)break;t=this.nextChar()}switch(t|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(),jn.get(\"[\");case 93:return this.nextChar(),jn.get(\"]\");case 60:return t=this.nextChar(),t===60?(this.nextChar(),jn.get(\"<<\")):this.getHexString();case 62:return t=this.nextChar(),t===62?(this.nextChar(),jn.get(\">>\")):jn.get(\">\");case 123:return this.nextChar(),jn.get(\"{\");case 125:return this.nextChar(),jn.get(\"}\");case 41:throw this.nextChar(),new se(`Illegal character: ${t}`)}let s=String.fromCharCode(t);if(t<32||t>127){let a=this.peekChar();if(a>=32&&a<=127)return this.nextChar(),jn.get(s)}let i=this.knownCommands,r=i?.[s]!==void 0;for(;(t=this.nextChar())>=0&&!co[t];){let a=s+String.fromCharCode(t);if(r&&i[a]===void 0)break;if(s.length===128)throw new se(`Command token too long: ${s.length}`);s=a,r=i?.[s]!==void 0}return s===\"true\"?!0:s===\"false\"?!1:s===\"null\"?null:(s===\"BI\"&&(this.beginInlineImagePos=this.stream.pos),jn.get(s))}skipToNextLine(){let e=this.currentChar;for(;e>=0;){if(e===13){e=this.nextChar(),e===10&&this.nextChar();break}else if(e===10){this.nextChar();break}e=this.nextChar()}}},p1=class{static create(e){function t(h,u,d=!1){let p=h.get(u);if(Number.isInteger(p)&&(d?p>=0:p>0))return p;throw new Error(`The \"${u}\" parameter in the linearization dictionary is invalid.`)}function s(h){let u=h.get(\"H\"),d;if(Array.isArray(u)&&((d=u.length)===2||d===4)){for(let p=0;p<d;p++){let m=u[p];if(!(Number.isInteger(m)&&m>0))throw new Error(`Hint (${p}) in the linearization dictionary is invalid.`)}return u}throw new Error(\"Hint array in the linearization dictionary is invalid.\")}let i=new Pi({lexer:new Ls(e),xref:null}),r=i.getObj(),a=i.getObj(),o=i.getObj(),l=i.getObj(),c,f;if(Number.isInteger(r)&&Number.isInteger(a)&&Bn(o,\"obj\")&&l instanceof P&&typeof(c=l.get(\"Linearized\"))==\"number\"&&c>0){if((f=t(l,\"L\"))!==e.length)throw new Error('The \"L\" parameter in the linearization dictionary does not equal the stream length.')}else return null;return{length:f,hints:s(l),objectNumberFirst:t(l,\"O\"),endFirst:t(l,\"E\"),numPages:t(l,\"N\"),mainXRefEntriesOffset:t(l,\"T\"),pageFirst:l.has(\"P\")?t(l,\"P\",!0):0}}},YS=new Set([\"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\"]),JS=2**24-1,pc=class{#e=new xi;#n=0;constructor(e=!1){this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this.name=\"\",this.vertical=!1,this.useCMap=null,this.builtInCMap=e}addCodespaceRange(e,t,s){this.codespaceRanges[e-1].push(t,s),this.numCodespaceRanges++}#t(e,t){if(!(e<=0)){if(this.#n+e>JS)throw new Error(`${t} - ignoring data above MAX_MAP_RANGE.`);this.#n+=e}}mapCidRange(e,t,s){for(this.#t(t-e+1,\"mapCidRange\");e<=t;)this.#e.set(e++,s++)}mapBfRange(e,t,s){this.#t(t-e+1,\"mapBfRange\");let i=s.length-1;for(;e<=t;){this.#e.set(e++,s);let r=s.charCodeAt(i)+1;if(r>255){s=s.substring(0,i-1)+String.fromCharCode(s.charCodeAt(i-1)+1)+\"\\0\";continue}s=s.substring(0,i)+String.fromCharCode(r)}}mapBfRangeToArray(e,t,s){let i=s.length;this.#t(Math.min(t-e+1,i),\"mapBfRangeToArray\");let r=0;for(;e<=t&&r<i;)this.#e.set(e++,s[r++])}mapOne(e,t){this.#e.set(e,t)}lookup(e){return this.#e.get(e)}contains(e){return this.#e.has(e)}forEach(e){this.#e.forEach(e)}charCodeOf(e){return this.#e.charCodeOf(e)}getMap(){return this.#e.clone()}readCharCode(e,t,s){let i=0,r=this.codespaceRanges;for(let a=0,o=r.length;a<o;a++){i=(i<<8|e.charCodeAt(t+a))>>>0;let l=r[a];for(let c=0,f=l.length;c<f;){let h=l[c++],u=l[c++];if(i>=h&&i<=u){s.charcode=i,s.length=a+1;return}}}s.charcode=0,s.length=1}getCharCodeLength(e){let t=this.codespaceRanges;for(let s=0,i=t.length;s<i;s++){let r=t[s];for(let a=0,o=r.length;a<o;){let l=r[a++],c=r[a++];if(e>=l&&e<=c)return s+1}}return 1}get size(){return this.#e.size}get isIdentityCMap(){if(!(this.name===\"Identity-H\"||this.name===\"Identity-V\")||this.#e.size!==65536)return!1;for(let e=0;e<65536;e++)if(this.#e.get(e)!==e)return!1;return!0}},xa=class extends pc{constructor(e,t){super(),this.vertical=e,this.addCodespaceRange(t,0,65535)}mapCidRange(e,t,s){dt(\"should not call mapCidRange\")}mapBfRange(e,t,s){dt(\"should not call mapBfRange\")}mapBfRangeToArray(e,t,s){dt(\"should not call mapBfRangeToArray\")}mapOne(e,t){dt(\"should not call mapCidOne\")}lookup(e){return Number.isInteger(e)&&e<=65535?e:void 0}contains(e){return Number.isInteger(e)&&e<=65535}forEach(e){for(let t=0;t<=65535;t++)e(t,t)}charCodeOf(e){return Number.isInteger(e)&&e<=65535?e:-1}getMap(){dt(\"should not call getMap\")}get size(){return 65536}get isIdentityCMap(){dt(\"should not access .isIdentityCMap\")}};function Or(n){let e=0;for(let t=0;t<n.length;t++)e=e<<8|n.charCodeAt(t);return e>>>0}function Ea(n){if(typeof n!=\"string\")throw new se(\"Malformed CMap: expected string.\")}function K8(n){if(!Number.isInteger(n))throw new se(\"Malformed CMap: expected int.\")}function QS(n,e){for(;;){let t=e.getObj();if(t===Kn)break;if(Bn(t,\"endbfchar\"))return;Ea(t);let s=Or(t);t=e.getObj(),Ea(t);let i=t;n.mapOne(s,i)}}function ZS(n,e){for(;;){let t=e.getObj();if(t===Kn)break;if(Bn(t,\"endbfrange\"))return;Ea(t);let s=Or(t);t=e.getObj(),Ea(t);let i=Or(t);if(t=e.getObj(),Number.isInteger(t)||typeof t==\"string\"){let r=Number.isInteger(t)?String.fromCharCode(t):t;n.mapBfRange(s,i,r)}else if(Bn(t,\"[\")){t=e.getObj();let r=[];for(;!Bn(t,\"]\")&&t!==Kn;)r.push(t),t=e.getObj();n.mapBfRangeToArray(s,i,r)}else break}throw new se(\"Invalid bf range.\")}function eq(n,e){for(;;){let t=e.getObj();if(t===Kn)break;if(Bn(t,\"endcidchar\"))return;Ea(t);let s=Or(t);t=e.getObj(),K8(t);let i=t;n.mapOne(s,i)}}function tq(n,e){for(;;){let t=e.getObj();if(t===Kn)break;if(Bn(t,\"endcidrange\"))return;Ea(t);let s=Or(t);t=e.getObj(),Ea(t);let i=Or(t);t=e.getObj(),K8(t);let r=t;n.mapCidRange(s,i,r)}}function nq(n,e){for(;;){let t=e.getObj();if(t===Kn)break;if(Bn(t,\"endcodespacerange\"))return;if(typeof t!=\"string\")break;let s=Or(t);if(t=e.getObj(),typeof t!=\"string\")break;let i=Or(t);n.addCodespaceRange(t.length,s,i)}throw new se(\"Invalid codespace range.\")}function sq(n,e){let t=e.getObj();Number.isInteger(t)&&(n.vertical=!!t)}function iq(n,e){let t=e.getObj();t instanceof ce&&(n.name=t.name)}async function X8(n,e,t,s){let i,r;e:for(;;)try{let a=e.getObj();if(a===Kn)break;if(a instanceof ce)a.name===\"WMode\"?sq(n,e):a.name===\"CMapName\"&&iq(n,e),i=a;else if(a instanceof jn)switch(a.cmd){case\"endcmap\":break e;case\"usecmap\":i instanceof ce&&(r=i.name);break;case\"begincodespacerange\":nq(n,e);break;case\"beginbfchar\":QS(n,e);break;case\"begincidchar\":eq(n,e);break;case\"beginbfrange\":ZS(n,e);break;case\"begincidrange\":tq(n,e);break}}catch(a){if(a instanceof Tt)throw a;B(\"Invalid cMap data: \"+a);continue}return!s&&r&&(s=r),s?Y8(n,t,s):n}async function Y8(n,e,t){if(n.useCMap=await m1(t,e),n.numCodespaceRanges===0){let s=n.useCMap.codespaceRanges;for(let i=0;i<s.length;i++)n.codespaceRanges[i]=s[i].slice();n.numCodespaceRanges=n.useCMap.numCodespaceRanges}return n.useCMap.forEach((s,i)=>{n.contains(s)||n.mapOne(s,i)}),n}async function m1(n,e){if(n===\"Identity-H\")return new xa(!1,2);if(n===\"Identity-V\")return new xa(!0,2);if(!YS.has(n))throw new Error(\"Unknown CMap name: \"+n);if(!e)throw new Error(\"Built-in CMap parameters are not provided.\");let{cMapData:t,isCompressed:s}=await e(n),i=new pc(!0);if(s)return new a1().process(t,i,a=>Y8(i,e,a));let r=new Ls(new Ft(t));return X8(i,r,e,null)}var la=class{static async create({encoding:e,fetchBuiltInCMap:t,useCMap:s}){if(e instanceof ce)return m1(e.name,t);if(e instanceof Xe){if(e.isAsync){let r=await e.asyncGetBytes();r&&(e=new Ft(r,0,r.length,e.dict))}let i=await X8(new pc,new Ls(e),t,s);return i.isIdentityCMap?m1(i.name,t):i}throw new Error(\"Encoding required.\")}},J8=[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"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\"],rq=[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"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\",\"\",\"\",\"\",\"\"],iv=[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"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\"],cr=[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"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\",\"\",\"\",\"\",\"\"],mc=[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"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\"],Cu=[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"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\",\"\"],Tu=[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"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\",\"\"];function gc(n){switch(n){case\"WinAnsiEncoding\":return mc;case\"StandardEncoding\":return cr;case\"MacRomanEncoding\":return iv;case\"SymbolSetEncoding\":return Cu;case\"ZapfDingbatsEncoding\":return Tu;case\"ExpertEncoding\":return J8;case\"MacExpertEncoding\":return rq;default:return null}}var gi=Gt(function(n){n.A=65,n.AE=198,n.AEacute=508,n.AEmacron=482,n.AEsmall=63462,n.Aacute=193,n.Aacutesmall=63457,n.Abreve=258,n.Abreveacute=7854,n.Abrevecyrillic=1232,n.Abrevedotbelow=7862,n.Abrevegrave=7856,n.Abrevehookabove=7858,n.Abrevetilde=7860,n.Acaron=461,n.Acircle=9398,n.Acircumflex=194,n.Acircumflexacute=7844,n.Acircumflexdotbelow=7852,n.Acircumflexgrave=7846,n.Acircumflexhookabove=7848,n.Acircumflexsmall=63458,n.Acircumflextilde=7850,n.Acute=63177,n.Acutesmall=63412,n.Acyrillic=1040,n.Adblgrave=512,n.Adieresis=196,n.Adieresiscyrillic=1234,n.Adieresismacron=478,n.Adieresissmall=63460,n.Adotbelow=7840,n.Adotmacron=480,n.Agrave=192,n.Agravesmall=63456,n.Ahookabove=7842,n.Aiecyrillic=1236,n.Ainvertedbreve=514,n.Alpha=913,n.Alphatonos=902,n.Amacron=256,n.Amonospace=65313,n.Aogonek=260,n.Aring=197,n.Aringacute=506,n.Aringbelow=7680,n.Aringsmall=63461,n.Asmall=63329,n.Atilde=195,n.Atildesmall=63459,n.Aybarmenian=1329,n.B=66,n.Bcircle=9399,n.Bdotaccent=7682,n.Bdotbelow=7684,n.Becyrillic=1041,n.Benarmenian=1330,n.Beta=914,n.Bhook=385,n.Blinebelow=7686,n.Bmonospace=65314,n.Brevesmall=63220,n.Bsmall=63330,n.Btopbar=386,n.C=67,n.Caarmenian=1342,n.Cacute=262,n.Caron=63178,n.Caronsmall=63221,n.Ccaron=268,n.Ccedilla=199,n.Ccedillaacute=7688,n.Ccedillasmall=63463,n.Ccircle=9400,n.Ccircumflex=264,n.Cdot=266,n.Cdotaccent=266,n.Cedillasmall=63416,n.Chaarmenian=1353,n.Cheabkhasiancyrillic=1212,n.Checyrillic=1063,n.Chedescenderabkhasiancyrillic=1214,n.Chedescendercyrillic=1206,n.Chedieresiscyrillic=1268,n.Cheharmenian=1347,n.Chekhakassiancyrillic=1227,n.Cheverticalstrokecyrillic=1208,n.Chi=935,n.Chook=391,n.Circumflexsmall=63222,n.Cmonospace=65315,n.Coarmenian=1361,n.Csmall=63331,n.D=68,n.DZ=497,n.DZcaron=452,n.Daarmenian=1332,n.Dafrican=393,n.Dcaron=270,n.Dcedilla=7696,n.Dcircle=9401,n.Dcircumflexbelow=7698,n.Dcroat=272,n.Ddotaccent=7690,n.Ddotbelow=7692,n.Decyrillic=1044,n.Deicoptic=1006,n.Delta=8710,n.Deltagreek=916,n.Dhook=394,n.Dieresis=63179,n.DieresisAcute=63180,n.DieresisGrave=63181,n.Dieresissmall=63400,n.Digammagreek=988,n.Djecyrillic=1026,n.Dlinebelow=7694,n.Dmonospace=65316,n.Dotaccentsmall=63223,n.Dslash=272,n.Dsmall=63332,n.Dtopbar=395,n.Dz=498,n.Dzcaron=453,n.Dzeabkhasiancyrillic=1248,n.Dzecyrillic=1029,n.Dzhecyrillic=1039,n.E=69,n.Eacute=201,n.Eacutesmall=63465,n.Ebreve=276,n.Ecaron=282,n.Ecedillabreve=7708,n.Echarmenian=1333,n.Ecircle=9402,n.Ecircumflex=202,n.Ecircumflexacute=7870,n.Ecircumflexbelow=7704,n.Ecircumflexdotbelow=7878,n.Ecircumflexgrave=7872,n.Ecircumflexhookabove=7874,n.Ecircumflexsmall=63466,n.Ecircumflextilde=7876,n.Ecyrillic=1028,n.Edblgrave=516,n.Edieresis=203,n.Edieresissmall=63467,n.Edot=278,n.Edotaccent=278,n.Edotbelow=7864,n.Efcyrillic=1060,n.Egrave=200,n.Egravesmall=63464,n.Eharmenian=1335,n.Ehookabove=7866,n.Eightroman=8551,n.Einvertedbreve=518,n.Eiotifiedcyrillic=1124,n.Elcyrillic=1051,n.Elevenroman=8554,n.Emacron=274,n.Emacronacute=7702,n.Emacrongrave=7700,n.Emcyrillic=1052,n.Emonospace=65317,n.Encyrillic=1053,n.Endescendercyrillic=1186,n.Eng=330,n.Enghecyrillic=1188,n.Enhookcyrillic=1223,n.Eogonek=280,n.Eopen=400,n.Epsilon=917,n.Epsilontonos=904,n.Ercyrillic=1056,n.Ereversed=398,n.Ereversedcyrillic=1069,n.Escyrillic=1057,n.Esdescendercyrillic=1194,n.Esh=425,n.Esmall=63333,n.Eta=919,n.Etarmenian=1336,n.Etatonos=905,n.Eth=208,n.Ethsmall=63472,n.Etilde=7868,n.Etildebelow=7706,n.Euro=8364,n.Ezh=439,n.Ezhcaron=494,n.Ezhreversed=440,n.F=70,n.Fcircle=9403,n.Fdotaccent=7710,n.Feharmenian=1366,n.Feicoptic=996,n.Fhook=401,n.Fitacyrillic=1138,n.Fiveroman=8548,n.Fmonospace=65318,n.Fourroman=8547,n.Fsmall=63334,n.G=71,n.GBsquare=13191,n.Gacute=500,n.Gamma=915,n.Gammaafrican=404,n.Gangiacoptic=1002,n.Gbreve=286,n.Gcaron=486,n.Gcedilla=290,n.Gcircle=9404,n.Gcircumflex=284,n.Gcommaaccent=290,n.Gdot=288,n.Gdotaccent=288,n.Gecyrillic=1043,n.Ghadarmenian=1346,n.Ghemiddlehookcyrillic=1172,n.Ghestrokecyrillic=1170,n.Gheupturncyrillic=1168,n.Ghook=403,n.Gimarmenian=1331,n.Gjecyrillic=1027,n.Gmacron=7712,n.Gmonospace=65319,n.Grave=63182,n.Gravesmall=63328,n.Gsmall=63335,n.Gsmallhook=667,n.Gstroke=484,n.H=72,n.H18533=9679,n.H18543=9642,n.H18551=9643,n.H22073=9633,n.HPsquare=13259,n.Haabkhasiancyrillic=1192,n.Hadescendercyrillic=1202,n.Hardsigncyrillic=1066,n.Hbar=294,n.Hbrevebelow=7722,n.Hcedilla=7720,n.Hcircle=9405,n.Hcircumflex=292,n.Hdieresis=7718,n.Hdotaccent=7714,n.Hdotbelow=7716,n.Hmonospace=65320,n.Hoarmenian=1344,n.Horicoptic=1e3,n.Hsmall=63336,n.Hungarumlaut=63183,n.Hungarumlautsmall=63224,n.Hzsquare=13200,n.I=73,n.IAcyrillic=1071,n.IJ=306,n.IUcyrillic=1070,n.Iacute=205,n.Iacutesmall=63469,n.Ibreve=300,n.Icaron=463,n.Icircle=9406,n.Icircumflex=206,n.Icircumflexsmall=63470,n.Icyrillic=1030,n.Idblgrave=520,n.Idieresis=207,n.Idieresisacute=7726,n.Idieresiscyrillic=1252,n.Idieresissmall=63471,n.Idot=304,n.Idotaccent=304,n.Idotbelow=7882,n.Iebrevecyrillic=1238,n.Iecyrillic=1045,n.Ifraktur=8465,n.Igrave=204,n.Igravesmall=63468,n.Ihookabove=7880,n.Iicyrillic=1048,n.Iinvertedbreve=522,n.Iishortcyrillic=1049,n.Imacron=298,n.Imacroncyrillic=1250,n.Imonospace=65321,n.Iniarmenian=1339,n.Iocyrillic=1025,n.Iogonek=302,n.Iota=921,n.Iotaafrican=406,n.Iotadieresis=938,n.Iotatonos=906,n.Ismall=63337,n.Istroke=407,n.Itilde=296,n.Itildebelow=7724,n.Izhitsacyrillic=1140,n.Izhitsadblgravecyrillic=1142,n.J=74,n.Jaarmenian=1345,n.Jcircle=9407,n.Jcircumflex=308,n.Jecyrillic=1032,n.Jheharmenian=1355,n.Jmonospace=65322,n.Jsmall=63338,n.K=75,n.KBsquare=13189,n.KKsquare=13261,n.Kabashkircyrillic=1184,n.Kacute=7728,n.Kacyrillic=1050,n.Kadescendercyrillic=1178,n.Kahookcyrillic=1219,n.Kappa=922,n.Kastrokecyrillic=1182,n.Kaverticalstrokecyrillic=1180,n.Kcaron=488,n.Kcedilla=310,n.Kcircle=9408,n.Kcommaaccent=310,n.Kdotbelow=7730,n.Keharmenian=1364,n.Kenarmenian=1343,n.Khacyrillic=1061,n.Kheicoptic=998,n.Khook=408,n.Kjecyrillic=1036,n.Klinebelow=7732,n.Kmonospace=65323,n.Koppacyrillic=1152,n.Koppagreek=990,n.Ksicyrillic=1134,n.Ksmall=63339,n.L=76,n.LJ=455,n.LL=63167,n.Lacute=313,n.Lambda=923,n.Lcaron=317,n.Lcedilla=315,n.Lcircle=9409,n.Lcircumflexbelow=7740,n.Lcommaaccent=315,n.Ldot=319,n.Ldotaccent=319,n.Ldotbelow=7734,n.Ldotbelowmacron=7736,n.Liwnarmenian=1340,n.Lj=456,n.Ljecyrillic=1033,n.Llinebelow=7738,n.Lmonospace=65324,n.Lslash=321,n.Lslashsmall=63225,n.Lsmall=63340,n.M=77,n.MBsquare=13190,n.Macron=63184,n.Macronsmall=63407,n.Macute=7742,n.Mcircle=9410,n.Mdotaccent=7744,n.Mdotbelow=7746,n.Menarmenian=1348,n.Mmonospace=65325,n.Msmall=63341,n.Mturned=412,n.Mu=924,n.N=78,n.NJ=458,n.Nacute=323,n.Ncaron=327,n.Ncedilla=325,n.Ncircle=9411,n.Ncircumflexbelow=7754,n.Ncommaaccent=325,n.Ndotaccent=7748,n.Ndotbelow=7750,n.Nhookleft=413,n.Nineroman=8552,n.Nj=459,n.Njecyrillic=1034,n.Nlinebelow=7752,n.Nmonospace=65326,n.Nowarmenian=1350,n.Nsmall=63342,n.Ntilde=209,n.Ntildesmall=63473,n.Nu=925,n.O=79,n.OE=338,n.OEsmall=63226,n.Oacute=211,n.Oacutesmall=63475,n.Obarredcyrillic=1256,n.Obarreddieresiscyrillic=1258,n.Obreve=334,n.Ocaron=465,n.Ocenteredtilde=415,n.Ocircle=9412,n.Ocircumflex=212,n.Ocircumflexacute=7888,n.Ocircumflexdotbelow=7896,n.Ocircumflexgrave=7890,n.Ocircumflexhookabove=7892,n.Ocircumflexsmall=63476,n.Ocircumflextilde=7894,n.Ocyrillic=1054,n.Odblacute=336,n.Odblgrave=524,n.Odieresis=214,n.Odieresiscyrillic=1254,n.Odieresissmall=63478,n.Odotbelow=7884,n.Ogoneksmall=63227,n.Ograve=210,n.Ogravesmall=63474,n.Oharmenian=1365,n.Ohm=8486,n.Ohookabove=7886,n.Ohorn=416,n.Ohornacute=7898,n.Ohorndotbelow=7906,n.Ohorngrave=7900,n.Ohornhookabove=7902,n.Ohorntilde=7904,n.Ohungarumlaut=336,n.Oi=418,n.Oinvertedbreve=526,n.Omacron=332,n.Omacronacute=7762,n.Omacrongrave=7760,n.Omega=8486,n.Omegacyrillic=1120,n.Omegagreek=937,n.Omegaroundcyrillic=1146,n.Omegatitlocyrillic=1148,n.Omegatonos=911,n.Omicron=927,n.Omicrontonos=908,n.Omonospace=65327,n.Oneroman=8544,n.Oogonek=490,n.Oogonekmacron=492,n.Oopen=390,n.Oslash=216,n.Oslashacute=510,n.Oslashsmall=63480,n.Osmall=63343,n.Ostrokeacute=510,n.Otcyrillic=1150,n.Otilde=213,n.Otildeacute=7756,n.Otildedieresis=7758,n.Otildesmall=63477,n.P=80,n.Pacute=7764,n.Pcircle=9413,n.Pdotaccent=7766,n.Pecyrillic=1055,n.Peharmenian=1354,n.Pemiddlehookcyrillic=1190,n.Phi=934,n.Phook=420,n.Pi=928,n.Piwrarmenian=1363,n.Pmonospace=65328,n.Psi=936,n.Psicyrillic=1136,n.Psmall=63344,n.Q=81,n.Qcircle=9414,n.Qmonospace=65329,n.Qsmall=63345,n.R=82,n.Raarmenian=1356,n.Racute=340,n.Rcaron=344,n.Rcedilla=342,n.Rcircle=9415,n.Rcommaaccent=342,n.Rdblgrave=528,n.Rdotaccent=7768,n.Rdotbelow=7770,n.Rdotbelowmacron=7772,n.Reharmenian=1360,n.Rfraktur=8476,n.Rho=929,n.Ringsmall=63228,n.Rinvertedbreve=530,n.Rlinebelow=7774,n.Rmonospace=65330,n.Rsmall=63346,n.Rsmallinverted=641,n.Rsmallinvertedsuperior=694,n.S=83,n.SF010000=9484,n.SF020000=9492,n.SF030000=9488,n.SF040000=9496,n.SF050000=9532,n.SF060000=9516,n.SF070000=9524,n.SF080000=9500,n.SF090000=9508,n.SF100000=9472,n.SF110000=9474,n.SF190000=9569,n.SF200000=9570,n.SF210000=9558,n.SF220000=9557,n.SF230000=9571,n.SF240000=9553,n.SF250000=9559,n.SF260000=9565,n.SF270000=9564,n.SF280000=9563,n.SF360000=9566,n.SF370000=9567,n.SF380000=9562,n.SF390000=9556,n.SF400000=9577,n.SF410000=9574,n.SF420000=9568,n.SF430000=9552,n.SF440000=9580,n.SF450000=9575,n.SF460000=9576,n.SF470000=9572,n.SF480000=9573,n.SF490000=9561,n.SF500000=9560,n.SF510000=9554,n.SF520000=9555,n.SF530000=9579,n.SF540000=9578,n.Sacute=346,n.Sacutedotaccent=7780,n.Sampigreek=992,n.Scaron=352,n.Scarondotaccent=7782,n.Scaronsmall=63229,n.Scedilla=350,n.Schwa=399,n.Schwacyrillic=1240,n.Schwadieresiscyrillic=1242,n.Scircle=9416,n.Scircumflex=348,n.Scommaaccent=536,n.Sdotaccent=7776,n.Sdotbelow=7778,n.Sdotbelowdotaccent=7784,n.Seharmenian=1357,n.Sevenroman=8550,n.Shaarmenian=1351,n.Shacyrillic=1064,n.Shchacyrillic=1065,n.Sheicoptic=994,n.Shhacyrillic=1210,n.Shimacoptic=1004,n.Sigma=931,n.Sixroman=8549,n.Smonospace=65331,n.Softsigncyrillic=1068,n.Ssmall=63347,n.Stigmagreek=986,n.T=84,n.Tau=932,n.Tbar=358,n.Tcaron=356,n.Tcedilla=354,n.Tcircle=9417,n.Tcircumflexbelow=7792,n.Tcommaaccent=354,n.Tdotaccent=7786,n.Tdotbelow=7788,n.Tecyrillic=1058,n.Tedescendercyrillic=1196,n.Tenroman=8553,n.Tetsecyrillic=1204,n.Theta=920,n.Thook=428,n.Thorn=222,n.Thornsmall=63486,n.Threeroman=8546,n.Tildesmall=63230,n.Tiwnarmenian=1359,n.Tlinebelow=7790,n.Tmonospace=65332,n.Toarmenian=1337,n.Tonefive=444,n.Tonesix=388,n.Tonetwo=423,n.Tretroflexhook=430,n.Tsecyrillic=1062,n.Tshecyrillic=1035,n.Tsmall=63348,n.Twelveroman=8555,n.Tworoman=8545,n.U=85,n.Uacute=218,n.Uacutesmall=63482,n.Ubreve=364,n.Ucaron=467,n.Ucircle=9418,n.Ucircumflex=219,n.Ucircumflexbelow=7798,n.Ucircumflexsmall=63483,n.Ucyrillic=1059,n.Udblacute=368,n.Udblgrave=532,n.Udieresis=220,n.Udieresisacute=471,n.Udieresisbelow=7794,n.Udieresiscaron=473,n.Udieresiscyrillic=1264,n.Udieresisgrave=475,n.Udieresismacron=469,n.Udieresissmall=63484,n.Udotbelow=7908,n.Ugrave=217,n.Ugravesmall=63481,n.Uhookabove=7910,n.Uhorn=431,n.Uhornacute=7912,n.Uhorndotbelow=7920,n.Uhorngrave=7914,n.Uhornhookabove=7916,n.Uhorntilde=7918,n.Uhungarumlaut=368,n.Uhungarumlautcyrillic=1266,n.Uinvertedbreve=534,n.Ukcyrillic=1144,n.Umacron=362,n.Umacroncyrillic=1262,n.Umacrondieresis=7802,n.Umonospace=65333,n.Uogonek=370,n.Upsilon=933,n.Upsilon1=978,n.Upsilonacutehooksymbolgreek=979,n.Upsilonafrican=433,n.Upsilondieresis=939,n.Upsilondieresishooksymbolgreek=980,n.Upsilonhooksymbol=978,n.Upsilontonos=910,n.Uring=366,n.Ushortcyrillic=1038,n.Usmall=63349,n.Ustraightcyrillic=1198,n.Ustraightstrokecyrillic=1200,n.Utilde=360,n.Utildeacute=7800,n.Utildebelow=7796,n.V=86,n.Vcircle=9419,n.Vdotbelow=7806,n.Vecyrillic=1042,n.Vewarmenian=1358,n.Vhook=434,n.Vmonospace=65334,n.Voarmenian=1352,n.Vsmall=63350,n.Vtilde=7804,n.W=87,n.Wacute=7810,n.Wcircle=9420,n.Wcircumflex=372,n.Wdieresis=7812,n.Wdotaccent=7814,n.Wdotbelow=7816,n.Wgrave=7808,n.Wmonospace=65335,n.Wsmall=63351,n.X=88,n.Xcircle=9421,n.Xdieresis=7820,n.Xdotaccent=7818,n.Xeharmenian=1341,n.Xi=926,n.Xmonospace=65336,n.Xsmall=63352,n.Y=89,n.Yacute=221,n.Yacutesmall=63485,n.Yatcyrillic=1122,n.Ycircle=9422,n.Ycircumflex=374,n.Ydieresis=376,n.Ydieresissmall=63487,n.Ydotaccent=7822,n.Ydotbelow=7924,n.Yericyrillic=1067,n.Yerudieresiscyrillic=1272,n.Ygrave=7922,n.Yhook=435,n.Yhookabove=7926,n.Yiarmenian=1349,n.Yicyrillic=1031,n.Yiwnarmenian=1362,n.Ymonospace=65337,n.Ysmall=63353,n.Ytilde=7928,n.Yusbigcyrillic=1130,n.Yusbigiotifiedcyrillic=1132,n.Yuslittlecyrillic=1126,n.Yuslittleiotifiedcyrillic=1128,n.Z=90,n.Zaarmenian=1334,n.Zacute=377,n.Zcaron=381,n.Zcaronsmall=63231,n.Zcircle=9423,n.Zcircumflex=7824,n.Zdot=379,n.Zdotaccent=379,n.Zdotbelow=7826,n.Zecyrillic=1047,n.Zedescendercyrillic=1176,n.Zedieresiscyrillic=1246,n.Zeta=918,n.Zhearmenian=1338,n.Zhebrevecyrillic=1217,n.Zhecyrillic=1046,n.Zhedescendercyrillic=1174,n.Zhedieresiscyrillic=1244,n.Zlinebelow=7828,n.Zmonospace=65338,n.Zsmall=63354,n.Zstroke=437,n.a=97,n.aabengali=2438,n.aacute=225,n.aadeva=2310,n.aagujarati=2694,n.aagurmukhi=2566,n.aamatragurmukhi=2622,n.aarusquare=13059,n.aavowelsignbengali=2494,n.aavowelsigndeva=2366,n.aavowelsigngujarati=2750,n.abbreviationmarkarmenian=1375,n.abbreviationsigndeva=2416,n.abengali=2437,n.abopomofo=12570,n.abreve=259,n.abreveacute=7855,n.abrevecyrillic=1233,n.abrevedotbelow=7863,n.abrevegrave=7857,n.abrevehookabove=7859,n.abrevetilde=7861,n.acaron=462,n.acircle=9424,n.acircumflex=226,n.acircumflexacute=7845,n.acircumflexdotbelow=7853,n.acircumflexgrave=7847,n.acircumflexhookabove=7849,n.acircumflextilde=7851,n.acute=180,n.acutebelowcmb=791,n.acutecmb=769,n.acutecomb=769,n.acutedeva=2388,n.acutelowmod=719,n.acutetonecmb=833,n.acyrillic=1072,n.adblgrave=513,n.addakgurmukhi=2673,n.adeva=2309,n.adieresis=228,n.adieresiscyrillic=1235,n.adieresismacron=479,n.adotbelow=7841,n.adotmacron=481,n.ae=230,n.aeacute=509,n.aekorean=12624,n.aemacron=483,n.afii00208=8213,n.afii08941=8356,n.afii10017=1040,n.afii10018=1041,n.afii10019=1042,n.afii10020=1043,n.afii10021=1044,n.afii10022=1045,n.afii10023=1025,n.afii10024=1046,n.afii10025=1047,n.afii10026=1048,n.afii10027=1049,n.afii10028=1050,n.afii10029=1051,n.afii10030=1052,n.afii10031=1053,n.afii10032=1054,n.afii10033=1055,n.afii10034=1056,n.afii10035=1057,n.afii10036=1058,n.afii10037=1059,n.afii10038=1060,n.afii10039=1061,n.afii10040=1062,n.afii10041=1063,n.afii10042=1064,n.afii10043=1065,n.afii10044=1066,n.afii10045=1067,n.afii10046=1068,n.afii10047=1069,n.afii10048=1070,n.afii10049=1071,n.afii10050=1168,n.afii10051=1026,n.afii10052=1027,n.afii10053=1028,n.afii10054=1029,n.afii10055=1030,n.afii10056=1031,n.afii10057=1032,n.afii10058=1033,n.afii10059=1034,n.afii10060=1035,n.afii10061=1036,n.afii10062=1038,n.afii10063=63172,n.afii10064=63173,n.afii10065=1072,n.afii10066=1073,n.afii10067=1074,n.afii10068=1075,n.afii10069=1076,n.afii10070=1077,n.afii10071=1105,n.afii10072=1078,n.afii10073=1079,n.afii10074=1080,n.afii10075=1081,n.afii10076=1082,n.afii10077=1083,n.afii10078=1084,n.afii10079=1085,n.afii10080=1086,n.afii10081=1087,n.afii10082=1088,n.afii10083=1089,n.afii10084=1090,n.afii10085=1091,n.afii10086=1092,n.afii10087=1093,n.afii10088=1094,n.afii10089=1095,n.afii10090=1096,n.afii10091=1097,n.afii10092=1098,n.afii10093=1099,n.afii10094=1100,n.afii10095=1101,n.afii10096=1102,n.afii10097=1103,n.afii10098=1169,n.afii10099=1106,n.afii10100=1107,n.afii10101=1108,n.afii10102=1109,n.afii10103=1110,n.afii10104=1111,n.afii10105=1112,n.afii10106=1113,n.afii10107=1114,n.afii10108=1115,n.afii10109=1116,n.afii10110=1118,n.afii10145=1039,n.afii10146=1122,n.afii10147=1138,n.afii10148=1140,n.afii10192=63174,n.afii10193=1119,n.afii10194=1123,n.afii10195=1139,n.afii10196=1141,n.afii10831=63175,n.afii10832=63176,n.afii10846=1241,n.afii299=8206,n.afii300=8207,n.afii301=8205,n.afii57381=1642,n.afii57388=1548,n.afii57392=1632,n.afii57393=1633,n.afii57394=1634,n.afii57395=1635,n.afii57396=1636,n.afii57397=1637,n.afii57398=1638,n.afii57399=1639,n.afii57400=1640,n.afii57401=1641,n.afii57403=1563,n.afii57407=1567,n.afii57409=1569,n.afii57410=1570,n.afii57411=1571,n.afii57412=1572,n.afii57413=1573,n.afii57414=1574,n.afii57415=1575,n.afii57416=1576,n.afii57417=1577,n.afii57418=1578,n.afii57419=1579,n.afii57420=1580,n.afii57421=1581,n.afii57422=1582,n.afii57423=1583,n.afii57424=1584,n.afii57425=1585,n.afii57426=1586,n.afii57427=1587,n.afii57428=1588,n.afii57429=1589,n.afii57430=1590,n.afii57431=1591,n.afii57432=1592,n.afii57433=1593,n.afii57434=1594,n.afii57440=1600,n.afii57441=1601,n.afii57442=1602,n.afii57443=1603,n.afii57444=1604,n.afii57445=1605,n.afii57446=1606,n.afii57448=1608,n.afii57449=1609,n.afii57450=1610,n.afii57451=1611,n.afii57452=1612,n.afii57453=1613,n.afii57454=1614,n.afii57455=1615,n.afii57456=1616,n.afii57457=1617,n.afii57458=1618,n.afii57470=1607,n.afii57505=1700,n.afii57506=1662,n.afii57507=1670,n.afii57508=1688,n.afii57509=1711,n.afii57511=1657,n.afii57512=1672,n.afii57513=1681,n.afii57514=1722,n.afii57519=1746,n.afii57534=1749,n.afii57636=8362,n.afii57645=1470,n.afii57658=1475,n.afii57664=1488,n.afii57665=1489,n.afii57666=1490,n.afii57667=1491,n.afii57668=1492,n.afii57669=1493,n.afii57670=1494,n.afii57671=1495,n.afii57672=1496,n.afii57673=1497,n.afii57674=1498,n.afii57675=1499,n.afii57676=1500,n.afii57677=1501,n.afii57678=1502,n.afii57679=1503,n.afii57680=1504,n.afii57681=1505,n.afii57682=1506,n.afii57683=1507,n.afii57684=1508,n.afii57685=1509,n.afii57686=1510,n.afii57687=1511,n.afii57688=1512,n.afii57689=1513,n.afii57690=1514,n.afii57694=64298,n.afii57695=64299,n.afii57700=64331,n.afii57705=64287,n.afii57716=1520,n.afii57717=1521,n.afii57718=1522,n.afii57723=64309,n.afii57793=1460,n.afii57794=1461,n.afii57795=1462,n.afii57796=1467,n.afii57797=1464,n.afii57798=1463,n.afii57799=1456,n.afii57800=1458,n.afii57801=1457,n.afii57802=1459,n.afii57803=1474,n.afii57804=1473,n.afii57806=1465,n.afii57807=1468,n.afii57839=1469,n.afii57841=1471,n.afii57842=1472,n.afii57929=700,n.afii61248=8453,n.afii61289=8467,n.afii61352=8470,n.afii61573=8236,n.afii61574=8237,n.afii61575=8238,n.afii61664=8204,n.afii63167=1645,n.afii64937=701,n.agrave=224,n.agujarati=2693,n.agurmukhi=2565,n.ahiragana=12354,n.ahookabove=7843,n.aibengali=2448,n.aibopomofo=12574,n.aideva=2320,n.aiecyrillic=1237,n.aigujarati=2704,n.aigurmukhi=2576,n.aimatragurmukhi=2632,n.ainarabic=1593,n.ainfinalarabic=65226,n.aininitialarabic=65227,n.ainmedialarabic=65228,n.ainvertedbreve=515,n.aivowelsignbengali=2504,n.aivowelsigndeva=2376,n.aivowelsigngujarati=2760,n.akatakana=12450,n.akatakanahalfwidth=65393,n.akorean=12623,n.alef=1488,n.alefarabic=1575,n.alefdageshhebrew=64304,n.aleffinalarabic=65166,n.alefhamzaabovearabic=1571,n.alefhamzaabovefinalarabic=65156,n.alefhamzabelowarabic=1573,n.alefhamzabelowfinalarabic=65160,n.alefhebrew=1488,n.aleflamedhebrew=64335,n.alefmaddaabovearabic=1570,n.alefmaddaabovefinalarabic=65154,n.alefmaksuraarabic=1609,n.alefmaksurafinalarabic=65264,n.alefmaksurainitialarabic=65267,n.alefmaksuramedialarabic=65268,n.alefpatahhebrew=64302,n.alefqamatshebrew=64303,n.aleph=8501,n.allequal=8780,n.alpha=945,n.alphatonos=940,n.amacron=257,n.amonospace=65345,n.ampersand=38,n.ampersandmonospace=65286,n.ampersandsmall=63270,n.amsquare=13250,n.anbopomofo=12578,n.angbopomofo=12580,n.angbracketleft=12296,n.angbracketright=12297,n.angkhankhuthai=3674,n.angle=8736,n.anglebracketleft=12296,n.anglebracketleftvertical=65087,n.anglebracketright=12297,n.anglebracketrightvertical=65088,n.angleleft=9001,n.angleright=9002,n.angstrom=8491,n.anoteleia=903,n.anudattadeva=2386,n.anusvarabengali=2434,n.anusvaradeva=2306,n.anusvaragujarati=2690,n.aogonek=261,n.apaatosquare=13056,n.aparen=9372,n.apostrophearmenian=1370,n.apostrophemod=700,n.apple=63743,n.approaches=8784,n.approxequal=8776,n.approxequalorimage=8786,n.approximatelyequal=8773,n.araeaekorean=12686,n.araeakorean=12685,n.arc=8978,n.arighthalfring=7834,n.aring=229,n.aringacute=507,n.aringbelow=7681,n.arrowboth=8596,n.arrowdashdown=8675,n.arrowdashleft=8672,n.arrowdashright=8674,n.arrowdashup=8673,n.arrowdblboth=8660,n.arrowdbldown=8659,n.arrowdblleft=8656,n.arrowdblright=8658,n.arrowdblup=8657,n.arrowdown=8595,n.arrowdownleft=8601,n.arrowdownright=8600,n.arrowdownwhite=8681,n.arrowheaddownmod=709,n.arrowheadleftmod=706,n.arrowheadrightmod=707,n.arrowheadupmod=708,n.arrowhorizex=63719,n.arrowleft=8592,n.arrowleftdbl=8656,n.arrowleftdblstroke=8653,n.arrowleftoverright=8646,n.arrowleftwhite=8678,n.arrowright=8594,n.arrowrightdblstroke=8655,n.arrowrightheavy=10142,n.arrowrightoverleft=8644,n.arrowrightwhite=8680,n.arrowtableft=8676,n.arrowtabright=8677,n.arrowup=8593,n.arrowupdn=8597,n.arrowupdnbse=8616,n.arrowupdownbase=8616,n.arrowupleft=8598,n.arrowupleftofdown=8645,n.arrowupright=8599,n.arrowupwhite=8679,n.arrowvertex=63718,n.asciicircum=94,n.asciicircummonospace=65342,n.asciitilde=126,n.asciitildemonospace=65374,n.ascript=593,n.ascriptturned=594,n.asmallhiragana=12353,n.asmallkatakana=12449,n.asmallkatakanahalfwidth=65383,n.asterisk=42,n.asteriskaltonearabic=1645,n.asteriskarabic=1645,n.asteriskmath=8727,n.asteriskmonospace=65290,n.asterisksmall=65121,n.asterism=8258,n.asuperior=63209,n.asymptoticallyequal=8771,n.at=64,n.atilde=227,n.atmonospace=65312,n.atsmall=65131,n.aturned=592,n.aubengali=2452,n.aubopomofo=12576,n.audeva=2324,n.augujarati=2708,n.augurmukhi=2580,n.aulengthmarkbengali=2519,n.aumatragurmukhi=2636,n.auvowelsignbengali=2508,n.auvowelsigndeva=2380,n.auvowelsigngujarati=2764,n.avagrahadeva=2365,n.aybarmenian=1377,n.ayin=1506,n.ayinaltonehebrew=64288,n.ayinhebrew=1506,n.b=98,n.babengali=2476,n.backslash=92,n.backslashmonospace=65340,n.badeva=2348,n.bagujarati=2732,n.bagurmukhi=2604,n.bahiragana=12400,n.bahtthai=3647,n.bakatakana=12496,n.bar=124,n.barmonospace=65372,n.bbopomofo=12549,n.bcircle=9425,n.bdotaccent=7683,n.bdotbelow=7685,n.beamedsixteenthnotes=9836,n.because=8757,n.becyrillic=1073,n.beharabic=1576,n.behfinalarabic=65168,n.behinitialarabic=65169,n.behiragana=12409,n.behmedialarabic=65170,n.behmeeminitialarabic=64671,n.behmeemisolatedarabic=64520,n.behnoonfinalarabic=64621,n.bekatakana=12505,n.benarmenian=1378,n.bet=1489,n.beta=946,n.betasymbolgreek=976,n.betdagesh=64305,n.betdageshhebrew=64305,n.bethebrew=1489,n.betrafehebrew=64332,n.bhabengali=2477,n.bhadeva=2349,n.bhagujarati=2733,n.bhagurmukhi=2605,n.bhook=595,n.bihiragana=12403,n.bikatakana=12499,n.bilabialclick=664,n.bindigurmukhi=2562,n.birusquare=13105,n.blackcircle=9679,n.blackdiamond=9670,n.blackdownpointingtriangle=9660,n.blackleftpointingpointer=9668,n.blackleftpointingtriangle=9664,n.blacklenticularbracketleft=12304,n.blacklenticularbracketleftvertical=65083,n.blacklenticularbracketright=12305,n.blacklenticularbracketrightvertical=65084,n.blacklowerlefttriangle=9699,n.blacklowerrighttriangle=9698,n.blackrectangle=9644,n.blackrightpointingpointer=9658,n.blackrightpointingtriangle=9654,n.blacksmallsquare=9642,n.blacksmilingface=9787,n.blacksquare=9632,n.blackstar=9733,n.blackupperlefttriangle=9700,n.blackupperrighttriangle=9701,n.blackuppointingsmalltriangle=9652,n.blackuppointingtriangle=9650,n.blank=9251,n.blinebelow=7687,n.block=9608,n.bmonospace=65346,n.bobaimaithai=3610,n.bohiragana=12412,n.bokatakana=12508,n.bparen=9373,n.bqsquare=13251,n.braceex=63732,n.braceleft=123,n.braceleftbt=63731,n.braceleftmid=63730,n.braceleftmonospace=65371,n.braceleftsmall=65115,n.bracelefttp=63729,n.braceleftvertical=65079,n.braceright=125,n.bracerightbt=63742,n.bracerightmid=63741,n.bracerightmonospace=65373,n.bracerightsmall=65116,n.bracerighttp=63740,n.bracerightvertical=65080,n.bracketleft=91,n.bracketleftbt=63728,n.bracketleftex=63727,n.bracketleftmonospace=65339,n.bracketlefttp=63726,n.bracketright=93,n.bracketrightbt=63739,n.bracketrightex=63738,n.bracketrightmonospace=65341,n.bracketrighttp=63737,n.breve=728,n.brevebelowcmb=814,n.brevecmb=774,n.breveinvertedbelowcmb=815,n.breveinvertedcmb=785,n.breveinverteddoublecmb=865,n.bridgebelowcmb=810,n.bridgeinvertedbelowcmb=826,n.brokenbar=166,n.bstroke=384,n.bsuperior=63210,n.btopbar=387,n.buhiragana=12406,n.bukatakana=12502,n.bullet=8226,n.bulletinverse=9688,n.bulletoperator=8729,n.bullseye=9678,n.c=99,n.caarmenian=1390,n.cabengali=2458,n.cacute=263,n.cadeva=2330,n.cagujarati=2714,n.cagurmukhi=2586,n.calsquare=13192,n.candrabindubengali=2433,n.candrabinducmb=784,n.candrabindudeva=2305,n.candrabindugujarati=2689,n.capslock=8682,n.careof=8453,n.caron=711,n.caronbelowcmb=812,n.caroncmb=780,n.carriagereturn=8629,n.cbopomofo=12568,n.ccaron=269,n.ccedilla=231,n.ccedillaacute=7689,n.ccircle=9426,n.ccircumflex=265,n.ccurl=597,n.cdot=267,n.cdotaccent=267,n.cdsquare=13253,n.cedilla=184,n.cedillacmb=807,n.cent=162,n.centigrade=8451,n.centinferior=63199,n.centmonospace=65504,n.centoldstyle=63394,n.centsuperior=63200,n.chaarmenian=1401,n.chabengali=2459,n.chadeva=2331,n.chagujarati=2715,n.chagurmukhi=2587,n.chbopomofo=12564,n.cheabkhasiancyrillic=1213,n.checkmark=10003,n.checyrillic=1095,n.chedescenderabkhasiancyrillic=1215,n.chedescendercyrillic=1207,n.chedieresiscyrillic=1269,n.cheharmenian=1395,n.chekhakassiancyrillic=1228,n.cheverticalstrokecyrillic=1209,n.chi=967,n.chieuchacirclekorean=12919,n.chieuchaparenkorean=12823,n.chieuchcirclekorean=12905,n.chieuchkorean=12618,n.chieuchparenkorean=12809,n.chochangthai=3594,n.chochanthai=3592,n.chochingthai=3593,n.chochoethai=3596,n.chook=392,n.cieucacirclekorean=12918,n.cieucaparenkorean=12822,n.cieuccirclekorean=12904,n.cieuckorean=12616,n.cieucparenkorean=12808,n.cieucuparenkorean=12828,n.circle=9675,n.circlecopyrt=169,n.circlemultiply=8855,n.circleot=8857,n.circleplus=8853,n.circlepostalmark=12342,n.circlewithlefthalfblack=9680,n.circlewithrighthalfblack=9681,n.circumflex=710,n.circumflexbelowcmb=813,n.circumflexcmb=770,n.clear=8999,n.clickalveolar=450,n.clickdental=448,n.clicklateral=449,n.clickretroflex=451,n.club=9827,n.clubsuitblack=9827,n.clubsuitwhite=9831,n.cmcubedsquare=13220,n.cmonospace=65347,n.cmsquaredsquare=13216,n.coarmenian=1409,n.colon=58,n.colonmonetary=8353,n.colonmonospace=65306,n.colonsign=8353,n.colonsmall=65109,n.colontriangularhalfmod=721,n.colontriangularmod=720,n.comma=44,n.commaabovecmb=787,n.commaaboverightcmb=789,n.commaaccent=63171,n.commaarabic=1548,n.commaarmenian=1373,n.commainferior=63201,n.commamonospace=65292,n.commareversedabovecmb=788,n.commareversedmod=701,n.commasmall=65104,n.commasuperior=63202,n.commaturnedabovecmb=786,n.commaturnedmod=699,n.compass=9788,n.congruent=8773,n.contourintegral=8750,n.control=8963,n.controlACK=6,n.controlBEL=7,n.controlBS=8,n.controlCAN=24,n.controlCR=13,n.controlDC1=17,n.controlDC2=18,n.controlDC3=19,n.controlDC4=20,n.controlDEL=127,n.controlDLE=16,n.controlEM=25,n.controlENQ=5,n.controlEOT=4,n.controlESC=27,n.controlETB=23,n.controlETX=3,n.controlFF=12,n.controlFS=28,n.controlGS=29,n.controlHT=9,n.controlLF=10,n.controlNAK=21,n.controlNULL=0,n.controlRS=30,n.controlSI=15,n.controlSO=14,n.controlSOT=2,n.controlSTX=1,n.controlSUB=26,n.controlSYN=22,n.controlUS=31,n.controlVT=11,n.copyright=169,n.copyrightsans=63721,n.copyrightserif=63193,n.cornerbracketleft=12300,n.cornerbracketlefthalfwidth=65378,n.cornerbracketleftvertical=65089,n.cornerbracketright=12301,n.cornerbracketrighthalfwidth=65379,n.cornerbracketrightvertical=65090,n.corporationsquare=13183,n.cosquare=13255,n.coverkgsquare=13254,n.cparen=9374,n.cruzeiro=8354,n.cstretched=663,n.curlyand=8911,n.curlyor=8910,n.currency=164,n.cyrBreve=63185,n.cyrFlex=63186,n.cyrbreve=63188,n.cyrflex=63189,n.d=100,n.daarmenian=1380,n.dabengali=2470,n.dadarabic=1590,n.dadeva=2342,n.dadfinalarabic=65214,n.dadinitialarabic=65215,n.dadmedialarabic=65216,n.dagesh=1468,n.dageshhebrew=1468,n.dagger=8224,n.daggerdbl=8225,n.dagujarati=2726,n.dagurmukhi=2598,n.dahiragana=12384,n.dakatakana=12480,n.dalarabic=1583,n.dalet=1491,n.daletdagesh=64307,n.daletdageshhebrew=64307,n.dalethebrew=1491,n.dalfinalarabic=65194,n.dammaarabic=1615,n.dammalowarabic=1615,n.dammatanaltonearabic=1612,n.dammatanarabic=1612,n.danda=2404,n.dargahebrew=1447,n.dargalefthebrew=1447,n.dasiapneumatacyrilliccmb=1157,n.dblGrave=63187,n.dblanglebracketleft=12298,n.dblanglebracketleftvertical=65085,n.dblanglebracketright=12299,n.dblanglebracketrightvertical=65086,n.dblarchinvertedbelowcmb=811,n.dblarrowleft=8660,n.dblarrowright=8658,n.dbldanda=2405,n.dblgrave=63190,n.dblgravecmb=783,n.dblintegral=8748,n.dbllowline=8215,n.dbllowlinecmb=819,n.dbloverlinecmb=831,n.dblprimemod=698,n.dblverticalbar=8214,n.dblverticallineabovecmb=782,n.dbopomofo=12553,n.dbsquare=13256,n.dcaron=271,n.dcedilla=7697,n.dcircle=9427,n.dcircumflexbelow=7699,n.dcroat=273,n.ddabengali=2465,n.ddadeva=2337,n.ddagujarati=2721,n.ddagurmukhi=2593,n.ddalarabic=1672,n.ddalfinalarabic=64393,n.dddhadeva=2396,n.ddhabengali=2466,n.ddhadeva=2338,n.ddhagujarati=2722,n.ddhagurmukhi=2594,n.ddotaccent=7691,n.ddotbelow=7693,n.decimalseparatorarabic=1643,n.decimalseparatorpersian=1643,n.decyrillic=1076,n.degree=176,n.dehihebrew=1453,n.dehiragana=12391,n.deicoptic=1007,n.dekatakana=12487,n.deleteleft=9003,n.deleteright=8998,n.delta=948,n.deltaturned=397,n.denominatorminusonenumeratorbengali=2552,n.dezh=676,n.dhabengali=2471,n.dhadeva=2343,n.dhagujarati=2727,n.dhagurmukhi=2599,n.dhook=599,n.dialytikatonos=901,n.dialytikatonoscmb=836,n.diamond=9830,n.diamondsuitwhite=9826,n.dieresis=168,n.dieresisacute=63191,n.dieresisbelowcmb=804,n.dieresiscmb=776,n.dieresisgrave=63192,n.dieresistonos=901,n.dihiragana=12386,n.dikatakana=12482,n.dittomark=12291,n.divide=247,n.divides=8739,n.divisionslash=8725,n.djecyrillic=1106,n.dkshade=9619,n.dlinebelow=7695,n.dlsquare=13207,n.dmacron=273,n.dmonospace=65348,n.dnblock=9604,n.dochadathai=3598,n.dodekthai=3604,n.dohiragana=12393,n.dokatakana=12489,n.dollar=36,n.dollarinferior=63203,n.dollarmonospace=65284,n.dollaroldstyle=63268,n.dollarsmall=65129,n.dollarsuperior=63204,n.dong=8363,n.dorusquare=13094,n.dotaccent=729,n.dotaccentcmb=775,n.dotbelowcmb=803,n.dotbelowcomb=803,n.dotkatakana=12539,n.dotlessi=305,n.dotlessj=63166,n.dotlessjstrokehook=644,n.dotmath=8901,n.dottedcircle=9676,n.doubleyodpatah=64287,n.doubleyodpatahhebrew=64287,n.downtackbelowcmb=798,n.downtackmod=725,n.dparen=9375,n.dsuperior=63211,n.dtail=598,n.dtopbar=396,n.duhiragana=12389,n.dukatakana=12485,n.dz=499,n.dzaltone=675,n.dzcaron=454,n.dzcurl=677,n.dzeabkhasiancyrillic=1249,n.dzecyrillic=1109,n.dzhecyrillic=1119,n.e=101,n.eacute=233,n.earth=9793,n.ebengali=2447,n.ebopomofo=12572,n.ebreve=277,n.ecandradeva=2317,n.ecandragujarati=2701,n.ecandravowelsigndeva=2373,n.ecandravowelsigngujarati=2757,n.ecaron=283,n.ecedillabreve=7709,n.echarmenian=1381,n.echyiwnarmenian=1415,n.ecircle=9428,n.ecircumflex=234,n.ecircumflexacute=7871,n.ecircumflexbelow=7705,n.ecircumflexdotbelow=7879,n.ecircumflexgrave=7873,n.ecircumflexhookabove=7875,n.ecircumflextilde=7877,n.ecyrillic=1108,n.edblgrave=517,n.edeva=2319,n.edieresis=235,n.edot=279,n.edotaccent=279,n.edotbelow=7865,n.eegurmukhi=2575,n.eematragurmukhi=2631,n.efcyrillic=1092,n.egrave=232,n.egujarati=2703,n.eharmenian=1383,n.ehbopomofo=12573,n.ehiragana=12360,n.ehookabove=7867,n.eibopomofo=12575,n.eight=56,n.eightarabic=1640,n.eightbengali=2542,n.eightcircle=9319,n.eightcircleinversesansserif=10129,n.eightdeva=2414,n.eighteencircle=9329,n.eighteenparen=9349,n.eighteenperiod=9369,n.eightgujarati=2798,n.eightgurmukhi=2670,n.eighthackarabic=1640,n.eighthangzhou=12328,n.eighthnotebeamed=9835,n.eightideographicparen=12839,n.eightinferior=8328,n.eightmonospace=65304,n.eightoldstyle=63288,n.eightparen=9339,n.eightperiod=9359,n.eightpersian=1784,n.eightroman=8567,n.eightsuperior=8312,n.eightthai=3672,n.einvertedbreve=519,n.eiotifiedcyrillic=1125,n.ekatakana=12456,n.ekatakanahalfwidth=65396,n.ekonkargurmukhi=2676,n.ekorean=12628,n.elcyrillic=1083,n.element=8712,n.elevencircle=9322,n.elevenparen=9342,n.elevenperiod=9362,n.elevenroman=8570,n.ellipsis=8230,n.ellipsisvertical=8942,n.emacron=275,n.emacronacute=7703,n.emacrongrave=7701,n.emcyrillic=1084,n.emdash=8212,n.emdashvertical=65073,n.emonospace=65349,n.emphasismarkarmenian=1371,n.emptyset=8709,n.enbopomofo=12579,n.encyrillic=1085,n.endash=8211,n.endashvertical=65074,n.endescendercyrillic=1187,n.eng=331,n.engbopomofo=12581,n.enghecyrillic=1189,n.enhookcyrillic=1224,n.enspace=8194,n.eogonek=281,n.eokorean=12627,n.eopen=603,n.eopenclosed=666,n.eopenreversed=604,n.eopenreversedclosed=606,n.eopenreversedhook=605,n.eparen=9376,n.epsilon=949,n.epsilontonos=941,n.equal=61,n.equalmonospace=65309,n.equalsmall=65126,n.equalsuperior=8316,n.equivalence=8801,n.erbopomofo=12582,n.ercyrillic=1088,n.ereversed=600,n.ereversedcyrillic=1101,n.escyrillic=1089,n.esdescendercyrillic=1195,n.esh=643,n.eshcurl=646,n.eshortdeva=2318,n.eshortvowelsigndeva=2374,n.eshreversedloop=426,n.eshsquatreversed=645,n.esmallhiragana=12359,n.esmallkatakana=12455,n.esmallkatakanahalfwidth=65386,n.estimated=8494,n.esuperior=63212,n.eta=951,n.etarmenian=1384,n.etatonos=942,n.eth=240,n.etilde=7869,n.etildebelow=7707,n.etnahtafoukhhebrew=1425,n.etnahtafoukhlefthebrew=1425,n.etnahtahebrew=1425,n.etnahtalefthebrew=1425,n.eturned=477,n.eukorean=12641,n.euro=8364,n.evowelsignbengali=2503,n.evowelsigndeva=2375,n.evowelsigngujarati=2759,n.exclam=33,n.exclamarmenian=1372,n.exclamdbl=8252,n.exclamdown=161,n.exclamdownsmall=63393,n.exclammonospace=65281,n.exclamsmall=63265,n.existential=8707,n.ezh=658,n.ezhcaron=495,n.ezhcurl=659,n.ezhreversed=441,n.ezhtail=442,n.f=102,n.fadeva=2398,n.fagurmukhi=2654,n.fahrenheit=8457,n.fathaarabic=1614,n.fathalowarabic=1614,n.fathatanarabic=1611,n.fbopomofo=12552,n.fcircle=9429,n.fdotaccent=7711,n.feharabic=1601,n.feharmenian=1414,n.fehfinalarabic=65234,n.fehinitialarabic=65235,n.fehmedialarabic=65236,n.feicoptic=997,n.female=9792,n.ff=64256,n.f_f=64256,n.ffi=64259,n.f_f_i=64259,n.ffl=64260,n.f_f_l=64260,n.fi=64257,n.f_i=64257,n.fifteencircle=9326,n.fifteenparen=9346,n.fifteenperiod=9366,n.figuredash=8210,n.filledbox=9632,n.filledrect=9644,n.finalkaf=1498,n.finalkafdagesh=64314,n.finalkafdageshhebrew=64314,n.finalkafhebrew=1498,n.finalmem=1501,n.finalmemhebrew=1501,n.finalnun=1503,n.finalnunhebrew=1503,n.finalpe=1507,n.finalpehebrew=1507,n.finaltsadi=1509,n.finaltsadihebrew=1509,n.firsttonechinese=713,n.fisheye=9673,n.fitacyrillic=1139,n.five=53,n.fivearabic=1637,n.fivebengali=2539,n.fivecircle=9316,n.fivecircleinversesansserif=10126,n.fivedeva=2411,n.fiveeighths=8541,n.fivegujarati=2795,n.fivegurmukhi=2667,n.fivehackarabic=1637,n.fivehangzhou=12325,n.fiveideographicparen=12836,n.fiveinferior=8325,n.fivemonospace=65301,n.fiveoldstyle=63285,n.fiveparen=9336,n.fiveperiod=9356,n.fivepersian=1781,n.fiveroman=8564,n.fivesuperior=8309,n.fivethai=3669,n.fl=64258,n.f_l=64258,n.florin=402,n.fmonospace=65350,n.fmsquare=13209,n.fofanthai=3615,n.fofathai=3613,n.fongmanthai=3663,n.forall=8704,n.four=52,n.fourarabic=1636,n.fourbengali=2538,n.fourcircle=9315,n.fourcircleinversesansserif=10125,n.fourdeva=2410,n.fourgujarati=2794,n.fourgurmukhi=2666,n.fourhackarabic=1636,n.fourhangzhou=12324,n.fourideographicparen=12835,n.fourinferior=8324,n.fourmonospace=65300,n.fournumeratorbengali=2551,n.fouroldstyle=63284,n.fourparen=9335,n.fourperiod=9355,n.fourpersian=1780,n.fourroman=8563,n.foursuperior=8308,n.fourteencircle=9325,n.fourteenparen=9345,n.fourteenperiod=9365,n.fourthai=3668,n.fourthtonechinese=715,n.fparen=9377,n.fraction=8260,n.franc=8355,n.g=103,n.gabengali=2455,n.gacute=501,n.gadeva=2327,n.gafarabic=1711,n.gaffinalarabic=64403,n.gafinitialarabic=64404,n.gafmedialarabic=64405,n.gagujarati=2711,n.gagurmukhi=2583,n.gahiragana=12364,n.gakatakana=12460,n.gamma=947,n.gammalatinsmall=611,n.gammasuperior=736,n.gangiacoptic=1003,n.gbopomofo=12557,n.gbreve=287,n.gcaron=487,n.gcedilla=291,n.gcircle=9430,n.gcircumflex=285,n.gcommaaccent=291,n.gdot=289,n.gdotaccent=289,n.gecyrillic=1075,n.gehiragana=12370,n.gekatakana=12466,n.geometricallyequal=8785,n.gereshaccenthebrew=1436,n.gereshhebrew=1523,n.gereshmuqdamhebrew=1437,n.germandbls=223,n.gershayimaccenthebrew=1438,n.gershayimhebrew=1524,n.getamark=12307,n.ghabengali=2456,n.ghadarmenian=1394,n.ghadeva=2328,n.ghagujarati=2712,n.ghagurmukhi=2584,n.ghainarabic=1594,n.ghainfinalarabic=65230,n.ghaininitialarabic=65231,n.ghainmedialarabic=65232,n.ghemiddlehookcyrillic=1173,n.ghestrokecyrillic=1171,n.gheupturncyrillic=1169,n.ghhadeva=2394,n.ghhagurmukhi=2650,n.ghook=608,n.ghzsquare=13203,n.gihiragana=12366,n.gikatakana=12462,n.gimarmenian=1379,n.gimel=1490,n.gimeldagesh=64306,n.gimeldageshhebrew=64306,n.gimelhebrew=1490,n.gjecyrillic=1107,n.glottalinvertedstroke=446,n.glottalstop=660,n.glottalstopinverted=662,n.glottalstopmod=704,n.glottalstopreversed=661,n.glottalstopreversedmod=705,n.glottalstopreversedsuperior=740,n.glottalstopstroke=673,n.glottalstopstrokereversed=674,n.gmacron=7713,n.gmonospace=65351,n.gohiragana=12372,n.gokatakana=12468,n.gparen=9378,n.gpasquare=13228,n.gradient=8711,n.grave=96,n.gravebelowcmb=790,n.gravecmb=768,n.gravecomb=768,n.gravedeva=2387,n.gravelowmod=718,n.gravemonospace=65344,n.gravetonecmb=832,n.greater=62,n.greaterequal=8805,n.greaterequalorless=8923,n.greatermonospace=65310,n.greaterorequivalent=8819,n.greaterorless=8823,n.greateroverequal=8807,n.greatersmall=65125,n.gscript=609,n.gstroke=485,n.guhiragana=12368,n.guillemotleft=171,n.guillemotright=187,n.guilsinglleft=8249,n.guilsinglright=8250,n.gukatakana=12464,n.guramusquare=13080,n.gysquare=13257,n.h=104,n.haabkhasiancyrillic=1193,n.haaltonearabic=1729,n.habengali=2489,n.hadescendercyrillic=1203,n.hadeva=2361,n.hagujarati=2745,n.hagurmukhi=2617,n.haharabic=1581,n.hahfinalarabic=65186,n.hahinitialarabic=65187,n.hahiragana=12399,n.hahmedialarabic=65188,n.haitusquare=13098,n.hakatakana=12495,n.hakatakanahalfwidth=65418,n.halantgurmukhi=2637,n.hamzaarabic=1569,n.hamzalowarabic=1569,n.hangulfiller=12644,n.hardsigncyrillic=1098,n.harpoonleftbarbup=8636,n.harpoonrightbarbup=8640,n.hasquare=13258,n.hatafpatah=1458,n.hatafpatah16=1458,n.hatafpatah23=1458,n.hatafpatah2f=1458,n.hatafpatahhebrew=1458,n.hatafpatahnarrowhebrew=1458,n.hatafpatahquarterhebrew=1458,n.hatafpatahwidehebrew=1458,n.hatafqamats=1459,n.hatafqamats1b=1459,n.hatafqamats28=1459,n.hatafqamats34=1459,n.hatafqamatshebrew=1459,n.hatafqamatsnarrowhebrew=1459,n.hatafqamatsquarterhebrew=1459,n.hatafqamatswidehebrew=1459,n.hatafsegol=1457,n.hatafsegol17=1457,n.hatafsegol24=1457,n.hatafsegol30=1457,n.hatafsegolhebrew=1457,n.hatafsegolnarrowhebrew=1457,n.hatafsegolquarterhebrew=1457,n.hatafsegolwidehebrew=1457,n.hbar=295,n.hbopomofo=12559,n.hbrevebelow=7723,n.hcedilla=7721,n.hcircle=9431,n.hcircumflex=293,n.hdieresis=7719,n.hdotaccent=7715,n.hdotbelow=7717,n.he=1492,n.heart=9829,n.heartsuitblack=9829,n.heartsuitwhite=9825,n.hedagesh=64308,n.hedageshhebrew=64308,n.hehaltonearabic=1729,n.heharabic=1607,n.hehebrew=1492,n.hehfinalaltonearabic=64423,n.hehfinalalttwoarabic=65258,n.hehfinalarabic=65258,n.hehhamzaabovefinalarabic=64421,n.hehhamzaaboveisolatedarabic=64420,n.hehinitialaltonearabic=64424,n.hehinitialarabic=65259,n.hehiragana=12408,n.hehmedialaltonearabic=64425,n.hehmedialarabic=65260,n.heiseierasquare=13179,n.hekatakana=12504,n.hekatakanahalfwidth=65421,n.hekutaarusquare=13110,n.henghook=615,n.herutusquare=13113,n.het=1495,n.hethebrew=1495,n.hhook=614,n.hhooksuperior=689,n.hieuhacirclekorean=12923,n.hieuhaparenkorean=12827,n.hieuhcirclekorean=12909,n.hieuhkorean=12622,n.hieuhparenkorean=12813,n.hihiragana=12402,n.hikatakana=12498,n.hikatakanahalfwidth=65419,n.hiriq=1460,n.hiriq14=1460,n.hiriq21=1460,n.hiriq2d=1460,n.hiriqhebrew=1460,n.hiriqnarrowhebrew=1460,n.hiriqquarterhebrew=1460,n.hiriqwidehebrew=1460,n.hlinebelow=7830,n.hmonospace=65352,n.hoarmenian=1392,n.hohipthai=3627,n.hohiragana=12411,n.hokatakana=12507,n.hokatakanahalfwidth=65422,n.holam=1465,n.holam19=1465,n.holam26=1465,n.holam32=1465,n.holamhebrew=1465,n.holamnarrowhebrew=1465,n.holamquarterhebrew=1465,n.holamwidehebrew=1465,n.honokhukthai=3630,n.hookabovecomb=777,n.hookcmb=777,n.hookpalatalizedbelowcmb=801,n.hookretroflexbelowcmb=802,n.hoonsquare=13122,n.horicoptic=1001,n.horizontalbar=8213,n.horncmb=795,n.hotsprings=9832,n.house=8962,n.hparen=9379,n.hsuperior=688,n.hturned=613,n.huhiragana=12405,n.huiitosquare=13107,n.hukatakana=12501,n.hukatakanahalfwidth=65420,n.hungarumlaut=733,n.hungarumlautcmb=779,n.hv=405,n.hyphen=45,n.hypheninferior=63205,n.hyphenmonospace=65293,n.hyphensmall=65123,n.hyphensuperior=63206,n.hyphentwo=8208,n.i=105,n.iacute=237,n.iacyrillic=1103,n.ibengali=2439,n.ibopomofo=12583,n.ibreve=301,n.icaron=464,n.icircle=9432,n.icircumflex=238,n.icyrillic=1110,n.idblgrave=521,n.ideographearthcircle=12943,n.ideographfirecircle=12939,n.ideographicallianceparen=12863,n.ideographiccallparen=12858,n.ideographiccentrecircle=12965,n.ideographicclose=12294,n.ideographiccomma=12289,n.ideographiccommaleft=65380,n.ideographiccongratulationparen=12855,n.ideographiccorrectcircle=12963,n.ideographicearthparen=12847,n.ideographicenterpriseparen=12861,n.ideographicexcellentcircle=12957,n.ideographicfestivalparen=12864,n.ideographicfinancialcircle=12950,n.ideographicfinancialparen=12854,n.ideographicfireparen=12843,n.ideographichaveparen=12850,n.ideographichighcircle=12964,n.ideographiciterationmark=12293,n.ideographiclaborcircle=12952,n.ideographiclaborparen=12856,n.ideographicleftcircle=12967,n.ideographiclowcircle=12966,n.ideographicmedicinecircle=12969,n.ideographicmetalparen=12846,n.ideographicmoonparen=12842,n.ideographicnameparen=12852,n.ideographicperiod=12290,n.ideographicprintcircle=12958,n.ideographicreachparen=12867,n.ideographicrepresentparen=12857,n.ideographicresourceparen=12862,n.ideographicrightcircle=12968,n.ideographicsecretcircle=12953,n.ideographicselfparen=12866,n.ideographicsocietyparen=12851,n.ideographicspace=12288,n.ideographicspecialparen=12853,n.ideographicstockparen=12849,n.ideographicstudyparen=12859,n.ideographicsunparen=12848,n.ideographicsuperviseparen=12860,n.ideographicwaterparen=12844,n.ideographicwoodparen=12845,n.ideographiczero=12295,n.ideographmetalcircle=12942,n.ideographmooncircle=12938,n.ideographnamecircle=12948,n.ideographsuncircle=12944,n.ideographwatercircle=12940,n.ideographwoodcircle=12941,n.ideva=2311,n.idieresis=239,n.idieresisacute=7727,n.idieresiscyrillic=1253,n.idotbelow=7883,n.iebrevecyrillic=1239,n.iecyrillic=1077,n.ieungacirclekorean=12917,n.ieungaparenkorean=12821,n.ieungcirclekorean=12903,n.ieungkorean=12615,n.ieungparenkorean=12807,n.igrave=236,n.igujarati=2695,n.igurmukhi=2567,n.ihiragana=12356,n.ihookabove=7881,n.iibengali=2440,n.iicyrillic=1080,n.iideva=2312,n.iigujarati=2696,n.iigurmukhi=2568,n.iimatragurmukhi=2624,n.iinvertedbreve=523,n.iishortcyrillic=1081,n.iivowelsignbengali=2496,n.iivowelsigndeva=2368,n.iivowelsigngujarati=2752,n.ij=307,n.ikatakana=12452,n.ikatakanahalfwidth=65394,n.ikorean=12643,n.ilde=732,n.iluyhebrew=1452,n.imacron=299,n.imacroncyrillic=1251,n.imageorapproximatelyequal=8787,n.imatragurmukhi=2623,n.imonospace=65353,n.increment=8710,n.infinity=8734,n.iniarmenian=1387,n.integral=8747,n.integralbottom=8993,n.integralbt=8993,n.integralex=63733,n.integraltop=8992,n.integraltp=8992,n.intersection=8745,n.intisquare=13061,n.invbullet=9688,n.invcircle=9689,n.invsmileface=9787,n.iocyrillic=1105,n.iogonek=303,n.iota=953,n.iotadieresis=970,n.iotadieresistonos=912,n.iotalatin=617,n.iotatonos=943,n.iparen=9380,n.irigurmukhi=2674,n.ismallhiragana=12355,n.ismallkatakana=12451,n.ismallkatakanahalfwidth=65384,n.issharbengali=2554,n.istroke=616,n.isuperior=63213,n.iterationhiragana=12445,n.iterationkatakana=12541,n.itilde=297,n.itildebelow=7725,n.iubopomofo=12585,n.iucyrillic=1102,n.ivowelsignbengali=2495,n.ivowelsigndeva=2367,n.ivowelsigngujarati=2751,n.izhitsacyrillic=1141,n.izhitsadblgravecyrillic=1143,n.j=106,n.jaarmenian=1393,n.jabengali=2460,n.jadeva=2332,n.jagujarati=2716,n.jagurmukhi=2588,n.jbopomofo=12560,n.jcaron=496,n.jcircle=9433,n.jcircumflex=309,n.jcrossedtail=669,n.jdotlessstroke=607,n.jecyrillic=1112,n.jeemarabic=1580,n.jeemfinalarabic=65182,n.jeeminitialarabic=65183,n.jeemmedialarabic=65184,n.jeharabic=1688,n.jehfinalarabic=64395,n.jhabengali=2461,n.jhadeva=2333,n.jhagujarati=2717,n.jhagurmukhi=2589,n.jheharmenian=1403,n.jis=12292,n.jmonospace=65354,n.jparen=9381,n.jsuperior=690,n.k=107,n.kabashkircyrillic=1185,n.kabengali=2453,n.kacute=7729,n.kacyrillic=1082,n.kadescendercyrillic=1179,n.kadeva=2325,n.kaf=1499,n.kafarabic=1603,n.kafdagesh=64315,n.kafdageshhebrew=64315,n.kaffinalarabic=65242,n.kafhebrew=1499,n.kafinitialarabic=65243,n.kafmedialarabic=65244,n.kafrafehebrew=64333,n.kagujarati=2709,n.kagurmukhi=2581,n.kahiragana=12363,n.kahookcyrillic=1220,n.kakatakana=12459,n.kakatakanahalfwidth=65398,n.kappa=954,n.kappasymbolgreek=1008,n.kapyeounmieumkorean=12657,n.kapyeounphieuphkorean=12676,n.kapyeounpieupkorean=12664,n.kapyeounssangpieupkorean=12665,n.karoriisquare=13069,n.kashidaautoarabic=1600,n.kashidaautonosidebearingarabic=1600,n.kasmallkatakana=12533,n.kasquare=13188,n.kasraarabic=1616,n.kasratanarabic=1613,n.kastrokecyrillic=1183,n.katahiraprolongmarkhalfwidth=65392,n.kaverticalstrokecyrillic=1181,n.kbopomofo=12558,n.kcalsquare=13193,n.kcaron=489,n.kcedilla=311,n.kcircle=9434,n.kcommaaccent=311,n.kdotbelow=7731,n.keharmenian=1412,n.kehiragana=12369,n.kekatakana=12465,n.kekatakanahalfwidth=65401,n.kenarmenian=1391,n.kesmallkatakana=12534,n.kgreenlandic=312,n.khabengali=2454,n.khacyrillic=1093,n.khadeva=2326,n.khagujarati=2710,n.khagurmukhi=2582,n.khaharabic=1582,n.khahfinalarabic=65190,n.khahinitialarabic=65191,n.khahmedialarabic=65192,n.kheicoptic=999,n.khhadeva=2393,n.khhagurmukhi=2649,n.khieukhacirclekorean=12920,n.khieukhaparenkorean=12824,n.khieukhcirclekorean=12906,n.khieukhkorean=12619,n.khieukhparenkorean=12810,n.khokhaithai=3586,n.khokhonthai=3589,n.khokhuatthai=3587,n.khokhwaithai=3588,n.khomutthai=3675,n.khook=409,n.khorakhangthai=3590,n.khzsquare=13201,n.kihiragana=12365,n.kikatakana=12461,n.kikatakanahalfwidth=65399,n.kiroguramusquare=13077,n.kiromeetorusquare=13078,n.kirosquare=13076,n.kiyeokacirclekorean=12910,n.kiyeokaparenkorean=12814,n.kiyeokcirclekorean=12896,n.kiyeokkorean=12593,n.kiyeokparenkorean=12800,n.kiyeoksioskorean=12595,n.kjecyrillic=1116,n.klinebelow=7733,n.klsquare=13208,n.kmcubedsquare=13222,n.kmonospace=65355,n.kmsquaredsquare=13218,n.kohiragana=12371,n.kohmsquare=13248,n.kokaithai=3585,n.kokatakana=12467,n.kokatakanahalfwidth=65402,n.kooposquare=13086,n.koppacyrillic=1153,n.koreanstandardsymbol=12927,n.koroniscmb=835,n.kparen=9382,n.kpasquare=13226,n.ksicyrillic=1135,n.ktsquare=13263,n.kturned=670,n.kuhiragana=12367,n.kukatakana=12463,n.kukatakanahalfwidth=65400,n.kvsquare=13240,n.kwsquare=13246,n.l=108,n.labengali=2482,n.lacute=314,n.ladeva=2354,n.lagujarati=2738,n.lagurmukhi=2610,n.lakkhangyaothai=3653,n.lamaleffinalarabic=65276,n.lamalefhamzaabovefinalarabic=65272,n.lamalefhamzaaboveisolatedarabic=65271,n.lamalefhamzabelowfinalarabic=65274,n.lamalefhamzabelowisolatedarabic=65273,n.lamalefisolatedarabic=65275,n.lamalefmaddaabovefinalarabic=65270,n.lamalefmaddaaboveisolatedarabic=65269,n.lamarabic=1604,n.lambda=955,n.lambdastroke=411,n.lamed=1500,n.lameddagesh=64316,n.lameddageshhebrew=64316,n.lamedhebrew=1500,n.lamfinalarabic=65246,n.lamhahinitialarabic=64714,n.laminitialarabic=65247,n.lamjeeminitialarabic=64713,n.lamkhahinitialarabic=64715,n.lamlamhehisolatedarabic=65010,n.lammedialarabic=65248,n.lammeemhahinitialarabic=64904,n.lammeeminitialarabic=64716,n.largecircle=9711,n.lbar=410,n.lbelt=620,n.lbopomofo=12556,n.lcaron=318,n.lcedilla=316,n.lcircle=9435,n.lcircumflexbelow=7741,n.lcommaaccent=316,n.ldot=320,n.ldotaccent=320,n.ldotbelow=7735,n.ldotbelowmacron=7737,n.leftangleabovecmb=794,n.lefttackbelowcmb=792,n.less=60,n.lessequal=8804,n.lessequalorgreater=8922,n.lessmonospace=65308,n.lessorequivalent=8818,n.lessorgreater=8822,n.lessoverequal=8806,n.lesssmall=65124,n.lezh=622,n.lfblock=9612,n.lhookretroflex=621,n.lira=8356,n.liwnarmenian=1388,n.lj=457,n.ljecyrillic=1113,n.ll=63168,n.lladeva=2355,n.llagujarati=2739,n.llinebelow=7739,n.llladeva=2356,n.llvocalicbengali=2529,n.llvocalicdeva=2401,n.llvocalicvowelsignbengali=2531,n.llvocalicvowelsigndeva=2403,n.lmiddletilde=619,n.lmonospace=65356,n.lmsquare=13264,n.lochulathai=3628,n.logicaland=8743,n.logicalnot=172,n.logicalnotreversed=8976,n.logicalor=8744,n.lolingthai=3621,n.longs=383,n.lowlinecenterline=65102,n.lowlinecmb=818,n.lowlinedashed=65101,n.lozenge=9674,n.lparen=9383,n.lslash=322,n.lsquare=8467,n.lsuperior=63214,n.ltshade=9617,n.luthai=3622,n.lvocalicbengali=2444,n.lvocalicdeva=2316,n.lvocalicvowelsignbengali=2530,n.lvocalicvowelsigndeva=2402,n.lxsquare=13267,n.m=109,n.mabengali=2478,n.macron=175,n.macronbelowcmb=817,n.macroncmb=772,n.macronlowmod=717,n.macronmonospace=65507,n.macute=7743,n.madeva=2350,n.magujarati=2734,n.magurmukhi=2606,n.mahapakhhebrew=1444,n.mahapakhlefthebrew=1444,n.mahiragana=12414,n.maichattawalowleftthai=63637,n.maichattawalowrightthai=63636,n.maichattawathai=3659,n.maichattawaupperleftthai=63635,n.maieklowleftthai=63628,n.maieklowrightthai=63627,n.maiekthai=3656,n.maiekupperleftthai=63626,n.maihanakatleftthai=63620,n.maihanakatthai=3633,n.maitaikhuleftthai=63625,n.maitaikhuthai=3655,n.maitholowleftthai=63631,n.maitholowrightthai=63630,n.maithothai=3657,n.maithoupperleftthai=63629,n.maitrilowleftthai=63634,n.maitrilowrightthai=63633,n.maitrithai=3658,n.maitriupperleftthai=63632,n.maiyamokthai=3654,n.makatakana=12510,n.makatakanahalfwidth=65423,n.male=9794,n.mansyonsquare=13127,n.maqafhebrew=1470,n.mars=9794,n.masoracirclehebrew=1455,n.masquare=13187,n.mbopomofo=12551,n.mbsquare=13268,n.mcircle=9436,n.mcubedsquare=13221,n.mdotaccent=7745,n.mdotbelow=7747,n.meemarabic=1605,n.meemfinalarabic=65250,n.meeminitialarabic=65251,n.meemmedialarabic=65252,n.meemmeeminitialarabic=64721,n.meemmeemisolatedarabic=64584,n.meetorusquare=13133,n.mehiragana=12417,n.meizierasquare=13182,n.mekatakana=12513,n.mekatakanahalfwidth=65426,n.mem=1502,n.memdagesh=64318,n.memdageshhebrew=64318,n.memhebrew=1502,n.menarmenian=1396,n.merkhahebrew=1445,n.merkhakefulahebrew=1446,n.merkhakefulalefthebrew=1446,n.merkhalefthebrew=1445,n.mhook=625,n.mhzsquare=13202,n.middledotkatakanahalfwidth=65381,n.middot=183,n.mieumacirclekorean=12914,n.mieumaparenkorean=12818,n.mieumcirclekorean=12900,n.mieumkorean=12609,n.mieumpansioskorean=12656,n.mieumparenkorean=12804,n.mieumpieupkorean=12654,n.mieumsioskorean=12655,n.mihiragana=12415,n.mikatakana=12511,n.mikatakanahalfwidth=65424,n.minus=8722,n.minusbelowcmb=800,n.minuscircle=8854,n.minusmod=727,n.minusplus=8723,n.minute=8242,n.miribaarusquare=13130,n.mirisquare=13129,n.mlonglegturned=624,n.mlsquare=13206,n.mmcubedsquare=13219,n.mmonospace=65357,n.mmsquaredsquare=13215,n.mohiragana=12418,n.mohmsquare=13249,n.mokatakana=12514,n.mokatakanahalfwidth=65427,n.molsquare=13270,n.momathai=3617,n.moverssquare=13223,n.moverssquaredsquare=13224,n.mparen=9384,n.mpasquare=13227,n.mssquare=13235,n.msuperior=63215,n.mturned=623,n.mu=181,n.mu1=181,n.muasquare=13186,n.muchgreater=8811,n.muchless=8810,n.mufsquare=13196,n.mugreek=956,n.mugsquare=13197,n.muhiragana=12416,n.mukatakana=12512,n.mukatakanahalfwidth=65425,n.mulsquare=13205,n.multiply=215,n.mumsquare=13211,n.munahhebrew=1443,n.munahlefthebrew=1443,n.musicalnote=9834,n.musicalnotedbl=9835,n.musicflatsign=9837,n.musicsharpsign=9839,n.mussquare=13234,n.muvsquare=13238,n.muwsquare=13244,n.mvmegasquare=13241,n.mvsquare=13239,n.mwmegasquare=13247,n.mwsquare=13245,n.n=110,n.nabengali=2472,n.nabla=8711,n.nacute=324,n.nadeva=2344,n.nagujarati=2728,n.nagurmukhi=2600,n.nahiragana=12394,n.nakatakana=12490,n.nakatakanahalfwidth=65413,n.napostrophe=329,n.nasquare=13185,n.nbopomofo=12555,n.nbspace=160,n.ncaron=328,n.ncedilla=326,n.ncircle=9437,n.ncircumflexbelow=7755,n.ncommaaccent=326,n.ndotaccent=7749,n.ndotbelow=7751,n.nehiragana=12397,n.nekatakana=12493,n.nekatakanahalfwidth=65416,n.newsheqelsign=8362,n.nfsquare=13195,n.ngabengali=2457,n.ngadeva=2329,n.ngagujarati=2713,n.ngagurmukhi=2585,n.ngonguthai=3591,n.nhiragana=12435,n.nhookleft=626,n.nhookretroflex=627,n.nieunacirclekorean=12911,n.nieunaparenkorean=12815,n.nieuncieuckorean=12597,n.nieuncirclekorean=12897,n.nieunhieuhkorean=12598,n.nieunkorean=12596,n.nieunpansioskorean=12648,n.nieunparenkorean=12801,n.nieunsioskorean=12647,n.nieuntikeutkorean=12646,n.nihiragana=12395,n.nikatakana=12491,n.nikatakanahalfwidth=65414,n.nikhahitleftthai=63641,n.nikhahitthai=3661,n.nine=57,n.ninearabic=1641,n.ninebengali=2543,n.ninecircle=9320,n.ninecircleinversesansserif=10130,n.ninedeva=2415,n.ninegujarati=2799,n.ninegurmukhi=2671,n.ninehackarabic=1641,n.ninehangzhou=12329,n.nineideographicparen=12840,n.nineinferior=8329,n.ninemonospace=65305,n.nineoldstyle=63289,n.nineparen=9340,n.nineperiod=9360,n.ninepersian=1785,n.nineroman=8568,n.ninesuperior=8313,n.nineteencircle=9330,n.nineteenparen=9350,n.nineteenperiod=9370,n.ninethai=3673,n.nj=460,n.njecyrillic=1114,n.nkatakana=12531,n.nkatakanahalfwidth=65437,n.nlegrightlong=414,n.nlinebelow=7753,n.nmonospace=65358,n.nmsquare=13210,n.nnabengali=2467,n.nnadeva=2339,n.nnagujarati=2723,n.nnagurmukhi=2595,n.nnnadeva=2345,n.nohiragana=12398,n.nokatakana=12494,n.nokatakanahalfwidth=65417,n.nonbreakingspace=160,n.nonenthai=3603,n.nonuthai=3609,n.noonarabic=1606,n.noonfinalarabic=65254,n.noonghunnaarabic=1722,n.noonghunnafinalarabic=64415,n.nooninitialarabic=65255,n.noonjeeminitialarabic=64722,n.noonjeemisolatedarabic=64587,n.noonmedialarabic=65256,n.noonmeeminitialarabic=64725,n.noonmeemisolatedarabic=64590,n.noonnoonfinalarabic=64653,n.notcontains=8716,n.notelement=8713,n.notelementof=8713,n.notequal=8800,n.notgreater=8815,n.notgreaternorequal=8817,n.notgreaternorless=8825,n.notidentical=8802,n.notless=8814,n.notlessnorequal=8816,n.notparallel=8742,n.notprecedes=8832,n.notsubset=8836,n.notsucceeds=8833,n.notsuperset=8837,n.nowarmenian=1398,n.nparen=9385,n.nssquare=13233,n.nsuperior=8319,n.ntilde=241,n.nu=957,n.nuhiragana=12396,n.nukatakana=12492,n.nukatakanahalfwidth=65415,n.nuktabengali=2492,n.nuktadeva=2364,n.nuktagujarati=2748,n.nuktagurmukhi=2620,n.numbersign=35,n.numbersignmonospace=65283,n.numbersignsmall=65119,n.numeralsigngreek=884,n.numeralsignlowergreek=885,n.numero=8470,n.nun=1504,n.nundagesh=64320,n.nundageshhebrew=64320,n.nunhebrew=1504,n.nvsquare=13237,n.nwsquare=13243,n.nyabengali=2462,n.nyadeva=2334,n.nyagujarati=2718,n.nyagurmukhi=2590,n.o=111,n.oacute=243,n.oangthai=3629,n.obarred=629,n.obarredcyrillic=1257,n.obarreddieresiscyrillic=1259,n.obengali=2451,n.obopomofo=12571,n.obreve=335,n.ocandradeva=2321,n.ocandragujarati=2705,n.ocandravowelsigndeva=2377,n.ocandravowelsigngujarati=2761,n.ocaron=466,n.ocircle=9438,n.ocircumflex=244,n.ocircumflexacute=7889,n.ocircumflexdotbelow=7897,n.ocircumflexgrave=7891,n.ocircumflexhookabove=7893,n.ocircumflextilde=7895,n.ocyrillic=1086,n.odblacute=337,n.odblgrave=525,n.odeva=2323,n.odieresis=246,n.odieresiscyrillic=1255,n.odotbelow=7885,n.oe=339,n.oekorean=12634,n.ogonek=731,n.ogonekcmb=808,n.ograve=242,n.ogujarati=2707,n.oharmenian=1413,n.ohiragana=12362,n.ohookabove=7887,n.ohorn=417,n.ohornacute=7899,n.ohorndotbelow=7907,n.ohorngrave=7901,n.ohornhookabove=7903,n.ohorntilde=7905,n.ohungarumlaut=337,n.oi=419,n.oinvertedbreve=527,n.okatakana=12458,n.okatakanahalfwidth=65397,n.okorean=12631,n.olehebrew=1451,n.omacron=333,n.omacronacute=7763,n.omacrongrave=7761,n.omdeva=2384,n.omega=969,n.omega1=982,n.omegacyrillic=1121,n.omegalatinclosed=631,n.omegaroundcyrillic=1147,n.omegatitlocyrillic=1149,n.omegatonos=974,n.omgujarati=2768,n.omicron=959,n.omicrontonos=972,n.omonospace=65359,n.one=49,n.onearabic=1633,n.onebengali=2535,n.onecircle=9312,n.onecircleinversesansserif=10122,n.onedeva=2407,n.onedotenleader=8228,n.oneeighth=8539,n.onefitted=63196,n.onegujarati=2791,n.onegurmukhi=2663,n.onehackarabic=1633,n.onehalf=189,n.onehangzhou=12321,n.oneideographicparen=12832,n.oneinferior=8321,n.onemonospace=65297,n.onenumeratorbengali=2548,n.oneoldstyle=63281,n.oneparen=9332,n.oneperiod=9352,n.onepersian=1777,n.onequarter=188,n.oneroman=8560,n.onesuperior=185,n.onethai=3665,n.onethird=8531,n.oogonek=491,n.oogonekmacron=493,n.oogurmukhi=2579,n.oomatragurmukhi=2635,n.oopen=596,n.oparen=9386,n.openbullet=9702,n.option=8997,n.ordfeminine=170,n.ordmasculine=186,n.orthogonal=8735,n.oshortdeva=2322,n.oshortvowelsigndeva=2378,n.oslash=248,n.oslashacute=511,n.osmallhiragana=12361,n.osmallkatakana=12457,n.osmallkatakanahalfwidth=65387,n.ostrokeacute=511,n.osuperior=63216,n.otcyrillic=1151,n.otilde=245,n.otildeacute=7757,n.otildedieresis=7759,n.oubopomofo=12577,n.overline=8254,n.overlinecenterline=65098,n.overlinecmb=773,n.overlinedashed=65097,n.overlinedblwavy=65100,n.overlinewavy=65099,n.overscore=175,n.ovowelsignbengali=2507,n.ovowelsigndeva=2379,n.ovowelsigngujarati=2763,n.p=112,n.paampssquare=13184,n.paasentosquare=13099,n.pabengali=2474,n.pacute=7765,n.padeva=2346,n.pagedown=8671,n.pageup=8670,n.pagujarati=2730,n.pagurmukhi=2602,n.pahiragana=12401,n.paiyannoithai=3631,n.pakatakana=12497,n.palatalizationcyrilliccmb=1156,n.palochkacyrillic=1216,n.pansioskorean=12671,n.paragraph=182,n.parallel=8741,n.parenleft=40,n.parenleftaltonearabic=64830,n.parenleftbt=63725,n.parenleftex=63724,n.parenleftinferior=8333,n.parenleftmonospace=65288,n.parenleftsmall=65113,n.parenleftsuperior=8317,n.parenlefttp=63723,n.parenleftvertical=65077,n.parenright=41,n.parenrightaltonearabic=64831,n.parenrightbt=63736,n.parenrightex=63735,n.parenrightinferior=8334,n.parenrightmonospace=65289,n.parenrightsmall=65114,n.parenrightsuperior=8318,n.parenrighttp=63734,n.parenrightvertical=65078,n.partialdiff=8706,n.paseqhebrew=1472,n.pashtahebrew=1433,n.pasquare=13225,n.patah=1463,n.patah11=1463,n.patah1d=1463,n.patah2a=1463,n.patahhebrew=1463,n.patahnarrowhebrew=1463,n.patahquarterhebrew=1463,n.patahwidehebrew=1463,n.pazerhebrew=1441,n.pbopomofo=12550,n.pcircle=9439,n.pdotaccent=7767,n.pe=1508,n.pecyrillic=1087,n.pedagesh=64324,n.pedageshhebrew=64324,n.peezisquare=13115,n.pefinaldageshhebrew=64323,n.peharabic=1662,n.peharmenian=1402,n.pehebrew=1508,n.pehfinalarabic=64343,n.pehinitialarabic=64344,n.pehiragana=12410,n.pehmedialarabic=64345,n.pekatakana=12506,n.pemiddlehookcyrillic=1191,n.perafehebrew=64334,n.percent=37,n.percentarabic=1642,n.percentmonospace=65285,n.percentsmall=65130,n.period=46,n.periodarmenian=1417,n.periodcentered=183,n.periodhalfwidth=65377,n.periodinferior=63207,n.periodmonospace=65294,n.periodsmall=65106,n.periodsuperior=63208,n.perispomenigreekcmb=834,n.perpendicular=8869,n.perthousand=8240,n.peseta=8359,n.pfsquare=13194,n.phabengali=2475,n.phadeva=2347,n.phagujarati=2731,n.phagurmukhi=2603,n.phi=966,n.phi1=981,n.phieuphacirclekorean=12922,n.phieuphaparenkorean=12826,n.phieuphcirclekorean=12908,n.phieuphkorean=12621,n.phieuphparenkorean=12812,n.philatin=632,n.phinthuthai=3642,n.phisymbolgreek=981,n.phook=421,n.phophanthai=3614,n.phophungthai=3612,n.phosamphaothai=3616,n.pi=960,n.pieupacirclekorean=12915,n.pieupaparenkorean=12819,n.pieupcieuckorean=12662,n.pieupcirclekorean=12901,n.pieupkiyeokkorean=12658,n.pieupkorean=12610,n.pieupparenkorean=12805,n.pieupsioskiyeokkorean=12660,n.pieupsioskorean=12612,n.pieupsiostikeutkorean=12661,n.pieupthieuthkorean=12663,n.pieuptikeutkorean=12659,n.pihiragana=12404,n.pikatakana=12500,n.pisymbolgreek=982,n.piwrarmenian=1411,n.planckover2pi=8463,n.planckover2pi1=8463,n.plus=43,n.plusbelowcmb=799,n.pluscircle=8853,n.plusminus=177,n.plusmod=726,n.plusmonospace=65291,n.plussmall=65122,n.plussuperior=8314,n.pmonospace=65360,n.pmsquare=13272,n.pohiragana=12413,n.pointingindexdownwhite=9759,n.pointingindexleftwhite=9756,n.pointingindexrightwhite=9758,n.pointingindexupwhite=9757,n.pokatakana=12509,n.poplathai=3611,n.postalmark=12306,n.postalmarkface=12320,n.pparen=9387,n.precedes=8826,n.prescription=8478,n.primemod=697,n.primereversed=8245,n.product=8719,n.projective=8965,n.prolongedkana=12540,n.propellor=8984,n.propersubset=8834,n.propersuperset=8835,n.proportion=8759,n.proportional=8733,n.psi=968,n.psicyrillic=1137,n.psilipneumatacyrilliccmb=1158,n.pssquare=13232,n.puhiragana=12407,n.pukatakana=12503,n.pvsquare=13236,n.pwsquare=13242,n.q=113,n.qadeva=2392,n.qadmahebrew=1448,n.qafarabic=1602,n.qaffinalarabic=65238,n.qafinitialarabic=65239,n.qafmedialarabic=65240,n.qamats=1464,n.qamats10=1464,n.qamats1a=1464,n.qamats1c=1464,n.qamats27=1464,n.qamats29=1464,n.qamats33=1464,n.qamatsde=1464,n.qamatshebrew=1464,n.qamatsnarrowhebrew=1464,n.qamatsqatanhebrew=1464,n.qamatsqatannarrowhebrew=1464,n.qamatsqatanquarterhebrew=1464,n.qamatsqatanwidehebrew=1464,n.qamatsquarterhebrew=1464,n.qamatswidehebrew=1464,n.qarneyparahebrew=1439,n.qbopomofo=12561,n.qcircle=9440,n.qhook=672,n.qmonospace=65361,n.qof=1511,n.qofdagesh=64327,n.qofdageshhebrew=64327,n.qofhebrew=1511,n.qparen=9388,n.quarternote=9833,n.qubuts=1467,n.qubuts18=1467,n.qubuts25=1467,n.qubuts31=1467,n.qubutshebrew=1467,n.qubutsnarrowhebrew=1467,n.qubutsquarterhebrew=1467,n.qubutswidehebrew=1467,n.question=63,n.questionarabic=1567,n.questionarmenian=1374,n.questiondown=191,n.questiondownsmall=63423,n.questiongreek=894,n.questionmonospace=65311,n.questionsmall=63295,n.quotedbl=34,n.quotedblbase=8222,n.quotedblleft=8220,n.quotedblmonospace=65282,n.quotedblprime=12318,n.quotedblprimereversed=12317,n.quotedblright=8221,n.quoteleft=8216,n.quoteleftreversed=8219,n.quotereversed=8219,n.quoteright=8217,n.quoterightn=329,n.quotesinglbase=8218,n.quotesingle=39,n.quotesinglemonospace=65287,n.r=114,n.raarmenian=1404,n.rabengali=2480,n.racute=341,n.radeva=2352,n.radical=8730,n.radicalex=63717,n.radoverssquare=13230,n.radoverssquaredsquare=13231,n.radsquare=13229,n.rafe=1471,n.rafehebrew=1471,n.ragujarati=2736,n.ragurmukhi=2608,n.rahiragana=12425,n.rakatakana=12521,n.rakatakanahalfwidth=65431,n.ralowerdiagonalbengali=2545,n.ramiddlediagonalbengali=2544,n.ramshorn=612,n.ratio=8758,n.rbopomofo=12566,n.rcaron=345,n.rcedilla=343,n.rcircle=9441,n.rcommaaccent=343,n.rdblgrave=529,n.rdotaccent=7769,n.rdotbelow=7771,n.rdotbelowmacron=7773,n.referencemark=8251,n.reflexsubset=8838,n.reflexsuperset=8839,n.registered=174,n.registersans=63720,n.registerserif=63194,n.reharabic=1585,n.reharmenian=1408,n.rehfinalarabic=65198,n.rehiragana=12428,n.rekatakana=12524,n.rekatakanahalfwidth=65434,n.resh=1512,n.reshdageshhebrew=64328,n.reshhebrew=1512,n.reversedtilde=8765,n.reviahebrew=1431,n.reviamugrashhebrew=1431,n.revlogicalnot=8976,n.rfishhook=638,n.rfishhookreversed=639,n.rhabengali=2525,n.rhadeva=2397,n.rho=961,n.rhook=637,n.rhookturned=635,n.rhookturnedsuperior=693,n.rhosymbolgreek=1009,n.rhotichookmod=734,n.rieulacirclekorean=12913,n.rieulaparenkorean=12817,n.rieulcirclekorean=12899,n.rieulhieuhkorean=12608,n.rieulkiyeokkorean=12602,n.rieulkiyeoksioskorean=12649,n.rieulkorean=12601,n.rieulmieumkorean=12603,n.rieulpansioskorean=12652,n.rieulparenkorean=12803,n.rieulphieuphkorean=12607,n.rieulpieupkorean=12604,n.rieulpieupsioskorean=12651,n.rieulsioskorean=12605,n.rieulthieuthkorean=12606,n.rieultikeutkorean=12650,n.rieulyeorinhieuhkorean=12653,n.rightangle=8735,n.righttackbelowcmb=793,n.righttriangle=8895,n.rihiragana=12426,n.rikatakana=12522,n.rikatakanahalfwidth=65432,n.ring=730,n.ringbelowcmb=805,n.ringcmb=778,n.ringhalfleft=703,n.ringhalfleftarmenian=1369,n.ringhalfleftbelowcmb=796,n.ringhalfleftcentered=723,n.ringhalfright=702,n.ringhalfrightbelowcmb=825,n.ringhalfrightcentered=722,n.rinvertedbreve=531,n.rittorusquare=13137,n.rlinebelow=7775,n.rlongleg=636,n.rlonglegturned=634,n.rmonospace=65362,n.rohiragana=12429,n.rokatakana=12525,n.rokatakanahalfwidth=65435,n.roruathai=3619,n.rparen=9389,n.rrabengali=2524,n.rradeva=2353,n.rragurmukhi=2652,n.rreharabic=1681,n.rrehfinalarabic=64397,n.rrvocalicbengali=2528,n.rrvocalicdeva=2400,n.rrvocalicgujarati=2784,n.rrvocalicvowelsignbengali=2500,n.rrvocalicvowelsigndeva=2372,n.rrvocalicvowelsigngujarati=2756,n.rsuperior=63217,n.rtblock=9616,n.rturned=633,n.rturnedsuperior=692,n.ruhiragana=12427,n.rukatakana=12523,n.rukatakanahalfwidth=65433,n.rupeemarkbengali=2546,n.rupeesignbengali=2547,n.rupiah=63197,n.ruthai=3620,n.rvocalicbengali=2443,n.rvocalicdeva=2315,n.rvocalicgujarati=2699,n.rvocalicvowelsignbengali=2499,n.rvocalicvowelsigndeva=2371,n.rvocalicvowelsigngujarati=2755,n.s=115,n.sabengali=2488,n.sacute=347,n.sacutedotaccent=7781,n.sadarabic=1589,n.sadeva=2360,n.sadfinalarabic=65210,n.sadinitialarabic=65211,n.sadmedialarabic=65212,n.sagujarati=2744,n.sagurmukhi=2616,n.sahiragana=12373,n.sakatakana=12469,n.sakatakanahalfwidth=65403,n.sallallahoualayhewasallamarabic=65018,n.samekh=1505,n.samekhdagesh=64321,n.samekhdageshhebrew=64321,n.samekhhebrew=1505,n.saraaathai=3634,n.saraaethai=3649,n.saraaimaimalaithai=3652,n.saraaimaimuanthai=3651,n.saraamthai=3635,n.saraathai=3632,n.saraethai=3648,n.saraiileftthai=63622,n.saraiithai=3637,n.saraileftthai=63621,n.saraithai=3636,n.saraothai=3650,n.saraueeleftthai=63624,n.saraueethai=3639,n.saraueleftthai=63623,n.sarauethai=3638,n.sarauthai=3640,n.sarauuthai=3641,n.sbopomofo=12569,n.scaron=353,n.scarondotaccent=7783,n.scedilla=351,n.schwa=601,n.schwacyrillic=1241,n.schwadieresiscyrillic=1243,n.schwahook=602,n.scircle=9442,n.scircumflex=349,n.scommaaccent=537,n.sdotaccent=7777,n.sdotbelow=7779,n.sdotbelowdotaccent=7785,n.seagullbelowcmb=828,n.second=8243,n.secondtonechinese=714,n.section=167,n.seenarabic=1587,n.seenfinalarabic=65202,n.seeninitialarabic=65203,n.seenmedialarabic=65204,n.segol=1462,n.segol13=1462,n.segol1f=1462,n.segol2c=1462,n.segolhebrew=1462,n.segolnarrowhebrew=1462,n.segolquarterhebrew=1462,n.segoltahebrew=1426,n.segolwidehebrew=1462,n.seharmenian=1405,n.sehiragana=12379,n.sekatakana=12475,n.sekatakanahalfwidth=65406,n.semicolon=59,n.semicolonarabic=1563,n.semicolonmonospace=65307,n.semicolonsmall=65108,n.semivoicedmarkkana=12444,n.semivoicedmarkkanahalfwidth=65439,n.sentisquare=13090,n.sentosquare=13091,n.seven=55,n.sevenarabic=1639,n.sevenbengali=2541,n.sevencircle=9318,n.sevencircleinversesansserif=10128,n.sevendeva=2413,n.seveneighths=8542,n.sevengujarati=2797,n.sevengurmukhi=2669,n.sevenhackarabic=1639,n.sevenhangzhou=12327,n.sevenideographicparen=12838,n.seveninferior=8327,n.sevenmonospace=65303,n.sevenoldstyle=63287,n.sevenparen=9338,n.sevenperiod=9358,n.sevenpersian=1783,n.sevenroman=8566,n.sevensuperior=8311,n.seventeencircle=9328,n.seventeenparen=9348,n.seventeenperiod=9368,n.seventhai=3671,n.sfthyphen=173,n.shaarmenian=1399,n.shabengali=2486,n.shacyrillic=1096,n.shaddaarabic=1617,n.shaddadammaarabic=64609,n.shaddadammatanarabic=64606,n.shaddafathaarabic=64608,n.shaddakasraarabic=64610,n.shaddakasratanarabic=64607,n.shade=9618,n.shadedark=9619,n.shadelight=9617,n.shademedium=9618,n.shadeva=2358,n.shagujarati=2742,n.shagurmukhi=2614,n.shalshelethebrew=1427,n.shbopomofo=12565,n.shchacyrillic=1097,n.sheenarabic=1588,n.sheenfinalarabic=65206,n.sheeninitialarabic=65207,n.sheenmedialarabic=65208,n.sheicoptic=995,n.sheqel=8362,n.sheqelhebrew=8362,n.sheva=1456,n.sheva115=1456,n.sheva15=1456,n.sheva22=1456,n.sheva2e=1456,n.shevahebrew=1456,n.shevanarrowhebrew=1456,n.shevaquarterhebrew=1456,n.shevawidehebrew=1456,n.shhacyrillic=1211,n.shimacoptic=1005,n.shin=1513,n.shindagesh=64329,n.shindageshhebrew=64329,n.shindageshshindot=64300,n.shindageshshindothebrew=64300,n.shindageshsindot=64301,n.shindageshsindothebrew=64301,n.shindothebrew=1473,n.shinhebrew=1513,n.shinshindot=64298,n.shinshindothebrew=64298,n.shinsindot=64299,n.shinsindothebrew=64299,n.shook=642,n.sigma=963,n.sigma1=962,n.sigmafinal=962,n.sigmalunatesymbolgreek=1010,n.sihiragana=12375,n.sikatakana=12471,n.sikatakanahalfwidth=65404,n.siluqhebrew=1469,n.siluqlefthebrew=1469,n.similar=8764,n.sindothebrew=1474,n.siosacirclekorean=12916,n.siosaparenkorean=12820,n.sioscieuckorean=12670,n.sioscirclekorean=12902,n.sioskiyeokkorean=12666,n.sioskorean=12613,n.siosnieunkorean=12667,n.siosparenkorean=12806,n.siospieupkorean=12669,n.siostikeutkorean=12668,n.six=54,n.sixarabic=1638,n.sixbengali=2540,n.sixcircle=9317,n.sixcircleinversesansserif=10127,n.sixdeva=2412,n.sixgujarati=2796,n.sixgurmukhi=2668,n.sixhackarabic=1638,n.sixhangzhou=12326,n.sixideographicparen=12837,n.sixinferior=8326,n.sixmonospace=65302,n.sixoldstyle=63286,n.sixparen=9337,n.sixperiod=9357,n.sixpersian=1782,n.sixroman=8565,n.sixsuperior=8310,n.sixteencircle=9327,n.sixteencurrencydenominatorbengali=2553,n.sixteenparen=9347,n.sixteenperiod=9367,n.sixthai=3670,n.slash=47,n.slashmonospace=65295,n.slong=383,n.slongdotaccent=7835,n.smileface=9786,n.smonospace=65363,n.sofpasuqhebrew=1475,n.softhyphen=173,n.softsigncyrillic=1100,n.sohiragana=12381,n.sokatakana=12477,n.sokatakanahalfwidth=65407,n.soliduslongoverlaycmb=824,n.solidusshortoverlaycmb=823,n.sorusithai=3625,n.sosalathai=3624,n.sosothai=3595,n.sosuathai=3626,n.space=32,n.spacehackarabic=32,n.spade=9824,n.spadesuitblack=9824,n.spadesuitwhite=9828,n.sparen=9390,n.squarebelowcmb=827,n.squarecc=13252,n.squarecm=13213,n.squarediagonalcrosshatchfill=9641,n.squarehorizontalfill=9636,n.squarekg=13199,n.squarekm=13214,n.squarekmcapital=13262,n.squareln=13265,n.squarelog=13266,n.squaremg=13198,n.squaremil=13269,n.squaremm=13212,n.squaremsquared=13217,n.squareorthogonalcrosshatchfill=9638,n.squareupperlefttolowerrightfill=9639,n.squareupperrighttolowerleftfill=9640,n.squareverticalfill=9637,n.squarewhitewithsmallblack=9635,n.srsquare=13275,n.ssabengali=2487,n.ssadeva=2359,n.ssagujarati=2743,n.ssangcieuckorean=12617,n.ssanghieuhkorean=12677,n.ssangieungkorean=12672,n.ssangkiyeokkorean=12594,n.ssangnieunkorean=12645,n.ssangpieupkorean=12611,n.ssangsioskorean=12614,n.ssangtikeutkorean=12600,n.ssuperior=63218,n.sterling=163,n.sterlingmonospace=65505,n.strokelongoverlaycmb=822,n.strokeshortoverlaycmb=821,n.subset=8834,n.subsetnotequal=8842,n.subsetorequal=8838,n.succeeds=8827,n.suchthat=8715,n.suhiragana=12377,n.sukatakana=12473,n.sukatakanahalfwidth=65405,n.sukunarabic=1618,n.summation=8721,n.sun=9788,n.superset=8835,n.supersetnotequal=8843,n.supersetorequal=8839,n.svsquare=13276,n.syouwaerasquare=13180,n.t=116,n.tabengali=2468,n.tackdown=8868,n.tackleft=8867,n.tadeva=2340,n.tagujarati=2724,n.tagurmukhi=2596,n.taharabic=1591,n.tahfinalarabic=65218,n.tahinitialarabic=65219,n.tahiragana=12383,n.tahmedialarabic=65220,n.taisyouerasquare=13181,n.takatakana=12479,n.takatakanahalfwidth=65408,n.tatweelarabic=1600,n.tau=964,n.tav=1514,n.tavdages=64330,n.tavdagesh=64330,n.tavdageshhebrew=64330,n.tavhebrew=1514,n.tbar=359,n.tbopomofo=12554,n.tcaron=357,n.tccurl=680,n.tcedilla=355,n.tcheharabic=1670,n.tchehfinalarabic=64379,n.tchehinitialarabic=64380,n.tchehmedialarabic=64381,n.tcircle=9443,n.tcircumflexbelow=7793,n.tcommaaccent=355,n.tdieresis=7831,n.tdotaccent=7787,n.tdotbelow=7789,n.tecyrillic=1090,n.tedescendercyrillic=1197,n.teharabic=1578,n.tehfinalarabic=65174,n.tehhahinitialarabic=64674,n.tehhahisolatedarabic=64524,n.tehinitialarabic=65175,n.tehiragana=12390,n.tehjeeminitialarabic=64673,n.tehjeemisolatedarabic=64523,n.tehmarbutaarabic=1577,n.tehmarbutafinalarabic=65172,n.tehmedialarabic=65176,n.tehmeeminitialarabic=64676,n.tehmeemisolatedarabic=64526,n.tehnoonfinalarabic=64627,n.tekatakana=12486,n.tekatakanahalfwidth=65411,n.telephone=8481,n.telephoneblack=9742,n.telishagedolahebrew=1440,n.telishaqetanahebrew=1449,n.tencircle=9321,n.tenideographicparen=12841,n.tenparen=9341,n.tenperiod=9361,n.tenroman=8569,n.tesh=679,n.tet=1496,n.tetdagesh=64312,n.tetdageshhebrew=64312,n.tethebrew=1496,n.tetsecyrillic=1205,n.tevirhebrew=1435,n.tevirlefthebrew=1435,n.thabengali=2469,n.thadeva=2341,n.thagujarati=2725,n.thagurmukhi=2597,n.thalarabic=1584,n.thalfinalarabic=65196,n.thanthakhatlowleftthai=63640,n.thanthakhatlowrightthai=63639,n.thanthakhatthai=3660,n.thanthakhatupperleftthai=63638,n.theharabic=1579,n.thehfinalarabic=65178,n.thehinitialarabic=65179,n.thehmedialarabic=65180,n.thereexists=8707,n.therefore=8756,n.theta=952,n.theta1=977,n.thetasymbolgreek=977,n.thieuthacirclekorean=12921,n.thieuthaparenkorean=12825,n.thieuthcirclekorean=12907,n.thieuthkorean=12620,n.thieuthparenkorean=12811,n.thirteencircle=9324,n.thirteenparen=9344,n.thirteenperiod=9364,n.thonangmonthothai=3601,n.thook=429,n.thophuthaothai=3602,n.thorn=254,n.thothahanthai=3607,n.thothanthai=3600,n.thothongthai=3608,n.thothungthai=3606,n.thousandcyrillic=1154,n.thousandsseparatorarabic=1644,n.thousandsseparatorpersian=1644,n.three=51,n.threearabic=1635,n.threebengali=2537,n.threecircle=9314,n.threecircleinversesansserif=10124,n.threedeva=2409,n.threeeighths=8540,n.threegujarati=2793,n.threegurmukhi=2665,n.threehackarabic=1635,n.threehangzhou=12323,n.threeideographicparen=12834,n.threeinferior=8323,n.threemonospace=65299,n.threenumeratorbengali=2550,n.threeoldstyle=63283,n.threeparen=9334,n.threeperiod=9354,n.threepersian=1779,n.threequarters=190,n.threequartersemdash=63198,n.threeroman=8562,n.threesuperior=179,n.threethai=3667,n.thzsquare=13204,n.tihiragana=12385,n.tikatakana=12481,n.tikatakanahalfwidth=65409,n.tikeutacirclekorean=12912,n.tikeutaparenkorean=12816,n.tikeutcirclekorean=12898,n.tikeutkorean=12599,n.tikeutparenkorean=12802,n.tilde=732,n.tildebelowcmb=816,n.tildecmb=771,n.tildecomb=771,n.tildedoublecmb=864,n.tildeoperator=8764,n.tildeoverlaycmb=820,n.tildeverticalcmb=830,n.timescircle=8855,n.tipehahebrew=1430,n.tipehalefthebrew=1430,n.tippigurmukhi=2672,n.titlocyrilliccmb=1155,n.tiwnarmenian=1407,n.tlinebelow=7791,n.tmonospace=65364,n.toarmenian=1385,n.tohiragana=12392,n.tokatakana=12488,n.tokatakanahalfwidth=65412,n.tonebarextrahighmod=741,n.tonebarextralowmod=745,n.tonebarhighmod=742,n.tonebarlowmod=744,n.tonebarmidmod=743,n.tonefive=445,n.tonesix=389,n.tonetwo=424,n.tonos=900,n.tonsquare=13095,n.topatakthai=3599,n.tortoiseshellbracketleft=12308,n.tortoiseshellbracketleftsmall=65117,n.tortoiseshellbracketleftvertical=65081,n.tortoiseshellbracketright=12309,n.tortoiseshellbracketrightsmall=65118,n.tortoiseshellbracketrightvertical=65082,n.totaothai=3605,n.tpalatalhook=427,n.tparen=9391,n.trademark=8482,n.trademarksans=63722,n.trademarkserif=63195,n.tretroflexhook=648,n.triagdn=9660,n.triaglf=9668,n.triagrt=9658,n.triagup=9650,n.ts=678,n.tsadi=1510,n.tsadidagesh=64326,n.tsadidageshhebrew=64326,n.tsadihebrew=1510,n.tsecyrillic=1094,n.tsere=1461,n.tsere12=1461,n.tsere1e=1461,n.tsere2b=1461,n.tserehebrew=1461,n.tserenarrowhebrew=1461,n.tserequarterhebrew=1461,n.tserewidehebrew=1461,n.tshecyrillic=1115,n.tsuperior=63219,n.ttabengali=2463,n.ttadeva=2335,n.ttagujarati=2719,n.ttagurmukhi=2591,n.tteharabic=1657,n.ttehfinalarabic=64359,n.ttehinitialarabic=64360,n.ttehmedialarabic=64361,n.tthabengali=2464,n.tthadeva=2336,n.tthagujarati=2720,n.tthagurmukhi=2592,n.tturned=647,n.tuhiragana=12388,n.tukatakana=12484,n.tukatakanahalfwidth=65410,n.tusmallhiragana=12387,n.tusmallkatakana=12483,n.tusmallkatakanahalfwidth=65391,n.twelvecircle=9323,n.twelveparen=9343,n.twelveperiod=9363,n.twelveroman=8571,n.twentycircle=9331,n.twentyhangzhou=21316,n.twentyparen=9351,n.twentyperiod=9371,n.two=50,n.twoarabic=1634,n.twobengali=2536,n.twocircle=9313,n.twocircleinversesansserif=10123,n.twodeva=2408,n.twodotenleader=8229,n.twodotleader=8229,n.twodotleadervertical=65072,n.twogujarati=2792,n.twogurmukhi=2664,n.twohackarabic=1634,n.twohangzhou=12322,n.twoideographicparen=12833,n.twoinferior=8322,n.twomonospace=65298,n.twonumeratorbengali=2549,n.twooldstyle=63282,n.twoparen=9333,n.twoperiod=9353,n.twopersian=1778,n.tworoman=8561,n.twostroke=443,n.twosuperior=178,n.twothai=3666,n.twothirds=8532,n.u=117,n.uacute=250,n.ubar=649,n.ubengali=2441,n.ubopomofo=12584,n.ubreve=365,n.ucaron=468,n.ucircle=9444,n.ucircumflex=251,n.ucircumflexbelow=7799,n.ucyrillic=1091,n.udattadeva=2385,n.udblacute=369,n.udblgrave=533,n.udeva=2313,n.udieresis=252,n.udieresisacute=472,n.udieresisbelow=7795,n.udieresiscaron=474,n.udieresiscyrillic=1265,n.udieresisgrave=476,n.udieresismacron=470,n.udotbelow=7909,n.ugrave=249,n.ugujarati=2697,n.ugurmukhi=2569,n.uhiragana=12358,n.uhookabove=7911,n.uhorn=432,n.uhornacute=7913,n.uhorndotbelow=7921,n.uhorngrave=7915,n.uhornhookabove=7917,n.uhorntilde=7919,n.uhungarumlaut=369,n.uhungarumlautcyrillic=1267,n.uinvertedbreve=535,n.ukatakana=12454,n.ukatakanahalfwidth=65395,n.ukcyrillic=1145,n.ukorean=12636,n.umacron=363,n.umacroncyrillic=1263,n.umacrondieresis=7803,n.umatragurmukhi=2625,n.umonospace=65365,n.underscore=95,n.underscoredbl=8215,n.underscoremonospace=65343,n.underscorevertical=65075,n.underscorewavy=65103,n.union=8746,n.universal=8704,n.uogonek=371,n.uparen=9392,n.upblock=9600,n.upperdothebrew=1476,n.upsilon=965,n.upsilondieresis=971,n.upsilondieresistonos=944,n.upsilonlatin=650,n.upsilontonos=973,n.uptackbelowcmb=797,n.uptackmod=724,n.uragurmukhi=2675,n.uring=367,n.ushortcyrillic=1118,n.usmallhiragana=12357,n.usmallkatakana=12453,n.usmallkatakanahalfwidth=65385,n.ustraightcyrillic=1199,n.ustraightstrokecyrillic=1201,n.utilde=361,n.utildeacute=7801,n.utildebelow=7797,n.uubengali=2442,n.uudeva=2314,n.uugujarati=2698,n.uugurmukhi=2570,n.uumatragurmukhi=2626,n.uuvowelsignbengali=2498,n.uuvowelsigndeva=2370,n.uuvowelsigngujarati=2754,n.uvowelsignbengali=2497,n.uvowelsigndeva=2369,n.uvowelsigngujarati=2753,n.v=118,n.vadeva=2357,n.vagujarati=2741,n.vagurmukhi=2613,n.vakatakana=12535,n.vav=1493,n.vavdagesh=64309,n.vavdagesh65=64309,n.vavdageshhebrew=64309,n.vavhebrew=1493,n.vavholam=64331,n.vavholamhebrew=64331,n.vavvavhebrew=1520,n.vavyodhebrew=1521,n.vcircle=9445,n.vdotbelow=7807,n.vecyrillic=1074,n.veharabic=1700,n.vehfinalarabic=64363,n.vehinitialarabic=64364,n.vehmedialarabic=64365,n.vekatakana=12537,n.venus=9792,n.verticalbar=124,n.verticallineabovecmb=781,n.verticallinebelowcmb=809,n.verticallinelowmod=716,n.verticallinemod=712,n.vewarmenian=1406,n.vhook=651,n.vikatakana=12536,n.viramabengali=2509,n.viramadeva=2381,n.viramagujarati=2765,n.visargabengali=2435,n.visargadeva=2307,n.visargagujarati=2691,n.vmonospace=65366,n.voarmenian=1400,n.voicediterationhiragana=12446,n.voicediterationkatakana=12542,n.voicedmarkkana=12443,n.voicedmarkkanahalfwidth=65438,n.vokatakana=12538,n.vparen=9393,n.vtilde=7805,n.vturned=652,n.vuhiragana=12436,n.vukatakana=12532,n.w=119,n.wacute=7811,n.waekorean=12633,n.wahiragana=12431,n.wakatakana=12527,n.wakatakanahalfwidth=65436,n.wakorean=12632,n.wasmallhiragana=12430,n.wasmallkatakana=12526,n.wattosquare=13143,n.wavedash=12316,n.wavyunderscorevertical=65076,n.wawarabic=1608,n.wawfinalarabic=65262,n.wawhamzaabovearabic=1572,n.wawhamzaabovefinalarabic=65158,n.wbsquare=13277,n.wcircle=9446,n.wcircumflex=373,n.wdieresis=7813,n.wdotaccent=7815,n.wdotbelow=7817,n.wehiragana=12433,n.weierstrass=8472,n.wekatakana=12529,n.wekorean=12638,n.weokorean=12637,n.wgrave=7809,n.whitebullet=9702,n.whitecircle=9675,n.whitecircleinverse=9689,n.whitecornerbracketleft=12302,n.whitecornerbracketleftvertical=65091,n.whitecornerbracketright=12303,n.whitecornerbracketrightvertical=65092,n.whitediamond=9671,n.whitediamondcontainingblacksmalldiamond=9672,n.whitedownpointingsmalltriangle=9663,n.whitedownpointingtriangle=9661,n.whiteleftpointingsmalltriangle=9667,n.whiteleftpointingtriangle=9665,n.whitelenticularbracketleft=12310,n.whitelenticularbracketright=12311,n.whiterightpointingsmalltriangle=9657,n.whiterightpointingtriangle=9655,n.whitesmallsquare=9643,n.whitesmilingface=9786,n.whitesquare=9633,n.whitestar=9734,n.whitetelephone=9743,n.whitetortoiseshellbracketleft=12312,n.whitetortoiseshellbracketright=12313,n.whiteuppointingsmalltriangle=9653,n.whiteuppointingtriangle=9651,n.wihiragana=12432,n.wikatakana=12528,n.wikorean=12639,n.wmonospace=65367,n.wohiragana=12434,n.wokatakana=12530,n.wokatakanahalfwidth=65382,n.won=8361,n.wonmonospace=65510,n.wowaenthai=3623,n.wparen=9394,n.wring=7832,n.wsuperior=695,n.wturned=653,n.wynn=447,n.x=120,n.xabovecmb=829,n.xbopomofo=12562,n.xcircle=9447,n.xdieresis=7821,n.xdotaccent=7819,n.xeharmenian=1389,n.xi=958,n.xmonospace=65368,n.xparen=9395,n.xsuperior=739,n.y=121,n.yaadosquare=13134,n.yabengali=2479,n.yacute=253,n.yadeva=2351,n.yaekorean=12626,n.yagujarati=2735,n.yagurmukhi=2607,n.yahiragana=12420,n.yakatakana=12516,n.yakatakanahalfwidth=65428,n.yakorean=12625,n.yamakkanthai=3662,n.yasmallhiragana=12419,n.yasmallkatakana=12515,n.yasmallkatakanahalfwidth=65388,n.yatcyrillic=1123,n.ycircle=9448,n.ycircumflex=375,n.ydieresis=255,n.ydotaccent=7823,n.ydotbelow=7925,n.yeharabic=1610,n.yehbarreearabic=1746,n.yehbarreefinalarabic=64431,n.yehfinalarabic=65266,n.yehhamzaabovearabic=1574,n.yehhamzaabovefinalarabic=65162,n.yehhamzaaboveinitialarabic=65163,n.yehhamzaabovemedialarabic=65164,n.yehinitialarabic=65267,n.yehmedialarabic=65268,n.yehmeeminitialarabic=64733,n.yehmeemisolatedarabic=64600,n.yehnoonfinalarabic=64660,n.yehthreedotsbelowarabic=1745,n.yekorean=12630,n.yen=165,n.yenmonospace=65509,n.yeokorean=12629,n.yeorinhieuhkorean=12678,n.yerahbenyomohebrew=1450,n.yerahbenyomolefthebrew=1450,n.yericyrillic=1099,n.yerudieresiscyrillic=1273,n.yesieungkorean=12673,n.yesieungpansioskorean=12675,n.yesieungsioskorean=12674,n.yetivhebrew=1434,n.ygrave=7923,n.yhook=436,n.yhookabove=7927,n.yiarmenian=1397,n.yicyrillic=1111,n.yikorean=12642,n.yinyang=9775,n.yiwnarmenian=1410,n.ymonospace=65369,n.yod=1497,n.yoddagesh=64313,n.yoddageshhebrew=64313,n.yodhebrew=1497,n.yodyodhebrew=1522,n.yodyodpatahhebrew=64287,n.yohiragana=12424,n.yoikorean=12681,n.yokatakana=12520,n.yokatakanahalfwidth=65430,n.yokorean=12635,n.yosmallhiragana=12423,n.yosmallkatakana=12519,n.yosmallkatakanahalfwidth=65390,n.yotgreek=1011,n.yoyaekorean=12680,n.yoyakorean=12679,n.yoyakthai=3618,n.yoyingthai=3597,n.yparen=9396,n.ypogegrammeni=890,n.ypogegrammenigreekcmb=837,n.yr=422,n.yring=7833,n.ysuperior=696,n.ytilde=7929,n.yturned=654,n.yuhiragana=12422,n.yuikorean=12684,n.yukatakana=12518,n.yukatakanahalfwidth=65429,n.yukorean=12640,n.yusbigcyrillic=1131,n.yusbigiotifiedcyrillic=1133,n.yuslittlecyrillic=1127,n.yuslittleiotifiedcyrillic=1129,n.yusmallhiragana=12421,n.yusmallkatakana=12517,n.yusmallkatakanahalfwidth=65389,n.yuyekorean=12683,n.yuyeokorean=12682,n.yyabengali=2527,n.yyadeva=2399,n.z=122,n.zaarmenian=1382,n.zacute=378,n.zadeva=2395,n.zagurmukhi=2651,n.zaharabic=1592,n.zahfinalarabic=65222,n.zahinitialarabic=65223,n.zahiragana=12374,n.zahmedialarabic=65224,n.zainarabic=1586,n.zainfinalarabic=65200,n.zakatakana=12470,n.zaqefgadolhebrew=1429,n.zaqefqatanhebrew=1428,n.zarqahebrew=1432,n.zayin=1494,n.zayindagesh=64310,n.zayindageshhebrew=64310,n.zayinhebrew=1494,n.zbopomofo=12567,n.zcaron=382,n.zcircle=9449,n.zcircumflex=7825,n.zcurl=657,n.zdot=380,n.zdotaccent=380,n.zdotbelow=7827,n.zecyrillic=1079,n.zedescendercyrillic=1177,n.zedieresiscyrillic=1247,n.zehiragana=12380,n.zekatakana=12476,n.zero=48,n.zeroarabic=1632,n.zerobengali=2534,n.zerodeva=2406,n.zerogujarati=2790,n.zerogurmukhi=2662,n.zerohackarabic=1632,n.zeroinferior=8320,n.zeromonospace=65296,n.zerooldstyle=63280,n.zeropersian=1776,n.zerosuperior=8304,n.zerothai=3664,n.zerowidthjoiner=65279,n.zerowidthnonjoiner=8204,n.zerowidthspace=8203,n.zeta=950,n.zhbopomofo=12563,n.zhearmenian=1386,n.zhebrevecyrillic=1218,n.zhecyrillic=1078,n.zhedescendercyrillic=1175,n.zhedieresiscyrillic=1245,n.zihiragana=12376,n.zikatakana=12472,n.zinorhebrew=1454,n.zlinebelow=7829,n.zmonospace=65370,n.zohiragana=12382,n.zokatakana=12478,n.zparen=9397,n.zretroflexhook=656,n.zstroke=438,n.zuhiragana=12378,n.zukatakana=12474,n[\".notdef\"]=0,n.angbracketleftbig=9001,n.angbracketleftBig=9001,n.angbracketleftbigg=9001,n.angbracketleftBigg=9001,n.angbracketrightBig=9002,n.angbracketrightbig=9002,n.angbracketrightBigg=9002,n.angbracketrightbigg=9002,n.arrowhookleft=8618,n.arrowhookright=8617,n.arrowlefttophalf=8636,n.arrowleftbothalf=8637,n.arrownortheast=8599,n.arrownorthwest=8598,n.arrowrighttophalf=8640,n.arrowrightbothalf=8641,n.arrowsoutheast=8600,n.arrowsouthwest=8601,n.backslashbig=8726,n.backslashBig=8726,n.backslashBigg=8726,n.backslashbigg=8726,n.bardbl=8214,n.bracehtipdownleft=65079,n.bracehtipdownright=65079,n.bracehtipupleft=65080,n.bracehtipupright=65080,n.braceleftBig=123,n.braceleftbig=123,n.braceleftbigg=123,n.braceleftBigg=123,n.bracerightBig=125,n.bracerightbig=125,n.bracerightbigg=125,n.bracerightBigg=125,n.bracketleftbig=91,n.bracketleftBig=91,n.bracketleftbigg=91,n.bracketleftBigg=91,n.bracketrightBig=93,n.bracketrightbig=93,n.bracketrightbigg=93,n.bracketrightBigg=93,n.ceilingleftbig=8968,n.ceilingleftBig=8968,n.ceilingleftBigg=8968,n.ceilingleftbigg=8968,n.ceilingrightbig=8969,n.ceilingrightBig=8969,n.ceilingrightbigg=8969,n.ceilingrightBigg=8969,n.circledotdisplay=8857,n.circledottext=8857,n.circlemultiplydisplay=8855,n.circlemultiplytext=8855,n.circleplusdisplay=8853,n.circleplustext=8853,n.contintegraldisplay=8750,n.contintegraltext=8750,n.coproductdisplay=8720,n.coproducttext=8720,n.floorleftBig=8970,n.floorleftbig=8970,n.floorleftbigg=8970,n.floorleftBigg=8970,n.floorrightbig=8971,n.floorrightBig=8971,n.floorrightBigg=8971,n.floorrightbigg=8971,n.hatwide=770,n.hatwider=770,n.hatwidest=770,n.intercal=7488,n.integraldisplay=8747,n.integraltext=8747,n.intersectiondisplay=8898,n.intersectiontext=8898,n.logicalanddisplay=8743,n.logicalandtext=8743,n.logicalordisplay=8744,n.logicalortext=8744,n.parenleftBig=40,n.parenleftbig=40,n.parenleftBigg=40,n.parenleftbigg=40,n.parenrightBig=41,n.parenrightbig=41,n.parenrightBigg=41,n.parenrightbigg=41,n.prime=8242,n.productdisplay=8719,n.producttext=8719,n.radicalbig=8730,n.radicalBig=8730,n.radicalBigg=8730,n.radicalbigg=8730,n.radicalbt=8730,n.radicaltp=8730,n.radicalvertex=8730,n.slashbig=47,n.slashBig=47,n.slashBigg=47,n.slashbigg=47,n.summationdisplay=8721,n.summationtext=8721,n.tildewide=732,n.tildewider=732,n.tildewidest=732,n.uniondisplay=8899,n.unionmultidisplay=8846,n.unionmultitext=8846,n.unionsqdisplay=8852,n.unionsqtext=8852,n.uniontext=8899,n.vextenddouble=8741,n.vextendsingle=8739}),aq=Gt(function(n){n.space=32,n.a1=9985,n.a2=9986,n.a202=9987,n.a3=9988,n.a4=9742,n.a5=9990,n.a119=9991,n.a118=9992,n.a117=9993,n.a11=9755,n.a12=9758,n.a13=9996,n.a14=9997,n.a15=9998,n.a16=9999,n.a105=1e4,n.a17=10001,n.a18=10002,n.a19=10003,n.a20=10004,n.a21=10005,n.a22=10006,n.a23=10007,n.a24=10008,n.a25=10009,n.a26=10010,n.a27=10011,n.a28=10012,n.a6=10013,n.a7=10014,n.a8=10015,n.a9=10016,n.a10=10017,n.a29=10018,n.a30=10019,n.a31=10020,n.a32=10021,n.a33=10022,n.a34=10023,n.a35=9733,n.a36=10025,n.a37=10026,n.a38=10027,n.a39=10028,n.a40=10029,n.a41=10030,n.a42=10031,n.a43=10032,n.a44=10033,n.a45=10034,n.a46=10035,n.a47=10036,n.a48=10037,n.a49=10038,n.a50=10039,n.a51=10040,n.a52=10041,n.a53=10042,n.a54=10043,n.a55=10044,n.a56=10045,n.a57=10046,n.a58=10047,n.a59=10048,n.a60=10049,n.a61=10050,n.a62=10051,n.a63=10052,n.a64=10053,n.a65=10054,n.a66=10055,n.a67=10056,n.a68=10057,n.a69=10058,n.a70=10059,n.a71=9679,n.a72=10061,n.a73=9632,n.a74=10063,n.a203=10064,n.a75=10065,n.a204=10066,n.a76=9650,n.a77=9660,n.a78=9670,n.a79=10070,n.a81=9687,n.a82=10072,n.a83=10073,n.a84=10074,n.a97=10075,n.a98=10076,n.a99=10077,n.a100=10078,n.a101=10081,n.a102=10082,n.a103=10083,n.a104=10084,n.a106=10085,n.a107=10086,n.a108=10087,n.a112=9827,n.a111=9830,n.a110=9829,n.a109=9824,n.a120=9312,n.a121=9313,n.a122=9314,n.a123=9315,n.a124=9316,n.a125=9317,n.a126=9318,n.a127=9319,n.a128=9320,n.a129=9321,n.a130=10102,n.a131=10103,n.a132=10104,n.a133=10105,n.a134=10106,n.a135=10107,n.a136=10108,n.a137=10109,n.a138=10110,n.a139=10111,n.a140=10112,n.a141=10113,n.a142=10114,n.a143=10115,n.a144=10116,n.a145=10117,n.a146=10118,n.a147=10119,n.a148=10120,n.a149=10121,n.a150=10122,n.a151=10123,n.a152=10124,n.a153=10125,n.a154=10126,n.a155=10127,n.a156=10128,n.a157=10129,n.a158=10130,n.a159=10131,n.a160=10132,n.a161=8594,n.a163=8596,n.a164=8597,n.a196=10136,n.a165=10137,n.a192=10138,n.a166=10139,n.a167=10140,n.a168=10141,n.a169=10142,n.a170=10143,n.a171=10144,n.a172=10145,n.a173=10146,n.a162=10147,n.a174=10148,n.a175=10149,n.a176=10150,n.a177=10151,n.a178=10152,n.a179=10153,n.a193=10154,n.a180=10155,n.a199=10156,n.a181=10157,n.a200=10158,n.a182=10159,n.a201=10161,n.a183=10162,n.a184=10163,n.a197=10164,n.a185=10165,n.a194=10166,n.a198=10167,n.a186=10168,n.a195=10169,n.a187=10170,n.a188=10171,n.a189=10172,n.a190=10173,n.a191=10174,n.a89=10088,n.a90=10089,n.a93=10090,n.a94=10091,n.a91=10092,n.a92=10093,n.a205=10094,n.a85=10095,n.a206=10096,n.a86=10097,n.a87=10098,n.a88=10099,n.a95=10100,n.a96=10101,n[\".notdef\"]=0}),oq=Gt(function(n){n[63721]=169,n[63193]=169,n[63720]=174,n[63194]=174,n[63722]=8482,n[63195]=8482,n[63718]=9168,n[63719]=9135,n[63733]=9134,n[63729]=9127,n[63730]=9128,n[63731]=9129,n[63740]=9131,n[63741]=9132,n[63742]=9133,n[63726]=9121,n[63727]=9122,n[63728]=9123,n[63737]=9124,n[63738]=9125,n[63739]=9126,n[63723]=9115,n[63724]=9116,n[63725]=9117,n[63734]=9118,n[63735]=9119,n[63736]=9120});function lq(n){return n>=65520&&n<=65535?0:n>=62976&&n<=63743?oq()[n]||n:n===173?45:n}function Oo(n,e){let t=e[n];if(t!==void 0)return t;if(!n)return-1;if(n[0]===\"u\"){let s=n.length,i;if(s===7&&n[1]===\"n\"&&n[2]===\"i\")i=n.substring(3);else if(s>=5&&s<=7)i=n.substring(1);else return-1;if(i===i.toUpperCase()&&(t=parseInt(i,16),t>=0))return t}return-1}var fm=[[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 cq(n,e=-1){if(e!==-1){let t=fm[e];for(let s=0,i=t.length;s<i;s+=2)if(n>=t[s]&&n<=t[s+1])return e}for(let t=0,s=fm.length;t<s;t++){let i=fm[t];for(let r=0,a=i.length;r<a;r+=2)if(n>=i[r]&&n<=i[r+1])return t}return-1}var fq=/^(?:(\\s+)|(\\p{Mn}+)|(\\p{Cf}+))$/u,g1=new Map;function hq(n){let e=g1.get(n);if(e)return e;let t=n.match(fq),s={isWhitespace:!!t?.[1],isZeroWidthDiacritic:!!t?.[2],isInvisibleFormatMark:!!t?.[3]};return g1.set(n,s),s}function uq(){g1.clear()}var Hs={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144},fh=[\".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\"];function Q8(n,e){if(e[n]!==void 0)return n;let t=Oo(n,e);if(t!==-1){for(let s in e)if(e[s]===t)return s}return kt(\"Unable to recover a standard glyph name for: \"+n),n}function hm(n,e){let t=new Map,{length:s}=n;for(let i=0;i<s;i++){let r=e.indexOf(n[i]);t.set(i,r>=0?r:0)}return t}function Z8(n,e,t){let s,i;if(n.isInternalFont)s=hm(e,t);else if(n.baseEncodingName)s=hm(gc(n.baseEncodingName),t);else if(n.flags&Hs.Symbolic){s=new Map;for(let r in e)s.set(+r,e[r])}else s=hm(cr,t);if(n.differences)for(let[r,a]of n.differences){let o=t.indexOf(a);if(o===-1){i??=gi();let l=Q8(a,i);l!==a&&(o=t.indexOf(l))}s.set(r,o>=0?o:0)}return s}function Mr(n){return n.replaceAll(/[,_]/g,\"-\").replaceAll(/\\s/g,\"\")}var dq=Gt(n=>{n[8211]=65074,n[8212]=65073,n[8229]=65072,n[8230]=65049,n[12289]=65041,n[12290]=65042,n[12296]=65087,n[12297]=65088,n[12298]=65085,n[12299]=65086,n[12300]=65089,n[12301]=65090,n[12302]=65091,n[12303]=65092,n[12304]=65083,n[12305]=65084,n[12308]=65081,n[12309]=65082,n[12310]=65047,n[12311]=65048,n[65103]=65076,n[65281]=65045,n[65288]=65077,n[65289]=65078,n[65292]=65040,n[65306]=65043,n[65307]=65044,n[65311]=65046,n[65339]=65095,n[65341]=65096,n[65343]=65075,n[65371]=65079,n[65373]=65080}),pq=new Set([8208,8213,8214,12312,12313,12316,12448,12540,65309,65372,65374,65375,65376]),cy=1e3;function mq({data:n,width:e,height:t}){if(e>cy||t>cy)return null;let s=1e3,i=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),r=e+1,a=new Uint8Array(r*(t+1)),o,l,c,f=e+7&-8,h=new Uint8Array(f*t),u=0;for(let j of n){let A=128;for(;A>0;)h[u++]=j&A?0:255,A>>=1}let d=0;for(u=0,h[u]!==0&&(a[0]=1,++d),l=1;l<e;l++)h[u]!==h[u+1]&&(a[l]=h[u]?2:1,++d),u++;for(h[u]!==0&&(a[l]=2,++d),o=1;o<t;o++){u=o*f,c=o*r,h[u-f]!==h[u]&&(a[c]=h[u]?1:8,++d);let j=(h[u]?4:0)+(h[u-f]?8:0);for(l=1;l<e;l++)j=(j>>2)+(h[u+1]?4:0)+(h[u-f+1]?8:0),i[j]&&(a[c+l]=i[j],++d),u++;if(h[u-f]!==h[u]&&(a[c+l]=h[u]?2:4,++d),d>s)return null}for(u=f*(t-1),c=o*r,h[u]!==0&&(a[c]=8,++d),l=1;l<e;l++)h[u]!==h[u+1]&&(a[c+l]=h[u]?4:8,++d),u++;if(h[u]!==0&&(a[c+l]=4,++d),d>s)return null;let p=new Int32Array([0,r,-1,0,-r,0,0,0,1]),m=[],{a:g,b,c:x,d:w,e:v,f:k}=new DOMMatrix().scaleSelf(1/e,-1/t).translateSelf(0,-t);for(o=0;d&&o<=t;o++){let j=o*r,A=j+e;for(;j<A&&!a[j];)j++;if(j===A)continue;let S=j%r,q=o;m.push(zt.moveTo,g*S+x*q+v,b*S+w*q+k);let _=j,I=a[j];do{let C=p[I];do j+=C;while(!a[j]);let T=a[j];T!==5&&T!==10?(I=T,a[j]=0):(I=T&51*I>>4,a[j]&=I>>2|I<<2),S=j%r,q=j/r|0,m.push(zt.lineTo,g*S+x*q+v,b*S+w*q+k),a[j]||--d}while(_!==j);--o}return[F.rawFillPath,[new Float32Array(m)],new Float32Array([0,0,e,t])]}fA();var gq=[\".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\"],bq=[\".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\"],wq=[\".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\"],dn=class{#e;#n=1024;#t=!1;#s=0;#i;constructor({exactLength:e=0,minLength:t=0}){this.#t=!!e,this.#r(e||t)}#r(e){if(this.#t)this.#n=e;else for(;this.#n<e;)this.#n*=2;let t=new Uint8Array(this.#n);this.#e&&t.set(this.#e,0),this.#e=t,this.#i=new DataView(t.buffer)}get data(){return this.#e.subarray(0,this.#s)}get length(){return this.#s}skip(e){this.#s+=e}setArray(e){let t=this.#s+e.length;!this.#t&&t>this.#n&&this.#r(t),this.#e.set(e,this.#s),this.#s=t}setInt16(e){let t=this.#s+2;!this.#t&&t>this.#n&&this.#r(t),this.#i.setInt16(this.#s,e),this.#s=t}setSafeInt16(e){let t=this.#s+2;!this.#t&&t>this.#n&&this.#r(t),this.#i.setInt16(this.#s,Rt(e,-32768,32767)),this.#s=t}setInt32(e){let t=this.#s+4;!this.#t&&t>this.#n&&this.#r(t),this.#i.setInt32(this.#s,e),this.#s=t}},xq=10,vq=64*1024*1024,yq=48,fy=256;function um(n,e,t,s){let{readStart:i}=n;t>i&&(e.copyWithin(n.writePos,i,t),n.writePos+=t-i),n.readStart=s}function kq(n){let e=n[0],t=0;return e===28?t=3:e>=32&&e<=246?t=1:e>=247&&e<=254?t=2:e===255&&(t=5),n[t]===14}function z0(n){return n>32767&&n<=65535}function dm(n,e=!1){return ft.normalizeRect(n.map((t,s)=>(!e||s<2)&&z0(t)?t-65536:t))}var U0=[\".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\"],S0=391,b1=.039625,e4=7,t4=1,n4=.06,fo=[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},{id:\"return\",min: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},{id:\"vhcurveto\",min:4,resetStack:!0},{id:\"hvcurveto\",min:4,resetStack:!0}],jq=[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(n,e){n[e-2]=n[e-2]+n[e-1]}},{id:\"sub\",min:2,stackDelta:-1,stackFn(n,e){n[e-2]=n[e-2]-n[e-1]}},{id:\"div\",min:2,stackDelta:-1,stackFn(n,e){n[e-2]=n[e-2]/n[e-1]}},null,{id:\"neg\",min:1,stackDelta:0,stackFn(n,e){n[e-1]=-n[e-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(n,e){n[e-2]=n[e-2]*n[e-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}],bc=class{#e=new Map;#n=0;#t=new Map;constructor(e,t,s){this.bytes=e.getBytes(),this.properties=t,this.seacAnalysisEnabled=!!s}parse(){let e=this.properties,t=new hh(this.bytes.length);this.cff=t;let s=this.parseHeader(),i=this.parseIndex(s.endPos),r=this.parseIndex(i.endPos),a=this.parseIndex(r.endPos),o=this.parseIndex(a.endPos),l=this.parseDict(r.obj.get(0)),c=this.createDict(xc,l,t.strings);t.header=s.obj,t.names=this.parseNameIndex(i.obj),t.strings=this.parseStringIndex(a.obj),t.topDict=c,t.globalSubrIndex=o.obj,this.parsePrivateDict(t.topDict),t.isCIDFont=c.hasName(\"ROS\");let f=c.getByName(\"CharStrings\"),h=this.parseIndex(f).obj;t.charStringCount=h.count;let u=c.getByName(\"FontMatrix\");u&&(e.fontMatrix=u);let d=c.getByName(\"FontBBox\"),p=e.bbox?.some(v=>v!==0)?dm(e.bbox):null,m=d?.slice(0,2).some(z0),g=d?.some(z0);if(d?.every(v=>v===0)&&p)d=p,c.setByName(\"FontBBox\",d);else if(g){let v=dm(d),k=p&&e.bbox.some(j=>j<0)&&!e.bbox.some(z0)&&qa(v,p);(k||m)&&(d=k?v:dm(d,!0),c.setByName(\"FontBBox\",d))}d?.some(v=>v!==0)&&(e.ascent=Math.max(d[3],d[1]),e.descent=Math.min(d[1],d[3]),e.ascentScaled=!0);let b,x;if(t.isCIDFont){let v=this.parseIndex(c.getByName(\"FDArray\")).obj,k=v.count;k>fy&&(B(`CFFParser.parse: too many FDArray entries (${k}).`),k=fy);for(let j=0;j<k;++j){let A=v.get(j),S=this.createDict(xc,this.parseDict(A),t.strings);this.parsePrivateDict(S),t.fdArray.push(S)}x=null,b=this.parseCharsets(c.getByName(\"charset\"),h.count,t.strings,!0),t.fdSelect=this.parseFDSelect(c.getByName(\"FDSelect\"),h.count)}else b=this.parseCharsets(c.getByName(\"charset\"),h.count,t.strings,!1),x=this.parseEncoding(c.getByName(\"Encoding\"),e,t.strings,b.charset);t.charset=b,t.encoding=x;let w=this.parseCharStrings({charStrings:h,localSubrIndex:c.privateDict.subrsIndex,globalSubrIndex:o.obj,fdSelect:t.fdSelect,fdArray:t.fdArray,privateDict:c.privateDict});return t.charStrings=w.charStrings,t.seacs=w.seacs,t.widths=w.widths,t}parseHeader(){let e=this.bytes,t=e.length,s=0;for(;s<t&&e[s]!==1;)++s;if(s>=t)throw new se(\"Invalid CFF header\");s!==0&&(kt(\"cff data is shifted\"),e=e.subarray(s),this.bytes=e);let i=e[0],r=e[1],a=e[2],o=e[3];return{obj:new uh(i,r,a,o),endPos:a}}parseDict(e){let t=new DataView(e.buffer,e.byteOffset,e.bytesLength),s=0;function i(){let c=e[s++];return c===30?r():c===28?(c=t.getInt16(s),s+=2,c):c===29?(c=t.getInt32(s),s+=4,c):c>=32&&c<=246?c-139:c>=247&&c<=250?(c-247)*256+e[s++]+108:c>=251&&c<=254?-((c-251)*256)-e[s++]-108:(B(`CFFParser.parseDict: \"${c}\" is a reserved command.`),NaN)}function r(){let c=\"\",h=[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\".\",\"E\",\"E-\",null,\"-\"],u=e.length;for(;s<u;){let d=e[s++],p=d>>4,m=d&15;if(p===15||(c+=h[p],m===15))break;c+=h[m]}return parseFloat(c)}let a=[],o=[];s=0;let l=e.length;for(;s<l;){let c=e[s];c<=21?(c===12&&(c=c<<8|e[++s]),o.push([c,a]),a=[],++s):a.push(i())}return o}parseIndex(e){let t=new Ni,s=this.bytes,i=s[e++]<<8|s[e++],r=[],a=e,o,l;if(i!==0){let c=s[e++];if(c<1||c>4)throw new se(`Invalid CFF INDEX offset size: ${c}`);let f=e+(i+1)*c-1,h=s.length,u=f;for(o=0,l=i+1;o<l;++o){let d=0;for(let p=0;p<c;++p)d=d<<8|s[e++];u=Rt(f+d,u,h),r.push(u)}a=r[i]}for(o=0,l=r.length-1;o<l;++o){let c=r[o],f=r[o+1];t.add(s.subarray(c,f))}return{obj:t,endPos:a}}parseNameIndex(e){let t=[];for(let s=0,i=e.count;s<i;++s){let r=e.get(s);t.push(ms(r))}return t}parseStringIndex(e){let t=new wc;for(let s=0,i=e.count;s<i;++s){let r=e.get(s);t.add(ms(r))}return t}createDict(e,t,s){let i=new e(s);for(let[r,a]of t)i.setByKey(r,a);return i}parseCharString(e,t,s,i){if(!t||e.callDepth>xq)return!1;let r={readStart:0,writePos:0};try{return this.#s(e,t,s,i,r)}finally{let{readStart:a,writePos:o}=r;a>0&&(t.copyWithin(o,a),t.fill(14,t.length-a+o))}}#s(e,t,s,i,r){let a=new DataView(t.buffer,t.byteOffset,t.bytesLength),o=e.stackSize,{stack:l,argStarts:c}=e,f=t.length;for(let h=0;h<f;){c[o]=h;let u=t[h++];if(++e.tokens>vq||o>yq)return B(\"Charstring exceeds the execution limits.\"),!1;let d=null;if(u===12){let p=t[h++];p===0?(t[h-2]=139,t[h-1]=22,o=0):d=jq[p]}else if(u===28)l[o]=a.getInt16(h),h+=2,o++;else if(u===14){if(o>=4&&(o-=4,this.seacAnalysisEnabled))return e.seac=l.slice(o,o+4),!1;d=fo[u]}else if(u>=32&&u<=246)l[o]=u-139,o++;else if(u>=247&&u<=254)l[o]=u<251?(u-247<<8)+t[h]+108:-(u-251<<8)-t[h]-108,h++,o++;else if(u===255)l[o]=a.getInt32(h)/65536,h+=4,o++;else if(u===19||u===20){if(e.hints+=o>>1,e.hints===0){um(r,t,h-1,h);continue}h+=e.hints+7>>3,o%=2,d=fo[u]}else if(u===10||u===29){let p=u===10?s:i;if(!p)return d=fo[u],B(\"Missing subrsIndex for \"+d.id),!1;let m=32768;p.count<1240?m=107:p.count<33900&&(m=1131);let g=l[--o]+m;if(g<0||g>=p.count||isNaN(g))return d=fo[u],B(\"Out of bounds subrIndex for \"+d.id),!1;if(e.stackSize=o,e.callDepth++,!this.parseCharString(e,p.get(g),s,i))return!1;e.callDepth--,o=e.stackSize,c[0]=-1;continue}else{if(u===11)return e.stackSize=o,!0;if(u===0&&h===t.length)t[h-1]=14,d=fo[14];else if(u===9){um(r,t,h-1,h);continue}else d=fo[u]}if(d){if(d.stem&&(e.hints+=o>>1,u===3||u===23?e.hasVStems=!0:e.hasVStems&&(u===1||u===18)&&(B(\"CFF stem hints are in wrong order\"),t[h-1]=u===1?3:23)),o<d.min)return B(\"Not enough parameters for \"+d.id+\"; actual: \"+o+\", expected: \"+d.min),o===0?(t[h-1]=14,!0):!1;if(d.stackClearing){let p=d.stem?o%2:o-d.min;e.firstStackClearing&&p>0&&(e.width=l[--p]),e.firstStackClearing=!1,p>0&&e.callDepth===0&&c[0]>=r.readStart&&um(r,t,c[0],c[p])}\"stackDelta\"in d?(\"stackFn\"in d&&d.stackFn(l,o),o+=d.stackDelta,c[0]=-1):(d.stackClearing||d.resetStack)&&(o=0)}}return e.stackSize=o,!0}parseCharStrings({charStrings:e,localSubrIndex:t,globalSubrIndex:s,fdSelect:i,fdArray:r,privateDict:a}){let o=new Map,l=[],c=e.count;for(let f=0;f<c;f++){let h=e.get(f),u={callDepth:0,tokens:0,stackSize:0,stack:[],argStarts:[],hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1},d=!0,p=null,m=a;if(i&&r.length){let g=i.getFDIndex(f);g===-1&&(B(\"Glyph index is not in fd select.\"),d=!1),g>=r.length&&(B(\"Invalid fd index for glyph index.\"),d=!1),d&&(m=r[g].privateDict,p=m.subrsIndex)}else t&&(p=t);if(d&&=this.parseCharString(u,h,p,s),u.width!==null){let g=m.getByName(\"nominalWidthX\");l[f]=g+u.width}else{let g=m.getByName(\"defaultWidthX\");l[f]=g}u.seac!==null&&o.set(f,u.seac),d||e.set(f,new Uint8Array([14]))}return{charStrings:e,seacs:o,widths:l}}emptyPrivateDictionary(e){let t=this.createDict(vc,[],e.strings);e.setByKey(18,[0,0]),e.privateDict=t}#i(e){if(this.#n+=e,this.#n>this.bytes.length)throw new se(\"CFF Private DICT data exceeds the font length\")}parsePrivateDict(e){if(!e.hasName(\"Private\")){this.emptyPrivateDictionary(e);return}let t=e.getByName(\"Private\");if(!Array.isArray(t)||t.length!==2){e.removeByName(\"Private\");return}let s=t[0],i=t[1];if(s===0||i>=this.bytes.length){this.emptyPrivateDictionary(e);return}if(i+s>this.bytes.length)throw new se(\"CFF Private DICT extends past end of font\");let r=`${i}_${s}`,a=this.#e.get(r);if(a){e.privateDict=a;return}let o=i+s,l=this.bytes.subarray(i,o);this.#i(l.length);let c=this.parseDict(l),f=this.createDict(vc,c,e.strings);e.privateDict=f,this.#e.set(r,f);let h=f.getByName(\"BlueScale\"),u=f.getByName(\"BlueShift\"),d=f.getByName(\"BlueFuzz\"),p=f.getByName(\"ExpansionFactor\");if(h===0&&u===0&&d===0&&p===0&&(f.setByName(\"BlueScale\",b1),f.setByName(\"BlueShift\",e4),f.setByName(\"BlueFuzz\",t4)),p===0&&f.setByName(\"ExpansionFactor\",n4),h>0){let b=0;for(let x of[f.getByName(\"BlueValues\"),f.getByName(\"OtherBlues\")])if(x)for(let w=1;w<x.length;w+=2)x[w]>b&&(b=x[w]);if(b>0){let w=.5/b,v=w<=b1?Math.ceil(w*1e5)/1e5:-1/0,k=Math.floor(1e5/b)/1e5,j=Rt(h,v,k);j!==h&&f.setByName(\"BlueScale\",j)}}if(!f.getByName(\"Subrs\"))return;let m=f.getByName(\"Subrs\"),g=i+m;if(m===0||g>=this.bytes.length){this.emptyPrivateDictionary(e),this.#e.set(r,e.privateDict);return}f.subrsIndex=this.#t.getOrInsertComputed(g,()=>{let{obj:b,endPos:x}=this.parseIndex(g);return this.#i(Math.max(x-g,b.count)),b})}parseCharsets(e,t,s,i){if(e===0)return new da(!0,pm.ISO_ADOBE,gq);if(e===1)return new da(!0,pm.EXPERT,bq);if(e===2)return new da(!0,pm.EXPERT_SUBSET,wq);let{bytes:r}=this,a=r[e++],o=[i?0:\".notdef\"],l,c,f;switch(t-=1,a){case 0:for(f=0;f<t;f++)l=r[e++]<<8|r[e++],o.push(i?l:s.get(l));break;case 1:for(;o.length<=t;){if(e+3>r.length){B(\"parseCharsets: Truncated charset.\");break}for(l=r[e++]<<8|r[e++],c=r[e++],f=0;f<=c;f++)o.push(i?l++:s.get(l++))}break;case 2:for(;o.length<=t;)for(l=r[e++]<<8|r[e++],c=r[e++]<<8|r[e++],f=0;f<=c;f++)o.push(i?l++:s.get(l++));break;default:throw new se(\"Unknown charset format\")}return new da(!1,a,o)}parseEncoding(e,t,s,i){let r=Object.create(null),a=this.bytes,o=!1,l,c,f,h=null;function u(){let d=a[e++];for(c=0;c<d;c++){let p=a[e++],m=(a[e++]<<8)+(a[e++]&255);r[p]=i.indexOf(s.get(m))}}if(e===0||e===1){o=!0,l=e;let d=e?J8:cr;for(c=0,f=i.length;c<f;c++){let p=d.indexOf(i[c]);p!==-1&&(r[p]=c)}}else{let d=e;switch(l=a[e++],l&127){case 0:let m=a[e++];for(c=1;c<=m;c++)r[a[e++]]=c;break;case 1:let g=a[e++],b=1;for(c=0;c<g;c++){let x=a[e++],w=a[e++];for(let v=x;v<=x+w;v++)r[v]=b++}break;default:throw new se(`Unknown encoding format: ${l} in CFF`)}let p=e;l&128&&(a[d]&=127,u()),h=a.subarray(d,p)}return l&=127,new w1(o,l,r,h)}parseFDSelect(e,t){let s=this.bytes,i=s[e++],r=[],a;switch(i){case 0:for(a=0;a<t;++a){let l=s[e++];r.push(l)}break;case 3:let o=s[e++]<<8|s[e++];for(a=0;a<o;++a){let l=s[e++]<<8|s[e++];a===0&&l!==0&&(B(\"parseFDSelect: The first range must have a first GID of 0 -- trying to recover.\"),l=0);let c=s[e++],f=s[e]<<8|s[e+1];if(f-l>t-r.length)throw new se(\"parseFDSelect: Invalid font data.\");for(let h=l;h<f;++h)r.push(c)}e+=2;break;default:throw new se(`parseFDSelect: Unknown format \"${i}\".`)}if(r.length!==t)throw new se(\"parseFDSelect: Invalid font data.\");return new x1(i,r)}},hh=class{header=null;names=[];topDict=null;strings=new wc;globalSubrIndex=null;encoding=null;charset=null;charStrings=null;fdArray=[];fdSelect=null;isCIDFont=!1;charStringCount=0;constructor(e=0){this.rawFileLength=e}duplicateFirstGlyph(e=!1){let{charStrings:t,fdSelect:s}=this,i=t.get(0),r=t.count;if(r<65535)t.add(i);else{for(r=e?r-1:0;r>0&&(this.seacs.has(r)||!kq(t.get(r)));)r--;if(r===0)return B(\"Not enough space in charstrings to duplicate first glyph.\"),0;t.set(r,i)}return this.widths[r]=this.widths[0],this.isCIDFont&&(s.fdSelect[r]=s.fdSelect[0]),r}hasGlyphId(e){return e<0||e>=this.charStrings.count?!1:this.charStrings.get(e).length>0}},uh=class{constructor(e,t,s,i){this.major=e,this.minor=t,this.hdrSize=s,this.offSize=i}},wc=class{strings=[];get(e){return e>=0&&e<=S0-1?U0[e]:e-S0<=this.strings.length?this.strings[e-S0]:U0[0]}getSID(e){let t=U0.indexOf(e);return t!==-1?t:(t=this.strings.indexOf(e),t!==-1?t+S0:-1)}add(e){this.strings.push(e)}get count(){return this.strings.length}},Ni=class{objects=[];length=0;add(e){this.length+=e.length,this.objects.push(e)}set(e,t){this.length+=t.length-this.objects[e].length,this.objects[e]=t}get(e){return this.objects[e]}get count(){return this.objects.length}},dh=class{values=new Map;constructor(e,t){this.keyToNameMap=e.keyToNameMap,this.nameToKeyMap=e.nameToKeyMap,this.defaults=e.defaults,this.types=e.types,this.opcodes=e.opcodes,this.order=e.order,this.strings=t}setByKey(e,t){if(!this.keyToNameMap.has(e))return!1;if(t.length===0)return!0;for(let i of t)if(isNaN(i))return B(`Invalid CFFDict value: \"${t}\" for key \"${e}\".`),!0;let s=this.types.get(e);return(s===\"num\"||s===\"sid\"||s===\"offset\")&&(t=t[0]),this.values.set(e,t),!0}setByName(e,t){if(!this.nameToKeyMap.has(e))throw new se(`Invalid dictionary name \"${e}\"`);let s=this.nameToKeyMap.get(e);this.values.set(s,t)}hasName(e){let t=this.nameToKeyMap.get(e);return this.values.has(t)}getByName(e){if(!this.nameToKeyMap.has(e))throw new se(`Invalid dictionary name ${e}\"`);let t=this.nameToKeyMap.get(e);return this.values.has(t)?this.values.get(t):this.defaults.get(t)}removeByName(e){let t=this.nameToKeyMap.get(e);this.values.delete(t)}static createTables(e){let t={keyToNameMap:new Map,nameToKeyMap:new Map,defaults:new Map,types:new Map,opcodes:new Map,order:[]};for(let s of e){let i=Array.isArray(s[0])?(s[0][0]<<8)+s[0][1]:s[0];t.keyToNameMap.set(i,s[1]),t.nameToKeyMap.set(s[1],i),t.types.set(i,s[2]),t.defaults.set(i,s[3]),t.opcodes.set(i,Array.isArray(s[0])?s[0]:[s[0]]),t.order.push(i)}return t}},Aq=[[[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]],xc=class n extends dh{static get tables(){return je(this,\"tables\",this.createTables(Aq))}privateDict=null;constructor(e){super(n.tables,e)}},Sq=[[6,\"BlueValues\",\"delta\",null],[7,\"OtherBlues\",\"delta\",null],[8,\"FamilyBlues\",\"delta\",null],[9,\"FamilyOtherBlues\",\"delta\",null],[[12,9],\"BlueScale\",\"num\",b1],[[12,10],\"BlueShift\",\"num\",e4],[[12,11],\"BlueFuzz\",\"num\",t4],[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\",n4],[[12,19],\"initialRandomSeed\",\"num\",0],[20,\"defaultWidthX\",\"num\",0],[21,\"nominalWidthX\",\"num\",0],[19,\"Subrs\",\"offset\",null]],vc=class n extends dh{static get tables(){return je(this,\"tables\",this.createTables(Sq))}subrsIndex=null;constructor(e){super(n.tables,e)}},pm={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},da=class{constructor(e,t,s){this.predefined=e,this.format=t,this.charset=s}},w1=class{constructor(e,t,s,i){this.predefined=e,this.format=t,this.encoding=s,this.raw=i}},x1=class{constructor(e,t){this.format=e,this.fdSelect=t}getFDIndex(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}},ph=class{#e=new Map;isTracking(e){return this.#e.has(e)}track(e,t){if(this.#e.has(e))throw new se(`Already tracking location of ${e}`);this.#e.set(e,t)}offset(e){for(let[t,s]of this.#e)this.#e.set(t,s+e)}setEntryLocation(e,t,s){if(!this.#e.has(e))throw new se(`Not tracking location of ${e}`);let i=s.data,r=this.#e.get(e),a=5;for(let o=0,l=t.length;o<l;++o){let c=o*a+r,f=c+1,h=c+2,u=c+3,d=c+4;if(i[c]!==29||i[f]!==0||i[h]!==0||i[u]!==0||i[d]!==0)throw new se(\"writing to an offset that is not empty\");let p=t[o];i[c]=29,i[f]=p>>24&255,i[h]=p>>16&255,i[u]=p>>8&255,i[d]=p&255}}},yc=class n{constructor(e){this.cff=e}compile(){let e=this.cff,t=new dn({minLength:e.rawFileLength}),s=this.compileHeader(e.header);t.setArray(s);let i=this.compileNameIndex(e.names);if(t.setArray(i),e.isCIDFont&&e.topDict.hasName(\"FontMatrix\")){let u=e.topDict.getByName(\"FontMatrix\");e.topDict.removeByName(\"FontMatrix\");for(let d of e.fdArray){let p=u.slice(0);d.hasName(\"FontMatrix\")&&(p=ft.transform(p,d.getByName(\"FontMatrix\"))),d.setByName(\"FontMatrix\",p)}}e.topDict.getByName(\"XUID\")?.length>16&&e.topDict.removeByName(\"XUID\"),e.topDict.setByName(\"charset\",0);let a=this.compileTopDicts([e.topDict],t.length,e.isCIDFont);t.setArray(a.output);let o=a.trackers[0],l=this.compileStringIndex(e.strings.strings);t.setArray(l);let c=this.compileIndex(e.globalSubrIndex);if(t.setArray(c),e.encoding&&e.topDict.hasName(\"Encoding\"))if(e.encoding.predefined)o.setEntryLocation(\"Encoding\",[e.encoding.format],t);else{let u=this.compileEncoding(e.encoding);o.setEntryLocation(\"Encoding\",[t.length],t),t.setArray(u)}let f=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont);o.setEntryLocation(\"charset\",[t.length],t),t.setArray(f);let h=this.compileCharStrings(e.charStrings);if(o.setEntryLocation(\"CharStrings\",[t.length],t),t.setArray(h),e.isCIDFont){o.setEntryLocation(\"FDSelect\",[t.length],t);let u=this.compileFDSelect(e.fdSelect);t.setArray(u),a=this.compileTopDicts(e.fdArray,t.length,!0),o.setEntryLocation(\"FDArray\",[t.length],t),t.setArray(a.output);let d=a.trackers;this.compilePrivateDicts(e.fdArray,d,t)}return this.compilePrivateDicts([e.topDict],[o],t),t.setArray([0]),t.data}encodeNumber(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}static get EncodeFloatRegExp(){return je(this,\"EncodeFloatRegExp\",/\\.(\\d*?)(?:9{5,20}|0{5,20})\\d{0,2}(?:e(.+)|$)/)}encodeFloat(e){let t=e.toString(),s=n.EncodeFloatRegExp.exec(t);if(s){let l=parseFloat(\"1e\"+((s[2]?+s[2]:0)+s[1].length));t=(Math.round(e*l)/l).toString()}let i=\"\",r,a;for(r=0,a=t.length;r<a;++r){let l=t[r];l===\"e\"?i+=t[++r]===\"-\"?\"c\":\"b\":l===\".\"?i+=\"a\":l===\"-\"?i+=\"e\":i+=l}i+=i.length&1?\"f\":\"ff\";let o=[30];for(r=0,a=i.length;r<a;r+=2)o.push(parseInt(i.substring(r,r+2),16));return o}encodeInteger(e){let t;return e>=-107&&e<=107?t=[e+139]:e>=108&&e<=1131?(e-=108,t=[(e>>8)+247,e&255]):e>=-1131&&e<=-108?(e=-e-108,t=[(e>>8)+251,e&255]):e>=-32768&&e<=32767?t=[28,e>>8&255,e&255]:t=[29,e>>24&255,e>>16&255,e>>8&255,e&255],t}compileHeader(e){return[e.major,e.minor,4,e.offSize]}compileNameIndex(e){let t=new Ni;for(let s of e){let i=Math.min(s.length,127),r=new Array(i);for(let a=0;a<i;a++){let o=s[a];(o<\"!\"||o>\"~\"||o===\"[\"||o===\"]\"||o===\"(\"||o===\")\"||o===\"{\"||o===\"}\"||o===\"<\"||o===\">\"||o===\"/\"||o===\"%\")&&(o=\"_\"),r[a]=o}r=r.join(\"\"),r===\"\"&&(r=\"Bad_Font_Name\"),t.add(Vt(r))}return this.compileIndex(t)}compileTopDicts(e,t,s){let i=[],r=new Ni;for(let a of e){s&&(a.removeByName(\"CIDFontVersion\"),a.removeByName(\"CIDFontRevision\"),a.removeByName(\"CIDFontType\"),a.removeByName(\"CIDCount\"),a.removeByName(\"UIDBase\"));let o=new ph,l=this.compileDict(a,o);i.push(o),r.add(l),o.offset(t)}return r=this.compileIndex(r,i),{trackers:i,output:r}}compilePrivateDicts(e,t,s){let i=new Map,r=new Map;for(let a=0,o=e.length;a<o;++a){let l=e[a],c=l.privateDict;if(!c||!l.hasName(\"Private\"))throw new se(\"There must be a private dictionary.\");let f=i.get(c);if(f){t[a].setEntryLocation(\"Private\",f,s);continue}let h=new ph,u=this.compileDict(c,h),d=s.length;h.offset(d),u.length||(d=0),f=[u.length,d],i.set(c,f),t[a].setEntryLocation(\"Private\",f,s),s.setArray(u),c.subrsIndex&&c.hasName(\"Subrs\")&&r.getOrInsertComputed(c.subrsIndex,Hi).push([h,d])}for(let[a,o]of r){let l=s.length;for(let[c,f]of o)c.setEntryLocation(\"Subrs\",[l-f],s);s.setArray(this.compileIndex(a))}}compileDict(e,t){let s=[];for(let i of e.order){if(!e.values.has(i))continue;let r=e.values.get(i),a=e.types.get(i);if(Array.isArray(a)||(a=[a]),Array.isArray(r)||(r=[r]),r.length!==0){for(let o=0,l=a.length;o<l;++o){let c=a[o],f=r[o];switch(c){case\"num\":case\"sid\":s.push(...this.encodeNumber(f));break;case\"offset\":let h=e.keyToNameMap.get(i);t.isTracking(h)||t.track(h,s.length),s.push(29,0,0,0,0);break;case\"array\":case\"delta\":s.push(...this.encodeNumber(f));for(let u=1,d=r.length;u<d;++u)s.push(...this.encodeNumber(r[u]));break;default:throw new se(`Unknown data type of ${c}`)}}s.push(...e.opcodes.get(i))}}return s}compileStringIndex(e){let t=new Ni;for(let s of e)t.add(Vt(s));return this.compileIndex(t)}compileCharStrings(e){let t=new Ni;for(let s=0;s<e.count;s++){let i=e.get(s);if(i.length===0){t.add(new Uint8Array([139,14]));continue}t.add(i)}return this.compileIndex(t)}compileCharset(e,t,s,i){let r,a=t-1;if(i){let o=a-1;r=new Uint8Array([2,0,1,o>>8&255,o&255])}else{let o=1+a*2;r=new Uint8Array(o);let l=0,c=e.charset.length,f=!1;for(let h=1;h<r.length;h+=2){let u=0;if(l<c){let d=e.charset[l++];u=s.getSID(d),u===-1&&(u=0,f||(f=!0,B(`Couldn't find ${d} in CFF strings`)))}r[h]=u>>8&255,r[h+1]=u&255}}return r}compileEncoding(e){return e.raw}compileFDSelect(e){let t=e.format,s,i;switch(t){case 0:s=new Uint8Array(1+e.fdSelect.length),s[0]=t,s.set(e.fdSelect,1);break;case 3:let r=0,a=e.fdSelect[0],o=[t,0,0,r>>8&255,r&255,a];for(i=1;i<e.fdSelect.length;i++){let c=e.fdSelect[i];c!==a&&(o.push(i>>8&255,i&255,c),a=c)}let l=(o.length-3)/3;o[1]=l>>8&255,o[2]=l&255,o.push(i>>8&255,i&255),s=new Uint8Array(o);break}return s}compileIndex(e,t=[]){let s=e.objects,i=s.length;if(i===0)return new Uint8Array(2);let r=1,a;for(a=0;a<i;++a)r+=s[a].length;let o;r<256?o=1:r<65536?o=2:r<16777216?o=3:o=4;let l=new Uint8Array(2+o*(i+1)+r),c=0;l[c++]=i>>8&255,l[c++]=i&255,l[c++]=o;let f=1;for(a=0;a<i+1;a++)o===1?l[c++]=f&255:o===2?(l[c++]=f>>8&255,l[c++]=f&255):o===3?(l[c++]=f>>16&255,l[c++]=f>>8&255,l[c++]=f&255):(l[c++]=f>>>24&255,l[c++]=f>>16&255,l[c++]=f>>8&255,l[c++]=f&255),s[a]&&(f+=s[a].length);for(a=0;a<i;a++)t[a]?.offset(c),l.set(s[a],c),c+=s[a].length;return l}},kc=Gt(function(n){n[\"Times-Roman\"]=\"Times-Roman\",n.Helvetica=\"Helvetica\",n.Courier=\"Courier\",n.Symbol=\"Symbol\",n[\"Times-Bold\"]=\"Times-Bold\",n[\"Helvetica-Bold\"]=\"Helvetica-Bold\",n[\"Courier-Bold\"]=\"Courier-Bold\",n.ZapfDingbats=\"ZapfDingbats\",n[\"Times-Italic\"]=\"Times-Italic\",n[\"Helvetica-Oblique\"]=\"Helvetica-Oblique\",n[\"Courier-Oblique\"]=\"Courier-Oblique\",n[\"Times-BoldItalic\"]=\"Times-BoldItalic\",n[\"Helvetica-BoldOblique\"]=\"Helvetica-BoldOblique\",n[\"Courier-BoldOblique\"]=\"Courier-BoldOblique\",n.ArialNarrow=\"Helvetica\",n[\"ArialNarrow-Bold\"]=\"Helvetica-Bold\",n[\"ArialNarrow-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"ArialNarrow-Italic\"]=\"Helvetica-Oblique\",n.ArialBlack=\"Helvetica\",n[\"ArialBlack-Bold\"]=\"Helvetica-Bold\",n[\"ArialBlack-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"ArialBlack-Italic\"]=\"Helvetica-Oblique\",n[\"Arial-Black\"]=\"Helvetica\",n[\"Arial-Black-Bold\"]=\"Helvetica-Bold\",n[\"Arial-Black-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"Arial-Black-Italic\"]=\"Helvetica-Oblique\",n.Arial=\"Helvetica\",n[\"Arial-Bold\"]=\"Helvetica-Bold\",n[\"Arial-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"Arial-Italic\"]=\"Helvetica-Oblique\",n.ArialMT=\"Helvetica\",n[\"Arial-BoldItalicMT\"]=\"Helvetica-BoldOblique\",n[\"Arial-BoldMT\"]=\"Helvetica-Bold\",n[\"Arial-ItalicMT\"]=\"Helvetica-Oblique\",n[\"Arial-BoldItalicMT-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"Arial-BoldMT-Bold\"]=\"Helvetica-Bold\",n[\"Arial-ItalicMT-Italic\"]=\"Helvetica-Oblique\",n.ArialUnicodeMS=\"Helvetica\",n[\"ArialUnicodeMS-Bold\"]=\"Helvetica-Bold\",n[\"ArialUnicodeMS-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"ArialUnicodeMS-Italic\"]=\"Helvetica-Oblique\",n[\"Courier-BoldItalic\"]=\"Courier-BoldOblique\",n[\"Courier-Italic\"]=\"Courier-Oblique\",n.CourierNew=\"Courier\",n[\"CourierNew-Bold\"]=\"Courier-Bold\",n[\"CourierNew-BoldItalic\"]=\"Courier-BoldOblique\",n[\"CourierNew-Italic\"]=\"Courier-Oblique\",n[\"CourierNewPS-BoldItalicMT\"]=\"Courier-BoldOblique\",n[\"CourierNewPS-BoldMT\"]=\"Courier-Bold\",n[\"CourierNewPS-ItalicMT\"]=\"Courier-Oblique\",n.CourierNewPSMT=\"Courier\",n[\"Helvetica-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"Helvetica-Italic\"]=\"Helvetica-Oblique\",n[\"HelveticaLTStd-Bold\"]=\"Helvetica-Bold\",n[\"Symbol-Bold\"]=\"Symbol\",n[\"Symbol-BoldItalic\"]=\"Symbol\",n[\"Symbol-Italic\"]=\"Symbol\",n.TimesNewRoman=\"Times-Roman\",n[\"TimesNewRoman-Bold\"]=\"Times-Bold\",n[\"TimesNewRoman-BoldItalic\"]=\"Times-BoldItalic\",n[\"TimesNewRoman-Italic\"]=\"Times-Italic\",n.TimesNewRomanPS=\"Times-Roman\",n[\"TimesNewRomanPS-Bold\"]=\"Times-Bold\",n[\"TimesNewRomanPS-BoldItalic\"]=\"Times-BoldItalic\",n[\"TimesNewRomanPS-BoldItalicMT\"]=\"Times-BoldItalic\",n[\"TimesNewRomanPS-BoldMT\"]=\"Times-Bold\",n[\"TimesNewRomanPS-Italic\"]=\"Times-Italic\",n[\"TimesNewRomanPS-ItalicMT\"]=\"Times-Italic\",n.TimesNewRomanPSMT=\"Times-Roman\",n[\"TimesNewRomanPSMT-Bold\"]=\"Times-Bold\",n[\"TimesNewRomanPSMT-BoldItalic\"]=\"Times-BoldItalic\",n[\"TimesNewRomanPSMT-Italic\"]=\"Times-Italic\"}),qq=Gt(function(n){n.Courier=\"FoxitFixed.pfb\",n[\"Courier-Bold\"]=\"FoxitFixedBold.pfb\",n[\"Courier-BoldOblique\"]=\"FoxitFixedBoldItalic.pfb\",n[\"Courier-Oblique\"]=\"FoxitFixedItalic.pfb\",n.Helvetica=\"LiberationSans-Regular.ttf\",n[\"Helvetica-Bold\"]=\"LiberationSans-Bold.ttf\",n[\"Helvetica-BoldOblique\"]=\"LiberationSans-BoldItalic.ttf\",n[\"Helvetica-Oblique\"]=\"LiberationSans-Italic.ttf\",n[\"Times-Roman\"]=\"FoxitSerif.pfb\",n[\"Times-Bold\"]=\"FoxitSerifBold.pfb\",n[\"Times-BoldItalic\"]=\"FoxitSerifBoldItalic.pfb\",n[\"Times-Italic\"]=\"FoxitSerifItalic.pfb\",n.Symbol=\"FoxitSymbol.pfb\",n.ZapfDingbats=\"FoxitDingbats.pfb\",n[\"LiberationSans-Regular\"]=\"LiberationSans-Regular.ttf\",n[\"LiberationSans-Bold\"]=\"LiberationSans-Bold.ttf\",n[\"LiberationSans-Italic\"]=\"LiberationSans-Italic.ttf\",n[\"LiberationSans-BoldItalic\"]=\"LiberationSans-BoldItalic.ttf\"}),v1=Gt(function(n){n.Calibri=\"Helvetica\",n[\"Calibri-Bold\"]=\"Helvetica-Bold\",n[\"Calibri-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"Calibri-Italic\"]=\"Helvetica-Oblique\",n.CenturyGothic=\"Helvetica\",n[\"CenturyGothic-Bold\"]=\"Helvetica-Bold\",n[\"CenturyGothic-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"CenturyGothic-Italic\"]=\"Helvetica-Oblique\",n.ComicSansMS=\"Comic Sans MS\",n[\"ComicSansMS-Bold\"]=\"Comic Sans MS-Bold\",n[\"ComicSansMS-BoldItalic\"]=\"Comic Sans MS-BoldItalic\",n[\"ComicSansMS-Italic\"]=\"Comic Sans MS-Italic\",n.GillSansMT=\"Helvetica\",n[\"GillSansMT-Bold\"]=\"Helvetica-Bold\",n[\"GillSansMT-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"GillSansMT-Italic\"]=\"Helvetica-Oblique\",n.Impact=\"Helvetica\",n[\"ItcSymbol-Bold\"]=\"Helvetica-Bold\",n[\"ItcSymbol-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"ItcSymbol-Book\"]=\"Helvetica\",n[\"ItcSymbol-BookItalic\"]=\"Helvetica-Oblique\",n[\"ItcSymbol-Medium\"]=\"Helvetica\",n[\"ItcSymbol-MediumItalic\"]=\"Helvetica-Oblique\",n.LucidaConsole=\"Courier\",n[\"LucidaConsole-Bold\"]=\"Courier-Bold\",n[\"LucidaConsole-BoldItalic\"]=\"Courier-BoldOblique\",n[\"LucidaConsole-Italic\"]=\"Courier-Oblique\",n[\"LucidaSans-Demi\"]=\"Helvetica-Bold\",n[\"MS-Gothic\"]=\"MS Gothic\",n[\"MS-Gothic-Bold\"]=\"MS Gothic-Bold\",n[\"MS-Gothic-BoldItalic\"]=\"MS Gothic-BoldItalic\",n[\"MS-Gothic-Italic\"]=\"MS Gothic-Italic\",n[\"MS-Mincho\"]=\"MS Mincho\",n[\"MS-Mincho-Bold\"]=\"MS Mincho-Bold\",n[\"MS-Mincho-BoldItalic\"]=\"MS Mincho-BoldItalic\",n[\"MS-Mincho-Italic\"]=\"MS Mincho-Italic\",n[\"MS-PGothic\"]=\"MS PGothic\",n[\"MS-PGothic-Bold\"]=\"MS PGothic-Bold\",n[\"MS-PGothic-BoldItalic\"]=\"MS PGothic-BoldItalic\",n[\"MS-PGothic-Italic\"]=\"MS PGothic-Italic\",n[\"MS-PMincho\"]=\"MS PMincho\",n[\"MS-PMincho-Bold\"]=\"MS PMincho-Bold\",n[\"MS-PMincho-BoldItalic\"]=\"MS PMincho-BoldItalic\",n[\"MS-PMincho-Italic\"]=\"MS PMincho-Italic\",n.NuptialScript=\"Times-Italic\",n.SegoeUISymbol=\"Helvetica\",n.TrebuchetMS=\"Helvetica\",n[\"TrebuchetMS-Bold\"]=\"Helvetica-Bold\",n[\"TrebuchetMS-BoldItalic\"]=\"Helvetica-BoldOblique\",n[\"TrebuchetMS-Italic\"]=\"Helvetica-Oblique\"}),rv=Gt(function(n){n[\"Adobe Jenson\"]=!0,n[\"Adobe Text\"]=!0,n.Albertus=!0,n.Aldus=!0,n.Alexandria=!0,n.Algerian=!0,n[\"American Typewriter\"]=!0,n.Antiqua=!0,n.Apex=!0,n.Arno=!0,n.Aster=!0,n.Aurora=!0,n.Baskerville=!0,n.Bell=!0,n.Bembo=!0,n[\"Bembo Schoolbook\"]=!0,n.Benguiat=!0,n[\"Berkeley Old Style\"]=!0,n[\"Bernhard Modern\"]=!0,n[\"Berthold City\"]=!0,n.Bodoni=!0,n[\"Bauer Bodoni\"]=!0,n[\"Book Antiqua\"]=!0,n.Bookman=!0,n[\"Bordeaux Roman\"]=!0,n[\"Californian FB\"]=!0,n.Calisto=!0,n.Calvert=!0,n.Capitals=!0,n.Cambria=!0,n.Cartier=!0,n.Caslon=!0,n.Catull=!0,n.Centaur=!0,n[\"Century Old Style\"]=!0,n[\"Century Schoolbook\"]=!0,n.Chaparral=!0,n[\"Charis SIL\"]=!0,n.Cheltenham=!0,n[\"Cholla Slab\"]=!0,n.Clarendon=!0,n.Clearface=!0,n.Cochin=!0,n.Colonna=!0,n[\"Computer Modern\"]=!0,n[\"Concrete Roman\"]=!0,n.Constantia=!0,n[\"Cooper Black\"]=!0,n.Corona=!0,n.Ecotype=!0,n.Egyptienne=!0,n.Elephant=!0,n.Excelsior=!0,n.Fairfield=!0,n[\"FF Scala\"]=!0,n.Folkard=!0,n.Footlight=!0,n.FreeSerif=!0,n[\"Friz Quadrata\"]=!0,n.Garamond=!0,n.Gentium=!0,n.Georgia=!0,n.Gloucester=!0,n[\"Goudy Old Style\"]=!0,n[\"Goudy Schoolbook\"]=!0,n[\"Goudy Pro Font\"]=!0,n.Granjon=!0,n[\"Guardian Egyptian\"]=!0,n.Heather=!0,n.Hercules=!0,n[\"High Tower Text\"]=!0,n.Hiroshige=!0,n[\"Hoefler Text\"]=!0,n[\"Humana Serif\"]=!0,n.Imprint=!0,n[\"Ionic No. 5\"]=!0,n.Janson=!0,n.Joanna=!0,n.Korinna=!0,n.Lexicon=!0,n.LiberationSerif=!0,n[\"Liberation Serif\"]=!0,n[\"Linux Libertine\"]=!0,n.Literaturnaya=!0,n.Lucida=!0,n[\"Lucida Bright\"]=!0,n.Melior=!0,n.Memphis=!0,n.Miller=!0,n.Minion=!0,n.Modern=!0,n[\"Mona Lisa\"]=!0,n[\"Mrs Eaves\"]=!0,n[\"MS Serif\"]=!0,n[\"Museo Slab\"]=!0,n[\"New York\"]=!0,n[\"Nimbus Roman\"]=!0,n[\"NPS Rawlinson Roadway\"]=!0,n.NuptialScript=!0,n.Palatino=!0,n.Perpetua=!0,n.Plantin=!0,n[\"Plantin Schoolbook\"]=!0,n.Playbill=!0,n[\"Poor Richard\"]=!0,n[\"Rawlinson Roadway\"]=!0,n.Renault=!0,n.Requiem=!0,n.Rockwell=!0,n.Roman=!0,n[\"Rotis Serif\"]=!0,n.Sabon=!0,n.Scala=!0,n.Seagull=!0,n.Sistina=!0,n.Souvenir=!0,n.STIX=!0,n[\"Stone Informal\"]=!0,n[\"Stone Serif\"]=!0,n.Sylfaen=!0,n.Times=!0,n.Trajan=!0,n.Trinit\\u00E9=!0,n[\"Trump Mediaeval\"]=!0,n.Utopia=!0,n[\"Vale Type\"]=!0,n[\"Bitstream Vera\"]=!0,n[\"Vera Serif\"]=!0,n.Versailles=!0,n.Wanted=!0,n.Weiss=!0,n[\"Wide Latin\"]=!0,n.Windsor=!0,n.XITS=!0}),y1=Gt(function(n){n.Dingbats=!0,n.Symbol=!0,n.ZapfDingbats=!0,n.Wingdings=!0,n[\"Wingdings-Bold\"]=!0,n[\"Wingdings-Regular\"]=!0}),_q=Gt(function(n){let e=gi();n[2]=10;for(let t=3;t<fh.length;t++){let s=e[fh[t]];s!==void 0&&(n[t]=s)}}),hy=Gt(function(n){n[2]=10,n[3]=32,n[4]=33,n[5]=34,n[6]=35,n[7]=36,n[8]=37,n[9]=38,n[10]=39,n[11]=40,n[12]=41,n[13]=42,n[14]=43,n[15]=44,n[16]=45,n[17]=46,n[18]=47,n[19]=48,n[20]=49,n[21]=50,n[22]=51,n[23]=52,n[24]=53,n[25]=54,n[26]=55,n[27]=56,n[28]=57,n[29]=58,n[30]=894,n[31]=60,n[32]=61,n[33]=62,n[34]=63,n[35]=64,n[36]=65,n[37]=66,n[38]=67,n[39]=68,n[40]=69,n[41]=70,n[42]=71,n[43]=72,n[44]=73,n[45]=74,n[46]=75,n[47]=76,n[48]=77,n[49]=78,n[50]=79,n[51]=80,n[52]=81,n[53]=82,n[54]=83,n[55]=84,n[56]=85,n[57]=86,n[58]=87,n[59]=88,n[60]=89,n[61]=90,n[62]=91,n[63]=92,n[64]=93,n[65]=94,n[66]=95,n[67]=96,n[68]=97,n[69]=98,n[70]=99,n[71]=100,n[72]=101,n[73]=102,n[74]=103,n[75]=104,n[76]=105,n[77]=106,n[78]=107,n[79]=108,n[80]=109,n[81]=110,n[82]=111,n[83]=112,n[84]=113,n[85]=114,n[86]=115,n[87]=116,n[88]=117,n[89]=118,n[90]=119,n[91]=120,n[92]=121,n[93]=122,n[94]=123,n[95]=124,n[96]=125,n[97]=126,n[98]=196,n[99]=197,n[100]=199,n[101]=201,n[102]=209,n[103]=214,n[104]=220,n[105]=225,n[106]=224,n[107]=226,n[108]=228,n[109]=227,n[110]=229,n[111]=231,n[112]=233,n[113]=232,n[114]=234,n[115]=235,n[116]=237,n[117]=236,n[118]=238,n[119]=239,n[120]=241,n[121]=243,n[122]=242,n[123]=244,n[124]=246,n[125]=245,n[126]=250,n[127]=249,n[128]=251,n[129]=252,n[130]=8224,n[131]=176,n[132]=162,n[133]=163,n[134]=167,n[135]=8226,n[136]=182,n[137]=223,n[138]=174,n[139]=169,n[140]=8482,n[141]=180,n[142]=168,n[143]=8800,n[144]=198,n[145]=216,n[146]=8734,n[147]=177,n[148]=8804,n[149]=8805,n[150]=165,n[151]=181,n[152]=8706,n[153]=8721,n[154]=8719,n[156]=8747,n[157]=170,n[158]=186,n[159]=8486,n[160]=230,n[161]=248,n[162]=191,n[163]=161,n[164]=172,n[165]=8730,n[166]=402,n[167]=8776,n[168]=8710,n[169]=171,n[170]=187,n[171]=8230,n[179]=8220,n[180]=8221,n[181]=8216,n[182]=8217,n[200]=193,n[203]=205,n[207]=211,n[210]=218,n[223]=711,n[224]=321,n[225]=322,n[226]=352,n[227]=353,n[228]=381,n[229]=382,n[233]=221,n[234]=253,n[252]=263,n[253]=268,n[254]=269,n[258]=258,n[260]=260,n[261]=261,n[265]=280,n[266]=281,n[267]=282,n[268]=283,n[269]=313,n[275]=323,n[276]=324,n[278]=328,n[283]=344,n[284]=345,n[285]=346,n[286]=347,n[292]=367,n[295]=377,n[296]=378,n[298]=380,n[305]=963,n[306]=964,n[307]=966,n[308]=8215,n[309]=8252,n[310]=8319,n[311]=8359,n[312]=8592,n[313]=8593,n[337]=9552,n[493]=1039,n[494]=1040,n[570]=1040,n[571]=1041,n[572]=1042,n[573]=1043,n[574]=1044,n[575]=1045,n[576]=1046,n[577]=1047,n[578]=1048,n[579]=1049,n[580]=1050,n[581]=1051,n[582]=1052,n[583]=1053,n[584]=1054,n[585]=1055,n[586]=1056,n[587]=1057,n[588]=1058,n[589]=1059,n[590]=1060,n[591]=1061,n[592]=1062,n[593]=1063,n[594]=1064,n[595]=1065,n[596]=1066,n[597]=1067,n[598]=1068,n[599]=1069,n[600]=1070,n[601]=1071,n[602]=1072,n[603]=1073,n[604]=1074,n[605]=1075,n[606]=1076,n[607]=1077,n[608]=1078,n[609]=1079,n[610]=1080,n[611]=1081,n[612]=1082,n[613]=1083,n[614]=1084,n[615]=1085,n[616]=1086,n[617]=1087,n[618]=1088,n[619]=1089,n[620]=1090,n[621]=1091,n[622]=1092,n[623]=1093,n[624]=1094,n[625]=1095,n[626]=1096,n[627]=1097,n[628]=1098,n[629]=1099,n[630]=1100,n[631]=1101,n[632]=1102,n[633]=1103,n[672]=1488,n[673]=1489,n[674]=1490,n[675]=1491,n[676]=1492,n[677]=1493,n[678]=1494,n[679]=1495,n[680]=1496,n[681]=1497,n[682]=1498,n[683]=1499,n[684]=1500,n[685]=1501,n[686]=1502,n[687]=1503,n[688]=1504,n[689]=1505,n[690]=1506,n[691]=1507,n[692]=1508,n[693]=1509,n[694]=1510,n[695]=1511,n[696]=1512,n[697]=1513,n[698]=1514,n[705]=1524,n[706]=8362,n[710]=64288,n[711]=64298,n[759]=1617,n[761]=1776,n[763]=1778,n[775]=1652,n[777]=1764,n[778]=1780,n[779]=1781,n[780]=1782,n[782]=771,n[783]=64726,n[786]=8363,n[788]=8532,n[790]=768,n[791]=769,n[792]=768,n[795]=803,n[797]=64336,n[798]=64337,n[799]=64342,n[800]=64343,n[801]=64344,n[802]=64345,n[803]=64362,n[804]=64363,n[805]=64364,n[2424]=7821,n[2425]=7822,n[2426]=7823,n[2427]=7824,n[2428]=7825,n[2429]=7826,n[2430]=7827,n[2433]=7682,n[2678]=8045,n[2679]=8046,n[2830]=1552,n[2838]=686,n[2840]=751,n[2842]=753,n[2843]=754,n[2844]=755,n[2846]=757,n[2856]=767,n[2857]=848,n[2858]=849,n[2862]=853,n[2863]=854,n[2864]=855,n[2865]=861,n[2866]=862,n[2906]=7460,n[2908]=7462,n[2909]=7463,n[2910]=7464,n[2912]=7466,n[2913]=7467,n[2914]=7468,n[2916]=7470,n[2917]=7471,n[2918]=7472,n[2920]=7474,n[2921]=7475,n[2922]=7476,n[2924]=7478,n[2925]=7479,n[2926]=7480,n[2928]=7482,n[2929]=7483,n[2930]=7484,n[2932]=7486,n[2933]=7487,n[2934]=7488,n[2936]=7490,n[2937]=7491,n[2938]=7492,n[2940]=7494,n[2941]=7495,n[2942]=7496,n[2944]=7498,n[2946]=7500,n[2948]=7502,n[2950]=7504,n[2951]=7505,n[2952]=7506,n[2954]=7508,n[2955]=7509,n[2956]=7510,n[2958]=7512,n[2959]=7513,n[2960]=7514,n[2962]=7516,n[2963]=7517,n[2964]=7518,n[2966]=7520,n[2967]=7521,n[2968]=7522,n[2970]=7524,n[2971]=7525,n[2972]=7526,n[2974]=7528,n[2975]=7529,n[2976]=7530,n[2978]=1537,n[2979]=1538,n[2980]=1539,n[2982]=1549,n[2983]=1551,n[2984]=1552,n[2986]=1554,n[2987]=1555,n[2988]=1556,n[2990]=1623,n[2991]=1624,n[2995]=1775,n[2999]=1791,n[3002]=64290,n[3003]=64291,n[3004]=64292,n[3006]=64294,n[3007]=64295,n[3008]=64296,n[3011]=1900,n[3014]=8223,n[3015]=8244,n[3017]=7532,n[3018]=7533,n[3019]=7534,n[3075]=7590,n[3076]=7591,n[3079]=7594,n[3080]=7595,n[3083]=7598,n[3084]=7599,n[3087]=7602,n[3088]=7603,n[3091]=7606,n[3092]=7607,n[3095]=7610,n[3096]=7611,n[3099]=7614,n[3100]=7615,n[3103]=7618,n[3104]=7619,n[3107]=8337,n[3108]=8338,n[3116]=1884,n[3119]=1885,n[3120]=1885,n[3123]=1886,n[3124]=1886,n[3127]=1887,n[3128]=1887,n[3131]=1888,n[3132]=1888,n[3135]=1889,n[3136]=1889,n[3139]=1890,n[3140]=1890,n[3143]=1891,n[3144]=1891,n[3147]=1892,n[3148]=1892,n[3153]=580,n[3154]=581,n[3157]=584,n[3158]=585,n[3161]=588,n[3162]=589,n[3165]=891,n[3166]=892,n[3169]=1274,n[3170]=1275,n[3173]=1278,n[3174]=1279,n[3181]=7622,n[3182]=7623,n[3282]=11799,n[3316]=578,n[3379]=42785,n[3393]=1159,n[3416]=8377}),Iq=Gt(function(n){n[151]=956,n[159]=937,n[168]=916,n[189]=8364,n[195]=8729,n[218]=713,n[236]=222,n[237]=254,n[238]=8722,n[239]=185,n[240]=178,n[241]=179,n[242]=189,n[243]=188,n[244]=190,n[245]=181,n[246]=8486,n[247]=8710,n[248]=253,n[249]=215,n[250]=173,n[253]=8355,n[254]=286,n[255]=287,n[256]=304,n[257]=350,n[258]=351,n[259]=262,n[260]=263,n[261]=268,n[262]=269,n[263]=273,n[264]=175,n[266]=183,n[267]=258,n[268]=259,n[269]=260,n[270]=261,n[271]=270,n[272]=271,n[273]=272,n[274]=280,n[275]=281,n[276]=282,n[277]=283,n[278]=313,n[279]=314,n[280]=317,n[281]=318,n[282]=319,n[283]=320,n[284]=323,n[285]=324,n[286]=327,n[287]=328,n[288]=336,n[289]=337,n[290]=340,n[291]=341,n[292]=344,n[293]=345,n[294]=346,n[295]=347,n[296]=538,n[297]=539,n[298]=356,n[299]=357,n[300]=366,n[301]=367,n[302]=368,n[303]=369,n[304]=377,n[305]=378,n[306]=379,n[307]=380}),Cq=Gt(function(n){n[227]=322,n[264]=261,n[291]=346}),Tq=Gt(function(n){n[1]=32,n[4]=65,n[5]=192,n[6]=193,n[9]=196,n[17]=66,n[18]=67,n[21]=268,n[24]=68,n[28]=69,n[29]=200,n[30]=201,n[32]=282,n[38]=70,n[39]=71,n[44]=72,n[47]=73,n[48]=204,n[49]=205,n[58]=74,n[60]=75,n[62]=76,n[68]=77,n[69]=78,n[75]=79,n[76]=210,n[80]=214,n[87]=80,n[89]=81,n[90]=82,n[92]=344,n[94]=83,n[97]=352,n[100]=84,n[104]=85,n[109]=220,n[115]=86,n[116]=87,n[121]=88,n[122]=89,n[124]=221,n[127]=90,n[129]=381,n[258]=97,n[259]=224,n[260]=225,n[263]=228,n[268]=261,n[271]=98,n[272]=99,n[273]=263,n[275]=269,n[282]=100,n[286]=101,n[287]=232,n[288]=233,n[290]=283,n[295]=281,n[296]=102,n[336]=103,n[346]=104,n[349]=105,n[350]=236,n[351]=237,n[361]=106,n[364]=107,n[367]=108,n[371]=322,n[373]=109,n[374]=110,n[381]=111,n[382]=242,n[383]=243,n[386]=246,n[393]=112,n[395]=113,n[396]=114,n[398]=345,n[400]=115,n[401]=347,n[403]=353,n[410]=116,n[437]=117,n[442]=252,n[448]=118,n[449]=119,n[454]=120,n[455]=121,n[457]=253,n[460]=122,n[462]=382,n[463]=380,n[853]=44,n[855]=58,n[856]=46,n[876]=47,n[878]=45,n[882]=45,n[894]=40,n[895]=41,n[896]=91,n[897]=93,n[923]=64,n[940]=163,n[1004]=48,n[1005]=49,n[1006]=50,n[1007]=51,n[1008]=52,n[1009]=53,n[1010]=54,n[1011]=55,n[1012]=56,n[1013]=57,n[1081]=37,n[1085]=43,n[1086]=45});function mm(n){let e=Mr(n);return kc()[e]}function uy(n){let e=Mr(n);return!!(kc()[e]||v1()[e]||rv()[e]||y1()[e])}var Eq=1,q0=2,_0=4,dy=8,Cl=16,Tl=32,Rq=64,wo=1,I0=2,s4=8,G0=32,i4=64,r4=128,W0=256,Io=10,k1=class{constructor({glyfTable:e,isGlyphLocationsLong:t,locaTable:s,numGlyphs:i}){this.glyphs=[];let r=new DataView(s.buffer,s.byteOffset,s.byteLength),a=new DataView(e.buffer,e.byteOffset,e.byteLength),o=t?4:2,l=t?r.getUint32(0):2*r.getUint16(0),c=0;for(let f=0;f<i;f++){c+=o;let h=t?r.getUint32(c):2*r.getUint16(c);if(h===l){this.glyphs.push(new mh({}));continue}let u=mh.parse(l,a);this.glyphs.push(u),l=h}}getSize(){return Math.sumPrecise(this.glyphs.map(e=>e.getSize()+3&-4))}write(){let e=this.getSize(),t=new DataView(new ArrayBuffer(e)),s=e>131070,i=s?4:2,r=new DataView(new ArrayBuffer((this.glyphs.length+1)*i));s?r.setUint32(0,0):r.setUint16(0,0);let a=0,o=0;for(let l of this.glyphs)a+=l.write(a,t),a=a+3&-4,o+=i,s?r.setUint32(o,a):r.setUint16(o,a>>1);return{isLocationLong:s,loca:new Uint8Array(r.buffer),glyf:new Uint8Array(t.buffer)}}scale(e){for(let t=0,s=this.glyphs.length;t<s;t++)this.glyphs[t].scale(e[t])}},mh=class n{constructor({header:e=null,simple:t=null,composites:s=null}){this.header=e,this.simple=t,this.composites=s}static parse(e,t){let[s,i]=j1.parse(e,t);if(e+=s,i.numberOfContours<0){let a=[];for(;;){let[o,l]=q1.parse(e,t);if(e+=o,a.push(l),!(l.flags&G0))break}return new n({header:i,composites:a})}let r=S1.parse(e,t,i.numberOfContours);return new n({header:i,simple:r})}getSize(){if(!this.header)return 0;let e=this.simple?this.simple.getSize():Math.sumPrecise(this.composites.map(t=>t.getSize()));return this.header.getSize()+e}write(e,t){if(!this.header)return 0;let s=e;if(e+=this.header.write(e,t),this.simple)e+=this.simple.write(e,t);else for(let i of this.composites)e+=i.write(e,t);return e-s}scale(e){if(!this.header)return;let t=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(t,e),this.simple)this.simple.scale(t,e);else for(let s of this.composites)s.scale(t,e)}},j1=class n{constructor({numberOfContours:e,xMin:t,yMin:s,xMax:i,yMax:r}){this.numberOfContours=e,this.xMin=t,this.yMin=s,this.xMax=i,this.yMax=r}static parse(e,t){return[Io,new n({numberOfContours:t.getInt16(e),xMin:t.getInt16(e+2),yMin:t.getInt16(e+4),xMax:t.getInt16(e+6),yMax:t.getInt16(e+8)})]}getSize(){return Io}write(e,t){return t.setInt16(e,this.numberOfContours),t.setInt16(e+2,this.xMin),t.setInt16(e+4,this.yMin),t.setInt16(e+6,this.xMax),t.setInt16(e+8,this.yMax),Io}scale(e,t){this.xMin=Math.round(e+(this.xMin-e)*t),this.xMax=Math.round(e+(this.xMax-e)*t)}},A1=class{constructor({flags:e,xCoordinates:t,yCoordinates:s}){this.xCoordinates=t,this.yCoordinates=s,this.flags=e}},S1=class n{constructor({contours:e,instructions:t}){this.contours=e,this.instructions=t}static parse(e,t,s){let i=[];for(let g=0;g<s;g++){let b=t.getUint16(e);e+=2,i.push(b)}let r=i[s-1]+1,a=t.getUint16(e);e+=2;let o=new Uint8Array(t).slice(e,e+a);e+=a;let l=[];for(let g=0;g<r;e++,g++){let b=t.getUint8(e);if(l.push(b),b&dy){let x=t.getUint8(++e);b^=dy;for(let w=0;w<x;w++)l.push(b);g+=x}}let c=[],f=[],h=[],u=[],d=[],p=0,m=0;for(let g=0;g<r;g++){let b=l[g];if(b&q0){let x=t.getUint8(e++);m+=b&Cl?x:-x,f.push(m)}else b&Cl||(m+=t.getInt16(e),e+=2),f.push(m);i[p]===g&&(p++,c.push(f),f=[])}m=0,p=0;for(let g=0;g<r;g++){let b=l[g];if(b&_0){let x=t.getUint8(e++);m+=b&Tl?x:-x,h.push(m)}else b&Tl||(m+=t.getInt16(e),e+=2),h.push(m);u.push(b&Eq|b&Rq),i[p]===g&&(f=c[p],p++,d.push(new A1({flags:u,xCoordinates:f,yCoordinates:h})),h=[],u=[])}return new n({contours:d,instructions:o})}getSize(){let e=this.contours.length*2+2+this.instructions.length,t=0,s=0;for(let i of this.contours){e+=i.flags.length;for(let r=0,a=i.xCoordinates.length;r<a;r++){let o=i.xCoordinates[r],l=i.yCoordinates[r],c=Math.abs(o-t);c>255?e+=2:c>0&&(e+=1),t=o,c=Math.abs(l-s),c>255?e+=2:c>0&&(e+=1),s=l}}return e}write(e,t){let s=e,i=[],r=[],a=[],o=0,l=0;for(let c of this.contours){for(let f=0,h=c.xCoordinates.length;f<h;f++){let u=c.flags[f],d=c.xCoordinates[f],p=d-o;if(p===0)u|=Cl,i.push(0);else{let g=Math.abs(p);g<=255?(u|=p>=0?q0|Cl:q0,i.push(g)):i.push(p)}o=d;let m=c.yCoordinates[f];if(p=m-l,p===0)u|=Tl,r.push(0);else{let g=Math.abs(p);g<=255?(u|=p>=0?_0|Tl:_0,r.push(g)):r.push(p)}l=m,a.push(u)}t.setUint16(e,i.length-1),e+=2}t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length);for(let c of a)t.setUint8(e++,c);for(let c=0,f=i.length;c<f;c++){let h=i[c],u=a[c];u&q0?t.setUint8(e++,h):u&Cl||(t.setInt16(e,h),e+=2)}for(let c=0,f=r.length;c<f;c++){let h=r[c],u=a[c];u&_0?t.setUint8(e++,h):u&Tl||(t.setInt16(e,h),e+=2)}return e-s}scale(e,t){for(let s of this.contours)if(s.xCoordinates.length!==0)for(let i=0,r=s.xCoordinates.length;i<r;i++)s.xCoordinates[i]=Math.round(e+(s.xCoordinates[i]-e)*t)}},q1=class n{constructor({flags:e,glyphIndex:t,argument1:s,argument2:i,transf:r,instructions:a}){this.flags=e,this.glyphIndex=t,this.argument1=s,this.argument2=i,this.transf=r,this.instructions=a}static parse(e,t){let s=e,i=[],r=t.getUint16(e),a=t.getUint16(e+2);e+=4;let o,l;r&wo?(r&I0?(o=t.getInt16(e),l=t.getInt16(e+2)):(o=t.getUint16(e),l=t.getUint16(e+2)),e+=4,r^=wo):(r&I0?(o=t.getInt8(e),l=t.getInt8(e+1)):(o=t.getUint8(e),l=t.getUint8(e+1)),e+=2),r&s4?(i.push(t.getUint16(e)),e+=2):r&i4?(i.push(t.getUint16(e),t.getUint16(e+2)),e+=4):r&r4&&(i.push(t.getUint16(e),t.getUint16(e+2),t.getUint16(e+4),t.getUint16(e+6)),e+=8);let c=null;if(r&W0){let f=t.getUint16(e);e+=2,c=new Uint8Array(t).slice(e,e+f),e+=f}return[e-s,new n({flags:r,glyphIndex:a,argument1:o,argument2:l,transf:i,instructions:c})]}getSize(){let e=4+this.transf.length*2;return this.flags&W0&&(e+=2+this.instructions.length),e+=2,this.flags&2?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(e+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(e+=2),e}write(e,t){let s=e;return this.flags&I0?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=wo):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=wo),t.setUint16(e,this.flags),t.setUint16(e+2,this.glyphIndex),e+=4,this.flags&wo?(this.flags&I0?(t.setInt16(e,this.argument1),t.setInt16(e+2,this.argument2)):(t.setUint16(e,this.argument1),t.setUint16(e+2,this.argument2)),e+=4):(t.setUint8(e,this.argument1),t.setUint8(e+1,this.argument2),e+=2),this.flags&W0&&(t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length)),e-s}scale(e,t){}};function Fq(n,e,t){let s=new DataView(n.buffer,n.byteOffset,n.byteLength),i=new Array(t);for(let h=0;h<t;h++){let u=e[h].offset,d=Math.min(e[h].endOffset,s.byteLength);if(d-u<=Io||s.getInt16(u)>=0)continue;let p=[],m=u+Io;for(;m+4<=d;){let g=s.getUint16(m),b=s.getUint16(m+2),x=4+(g&wo?4:2);if(g&s4?x+=2:g&i4?x+=4:g&r4&&(x+=8),p.push({gid:b,offset:m,size:x,flags:g}),m+=x,!(g&G0))break}p.length&&(i[h]=p)}let r=0,a=1,o=2,l=new Uint8Array(t),c=new Map;for(let h=0;h<t;h++){if(l[h]!==r||!i[h])continue;let u=[{node:h,idx:0}];for(l[h]=a;u.length>0;){let d=u.at(-1),p=i[d.node];if(!p||d.idx>=p.length){l[d.node]=o,u.pop();continue}let m=d.idx++,g=p[m].gid;if(!(g>=t||l[g]===o)){if(l[g]===r){l[g]=a,u.push({node:g,idx:0});continue}c.getOrInsertComputed(d.node,M8).add(m)}}}let f=new Set;for(let[h,u]of c){let d=i[h],p=[];for(let x=0;x<d.length;x++)u.has(x)||p.push(d[x]);if(p.length===0){f.add(h);continue}let m=e[h].offset,g=Math.min(e[h].endOffset,s.byteLength),b=m+Io;for(let x=0;x<p.length;x++){let w=p[x],v=x===p.length-1,k=w.flags&~W0;k=v?k&~G0:k|G0,b!==w.offset&&n.copyWithin(b,w.offset,w.offset+w.size),s.setUint16(b,k),b+=w.size}b<g&&n.fill(0,b,g)}return f}var pa=class{#e;constructor(e){this.#e=e}get size(){return this.#e.size}forEach(e){this.#e.forEach((t,s)=>{e(t,s.codePointAt(0))})}has(e){return this.#e.has(e)}get(e){return this.#e.get(e)}charCodeOf(e){return this.#e.charCodeOf(e)}amend(e){e.forEach((t,s)=>{this.#e.set(t,s)})}},Is=class{constructor(e,t){this.firstChar=e,this.lastChar=t}get size(){return this.lastChar+1-this.firstChar}forEach(e){for(let t=this.firstChar,s=this.lastChar;t<=s;t++)e(t,t)}has(e){return this.firstChar<=e&&e<=this.lastChar}get(e){return this.firstChar<=e&&e<=this.lastChar?String.fromCharCode(e):void 0}charCodeOf(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}amend(e){dt(\"Should not call amend()\")}},Yl=class{#e=-1;constructor(e,t){this.properties=t;let s=new bc(e,t,!0);this.cff=s.parse();let{charStringCount:i}=this.cff;this.glyphZeroId=this.cff.duplicateFirstGlyph(!0),this.glyphZeroId>0&&this.glyphZeroId<i&&(this.#e=this.glyphZeroId);let r=new yc(this.cff);this.seacs=this.cff.seacs;try{this.data=r.compile()}catch(a){B(`Failed to compile font \"${t.loadedName}\": \"${a}\".`),e.reset(),this.data=e.getBytes()}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){let e=this.cff,t=this.properties,{cidToGidMap:s,cMap:i}=t,r=e.charset.charset;if(t.composite){let o;s?.size&&(o=new Map,s.forEach((h,u)=>{o.set(u,h)}));let l=new Map,c,f;if(e.isCIDFont)for(f=0;f<r.length;f++){let h=r[f];c=i.charCodeOf(h),o?.has(c)&&(c=o.get(c)),l.set(c,f)}else for(f=0;f<e.charStrings.count;f++)c=i.charCodeOf(f),l.set(c,f);return l}let a=e.encoding?e.encoding.encoding:null;return t.isInternalFont&&(a=t.defaultEncoding),Z8(t,a,r)}hasGlyphId(e){return e!==this.#e&&this.cff.hasGlyphId(e)}_createBuiltInEncoding(){let{charset:e,encoding:t}=this.cff;if(!e||!t)return;let s=e.charset,i=t.encoding,r=[];for(let a in i){let o=i[a];if(o>=0){let l=s[o];l&&(r[a]=l)}}r.length>0&&(this.properties.builtInEncoding=r)}},_1=class{static strings=[\"fontFamily\",\"fontWeight\",\"italicAngle\"]},I1=class{static strings=[\"css\",\"loadedName\",\"baseFontName\",\"src\"]},nr=class{static bools=[\"black\",\"bold\",\"disableFontFace\",\"fontExtraProperties\",\"isInvalidPDFjsFont\",\"isType3Font\",\"italic\",\"missingFile\",\"remeasure\",\"vertical\"];static strings=[\"fallbackName\",\"loadedName\"];static OFFSET_BBOX=Math.ceil(this.bools.length*2/8);static OFFSET_FONT_MATRIX=this.OFFSET_BBOX+1+8;static OFFSET_STRINGS=this.OFFSET_FONT_MATRIX+1+48},Mi=class{static KIND=0;static HAS_BBOX=1;static HAS_BACKGROUND=2;static SHADING_TYPE=3;static N_COORD=4;static N_COLOR=8;static N_STOP=12;static N_FIGURES=16},C1=class{static get decoder(){return je(this,\"decoder\",new TextDecoder)}static get encoder(){return je(this,\"encoder\",new TextEncoder)}};function gh(n,e){let{encoder:t}=C1,s=new Map,i=0;for(let r of n){let a=t.encode(e[r]),o=a.length;s.set(a,o),i+=4+o}return{encodedStrings:s,stringsLength:i}}function bh(n,e,t,s=0){for(let[i,r]of n)t.setUint32(s,r),e.set(i,s+4),s+=4+r;return s}function Oq(n){let{encodedStrings:e,stringsLength:t}=gh(_1.strings,n),s=new ArrayBuffer(t),i=new Uint8Array(s),r=new DataView(s),a=bh(e,i,r);return Qt(a===s.byteLength,\"compileCssFontInfo: Buffer overflow\"),s}function Mq(n){let{encodedStrings:e,stringsLength:t}=gh(I1.strings,n),s,i=0;n.style&&({encodedStrings:s,stringsLength:i}=gh([\"style\",\"weight\"],n.style));let r=4+t+i,a=new ArrayBuffer(r),o=new Uint8Array(a),l=new DataView(a),c=0;return l.setUint32(c,t),c=bh(e,o,l,c+4),s&&(c=bh(s,o,l,c)),Qt(c<=a.byteLength,\"compileSystemFontInfo: Buffer overflow\"),a.transferToFixedLength(c)}function Pq(n){function e(m,g,b,x){if(m){f.setUint8(h++,g);for(let w of m)f[b](h,w,!0),h+=x}else f.setUint8(h++,0),h+=x*g}function t(m,g){if(!m){f.setUint32(h,0),h+=4;return}let b=m.byteLength;f.setUint32(h,b),Qt(h+4+b<=l.byteLength,`compileFontInfo: Buffer overflow at ${g}`),c.set(new Uint8Array(m),h+4),h+=4+b}let s=n.systemFontInfo?Mq(n.systemFontInfo):null,i=n.cssFontInfo?Oq(n.cssFontInfo):null,{encodedStrings:r,stringsLength:a}=gh(nr.strings,n),o=nr.OFFSET_STRINGS+4+a+4+(s?.byteLength??0)+4+(i?.byteLength??0)+4+(n.data?.length??0),l=new ArrayBuffer(o),c=new Uint8Array(l),f=new DataView(l),h=0,u=nr.bools.length,d=0,p=0;for(let m=0;m<u;m++){let g=n[nr.bools[m]];d|=(g===void 0?0:g?2:1)<<p,p+=2,(p===8||m===u-1)&&(f.setUint8(h++,d),d=0,p=0)}return Qt(h===nr.OFFSET_BBOX,\"compileFontInfo: Boolean properties offset mismatch\"),e(n.bbox,4,\"setInt16\",2),Qt(h===nr.OFFSET_FONT_MATRIX,\"compileFontInfo: BBox properties offset mismatch\"),e(n.fontMatrix,6,\"setFloat64\",8),Qt(h===nr.OFFSET_STRINGS,\"compileFontInfo: FontMatrix properties offset mismatch\"),f.setUint32(h,a),h=bh(r,c,f,h+4),t(s,\"systemFontInfo\"),t(i,\"cssFontInfo\"),n.data===void 0?(f.setUint32(h,0),h+=4):(f.setUint32(h,n.data.length),c.set(n.data,h+4),h+=4+n.data.length),Qt(h<=l.byteLength,\"compileFontInfo: Buffer overflow\"),l.transferToFixedLength(h)}function Bq(n){let e,t=null,s=[],i=[],r=[],a=null,o=null;switch(n[0]){case\"RadialAxial\":e=n[1]===\"axial\"?1:2,t=n[2],r=n[3],e===1?s.push(...n[4],...n[5]):s.push(n[4][0],n[4][1],n[6],n[5][0],n[5][1],n[7]);break;case\"Mesh\":e=3,a=n[1],s=n[2],i=n[3],t=n[6],o=n[7];break;default:throw new Error(`Unsupported pattern type: ${n[0]}`)}let l=Math.floor(s.length/2),c=Math.floor(i.length/4),f=r.length,h=20+l*8+c*4+f*8+(t?16:0)+(o?3:0),u=new ArrayBuffer(h),d=new DataView(u),p=new Uint8Array(u);d.setUint8(Mi.KIND,e),d.setUint8(Mi.HAS_BBOX,t?1:0),d.setUint8(Mi.HAS_BACKGROUND,o?1:0),d.setUint8(Mi.SHADING_TYPE,a),d.setUint32(Mi.N_COORD,l,!0),d.setUint32(Mi.N_COLOR,c,!0),d.setUint32(Mi.N_STOP,f,!0),d.setUint32(Mi.N_FIGURES,0,!0);let m=20;new Float32Array(u,m,l*2).set(s),m+=l*8,p.set(i,m),m+=c*4;for(let[b,x]of r)d.setFloat32(m,b,!0),m+=4,d.setUint32(m,parseInt(x.slice(1),16),!0),m+=4;if(t)for(let b of t)d.setFloat32(m,b,!0),m+=4;return o&&p.set(o,m),u}function Dq(n){return n.slice().buffer}function ia(n,e){return n.getInt16(e)/16384}function T1(n){let e=n.length;return e>=33900?32768:e<1240?107:1131}function Nq(n,e,t){let s=new DataView(n.buffer,n.byteOffset,n.byteLength),i=s.getUint16(e+2)===1?s.getUint32(e+8):s.getUint32(e+16),r=s.getUint16(e+i),a,o,l;if(r===4){let c=s.getUint16(e+i+6)>>1;for(o=e+i+14,a=[],l=0;l<c;l++,o+=2)a[l]={end:s.getUint16(o)};for(o+=2,l=0;l<c;l++,o+=2)a[l].start=s.getUint16(o);for(l=0;l<c;l++,o+=2)a[l].idDelta=s.getUint16(o);for(l=0;l<c;l++,o+=2){let f=s.getUint16(o);if(f!==0){a[l].ids=[];for(let h=0,u=a[l].end-a[l].start+1;h<u;h++)a[l].ids[h]=s.getUint16(o+f),f+=2}}return a}else if(r===12){let c=s.getUint32(e+i+12);for(o=e+i+16,a=[],l=0;l<c;l++)e=s.getUint32(o),a.push({start:e,end:s.getUint32(o+4),idDelta:s.getUint32(o+8)-e}),o+=12;return a}throw new se(`unsupported cmap: ${r}`)}function Hq(n,e,t,s){let i={},a=new bc(new Ft(n,e,t-e),i,s).parse();return{glyphs:a.charStrings.objects,subrs:a.topDict.privateDict?.subrsIndex?.objects,gsubrs:a.globalSubrIndex?.objects,isCFFCIDFont:a.isCIDFont,fdSelect:a.fdSelect,fdArray:a.fdArray}}function Lq(n,e,t){let s=new DataView(e.buffer,e.byteOffset,e.byteLength),i,r;t?(i=4,r=(l,c)=>l.getUint32(c)):(i=2,r=(l,c)=>2*l.getUint16(c));let a=[],o=r(s,0);for(let l=i;l<e.length;l+=i){let c=r(s,l);a.push(n.subarray(o,c)),o=c}return a}function E1(n,e){let t=e.codePointAt(0),s=0,i=0,r=n.length-1;for(;i<r;){let a=i+r+1>>1;t<n[a].start?r=a-1:i=a}return n[i].start<=t&&t<=n[i].end&&(s=n[i].idDelta+(n[i].ids?n[i].ids[t-n[i].start]:t)&65535),{charCode:t,glyphId:s}}function a4(n,e,t,s=new Set){if(!n?.length)return;if(s.has(n)){B(\"compileGlyf: skipping recursive composite glyph reference.\");return}s.add(n);function i(p,m){h&&e.add(zt.lineTo,h),h=[p,m],e.add(zt.moveTo,[p,m])}function r(p,m){e.add(zt.lineTo,[p,m])}function a(p,m,g,b){e.add(zt.quadraticCurveTo,[p,m,g,b])}let o=new DataView(n.buffer,n.byteOffset,n.byteLength),l=0,c=o.getInt16(l),f,h=null,u=0,d=0;if(l+=10,c<0)do{f=o.getUint16(l);let p=o.getUint16(l+2);l+=4;let m,g;f&1?(f&2?(m=o.getInt16(l),g=o.getInt16(l+2)):(m=o.getUint16(l),g=o.getUint16(l+2)),l+=4):f&2?(m=o.getInt8(l++),g=o.getInt8(l++)):(m=n[l++],g=n[l++]),f&2?(u=m,d=g):(u=0,d=0);let b=1,x=1,w=0,v=0;f&8?(b=x=ia(o,l),l+=2):f&64?(b=ia(o,l),x=ia(o,l+2),l+=4):f&128&&(b=ia(o,l),w=ia(o,l+2),v=ia(o,l+4),x=ia(o,l+6),l+=8);let k=t.glyphs[p];k&&(e.save(),e.transform([b,w,v,x,u,d]),f&2,a4(k,e,t,s),e.restore())}while(f&32);else{let p=[],m,g;for(m=0;m<c;m++)p.push(o.getUint16(l)),l+=2;let b=o.getUint16(l);l+=2+b;let x=p.at(-1)+1,w=[];for(;w.length<x;){f=n[l++];let k=1;for(f&8&&(k+=n[l++]);k-- >0;)w.push({flags:f})}for(m=0;m<x;m++){switch(w[m].flags&18){case 0:u+=o.getInt16(l),l+=2;break;case 2:u-=n[l++];break;case 18:u+=n[l++];break}w[m].x=u}for(m=0;m<x;m++){switch(w[m].flags&36){case 0:d+=o.getInt16(l),l+=2;break;case 4:d-=n[l++];break;case 36:d+=n[l++];break}w[m].y=d}let v=0;for(l=0;l<c;l++){let k=p[l],j=w.slice(v,k+1);if(j[0].flags&1)j.push(j[0]);else if(j.at(-1).flags&1)j.unshift(j.at(-1));else{let A={flags:1,x:(j[0].x+j.at(-1).x)/2,y:(j[0].y+j.at(-1).y)/2};j.unshift(A),j.push(A)}for(i(j[0].x,j[0].y),m=1,g=j.length;m<g;m++)j[m].flags&1?r(j[m].x,j[m].y):j[m+1].flags&1?(a(j[m].x,j[m].y,j[m+1].x,j[m+1].y),m++):a(j[m].x,j[m].y,(j[m].x+j[m+1].x)/2,(j[m].y+j[m+1].y)/2);v=k+1}}s.delete(n)}function R1(n,e,t,s){function i(d,p){h&&e.add(zt.lineTo,h),h=[d,p],e.add(zt.moveTo,[d,p])}function r(d,p){e.add(zt.lineTo,[d,p])}function a(d,p,m,g,b,x){e.add(zt.curveTo,[d,p,m,g,b,x])}let o=[],l=0,c=0,f=0,h=null;function u(d){let p=new DataView(d.buffer,d.byteOffset,d.byteLength),m=0;for(;m<d.length;){let g=!1,b=d[m++],x,w,v,k,j,A,S,q,_;switch(b){case 1:f+=o.length>>1,g=!0;break;case 3:f+=o.length>>1,g=!0;break;case 4:c+=o.pop(),i(l,c),g=!0;break;case 5:for(;o.length>0;)l+=o.shift(),c+=o.shift(),r(l,c);break;case 6:for(;o.length>0&&(l+=o.shift(),r(l,c),o.length!==0);)c+=o.shift(),r(l,c);break;case 7:for(;o.length>0&&(c+=o.shift(),r(l,c),o.length!==0);)l+=o.shift(),r(l,c);break;case 8:for(;o.length>0;)x=l+o.shift(),v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w+o.shift(),c=k+o.shift(),a(x,v,w,k,l,c);break;case 10:if(q=o.pop(),_=null,t.isCFFCIDFont){let I=t.fdSelect.getFDIndex(s);if(I>=0&&I<t.fdArray.length){let C=t.fdArray[I],T;C.privateDict?.subrsIndex&&(T=C.privateDict.subrsIndex.objects),T&&(q+=T1(T),_=T[q])}else B(\"Invalid fd index for glyph index.\")}else _=t.subrs[q+t.subrsBias];_&&u(_);break;case 11:return;case 12:switch(b=d[m++],b){case 34:x=l+o.shift(),w=x+o.shift(),j=c+o.shift(),l=w+o.shift(),a(x,c,w,j,l,j),x=l+o.shift(),w=x+o.shift(),l=w+o.shift(),a(x,j,w,c,l,c);break;case 35:x=l+o.shift(),v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w+o.shift(),c=k+o.shift(),a(x,v,w,k,l,c),x=l+o.shift(),v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w+o.shift(),c=k+o.shift(),a(x,v,w,k,l,c),o.pop();break;case 36:x=l+o.shift(),j=c+o.shift(),w=x+o.shift(),A=j+o.shift(),l=w+o.shift(),a(x,j,w,A,l,A),x=l+o.shift(),w=x+o.shift(),S=A+o.shift(),l=w+o.shift(),a(x,A,w,S,l,c);break;case 37:let I=l,C=c;x=l+o.shift(),v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w+o.shift(),c=k+o.shift(),a(x,v,w,k,l,c),x=l+o.shift(),v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w,c=k,Math.abs(l-I)>Math.abs(c-C)?l+=o.shift():c+=o.shift(),a(x,v,w,k,l,c);break;default:throw new se(`unknown operator: 12 ${b}`)}break;case 14:if(o.length>=4){let I=o.pop(),C=o.pop();c=o.pop(),l=o.pop(),e.save(),e.translate(l,c);let T=E1(t.cmap,String.fromCharCode(t.glyphNameMap[cr[I]]));R1(t.glyphs[T.glyphId],e,t,T.glyphId),e.restore(),T=E1(t.cmap,String.fromCharCode(t.glyphNameMap[cr[C]])),R1(t.glyphs[T.glyphId],e,t,T.glyphId)}return;case 18:f+=o.length>>1,g=!0;break;case 19:f+=o.length>>1,m+=f+7>>3,g=!0;break;case 20:f+=o.length>>1,m+=f+7>>3,g=!0;break;case 21:c+=o.pop(),l+=o.pop(),i(l,c),g=!0;break;case 22:l+=o.pop(),i(l,c),g=!0;break;case 23:f+=o.length>>1,g=!0;break;case 24:for(;o.length>2;)x=l+o.shift(),v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w+o.shift(),c=k+o.shift(),a(x,v,w,k,l,c);l+=o.shift(),c+=o.shift(),r(l,c);break;case 25:for(;o.length>6;)l+=o.shift(),c+=o.shift(),r(l,c);x=l+o.shift(),v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w+o.shift(),c=k+o.shift(),a(x,v,w,k,l,c);break;case 26:for(o.length%2&&(l+=o.shift());o.length>0;)x=l,v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w,c=k+o.shift(),a(x,v,w,k,l,c);break;case 27:for(o.length%2&&(c+=o.shift());o.length>0;)x=l+o.shift(),v=c,w=x+o.shift(),k=v+o.shift(),l=w+o.shift(),c=k,a(x,v,w,k,l,c);break;case 28:o.push(p.getInt16(m)),m+=2;break;case 29:q=o.pop()+t.gsubrsBias,_=t.gsubrs[q],_&&u(_);break;case 30:for(;o.length>0&&(x=l,v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w+o.shift(),c=k+(o.length===1?o.shift():0),a(x,v,w,k,l,c),o.length!==0);)x=l+o.shift(),v=c,w=x+o.shift(),k=v+o.shift(),c=k+o.shift(),l=w+(o.length===1?o.shift():0),a(x,v,w,k,l,c);break;case 31:for(;o.length>0&&(x=l+o.shift(),v=c,w=x+o.shift(),k=v+o.shift(),c=k+o.shift(),l=w+(o.length===1?o.shift():0),a(x,v,w,k,l,c),o.length!==0);)x=l,v=c+o.shift(),w=x+o.shift(),k=v+o.shift(),l=w+o.shift(),c=k+(o.length===1?o.shift():0),a(x,v,w,k,l,c);break;default:if(b<32)throw new se(`unknown operator: ${b}`);b<247?o.push(b-139):b<251?o.push((b-247)*256+d[m++]+108):b<255?o.push(-(b-251)*256-d[m++]-108):(o.push(p.getInt32(m)/65536),m+=4);break}g&&(o.length=0)}}u(n)}var F1=class{cmds=[];transformStack=[];currentTransform=[1,0,0,1,0,0];add(e,t){if(t){let{currentTransform:s}=this;for(let i=0,r=t.length;i<r;i+=2)ft.applyTransform(t,s,i);this.cmds.push(e,...t)}else this.cmds.push(e)}transform(e){this.currentTransform=ft.transform(this.currentTransform,e)}translate(e,t){this.transform([1,0,0,1,e,t])}save(){this.transformStack.push(this.currentTransform.slice())}restore(){this.currentTransform=this.transformStack.pop()||[1,0,0,1,0,0]}getPath(){return Nn.isFloat16ArraySupported?new Float16Array(this.cmds):new Float32Array(this.cmds)}},wh=class n{#e=new Set;#n=new Map;constructor(e){this.fontMatrix=e}static get NOOP(){return je(this,\"NOOP\",Nn.isFloat16ArraySupported?new Float16Array(0):new Float32Array(0))}getPath(e){let{charCode:t,glyphId:s}=E1(this.cmap,e);if(this.#n.has(s)&&this.#e.has(t))return null;let i=this.#n.getOrInsertComputed(s,()=>{try{return this.compileGlyph(this.glyphs[s],s)}catch(r){return r}});if(this.#e.add(t),i instanceof Error)throw i;return Dq(i)}compileGlyph(e,t){if(!e?.length||e[0]===14)return n.NOOP;let s=this.fontMatrix;if(this.isCFFCIDFont){let r=this.fdSelect.getFDIndex(t);r>=0&&r<this.fdArray.length?s=this.fdArray[r].getByName(\"FontMatrix\")||ba:B(\"Invalid fd index for glyph index.\")}Qt(tn(s,6),\"Expected a valid fontMatrix.\");let i=new F1;return i.transform(s.slice()),this.compileGlyphImpl(e,i,t),i.add(zt.closePath),i.getPath()}compileGlyphImpl(){dt(\"Children classes should implement this.\")}},O1=class extends wh{constructor(e,t,s){super(s||[488e-6,0,0,488e-6,0,0]),this.glyphs=e,this.cmap=t}compileGlyphImpl(e,t){a4(e,t,this)}},M1=class extends wh{constructor(e,t,s){super(s||[.001,0,0,.001,0,0]),this.glyphs=e.glyphs,this.gsubrs=e.gsubrs||[],this.subrs=e.subrs||[],this.cmap=t,this.glyphNameMap=gi(),this.gsubrsBias=T1(this.gsubrs),this.subrsBias=T1(this.subrs),this.isCFFCIDFont=e.isCFFCIDFont,this.fdSelect=e.fdSelect,this.fdArray=e.fdArray}compileGlyphImpl(e,t,s){R1(e,t,this,s)}},P1=class{static create(e,t){let s=new Uint8Array(e.data),i=new DataView(s.buffer),r,a,o,l,c,f,h=i.getUint16(4);for(let u=0,d=12;u<h;u++,d+=16){let p=ms(s.subarray(d,d+4)),m=i.getUint32(d+8),g=i.getUint32(d+12);switch(p){case\"cmap\":r=Nq(s,m,m+g);break;case\"glyf\":a=s.subarray(m,m+g);break;case\"loca\":o=s.subarray(m,m+g);break;case\"head\":f=i.getUint16(m+18),c=i.getUint16(m+50);break;case\"CFF \":l=Hq(s,m,m+g,t);break}}if(a){let u=f?[1/f,0,0,1/f,0,0]:e.fontMatrix;return new O1(Lq(a,o,c),r,u)}return new M1(l,r,e.fontMatrix)}},o4=Gt(function(n){n.Courier=600,n[\"Courier-Bold\"]=600,n[\"Courier-BoldOblique\"]=600,n[\"Courier-Oblique\"]=600,n.Helvetica=Gt(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),n[\"Helvetica-Bold\"]=Gt(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),n[\"Helvetica-BoldOblique\"]=Gt(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),n[\"Helvetica-Oblique\"]=Gt(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),n.Symbol=Gt(function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790}),n[\"Times-Roman\"]=Gt(function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),n[\"Times-Bold\"]=Gt(function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),n[\"Times-BoldItalic\"]=Gt(function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),n[\"Times-Italic\"]=Gt(function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),n.ZapfDingbats=Gt(function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918})}),zq=Gt(function(n){n.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},n[\"Courier-Bold\"]={ascent:629,descent:-157,capHeight:562,xHeight:439},n[\"Courier-Oblique\"]={ascent:629,descent:-157,capHeight:562,xHeight:426},n[\"Courier-BoldOblique\"]={ascent:629,descent:-157,capHeight:562,xHeight:426},n.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},n[\"Helvetica-Bold\"]={ascent:718,descent:-207,capHeight:718,xHeight:532},n[\"Helvetica-Oblique\"]={ascent:718,descent:-207,capHeight:718,xHeight:523},n[\"Helvetica-BoldOblique\"]={ascent:718,descent:-207,capHeight:718,xHeight:532},n[\"Times-Roman\"]={ascent:683,descent:-217,capHeight:662,xHeight:450},n[\"Times-Bold\"]={ascent:683,descent:-217,capHeight:676,xHeight:461},n[\"Times-Italic\"]={ascent:683,descent:-217,capHeight:653,xHeight:441},n[\"Times-BoldItalic\"]={ascent:683,descent:-217,capHeight:669,xHeight:462},n.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},n.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}}),py=12,my=16,jc=class n{#e=new Map;constructor(e){this.sfnt=e}static getSearchParams(e,t){let s=1,i=0;for(;(s^e)>s;)s<<=1,i++;let r=s*t;return{range:r,entry:i,rangeShift:t*e-r}}toArray(){let e=this.sfnt,t=this.#e,s=[...t.keys()].sort(),i=s.length,r=py+i*my,a=[r];for(let f=0;f<i;f++){let u=(t.get(s[f]).length+3&-4)>>>0;r+=u,a.push(r)}let o=new Uint8Array(r),l=new DataView(o.buffer);for(let f=0;f<i;f++){let h=t.get(s[f]);o.set(h,a[f])}e===\"true\"&&(e=\"\\0\u0001\\0\\0\"),o.set(Vt(e),0),l.setInt16(4,i);let c=n.getSearchParams(i,16);l.setInt16(6,c.range),l.setInt16(8,c.entry),l.setInt16(10,c.rangeShift),r=py;for(let f=0;f<i;f++){let h=s[f];o.set(Vt(h),r);let u=0;for(let d=a[f],p=a[f+1];d<p;d+=4){let m=l.getUint32(d);u=u+m>>>0}l.setInt32(r+4,u),l.setInt32(r+8,a[f]),l.setInt32(r+12,t.get(h).length),r+=my}return this.#e.clear(),o}addTable(e,t){if(this.#e.has(e))throw new Error(`Table ${e} already exists`);this.#e.set(e,t)}};var Uq=16,Gq=64*1024*1024,Wq=48,gy=65535,Mn={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]},xh=class{width=0;lsb=0;flexing=!1;output=[];stack=[];tokens=0;convert(e,t,s,i=0){if(i>Uq)return!0;let r=e.length,a=!1,o,l,c;for(let f=0;f<r;f++){if(++this.tokens>Gq||this.stack.length>Wq)return!0;let h=e[f];if(h<32){switch(h===12&&(h=(h<<8)+e[++f]),h){case 1:this.stack=[];break;case 3:this.stack=[];break;case 4:if(this.flexing){if(this.stack.length<1){a=!0;break}let g=this.stack.pop();this.stack.push(0,g);break}a=this.executeCommand(1,Mn.vmoveto);break;case 5:a=this.executeCommand(2,Mn.rlineto);break;case 6:a=this.executeCommand(1,Mn.hlineto);break;case 7:a=this.executeCommand(1,Mn.vlineto);break;case 8:a=this.executeCommand(6,Mn.rrcurveto);break;case 9:this.stack=[];break;case 10:if(this.stack.length<1){a=!0;break}if(c=this.stack.pop(),!t[c]){a=!0;break}a=this.convert(t[c],t,s,i+1);break;case 11:return a;case 13:if(this.stack.length<2){a=!0;break}o=this.stack.pop(),l=this.stack.pop(),this.lsb=l,this.width=o,this.stack.push(o,l),a=this.executeCommand(2,Mn.hmoveto);break;case 14:this.output.push(Mn.endchar[0]),a=this.output.length>gy;break;case 21:if(this.flexing)break;a=this.executeCommand(2,Mn.rmoveto);break;case 22:if(this.flexing){this.stack.push(0);break}a=this.executeCommand(1,Mn.hmoveto);break;case 30:a=this.executeCommand(4,Mn.vhcurveto);break;case 31:a=this.executeCommand(4,Mn.hvcurveto);break;case 3072:this.stack=[];break;case 3073:this.stack=[];break;case 3074:this.stack=[];break;case 3078:if(s){let g=this.stack.at(-5);this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-g,a=this.executeCommand(0,Mn.endchar)}else a=this.executeCommand(4,Mn.endchar);break;case 3079:if(this.stack.length<4){a=!0;break}this.stack.pop(),o=this.stack.pop();let u=this.stack.pop();l=this.stack.pop(),this.lsb=l,this.width=o,this.stack.push(o,l,u),a=this.executeCommand(3,Mn.rmoveto);break;case 3084:if(this.stack.length<2){a=!0;break}let d=this.stack.pop(),p=this.stack.pop();this.stack.push(p/d);break;case 3088:if(this.stack.length<2){a=!0;break}c=this.stack.pop();let m=this.stack.pop();if(c===0&&m===3){let g=this.stack.splice(-17,17);this.stack.push(g[2]+g[0],g[3]+g[1],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14]),a=this.executeCommand(13,Mn.flex,!0),this.flexing=!1,this.stack.push(g[15],g[16])}else c===1&&m===0&&(this.flexing=!0);break;case 3089:break;case 3105:this.stack=[];break;default:B('Unknown type 1 charstring command of \"'+h+'\"');break}if(a)break;continue}else h<=246?h-=139:h<=250?h=(h-247)*256+e[++f]+108:h<=254?h=-((h-251)*256)-e[++f]-108:h=(e[++f]&255)<<24|(e[++f]&255)<<16|(e[++f]&255)<<8|(e[++f]&255)<<0;this.stack.push(h)}return a}executeCommand(e,t,s){let i=this.stack.length;if(e>i)return!0;let r=i-e;for(let a=r;a<i;a++){let o=this.stack[a];Number.isInteger(o)?this.output.push(28,o>>8&255,o&255):(o=65536*o|0,this.output.push(255,o>>24&255,o>>16&255,o>>8&255,o&255))}return this.output.push(...t),s?this.stack.splice(r,e):this.stack.length=0,this.output.length>gy}},by=55665,$q=4330;function Ar(n){return n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102}function wy(n,e,t){if(t>=n.length)return new Uint8Array(0);let s=52845,i=22719,r=e|0,a,o;for(a=0;a<t;a++)r=(n[a]+r)*s+i&65535;let l=n.length-t,c=new Uint8Array(l);for(a=t,o=0;o<l;a++,o++){let f=n[a];c[o]=f^r>>8,r=(f+r)*s+i&65535}return c}function Vq(n,e,t){let r=e|0,a=n.length,o=a>>>1,l=new Uint8Array(o),c=-1,f,h;for(f=0,h=0;f<a;f++){let u=Xl(n[f]);if(u<0)continue;if(c<0){c=u;continue}let d=c<<4|u;c=-1,l[h++]=d^r>>8,r=(d+r)*52845+22719&65535}return l.slice(t,h)}function xy(n){return n===47||n===91||n===93||n===123||n===125||n===40||n===41}var Jl=class{constructor(e,t,s){if(t){let i=e.getBytes(),r=!((Ar(i[0])||yi(i[0]))&&Ar(i[1])&&Ar(i[2])&&Ar(i[3])&&Ar(i[4])&&Ar(i[5])&&Ar(i[6])&&Ar(i[7]));e=new Ft(r?wy(i,by,4):Vq(i,by,4))}this.seacAnalysisEnabled=!!s,this.stream=e,this.nextChar()}readNumberArray(){this.getToken();let e=[];for(;;){let t=this.getToken();if(t===null||t===\"]\"||t===\"}\")break;e.push(parseFloat(t||0))}return e}readNumber(){let e=this.getToken();return parseFloat(e||0)}readInt(){let e=this.getToken();return parseInt(e||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 e=!1,t=this.currentChar;for(;;){if(t===-1)return null;if(e)(t===10||t===13)&&(e=!1);else if(t===37)e=!0;else if(!yi(t))break;t=this.nextChar()}if(xy(t))return this.nextChar(),String.fromCharCode(t);let s=\"\";do s+=String.fromCharCode(t),t=this.nextChar();while(t>=0&&!yi(t)&&!xy(t));return s}readCharStrings(e,t){return t===-1?e:wy(e,$q,t)}extractFontProgram(e){let t=this.stream,s=[],i=[],r=new Map([[\"lenIV\",4]]),a={subrs:[],charstrings:[],properties:{privateData:r}},o,l,c,f=!1,h=!1;for(;(o=this.getToken())!==null;)if(o===\"/\")switch(o=this.getToken(),o){case\"CharStrings\":if(h)break;for(h=!0,this.getToken(),this.getToken(),this.getToken(),this.getToken();o=this.getToken(),!(o===null||o===\"end\");){if(o!==\"/\")continue;let d=this.getToken();l=this.readInt(),this.getToken(),c=l>0?t.getBytes(l):new Uint8Array(0);let p=this.readCharStrings(c,r.get(\"lenIV\"));this.nextChar(),o=this.getToken(),o===\"noaccess\"?this.getToken():o===\"/\"&&this.prevChar(),i.push({glyph:d,encoded:p})}break;case\"Subrs\":if(f)break;for(f=!0,this.readInt(),this.getToken();this.getToken()===\"dup\";){let d=this.readInt();l=this.readInt(),this.getToken(),c=l>0?t.getBytes(l):new Uint8Array(0);let p=this.readCharStrings(c,r.get(\"lenIV\"));this.nextChar(),o=this.getToken(),o===\"noaccess\"&&this.getToken(),s[d]=p}break;case\"BlueValues\":case\"OtherBlues\":case\"FamilyBlues\":case\"FamilyOtherBlues\":let u=this.readNumberArray();break;case\"StemSnapH\":case\"StemSnapV\":r.set(o,this.readNumberArray());break;case\"StdHW\":case\"StdVW\":r.set(o,this.readNumberArray()[0]);break;case\"BlueShift\":case\"lenIV\":case\"BlueFuzz\":case\"BlueScale\":case\"LanguageGroup\":r.set(o,this.readNumber());break;case\"ExpansionFactor\":r.set(o,this.readNumber()||.06);break;case\"ForceBold\":r.set(o,this.readBoolean());break}for(let{encoded:u,glyph:d}of i){let p=new xh,g=p.convert(u,s,this.seacAnalysisEnabled)?[14]:p.output,b={glyphName:d,charstring:g,width:p.width,lsb:p.lsb,seac:p.seac};if(d===\".notdef\"?a.charstrings.unshift(b):a.charstrings.push(b),e.builtInEncoding){let x=e.builtInEncoding.indexOf(d);x>-1&&e.widths[x]===void 0&&x>=e.firstChar&&x<=e.lastChar&&(e.widths[x]=p.width)}}return a}extractCidKeyedFontProgram(e){let t=this.stream,s=new Map([[\"lenIV\",4]]),i={subrs:[],charstrings:[],properties:{privateData:s}},r=0,a=-1,o=1,l=0,c=-1,f=0,h=0,u=0,d=!1,p=!1,m=[];function g(_){m.push(_),m.length>4&&m.shift()}let b;for(;(b=this.getToken())!==null;){if(b===\"StartData\"){let _=m.at(-3),I=m.at(-1);if(m.at(-4)!==\"(\"||m.at(-2)!==\")\"||_!==\"Binary\"&&_!==\"Hex\"||!/^\\d+$/.test(I)||(u=parseInt(I,10),u<=0))return null;d=_===\"Hex\",p=!0;break}if(g(b),b===\"/\")switch(b=this.getToken(),g(b),b){case\"FontMatrix\":e.fontMatrix=this.readNumberArray();break;case\"FontBBox\":let _=this.readNumberArray();e.ascent=Math.max(_[3],_[1]),e.descent=Math.min(_[1],_[3]),e.ascentScaled=!0;break;case\"CIDCount\":r=this.readInt();break;case\"CIDMapOffset\":a=this.readInt();break;case\"FDBytes\":o=this.readInt();break;case\"GDBytes\":l=this.readInt();break;case\"SubrMapOffset\":c=this.readInt();break;case\"SDBytes\":f=this.readInt();break;case\"SubrCount\":h=this.readInt();break;case\"BlueValues\":case\"OtherBlues\":case\"FamilyBlues\":case\"FamilyOtherBlues\":this.readNumberArray();break;case\"StemSnapH\":case\"StemSnapV\":s.set(b,this.readNumberArray());break;case\"StdHW\":case\"StdVW\":s.set(b,this.readNumberArray()[0]);break;case\"BlueShift\":case\"lenIV\":case\"BlueFuzz\":case\"BlueScale\":case\"LanguageGroup\":s.set(b,this.readNumber());break;case\"ExpansionFactor\":s.set(b,this.readNumber()||.06);break;case\"ForceBold\":s.set(b,this.readBoolean());break}}if(!p||r<=0||a<0||o<0||o>4||l<1||l>4)return null;let x=t.end-t.pos;if(u>x){if(!d)u=x;else if(u>2*x)return null}let w=t.getBytes(d?void 0:u);if(d){let _=new Uint8Array(u),I=-1,C=0;for(let T=0,M=w.length;T<M&&C<u;T++){let E=Xl(w[T]);if(!(E<0)){if(I<0){I=E;continue}_[C++]=I<<4|E,I=-1}}if(C!==u)return null;w=_}let v=s.get(\"lenIV\"),k=o+l,j=[];function A(_,I){let C=0;for(let T=0;T<I;T++)C=C<<8|w[_+T];return C>>>0}if(a+(r+1)*k>w.length||h>0&&(c<0||f<1||f>4||c+(h+1)*f>w.length))return null;if(o>0){for(let _=0;_<r;_++)if(A(a+_*k,o)!==0)return null}if(h>0){let _=new Array(h+1);for(let I=0;I<=h;I++)_[I]=A(c+I*f,f);for(let I=0;I<h;I++){let C=_[I],T=_[I+1];if(T>w.length||T<C){j[I]=new Uint8Array(0);continue}j[I]=this.readCharStrings(w.subarray(C,T),v)}}let S=[],q=A(a+o,l);for(let _=0;_<r;_++){let I=A(a+(_+1)*k+o,l),C=_===0?\".notdef\":`cid${_}`;if(I>q&&I<=w.length){let T=this.readCharStrings(w.subarray(q,I),v),M=new xh,E=M.convert(T,j,this.seacAnalysisEnabled);S.push({glyphName:C,charstring:E?[14]:M.output,width:M.width,lsb:M.lsb,seac:M.seac})}else{let T=S[0];S.push({glyphName:C,charstring:T?.charstring.slice()||[139,14],width:T?.width||0,lsb:T?.lsb||0})}q=I}return i.subrs=j,i.charstrings=S,i}extractFontHeader(e){let t;for(;(t=this.getToken())!==null;)if(t===\"/\")switch(t=this.getToken(),t){case\"FontMatrix\":let s=this.readNumberArray();e.fontMatrix=s;break;case\"Encoding\":let i=this.getToken(),r;if(!/^\\d+$/.test(i))r=gc(i);else{r=[];let o=parseInt(i,10)|0;this.getToken();for(let l=0;l<o;l++){for(t=this.getToken();t!==\"dup\"&&t!==\"def\";)if(t=this.getToken(),t===null)return;if(t===\"def\")break;let c=this.readInt();this.getToken();let f=this.getToken();r[c]=f,this.getToken()}}e.builtInEncoding=r;break;case\"FontBBox\":let a=this.readNumberArray();e.ascent=Math.max(a[3],a[1]),e.descent=Math.min(a[1],a[3]),e.ascentScaled=!0;break}}};function vy(n,e,t){let s=n.length,i=e.length,r=s-i,a=t,o=!1;for(;a<r;){let l=0;for(;l<i&&n[a+l]===e[l];)l++;if(l>=i){for(a+=l;a<s&&yi(n[a]);)a++;o=!0;break}a++}return{found:o,length:a}}function Kq(n,e){let t=[101,101,120,101,99],s=n.pos,i,r,a;try{i=n.getBytes(e),r=i.length}catch{}if(r===e&&(a=vy(i,t,e-2*t.length),a.found&&a.length===e))return{stream:new Ft(i),length:e};B('Invalid \"Length1\" property in Type1 font -- trying to recover.'),n.pos=s;let o=2048,l;for(;;){let c=n.peekBytes(o);if(a=vy(c,t,0),a.length===0)break;if(n.pos+=a.length,a.found){l=n.pos-s;break}}return n.pos=s,l?{stream:new Ft(n.getBytes(l)),length:l}:(B('Unable to recover \"Length1\" property in Type1 font -- using as is.'),{stream:new Ft(n.getBytes(e)),length:e})}function Xq(n,e){let t=n.getBytes();if(t.length===0)throw new se(\"getEexecBlock - no font program found.\");return{stream:new Ft(t),length:t.length}}function Yq(n){let e=n.peekBytes(2048);if(e.length<2||e[0]!==37||e[1]!==33)return!1;let t=ms(e);return t.includes(\"Resource-CIDFont\")||/\\/CIDFontType\\s+0\\b/.test(t)}var B1=class{#e;constructor(e,t,s){let i;s.composite&&Yq(t)&&(i=this.#t(t,s)),i||=this.#n(t,s);for(let l in i.properties)s[l]=i.properties[l];let r=i.charstrings,a=this.getType2Charstrings(r),o=this.getType2Subrs(i.subrs);this.charstrings=r,this.data=this.wrap(e,a,this.charstrings,o,s),this.seacs=this.getSeacs(i.charstrings)}#n(e,t){let i=t.length1,r=t.length2,a=e.peekBytes(6),o=a[0]===128&&a[1]===1;o&&(e.skip(6),i=a[5]<<24|a[4]<<16|a[3]<<8|a[2]);let l=Kq(e,i);new Jl(l.stream,!1,!0).extractFontHeader(t),o&&(a=e.getBytes(6),r=a[5]<<24|a[4]<<16|a[3]<<8|a[2]);let f=Xq(e,r),u=new Jl(f.stream,!0,!0).extractFontProgram(t);return this.#e=l.length+f.length,u}#t(e,t){let s=e.pos,i=e.end-s,a=new Jl(e,!1,!0).extractCidKeyedFontProgram(t);return a?(this.#e=i,a):(e.pos=s,B(\"Type1Font: unable to parse CID-keyed Type 1 font.\"),null)}get numGlyphs(){return this.charstrings.length+1}getCharset(){let e=[\".notdef\"];for(let{glyphName:t}of this.charstrings)e.push(t);return e}getGlyphMapping(e){let t=this.charstrings;if(e.composite){let o=new Map;for(let l=0,c=t.length;l<c;l++){let f=e.cMap.charCodeOf(l);o.set(f,l+1)}return o}let s=[\".notdef\"],i,r;for(r=0;r<t.length;r++)s.push(t[r].glyphName);let a=e.builtInEncoding;if(a){i=Object.create(null);for(let o in a)r=s.indexOf(a[o]),r>=0&&(i[o]=r)}return Z8(e,i,s)}hasGlyphId(e){return e<0||e>=this.numGlyphs?!1:e===0?!0:this.charstrings[e-1].charstring.length>0}getSeacs(e){let t=new Map;for(let s=0,i=e.length;s<i;s++){let{seac:r}=e[s];r&&t.set(s+1,r)}return t}getType2Charstrings(e){let t=[];for(let s of e)t.push(s.charstring);return t}getType2Subrs(e){let t=0,s=e.length;s<1133?t=107:s<33769?t=1131:t=32768;let i=[],r;for(r=0;r<t;r++)i.push([11]);for(r=0;r<s;r++)i.push(e[r]);return i}wrap(e,t,s,i,r){let a=new hh(this.#e);a.header=new uh(1,0,4,4),a.names=[e];let o=new xc;o.setByName(\"version\",391),o.setByName(\"Notice\",392),o.setByName(\"FullName\",393),o.setByName(\"FamilyName\",394),o.setByName(\"Weight\",395),o.setByName(\"Encoding\",null),o.setByName(\"FontMatrix\",r.fontMatrix),o.setByName(\"FontBBox\",r.bbox),o.setByName(\"charset\",null),o.setByName(\"CharStrings\",null),o.setByName(\"Private\",null),a.topDict=o;let l=new wc;l.add(\"Version 0.11\"),l.add(\"See original notice\"),l.add(e),l.add(e),l.add(\"Medium\"),a.strings=l,a.globalSubrIndex=new Ni;let c=t.length,f=[\".notdef\"];for(let g=0;g<c;g++){let{glyphName:b}=s[g];U0.indexOf(b)===-1&&l.add(b),f.push(b)}a.charset=new da(!1,0,f);let h=new Ni;h.add([139,14]);for(let g=0;g<c;g++)h.add(t[g]);a.charStrings=h;let u=new vc;u.setByName(\"Subrs\",null);let d=[\"BlueValues\",\"OtherBlues\",\"FamilyBlues\",\"FamilyOtherBlues\",\"StemSnapH\",\"StemSnapV\",\"BlueShift\",\"BlueFuzz\",\"BlueScale\",\"LanguageGroup\",\"ExpansionFactor\",\"ForceBold\",\"StdHW\",\"StdVW\"];for(let g of d){if(!r.privateData.has(g))continue;let b=r.privateData.get(g);if(Array.isArray(b))for(let x=b.length-1;x>0;x--)b[x]-=b[x-1];u.setByName(g,b)}a.topDict.privateDict=u;let p=new Ni;for(let g of i)p.add(g);return u.subrsIndex=p,new yc(a).compile()}},tr=[[57344,63743],[1048576,1114109]],oa=1e3,Jq=[\"bbox\",\"black\",\"bold\",\"cssFontInfo\",\"data\",\"disableFontFace\",\"fallbackName\",\"fontExtraProperties\",\"fontMatrix\",\"isInvalidPDFjsFont\",\"isType3Font\",\"italic\",\"loadedName\",\"missingFile\",\"remeasure\",\"systemFontInfo\",\"vertical\"],Qq=[\"ascent\",\"composite\",\"defaultEncoding\",\"defaultVMetrics\",\"defaultWidth\",\"descent\",\"differences\",\"isMonospace\",\"isSerifFont\",\"isSymbolicFont\",\"name\",\"seacMap\",\"subtype\",\"toFontChar\",\"type\",\"vmetrics\",\"widths\"];function yy(n){if(!n.fontMatrix||n.fontMatrix[0]===ba[0])return;let e=.001/n.fontMatrix[0],t=n.widths;for(let s in t)t[s]*=e;n.defaultWidth*=e}function Zq(n,e,t){if(n.isInternalFont||n.hasIncludedToUnicodeMap||n.hasEncoding||n.toUnicode instanceof Is||!e||t.length===0||n.defaultEncoding===mc)return;for(let a of t)if(!c4(a))return;let s=mc,i=new xi,r=gi();for(let a in s){let o=s[a];if(o===\"\")continue;let l=r[o];l!==void 0&&i.set(+a,String.fromCharCode(l))}n.toUnicode.amend(i)}function e_(n,e){if(n.isInternalFont||n.hasIncludedToUnicodeMap||e===n.defaultEncoding||n.toUnicode instanceof Is)return;let t=new xi,s=gi();for(let i in e){if(n.hasEncoding&&(n.baseEncodingName||n.differences.has(+i)))continue;let r=e[i],a=Oo(r,s);a!==-1&&t.set(+i,String.fromCharCode(a))}n.toUnicode.amend(t)}function ky(n){if(!n.fallbackToUnicode||n.toUnicode instanceof Is)return;let e=new xi;n.fallbackToUnicode.forEach((t,s)=>{n.toUnicode.has(t)||e.set(t,s)}),n.toUnicode.amend(e)}var D1=class{constructor(e,t,s,i,r,a,o,l,c,f,h){e&&(this.originalCharCode=t),this.fontChar=s,this.unicode=i,this.accent=r,this.width=a,this.vmetric=o,this.operatorListId=l,this.isSpace=c,this.isInFont=f,this.isRotated=h}get category(){return je(this,\"category\",hq(this.unicode),!0)}};function El(n,e){return(n<<8)+e}function Rl(n,e,t){n[e+1]=t,n[e]=t>>>8}function us(n,e){let t=(n<<8)+e;return t&32768?t-65536:t}function jy(n,e,t){n[e+3]=t&255,n[e+2]=t>>>8,n[e+1]=t>>>16,n[e]=t>>>24}function t_(n){let e=n.peekBytes(4),t=ms(e);return t===\"\\0\u0001\\0\\0\"||t===\"true\"}function l4(n){let e=n.peekBytes(4);return ms(e)===\"ttcf\"}function n_(n){let e=n.peekBytes(4);return ms(e)===\"OTTO\"}function s_(n){let e=n.peekBytes(2);return e[0]===37&&e[1]===33||e[0]===128&&e[1]===1}function i_(n){let e=n.peekBytes(4);return e[0]>=1&&e[3]>=1&&e[3]<=4}function r_(n,{type:e,subtype:t,composite:s}){let i,r;return t_(n)||l4(n)?i=s?\"CIDFontType2\":\"TrueType\":n_(n)?i=s?\"CIDFontType2\":\"OpenType\":s_(n)?s?i=\"CIDFontType0\":i=e===\"MMType1\"?\"MMType1\":\"Type1\":i_(n)?s?(i=\"CIDFontType0\",r=\"CIDFontType0C\"):(i=e===\"MMType1\"?\"MMType1\":\"Type1\",r=\"Type1C\"):(B(\"getFontFileType: Unable to detect correct font file Type/Subtype.\"),i=e,r=t),[i,r]}function ho(n,e){for(let t in e)n.set(+t,e[t])}var a_=Gt(n=>{let e=3;for(let[t,s]of[[32,126],[161,254]])for(let i=t;i<=s;i++)n[e++]=Cu[i]},!0);function gm(n,e,t){let s=new Map,i;for(let r=0,a=n.length;r<a;r++)i=Oo(n[r],e),i!==-1&&s.set(r,i);for(let[r,a]of t)i=Oo(a,e),i!==-1&&s.set(r,i);return s}function o_(n){return n.platform===1&&n.encoding===0&&n.language===0}function c4(n){return n.platform===3&&n.encoding===1&&n.language===1033}function bm(n,e,t=!1){switch(e.length){case 1:return e.charCodeAt(0);case 2:return e.charCodeAt(0)<<8|e.charCodeAt(1)}let s=`Unsupported CID string (charCode ${n}): \"${e}\".`;if(t)throw new se(s);return B(s),e}var C0;function Ay(n,e,t,s){let i=new Map,r=new Map,a=new Map,o=new Set,l=0,f=tr[l][0],h=tr[l][1],u=d=>tr[0][0]<=d&&d<=tr[0][1]||tr[1][0]<=d&&d<=tr[1][1];for(let[d,p]of n){if(!e(p))continue;if(f>h){if(l++,l>=tr.length){B(\"Ran out of space in font private use area.\");break}f=tr[l][0],h=tr[l][1]}let m=f++,g=p===0?t:p,b=s.get(d);if(typeof b==\"string\")if(b.length===1)b=b.codePointAt(0);else{if(!C0){C0=new Map;for(let x=64256;x<=64335;x++){let w=String.fromCharCode(x).normalize(\"NFKD\");w.length>1&&C0.set(w,x)}}b=C0.get(b)||b.codePointAt(0)}b&&!u(b)&&!o.has(g)&&(r.set(b,g),o.add(g)),i.set(m,g),a.set(d,m)}return{toFontChar:a,charCodeToGlyphId:i,toUnicodeExtraMap:r,nextAvailableFontCharCode:f}}function l_(n,e,t){let s=[];for(let[a,o]of n)o>=t||s.push({fontCharCode:a,glyphId:o});if(e)for(let[a,o]of e)o>=t||s.push({fontCharCode:a,glyphId:o});s.length===0&&s.push({fontCharCode:0,glyphId:0}),s.sort((a,o)=>a.fontCharCode-o.fontCharCode);let i=[],r=s.length;for(let a=0;a<r;){let o=s[a].fontCharCode,l=[s[a].glyphId];++a;let c=o;for(;a<r&&c+1===s[a].fontCharCode&&(l.push(s[a].glyphId),++c,++a,c!==65535););i.push([o,c,l])}return i}function Sy(n,e,t){let s=l_(n,e,t),i=s.at(-1)[1]>65535,r,a,o;for(r=s.length-1;r>=0&&!(s[r][0]<=65535);--r);let l=r+1;s[r][0]<65535&&s[r][1]===65535&&(s[r][1]=65534);let c=s[r][1]<65535?1:0,f=l+c,h=jc.getSearchParams(f,2),u=l*2+c*2,d=new dn({exactLength:u}),p=new dn({exactLength:u}),m=new dn({exactLength:u}),g=new dn({exactLength:u}),b=new dn({}),x=0,w=!1;for(r=0;r<l;r++){let[E,G,D]=s[r];d.setInt16(E),p.setInt16(G);let N=!0;for(a=1,o=D.length;a<o;++a)if(D[a]!==D[a-1]+1){N=!1;break}if(N){let K=D[0];m.setInt16(K-E&65535),g.skip(2)}else{let K=(f-r)*2+x*2;for(x+=G-E+1,m.skip(2),K>65535?(w=!0,g.skip(2)):g.setInt16(K),a=0,o=D.length;a<o;++a)b.setInt16(D[a])}}c>0&&(p.setArray([255,255]),d.setArray([255,255]),m.setArray([0,1]),g.skip(2));let v=new dn({exactLength:12+d.length+p.length+m.length+g.length+b.length});v.skip(2),v.setInt16(2*f),v.setInt16(h.range),v.setInt16(h.entry),v.setInt16(h.rangeShift),v.setArray(p.data),v.skip(2),v.setArray(d.data),v.setArray(m.data),v.setArray(g.data),v.setArray(b.data);let k=!w&&v.length+4<=65535,j=i||!k,A=(k?1:0)+(j?1:0),S=null,q=null;if(j){S=new dn({});for(let E of s){let G=E[0],D=E[2],N=D[0];for(a=1,o=D.length;a<o;++a)if(D[a]!==D[a-1]+1){let K=E[0]+a-1;S.setInt32(G),S.setInt32(K),S.setInt32(N),G=K+1,N=D[a]}S.setInt32(G),S.setInt32(E[1]),S.setInt32(N)}q=new dn({exactLength:16}),q.setArray([0,12]),q.skip(2),q.setInt32(S.length+16),q.skip(4),q.setInt32(S.length/12)}let _=4+A*8,I=k?4+v.length:0,C=new dn({exactLength:_});C.skip(2),C.setInt16(A);let T=_;k&&(C.setArray([0,3]),C.setArray([0,1]),C.setInt32(T),T+=I),j&&(C.setArray([0,3]),C.setArray([0,10]),C.setInt32(T));let M=new dn({exactLength:C.length+I+(q?.length??0)+(S?.length??0)});return M.setArray(C.data),k&&(M.setArray([0,4]),M.setInt16(v.length+4),M.setArray(v.data)),j&&(M.setArray(q.data),M.setArray(S.data)),M.data}function c_(n,e){e.pos=(e.start||0)+n.offset;let t=e.getUint16(),s=[78,86,96,96,96,100][t];if(s===void 0||n.length<s)return!1;e.skip(60);let i=e.getUint16();if(t<4&&i&768)return!1;let r=e.getUint16(),a=e.getUint16();return r>a||(e.skip(6),e.getUint16()===0)?!1:(n.data[8]=n.data[9]=0,!0)}function qy(n,e,t){t||={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};let s=0,i=0,r=0,a=0,o=null,l=0,c=-1;if(e){for(let x of e.keys())if((o>x||!o)&&(o=x),l<x&&(l=x),c=cq(x,c),c<32)s|=1<<c;else if(c<64)i|=1<<c-32;else if(c<96)r|=1<<c-64;else if(c<123)a|=1<<c-96;else throw new se(\"Unicode ranges Bits > 123 are reserved for internal usage\");l>65535&&(l=65535)}else o=0,l=255;let f=n.bbox||[0,0,0,0],h=t.unitsPerEm||(n.fontMatrix?1/Math.max(...n.fontMatrix.slice(0,4).map(Math.abs)):1e3),u=n.ascentScaled?1:h/oa,d=t.ascent||Math.round(u*(n.ascent||f[3])),p=t.descent||Math.round(u*(n.descent||f[1]));p>0&&n.descent>0&&f[1]<0&&(p=-p);let m=t.yMax||d,g=-t.yMin||-p,b=new dn({exactLength:96});return b.setArray([0,3]),b.setArray([2,36]),b.setArray([1,244]),b.setArray([0,5]),b.skip(2),b.setArray([2,138]),b.setArray([2,187]),b.skip(2),b.setArray([0,140]),b.setArray([2,138]),b.setArray([2,187]),b.skip(2),b.setArray([1,223]),b.setArray([0,49]),b.setArray([1,2]),b.skip(2),b.setArray([0,0,6,n.fixedPitch?9:0,0,0,0,0,0,0]),b.setInt32(s),b.setInt32(i),b.setInt32(r),b.setInt32(a),b.setArray([42,50,49,42]),b.setInt16(n.italicAngle?1:0),b.setInt16(o||n.firstChar),b.setInt16(l||n.lastChar),b.setInt16(d),b.setInt16(p),b.setArray([0,100]),b.setInt16(m),b.setInt16(g),b.skip(8),b.setInt16(n.xHeight),b.setInt16(n.capHeight),b.skip(2),b.setInt16(o||n.firstChar),b.setArray([0,3]),b.data}function _y(n){let e=new dn({exactLength:32});return e.setArray([0,3,0,0]),e.setInt32(Math.floor(n.italicAngle*2**16)),e.skip(4),e.setInt32(n.fixedPitch?1:0),e.skip(16),e.data}function f_(n){return n.replaceAll(/[^\\x21-\\x7E]|[[\\](){}<>/%]/g,\"\").slice(0,63)}function wm(n,e){e||=[[],[]];let t=[e[0][0]||\"Original licence\",e[0][1]||n,e[0][2]||\"Unknown\",e[0][3]||\"uniqueID\",e[0][4]||n,e[0][5]||\"Version 0.11\",e[0][6]||f_(n),e[0][7]||\"Unknown\",e[0][8]||\"Unknown\",e[0][9]||\"Unknown\"],s=t.map(Vt),i=new Array(t.length),r,a,o,l,c;for(r=0,a=t.length;r<a;r++){c=e[1][r]||t[r];let x=new dn({exactLength:c.length*2});for(o=0,l=c.length;o<l;o++)x.setInt16(c.charCodeAt(o));i[r]=x.data}let f=[s,i],h=[[0,1],[0,3]],u=[[0,0],[0,1]],d=[[0,0],[4,9]],p=[],m=0;for(r=0,a=h.length;r<a;r++){let x=f[r];for(o=0,l=x.length;o<l;o++){c=x[o];let w=new dn({exactLength:6+h[r].length+u[r].length+d[r].length});w.setArray(h[r]),w.setArray(u[r]),w.setArray(d[r]),w.setInt16(o),w.setInt16(c.length),w.setInt16(m),p.push(w.data),m+=c.length}}let g=s.length*h.length,b=new dn({exactLength:6+Math.sumPrecise(p.map(x=>x.length))+Math.sumPrecise(s.map(x=>x.length))+Math.sumPrecise(i.map(x=>x.length))});b.skip(2),b.setInt16(g),b.setInt16(g*12+6);for(let x of p)b.setArray(x);for(let x of s)b.setArray(x);for(let x of i)b.setArray(x);return b.data}var vh=class{#e=new Map;#n=new Map;charProcOperatorList;toFontChar=new Map;constructor(e,t,s,i){this.name=e,this.psName=null,this.disableFontFace=i.disableFontFace,this.fontExtraProperties=i.fontExtraProperties,this.loadedName=s.loadedName,this.isType3Font=s.isType3Font,this.missingFile=!1,this.cssFontInfo=s.cssFontInfo;let r=!!(s.flags&Hs.Serif);if(!r&&!s.isSimulatedFlags){let f=kc(),h=v1(),u=rv();for(let d of e.split(\"+\")){let p=Mr(d);if(p=f[p]||h[p]||p,p=p.split(\"-\",1)[0],u[p]){r=!0;break}}}this.isSerifFont=r,this.isSymbolicFont=!!(s.flags&Hs.Symbolic),this.isMonospace=!!(s.flags&Hs.FixedPitch);let{type:a,subtype:o}=s;this.type=a,this.subtype=o,this.systemFontInfo=s.systemFontInfo;let l=e.match(/^InvalidPDFjsFont_(.*)_\\d+$/);if(this.isInvalidPDFjsFont=!!l,this.isInvalidPDFjsFont?this.fallbackName=l[1]:this.isMonospace?this.fallbackName=\"monospace\":this.isSerifFont?this.fallbackName=\"serif\":this.fallbackName=\"sans-serif\",this.systemFontInfo?.guessFallback&&(this.systemFontInfo.guessFallback=!1,this.systemFontInfo.css+=`,${this.fallbackName}`),this.differences=s.differences,this.widths=s.widths,this.defaultWidth=s.defaultWidth,this.composite=s.composite,this.cMap=s.cMap,this.capHeight=s.capHeight/oa,this.ascent=s.ascent/oa,this.descent=s.descent/oa,this.lineHeight=this.ascent-this.descent,this.fontMatrix=s.fontMatrix,this.bbox=s.bbox,this.defaultEncoding=s.defaultEncoding,this.toUnicode=s.toUnicode,s.type===\"Type3\"){for(let f=0;f<256;f++)this.toFontChar.set(f,this.differences.get(f)||s.defaultEncoding[f]);return}if(this.cidEncoding=s.cidEncoding||\"\",this.vertical=!!s.vertical,this.vertical&&(this.vmetrics=s.vmetrics,this.defaultVMetrics=s.defaultVMetrics),!t||t.isEmpty){t&&B('Font file is empty in \"'+e+'\" ('+this.loadedName+\")\"),this.fallbackToSystemFont(s);return}[a,o]=r_(t,s),(a!==this.type||o!==this.subtype)&&kt(`Inconsistent font file Type/SubType, expected: ${this.type}/${this.subtype} but found: ${a}/${o}.`);let c;try{switch(a){case\"MMType1\":kt(\"MMType1 font (\"+e+\"), falling back to Type1.\");case\"Type1\":case\"CIDFontType0\":let f=o===\"Type1C\"||o===\"CIDFontType0C\"?new Yl(t,s):new B1(e,t,s);yy(s),c=this.convert(e,f,s);break;case\"OpenType\":case\"TrueType\":case\"CIDFontType2\":c=this.checkAndRepair(e,t,s),yy(s),this.isOpenType&&(a=\"OpenType\");break;default:throw new se(`Font ${a} is not supported`)}}catch(f){B(f),this.fallbackToSystemFont(s);return}ky(s),this.data=c,this.type=a,this.subtype=o,this.fontMatrix=s.fontMatrix,this.widths=s.widths,this.defaultWidth=s.defaultWidth,this.toUnicode=s.toUnicode,this.seacMap=s.seacMap}get renderer(){let e=P1.create(this,!0);return je(this,\"renderer\",e)}#t(e){let t=Object.create(null);for(let s of e){let i=this[s];i!==void 0&&(t[s]=i)}return t}exportData(){return{buffer:Pq(this.#t(Jq)),charProcOperatorList:this.charProcOperatorList,extra:this.fontExtraProperties?this.#t(Qq):void 0}}fallbackToSystemFont(e){this.missingFile=!0;let{name:t,type:s}=this,i=Mr(t),r=kc(),a=v1(),o=!!r[i],l=!!(a[i]&&r[a[i]]);i=r[i]||a[i]||i;let f=zq()[i];f&&(isNaN(this.ascent)&&(this.ascent=f.ascent/oa),isNaN(this.descent)&&(this.descent=f.descent/oa),isNaN(this.capHeight)&&(this.capHeight=f.capHeight/oa)),this.bold=/bold/i.test(i),this.italic=/oblique|italic/i.test(i),this.black=/Black/.test(t);let h=/Narrow/.test(t);if(this.remeasure=(!o||h)&&Object.keys(this.widths).length>0,(o||l)&&s===\"CIDFontType2\"&&this.cidEncoding.startsWith(\"Identity-\")){let u=e.cidToGidMap,d=new Map;if(/Trebuchet/i.test(t)?(ho(d,_q()),ho(d,Iq())):(ho(d,hy()),/Arial-?Black/i.test(t)?ho(d,Cq()):/Calibri/i.test(t)&&ho(d,Tq())),u){for(let[m,g]of d)u.has(g)&&d.set(m,u.get(g));if(u.size!==this.toUnicode.size&&e.hasIncludedToUnicodeMap&&this.toUnicode instanceof Is)for(let[m,g]of d)!u.has(g)&&this.toUnicode.has(m)&&d.delete(m)}this.toUnicode instanceof Is||this.toUnicode.forEach((m,g)=>{d.set(m,g)}),this.toFontChar=d;let p=new xi;for(let[m,g]of d)p.set(m,g);this.toUnicode=new pa(p)}else if(/Symbol/i.test(i)){let u=this.composite&&this.cidEncoding.startsWith(\"Identity-\");this.toFontChar=gm(u?a_():Cu,gi(),this.differences)}else if(/Dingbats/i.test(i))this.toFontChar=gm(Tu,aq(),this.differences);else if(o||l){let u=gm(this.defaultEncoding,gi(),this.differences);s===\"CIDFontType2\"&&!this.cidEncoding.startsWith(\"Identity-\")&&!(this.toUnicode instanceof Is)&&this.toUnicode.forEach((d,p)=>{u.set(d,p)}),this.toFontChar=u}else{let u=gi(),d=new Map;this.toUnicode.forEach((p,m)=>{if(!this.composite){let g=this.differences.get(p)||this.defaultEncoding[p],b=Oo(g,u);b!==-1&&(m=b)}d.set(p,m)}),this.composite&&this.toUnicode instanceof Is&&/Tahoma|Verdana/i.test(t)&&ho(d,hy()),this.toFontChar=d}ky(e),this.loadedName=i.split(\"-\",1)[0]}checkAndRepair(e,t,s){let i=[\"OS/2\",\"cmap\",\"head\",\"hhea\",\"hmtx\",\"maxp\",\"name\",\"post\",\"loca\",\"glyf\",\"fpgm\",\"prep\",\"cvt \",\"CFF \"];function r(H,O){let z=Object.create(null);z[\"OS/2\"]=null,z.cmap=null,z.head=null,z.hhea=null,z.hmtx=null,z.maxp=null,z.name=null,z.post=null;for(let V=0;V<O;V++){let $=a(H);i.includes($.tag)&&$.length!==0&&(z[$.tag]=$)}return z}function a(H){let O=H.getString(4),z=H.getInt32()>>>0,V=H.getInt32()>>>0,$=H.getInt32()>>>0,te=H.pos;H.pos=H.start||0,H.skip(V);let ie=H.getBytes($);H.pos=te,O===\"head\"&&(ie[8]=ie[9]=ie[10]=ie[11]=0,ie[17]|=32);let le=O===\"CFF \"?null:new DataView(ie.buffer,ie.byteOffset,ie.byteLength);return{tag:O,checksum:z,length:$,offset:V,data:ie,view:le}}function o(H){return{version:H.getString(4),numTables:H.getUint16(),searchRange:H.getUint16(),entrySelector:H.getUint16(),rangeShift:H.getUint16()}}function l(H){let O=H.getString(4);Qt(O===\"ttcf\",\"Must be a TrueType Collection font.\");let z=H.getUint16(),V=H.getUint16(),$=H.getInt32()>>>0,te=[];for(let le=0;le<$;le++)te.push(H.getInt32()>>>0);let ie={ttcTag:O,majorVersion:z,minorVersion:V,numFonts:$,offsetTable:te};switch(z){case 1:return ie;case 2:return ie.dsigTag=H.getInt32()>>>0,ie.dsigLength=H.getInt32()>>>0,ie.dsigOffset=H.getInt32()>>>0,ie}throw new se(`Invalid TrueType Collection majorVersion: ${z}.`)}function c(H,O){let{numFonts:z,offsetTable:V}=l(H),$=O.split(\"+\"),te;for(let ie=0;ie<z;ie++){H.pos=(H.start||0)+V[ie];let le=o(H),Ae=r(H,le.numTables);if(!Ae.name)throw new se('TrueType Collection font must contain a \"name\" table.');let[Oe]=g(Ae.name);for(let De of Oe)for(let Ye of De){let lt=Ye?.replaceAll(/\\s/g,\"\");if(lt){if(lt===O)return{header:le,tables:Ae};if(!($.length<2))for(let Le of $)lt===Le&&(te={name:Le,header:le,tables:Ae})}}}if(te)return B(`TrueType Collection does not contain \"${O}\" font, falling back to \"${te.name}\" font instead.`),{header:te.header,tables:te.tables};throw new se(`TrueType Collection does not contain \"${O}\" font.`)}function f(H,O,z,V,$){if(!H)return B(\"No cmap table available.\"),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};let te,ie=(O.start||0)+H.offset;O.pos=ie,O.skip(2);let le=O.getUint16(),Ae,Oe=!1;for(let me=0;me<le;me++){let ge=O.getUint16(),qe=O.getUint16(),ye=O.getInt32()>>>0,Re=!1;if(!(Ae?.platformId===ge&&Ae?.encodingId===qe)){if(ge===0&&(qe===0||qe===1||qe===3))Re=!0;else if(ge===1&&qe===0)Re=!0;else if(ge===3&&qe===1&&(V||!Ae))Re=!0,z||(Oe=!0);else if(z&&ge===3&&qe===0){Re=!0;let Fe=!0;if(me<le-1){let Ge=O.peekBytes(2);El(Ge[0],Ge[1])<ge&&(Fe=!1)}Fe&&(Oe=!0)}if(Re&&(Ae={platformId:ge,encodingId:qe,offset:ye}),Oe)break}}if(Ae&&(O.pos=ie+Ae.offset),!Ae||O.peekByte()===-1)return B(\"Could not find a preferred cmap table.\"),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};let De=O.getUint16(),Ye=!1,lt=[],Le,Se;if(De===0){for(O.skip(4),Le=0;Le<256;Le++){let me=O.getByte();me&<.push({charCode:Le,glyphId:me})}Ye=!0}else if(De===2){O.skip(4);let me=[],ge=0;for(let ye=0;ye<256;ye++){let Re=O.getUint16()>>3;me.push(Re),ge=Math.max(Re,ge)}let qe=[];for(let ye=0;ye<=ge;ye++)qe.push({firstCode:O.getUint16(),entryCount:O.getUint16(),idDelta:us(O.getByte(),O.getByte()),idRangePos:O.pos+O.getUint16()});for(let ye=0;ye<256;ye++)if(me[ye]===0)O.pos=qe[0].idRangePos+2*ye,Se=O.getUint16(),lt.push({charCode:ye,glyphId:Se});else{let Re=qe[me[ye]];for(Le=0;Le<Re.entryCount;Le++){let Fe=(ye<<8)+Le+Re.firstCode;O.pos=Re.idRangePos+2*Le,Se=O.getUint16(),Se!==0&&(Se=(Se+Re.idDelta)%65536),lt.push({charCode:Fe,glyphId:Se})}}}else if(De===4){O.skip(4);let me=O.getUint16()>>1;O.skip(6);let ge=[],qe;for(qe=0;qe<me;qe++)ge.push({end:O.getUint16()});for(O.skip(2),qe=0;qe<me;qe++)ge[qe].start=O.getUint16();for(qe=0;qe<me;qe++)ge[qe].delta=O.getUint16();let ye=0,Re;for(qe=0;qe<me;qe++){te=ge[qe];let Ge=O.getUint16();if(!Ge){te.offsetIndex=-1;continue}Re=(Ge>>1)-(me-qe),te.offsetIndex=Re,ye=Math.max(ye,Re+te.end-te.start+1)}let Fe=[];for(Le=0;Le<ye;Le++)Fe.push(O.getUint16());for(qe=0;qe<me;qe++){te=ge[qe],ie=te.start;let Ge=te.end,Ve=te.delta;for(Re=te.offsetIndex,Le=ie;Le<=Ge;Le++)Le!==65535&&(Se=Re<0?Le:Fe[Re+Le-ie],Se=Se+Ve&65535,lt.push({charCode:Le,glyphId:Se}))}}else if(De===6){O.skip(4);let me=O.getUint16(),ge=O.getUint16();for(Le=0;Le<ge;Le++){Se=O.getUint16();let qe=me+Le;lt.push({charCode:qe,glyphId:Se})}}else if(De===12){O.skip(2);let me=O.getInt32()>>>0;O.skip(4);let ge=Rt(O.getInt32()>>>0,0,Math.min((me-16)/12|0,(O.end-O.pos)/12|0));for(Le=0;Le<ge&<.length<=1114112;Le++){let qe=O.getInt32()>>>0,ye=O.getInt32()>>>0,Re=O.getInt32()>>>0,Fe=Re<$?Math.min(ye,qe+($-Re-1),1114111):qe-1;for(let Ge=qe;Ge<=Fe;Ge++)lt.push({charCode:Ge,glyphId:Re++})}}else return B(\"cmap table has unsupported format: \"+De),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};let he=[],ae=new Set;for(let me of lt){let{charCode:ge}=me;ae.has(ge)||(ae.add(ge),he.push(me))}return{platformId:Ae.platformId,encodingId:Ae.encodingId,mappings:he.sort((me,ge)=>me.charCode-ge.charCode),hasShortCmap:Ye}}function h(H,O,z,V,$,te){if(!O){z&&(z.data=null);return}H.pos=(H.start||0)+O.offset,H.pos+=4,H.pos+=2,H.pos+=2,H.pos+=2,H.pos+=2,H.pos+=2,H.pos+=2,H.pos+=2,H.pos+=2,H.pos+=2;let ie=H.getUint16();H.pos+=8,H.pos+=2;let le=H.getUint16();ie!==0&&(El(V.data[44],V.data[45])&2||(O.data[22]=0,O.data[23]=0)),le>$&&(kt(`The numOfMetrics (${le}) should not be greater than the numGlyphs (${$}).`),le=$,O.data[34]=(le&65280)>>8,O.data[35]=le&255);let Oe=$-le-(z.length-le*4>>1);if(Oe>0){let De=new Uint8Array(z.length+Oe*2);De.set(z.data),te&&(De[z.length]=z.data[2],De[z.length+1]=z.data[3]),z.data=De}}function u(H,O,z,V,$,te){let ie={length:0,sizeOfInstructions:0};if(O<0||O>=H.length||z>H.length||z-O<=12)return ie;let le=H.subarray(O,z),Ae=us(le[2],le[3]),Oe=us(le[4],le[5]),De=us(le[6],le[7]),Ye=us(le[8],le[9]);Ae>De&&(Rl(le,2,De),Rl(le,6,Ae)),Oe>Ye&&(Rl(le,4,Ye),Rl(le,8,Oe));let lt=us(le[0],le[1]);if(lt<0)return lt<-1||(V.set(le,$),ie.length=le.length),ie;let Le,Se=10,he=0;for(Le=0;Le<lt;Le++)he=(le[Se]<<8|le[Se+1])+1,Se+=2;let ae=Se,me=le[Se]<<8|le[Se+1];ie.sizeOfInstructions=me,Se+=2+me;let ge=Se,qe=0;for(Le=0;Le<he;Le++){let Re=le[Se++];Re&192&&(le[Se-1]=Re&63);let Fe=2;Re&2?Fe=1:Re&16&&(Fe=0);let Ge=2;Re&4?Ge=1:Re&32&&(Ge=0);let Ve=Fe+Ge;if(qe+=Ve,Re&8){let ke=le[Se++];ke===0&&(le[Se-1]^=8),Le+=ke,qe+=ke*Ve}}if(qe===0)return ie;let ye=Se+qe;return ye>le.length?ie:!te&&me>0?(V.set(le.subarray(0,ae),$),V.set([0,0],$+ae),V.set(le.subarray(ge,ye),$+ae+2),ye-=me,le.length-ye>3&&(ye=ye+3&-4),ie.length=ye,ie):le.length-ye>3?(ye=ye+3&-4,V.set(le.subarray(0,ye),$),ie.length=ye,ie):(V.set(le,$),ie.length=le.length,ie)}function d(H,O,z){let{data:V,view:$}=H,te=$.getInt32(0);te>>16!==1&&(kt(\"Attempting to fix invalid version in head table: \"+te),$.setInt32(0,65536));let ie=us(V[50],V[51]);if(ie<0||ie>1){kt(\"Attempting to fix invalid indexToLocFormat in head table: \"+ie);let le=O+1;if(z===le<<1)V[50]=0,V[51]=0;else if(z===le<<2)V[50]=0,V[51]=1;else throw new se(\"Could not fix indexToLocFormat: \"+ie)}}function p(H,O,z,V,$,te,ie){let le,Ae,Oe;V?(le=4,Ae=function(Ve,ke){return Ve[ke]<<24|Ve[ke+1]<<16|Ve[ke+2]<<8|Ve[ke+3]},Oe=function(Ve,ke,Ce){Ve[ke]=Ce>>>24&255,Ve[ke+1]=Ce>>16&255,Ve[ke+2]=Ce>>8&255,Ve[ke+3]=Ce&255}):(le=2,Ae=function(Ve,ke){return Ve[ke]<<9|Ve[ke+1]<<1},Oe=function(Ve,ke,Ce){Ve[ke]=Ce>>9&255,Ve[ke+1]=Ce>>1&255});let De=te?z+1:z,Ye=le*(1+De),lt=new Uint8Array(Ye);lt.set(H.data.subarray(0,Ye)),H.data=lt;let Le=O.data,Se=Le.length,he=new Uint8Array(Se),ae,me,ge=[];for(ae=0,me=0;ae<z+1;ae++,me+=le){let Ge=Ae(lt,me);Ge>Se&&(Ge=Se),ge.push({index:ae,offset:Ge,endOffset:0})}for(ge.sort((Ge,Ve)=>Ge.offset-Ve.offset),ae=0;ae<z;ae++)ge[ae].endOffset=ge[ae+1].offset;for(ge.sort((Ge,Ve)=>Ge.index-Ve.index),ae=0;ae<z;ae++){let{offset:Ge,endOffset:Ve}=ge[ae];if(Ge!==0||Ve!==0)break;let ke=ge[ae+1].offset;if(ke!==0){ge[ae].endOffset=ke;break}}let qe=ge.at(-2);qe.offset!==0&&qe.endOffset===0&&(qe.endOffset=Se);let ye=Fq(Le,ge,z),Re=new Uint8Array(z),Fe=0;for(Oe(lt,0,Fe),ae=0,me=le;ae<z;ae++,me+=le){let Ge=ye.has(ae)?{length:0,sizeOfInstructions:0}:u(Le,ge[ae].offset,ge[ae].endOffset,he,Fe,$),Ve=Ge.length;Ve===0&&(Re[ae]=1),Ge.sizeOfInstructions>ie&&(ie=Ge.sizeOfInstructions),Fe+=Ve,Oe(lt,me,Fe)}if(Fe===0){let Ge=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(ae=0,me=le;ae<De;ae++,me+=le)Oe(lt,me,Ge.length);O.data=Ge}else if(te){let Ge=Ae(lt,le);he.length>Ge+Fe?O.data=he.subarray(0,Ge+Fe):(O.data=new Uint8Array(Ge+Fe),O.data.set(he.subarray(0,Fe))),O.data.set(he.subarray(0,Ge),Fe),Oe(H.data,lt.length-le,Fe+Ge)}else O.data=he.subarray(0,Fe);return{missingGlyphs:Re,maxSizeOfInstructions:ie}}function m(H,O,z){let V=(t.start||0)+H.offset;t.pos=V;let $=H.length,te=V+$,ie=t.getInt32();t.skip(28);let le,Ae=!0,Oe;switch(ie){case 65536:le=fh;break;case 131072:let De=t.getUint16();if(De!==z){Ae=!1;break}let Ye=[];for(Oe=0;Oe<De;++Oe){let Le=t.getUint16();if(Le>=32768){Ae=!1;break}Ye.push(Le)}if(!Ae)break;let lt=[];for(;t.pos<te;){let Le=t.getByte(),Se=t.getString(Le);lt.push(Se)}for(le=[],Oe=0;Oe<De;++Oe){let Le=Ye[Oe];if(Le<258){le.push(fh[Le]);continue}le.push(lt[Le-258])}break;case 196608:break;default:B(\"Unknown/unsupported post table version \"+ie),Ae=!1,O.defaultEncoding&&(le=O.defaultEncoding);break}return O.glyphNames=le,Ae}function g(H){let O=(t.start||0)+H.offset;t.pos=O;let z=[[],[]],V=[],$=H.length,te=O+$;if(t.getUint16()!==0||$<6)return[z,V];let Ae=t.getUint16(),Oe=t.getUint16(),De=12,Ye,lt;for(Ye=0;Ye<Ae&&t.pos+De<=te;Ye++){let Le={platform:t.getUint16(),encoding:t.getUint16(),language:t.getUint16(),name:t.getUint16(),length:t.getUint16(),offset:t.getUint16()};(o_(Le)||c4(Le))&&V.push(Le)}for(Ye=0,lt=V.length;Ye<lt;Ye++){let Le=V[Ye];if(Le.length<=0)continue;let Se=O+Oe+Le.offset;if(Se+Le.length>te)continue;t.pos=Se;let he=Le.name;if(Le.encoding){let ae=\"\";for(let me=0,ge=Le.length;me<ge;me+=2)ae+=String.fromCharCode(t.getUint16());z[1][he]=ae}else z[0][he]=t.getString(Le.length)}return[z,V]}let b=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function x(H,O){let z=H.data,V=0,$,te,ie,le,Ae,Oe=0,De=0,Ye=[],lt=[],Le=[],Se=O.tooComplexToFollowFunctions,he=!1,ae=0,me=0;for(let qe=z.length;V<qe;){let ye=z[V++];if(ye===64)if(te=z[V++],he||me)V+=te;else for($=0;$<te;$++)Ye.push(z[V++]);else if(ye===65)if(te=z[V++],he||me)V+=te*2;else for($=0;$<te;$++)ie=z[V++],Ye.push(us(ie,z[V++]));else if((ye&248)===176)if(te=ye-176+1,he||me)V+=te;else for($=0;$<te;$++)Ye.push(z[V++]);else if((ye&248)===184)if(te=ye-184+1,he||me)V+=te*2;else for($=0;$<te;$++)ie=z[V++],Ye.push(us(ie,z[V++]));else if(ye===43&&!Se){if(!he&&!me){if(le=Ye.at(-1),isNaN(le))kt(\"TT: CALL empty stack (or invalid entry).\");else if(O.functionsUsed[le]=!0,le in O.functionsStackDeltas){let Re=Ye.length+O.functionsStackDeltas[le];if(Re<0){B(\"TT: CALL invalid functions stack delta.\"),O.hintsValid=!1;return}Ye.length=Re}else if(le in O.functionsDefined&&!Le.includes(le)){if(lt.push({data:z,i:V,stackTop:Ye.length-1}),Le.push(le),Ae=O.functionsDefined[le],!Ae){B(\"TT: CALL non-existent function\"),O.hintsValid=!1;return}z=Ae.data,V=Ae.i}}}else if(ye===44&&!Se)(he||me)&&(B(\"TT: nested FDEFs not allowed\"),Se=!0),he=!0,De=V,le=Ye.pop(),O.functionsDefined[le]={data:z,i:V};else if(ye===45)if(he)he=!1,Oe=V;else{if(Ae=lt.pop(),!Ae){B(\"TT: ENDF bad stack\"),O.hintsValid=!1;return}le=Le.pop(),z=Ae.data,V=Ae.i,O.functionsStackDeltas[le]=Ye.length-Ae.stackTop}else if(ye===137)(he||me)&&(B(\"TT: nested IDEFs not allowed\"),Se=!0),he=!0,De=V;else if(ye===88)++ae;else if(ye===27)me=ae;else if(ye===89)me===ae&&(me=0),--ae;else if(ye===28&&!he&&!me){let Re=Ye.at(-1);Re>0&&(V+=Re-1)}if(!he&&!me){let Re=0;for(ye<=142?Re=b[ye]:ye>=192&&ye<=223?Re=-1:ye>=224&&(Re=-2),ye>=113&&ye<=117&&(te=Ye.pop(),isNaN(te)||(Re=-te*2));Re<0&&Ye.length>0;)Ye.pop(),Re++;for(;Re>0;)Ye.push(NaN),Re--}}O.tooComplexToFollowFunctions=Se;let ge=[z];V>z.length&&ge.push(new Uint8Array(V-z.length)),De>Oe&&(B(\"TT: complementing a missing function tail\"),ge.push(new Uint8Array([34,45]))),v(H,ge)}function w(H,O){if(!H.tooComplexToFollowFunctions){if(H.functionsDefined.length>O){B(\"TT: more functions defined than expected\"),H.hintsValid=!1;return}for(let z=0,V=H.functionsUsed.length;z<V;z++){if(z>O){B(\"TT: invalid function id: \"+z),H.hintsValid=!1;return}if(H.functionsUsed[z]&&!H.functionsDefined[z]){B(\"TT: undefined function: \"+z),H.hintsValid=!1;return}}}}function v(H,O){if(O.length>1){let z=0,V,$;for(V=0,$=O.length;V<$;V++)z+=O[V].length;z=z+3&-4;let te=new Uint8Array(z),ie=0;for(V=0,$=O.length;V<$;V++)te.set(O[V],ie),ie+=O[V].length;H.data=te,H.length=z}}function k(H,O,z,V){let $={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(H&&x(H,$),O&&x(O,$),H&&w($,V),z&&z.length&1){let te=new Uint8Array(z.length+1);te.set(z.data),z.data=te}return $.hintsValid}t=new Ft(new Uint8Array(t.getBytes()));let j,A;if(l4(t)){let H=c(t,this.name);j=H.header,A=H.tables}else j=o(t),A=r(t,j.numTables);let S=!A[\"CFF \"],q=null;if(S){if(!A.loca)throw new se('Required \"loca\" table is not found');A.glyf||(B('Required \"glyf\" table is not found -- trying to recover.'),A.glyf={tag:\"glyf\",data:new Uint8Array(0)}),this.isOpenType=!1}else{try{q=new bc(new Ft(A[\"CFF \"].data),s,!0).parse()}catch{B(\"Failed to parse font \"+s.loadedName)}if(j.version===\"OTTO\"&&(!s.composite||s.fontFileN===\"FontFile3\"&&q?.isCIDFont)||!A.head||!A.hhea||!A.maxp||!A.post)return this.convert(e,new Yl(new Ft(A[\"CFF \"].data),s),s);delete A.glyf,delete A.loca,delete A.fpgm,delete A.prep,delete A[\"cvt \"],this.isOpenType=!0}if(!A.maxp)throw new se('Required \"maxp\" table is not found');let _;if(q)try{q.duplicateFirstGlyph(),A[\"CFF \"].data=new yc(q).compile(),_=q.charStringCount}catch{B(\"Failed to compile font \"+s.loadedName)}t.pos=(t.start||0)+A.maxp.offset;let I=t.getInt32(),C=_??t.getUint16();if(I===20480&&A.maxp.length!==6&&(A.maxp.data=A.maxp.data.subarray(0,6),A.maxp.length=6),I!==65536&&I!==20480){if(A.maxp.length===6)I=20480;else if(A.maxp.length>=32)I=65536;else throw new se('\"maxp\" table has a wrong version number');jy(A.maxp.data,0,I)}let T=El(A.head.data[50],A.head.data[51]);if(A.loca){let H=T?(C+1)*4:(C+1)*2;if(A.loca.length!==H){B(\"Incorrect 'loca' table length -- attempting to fix it.\");let O=Object.values(A).filter(Boolean).sort(($,te)=>$.offset-te.offset),z=O.indexOf(A.loca),V=O[z+1]||null;if(V&&A.loca.offset+H<V.offset){let $=t.pos;t.pos=t.start||0,t.skip(A.loca.offset),A.loca.data=t.getBytes(H),A.loca.length=H,t.pos=$}}}if(s.scaleFactors?.length===C&&S){let{scaleFactors:H}=s,O=new k1({glyfTable:A.glyf.data,isGlyphLocationsLong:T,locaTable:A.loca.data,numGlyphs:C});O.scale(H);let{glyf:z,loca:V,isLocationLong:$}=O.write();A.glyf.data=z,A.loca.data=V,$!==!!T&&(A.head.data[50]=0,T=A.head.data[51]=$?1:0);let te=A.hmtx.data;for(let ie=0;ie<C;ie++){let le=4*ie,Ae=Math.round(H[ie]*El(te[le],te[le+1]));te[le]=Ae>>8&255,te[le+1]=Ae&255;let Oe=Math.round(H[ie]*us(te[le+2],te[le+3]));Rl(te,le+2,Oe)}}let M=C+1,E=!0;M>65535&&(E=!1,M=C,B(\"Not enough space in glyfs to duplicate first glyph.\"));let G=0,D=0;if(I>=65536&&A.maxp.length>=32)t.pos+=8,t.getUint16()>2&&(A.maxp.data[14]=0,A.maxp.data[15]=2),t.pos+=4,G=t.getUint16(),t.pos+=4,D=t.getUint16();else if(S&&I===20480){let H=new Uint8Array(32);jy(H,0,65536),H[4]=C>>8&255,H[5]=C&255,H.fill(255,6,14),H[15]=2,H[28]=255,H[29]=255,H[31]=16,A.maxp.data=H,A.maxp.length=32,I=65536}A.maxp.data[4]=M>>8,A.maxp.data[5]=M&255;let N=k(A.fpgm,A.prep,A[\"cvt \"],G);if(N||(delete A.fpgm,delete A.prep,delete A[\"cvt \"]),h(t,A.hhea,A.hmtx,A.head,M,E),!A.head)throw new se('Required \"head\" table is not found');d(A.head,C,S?A.loca.length:0);let K=null;if(S){let H=p(A.loca,A.glyf,C,T,N,E,D);K=H.missingGlyphs,I>=65536&&A.maxp.length>=32&&(A.maxp.data[26]=H.maxSizeOfInstructions>>8,A.maxp.data[27]=H.maxSizeOfInstructions&255)}if(!A.hhea)throw new se('Required \"hhea\" table is not found');A.hhea.data[10]===0&&A.hhea.data[11]===0&&(A.hhea.data[10]=255,A.hhea.data[11]=255);let ee={unitsPerEm:El(A.head.data[18],A.head.data[19]),yMax:us(A.head.data[42],A.head.data[43]),yMin:us(A.head.data[38],A.head.data[39]),ascent:us(A.hhea.data[4],A.hhea.data[5]),descent:us(A.hhea.data[6],A.hhea.data[7]),lineGap:us(A.hhea.data[8],A.hhea.data[9])};this.ascent=ee.ascent/ee.unitsPerEm,this.descent=ee.descent/ee.unitsPerEm,this.lineGap=ee.lineGap/ee.unitsPerEm,this.cssFontInfo?.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,A.post&&m(A.post,s,C),A.post={tag:\"post\",data:_y(s)};let de=new Map;function X(H){return!K?.[H]}if(s.composite){let{cidToGidMap:H,cMap:O}=s,z=!H?.size;O.forEach((V,$)=>{if(typeof $==\"string\"&&($=bm(V,$,!0)),$>65535)throw new se(\"Max size of CID is 65,535\");let te=z?$:H.get($)??-1;te>=0&&te<C&&X(te)&&de.set(V,te)})}else{let H=f(A.cmap,t,this.isSymbolicFont,s.hasEncoding,C),O=H.platformId,z=H.encodingId,V=H.mappings,$=[],te=!1;if(s.hasEncoding&&(s.baseEncodingName===\"MacRomanEncoding\"||s.baseEncodingName===\"WinAnsiEncoding\")&&($=gc(s.baseEncodingName)),s.hasEncoding&&!this.isSymbolicFont&&(O===3&&z===1||O===1&&z===0)){let ie=gi();for(let le=0;le<256;le++){let Ae;if(this.differences.has(le)?Ae=this.differences.get(le):$.length&&$[le]!==\"\"?Ae=$[le]:Ae=cr[le],!Ae)continue;let Oe=Q8(Ae,ie),De;if(O===3&&z===1?De=ie[Oe]:O===1&&z===0&&(De=iv.indexOf(Oe)),De===void 0){if(!s.glyphNames&&s.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof Is)){let Ye=this.toUnicode.get(le);Ye&&(De=Ye.codePointAt(0))}if(De===void 0)continue}for(let Ye of V)if(Ye.charCode===De){de.set(le,Ye.glyphId);break}}}else if(O===0){for(let ie of V)de.set(ie.charCode,ie.glyphId);te=!0}else if(O===3&&z===0)for(let ie of V){let le=ie.charCode;le>=61440&&le<=61695&&(le&=255),de.set(le,ie.glyphId)}else for(let ie of V)de.set(ie.charCode,ie.glyphId);if(s.glyphNames&&($.length||this.differences.size))for(let ie=0;ie<256;++ie){if(!te&&de.has(ie))continue;let le=this.differences.get(ie)||$[ie];if(!le)continue;let Ae=s.glyphNames.indexOf(le);Ae>0&&X(Ae)&&de.set(ie,Ae)}!s.isInternalFont&&!de.has(0)&&X(0)&&de.set(0,0)}de.size||de.set(0,0);let ue=E?M-1:0;if(!s.cssFontInfo){let H=Ay(de,X,ue,this.toUnicode);this.toFontChar=H.toFontChar,A.cmap={tag:\"cmap\",data:Sy(H.charCodeToGlyphId,H.toUnicodeExtraMap,M)},(!A[\"OS/2\"]||!c_(A[\"OS/2\"],t))&&(A[\"OS/2\"]={tag:\"OS/2\",data:qy(s,H.charCodeToGlyphId,ee)})}if(!A.name)A.name={tag:\"name\",data:wm(this.name)};else{let[H,O]=g(A.name);A.name.data=wm(e,H),this.psName=H[0][6]||null,s.composite||Zq(s,this.isSymbolicFont,O)}let re=new jc(j.version);for(let H in A)re.addTable(H,A[H].data);return re.toArray()}convert(e,t,s){s.fixedPitch=!1,s.builtInEncoding&&e_(s,s.builtInEncoding);let i=t instanceof Yl?t.glyphZeroId:1,r=t.getGlyphMapping(s),a=null,o=r,l=null;s.cssFontInfo||(a=Ay(r,t.hasGlyphId.bind(t),i,this.toUnicode),this.toFontChar=a.toFontChar,o=a.charCodeToGlyphId,l=a.toUnicodeExtraMap);let{numGlyphs:c,seacs:f}=t;function h(m,g){let b=null;for(let[x,w]of m)g===w&&(b??=[]).push(x);return b}function u(m,g){for(let[b,x]of m)if(g===x)return b;return a.charCodeToGlyphId.set(a.nextAvailableFontCharCode,g),a.nextAvailableFontCharCode++}if(a&&f?.size){let m=s.fontMatrix||ba,g=t.getCharset(),b=new Map;for(let[x,w]of f){let v=cr[w[2]],k=cr[w[3]],j=g.indexOf(v),A=g.indexOf(k);if(j<0||A<0)continue;let S={x:w[0]*m[0]+w[1]*m[2]+m[4],y:w[0]*m[1]+w[1]*m[3]+m[5]},q=h(r,x);if(q)for(let _ of q){let{charCodeToGlyphId:I}=a,C=u(I,j),T=u(I,A);b.set(_,{baseFontCharCode:C,accentFontCharCode:T,accentOffset:S})}}s.seacMap=b}let d=s.fontMatrix?1/Math.max(...s.fontMatrix.slice(0,4).map(Math.abs)):1e3,p=new jc(\"OTTO\");return p.addTable(\"CFF \",t.data),p.addTable(\"OS/2\",qy(s,o)),p.addTable(\"cmap\",Sy(o,l,c)),p.addTable(\"head\",(function(){let g=[0,0,0,0,158,11,126,39],b=t.cff?.topDict.getByName(\"FontBBox\")??s.bbox,x=Math.min(Math.floor(b?.[0]||0),0),w=Math.max(Math.ceil(b?.[2]||0),4095),v=new dn({exactLength:54});return v.setArray([0,1,0,0]),v.setArray([0,0,16,0]),v.skip(4),v.setArray([95,15,60,245]),v.skip(2),v.setSafeInt16(d),v.setArray(g),v.setArray(g),v.setSafeInt16(x),v.setSafeInt16(s.descent),v.setSafeInt16(w),v.setSafeInt16(s.ascent),v.setInt16(s.italicAngle?2:0),v.setArray([0,17]),v.skip(6),v.data})()),p.addTable(\"hhea\",(function(){let g=new dn({exactLength:36});return g.setArray([0,1,0,0]),g.setSafeInt16(s.ascent),g.setSafeInt16(s.descent),g.skip(2),g.setArray([255,255]),g.skip(6),g.setSafeInt16(s.capHeight),g.setSafeInt16(Math.tan(s.italicAngle)*s.xHeight),g.skip(12),g.setInt16(c),g.data})()),p.addTable(\"hmtx\",(function(){let g=t.charstrings,b=t.cff?.widths??null,x=new dn({exactLength:c*4});x.skip(4);for(let w=1;w<c;w++){let v=0;g?v=g[w-1].width||0:b&&(v=Math.ceil(b[w]||0)),x.setInt16(v),x.skip(2)}return x.data})()),p.addTable(\"maxp\",(function(){let g=new dn({exactLength:6});return g.setArray([0,0,80,0]),g.setInt16(c),g.data})()),p.addTable(\"name\",wm(e)),p.addTable(\"post\",_y(s)),p.toArray()}get _spaceWidth(){let e=[\"space\",\"minus\",\"one\",\"i\",\"I\"],t;for(let s of e){if(s in this.widths){t=this.widths[s];break}let r=gi()[s],a=0;if(this.composite&&this.cMap.contains(r)&&(a=this.cMap.lookup(r),typeof a==\"string\"&&(a=bm(r,a))),!a&&this.toUnicode&&(a=this.toUnicode.charCodeOf(r)),a<=0&&(a=r),t=this.widths[a],t)break}return je(this,\"_spaceWidth\",t||this.defaultWidth)}_charToGlyph(e,t=!1){let s=this.#n.get(e);if(s?.isSpace===t)return s;let i,r,a,o=e;this.cMap?.contains(e)&&(o=this.cMap.lookup(e),typeof o==\"string\"&&(o=bm(e,o))),r=this.widths[o],typeof r!=\"number\"&&(r=this.defaultWidth);let l=this.vmetrics?.[o];if(!l&&this.defaultVMetrics){let[m,,g]=this.defaultVMetrics;l=[m,r*.5,g]}let c=this.toUnicode.get(e)||e;typeof c==\"number\"&&(c=String.fromCharCode(c));let f=this.toFontChar.has(e);if(i=this.toFontChar.get(e)||e,this.missingFile){let m=this.differences.get(e)||this.defaultEncoding[e];(m===\".notdef\"||m===\"\")&&this.type===\"Type1\"&&(i=32,m===\"\"&&(r||=this._spaceWidth,this.toUnicode.has(e)||(c=String.fromCharCode(i)))),i=lq(i)}this.isType3Font&&(a=i);let h=null,u=this.seacMap?.get(e);u&&(f=!0,i=u.baseFontCharCode,h={fontChar:String.fromCodePoint(u.accentFontCharCode),offset:u.accentOffset});let d=\"\";typeof i==\"number\"&&(i<=1114111?d=String.fromCodePoint(i):B(`charToGlyph - invalid fontCharCode: ${i}`));let p=!1;if(this.missingFile&&this.vertical&&d.length===1&&this.#s(e)){let m=d.charCodeAt(0),g=dq()[m];g?d=c=String.fromCharCode(g):p=pq.has(m)}return s=new D1(this.fontExtraProperties,e,d,c,h,r,l,a,t,f,p),this.#n.set(e,s),s}#s(e){let{cMap:t}=this;if(!t?.builtInCMap)return!0;let{useCMap:s}=t;for(;s?.vertical;)s=s.useCMap;return!s||t.lookup(e)!==s.lookup(e)}charsToGlyphs(e){let t=this.#e.get(e);if(t)return t;if(t=[],this.cMap){let s=Object.create(null),i=e.length,r=0;for(;r<i;){this.cMap.readCharCode(e,r,s);let{charcode:a,length:o}=s;r+=o;let l=this._charToGlyph(a,o===1&&e.charCodeAt(r-1)===32);t.push(l)}}else for(let s=0,i=e.length;s<i;++s){let r=e.charCodeAt(s),a=this._charToGlyph(r,r===32);t.push(a)}return this.#e.set(e,t),t}getCharPositions(e){let t=[];if(this.cMap){let s=Object.create(null),i=0;for(;i<e.length;){this.cMap.readCharCode(e,i,s);let r=s.length;t.push([i,i+r]),i+=r}}else for(let s=0,i=e.length;s<i;++s)t.push([s,s+1]);return t}get glyphCacheValues(){return this.#n.values()}encodeString(e){let t=[],s=[],i=()=>t.length%2===1,r=this.toUnicode instanceof Is?a=>this.toUnicode.charCodeOf(a):a=>this.toUnicode.charCodeOf(String.fromCodePoint(a));for(let a=0,o=e.length;a<o;a++){let l=e.codePointAt(a);if(l>65535&&a++,this.toUnicode){let c=r(l);if(c!==-1){i()&&(t.push(s.join(\"\")),s.length=0);let f=this.cMap?this.cMap.getCharCodeLength(c):1;for(let h=f-1;h>=0;h--)s.push(String.fromCharCode(c>>8*h&255));continue}}i()||(t.push(s.join(\"\")),s.length=0),s.push(String.fromCodePoint(l))}return t.push(s.join(\"\")),t}},yh=class{constructor(e){this.error=e,this.loadedName=\"g_font_error\",this.missingFile=!0}charsToGlyphs(){return[]}encodeString(e){return[e]}exportData(){return{error:this.error}}},ns={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7},h_=65536;function f4(n,e){return Rt(Math.floor(h_/e),1,n)}function av(n,e,t,s){let i=e.create(n,!0);if(i.numInputs!==t||i.numOutputs!==s)throw new se(`Invalid shading function: expected ${t}-in ${s}-out, got ${i.numInputs}-in ${i.numOutputs}-out.`);return i}var N1=class{constructor(){dt(\"Cannot initialize Pattern.\")}static parseShading(e,t,s,i,r,a){let o=e instanceof Xe?e.dict:e,l=o.get(\"ShadingType\");try{switch(l){case ns.FUNCTION_BASED:return new L1(o,t,s,i,r,a);case ns.AXIAL:case ns.RADIAL:return new H1(o,t,s,i,r,a);case ns.FREE_FORM_MESH:case ns.LATTICE_FORM_MESH:case ns.COONS_PATCH_MESH:case ns.TENSOR_PATCH_MESH:return new U1(e,t,s,i,r,a);default:throw new se(\"Unsupported ShadingType: \"+l)}}catch(c){if(c instanceof Tt)throw c;return B(c),new G1}}},Rr=class{static SMALL_NUMBER=1e-6;getIR(){dt(\"Abstract method `getIR` called.\")}},H1=class extends Rr{constructor(e,t,s,i,r,a){super(),this.shadingType=e.get(\"ShadingType\");let o=0;if(this.shadingType===ns.AXIAL?o=4:this.shadingType===ns.RADIAL&&(o=6),this.coordsArr=e.getArray(\"Coords\"),!tn(this.coordsArr,o))throw new se(\"RadialAxialShading: Invalid /Coords array.\");let l=bt.parse({cs:e.getRaw(\"CS\")||e.getRaw(\"ColorSpace\"),xref:t,resources:s,pdfFunctionFactory:i,globalColorSpaceCache:r,localColorSpaceCache:a});this.bbox=Ui(e.getArray(\"BBox\"),null);let c=e.getArray(\"Domain\"),[f,h]=tn(c,2)?c:[0,1],u=e.getArray(\"Extend\"),[d,p]=nS(u,2)?u:[!1,!1],m=e.getRaw(\"Function\"),g=av(m,i,1,l.numComps),b=840,x=(h-f)/b,w=this.colorStops=[];if(f>=h||x<=0){kt(\"Bad shading domain.\");return}let{numComps:v}=l,k=new Float32Array(1),j=f4(b,v),A=new Float32Array(j*v),S=new Uint8ClampedArray(b*3);for(let re=0;re<b;re+=j){let H=Math.min(j,b-re);for(let O=0,z=0;O<H;O++,z+=v)k[0]=f+(re+O)*x,g(k,0,A,z);l.getRgbItems(A,H,S,re*3,0)}let q=0,_=S[0],I=S[1],C=S[2];w.push([0,ft.makeHexColor(_,I,C)]);let T=1,M=S[3],E=S[4],G=S[5],D=M-_+1,N=E-I+1,K=G-C+1,ee=M-_-1,de=E-I-1,X=G-C-1;for(let re=2;re<b;re++){let H=re*3,O=S[H],z=S[H+1],V=S[H+2],$=re-q;if(D=Math.min(D,(O-_+1)/$),N=Math.min(N,(z-I+1)/$),K=Math.min(K,(V-C+1)/$),ee=Math.max(ee,(O-_-1)/$),de=Math.max(de,(z-I-1)/$),X=Math.max(X,(V-C-1)/$),!(ee<=D&&de<=N&&X<=K)){let ie=ft.makeHexColor(M,E,G);w.push([T/b,ie]),D=O-M+1,N=z-E+1,K=V-G+1,ee=O-M-1,de=z-E-1,X=V-G-1,q=T,_=M,I=E,C=G}T=re,M=O,E=z,G=V}w.push([1,ft.makeHexColor(M,E,G)]);let ue=e.has(\"Background\")?l.getRgbHex(e.get(\"Background\"),0):\"transparent\";d||(w.unshift([0,ue]),w[1][0]+=Rr.SMALL_NUMBER),p||(w.at(-1)[0]-=Rr.SMALL_NUMBER,w.push([1,ue]))}getIR(){let{coordsArr:e,shadingType:t}=this,s,i,r,a,o;return t===ns.AXIAL?(i=[e[0],e[1]],r=[e[2],e[3]],a=null,o=null,s=\"axial\"):t===ns.RADIAL?(i=[e[0],e[1]],r=[e[3],e[4]],a=e[2],o=e[5],s=\"radial\"):dt(`getPattern type unknown: ${t}`),[\"RadialAxial\",s,this.bbox,this.colorStops,i,r,a,o]}};function u_(n){let e=n.coords,t=dr.slice();for(let s=0,i=e.length;s<i;s++)ft.pointBoundingBox(e[s][0],e[s][1],t);n.bounds=t}function d_(n){let e=n.coords,t=new Float32Array(e.length*2);for(let r=0,a=e.length;r<a;r++)t.set(e[r],r*2);n.coords=t;let s=n.colors,i=new Uint8Array(s.length*4);for(let r=0,a=s.length;r<a;r++)i.set(s[r],r*4);n.colors=i;for(let r of n.figures)r.coords=new Uint32Array(r.coords),r.colors=new Uint32Array(r.colors)}function h4(n,e,t){let s=0;for(let c of t)if(c.type===mi.TRIANGLES)s+=c.coords.length;else if(c.type===mi.LATTICE){let f=c.verticesPerRow;s+=(Math.floor(c.coords.length/f)-1)*(f-1)*6}let i=new Float32Array(s*2),r=new Uint8Array(s*4),a=0,o=0,l=(c,f)=>{i[a++]=n[c*2],i[a++]=n[c*2+1],r[o++]=e[f*4],r[o++]=e[f*4+1],r[o++]=e[f*4+2],o++};for(let c of t){let f=c.coords,h=c.colors;if(c.type===mi.TRIANGLES)for(let u=0,d=f.length;u<d;u++)l(f[u],h[u]);else if(c.type===mi.LATTICE){let u=c.verticesPerRow,d=Math.floor(f.length/u)-1,p=u-1;for(let m=0;m<d;m++){let g=m*u;for(let b=0;b<p;b++,g++)l(f[g],h[g]),l(f[g+1],h[g+1]),l(f[g+u],h[g+u]),l(f[g+u+1],h[g+u+1]),l(f[g+1],h[g+1]),l(f[g+u],h[g+u])}}}return{posData:i,colData:r,vertexCount:s}}var L1=class n extends Rr{static MAX_STEP_COUNT=512;constructor(e,t,s,i,r,a){super(),this.bbox=Ui(e.getArray(\"BBox\"),null);let o=bt.parse({cs:e.getRaw(\"CS\")||e.getRaw(\"ColorSpace\"),xref:t,resources:s,pdfFunctionFactory:i,globalColorSpaceCache:r,localColorSpaceCache:a});this.background=e.has(\"Background\")?o.getRgb(e.get(\"Background\"),0):null;let l=e.getRaw(\"Function\");if(!l)throw new se(\"FunctionBasedShading: missing /Function\");let c=av(l,i,2,o.numComps),[f,h,u,d]=fc(e.getArray(\"Domain\"),[0,1,0,1]),p=ar(e.getArray(\"Matrix\"),ri);this.bounds=dr.slice(),ft.axialAlignedBoundingBox([f,u,h,d],p,this.bounds);let m=this.bounds[2]-this.bounds[0],g=this.bounds[3]-this.bounds[1],b=Rt(Math.ceil(m),1,n.MAX_STEP_COUNT),x=Rt(Math.ceil(g),1,n.MAX_STEP_COUNT),w=b+1,v=(x+1)*w,k=this.coords=new Float32Array(v*2),j=this.colors=new Uint8ClampedArray(v*4),{numComps:A}=o,S=new Float32Array(2),q=f4(v,A),_=new Float32Array(q*A),I=(h-f)/b,C=(d-u)/x,T=I/2,M=C/2,E=0,G=0,D=0,N=0;for(let ee=0;ee<=x;ee++){let de=u+C*ee;S[1]=ee===x?de-M:de;for(let X=0;X<=b;X++){let ue=f+I*X;S[0]=X===b?ue-T:ue,c(S,0,_,G),G+=A,D++,k[E]=ue,k[E+1]=de,ft.applyTransform(k,p,E),E+=2,D===q&&(o.getRgbItems(_,D,j,N,1),N+=D*4,G=D=0)}}D>0&&o.getRgbItems(_,D,j,N,1);let K=new Uint32Array(v);for(let ee=0;ee<v;ee++)K[ee]=ee;this.figures=[{type:mi.LATTICE,coords:K,colors:new Uint32Array(K),verticesPerRow:w}]}getIR(){let{posData:e,colData:t,vertexCount:s}=h4(this.coords,this.colors,this.figures);return[\"Mesh\",ns.FUNCTION_BASED,e,t,s,this.bounds,this.bbox,this.background]}},z1=class{constructor(e,t){this.stream=e,this.context=t,this.buffer=0,this.bufferLength=0;let s=t.numComps;this.tmpCompsBuf=new Float32Array(s);let i=t.colorSpace.numComps;this.tmpCsCompsBuf=t.colorFn?new Float32Array(i):this.tmpCompsBuf}get hasData(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;let e=this.stream.getByte();return e<0?!1:(this.buffer=e,this.bufferLength=8,!0)}readBits(e){let{stream:t}=this,{buffer:s,bufferLength:i}=this;if(e===32){if(i===0)return t.getInt32()>>>0;s=s<<24|t.getByte()<<16|t.getByte()<<8|t.getByte();let r=t.getByte();return this.buffer=r&(1<<i)-1,(s<<8-i|(r&255)>>i)>>>0}if(e===8&&i===0)return t.getByte();for(;i<e;)s=s<<8|t.getByte(),i+=8;return i-=e,this.bufferLength=i,this.buffer=s&(1<<i)-1,s>>i}align(){this.buffer=0,this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){let{bitsPerCoordinate:e,decode:t}=this.context,s=this.readBits(e),i=this.readBits(e),r=e<32?1/((1<<e)-1):23283064365386963e-26;return[s*r*(t[1]-t[0])+t[0],i*r*(t[3]-t[2])+t[2]]}readComponents(){let{bitsPerComponent:e,colorFn:t,colorSpace:s,decode:i,numComps:r}=this.context,a=e<32?1/((1<<e)-1):23283064365386963e-26,o=this.tmpCompsBuf;for(let c=0,f=4;c<r;c++,f+=2){let h=this.readBits(e);o[c]=h*a*(i[f+1]-i[f])+i[f]}let l=this.tmpCsCompsBuf;return t?.(o,0,l,0),s.getRgb(l,0)}},u4=null;function Iy(n){return(u4??=new Map).getOrInsertComputed(n,()=>Array.from({length:n+1},(e,t)=>{let s=t/n,i=1-s;return new Float32Array([i**3,3*s*i**2,3*s**2*i,s**3])}))}function p_(){u4?.clear()}var U1=class n extends Rr{static MIN_SPLIT_PATCH_CHUNKS_AMOUNT=3;static MAX_SPLIT_PATCH_CHUNKS_AMOUNT=20;static TRIANGLE_DENSITY=20;constructor(e,t,s,i,r,a){if(super(),!(e instanceof Xe))throw new se(\"Mesh data is not a stream\");let o=e.dict;this.shadingType=o.get(\"ShadingType\"),this.bbox=Ui(o.getArray(\"BBox\"),null);let l=bt.parse({cs:o.getRaw(\"CS\")||o.getRaw(\"ColorSpace\"),xref:t,resources:s,pdfFunctionFactory:i,globalColorSpaceCache:r,localColorSpaceCache:a});this.background=o.has(\"Background\")?l.getRgb(o.get(\"Background\"),0):null;let c=o.getRaw(\"Function\"),f=c?av(c,i,1,l.numComps):null;this.coords=[],this.colors=[],this.figures=[];let h={bitsPerCoordinate:o.get(\"BitsPerCoordinate\"),bitsPerComponent:o.get(\"BitsPerComponent\"),bitsPerFlag:o.get(\"BitsPerFlag\"),decode:o.getArray(\"Decode\"),colorFn:f,colorSpace:l,numComps:f?1:l.numComps},u=new z1(e,h),d=!1;switch(this.shadingType){case ns.FREE_FORM_MESH:this._decodeType4Shading(u);break;case ns.LATTICE_FORM_MESH:let p=o.get(\"VerticesPerRow\")|0;if(p<2)throw new se(\"Invalid VerticesPerRow\");this._decodeType5Shading(u,p);break;case ns.COONS_PATCH_MESH:this._decodeType6Shading(u),d=!0;break;case ns.TENSOR_PATCH_MESH:this._decodeType7Shading(u),d=!0;break;default:dt(\"Unsupported mesh type.\");break}if(d){this._updateBounds();for(let p=0,m=this.figures.length;p<m;p++)this._buildFigureFromPatch(p)}this._updateBounds(),this._packData()}_decodeType4Shading(e){let t=this.coords,s=this.colors,i=[],r=[],a=0;for(;e.hasData;){let o=e.readFlag(),l=e.readCoordinate(),c=e.readComponents();if(a===0){if(!(0<=o&&o<=2))throw new se(\"Unknown type4 flag\");switch(o){case 0:a=3;break;case 1:r.push(r.at(-2),r.at(-1)),a=1;break;case 2:r.push(r.at(-3),r.at(-1)),a=1;break}i.push(o)}r.push(t.length),t.push(l),s.push(c),a--,e.align()}this.figures.push({type:mi.TRIANGLES,coords:new Int32Array(r),colors:new Int32Array(r)})}_decodeType5Shading(e,t){let s=this.coords,i=this.colors,r=[];for(;e.hasData;){let a=e.readCoordinate(),o=e.readComponents();r.push(s.length),s.push(a),i.push(o)}this.figures.push({type:mi.LATTICE,coords:new Int32Array(r),colors:new Int32Array(r),verticesPerRow:t})}_decodeType6Shading(e){let t=this.coords,s=this.colors,i=new Int32Array(16),r=new Int32Array(4);for(;e.hasData;){let a=e.readFlag();if(!(0<=a&&a<=3))throw new se(\"Unknown type6 flag\");let o=t.length;for(let d=0,p=a!==0?8:12;d<p;d++)t.push(e.readCoordinate());let l=s.length;for(let d=0,p=a!==0?2:4;d<p;d++)s.push(e.readComponents());let c,f,h,u;switch(a){case 0:i[12]=o+3,i[13]=o+4,i[14]=o+5,i[15]=o+6,i[8]=o+2,i[11]=o+7,i[4]=o+1,i[7]=o+8,i[0]=o,i[1]=o+11,i[2]=o+10,i[3]=o+9,r[2]=l+1,r[3]=l+2,r[0]=l,r[1]=l+3;break;case 1:c=i[12],f=i[13],h=i[14],u=i[15],i[12]=u,i[13]=o+0,i[14]=o+1,i[15]=o+2,i[8]=h,i[11]=o+3,i[4]=f,i[7]=o+4,i[0]=c,i[1]=o+7,i[2]=o+6,i[3]=o+5,c=r[2],f=r[3],r[2]=f,r[3]=l,r[0]=c,r[1]=l+1;break;case 2:c=i[15],f=i[11],i[12]=i[3],i[13]=o+0,i[14]=o+1,i[15]=o+2,i[8]=i[7],i[11]=o+3,i[4]=f,i[7]=o+4,i[0]=c,i[1]=o+7,i[2]=o+6,i[3]=o+5,c=r[3],r[2]=r[1],r[3]=l,r[0]=c,r[1]=l+1;break;case 3:i[12]=i[0],i[13]=o+0,i[14]=o+1,i[15]=o+2,i[8]=i[1],i[11]=o+3,i[4]=i[2],i[7]=o+4,i[0]=i[3],i[1]=o+7,i[2]=o+6,i[3]=o+5,r[2]=r[0],r[3]=l,r[0]=r[1],r[1]=l+1;break}i[5]=t.length,t.push([(-4*t[i[0]][0]-t[i[15]][0]+6*(t[i[4]][0]+t[i[1]][0])-2*(t[i[12]][0]+t[i[3]][0])+3*(t[i[13]][0]+t[i[7]][0]))/9,(-4*t[i[0]][1]-t[i[15]][1]+6*(t[i[4]][1]+t[i[1]][1])-2*(t[i[12]][1]+t[i[3]][1])+3*(t[i[13]][1]+t[i[7]][1]))/9]),i[6]=t.length,t.push([(-4*t[i[3]][0]-t[i[12]][0]+6*(t[i[2]][0]+t[i[7]][0])-2*(t[i[0]][0]+t[i[15]][0])+3*(t[i[4]][0]+t[i[14]][0]))/9,(-4*t[i[3]][1]-t[i[12]][1]+6*(t[i[2]][1]+t[i[7]][1])-2*(t[i[0]][1]+t[i[15]][1])+3*(t[i[4]][1]+t[i[14]][1]))/9]),i[9]=t.length,t.push([(-4*t[i[12]][0]-t[i[3]][0]+6*(t[i[8]][0]+t[i[13]][0])-2*(t[i[0]][0]+t[i[15]][0])+3*(t[i[11]][0]+t[i[1]][0]))/9,(-4*t[i[12]][1]-t[i[3]][1]+6*(t[i[8]][1]+t[i[13]][1])-2*(t[i[0]][1]+t[i[15]][1])+3*(t[i[11]][1]+t[i[1]][1]))/9]),i[10]=t.length,t.push([(-4*t[i[15]][0]-t[i[0]][0]+6*(t[i[11]][0]+t[i[14]][0])-2*(t[i[12]][0]+t[i[3]][0])+3*(t[i[2]][0]+t[i[8]][0]))/9,(-4*t[i[15]][1]-t[i[0]][1]+6*(t[i[11]][1]+t[i[14]][1])-2*(t[i[12]][1]+t[i[3]][1])+3*(t[i[2]][1]+t[i[8]][1]))/9]),this.figures.push({type:mi.PATCH,coords:new Int32Array(i),colors:new Int32Array(r)})}}_decodeType7Shading(e){let t=this.coords,s=this.colors,i=new Int32Array(16),r=new Int32Array(4);for(;e.hasData;){let a=e.readFlag();if(!(0<=a&&a<=3))throw new se(\"Unknown type7 flag\");let o=t.length;for(let d=0,p=a!==0?12:16;d<p;d++)t.push(e.readCoordinate());let l=s.length;for(let d=0,p=a!==0?2:4;d<p;d++)s.push(e.readComponents());let c,f,h,u;switch(a){case 0:i[12]=o+3,i[13]=o+4,i[14]=o+5,i[15]=o+6,i[8]=o+2,i[9]=o+13,i[10]=o+14,i[11]=o+7,i[4]=o+1,i[5]=o+12,i[6]=o+15,i[7]=o+8,i[0]=o,i[1]=o+11,i[2]=o+10,i[3]=o+9,r[2]=l+1,r[3]=l+2,r[0]=l,r[1]=l+3;break;case 1:c=i[12],f=i[13],h=i[14],u=i[15],i[12]=u,i[13]=o+0,i[14]=o+1,i[15]=o+2,i[8]=h,i[9]=o+9,i[10]=o+10,i[11]=o+3,i[4]=f,i[5]=o+8,i[6]=o+11,i[7]=o+4,i[0]=c,i[1]=o+7,i[2]=o+6,i[3]=o+5,c=r[2],f=r[3],r[2]=f,r[3]=l,r[0]=c,r[1]=l+1;break;case 2:c=i[15],f=i[11],i[12]=i[3],i[13]=o+0,i[14]=o+1,i[15]=o+2,i[8]=i[7],i[9]=o+9,i[10]=o+10,i[11]=o+3,i[4]=f,i[5]=o+8,i[6]=o+11,i[7]=o+4,i[0]=c,i[1]=o+7,i[2]=o+6,i[3]=o+5,c=r[3],r[2]=r[1],r[3]=l,r[0]=c,r[1]=l+1;break;case 3:i[12]=i[0],i[13]=o+0,i[14]=o+1,i[15]=o+2,i[8]=i[1],i[9]=o+9,i[10]=o+10,i[11]=o+3,i[4]=i[2],i[5]=o+8,i[6]=o+11,i[7]=o+4,i[0]=i[3],i[1]=o+7,i[2]=o+6,i[3]=o+5,r[2]=r[0],r[3]=l,r[0]=r[1],r[1]=l+1;break}this.figures.push({type:mi.PATCH,coords:new Int32Array(i),colors:new Int32Array(r)})}}_buildFigureFromPatch(e){let t=this.figures[e];Qt(t.type===mi.PATCH,\"Unexpected patch mesh figure\");let s=this.coords,i=this.colors,r=t.coords,a=t.colors,o=Math.min(s[r[0]][0],s[r[3]][0],s[r[12]][0],s[r[15]][0]),l=Math.min(s[r[0]][1],s[r[3]][1],s[r[12]][1],s[r[15]][1]),c=Math.max(s[r[0]][0],s[r[3]][0],s[r[12]][0],s[r[15]][0]),f=Math.max(s[r[0]][1],s[r[3]][1],s[r[12]][1],s[r[15]][1]),h=Math.ceil((c-o)*n.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0]));h=Rt(h,n.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,n.MAX_SPLIT_PATCH_CHUNKS_AMOUNT);let u=Math.ceil((f-l)*n.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1]));u=Rt(u,n.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,n.MAX_SPLIT_PATCH_CHUNKS_AMOUNT);let d=h+1,p=new Int32Array((u+1)*d),m=new Int32Array((u+1)*d),g=0,b=new Uint8Array(3),x=new Uint8Array(3),w=i[a[0]],v=i[a[1]],k=i[a[2]],j=i[a[3]],A=Iy(u),S=Iy(h);for(let q=0;q<=u;q++){b[0]=(w[0]*(u-q)+k[0]*q)/u|0,b[1]=(w[1]*(u-q)+k[1]*q)/u|0,b[2]=(w[2]*(u-q)+k[2]*q)/u|0,x[0]=(v[0]*(u-q)+j[0]*q)/u|0,x[1]=(v[1]*(u-q)+j[1]*q)/u|0,x[2]=(v[2]*(u-q)+j[2]*q)/u|0;for(let _=0;_<=h;_++,g++){if((q===0||q===u)&&(_===0||_===h))continue;let I=0,C=0,T=0;for(let E=0;E<=3;E++)for(let G=0;G<=3;G++,T++){let D=A[q][E]*S[_][G];I+=s[r[T]][0]*D,C+=s[r[T]][1]*D}p[g]=s.length,s.push([I,C]),m[g]=i.length;let M=new Uint8Array(3);M[0]=(b[0]*(h-_)+x[0]*_)/h|0,M[1]=(b[1]*(h-_)+x[1]*_)/h|0,M[2]=(b[2]*(h-_)+x[2]*_)/h|0,i.push(M)}}p[0]=r[0],m[0]=a[0],p[h]=r[3],m[h]=a[1],p[d*u]=r[12],m[d*u]=a[2],p[d*u+h]=r[15],m[d*u+h]=a[3],this.figures[e]={type:mi.LATTICE,coords:p,colors:m,verticesPerRow:d}}_updateBounds(){u_(this)}_packData(){d_(this)}getIR(){let{posData:e,colData:t,vertexCount:s}=h4(this.coords,this.colors,this.figures);return[\"Mesh\",this.shadingType,e,t,s,this.bounds,this.bbox,this.background]}},G1=class extends Rr{getIR(){return[\"Dummy\"]}};function Cy(n,e,t,s=!0){let i=ar(e.getArray(\"Matrix\"),ri),r=Ui(e.getArray(\"BBox\"),null);if(!r||r[2]-r[0]===0||r[3]-r[1]===0)throw new se(\"Invalid getTilingPatternIR /BBox array.\");let a=e.get(\"XStep\");if(typeof a!=\"number\")throw new se(\"Invalid getTilingPatternIR /XStep value.\");let o=e.get(\"YStep\");if(typeof o!=\"number\")throw new se(\"Invalid getTilingPatternIR /YStep value.\");let l=e.get(\"PaintType\");if(!Number.isInteger(l))throw new se(\"Invalid getTilingPatternIR /PaintType value.\");let c=e.get(\"TilingType\");if(!Number.isInteger(c))throw new se(\"Invalid getTilingPatternIR /TilingType value.\");return[\"TilingPattern\",t,n,i,r,a,o,l,c,s]}var m_=[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],g_={lineHeight:1.2207,lineGap:.2207},b_=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],w_={lineHeight:1.2207,lineGap:.2207},x_=[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],v_={lineHeight:1.2207,lineGap:.2207},y_=[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],k_={lineHeight:1.2207,lineGap:.2207},j_=[.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],A_={lineHeight:1.2,lineGap:.2},S_=[.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],q_={lineHeight:1.35,lineGap:.2},__=[.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],I_={lineHeight:1.35,lineGap:.2},C_=[.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],T_={lineHeight:1.2,lineGap:.2},Fl=[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],Ol=[-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],Ml=[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],Pl=[-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],Bl=[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],Dl=[-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],Nl=[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],Hl=[-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],E_=[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],R_={lineHeight:1.2,lineGap:.2},F_=[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],O_={lineHeight:1.2,lineGap:.2},M_=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],P_={lineHeight:1.2,lineGap:.2},B_=[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_={lineHeight:1.2,lineGap:.2},N_=[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],H_={lineHeight:1.33008,lineGap:0},L_=[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],z_={lineHeight:1.33008,lineGap:0},U_=[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],G_={lineHeight:1.33008,lineGap:0},W_=[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],$_={lineHeight:1.33008,lineGap:0},V_=Gt(function(n){n[\"MyriadPro-Regular\"]=n[\"PdfJS-Fallback-Regular\"]={name:\"LiberationSans-Regular\",factors:B_,baseWidths:Nl,baseMapping:Hl,metrics:D_},n[\"MyriadPro-Bold\"]=n[\"PdfJS-Fallback-Bold\"]={name:\"LiberationSans-Bold\",factors:E_,baseWidths:Fl,baseMapping:Ol,metrics:R_},n[\"MyriadPro-It\"]=n[\"MyriadPro-Italic\"]=n[\"PdfJS-Fallback-Italic\"]={name:\"LiberationSans-Italic\",factors:M_,baseWidths:Bl,baseMapping:Dl,metrics:P_},n[\"MyriadPro-BoldIt\"]=n[\"MyriadPro-BoldItalic\"]=n[\"PdfJS-Fallback-BoldItalic\"]={name:\"LiberationSans-BoldItalic\",factors:F_,baseWidths:Ml,baseMapping:Pl,metrics:O_},n.ArialMT=n.Arial=n[\"Arial-Regular\"]={name:\"LiberationSans-Regular\",baseWidths:Nl,baseMapping:Hl},n[\"Arial-BoldMT\"]=n[\"Arial-Bold\"]={name:\"LiberationSans-Bold\",baseWidths:Fl,baseMapping:Ol},n[\"Arial-ItalicMT\"]=n[\"Arial-Italic\"]={name:\"LiberationSans-Italic\",baseWidths:Bl,baseMapping:Dl},n[\"Arial-BoldItalicMT\"]=n[\"Arial-BoldItalic\"]={name:\"LiberationSans-BoldItalic\",baseWidths:Ml,baseMapping:Pl},n[\"Calibri-Regular\"]={name:\"LiberationSans-Regular\",factors:y_,baseWidths:Nl,baseMapping:Hl,metrics:k_},n[\"Calibri-Bold\"]={name:\"LiberationSans-Bold\",factors:m_,baseWidths:Fl,baseMapping:Ol,metrics:g_},n[\"Calibri-Italic\"]={name:\"LiberationSans-Italic\",factors:x_,baseWidths:Bl,baseMapping:Dl,metrics:v_},n[\"Calibri-BoldItalic\"]={name:\"LiberationSans-BoldItalic\",factors:b_,baseWidths:Ml,baseMapping:Pl,metrics:w_},n[\"Segoeui-Regular\"]={name:\"LiberationSans-Regular\",factors:W_,baseWidths:Nl,baseMapping:Hl,metrics:$_},n[\"Segoeui-Bold\"]={name:\"LiberationSans-Bold\",factors:N_,baseWidths:Fl,baseMapping:Ol,metrics:H_},n[\"Segoeui-Italic\"]={name:\"LiberationSans-Italic\",factors:U_,baseWidths:Bl,baseMapping:Dl,metrics:G_},n[\"Segoeui-BoldItalic\"]={name:\"LiberationSans-BoldItalic\",factors:L_,baseWidths:Ml,baseMapping:Pl,metrics:z_},n[\"Helvetica-Regular\"]=n.Helvetica={name:\"LiberationSans-Regular\",factors:C_,baseWidths:Nl,baseMapping:Hl,metrics:T_},n[\"Helvetica-Bold\"]={name:\"LiberationSans-Bold\",factors:j_,baseWidths:Fl,baseMapping:Ol,metrics:A_},n[\"Helvetica-Italic\"]={name:\"LiberationSans-Italic\",factors:__,baseWidths:Bl,baseMapping:Dl,metrics:I_},n[\"Helvetica-BoldItalic\"]={name:\"LiberationSans-BoldItalic\",factors:S_,baseWidths:Ml,baseMapping:Pl,metrics:q_}});function ov(n){let e=Mr(n);return V_()[e]}function K_(n){let e=ov(n);if(!e)return null;let{baseWidths:t,baseMapping:s,factors:i}=e,r=i?t.map((c,f)=>c*i[f]):t,a=-2,o,l=[];for(let[c,f]of s.map((h,u)=>[h,u]).sort(([h],[u])=>h-u))c!==-1&&(c===a+1?(o.push(r[f]),a+=1):(a=c,o=[r[f]],l.push(c,o)));return l}function d4(n){let e=K_(n),t=new P(null);t.set(\"BaseFont\",ce.get(n)),t.set(\"Type\",ce.get(\"Font\")),t.set(\"Subtype\",ce.get(\"CIDFontType2\")),t.set(\"Encoding\",ce.get(\"Identity-H\")),t.set(\"CIDToGIDMap\",ce.get(\"Identity\")),t.set(\"W\",e),t.set(\"FirstChar\",e[0]),t.set(\"LastChar\",e.at(-2)+e.at(-1).length-1);let s=new P(null);t.set(\"FontDescriptor\",s);let i=new P(null);return i.set(\"Ordering\",\"Identity\"),i.set(\"Registry\",\"Adobe\"),i.set(\"Supplement\",0),t.set(\"CIDSystemInfo\",i),t}var R={number:0,lbrace:1,rbrace:2,true:3,false:4,add:5,sub:6,mul:7,div:8,idiv:9,mod:10,exp:11,eq:12,ne:13,gt:14,ge:15,lt:16,le:17,and:18,or:19,xor:20,bitshift:21,abs:22,neg:23,ceiling:24,floor:25,round:26,truncate:27,not:28,sqrt:29,sin:30,cos:31,ln:32,log:33,atan:34,cvi:35,cvr:36,dup:37,exch:38,pop:39,copy:40,index:41,roll:42,if:43,ifelse:44,eof:45,min:46,max:47},_r=class{constructor(e,t=null){this.id=e,this.value=t}},W1=class n{static#e=null;static#n=null;static#t(){let e=Object.create(null),t=Object.create(null);for(let[s,i]of Object.entries(R)){if(s===\"number\")continue;let r=i>=R.true&&i<=R.ifelse,a=new _r(i,r?s:null);e[s]=a,r&&(t[s]=a)}this.#e=e,this.#n=t}constructor(e){n.#e||n.#t(),this.data=e,this.pos=0,this.len=e.length,this._numberPattern=/[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?/iy,this._identifierPattern=/[a-z]+/y}_skipComment(){let e=this.data.indexOf(`\n`,this.pos),t=this.data.indexOf(\"\\r\",this.pos),s=Math.min(e<0?this.len:e,t<0?this.len:t);this.pos=Math.min(s+1,this.len)}_getNumber(){this._numberPattern.lastIndex=this.pos;let e=this._numberPattern.exec(this.data);if(!e)return this.pos++,new _r(R.number,0);let t=parseFloat(e[0]);return this.pos=this._numberPattern.lastIndex,new _r(R.number,Number.isFinite(t)?t:0)}_getOperator(){this._identifierPattern.lastIndex=this.pos;let e=this._identifierPattern.exec(this.data);if(!e)return this.pos++,new _r(R.number,0);this.pos=this._identifierPattern.lastIndex;let t=e[0];return n.#n[t]??new _r(R.number,0)}next(){for(;this.pos<this.len;){let e=this.data.charCodeAt(this.pos++);switch(e){case 0:case 9:case 10:case 12:case 13:case 32:break;case 37:this._skipComment();break;case 123:return n.#e.lbrace;case 125:return n.#e.rbrace;case 43:case 45:case 46:return this.pos--,this._getNumber();default:return e>=48&&e<=57?(this.pos--,this._getNumber()):e>=97&&e<=122?(this.pos--,this._getOperator()):new _r(R.number,0)}}return n.#e.eof}},rn={numeric:0,boolean:1,unknown:2},$e={program:0,block:1,number:2,operator:3,if:4,ifelse:5,arg:6,const:7,unary:8,binary:9,ternary:10},Ws=class{constructor(e){this.type=e}},$1=class extends Ws{constructor(e){super($e.program),this.body=e}},V1=class extends Ws{constructor(e){super($e.block),this.instructions=e}},K1=class extends Ws{constructor(e){super($e.number),this.value=e}},X1=class extends Ws{constructor(e){super($e.operator),this.op=e}},Y1=class extends Ws{constructor(e){super($e.if),this.then=e}},J1=class extends Ws{constructor(e,t){super($e.ifelse),this.then=e,this.otherwise=t}},Q1=class extends Ws{constructor(e){super($e.arg),this.index=e,this.valueType=rn.numeric,this.depth=0}},Vn=class extends Ws{constructor(e){super($e.const),this.value=e,this.valueType=typeof e==\"boolean\"?rn.boolean:rn.numeric,this.depth=0}},Z1=class extends Ws{constructor(e,t,s=rn.unknown){super($e.unary),this.op=e,this.operand=t,this.valueType=s,this.depth=t.depth+1}},kh=class extends Ws{constructor(e,t,s,i=rn.unknown){super($e.binary),this.op=e,this.first=t,this.second=s,this.valueType=i,this.depth=Math.max(t.depth,s.depth)+1}},eg=class extends Ws{constructor(e,t,s,i=rn.unknown){super($e.ternary),this.cond=e,this.then=t,this.otherwise=s,this.valueType=i,this.depth=Math.max(e.depth,t.depth,s.depth)+1}},X_=1e3,tg=class n{constructor(e){this.lexer=e,this._token=null,this._depth=0}static _isRegularOperator(e){return e>=R.true&&e<R.if}_advance(){this._token=this.lexer.next()}_expect(e){if(this._token.id!==e)throw new se(`PostScript function: expected token id ${e}, got ${this._token.id}.`);let t=this._token;return this._advance(),t}parse(){this._advance(),this._expect(R.lbrace);let e=this._parseBlock();return this._expect(R.rbrace),this._token.id!==R.eof&&B(\"PostScript function: unexpected content after closing brace.\"),new $1(e)}_parseBlock(){let e=[];for(;;){let t=this._token;switch(t.id){case R.number:e.push(new K1(t.value)),this._advance();break;case R.lbrace:{if(++this._depth>X_)throw new se(\"PostScript function: procedures are nested too deeply.\");this._advance();let s=this._parseBlock();if(this._expect(R.rbrace),this._token.id===R.if)this._advance(),e.push(new Y1(s));else if(this._token.id===R.lbrace){this._advance();let i=this._parseBlock();this._expect(R.rbrace),this._expect(R.ifelse),e.push(new J1(s,i))}else throw new se(\"PostScript function: a procedure block must be followed by 'if' or '{\\u2026} ifelse'.\");this._depth--;break}case R.rbrace:case R.eof:return new V1(e);case R.if:case R.ifelse:throw new se(`PostScript function: unexpected '${t.value}' operator.`);default:if(n._isRegularOperator(t.id)){e.push(new X1(t.id)),this._advance();break}throw new se(`PostScript function: unexpected token id ${t.id}.`)}}}};function p4(n){return new tg(new W1(n)).parse()}function Y_(n,e,t){switch(n){case R.add:return e+t;case R.sub:return e-t;case R.mul:return e*t;case R.div:return t!==0?e/t:0;case R.idiv:return t!==0?Math.trunc(e/t):0;case R.mod:return t!==0?e-Math.trunc(e/t)*t:0;case R.exp:{let s=e**t;return Number.isFinite(s)?s:void 0}case R.atan:{let s=Math.atan2(e,t)*(180/Math.PI);return s<0&&(s+=360),s}case R.eq:return e===t;case R.ne:return e!==t;case R.gt:return e>t;case R.ge:return e>=t;case R.lt:return e<t;case R.le:return e<=t;case R.and:return typeof e==\"boolean\"?e&&t:e&t|0;case R.or:return typeof e==\"boolean\"?e||t:e|t|0;case R.xor:return typeof e==\"boolean\"?e!==t:e^t|0;case R.bitshift:return t>=0?e<<t|0:e>>-t|0;case R.min:return Math.min(e,t);case R.max:return Math.max(e,t);default:return}}function J_(n,e){switch(n){case R.abs:return Math.abs(e);case R.neg:return-e;case R.ceiling:return Math.ceil(e);case R.floor:return Math.floor(e);case R.round:return Math.round(e);case R.truncate:return Math.trunc(e);case R.sqrt:{let t=Math.sqrt(e);return Number.isFinite(t)?t:void 0}case R.sin:return Math.sin(e%360*Math.PI/180);case R.cos:return Math.cos(e%360*Math.PI/180);case R.ln:{let t=Math.log(e);return Number.isFinite(t)?t:void 0}case R.log:{let t=Math.log10(e);return Number.isFinite(t)?t:void 0}case R.cvi:return Math.trunc(e)|0;case R.cvr:return e;case R.not:return typeof e==\"boolean\"?!e:~e;default:return}}var uo=100,Q_=1e5,Z_=1e3,eI=500;function tI(n,e){return n===R.not?e:rn.numeric}function nI(n,e,t){switch(n){case R.eq:case R.ne:case R.gt:case R.ge:case R.lt:case R.le:return rn.boolean;case R.and:case R.or:case R.xor:return e===t&&e!==rn.unknown?e:rn.unknown;default:return rn.numeric}}var jh=class n{static#e=null;static#n=null;static#t=null;static#s=null;static#i(){this.#e=new Set([R.add,R.sub,R.mul,R.div,R.idiv,R.mod,R.exp,R.atan,R.eq,R.ne,R.gt,R.ge,R.lt,R.le,R.and,R.or,R.xor,R.bitshift]),this.#n=new Set([R.abs,R.neg,R.ceiling,R.floor,R.round,R.truncate,R.sqrt,R.sin,R.cos,R.ln,R.log,R.cvi,R.cvr,R.not]),this.#t=new Set([R.abs,R.ceiling,R.cvi,R.cvr,R.floor,R.round,R.truncate]),this.#s=new Map([[R.eq,R.ne],[R.ne,R.eq],[R.lt,R.ge],[R.le,R.gt],[R.gt,R.le],[R.ge,R.lt]])}evaluate(e,t){if(n.#e||n.#i(),this._failed=!1,this._work=0,this._forkDepth=0,t>uo)return null;let s=[];for(let i=0;i<t;i++)s.push(new Q1(i));return this._evalBlock(e.body,s),this._failed?null:(n.#r(s),s)}static#r(e){let t=new Map,s=i=>{if(!i||i.type===$e.arg||i.type===$e.const)return;let r=t.get(i)??0;if(t.set(i,r+1),!(r>0))switch(i.type){case $e.unary:s(i.operand);break;case $e.binary:s(i.first),s(i.second);break;case $e.ternary:s(i.cond),s(i.then),s(i.otherwise);break}};for(let i of e)s(i);for(let[i,r]of t)r>1&&(i.shared=!0,i.sharedCount=r)}_evalBlock(e,t){this._evalBlockFrom(e.instructions,0,t)}_evalBlockFrom(e,t,s){for(let i=t;i<e.length&&!(this._failed||!this._checkWorkLimit());i++){let r=e[i];switch(r.type){case $e.number:s.push(new Vn(r.value)),s.length>uo&&(this._failed=!0);break;case $e.operator:this._evalOp(r.op,s);break;case $e.if:{if(s.length<1){this._failed=!0;break}let a=s.pop(),o=s.slice();if(this._evalBlock(r.then,s),this._failed)break;if(s.length===o.length)for(let l=0;l<s.length;l++)s[l]!==o[l]&&(s[l]=this._makeTernary(a,s[l],o[l]));else if(s.length>o.length){if(a.type===$e.const){a.value||(s.length=0,s.push(...o));break}if(this._forkDepth>=Z_){this._failed=!0;break}this._forkDepth++;let l=s.slice();if(this._evalBlockFrom(e,i+1,l),this._failed)break;let c=o;if(this._evalBlockFrom(e,i+1,c),this._failed)break;if(this._forkDepth--,l.length!==c.length){let f=new Vn(0);for(;l.length<c.length;)l.push(f);for(;c.length<l.length;)c.push(f)}s.length=0;for(let f=0;f<l.length;f++)s.push(this._makeTernary(a,l[f],c[f]));return}else this._failed=!0;break}case $e.ifelse:{if(s.length<1){this._failed=!0;break}let a=s.pop(),o=s.slice(),l=o.slice();if(this._evalBlock(r.then,l),this._failed)break;let c=o.slice();if(this._evalBlock(r.otherwise,c),this._failed)break;if(l.length!==c.length){let f=new Vn(0);for(;l.length<c.length;)l.push(f);for(;c.length<l.length;)c.push(f)}s.length=0;for(let f=0;f<l.length;f++)s.push(this._makeTernary(a,l[f],c[f]));break}}}}_evalOp(e,t){if(n.#e.has(e)){if(t.length<2){this._failed=!0;return}let s=t.pop(),i=t.pop();t.push(this._makeBinary(e,s,i));return}if(n.#n.has(e)){if(t.length<1){this._failed=!0;return}t.push(this._makeUnary(e,t.pop()));return}switch(e){case R.true:t.push(new Vn(!0)),t.length>uo&&(this._failed=!0);break;case R.false:t.push(new Vn(!1)),t.length>uo&&(this._failed=!0);break;case R.dup:if(t.length<1){this._failed=!0;break}t.push(t.at(-1)),t.length>uo&&(this._failed=!0);break;case R.exch:{if(t.length<2){this._failed=!0;break}let s=t.pop(),i=t.pop();t.push(s,i);break}case R.pop:if(t.length<1){this._failed=!0;break}t.pop();break;case R.copy:{if(t.length<1){this._failed=!0;break}let s=t.pop();if(s.type===$e.const){let i=s.value|0;i===0||(i<0||i>t.length?this._failed=!0:(t.push(...t.slice(-i)),t.length>uo&&(this._failed=!0)))}else this._failed=!0;break}case R.index:{if(t.length<1){this._failed=!0;break}let s=t.pop();if(s.type===$e.const){let i=s.value|0;i<0||i>=t.length?this._failed=!0:t.push(t.at(-i-1))}else this._failed=!0;break}case R.roll:{if(t.length<2){this._failed=!0;break}let s=t.pop(),i=t.pop();if(i.type===$e.const&&s.type===$e.const){let r=i.value|0;if(r!==0)if(r<0||r>t.length)this._failed=!0;else{let a=((s.value|0)%r+r)%r;if(a>0){let o=t.splice(-r,r);t.push(...o.slice(r-a),...o.slice(0,r-a))}}}else this._failed=!0;break}default:this._failed=!0;break}}_checkWorkLimit(){return++this._work>Q_?(this._failed=!0,!1):!0}_checkDepth(e){return e.depth>eI&&(this._failed=!0),e}_nodesEqual(e,t){if(e===t)return!0;if(e.type!==t.type||!this._checkWorkLimit())return!1;switch(e.type){case $e.arg:return e.index===t.index;case $e.const:return e.value===t.value;case $e.unary:return e.op===t.op&&this._nodesEqual(e.operand,t.operand);case $e.binary:return e.op===t.op&&this._nodesEqual(e.first,t.first)&&this._nodesEqual(e.second,t.second);case $e.ternary:return this._nodesEqual(e.cond,t.cond)&&this._nodesEqual(e.then,t.then)&&this._nodesEqual(e.otherwise,t.otherwise);default:return!1}}_makeBinary(e,t,s){if(t.type===$e.const&&s.type===$e.const){let i=Y_(e,s.value,t.value);if(i!==void 0)return new Vn(i)}if(this._nodesEqual(t,s))switch(e){case R.sub:return new Vn(0);case R.xor:return new Vn(t.valueType===rn.boolean?!1:0);case R.and:case R.or:return t;case R.min:case R.max:return t;case R.eq:case R.ge:case R.le:return new Vn(!0);case R.ne:case R.gt:case R.lt:return new Vn(!1)}if(e===R.eq||e===R.ne){if(t.valueType===rn.unknown||s.valueType===rn.unknown)this._failed=!0;else if(t.valueType!==s.valueType)return new Vn(e===R.ne)}if(t.type===$e.const){let i=t.value;switch(e){case R.add:if(i===0)return s;break;case R.sub:if(i===0)return s;break;case R.mul:if(i===1)return s;if(i===0)return t;if(i===-1)return this._makeUnary(R.neg,s);break;case R.div:if(i!==0)return this._makeBinary(R.mul,new Vn(1/i),s);break;case R.idiv:if(i===1)return s;break;case R.exp:if(i===1)return s;if(i===-1)return this._makeBinary(R.div,s,new Vn(1));if(i===.5)return this._makeUnary(R.sqrt,s);if(i===.25){let r=this._makeUnary(R.sqrt,s);return this._makeUnary(R.sqrt,r)}if(i===2)return this._makeBinary(R.mul,s,s);if(i===3)return this._makeBinary(R.mul,this._makeBinary(R.mul,s,s),s);if(i===4){let r=this._makeBinary(R.mul,s,s);return this._makeBinary(R.mul,r,r)}if(i===0)return new Vn(1);break;case R.and:if(i===!0)return s;if(i===!1)return t;break;case R.or:if(i===!1)return s;if(i===!0)return t;break;case R.min:if(s.type===$e.binary&&s.op===R.max&&s.first.type===$e.const&&s.first.value>=i)return t;break;case R.max:if(s.type===$e.binary&&s.op===R.min&&s.first.type===$e.const&&s.first.value<=i)return t;break}}if(s.type===$e.const){let i=s.value;switch(e){case R.add:if(i===0)return t;break;case R.sub:if(i===0)return this._makeUnary(R.neg,t);break;case R.mul:if(i===1)return t;if(i===0)return s;if(i===-1)return this._makeUnary(R.neg,t);break;case R.and:if(i===!0)return t;if(i===!1)return s;break;case R.or:if(i===!1)return t;if(i===!0)return s;break}}return this._checkDepth(new kh(e,t,s,nI(e,t.valueType,s.valueType)))}_makeUnary(e,t){if(t.type===$e.const){let s=J_(e,t.value);if(s!==void 0)return new Vn(s)}if(e===R.not&&t.type===$e.binary){let s=n.#s.get(t.op);if(s!==void 0)return new kh(s,t.first,t.second,rn.boolean)}if(e===R.neg&&t.type===$e.binary&&t.op===R.sub)return this._makeBinary(R.sub,t.second,t.first);if(t.type===$e.unary){if(e===R.neg&&t.op===R.neg||e===R.not&&t.op===R.not)return t.operand;if(e===R.abs&&t.op===R.neg)return this._makeUnary(R.abs,t.operand);if(n.#t.has(e)&&e===t.op)return t}return this._checkDepth(new Z1(e,t,tI(e,t.valueType)))}_makeTernary(e,t,s){if(e.type===$e.const)return e.value?t:s;if(this._nodesEqual(t,s))return t;if(t.type===$e.const&&s.type===$e.const){if(t.value===!0&&s.value===!1)return e;if(t.value===!1&&s.value===!0)return this._makeUnary(R.not,e)}if(e.type===$e.binary){let{op:i,first:r,second:a}=e;if(i===R.gt||i===R.ge){if(this._nodesEqual(t,r)&&this._nodesEqual(s,a))return this._makeBinary(R.min,r,a);if(this._nodesEqual(t,a)&&this._nodesEqual(s,r))return this._makeBinary(R.max,r,a)}else if(i===R.lt||i===R.le){if(this._nodesEqual(t,r)&&this._nodesEqual(s,a))return this._makeBinary(R.max,r,a);if(this._nodesEqual(t,a)&&this._nodesEqual(s,r))return this._makeBinary(R.min,r,a)}}return this._checkDepth(new eg(e,t,s,t.valueType===s.valueType?t.valueType:rn.unknown))}},He={ARG:0,CONST:1,STORE:2,IF:3,JUMP:4,ABS:5,NEG:6,CEIL:7,FLOOR:8,ROUND:9,TRUNC:10,NOT_B:11,NOT_N:12,SQRT:13,SIN:14,COS:15,LN:16,LOG10:17,CVI:18,SHIFT:19,ADD:20,SUB:21,MUL:22,DIV:23,IDIV:24,MOD:25,POW:26,EQ:27,NE:28,GT:29,GE:30,LT:31,LE:32,AND:33,OR:34,XOR:35,ATAN:36,MIN:37,MAX:38,TEE_TMP:39,LOAD_TMP:40},Ah=Math.PI/180,m4=180/Math.PI,Sh=class{static#e=new Float64Array(64);static#n=new Float64Array(64);constructor(e,t){this.nIn=e.length>>1,this.nOut=t.length>>1,this.range=t,this.ir=[],this._tmpMap=new Map,this._nextTmp=0}_compileNode(e){if(e.shared){let t=this._tmpMap.get(e);if(t!==void 0)return this.ir.push(He.LOAD_TMP,t),!0;if(!this._compileNodeImpl(e))return!1;let s=this._nextTmp++;return this._tmpMap.set(e,s),this.ir.push(He.TEE_TMP,s),!0}return this._compileNodeImpl(e)}_compileNodeImpl(e){switch(e.type){case $e.arg:return this.ir.push(He.ARG,e.index),!0;case $e.const:{let t=e.value;return this.ir.push(He.CONST,typeof t==\"boolean\"?Number(t):t),!0}case $e.unary:return this._compileUnary(e);case $e.binary:return this._compileBinary(e);case $e.ternary:return this._compileTernary(e);default:return!1}}_compileUnary(e){let{op:t,operand:s,valueType:i}=e;if(t===R.cvr)return this._compileNode(s);if(!this._compileNode(s))return!1;switch(t){case R.abs:this.ir.push(He.ABS);break;case R.neg:this.ir.push(He.NEG);break;case R.ceiling:this.ir.push(He.CEIL);break;case R.floor:this.ir.push(He.FLOOR);break;case R.round:this.ir.push(He.ROUND);break;case R.truncate:this.ir.push(He.TRUNC);break;case R.sqrt:this.ir.push(He.SQRT);break;case R.sin:this.ir.push(He.SIN);break;case R.cos:this.ir.push(He.COS);break;case R.ln:this.ir.push(He.LN);break;case R.log:this.ir.push(He.LOG10);break;case R.cvi:this.ir.push(He.CVI);break;case R.not:if(i===rn.boolean)this.ir.push(He.NOT_B);else if(i===rn.numeric)this.ir.push(He.NOT_N);else return!1;break;default:return!1}return!0}_compileBinary(e){let{op:t,first:s,second:i}=e;if(t===R.bitshift)return s.type!==$e.const||!Number.isInteger(s.value)||!this._compileNode(i)?!1:(this.ir.push(He.SHIFT,s.value),!0);if(!this._compileNode(i)||!this._compileNode(s))return!1;switch(t){case R.add:this.ir.push(He.ADD);break;case R.sub:this.ir.push(He.SUB);break;case R.mul:this.ir.push(He.MUL);break;case R.div:this.ir.push(He.DIV);break;case R.idiv:this.ir.push(He.IDIV);break;case R.mod:this.ir.push(He.MOD);break;case R.exp:this.ir.push(He.POW);break;case R.eq:this.ir.push(He.EQ);break;case R.ne:this.ir.push(He.NE);break;case R.gt:this.ir.push(He.GT);break;case R.ge:this.ir.push(He.GE);break;case R.lt:this.ir.push(He.LT);break;case R.le:this.ir.push(He.LE);break;case R.and:this.ir.push(He.AND);break;case R.or:this.ir.push(He.OR);break;case R.xor:this.ir.push(He.XOR);break;case R.atan:this.ir.push(He.ATAN);break;case R.min:this.ir.push(He.MIN);break;case R.max:this.ir.push(He.MAX);break;default:return!1}return!0}_compileTernary(e){if(!this._compileNode(e.cond))return!1;this.ir.push(He.IF,0);let t=this.ir.length-1;if(!this._compileNode(e.then))return!1;this.ir.push(He.JUMP,0);let s=this.ir.length-1;return this.ir[t]=this.ir.length,this._compileNode(e.otherwise)?(this.ir[s]=this.ir.length,!0):!1}compile(e){let t=new jh().evaluate(e,this.nIn);if(!t||t.length<this.nOut)return null;for(let s=0;s<this.nOut;s++){if(!this._compileNode(t[s]))return null;let i=this.range[s*2],r=this.range[s*2+1];this.ir.push(He.STORE,s,i,r)}return new Float64Array(this.ir)}static execute(e,t,s,i,r){let a=0,o=0,l=e.length,c=this.#e,f=this.#n;for(;a<l;)switch(e[a++]|0){case He.ARG:c[o++]=t[s+(e[a++]|0)];break;case He.CONST:c[o++]=e[a++];break;case He.STORE:{let h=e[a++]|0,u=e[a++],d=e[a++];i[r+h]=Rt(c[--o],u,d);break}case He.IF:{let h=e[a++];c[--o]===0&&(a=h);break}case He.JUMP:a=e[a];break;case He.ABS:c[o-1]=Math.abs(c[o-1]);break;case He.NEG:c[o-1]=-c[o-1];break;case He.CEIL:c[o-1]=Math.ceil(c[o-1]);break;case He.FLOOR:c[o-1]=Math.floor(c[o-1]);break;case He.ROUND:c[o-1]=Math.floor(c[o-1]+.5);break;case He.TRUNC:c[o-1]=Math.trunc(c[o-1]);break;case He.NOT_B:c[o-1]=c[o-1]!==0?0:1;break;case He.NOT_N:c[o-1]=~(c[o-1]|0);break;case He.SQRT:c[o-1]=Math.sqrt(c[o-1]);break;case He.SIN:c[o-1]=Math.sin(c[o-1]%360*Ah);break;case He.COS:c[o-1]=Math.cos(c[o-1]%360*Ah);break;case He.LN:c[o-1]=Math.log(c[o-1]);break;case He.LOG10:c[o-1]=Math.log10(c[o-1]);break;case He.CVI:c[o-1]=Math.trunc(c[o-1])|0;break;case He.SHIFT:{let h=e[a++],u=c[o-1]|0;h>0?c[o-1]=u<<h:h<0?c[o-1]=u>>-h:c[o-1]=u;break}case He.ADD:{let h=c[--o];c[o-1]+=h;break}case He.SUB:{let h=c[--o];c[o-1]-=h;break}case He.MUL:{let h=c[--o];c[o-1]*=h;break}case He.DIV:{let h=c[--o];c[o-1]=h!==0?c[o-1]/h:0;break}case He.IDIV:{let h=c[--o];c[o-1]=h!==0?Math.trunc(c[o-1]/h):0;break}case He.MOD:{let h=c[--o];c[o-1]=h!==0?c[o-1]%h:0;break}case He.POW:{let h=c[--o];c[o-1]**=h;break}case He.EQ:{let h=c[--o];c[o-1]=c[o-1]===h?1:0;break}case He.NE:{let h=c[--o];c[o-1]=c[o-1]!==h?1:0;break}case He.GT:{let h=c[--o];c[o-1]=c[o-1]>h?1:0;break}case He.GE:{let h=c[--o];c[o-1]=c[o-1]>=h?1:0;break}case He.LT:{let h=c[--o];c[o-1]=c[o-1]<h?1:0;break}case He.LE:{let h=c[--o];c[o-1]=c[o-1]<=h?1:0;break}case He.AND:{let h=c[--o]|0;c[o-1]=(c[o-1]|0)&h;break}case He.OR:{let h=c[--o]|0;c[o-1]=c[o-1]|0|h;break}case He.XOR:{let h=c[--o]|0;c[o-1]=(c[o-1]|0)^h;break}case He.ATAN:{let h=c[--o],u=Math.atan2(c[o-1],h)*m4;c[o-1]=u<0?u+360:u;break}case He.MIN:{let h=c[--o];c[o-1]=Math.min(c[o-1],h);break}case He.MAX:{let h=c[--o];c[o-1]=Math.max(c[o-1],h);break}case He.TEE_TMP:f[e[a++]|0]=c[o-1];break;case He.LOAD_TMP:c[o++]=f[e[a++]|0];break}}},ng=class{static#e=new Float64Array(100);static#n=new Uint8Array(100);static#t=0;static#s(e,t=0){this.#t<this.#e.length&&(this.#n[this.#t]=t,this.#e[this.#t++]=e)}static#i(e){let t=this.#e,s=this.#n;switch(e){case R.true:this.#s(1,1);return;case R.false:this.#s(0,1);return;case R.abs:t[this.#t-1]=Math.abs(t[this.#t-1]);break;case R.neg:t[this.#t-1]=-t[this.#t-1];break;case R.ceiling:t[this.#t-1]=Math.ceil(t[this.#t-1]);break;case R.floor:t[this.#t-1]=Math.floor(t[this.#t-1]);break;case R.round:t[this.#t-1]=Math.floor(t[this.#t-1]+.5);break;case R.truncate:t[this.#t-1]=Math.trunc(t[this.#t-1]);break;case R.sqrt:t[this.#t-1]=Math.sqrt(t[this.#t-1]);break;case R.sin:t[this.#t-1]=Math.sin(t[this.#t-1]%360*Ah);break;case R.cos:t[this.#t-1]=Math.cos(t[this.#t-1]%360*Ah);break;case R.ln:t[this.#t-1]=Math.log(t[this.#t-1]);break;case R.log:t[this.#t-1]=Math.log10(t[this.#t-1]);break;case R.cvi:t[this.#t-1]=Math.trunc(t[this.#t-1])|0;break;case R.cvr:break;case R.not:{let i=t[this.#t-1];t[this.#t-1]=s[this.#t-1]?1-i:~(i|0);return}case R.add:{let i=t[--this.#t];t[this.#t-1]+=i;break}case R.sub:{let i=t[--this.#t];t[this.#t-1]-=i;break}case R.mul:{let i=t[--this.#t];t[this.#t-1]*=i;break}case R.div:{let i=t[--this.#t];t[this.#t-1]=i!==0?t[this.#t-1]/i:0;break}case R.idiv:{let i=t[--this.#t];t[this.#t-1]=i!==0?Math.trunc(t[this.#t-1]/i):0;break}case R.mod:{let i=t[--this.#t];t[this.#t-1]=i!==0?t[this.#t-1]%i:0;break}case R.exp:{let i=t[--this.#t];t[this.#t-1]**=i;break}case R.atan:{let i=t[--this.#t],r=Math.atan2(t[this.#t-1],i)*m4;t[this.#t-1]=r<0?r+360:r;break}case R.eq:{let i=t[--this.#t];t[this.#t-1]=t[this.#t-1]===i&&s[this.#t-1]===s[this.#t]?1:0,s[this.#t-1]=1;return}case R.ne:{let i=t[--this.#t];t[this.#t-1]=t[this.#t-1]!==i||s[this.#t-1]!==s[this.#t]?1:0,s[this.#t-1]=1;return}case R.gt:{let i=t[--this.#t];t[this.#t-1]=t[this.#t-1]>i?1:0,s[this.#t-1]=1;return}case R.ge:{let i=t[--this.#t];t[this.#t-1]=t[this.#t-1]>=i?1:0,s[this.#t-1]=1;return}case R.lt:{let i=t[--this.#t];t[this.#t-1]=t[this.#t-1]<i?1:0,s[this.#t-1]=1;return}case R.le:{let i=t[--this.#t];t[this.#t-1]=t[this.#t-1]<=i?1:0,s[this.#t-1]=1;return}case R.and:{let i=t[--this.#t]|0;t[this.#t-1]=(t[this.#t-1]|0)&i,s[this.#t-1]&=s[this.#t];return}case R.or:{let i=t[--this.#t]|0;t[this.#t-1]=t[this.#t-1]|0|i,s[this.#t-1]&=s[this.#t];return}case R.xor:{let i=t[--this.#t]|0;t[this.#t-1]=(t[this.#t-1]|0)^i,s[this.#t-1]&=s[this.#t];return}case R.bitshift:{let i=t[--this.#t]|0,r=t[this.#t-1]|0;t[this.#t-1]=i>0?r<<i:r>>-i;break}case R.min:{let i=t[--this.#t];t[this.#t-1]=Math.min(t[this.#t-1],i);break}case R.max:{let i=t[--this.#t];t[this.#t-1]=Math.max(t[this.#t-1],i);break}case R.dup:this.#s(t[this.#t-1],s[this.#t-1]);return;case R.exch:{let i=t[--this.#t],r=s[this.#t],a=t[--this.#t],o=s[this.#t];this.#s(i,r),this.#s(a,o);return}case R.pop:this.#t--;return;case R.copy:{let i=Math.trunc(t[--this.#t]),r=this.#t-i;for(let a=0;a<i;a++)this.#s(t[r+a],s[r+a]);return}case R.index:{let i=Math.trunc(t[--this.#t]);this.#s(t[this.#t-1-i],s[this.#t-1-i]);return}case R.roll:{let i=Math.trunc(t[--this.#t]),r=Math.trunc(t[--this.#t]);if(r>1&&i!==0){let a=(i%r+r)%r;if(a!==0){let o=this.#t-r,l=t.slice(o,this.#t),c=s.slice(o,this.#t);for(let f=0;f<r;f++)t[o+f]=l[(f-a+r)%r],s[o+f]=c[(f-a+r)%r]}}return}}s[this.#t-1]=0}static#r(e){for(let t of e)switch(t.type){case $e.number:this.#s(t.value);break;case $e.operator:this.#i(t.op);break;case $e.if:this.#e[--this.#t]!==0&&this.#r(t.then.instructions);break;case $e.ifelse:this.#e[--this.#t]!==0?this.#r(t.then.instructions):this.#r(t.otherwise.instructions);break}}static build(e,t,s){let i=t.length>>1,r=s.length>>1,{instructions:a}=e.body;return(o,l,c,f)=>{this.#t=0;for(let u=0;u<i;u++)this.#s(o[l+u]);this.#r(a);let h=this.#t-r;for(let u=0;u<r;u++){let d=h+u>=0?this.#e[h+u]:0;c[f+u]=Rt(d,s[u*2],s[u*2+1])}}}};function sI(n,e,t,s=!1){let i=p4(n),r=!s&&new Sh(e,t).compile(i);return r?(a,o,l,c)=>{Sh.execute(r,a,o,l,c)}:ng.build(i,e,t)}var Ee={if:4,else:5,end:11,select:27,call:16,local_get:32,local_set:33,local_tee:34,i32_const:65,i32_eqz:69,i32_and:113,i32_or:114,i32_xor:115,i32_shl:116,i32_shr_s:117,i32_trunc_f64_s:170,f64_const:68,f64_eq:97,f64_ne:98,f64_lt:99,f64_gt:100,f64_le:101,f64_ge:102,f64_abs:153,f64_neg:154,f64_ceil:155,f64_floor:156,f64_trunc:157,f64_nearest:158,f64_sqrt:159,f64_add:160,f64_sub:161,f64_mul:162,f64_div:163,f64_min:164,f64_max:165,f64_convert_i32_s:183,f64_store:57,prefix_fc:252},iI={i32_trunc_sat_f64_u:3},Ty=96,zn=124,po={type:1,import:2,function:3,memory:5,export:7,code:10},Ey=0,rI=2;function ma(n){let e=[];do{let t=n&127;n>>>=7,n!==0&&(t|=128),e.push(t)}while(n!==0);return e}function T0(n){return[...ma(n.length),...Vt(n)]}function mo(n,e){return[n,...ma(e.length),...e]}function ti(n){let e=ma(n.length);for(let t of n){if(typeof t==\"number\"){e.push(t);continue}for(let s of t)e.push(s)}return e}var xo=[[\"sin\",\"Math\",\"sin\",[zn],[zn]],[\"cos\",\"Math\",\"cos\",[zn],[zn]],[\"atan2\",\"Math\",\"atan2\",[zn,zn],[zn]],[\"log\",\"Math\",\"log\",[zn],[zn]],[\"log10\",\"Math\",\"log10\",[zn],[zn]],[\"pow\",\"Math\",\"pow\",[zn,zn],[zn]]],aI={Math:Object.fromEntries(xo.map(([n])=>[n,Math[n]]))},sg=class n{static#e=!1;static#n=null;static#t=null;static#s=0;static#i=0;static#r=null;static#a=null;static#o=null;static#l=null;static#c=null;static#h=null;static#f=null;static#d=null;static#p(){this.#n=new Map([[R.eq,Ee.f64_eq],[R.ne,Ee.f64_ne],[R.lt,Ee.f64_lt],[R.le,Ee.f64_le],[R.gt,Ee.f64_gt],[R.ge,Ee.f64_ge]]),this.#t=Object.create(null);for(let t=0;t<xo.length;t++)this.#t[xo[t][0]]=t;this.#s=Math.PI/180,this.#i=180/Math.PI,this.#r=xo.map(([,,,t,s])=>[Ty,...ti(t),...ti(s)]),this.#a=new Uint8Array(mo(po.import,ti(xo.map(([,t,s],i)=>[...T0(t),...T0(s),Ey,...ma(i+1)])))),this.#o=new Uint8Array(mo(po.function,ti([[0]]))),this.#l=new Uint8Array(mo(po.memory,ti([[0,1]]))),this.#c=new Uint8Array(mo(po.export,ti([[...T0(\"fn\"),Ey,...ma(xo.length)],[...T0(\"mem\"),rI,0]]))),this.#h=new Uint8Array([0,97,115,109,1,0,0,0]);let e=new ArrayBuffer(8);this.#f=new DataView(e),this.#d=new Uint8Array(e),this.#e=!0}constructor(e,t){n.#e||n.#p(),this._nIn=e.length>>1,this._nOut=t.length>>1,this._range=t,this._code=[],this._nextLocal=this._nIn,this._freeLocals=[],this._sharedLocals=new Map}_allocLocal(){return this._freeLocals.pop()??this._nextLocal++}_releaseLocal(e){this._freeLocals.push(e)}_emitULEB128(e){do{let t=e&127;e>>>=7,e!==0&&(t|=128),this._code.push(t)}while(e!==0)}_emitSLEB128(e){for(;;){let t=e&127;if(e>>=7,e===0&&(t&64)===0||e===-1&&(t&64)!==0){this._code.push(t);return}this._code.push(t|128)}}_emitF64Const(e){this._code.push(Ee.f64_const),n.#f.setFloat64(0,e,!0);for(let t=0;t<8;t++)this._code.push(n.#d[t])}_emitLocalGet(e){this._code.push(Ee.local_get),this._emitULEB128(e)}_emitLocalSet(e){this._code.push(Ee.local_set),this._emitULEB128(e)}_emitLocalTee(e){this._code.push(Ee.local_tee),this._emitULEB128(e)}_emitToInt32(){let e=this._code,t=this._allocLocal();e.push(Ee.f64_trunc),this._emitLocalTee(t),this._emitLocalGet(t),this._emitF64Const(2**-32),e.push(Ee.f64_mul,Ee.f64_floor),this._emitF64Const(2**32),e.push(Ee.f64_mul,Ee.f64_sub,Ee.prefix_fc,iI.i32_trunc_sat_f64_u),this._releaseLocal(t)}_compileNode(e){if(e.shared){let t=this._sharedLocals.get(e);if(t!==void 0)return this._emitLocalGet(t.local),--t.remaining===0&&this._releaseLocal(t.local),!0;if(!this._compileNodeImpl(e))return!1;let s=this._allocLocal();return this._sharedLocals.set(e,{local:s,remaining:e.sharedCount-1}),this._emitLocalTee(s),!0}return this._compileNodeImpl(e)}_compileNodeImpl(e){switch(e.type){case $e.arg:return this._emitLocalGet(e.index),!0;case $e.const:{let t=e.value;return typeof t==\"boolean\"&&(t=t?1:0),this._emitF64Const(t),!0}case $e.unary:return this._compileUnaryNode(e);case $e.binary:return this._compileBinaryNode(e);case $e.ternary:return this._compileTernaryNode(e);default:return!1}}_compileSinCosNode(e){let t=this._allocLocal();try{if(!this._compileNode(e.operand))return!1;let s=this._code;return this._emitLocalSet(t),this._emitLocalGet(t),this._emitLocalGet(t),this._emitF64Const(360),s.push(Ee.f64_div,Ee.f64_trunc),this._emitF64Const(360),s.push(Ee.f64_mul,Ee.f64_sub),this._emitF64Const(n.#s),s.push(Ee.f64_mul,Ee.call),this._emitULEB128(n.#t[e.op===R.sin?\"sin\":\"cos\"]),!0}finally{this._releaseLocal(t)}}_compileUnaryNode(e){let t=this._code;if(e.op===R.sin||e.op===R.cos)return this._compileSinCosNode(e);if(e.op===R.not)return e.valueType===rn.boolean?this._compileNodeAsBoolI32(e.operand)?(t.push(Ee.i32_eqz,Ee.f64_convert_i32_s),!0):!1:e.valueType===rn.numeric&&this._compileNode(e.operand)?(this._emitToInt32(),t.push(Ee.i32_const,127,Ee.i32_xor,Ee.f64_convert_i32_s),!0):!1;if(!this._compileNode(e.operand))return!1;switch(e.op){case R.abs:t.push(Ee.f64_abs);break;case R.neg:t.push(Ee.f64_neg);break;case R.sqrt:t.push(Ee.f64_sqrt);break;case R.floor:t.push(Ee.f64_floor);break;case R.ceiling:t.push(Ee.f64_ceil);break;case R.round:this._emitF64Const(.5),t.push(Ee.f64_add,Ee.f64_floor);break;case R.truncate:t.push(Ee.f64_trunc);break;case R.cvi:this._emitToInt32(),t.push(Ee.f64_convert_i32_s);break;case R.cvr:break;case R.ln:t.push(Ee.call),this._emitULEB128(n.#t.log);break;case R.log:t.push(Ee.call),this._emitULEB128(n.#t.log10);break;default:return!1}return!0}_compileSafeDivNode(e,t){let s=this._allocLocal();try{if(!this._compileNode(t)||!this._compileNode(e))return!1;let i=this._code;return this._emitLocalTee(s),i.push(Ee.f64_div),this._emitF64Const(0),this._emitLocalGet(s),this._emitF64Const(0),i.push(Ee.f64_ne,Ee.select),!0}finally{this._releaseLocal(s)}}_compileSafeIdivNode(e,t){let s=this._allocLocal();try{if(!this._compileNode(t)||!this._compileNode(e))return!1;let i=this._code;return this._emitLocalTee(s),i.push(Ee.f64_div,Ee.f64_trunc),this._emitF64Const(0),this._emitLocalGet(s),this._emitF64Const(0),i.push(Ee.f64_ne,Ee.select),!0}finally{this._releaseLocal(s)}}_compileBitshiftNode(e,t){if(e.type!==$e.const||!Number.isInteger(e.value)||!this._compileNode(t))return!1;let s=this._code;this._emitToInt32();let i=e.value;return i>0?(s.push(Ee.i32_const),this._emitSLEB128(i),s.push(Ee.i32_shl)):i<0&&(s.push(Ee.i32_const),this._emitSLEB128(-i),s.push(Ee.i32_shr_s)),s.push(Ee.f64_convert_i32_s),!0}_compileModNode(e,t){if(e.type===$e.const&&e.value===0)return this._emitF64Const(0),!0;let s=this._allocLocal();try{if(!this._compileNode(t))return!1;this._emitLocalTee(s);let i=this._code;if(e.type===$e.const)this._emitLocalGet(s),this._emitF64Const(e.value),i.push(Ee.f64_div,Ee.f64_trunc),this._emitF64Const(e.value),i.push(Ee.f64_mul,Ee.f64_sub);else{let r=this._allocLocal();try{if(!this._compileNode(e))return!1;this._emitLocalSet(r),this._emitLocalGet(s),this._emitLocalGet(r),i.push(Ee.f64_div,Ee.f64_trunc),this._emitLocalGet(r),i.push(Ee.f64_mul,Ee.f64_sub),this._emitF64Const(0),this._emitLocalGet(r),this._emitF64Const(0),i.push(Ee.f64_ne,Ee.select)}finally{this._releaseLocal(r)}}return!0}finally{this._releaseLocal(s)}}_compileAtanNode(e,t){let s=this._allocLocal();try{if(!this._compileNode(t)||!this._compileNode(e))return!1;let i=this._code;return i.push(Ee.call),this._emitULEB128(n.#t.atan2),this._emitF64Const(n.#i),i.push(Ee.f64_mul),this._emitLocalTee(s),this._emitF64Const(0),i.push(Ee.f64_lt,Ee.if,zn),this._emitLocalGet(s),this._emitF64Const(360),i.push(Ee.f64_add,Ee.else),this._emitLocalGet(s),i.push(Ee.end),!0}finally{this._releaseLocal(s)}}_compileBitwiseNode(e,t,s){if(!this._compileBitwiseOperandI32(s)||!this._compileBitwiseOperandI32(t))return!1;let i=this._code;switch(e){case R.and:i.push(Ee.i32_and);break;case R.or:i.push(Ee.i32_or);break;case R.xor:i.push(Ee.i32_xor);break;default:return!1}return i.push(Ee.f64_convert_i32_s),!0}_compileBitwiseOperandI32(e){return e.valueType===rn.boolean?this._compileNodeAsBoolI32(e):this._compileNode(e)?(this._emitToInt32(),!0):!1}_compileStandardBinaryNode(e,t,s){if(t===s&&t.type!==$e.arg&&t.type!==$e.const&&!t.shared){let r=this._allocLocal();try{if(!this._compileNode(t))return!1;this._emitLocalTee(r),this._emitLocalGet(r)}finally{this._releaseLocal(r)}}else if(!this._compileNode(s)||!this._compileNode(t))return!1;let i=this._code;switch(e){case R.add:i.push(Ee.f64_add);break;case R.sub:i.push(Ee.f64_sub);break;case R.mul:i.push(Ee.f64_mul);break;case R.exp:i.push(Ee.call),this._emitULEB128(n.#t.pow);break;case R.eq:i.push(Ee.f64_eq,Ee.f64_convert_i32_s);break;case R.ne:i.push(Ee.f64_ne,Ee.f64_convert_i32_s);break;case R.lt:i.push(Ee.f64_lt,Ee.f64_convert_i32_s);break;case R.le:i.push(Ee.f64_le,Ee.f64_convert_i32_s);break;case R.gt:i.push(Ee.f64_gt,Ee.f64_convert_i32_s);break;case R.ge:i.push(Ee.f64_ge,Ee.f64_convert_i32_s);break;case R.min:i.push(Ee.f64_min);break;case R.max:i.push(Ee.f64_max);break;default:return!1}return!0}_compileBinaryNode(e){let{op:t,first:s,second:i}=e;return t===R.bitshift?this._compileBitshiftNode(s,i):t===R.div?this._compileSafeDivNode(s,i):t===R.idiv?this._compileSafeIdivNode(s,i):t===R.mod?this._compileModNode(s,i):t===R.atan?this._compileAtanNode(s,i):t===R.and||t===R.or||t===R.xor?this._compileBitwiseNode(t,s,i):this._compileStandardBinaryNode(t,s,i)}_compileNodeAsBoolI32(e){if(e.type===$e.binary){let t=n.#n.get(e.op);if(t!==void 0)return!this._compileNode(e.second)||!this._compileNode(e.first)?!1:(this._code.push(t),!0);if(e.valueType===rn.boolean&&(e.op===R.and||e.op===R.or||e.op===R.xor)){if(!this._compileNodeAsBoolI32(e.second)||!this._compileNodeAsBoolI32(e.first))return!1;switch(e.op){case R.and:this._code.push(Ee.i32_and);break;case R.or:this._code.push(Ee.i32_or);break;case R.xor:this._code.push(Ee.i32_xor);break}return!0}}return e.type===$e.unary&&e.op===R.not&&e.valueType===rn.boolean?this._compileNodeAsBoolI32(e.operand)?(this._code.push(Ee.i32_eqz),!0):!1:this._compileNode(e)?(e.valueType===rn.boolean?this._code.push(Ee.i32_trunc_f64_s):(this._emitF64Const(0),this._code.push(Ee.f64_ne)),!0):!1}_compileTernaryNode(e){return!this._compileNodeAsBoolI32(e.cond)||(this._code.push(Ee.if,zn),!this._compileNode(e.then))||(this._code.push(Ee.else),!this._compileNode(e.otherwise))?!1:(this._code.push(Ee.end),!0)}compile(e){let t=new jh().evaluate(e,this._nIn);if(!t||t.length<this._nOut)return null;let s=this._code;for(let k=0;k<this._nOut;k++){let j=this._range[k*2],A=this._range[k*2+1];if(s.push(Ee.i32_const),this._emitSLEB128(k*8),!this._compileNode(t[k]))return null;this._emitF64Const(A),s.push(Ee.f64_min),this._emitF64Const(j),s.push(Ee.f64_max,Ee.f64_store,3,0)}s.push(Ee.end);let i=this._nIn,r=this._nextLocal-i,a=Array(i).fill(zn),o=[],l=[Ty,...ti(a),...ti(o)],c=new Uint8Array(mo(po.type,ti([l,...n.#r]))),f=r>0?ti([[...ma(r),zn]]):ti([]),h=f.length+s.length,u=new Uint8Array(mo(po.code,ti([[...ma(h),...f,...s]]))),d=n.#h,p=n.#a,m=n.#o,g=n.#l,b=n.#c,x=d.length+c.length+p.length+m.length+g.length+b.length+u.length,w=new Uint8Array(x),v=0;return w.set(d,v),v+=d.length,w.set(c,v),v+=c.length,w.set(p,v),v+=p.length,w.set(m,v),v+=m.length,w.set(g,v),v+=g.length,w.set(b,v),v+=b.length,w.set(u,v),w}};function oI(n,e,t){return new sg(e,t).compile(p4(n))}function lI(n,e,t){let{fn:s,mem:i}=n,r=new Float64Array(i.buffer,0,t),a;switch(t){case 1:a=(o,l)=>{o[l]=r[0]};break;case 2:a=(o,l)=>{o[l]=r[0],o[l+1]=r[1]};break;case 3:a=(o,l)=>{o[l]=r[0],o[l+1]=r[1],o[l+2]=r[2]};break;case 4:a=(o,l)=>{o[l]=r[0],o[l+1]=r[1],o[l+2]=r[2],o[l+3]=r[3]};break;default:a=(o,l)=>{for(let c=0;c<t;c++)o[l+c]=r[c]}}switch(e){case 1:return(o,l,c,f)=>{s(o[l]),a(c,f)};case 2:return(o,l,c,f)=>{s(o[l],o[l+1]),a(c,f)};case 3:return(o,l,c,f)=>{s(o[l],o[l+1],o[l+2]),a(c,f)};case 4:return(o,l,c,f)=>{s(o[l],o[l+1],o[l+2],o[l+3]),a(c,f)};default:{let o=new Float64Array(e);return(l,c,f,h)=>{for(let u=0;u<e;u++)o[u]=l[c+u];s(...o),a(f,h)}}}}function cI(n,e,t){let s=oI(n,e,t);if(!s)return null;try{let i=new WebAssembly.Instance(new WebAssembly.Module(s),aI);return lI(i.exports,e.length>>1,t.length>>1)}catch{return null}}var pr=class{constructor(e){this._onlyRefs=e?.onlyRefs===!0,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new sn}getByName(e){this._onlyRefs&&dt(\"Should not call `getByName` method.\");let t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}getByRef(e){return this._imageCache.get(e)||null}set(e,t,s){dt(\"Abstract method `set` called.\")}},qh=class extends pr{set(e,t=null,s){if(typeof e!=\"string\")throw new Error('LocalImageCache.set - expected \"name\" argument.');if(t){if(this._imageCache.has(t))return;this._nameRefMap.set(e,t),this._imageCache.put(t,s);return}this._imageMap.has(e)||this._imageMap.set(e,s)}},_h=class extends pr{set(e=null,t=null,s){if(typeof e!=\"string\"&&!t)throw new Error('LocalColorSpaceCache.set - expected \"name\" and/or \"ref\" argument.');if(t){if(this._imageCache.has(t))return;e!==null&&this._nameRefMap.set(e,t),this._imageCache.put(t,s);return}this._imageMap.has(e)||this._imageMap.set(e,s)}},ig=class extends pr{constructor(e){super({onlyRefs:!0})}set(e=null,t,s){if(!t)throw new Error('LocalFunctionCache.set - expected \"ref\" argument.');this._imageCache.has(t)||this._imageCache.put(t,s)}},Ih=class extends pr{set(e,t=null,s){if(typeof e!=\"string\")throw new Error('LocalGStateCache.set - expected \"name\" argument.');if(t){if(this._imageCache.has(t))return;this._nameRefMap.set(e,t),this._imageCache.put(t,s);return}this._imageMap.has(e)||this._imageMap.set(e,s)}},rg=class extends pr{constructor(e){super({onlyRefs:!0})}set(e=null,t,s){if(!t)throw new Error('LocalTilingPatternCache.set - expected \"ref\" argument.');this._imageCache.has(t)||this._imageCache.put(t,s)}},ag=class extends pr{constructor(e){super({onlyRefs:!0})}set(e=null,t,s){if(!t)throw new Error('RegionalImageCache.set - expected \"ref\" argument.');this._imageCache.has(t)||this._imageCache.put(t,s)}},og=class extends pr{constructor(e){super({onlyRefs:!0})}set(e=null,t,s){if(!t)throw new Error('GlobalColorSpaceCache.set - expected \"ref\" argument.');this._imageCache.has(t)||this._imageCache.put(t,s)}clear(){this._imageCache.clear()}},lg=class n{static NUM_PAGES_THRESHOLD=2;static MIN_IMAGES_TO_CACHE=10;static MAX_BYTE_SIZE=5e7;#e=new xt;#n=new sn;constructor(){this._refCache=new sn,this._imageCache=new sn}get#t(){let e=0;for(let t of this._imageCache)e+=t.byteSize;return e}get#s(){return this._imageCache.size>=n.MIN_IMAGES_TO_CACHE&&this.#t>=n.MAX_BYTE_SIZE}shouldCache(e,t){let s=this._refCache.getOrPutComputed(e,M8);return s.add(t),!(s.size<n.NUM_PAGES_THRESHOLD||!this._imageCache.has(e)&&this.#s)}addDecodeFailed(e){this.#e.put(e)}hasDecodeFailed(e){return this.#e.has(e)}startDecodedImage(e,t){Nn.isVideoFrameSupported&&Nn.platform.isFirefox&&(this.#n.get(e)?.imgData?.bitmap.close(),this.#n.put(e,{pageProxyId:t,imgData:null}))}setDecodedImage(e,t){let s=this.#n.get(e);if(!s||s.imgData)return;let{bitmap:i}=t;try{i instanceof ImageBitmap?s.imgData={...t,bitmap:new VideoFrame(i,{timestamp:0})}:i instanceof VideoFrame&&(s.imgData={...t,bitmap:i.clone()})}catch(r){B(`GlobalImageCache.setDecodedImage - \"${r}\".`)}s.imgData||this.#n.remove(e)}takeDecodedImage(e){let t=this.#n.get(e)?.imgData;return t?(this.#n.remove(e),t):null}cleanupPage(e){for(let[t,s]of this.#n.items())s.pageProxyId===e&&(s.imgData?.bitmap.close(),this.#n.remove(t))}addByteSize(e,t){let s=this._imageCache.get(e);s&&(s.byteSize||(s.byteSize=t))}getData(e,t){let s=this._refCache.get(e);if(!s||s.size<n.NUM_PAGES_THRESHOLD)return null;let i=this._imageCache.get(e);return i?(s.add(t),i):null}setData(e,t){if(!this._refCache.has(e))throw new Error('GlobalImageCache.setData - expected \"shouldCache\" to have been called.');if(!this._imageCache.has(e)){if(this.#s){B(\"GlobalImageCache.setData - cache limit reached.\");return}this._imageCache.put(e,t)}}clear(e=!1){e||(this.#e.clear(),this._refCache.clear()),this._imageCache.clear();for(let{imgData:t}of this.#n.values())t?.bitmap.close();this.#n.clear()}},E0={SAMPLED:0,EXPONENTIAL_INTERPOLATION:2,STITCHING:3,POSTSCRIPT_CALCULATOR:4},Ac=class n{static#e=!0;static setOptions({useWasm:e}){this.#e=e}constructor({xref:e}){this.xref=e}get useWasm(){return n.#e}create(e,t=!1){let s,i;if(e instanceof fe?s=e:e instanceof P?s=e.objId:e instanceof Xe&&(s=e.dict?.objId),s){let a=this._localFunctionCache.getByRef(s);if(a)return a}let r=this.xref.fetchIfRef(e);if(Array.isArray(r)){if(!t)throw new Error('PDFFunctionFactory.create - expected \"parseArray\" argument.');i=Ch.parseArray(this,r)}else i=Ch.parse(this,r);return s&&this._localFunctionCache.set(null,s,i),i}get _localFunctionCache(){return je(this,\"_localFunctionCache\",new ig)}};function Bs(n){return Array.isArray(n)?tn(n,null)?n:n.map(e=>+e):null}function go(n,e,t){return n.numInputs=e,n.numOutputs=t,n}function xm(n,e,t,s,i){return e===t?s:s+(n-e)*((i-s)/(t-e))}var Ch=class n{static MAX_MULTILINEAR_INPUTS=8;static getSampleArray(e,t,s,i){let r=t;for(let u of e)r*=u;let a=new Array(r),o=0,l=0,c=1/(2**s-1),f=i.getBytes((r*s+7)/8),h=0;for(let u=0;u<r;u++){for(;o<s;)l<<=8,l|=f[h++],o+=8;o-=s,a[u]=(l>>o)*c,l&=(1<<o)-1}return a}static parse(e,t){let s=t.dict||t,i=s.get(\"FunctionType\");switch(i){case E0.SAMPLED:return this.constructSampled(e,t,s);case E0.EXPONENTIAL_INTERPOLATION:return this.constructInterpolated(e,s);case E0.STITCHING:return this.constructStitched(e,s);case E0.POSTSCRIPT_CALCULATOR:return this.constructPostScript(e,t,s)}throw new se(`Unknown function type: ${i}`)}static parseArray(e,t){let{xref:s}=e,i=[];for(let a of t)i.push(this.parse(e,s.fetchIfRef(a)));if(i.length===1)return i[0];let r=i[0]?.numInputs??0;if(i.some(a=>a.numInputs!==r||a.numOutputs!==1))throw new se(\"Invalid array of functions.\");return go(function(a,o,l,c){for(let f=0,h=i.length;f<h;f++)i[f](a,o,l,c+f)},r,i.length)}static constructSampled(e,t,s){let i=Bs(s.getArray(\"Domain\")),r=Bs(s.getArray(\"Range\"));if(!i||!r)throw new se(\"No domain or range\");let a=i.length/2,o=r.length/2,l=Bs(s.getArray(\"Size\")),c=s.get(\"BitsPerSample\"),f=s.get(\"Order\")||1;f!==1&&kt(\"No support for cubic spline interpolation: \"+f);let h=Bs(s.getArray(\"Encode\"));if(!h){h=[];for(let A=0;A<a;++A)h.push(0,l[A]-1)}let u=Bs(s.getArray(\"Decode\"))||r,d=this.getSampleArray(l,o,c,t),p=a>n.MAX_MULTILINEAR_INPUTS,m=new Float64Array(a),g=new Float64Array(a),b=new Float64Array(a),x=p?new Uint32Array(a):null,w=p?a+1:1<<a,v=new Uint32Array(w),k=new Float64Array(w);function j(A,S,q,_){let I=0,C=o,T=0;for(let E=0;E<a;++E){let G=i[2*E],D=i[2*E+1],N=Rt(A[S+E],G,D),K=xm(N,G,D,h[2*E],h[2*E+1]),ee=l[E];K=Rt(K,0,ee-1);let de=Math.floor(K);I+=de*C,K!==de&&(m[T]=C,g[T]=de+1-K,b[T]=K-de,T++),C*=ee}v[0]=I,k[0]=1;let M=1;if(p){if(T>0){for(let E=0;E<T;E++){let G=b[E],D=E;for(;D>0&&b[x[D-1]]<G;D--)x[D]=x[D-1];x[D]=E}k[0]=g[x[0]];for(let E=0;E<T;E++){let G=x[E];v[E+1]=v[E]+m[G],k[E+1]=E+1<T?b[G]-b[x[E+1]]:b[G]}M=T+1}}else for(let E=0;E<T;E++){let G=m[E],D=g[E],N=b[E];for(let K=0;K<M;K++)v[M+K]=v[K]+G,k[M+K]=k[K]*N,k[K]*=D;M<<=1}for(let E=0;E<o;++E){let G=0;for(let D=0;D<M;D++)G+=d[v[D]+E]*k[D];G=xm(G,0,1,u[2*E],u[2*E+1]),q[_+E]=Rt(G,r[2*E],r[2*E+1])}}return go(j,a,o)}static constructInterpolated(e,t){let s=Bs(t.getArray(\"Domain\")),i=Bs(t.getArray(\"C0\"))||[0],r=Bs(t.getArray(\"C1\"))||[1],a=t.get(\"N\"),o=[];for(let f=0,h=i.length;f<h;++f)o.push(r[f]-i[f]);let l=o.length;function c(f,h,u,d){let p=a===1?f[h]:f[h]**a;for(let m=0;m<l;++m)u[d+m]=i[m]+p*o[m]}return go(c,s?s.length/2:1,l)}static constructStitched(e,t){let s=Bs(t.getArray(\"Domain\"));if(!s)throw new se(\"No domain\");let i=s.length/2;if(i!==1)throw new se(\"Bad domain for stitched function\");let{xref:r}=e,a=[];for(let u of t.get(\"Functions\"))a.push(this.parse(e,r.fetchIfRef(u)));let o=a[0]?.numOutputs??0;if(a.length===0||a.some(u=>u.numInputs!==1||u.numOutputs!==o))throw new se(\"Incompatible sub-functions for stitched function\");let l=Bs(t.getArray(\"Bounds\")),c=Bs(t.getArray(\"Encode\")),f=new Float32Array(1);function h(u,d,p,m){let g=Rt(u[d],s[0],s[1]),b=l.length,x;for(x=0;x<b&&!(g<l[x]);++x);let w=x>0?l[x-1]:s[0],v=x<b?l[x]:s[1];f[0]=xm(g,w,v,c[2*x],c[2*x+1]),a[x](f,0,p,m)}return go(h,i,o)}static constructPostScript(e,t,s){let i=Bs(s.getArray(\"Domain\")),r=Bs(s.getArray(\"Range\"));if(!i)throw new se(\"No domain.\");if(!r)throw new se(\"No range.\");let a=t.getString(),o=i.length/2,l=r.length/2;try{if(e.useWasm){let c=cI(a,i,r);if(c)return go(c,o,l)}}catch{}return B(\"Failed to compile PostScript function to wasm, falling back to JS\"),go(sI(a,i,r),o,l)}};function vm(n){let e;if(n instanceof P)e=n;else if(n instanceof Xe)e=n.dict;else return!1;return e.has(\"FunctionType\")}function Ry(n){let t=n?null:Promise.resolve();return{enqueueInvoked:!1,enqueue(s,i){this.enqueueInvoked=!0,n?.enqueue(s,i)},get desiredSize(){return n?.desiredSize??100},get ready(){return n?.ready??t}}}function g4(n,e,t,s){if(++t>10){B(\"Visibility expression is too deeply nested\");return}let r=e.length,a=n.fetchIfRef(e[0]);if(r<2||!(a instanceof ce)){B(\"Invalid visibility expression\");return}switch(a.name){case\"And\":case\"Or\":case\"Not\":s.push(a.name);break;default:B(`Invalid operator ${a.name} in visibility expression`);return}for(let o=1;o<r;o++){let l=e[o],c=n.fetchIfRef(l);if(Array.isArray(c)){let f=[];s.push(f),g4(n,c,t,f)}else l instanceof fe&&s.push(l.toString())}}function b4(n,e,t){let s;if(e instanceof ce)s=t.get(\"Properties\").get(e.name);else if(e instanceof P)s=e;else throw new se(\"Optional content properties malformed.\");let i=s.get(\"Type\")?.name;if(i===\"OCG\")return{type:i,id:s.objId};if(i===\"OCMD\"){let r=s.get(\"VE\");if(Array.isArray(r)){let o=[];if(g4(n,r,0,o),o.length>0)return{type:\"OCMD\",expression:o}}let a=s.get(\"OCGs\");if(Array.isArray(a)||a instanceof P){let o=[];if(Array.isArray(a))for(let c of a)o.push(c.toString());else o.push(a.objId);let l=s.get(\"P\");return{type:i,ids:o,policy:l instanceof ce?l.name:null,expression:null}}else if(a instanceof fe)return{type:i,id:a.toString()}}return null}var fI=[\"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\"],hI=[\"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 Fy(n){return(n&1)!==0}function uI(n){return(n&1)===0}function dI(n,e,t){let s,i;for(s=e,i=n.length;s<i;++s)if(n[s]!==t)return s;return s}function Oy(n,e,t){for(let s=e,i=t-1;s<i;++s,--i){let r=n[s];n[s]=n[i],n[i]=r}}function ym(n,e,t=!1){let s=\"ltr\";return t?s=\"ttb\":e||(s=\"rtl\"),{str:n,dir:s}}var Sr=[],jt=[];function lv(n,e=-1,t=!1){let s=!0,i=n.length;if(i===0||t)return ym(n,s,t);Sr.length=i,jt.length=i;let r=0,a,o;for(a=0;a<i;++a){Sr[a]=n.charAt(a);let b=n.charCodeAt(a),x=\"L\";b<=255?x=fI[b]:1424<=b&&b<=1524?x=\"R\":1536<=b&&b<=1791?(x=hI[b&255],x||B(\"Bidi: invalid Unicode character \"+b.toString(16))):(1792<=b&&b<=2220||64336<=b&&b<=65023||65136<=b&&b<=65279)&&(x=\"AL\"),(x===\"R\"||x===\"AL\"||x===\"AN\")&&r++,jt[a]=x}if(r===0)return s=!0,ym(n,s);e===-1&&(r/i<.3&&i>4?(s=!0,e=0):(s=!1,e=1));let l=new Array(i).fill(e),c=Fy(e)?\"R\":\"L\",f=c,h=f,u=f;for(a=0;a<i;++a)jt[a]===\"NSM\"?jt[a]=u:u=jt[a];u=f;let d;for(a=0;a<i;++a)d=jt[a],d===\"EN\"?jt[a]=u===\"AL\"?\"AN\":\"EN\":(d===\"R\"||d===\"L\"||d===\"AL\")&&(u=d);for(a=0;a<i;++a)d=jt[a],d===\"AL\"&&(jt[a]=\"R\");for(a=1;a<i-1;++a)jt[a]===\"ES\"&&jt[a-1]===\"EN\"&&jt[a+1]===\"EN\"&&(jt[a]=\"EN\"),jt[a]===\"CS\"&&(jt[a-1]===\"EN\"||jt[a-1]===\"AN\")&&jt[a+1]===jt[a-1]&&(jt[a]=jt[a-1]);for(a=0;a<i;++a)if(jt[a]===\"EN\"){for(let b=a-1;b>=0&&jt[b]===\"ET\";--b)jt[b]=\"EN\";for(let b=a+1;b<i&&jt[b]===\"ET\";++b)jt[b]=\"EN\"}for(a=0;a<i;++a)d=jt[a],(d===\"WS\"||d===\"ES\"||d===\"ET\"||d===\"CS\")&&(jt[a]=\"ON\");for(u=f,a=0;a<i;++a)d=jt[a],d===\"EN\"?jt[a]=u===\"L\"?\"L\":\"EN\":(d===\"R\"||d===\"L\")&&(u=d);for(a=0;a<i;++a)if(jt[a]===\"ON\"){let b=dI(jt,a+1,\"ON\"),x=f;for(let v=a-1;v>=0;v--){let k=jt[v];if(k===\"L\"){x=\"L\";break}if(k===\"R\"||k===\"EN\"||k===\"AN\"){x=\"R\";break}}let w=h;for(let v=b;v<i;v++){let k=jt[v];if(k===\"L\"){w=\"L\";break}if(k===\"R\"||k===\"EN\"||k===\"AN\"){w=\"R\";break}}x===w&&jt.fill(x,a,b),a=b-1}for(a=0;a<i;++a)jt[a]===\"ON\"&&(jt[a]=c);for(a=0;a<i;++a)d=jt[a],uI(l[a])?d===\"R\"?l[a]+=1:(d===\"AN\"||d===\"EN\")&&(l[a]+=2):(d===\"L\"||d===\"AN\"||d===\"EN\")&&(l[a]+=1);let p=-1,m=99,g;for(a=0,o=l.length;a<o;++a)g=l[a],p<g&&(p=g),m>g&&Fy(g)&&(m=g);for(g=p;g>=m;--g){let b=-1;for(a=0,o=l.length;a<o;++a)l[a]<g?b>=0&&(Oy(Sr,b,a),b=-1):b<0&&(b=a);b>=0&&Oy(Sr,b,l.length)}for(a=0,o=Sr.length;a<o;++a){let b=Sr[a];(b===\"<\"||b===\">\")&&(Sr[a]=\"\")}return ym(Sr.join(\"\"),s)}var ts={style:\"normal\",weight:\"normal\"},R0={style:\"normal\",weight:\"500\"},sr={style:\"normal\",weight:\"bold\"},ca={style:\"italic\",weight:\"normal\"},fa={style:\"italic\",weight:\"bold\"},Ql=new Map([[\"Times-Roman\",{local:[\"Times New Roman\",\"Times-Roman\",\"Times\",\"Liberation Serif\",\"Nimbus Roman\",\"Nimbus Roman L\",\"Tinos\",\"Thorndale\",\"TeX Gyre Termes\",\"FreeSerif\",\"Linux Libertine O\",\"Libertinus Serif\",\"PT Astra Serif\",\"DejaVu Serif\",\"Bitstream Vera Serif\",\"Ubuntu\"],style:ts,ultimate:\"serif\"}],[\"Times-Bold\",{alias:\"Times-Roman\",style:sr,ultimate:\"serif\"}],[\"Times-Italic\",{alias:\"Times-Roman\",style:ca,ultimate:\"serif\"}],[\"Times-BoldItalic\",{alias:\"Times-Roman\",style:fa,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:ts,ultimate:\"sans-serif\"}],[\"Helvetica-Bold\",{alias:\"Helvetica\",path:\"LiberationSans-Bold.ttf\",style:sr,ultimate:\"sans-serif\"}],[\"Helvetica-Oblique\",{alias:\"Helvetica\",path:\"LiberationSans-Italic.ttf\",style:ca,ultimate:\"sans-serif\"}],[\"Helvetica-BoldOblique\",{alias:\"Helvetica\",path:\"LiberationSans-BoldItalic.ttf\",style:fa,ultimate:\"sans-serif\"}],[\"Courier\",{local:[\"Courier\",\"Courier New\",\"Liberation Mono\",\"Nimbus Mono\",\"Nimbus Mono L\",\"Cousine\",\"Cumberland\",\"TeX Gyre Cursor\",\"FreeMono\",\"Linux Libertine Mono O\",\"Libertinus Mono\"],style:ts,ultimate:\"monospace\"}],[\"Courier-Bold\",{alias:\"Courier\",style:sr,ultimate:\"monospace\"}],[\"Courier-Oblique\",{alias:\"Courier\",style:ca,ultimate:\"monospace\"}],[\"Courier-BoldOblique\",{alias:\"Courier\",style:fa,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:ts,fallback:\"Helvetica\"}],[\"ArialNarrow-Bold\",{alias:\"ArialNarrow\",style:sr,fallback:\"Helvetica-Bold\"}],[\"ArialNarrow-Italic\",{alias:\"ArialNarrow\",style:ca,fallback:\"Helvetica-Oblique\"}],[\"ArialNarrow-BoldItalic\",{alias:\"ArialNarrow\",style:fa,fallback:\"Helvetica-BoldOblique\"}],[\"Calibri\",{local:[\"Calibri\",\"Carlito\"],style:ts,fallback:\"Helvetica\"}],[\"Calibri-Bold\",{alias:\"Calibri\",style:sr,fallback:\"Helvetica-Bold\"}],[\"Calibri-Italic\",{alias:\"Calibri\",style:ca,fallback:\"Helvetica-Oblique\"}],[\"Calibri-BoldItalic\",{alias:\"Calibri\",style:fa,fallback:\"Helvetica-BoldOblique\"}],[\"Wingdings\",{local:[\"Wingdings\",\"URW Dingbats\"],style:ts}],[\"Wingdings-Regular\",{alias:\"Wingdings\"}],[\"Wingdings-Bold\",{alias:\"Wingdings\"}],[\"\\xCB\\xCE\\xCC\\xE5\",{local:[\"SimSun\",\"SimSun Regular\",\"NSimSun\"],style:ts,ultimate:\"serif\"}],[\"\\xBA\\xDA\\xCC\\xE5\",{local:[\"SimHei\",\"SimHei Regular\"],style:ts,ultimate:\"sans-serif\"}],[\"\\xBF\\xAC\\xCC\\xE5\",{local:[\"KaiTi\",\"SimKai\",\"SimKai Regular\"],style:ts,ultimate:\"sans-serif\"}],[\"\\xB7\\xC2\\xCB\\xCE\",{local:[\"FangSong\",\"SimFang\",\"SimFang Regular\"],style:ts,ultimate:\"serif\"}],[\"\\xBF\\xAC\\xCC\\xE5_GB2312\",{alias:\"\\xBF\\xAC\\xCC\\xE5\"}],[\"\\xB7\\xC2\\xCB\\xCE_GB2312\",{alias:\"\\xB7\\xC2\\xCB\\xCE\"}],[\"\\xC1\\xA5\\xCA\\xE9\",{local:[\"SimLi\",\"SimLi Regular\"],style:ts,ultimate:\"serif\"}],[\"\\xD0\\xC2\\xCB\\xCE\",{alias:\"\\xCB\\xCE\\xCC\\xE5\"}],[\"HeiseiMin-W3\",{local:[\"Hiragino Mincho ProN\",\"Hiragino Mincho Pro\",\"Yu Mincho\",\"YuMincho\",\"Source Han Serif JP\",\"Noto Serif JP\",\"Noto Serif CJK JP\",\"IPAexMincho\",\"IPAMincho\",\"Takao Mincho\",\"MS Mincho\",\"MS PMincho\"],style:ts,ultimate:\"serif\"}],[\"HeiseiKakuGo-W5\",{local:[\"Hiragino Kaku Gothic ProN\",\"Hiragino Kaku Gothic Pro\",\"Hiragino Sans\",\"Yu Gothic\",\"YuGothic\",\"Source Han Sans JP\",\"Noto Sans JP\",\"Noto Sans CJK JP\",\"IPAexGothic\",\"IPAGothic\",\"Takao Gothic\",\"Meiryo\",\"MS Gothic\",\"MS PGothic\"],style:R0,ultimate:\"sans-serif\"}],[\"HeiseiMin-W3-Acro\",{alias:\"HeiseiMin-W3\"}],[\"HeiseiKakuGo-W5-Acro\",{alias:\"HeiseiKakuGo-W5\"}],[\"KozMinPro-Regular\",{alias:\"HeiseiMin-W3\"}],[\"KozMinProVI-Regular\",{alias:\"HeiseiMin-W3\"}],[\"KozMinPr6N-Regular\",{alias:\"HeiseiMin-W3\"}],[\"KozGoPro-Regular\",{alias:\"HeiseiKakuGo-W5\"}],[\"KozGoProVI-Regular\",{alias:\"HeiseiKakuGo-W5\"}],[\"KozGoPr6N-Regular\",{alias:\"HeiseiKakuGo-W5\"}],[\"STSong-Light\",{local:[\"STSong\",\"Songti SC\",\"Source Han Serif SC\",\"Source Han Serif CN\",\"Noto Serif SC\",\"Noto Serif CJK SC\",\"AR PL UMing CN\",\"SimSun\",\"NSimSun\"],style:ts,ultimate:\"serif\"}],[\"STHeiti-Regular\",{local:[\"STHeiti\",\"Heiti SC\",\"PingFang SC\",\"Source Han Sans SC\",\"Source Han Sans CN\",\"Noto Sans SC\",\"Noto Sans CJK SC\",\"Microsoft YaHei\",\"SimHei\",\"WenQuanYi Zen Hei\"],style:ts,ultimate:\"sans-serif\"}],[\"STSongStd-Light\",{alias:\"STSong-Light\"}],[\"AdobeSongStd-Light\",{alias:\"STSong-Light\"}],[\"AdobeHeitiStd-Regular\",{alias:\"STHeiti-Regular\"}],[\"AdobeKaitiStd-Regular\",{alias:\"\\xBF\\xAC\\xCC\\xE5\"}],[\"AdobeFangsongStd-Regular\",{alias:\"\\xB7\\xC2\\xCB\\xCE\"}],[\"MSung-Light\",{local:[\"Songti TC\",\"LiSong Pro\",\"Source Han Serif TC\",\"Source Han Serif TW\",\"Noto Serif TC\",\"Noto Serif CJK TC\",\"AR PL UMing TW\",\"PMingLiU\",\"MingLiU\",\"MingLiU_HKSCS\"],style:ts,ultimate:\"serif\"}],[\"MHei-Medium\",{local:[\"Heiti TC\",\"STHeiti\",\"Source Han Sans TC\",\"Source Han Sans TW\",\"Noto Sans TC\",\"Noto Sans CJK TC\",\"PingFang TC\",\"Microsoft JhengHei\"],style:R0,ultimate:\"sans-serif\"}],[\"MSungStd-Light\",{alias:\"MSung-Light\"}],[\"AdobeMingStd-Light\",{alias:\"MSung-Light\"}],[\"HYSMyeongJo-Medium\",{local:[\"AppleMyungjo\",\"Source Han Serif KR\",\"Noto Serif KR\",\"Noto Serif CJK KR\",\"Nanum Myeongjo\",\"Batang\"],style:R0,ultimate:\"serif\"}],[\"HYGoThic-Medium\",{local:[\"Apple SD Gothic Neo\",\"AppleGothic\",\"Source Han Sans KR\",\"Noto Sans KR\",\"Noto Sans CJK KR\",\"Nanum Gothic\",\"Malgun Gothic\",\"Dotum\",\"Gulim\"],style:R0,ultimate:\"sans-serif\"}],[\"HYSMyeongJoStd-Medium\",{alias:\"HYSMyeongJo-Medium\"}],[\"AdobeMyungjoStd-Medium\",{alias:\"HYSMyeongJo-Medium\"}],[\"HYGoThic-Bold\",{alias:\"HYGoThic-Medium\",style:sr}],[\"AdobeGothicStd-Bold\",{alias:\"HYGoThic-Medium\",style:sr}]]),pI=new Map([[\"Arial-Black\",\"ArialBlack\"]]);function mI(n){switch(n){case sr:return\"Bold\";case ca:return\"Italic\";case fa:return\"Bold Italic\";default:if(n?.weight===\"bold\")return\"Bold\";if(n?.style===\"italic\")return\"Italic\"}return\"\"}function My(n){let e=new Set([\"thin\",\"extralight\",\"ultralight\",\"demilight\",\"semilight\",\"light\",\"book\",\"regular\",\"normal\",\"medium\",\"demibold\",\"semibold\",\"bold\",\"extrabold\",\"ultrabold\",\"black\",\"heavy\",\"extrablack\",\"ultrablack\",\"roman\",\"italic\",\"oblique\",\"ultracondensed\",\"extracondensed\",\"condensed\",\"semicondensed\",\"normal\",\"semiexpanded\",\"expanded\",\"extraexpanded\",\"ultraexpanded\",\"bolditalic\"]);return n.split(/[- ,+]+/g).filter(t=>!e.has(t.toLowerCase())).join(\" \")}function cg({alias:n,local:e,path:t,fallback:s,style:i,ultimate:r},a,o,l=!0,c=!0,f=\"\"){let h={style:null,ultimate:null};if(e){let u=f?` ${f}`:\"\";for(let d of e)a.push(`local(${d}${u})`)}if(n){let u=Ql.get(n),d=f||mI(i);Object.assign(h,cg(u,a,o,l&&!s,c&&!t,d))}if(i&&(h.style=i),r&&(h.ultimate=r),l&&s){let u=Ql.get(s),{ultimate:d}=cg(u,a,o,l,c&&!t,f);h.ultimate||=d}return c&&t&&o&&a.push(`url(${o}${t})`),h}function km(n,e,t,s,i,r){if(s.startsWith(\"InvalidPDFjsFont_\"))return null;(r===\"TrueType\"||r===\"Type1\")&&/^[A-Z]{6}\\+/.test(s)&&(s=s.slice(7)),s=Mr(s);let a=s,o=n.get(a);if(o)return o;let l=Ql.get(s);if(!l){for(let[g,b]of pI)if(s.startsWith(g)){s=`${b}${s.substring(g.length)}`,l=Ql.get(s);break}}let c=!1;l||(l=Ql.get(i),c=!0);let f=`${e.getDocId()}_s${e.createFontId()}`;if(!l){if(!Gm(s))return B(`Cannot substitute the font because of its name: ${s}`),n.set(a,null),null;let g=/bold/i.test(s),b=/oblique|italic/i.test(s),x=g&&b&&fa||g&&sr||b&&ca||ts;return o={css:`\"${My(s)}\",${f}`,guessFallback:!0,loadedName:f,baseFontName:s,src:`local(${s})`,style:x},n.set(a,o),o}let h=[];c&&Gm(s)&&h.push(`local(${s})`);let{style:u,ultimate:d}=cg(l,h,t),p=d===null,m=p?\"\":`,${d}`;return o={css:`\"${My(s)}\",${f}${m}`,guessFallback:p,loadedName:f,baseFontName:s,src:h.join(\",\"),style:u},n.set(a,o),o}var Py=3285377520,ni=4294901760,Oi=65535,Th=class{constructor(e){this.h1=e?e&4294967295:Py,this.h2=e?e&4294967295:Py}update(e){let t,s;if(typeof e==\"string\"){t=new Uint8Array(e.length*2),s=0;for(let m=0,g=e.length;m<g;m++){let b=e.charCodeAt(m);b<=255?t[s++]=b:(t[s++]=b>>>8,t[s++]=b&255)}}else if(ArrayBuffer.isView(e))t=e.slice(),s=t.byteLength;else throw new Error(\"Invalid data format, must be a string or TypedArray.\");let i=s>>2,r=s-i*4,a=new Uint32Array(t.buffer,0,i),o=0,l=0,c=this.h1,f=this.h2,h=3432918353,u=461845907,d=h&Oi,p=u&Oi;for(let m=0;m<i;m++)m&1?(o=a[m],o=o*h&ni|o*d&Oi,o=o<<15|o>>>17,o=o*u&ni|o*p&Oi,c^=o,c=c<<13|c>>>19,c=c*5+3864292196):(l=a[m],l=l*h&ni|l*d&Oi,l=l<<15|l>>>17,l=l*u&ni|l*p&Oi,f^=l,f=f<<13|f>>>19,f=f*5+3864292196);switch(o=0,r){case 3:o^=t[i*4+2]<<16;case 2:o^=t[i*4+1]<<8;case 1:o^=t[i*4],o=o*h&ni|o*d&Oi,o=o<<15|o>>>17,o=o*u&ni|o*p&Oi,i&1?c^=o:f^=o}this.h1=c,this.h2=f}hexdigest(){let e=this.h1,t=this.h2;return e^=t>>>1,e=e*3981806797&ni|e*36045&Oi,t=t*4283543511&ni|((t<<16|e>>>16)*2950163797&ni)>>>16,e^=t>>>1,e=e*444984403&ni|e*60499&Oi,t=t*3301882366&ni|((t<<16|e>>>16)*3120437893&ni)>>>16,e^=t>>>1,(e>>>0).toString(16).padStart(8,\"0\")+(t>>>0).toString(16).padStart(8,\"0\")}};function gI(n,e,t){for(let s=0,i=0,r=t.length;s<r;s++,i+=4){let a=t[s];n[i]+=e[a],n[i+1]+=e[a+1],n[i+2]+=e[a+2]}}function bI(n,e,t,s,i,r){for(let a=0,o=0,l=t.length;a<l;a++,o+=4){let c=s[i+r[a]];if(c!==0){let f=t[a];n[o]+=e[f]*c,n[o+1]+=e[f+1]*c,n[o+2]+=e[f+2]*c,n[o+3]+=c}}}function wI(n,e,t,s,i,r,[a,o,l]){for(let c=0,f=0,h=t.length;c<h;c++,f+=4){let u=s[i+r[c]];if(u!==0){let d=t[c];n[f]+=Rt((e[d]-a)*255+a*u,0,255*u),n[f+1]+=Rt((e[d+1]-o)*255+o*u,0,255*u),n[f+2]+=Rt((e[d+2]-l)*255+l*u,0,255*u),n[f+3]+=u}}}var Zl=class n{constructor({xref:e,res:t,image:s,isInline:i=!1,smask:r=null,mask:a=null,isMask:o=!1,pdfFunctionFactory:l,globalColorSpaceCache:c,localColorSpaceCache:f}){this.image=s;let h=s.dict,u=h.get(\"F\",\"Filter\"),d;if(u instanceof ce)d=u.name;else if(Array.isArray(u)){let b=e.fetchIfRef(u.at(-1));b instanceof ce&&(d=b.name)}switch(d){case\"JPXDecode\":({width:s.width,height:s.height,componentsCount:s.numComps,bitsPerComponent:s.bitsPerComponent}=oh.parseImageProperties(s.stream)),s.stream.reset();let b=Ss.getReducePowerForJPX(s.width,s.height,s.numComps);if(this.jpxDecoderOptions={numComponents:0,isIndexedColormap:!1,smaskInData:h.get(\"SMaskInData\")>=1,reducePower:b},b){let x=2**b;s.width=Math.ceil(s.width/x),s.height=Math.ceil(s.height/x)}break;case\"JBIG2Decode\":s.bitsPerComponent=1,s.numComps=1;break}let p=h.get(\"W\",\"Width\"),m=h.get(\"H\",\"Height\");if(Number.isInteger(s.width)&&s.width>0&&Number.isInteger(s.height)&&s.height>0&&(s.width!==p||s.height!==m))B(\"PDFImage - using the Width/Height of the image data, rather than the image dictionary.\"),p=s.width,m=s.height;else{let b=typeof p==\"number\"&&p>0,x=typeof m==\"number\"&&m>0;if(!b||!x){if(!s.fallbackDims)throw new se(`Invalid image width: ${p} or height: ${m}`);B(\"PDFImage - using the Width/Height of the parent image, for SMask/Mask data.\"),b||(p=s.fallbackDims.width),x||(m=s.fallbackDims.height)}}this.width=p,this.height=m,this.interpolate=h.get(\"I\",\"Interpolate\"),this.imageMask=h.get(\"IM\",\"ImageMask\")||!1,this.matte=h.get(\"Matte\")||!1;let g=s.bitsPerComponent;if(!g&&(g=h.get(\"BPC\",\"BitsPerComponent\"),!g))if(this.imageMask)g=1;else throw new se(`Bits per component missing in image: ${this.imageMask}`);if(this.bpc=g,this.imageMask)this.numComps=1;else{let b=h.getRaw(\"CS\")||h.getRaw(\"ColorSpace\"),x=!!b;if(this.jpxDecoderOptions?.smaskInData&&h.get(\"SMaskInData\")===2&&(this.jpxPremultiplied=!0,this.matte)){let w=bt.parse({cs:x?b:ce.get(\"DeviceRGB\"),xref:e,resources:i?t:null,pdfFunctionFactory:l,globalColorSpaceCache:c,localColorSpaceCache:f});this.preblendMatte=w.getRgb(this.matte,0)}if(x)this.jpxDecoderOptions?.smaskInData&&(b=ce.get(\"DeviceRGBA\"));else if(this.jpxDecoderOptions)b=ce.get(\"DeviceRGBA\");else switch(s.numComps){case 1:b=ce.get(\"DeviceGray\");break;case 3:b=ce.get(\"DeviceRGB\");break;case 4:b=ce.get(\"DeviceCMYK\");break;default:throw new Error(`Images with ${s.numComps} color components not supported.`)}this.colorSpace=bt.parse({cs:b,xref:e,resources:i?t:null,pdfFunctionFactory:l,globalColorSpaceCache:c,localColorSpaceCache:f}),this.numComps=this.colorSpace.numComps,this.jpxDecoderOptions&&(this.jpxDecoderOptions.numComponents=this.colorSpace.name===\"DeviceRGBA\"?0:this.numComps,this.jpxDecoderOptions.isIndexedColormap=this.colorSpace.name===\"Indexed\")}if(this.decode=h.getArray(\"D\",\"Decode\"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,g)||o&&!Yn.isDefaultDecode(this.decode,1))){this.needsDecode=!0;let b=(1<<g)-1;this.decodeCoefficients=[],this.decodeAddends=[];let x=this.colorSpace?.name===\"Indexed\";for(let w=0,v=0;w<this.decode.length;w+=2,++v){let k=this.decode[w],j=this.decode[w+1];this.decodeCoefficients[v]=x?(j-k)/b:j-k,this.decodeAddends[v]=x?k:b*k}}r?(r.fallbackDims??={width:p,height:m},this.smask=new n({xref:e,res:t,image:r,isInline:i,pdfFunctionFactory:l,globalColorSpaceCache:c,localColorSpaceCache:f})):a&&(a instanceof Xe?a.dict.get(\"IM\",\"ImageMask\")?(a.fallbackDims??={width:p,height:m},this.mask=new n({xref:e,res:t,image:a,isInline:i,isMask:!0,pdfFunctionFactory:l,globalColorSpaceCache:c,localColorSpaceCache:f})):B(\"Ignoring /Mask in image without /ImageMask.\"):this.mask=a)}static async buildImage({xref:e,res:t,image:s,isInline:i=!1,pdfFunctionFactory:r,globalColorSpaceCache:a,localColorSpaceCache:o}){let l=s,c=null,f=null,h=s.dict.get(\"SMask\"),u=s.dict.get(\"Mask\");return h?h instanceof Xe?c=h:B(\"Unsupported /SMask format.\"):u&&(u instanceof Xe||Array.isArray(u)?f=u:B(\"Unsupported /Mask format.\")),new n({xref:e,res:t,image:l,isInline:i,smask:c,mask:f,pdfFunctionFactory:r,globalColorSpaceCache:a,localColorSpaceCache:o})}static async createMask({image:e,isOffscreenCanvasSupported:t=!1}){let{dict:s}=e,i=s.get(\"W\",\"Width\"),r=s.get(\"H\",\"Height\"),a=s.get(\"I\",\"Interpolate\"),l=s.getArray(\"D\",\"Decode\")?.[0]>0,c=(i+7>>3)*r,f=await e.getImageData(c),h=i===1&&r===1&&l===(f.length===0||!!(f[0]&128));if(h)return{isSingleOpaquePixel:h};if(t){if(Ss.needsToBeResized(i,r)){let w=new Uint8ClampedArray(i*r*4);return t1({src:f,dest:w,width:i,height:r,nonBlackColor:0,inverseDecode:l}),Ss.createImage({kind:Pn.RGBA_32BPP,data:w,width:i,height:r,interpolate:a})}let m=new OffscreenCanvas(i,r),g=m.getContext(\"2d\"),b=g.createImageData(i,r);t1({src:f,dest:b.data,width:i,height:r,nonBlackColor:0,inverseDecode:l}),g.putImageData(b,0,0);let x=m.transferToImageBitmap();return{data:null,width:i,height:r,interpolate:a,bitmap:x}}let u=f.byteLength,d=c===u,p;if(e instanceof Wn&&(!l||d)?p=f:l?(p=new Uint8Array(c),p.set(f),p.fill(255,u)):p=new Uint8Array(f),l)for(let m=0;m<u;m++)p[m]^=255;return{data:p,width:i,height:r,interpolate:a}}get drawWidth(){return Math.max(this.width,this.smask?.width||0,this.mask?.width||0)}get drawHeight(){return Math.max(this.height,this.smask?.height||0,this.mask?.height||0)}decodeBuffer(e){let t=this.bpc,s=this.numComps,i=this.decodeAddends,r=this.decodeCoefficients,a=(1<<t)-1,o,l;if(t===1){for(o=0,l=e.length;o<l;o++)e[o]=+!e[o];return}let c=0;for(o=0,l=this.width*this.height;o<l;o++)for(let f=0;f<s;f++)e[c]=Rt(i[f]+e[c]*r[f],0,a),c++}getComponents(e){let t=this.bpc;if(t===8)return e;let s=this.width,i=this.height,r=this.numComps,a=s*i*r,o=0,l;t<=8?l=new Uint8Array(a):t<=16?l=new Uint16Array(a):l=new Uint32Array(a);let c=s*r,f=(1<<t)-1,h=0,u;if(t===1){let d,p,m;for(let g=0;g<i;g++){for(p=h+(c&-8),m=h+c;h<p;)u=e[o++],l[h]=u>>7&1,l[h+1]=u>>6&1,l[h+2]=u>>5&1,l[h+3]=u>>4&1,l[h+4]=u>>3&1,l[h+5]=u>>2&1,l[h+6]=u>>1&1,l[h+7]=u&1,h+=8;if(h<m)for(u=e[o++],d=128;h<m;)l[h++]=+!!(u&d),d>>=1}}else{let d=0;for(u=0,h=0;h<a;++h){for(h%c===0&&(u=0,d=0);d<t;)u=u<<8|e[o++],d+=8;let p=d-t;l[h]=Rt(u>>p,0,f),u&=(1<<p)-1,d=p}}return l}async fillOpacity(e,t,s,i,r){let a;if(this.smask)a=(o,l)=>this.smask.fillGrayBuffer(o,{...l,destWidth:t,destHeight:s});else if(this.mask)if(this.mask instanceof n)a=(o,l)=>this.mask.fillGrayBuffer(o,{...l,invertOutput:!0,destWidth:t,destHeight:s});else if(Array.isArray(this.mask))a=(o,{maxRows:l,offset:c,stride:f})=>{for(let h=0,u=t*l;h<u;++h){let d=0,p=h*this.numComps;for(let m=0;m<this.numComps;++m){let g=r[p+m],b=m*2;if(g<this.mask[b]||g>this.mask[b+1]){d=255;break}}o[h*f+c]=d}};else throw new se(\"Unknown mask format.\");else a=(o,{maxRows:l,offset:c,stride:f})=>{for(let h=0,u=t*l;h<u;++h)o[h*f+c]=255};await a(e,{maxRows:i,offset:3,stride:4})}static#e(e,t,s,i,r){for(let a=0;a<t;a+=4){let o=e[a+3];if(o===0){e[a]=255,e[a+1]=255,e[a+2]=255;continue}let l=255/o;e[a]=(e[a]-s)*l+s,e[a+1]=(e[a+1]-i)*l+i,e[a+2]=(e[a+2]-r)*l+r}}undoPreblend(e,t,s){let i=this.smask?.matte;if(!i)return;let r=this.colorSpace.getRgb(i,0);n.#e(e,t*s*4,r[0],r[1],r[2])}async createImageData(e=!1,t=!1){let s=this.drawWidth,i=this.drawHeight,r={width:s,height:i,interpolate:this.interpolate,kind:0,data:null},a=this.numComps,o=this.width,l=this.height,c=this.bpc,f=o*a*c+7>>3,h=t&&Ss.needsToBeResized(s,i);if(!this.smask&&!this.mask&&this.colorSpace.name===\"DeviceRGBA\"){r.kind=Pn.RGBA_32BPP;let k=r.data=await this.getImageBytes(l*o*4,{internal:t&&h});if(this.jpxPremultiplied){let j=this.preblendMatte;n.#e(k,k.length,j?.[0]??0,j?.[1]??0,j?.[2]??0)}return t?h?Ss.createImage(r,!1):this.createBitmap(Pn.RGBA_32BPP,s,i,k):r}if(!e&&!this.smask&&!this.mask){let k;if(this.colorSpace.name===\"DeviceGray\"&&c===1?k=Pn.GRAYSCALE_1BPP:this.colorSpace.name===\"DeviceRGB\"&&c===8&&!this.needsDecode&&(k=Pn.RGB_24BPP),k&&s===o&&i===l){let j=await this.#t(o,l);if(j)return j;let A=await this.getImageBytes(l*f,{internal:t&&h});if(t)return h?Ss.createImage({data:A,kind:k,width:s,height:i,interpolate:this.interpolate},this.needsDecode):this.createBitmap(k,o,l,A);if(r.kind=k,r.data=A,this.needsDecode){Qt(k===Pn.GRAYSCALE_1BPP,\"PDFImage.createImageData: The image must be grayscale.\");let S=r.data;for(let q=0,_=S.length;q<_;q++)S[q]^=255}return r}if(this.image instanceof Ro&&!this.needsDecode){let j=!1;switch(this.colorSpace.name){case\"DeviceGray\":case\"DeviceRGB\":case\"DeviceCMYK\":j=!0;break}if(j){if(t){let S=await this.#t(s,i);if(S)return S}let A=l*f;if(t&&!h){switch(this.colorSpace.name){case\"DeviceGray\":A*=4;break;case\"DeviceRGB\":A=A/3*4;break}let S=await this.getImageBytes(A,{drawWidth:s,drawHeight:i,forceRGBA:!0,internal:!0});return this.createBitmap(Pn.RGBA_32BPP,s,i,S)}return this.colorSpace.name===\"DeviceGray\"&&(A*=3),r.kind=Pn.RGB_24BPP,r.data=await this.getImageBytes(A,{drawWidth:s,drawHeight:i,forceRGB:!0,internal:h}),h?Ss.createImage(r):r}}}if(h&&!Array.isArray(this.mask)){let k=Ss.getReducePower(s,i),j=Math.max(1,s>>k),A=Math.max(1,i>>k);if(!Ss.needsToBeResized(j,A)){let S=new Uint8ClampedArray(j*A*4);return await this._fillDownscaledRgba(S,j,A),this.createBitmap(Pn.RGBA_32BPP,j,A,S)}}let u=await this.getImageBytes(l*f,{internal:!0}),d=0|u.length/f*i/l,p=this.getComponents(u),m,g,b,x,w,v;if(t&&!h&&(b=new OffscreenCanvas(s,i),x=b.getContext(\"2d\"),w=x.createImageData(s,i),v=w.data),r.kind=Pn.RGBA_32BPP,!e&&!this.smask&&!this.mask?(!t||h?(r.kind=Pn.RGB_24BPP,v=new Uint8ClampedArray(s*i*3),m=0):(new Uint32Array(v.buffer).fill(Nn.isLittleEndian?4278190080:255),m=1),g=!1):((!t||h)&&(v=new Uint8ClampedArray(s*i*4)),m=1,g=!0,await this.fillOpacity(v,s,i,d,p)),this.needsDecode&&this.decodeBuffer(p),this.colorSpace.fillRgb(v,o,l,s,i,d,c,p,m),g&&this.undoPreblend(v,s,d),t&&!h){x.putImageData(w,0,0);let k=b.transferToImageBitmap();return{data:null,width:s,height:i,bitmap:k,interpolate:this.interpolate}}return r.data=v,h?Ss.createImage(r):r}async fillGrayBuffer(e,{destWidth:t,destHeight:s,invertOutput:i,maxRows:r,offset:a=0,stride:o=1}={}){let l=this.numComps;if(l!==1)throw new se(`Reading gray scale from a color image: ${l}`);let c=this.width,f=this.height,h=this.bpc,u=c*l*h+7>>3,d=await this.getImageBytes(f*u,{internal:!0}),p=this.getComponents(d),m=t??c,g=s??f,b=m!==c||g!==f,x=r===void 0?g:Math.min(g,r),w=c,v=0,k=null;if(b){w=m,v=f/g;let S=c/m;k=new Uint32Array(m);for(let q=0;q<m;q++)k[q]=Math.floor(q*S)}let j=i?255:0;if(h===1){if(k){let S=k,q=a;if(this.needsDecode)for(let _=0;_<x;_++){let I=Math.floor(_*v)*c;for(let C=0;C<w;C++)e[q]=p[I+S[C]]-1&255^j,q+=o}else for(let _=0;_<x;_++){let I=Math.floor(_*v)*c;for(let C=0;C<w;C++)e[q]=-p[I+S[C]]&255^j,q+=o}}else{let S=w*x;if(this.needsDecode)for(let q=0;q<S;++q)e[q*o+a]=p[q]-1&255^j;else for(let q=0;q<S;++q)e[q*o+a]=-p[q]&255^j}return}this.needsDecode&&this.decodeBuffer(p);let A=255/((1<<h)-1);if(k){let S=k,q=a;for(let _=0;_<x;_++){let I=Math.floor(_*v)*c;for(let C=0;C<w;C++)e[q]=A*p[I+S[C]]^j,q+=o}}else{let S=w*x;for(let q=0;q<S;++q)e[q*o+a]=A*p[q]^j}}#n(e,t,s,i,r){let{width:a,height:o,bpc:l,colorSpace:c}=this,f=c.getColorMap(l),h=new Uint32Array(s+1);for(let d=0;d<=s;d++)h[d]=Math.floor(d*a/s);let u=0;for(let d=0;d<r;d++){let p=Math.floor(d*o/i),m=Math.floor((d+1)*o/i);for(let g=0;g<s;g++,u+=4){let b=h[g],x=h[g+1],w=0,v=0,k=0;for(let A=p;A<m;A++){let S=A*a;for(let q=S+b,_=S+x;q<_;q++){let I=t[q]*3;w+=f[I],v+=f[I+1],k+=f[I+2]}}let j=(m-p)*(x-b);e[u]=w/j,e[u+1]=v/j,e[u+2]=k/j,e[u+3]=255}}}async _fillDownscaledRgba(e,t,s){let{width:i,height:r,numComps:a,bpc:o,colorSpace:l}=this,c=this.drawWidth,f=this.drawHeight,h=i*a*o+7>>3,u=await this.getImageBytes(r*h,{internal:!0}),d=Math.min(s,u.length/h*s/r|0),p=this.getComponents(u);if(this.needsDecode&&this.decodeBuffer(p),!this.smask&&!this.mask&&a===1&&o<=8){this.#n(e,p,t,s,d);return}let m=this.smask||this.mask,g=null,b=0,x=0;m&&({width:b,height:x}=m,g=new Uint8ClampedArray(b*x),await m.fillGrayBuffer(g,{invertOutput:!this.smask}));let w=this.smask?.matte,v=w?l.getRgb(w,0):null,k=new Uint32Array(c),j=new Uint32Array(g?c:0);for(let E=0;E<c;E++)k[E]=Math.floor(E*i/c)*3;for(let E=0,G=j.length;E<G;E++)j[E]=Math.floor(E*b/c);let A=new Uint32Array(t+1);for(let E=0;E<=t;E++)A[E]=Math.floor(E*c/t);let S=i*a,q=Math.min(r,Math.ceil(2**20/i)),_=new Uint8ClampedArray(q*i*3),I=0,C=0,T=new Float64Array(c*4),M=0;for(let E=0;E<d;E++){let G=Math.floor(E*f/s),D=Math.floor((E+1)*f/s);T.fill(0);for(let N=G;N<D;N++){let K=Math.floor(N*r/f);if(K>=C){I=K,C=Math.min(K+q,r);let X=C-I;l.fillRgb(_,i,X,i,X,X,o,p.subarray(I*S,C*S),0)}let ee=_.subarray((K-I)*i*3);if(!g){gI(T,ee,k);continue}let de=Math.floor(N*x/f)*b;v?wI(T,ee,k,g,de,j,v):bI(T,ee,k,g,de,j)}for(let N=0;N<t;N++,M+=4){let K=A[N],ee=A[N+1],de=0,X=0,ue=0,re=0;for(let O=K*4,z=ee*4;O<z;O+=4)de+=T[O],X+=T[O+1],ue+=T[O+2],re+=T[O+3];let H=(D-G)*(ee-K);g?re>0&&(e[M]=de/re,e[M+1]=X/re,e[M+2]=ue/re,e[M+3]=re/H):(e[M]=de/H,e[M+1]=X/H,e[M+2]=ue/H,e[M+3]=255)}}}createBitmap(e,t,s,i){let r=new OffscreenCanvas(t,s),a=r.getContext(\"2d\"),o;e===Pn.RGBA_32BPP?o=new ImageData(i,t,s):(o=a.createImageData(t,s),V8({kind:e,src:i,dest:new Uint32Array(o.data.buffer),width:t,height:s,inverseDecode:this.needsDecode})),a.putImageData(o,0,0);let l=r.transferToImageBitmap();return{data:null,width:t,height:s,bitmap:l,interpolate:this.interpolate}}async#t(e,t){let s=await this.image.getTransferableImage(e,t);return s?{data:null,width:s.displayWidth??e,height:s.displayHeight??t,bitmap:s,interpolate:this.interpolate}:null}async getImageBytes(e,{drawWidth:t,drawHeight:s,forceRGBA:i=!1,forceRGB:r=!1,internal:a=!1}){this.image.reset(),this.image.drawWidth=t||this.width,this.image.drawHeight=s||this.height,this.image.forceRGBA=!!i,this.image.forceRGB=!!r;let o=await this.image.getImageData(e,this.jpxDecoderOptions);return a||this.image instanceof Wn?o:(Qt(o instanceof Uint8Array,'PDFImage.getImageBytes: Unsupported \"imageBytes\" type.'),new Uint8Array(o))}},xI=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isOffscreenCanvasSupported:!1,isImageDecoderSupported:!1,canvasMaxAreaInBytes:-1,fontExtraProperties:!1,useSystemFonts:!0,useWasm:!0,useWorkerFetch:!0,cMapUrl:null,cMapPacked:!0,iccUrl:null,standardFontDataUrl:null,wasmUrl:null}),By={TILING:1,SHADING:2},vI=10,Dy=Promise.resolve(),jm=n=>n instanceof P;function w4(n,e=!1){if(Array.isArray(n)){for(let t of n){let s=w4(t,!0);if(s)return s}return B(`Unsupported blend mode Array: ${n}`),\"source-over\"}if(n instanceof ce){switch(n.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\"}B(`Unsupported blend mode: ${n.name}`)}return e?null:\"source-over\"}function Am(n,{objId:e,fn:t,args:s,optionalContent:i,hasMask:r}){e&&n.addDependency(e),n.addImageOps(t,s,i,r),t===F.paintImageMaskXObject&&s[0]?.count>0&&s[0].count++}var Eh=class n{static TIME_SLOT_DURATION_MS=20;static CHECK_TIME_EVERY=100;constructor(){this.reset()}check(){return++this.checked<n.CHECK_TIME_EVERY?!1:(this.checked=0,this.endTime<=Date.now())}reset(){this.endTime=Date.now()+n.TIME_SLOT_DURATION_MS,this.checked=0}},Sc=class n{constructor({xref:e,handler:t,pageIndex:s,pageProxyId:i=null,idFactory:r,fontCache:a,builtInCMapCache:o,standardFontDataCache:l,globalColorSpaceCache:c,globalImageCache:f,systemFontCache:h,options:u=null}){this.xref=e,this.handler=t,this.pageIndex=s,this.pageProxyId=i,this.idFactory=r,this.fontCache=a,this.builtInCMapCache=o,this.standardFontDataCache=l,this.globalColorSpaceCache=c,this.globalImageCache=f,this.systemFontCache=h,this.options=u||xI,this.type3FontRefs=null,this._regionalImageCache=new ag,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this)}get _pdfFunctionFactory(){return je(this,\"_pdfFunctionFactory\",new Ac({xref:this.xref}))}get parsingType3Font(){return!!this.type3FontRefs}clone(e=null){let t=Object.create(this);return t.options=Object.assign(Object.create(null),this.options,e),t}hasBlendModes(e,t){if(!(e instanceof P)||e.objId&&t.has(e.objId))return!1;let s=new xt(t);e.objId&&s.put(e.objId);let i=[e],r=this.xref;for(;i.length;){let a=i.shift(),o=a.get(\"ExtGState\");if(o instanceof P)for(let c of o.getRawValues()){if(c instanceof fe){if(s.has(c))continue;try{c=r.fetch(c)}catch(h){s.put(c),kt(`hasBlendModes - ignoring ExtGState: \"${h}\".`);continue}}if(!(c instanceof P))continue;c.objId&&s.put(c.objId);let f=c.get(\"BM\");if(f instanceof ce){if(f.name!==\"Normal\")return!0;continue}if(f!==void 0&&Array.isArray(f)){for(let h of f)if(h instanceof ce&&h.name!==\"Normal\")return!0}}let l=a.get(\"XObject\");if(l instanceof P)for(let c of l.getRawValues()){if(c instanceof fe){if(s.has(c))continue;try{c=r.fetch(c)}catch(h){s.put(c),kt(`hasBlendModes - ignoring XObject: \"${h}\".`);continue}}if(!(c instanceof Xe))continue;c.dict.objId&&s.put(c.dict.objId);let f=c.dict.get(\"Resources\");f instanceof P&&(f.objId&&s.has(f.objId)||(i.push(f),f.objId&&s.put(f.objId)))}}for(let a of s)t.put(a);return!1}async fetchBuiltInCMap(e){let t=this.builtInCMapCache.get(e);if(t)return t;let s;return this.options.useWorkerFetch?s={cMapData:await Lm(`${this.options.cMapUrl}${e}.bcmap`),isCompressed:!0}:s={cMapData:await this.handler.sendWithPromise(\"FetchBinaryData\",{kind:\"cMapUrl\",filename:`${e}${this.options.cMapPacked?\".bcmap\":\"\"}`}),isCompressed:this.options.cMapPacked},this.builtInCMapCache.set(e,s),s}async fetchStandardFontData(e){let t=this.standardFontDataCache.get(e);if(t)return new Ft(t);if(this.options.useSystemFonts&&e!==\"Symbol\"&&e!==\"ZapfDingbats\")return null;let s=qq(),i=s[e],r;try{this.options.useWorkerFetch?r=await Lm(`${this.options.standardFontDataUrl}${i}`):r=await this.handler.sendWithPromise(\"FetchBinaryData\",{kind:\"standardFontDataUrl\",filename:i})}catch(a){return B(a),null}return this.standardFontDataCache.set(e,r),new Ft(r)}async buildFormXObject(e,t,s,i,r,a,o,l){let{dict:c}=t,f=ar(c.getArray(\"Matrix\"),null),h=Ui(c.getArray(\"BBox\"),null),u=h&&new Float32Array(h);u?.some(v=>!isFinite(v))&&(u=null);let d,p;c.has(\"OC\")&&(d=await this.parseMarkedContentProps(c.get(\"OC\"),e)),d!==void 0&&i.addOp(F.beginMarkedContentProps,[\"OC\",d]);let m=c.get(\"Group\"),g,x=[f&&new Float32Array(f),!m&&u||null],w=c.get(\"Resources\");if(m){p={matrix:f,bbox:u,smask:s,isolated:!1,knockout:!1,needsIsolation:!1,hasSoftMask:!1,isGray:!1};let v=m.get(\"S\"),k=null;if(Ke(v,\"Transparency\")&&(p.isolated=m.get(\"I\")||!1,p.knockout=m.get(\"K\")||!1,m.has(\"CS\"))){let j=this._getColorSpace(m.getRaw(\"CS\"),e,o);k=j instanceof Yn?j:await this._handleColorSpace(j)}p.isGray=k?.numComps===1,s?.backdrop?(k||=bt.rgb,s.backdrop=k.getRgbHex(s.backdrop,0)):s?.subtype===\"Luminosity\"&&(s.backdrop=\"#000000\"),g=new sh}else g=i,i.addOp(F.paintFormXObjectBegin,x);await this.getOperatorList({stream:t,task:r,resources:w instanceof P?w:e,operatorList:g,initialState:a,prevRefs:l}),m?(p.needsIsolation=g.needsIsolation||!!s,p.hasSoftMask=g.hasSoftMask||!!s,i.addOp(F.beginGroup,[p]),i.addOp(F.paintFormXObjectBegin,x),i.addOpList(g),i.addOp(F.paintFormXObjectEnd,[]),i.addOp(F.endGroup,[p])):i.addOp(F.paintFormXObjectEnd,[]),d!==void 0&&i.addOp(F.endMarkedContent,[])}_sendImgData(e,t,s=!1){let i=t?[t.bitmap||t.data.buffer]:null;return this.parsingType3Font||s?this.handler.send(\"commonobj\",[e,\"Image\",t],i):this.handler.send(\"obj\",[e,this.pageProxyId,\"Image\",t],i)}async buildPaintImageXObject({resources:e,image:t,isInline:s=!1,operatorList:i,cacheKey:r,localImageCache:a,localColorSpaceCache:o}){let{maxImageSize:l,ignoreErrors:c,isOffscreenCanvasSupported:f}=this.options,{dict:h}=t,u=h.objId,d=h.get(\"W\",\"Width\"),p=h.get(\"H\",\"Height\");if(!(d&&typeof d==\"number\")||!(p&&typeof p==\"number\")){B(\"Image dimensions are missing, or not numbers.\");return}if(l!==-1&&d*p>l){let _=\"Image exceeded maximum allowed size and was removed.\";if(!c)throw new Error(_);B(_);return}let m;h.has(\"OC\")&&(m=await this.parseMarkedContentProps(h.get(\"OC\"),e));let g=h.get(\"IM\",\"ImageMask\")||!1,b,x,w;if(g){if(b=await Zl.createMask({image:t,isOffscreenCanvasSupported:f&&!this.parsingType3Font}),b.isSingleOpaquePixel){if(x=F.paintSolidColorImageMask,w=[],i.addImageOps(x,w,m),r){let I={fn:x,args:w,optionalContent:m};a.set(r,u,I),u&&this._regionalImageCache.set(null,u,I)}return}if(this.parsingType3Font){if(w=mq(b),w){i.addImageOps(F.constructPath,w,m);return}B(\"Cannot compile Type3 glyph.\"),i.addImageOps(F.paintImageMaskXObject,[b],m);return}let _=`mask_${this.idFactory.createObjId()}`;if(i.addDependency(_),b.dataLen=b.bitmap?b.width*b.height*4:b.data.length,this._sendImgData(_,b),x=F.paintImageMaskXObject,w=[{data:_,width:b.width,height:b.height,interpolate:b.interpolate,count:1}],i.addImageOps(x,w,m),r){let I={objId:_,fn:x,args:w,optionalContent:m};a.set(r,u,I),u&&this._regionalImageCache.set(null,u,I)}return}let v=200,k=h.has(\"SMask\")||h.has(\"Mask\");if(s&&d+p<v&&!k){try{b=await new Zl({xref:this.xref,res:e,image:t,isInline:s,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:o}).createImageData(!0,!1),i.addImageOps(F.paintInlineImageXObject,[b],m)}catch(_){let I=`Unable to decode inline image: \"${_}\".`;if(!c)throw new Error(I);B(I)}return}let j=`img_${this.idFactory.createObjId()}`,A=!1,S=!1,q=null;if(this.parsingType3Font?j=`${this.idFactory.getDocId()}_type3_${j}`:r&&u&&(A=this.globalImageCache.shouldCache(u,this.pageIndex),A?(Qt(!s,\"Cannot cache an inline image globally.\"),j=`${this.idFactory.getDocId()}_${j}`):this.pageProxyId!==null&&(this.globalImageCache.startDecodedImage(u,this.pageProxyId),S=!0)),i.addDependency(j),x=F.paintImageXObject,w=[j,d,p],i.addImageOps(x,w,m,k),A){if(q={objId:j,fn:x,args:w,optionalContent:m,hasMask:k,byteSize:0},this.globalImageCache.hasDecodeFailed(u)){this.globalImageCache.setData(u,q),this._sendImgData(j,null,A);return}let _=this.globalImageCache.takeDecodedImage(u);if(_){this.globalImageCache.setData(u,q),this.globalImageCache.addByteSize(u,_.dataLen),this._sendImgData(j,_,A);return}if(d*p>25e4||k){let I=await this.handler.sendWithPromise(\"commonobj\",[j,\"CopyLocalImage\",{imageRef:u}]);if(I){this.globalImageCache.setData(u,q),this.globalImageCache.addByteSize(u,I);return}}}if(Zl.buildImage({xref:this.xref,res:e,image:t,isInline:s,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:o}).then(async _=>(b=await _.createImageData(!1,f),b.dataLen=b.bitmap?b.width*b.height*4:b.data.length,b.ref=u,A?this.globalImageCache.addByteSize(u,b.dataLen):S&&this.globalImageCache.setDecodedImage(u,b),this._sendImgData(j,b,A))).catch(_=>(B(`Unable to decode image \"${j}\": \"${_}\".`),u&&this.globalImageCache.addDecodeFailed(u),this._sendImgData(j,null,A))),r){let _={objId:j,fn:x,args:w,optionalContent:m,hasMask:k};a.set(r,u,_),u&&(this._regionalImageCache.set(null,u,_),A&&(Qt(q,\"The global cache-data must be available.\"),this.globalImageCache.setData(u,q)))}}#e(e){let t=this._pdfFunctionFactory.create(e),s=new Float32Array(1);return Uint8Array.from({length:256},(i,r)=>(s[0]=r/255,t(s,0,s,0),s[0]*255|0))}handleSMask(e,t,s,i,r,a,o){let l=e.get(\"G\"),c={subtype:e.get(\"S\").name,backdrop:e.get(\"BC\")},f=e.get(\"TR\");return vm(f)&&(c.transferMap=this.#e(f)),this.buildFormXObject(t,l,c,s,i,r.state.clone({newPath:!0}),a,o)}handleTransferFunction(e){let t;if(Array.isArray(e))t=e.length>1&&e.every(a=>a===e[0])?[e[0]]:e;else if(vm(e))t=[e];else return null;let s=[],i=0,r=0;for(let a of t){let o=this.xref.fetchIfRef(a);if(i++,Ke(o,\"Identity\")){s.push(null);continue}else if(!vm(o))return null;s.push(this.#e(o)),r++}return!(i===1||i===4)||r===0?null:s}handleTilingType(e,t,s,i,r,a,o,l,c){let f=new sh,h=P.merge({xref:this.xref,dictArray:[r.get(\"Resources\"),s]});return this.getOperatorList({stream:i,task:o,resources:h,operatorList:f,prevRefs:c}).then(function(){let u=f.getIR(),{needsIsolation:d}=f,p=Cy(u,r,t,d);a.addDependencies(f.dependencies),a.addOp(e,p),r.objId&&l.set(null,r.objId,{operatorListIR:u,needsIsolation:d,dict:r})}).catch(u=>{if(!(u instanceof _n)){if(this.options.ignoreErrors){B(`handleTilingType - ignoring pattern: \"${u}\".`);return}throw u}})}async handleSetFont(e,t,s,i,r,a,o=null,l=null,c=null){let f=t?.[0]instanceof ce?t[0].name:null,h=await this.loadFont(f,s,e,r,o,l,c);return h.font.isType3Font&&i.addDependencies(h.type3Dependencies),a.font=h.font,h.send(this.handler),h.loadedName}handleText(e,t){let s=t.font,i=s.charsToGlyphs(e);return s.data&&(t.textRenderingMode&R8.ADD_TO_PATH_FLAG||t.fillColorSpace.name===\"Pattern\"||t.strokeColorSpace.name===\"Pattern\"||s.disableFontFace)&&n.buildFontPaths(s,i,this.handler,this.options),i}ensureStateFont(e){if(e.font)return;let t=new se(\"Missing setFont (Tf) operator before text rendering operator.\");if(this.options.ignoreErrors){B(`ensureStateFont: \"${t}\".`);return}throw t}async setGState({resources:e,gState:t,operatorList:s,cacheKey:i,task:r,stateManager:a,localGStateCache:o,localColorSpaceCache:l,seenRefs:c}){let f=t.objId,h=!0,u=[],d=Promise.resolve();for(let[p,m]of t)switch(p){case\"Type\":break;case\"LW\":if(typeof m!=\"number\"){B(`Invalid LW (line width): ${m}`);break}u.push([p,Math.abs(m)]);break;case\"LC\":case\"LJ\":case\"ML\":case\"D\":case\"RI\":case\"FL\":case\"CA\":case\"ca\":u.push([p,m]);break;case\"Font\":h=!1,d=d.then(()=>this.handleSetFont(e,null,m[0],s,r,a.state,null,null,c).then(function(g){s.addDependency(g),u.push([p,[g,m[1]]])}));break;case\"BM\":u.push([p,w4(m)]);break;case\"SMask\":if(Ke(m,\"None\")){u.push([p,!1]);break}m instanceof P?(h=!1,d=d.then(()=>this.handleSMask(m,e,s,r,a,l,c)),u.push([p,!0])):B(\"Unsupported SMask type\");break;case\"TR\":if(t.has(\"TR2\"))break;case\"TR2\":{let g=this.handleTransferFunction(m);u.push([\"TR\",g]);break}case\"OP\":case\"op\":case\"OPM\":case\"BG\":case\"BG2\":case\"UCR\":case\"UCR2\":case\"HT\":case\"SM\":case\"SA\":case\"AIS\":case\"TK\":kt(\"graphic state operator \"+p);break;default:kt(\"Unknown graphic state operator \"+p);break}await d,u.length>0&&s.addOp(F.setGState,[u]),h&&o.set(i,f,u)}loadFont(e,t,s,i,r=null,a=null,o=null){let l=async()=>new ec({loadedName:\"g_font_error\",font:new yh(`Font \"${e}\" is not available.`),dict:t}),c;if(t)t instanceof fe&&(c=t);else{let b=s.get(\"Font\");b&&(c=b.getRaw(e))}if(c){if(this.type3FontRefs?.has(c))return l();if(this.fontCache.has(c))return this.fontCache.get(c);try{t=this.xref.fetchIfRef(c)}catch(b){B(`loadFont - lookup failed: \"${b}\".`)}}if(!(t instanceof P)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return B(`Font \"${e}\" is not available.`),l();B(`Font \"${e}\" is not available -- attempting to fallback to a default font.`),t=r||n.fallbackFontDict}if(t.cacheKey&&this.fontCache.has(t.cacheKey))return this.fontCache.get(t.cacheKey);let{promise:f,resolve:h}=Promise.withResolvers(),u;try{u=this.preEvaluateFont(t),u.cssFontInfo=a}catch(b){return B(`loadFont - preEvaluateFont failed: \"${b}\".`),l()}let{descriptor:d,hash:p}=u,m=c instanceof fe,g;if(p&&d instanceof P){let b=d.fontAliases||=Object.create(null);if(b[p]){let x=b[p].aliasRef;if(m&&x&&this.fontCache.has(x))return this.fontCache.putAlias(c,x),this.fontCache.get(c)}else b[p]={fontID:this.idFactory.createFontId()};m&&(b[p].aliasRef=c),g=b[p].fontID}else g=this.idFactory.createFontId();return Qt(g?.startsWith(\"f\"),'The \"fontID\" must be (correctly) defined.'),m?this.fontCache.put(c,f):(t.cacheKey=`cacheKey_${g}`,this.fontCache.put(t.cacheKey,f)),t.loadedName=`${this.idFactory.getDocId()}_${g}`,this.translateFont(u).then(async b=>{let x=new ec({loadedName:t.loadedName,font:b,dict:t});if(b.isType3Font)try{await x.loadType3Data(this,s,i,o)}catch(w){throw new Error(`Type3 font load error: ${w}`)}h(x)}).catch(b=>{B(`loadFont - translateFont failed: \"${b}\".`),h(new ec({loadedName:t.loadedName,font:new yh(b?.message),dict:t}))}),f}buildPath(e,t,s){let{pathMinMax:i,pathBuffer:r}=s;switch(e|0){case F.rectangle:{let a=s.currentPointX=t[0],o=s.currentPointY=t[1],l=t[2],c=t[3],f=a+l,h=o+c;l===0||c===0?r.push(zt.moveTo,a,o,zt.lineTo,f,h,zt.closePath):r.push(zt.moveTo,a,o,zt.lineTo,f,o,zt.lineTo,f,h,zt.lineTo,a,h,zt.closePath),ft.rectBoundingBox(a,o,f,h,i);break}case F.moveTo:{let a=s.currentPointX=t[0],o=s.currentPointY=t[1];r.push(zt.moveTo,a,o),ft.pointBoundingBox(a,o,i);break}case F.lineTo:{let a=s.currentPointX=t[0],o=s.currentPointY=t[1];r.push(zt.lineTo,a,o),ft.pointBoundingBox(a,o,i);break}case F.curveTo:{let a=s.currentPointX,o=s.currentPointY,[l,c,f,h,u,d]=t;s.currentPointX=u,s.currentPointY=d,r.push(zt.curveTo,l,c,f,h,u,d),ft.bezierBoundingBox(a,o,l,c,f,h,u,d,i);break}case F.curveTo2:{let a=s.currentPointX,o=s.currentPointY,[l,c,f,h]=t;s.currentPointX=f,s.currentPointY=h,r.push(zt.curveTo,a,o,l,c,f,h),ft.bezierBoundingBox(a,o,a,o,l,c,f,h,i);break}case F.curveTo3:{let a=s.currentPointX,o=s.currentPointY,[l,c,f,h]=t;s.currentPointX=f,s.currentPointY=h,r.push(zt.curveTo,l,c,f,h,f,h),ft.bezierBoundingBox(a,o,l,c,f,h,f,h,i);break}case F.closePath:r.push(zt.closePath);break}}_getColorSpace(e,t,s){return bt.parse({cs:e,xref:this.xref,resources:t,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:s,asyncIfNotCached:!0})}async _handleColorSpace(e){try{return await e}catch(t){if(t instanceof _n)return null;if(this.options.ignoreErrors)return B(`_handleColorSpace - ignoring ColorSpace: \"${t}\".`),null;throw t}}parseShading({shading:e,resources:t,localColorSpaceCache:s,localShadingPatternCache:i}){let r=i.get(e);if(r)return r;let a;try{a=N1.parseShading(e,this.xref,t,this._pdfFunctionFactory,this.globalColorSpaceCache,s).getIR()}catch(o){if(o instanceof _n)return null;if(this.options.ignoreErrors)return B(`parseShading - ignoring shading: \"${o}\".`),i.set(e,null),null;throw o}if(r=`pattern_${this.idFactory.createObjId()}`,this.parsingType3Font&&(r=`${this.idFactory.getDocId()}_type3_${r}`),i.set(e,r),this.parsingType3Font){let o=Bq(a);this.handler.send(\"commonobj\",[r,\"Pattern\",o],[o])}else this.handler.send(\"obj\",[r,this.pageProxyId,\"Pattern\",a]);return r}handleColorN(e,t,s,i,r,a,o,l,c,f,h){let u=s.pop();if(u instanceof ce){let d=r.getRaw(u.name),p=d instanceof fe&&c.getByRef(d);if(p)try{let g=i.base?i.base.getRgbHex(s,0):null,b=Cy(p.operatorListIR,p.dict,g,p.needsIsolation);e.addOp(t,b);return}catch{}let m=this.xref.fetchIfRef(d);if(m){let g=m instanceof Xe?m.dict:m,b=g.get(\"PatternType\");if(b===By.TILING){let x=i.base?i.base.getRgbHex(s,0):null;return this.handleTilingType(t,x,a,m,g,e,o,c,h)}else if(b===By.SHADING){let x=g.get(\"Shading\"),w=this.parseShading({shading:x,resources:a,localColorSpaceCache:l,localShadingPatternCache:f});if(w){let v=ar(g.getArray(\"Matrix\"),null);e.addOp(t,[\"Shading\",w,v])}return}throw new se(`Unknown PatternType: ${b}`)}}throw new se(`Unknown PatternName: ${u}`)}async parseMarkedContentProps(e,t){return b4(this.xref,e,t)}async getOperatorList({stream:e,task:t,resources:s,operatorList:i,initialState:r=null,fallbackFontDict:a=null,prevRefs:o=null}){if(e.isAsync){let q=await e.asyncGetBytes();q&&(e=new Ft(q,0,q.length,e.dict))}let l=e.dict?.objId,c=new xt(o);if(l){if(o?.has(l))throw new Error(`getOperatorList - ignoring circular reference: ${l}`);c.put(l)}if(s||=P.empty,r||=new Rh,!i)throw new Error('getOperatorList: missing \"operatorList\" parameter');let f=this,h=this.xref,u=new qh,d=new _h,p=new Ih,m=new rg,g=new Map,b=s.get(\"XObject\")||P.empty,x=s.get(\"Pattern\")||P.empty,w=new Co(r),v=new Mo(e,h,w),k=new Eh,j=0;function A(q){for(let _=0,I=v.savedStatesDepth;_<I;_++)i.addOp(F.restore,[])}function S(){for(;j>0;j--)i.addOp(F.endMarkedContent,[])}return new Promise(function q(_,I){let C=function(N){Promise.all([N,i.ready]).then(function(){try{q(_,I)}catch(K){I(K)}},I)};t.ensureNotTerminated(),k.reset();let T={},M,E,G,D;for(;!(M=k.check())&&(T.args=null,!!v.read(T));){let N=T.args,K=T.fn;switch(K|0){case F.paintXObject:if(D=N[0]instanceof ce,G=N[0].name,D){let O=u.getByName(G);if(O){Am(i,O),N=null;continue}}C(new Promise(function(O,z){if(!D)throw new se(\"XObject must be referred to by name.\");let V=b.getRaw(G);if(V instanceof fe){let te=u.getByRef(V)||f._regionalImageCache.getByRef(V)||f.globalImageCache.getData(V,f.pageIndex);if(te){Am(i,te),O();return}V=h.fetch(V)}if(!(V instanceof Xe))throw new se(\"XObject should be a stream\");let $=V.dict.get(\"Subtype\");if(!($ instanceof ce))throw new se(\"XObject should have a Name subtype\");if($.name===\"Form\"){w.save(),f.buildFormXObject(s,V,null,i,t,w.state.clone({newPath:!0}),d,c).then(function(){w.restore(),O()},z);return}else if($.name===\"Image\"){f.buildPaintImageXObject({resources:s,image:V,operatorList:i,cacheKey:G,localImageCache:u,localColorSpaceCache:d}).then(O,z);return}else if($.name===\"PS\")kt(\"Ignored XObject subtype PS\");else throw new se(`Unhandled XObject subtype ${$.name}`);O()}).catch(O=>{if(!(O instanceof _n)){if(f.options.ignoreErrors){B(`getOperatorList - ignoring XObject: \"${O}\".`);return}throw O}}));return;case F.setFont:let ee=N[1];C(f.handleSetFont(s,N,null,i,t,w.state,a,null,c).then(function(O){i.addDependency(O),i.addOp(F.setFont,[O,ee])}));return;case F.endInlineImage:let de=N[0].cacheKey;if(de){let O=u.getByName(de);if(O){Am(i,O),N=null;continue}}C(f.buildPaintImageXObject({resources:s,image:N[0],isInline:!0,operatorList:i,cacheKey:de,localImageCache:u,localColorSpaceCache:d}));return;case F.showText:if(!w.state.font){f.ensureStateFont(w.state);continue}N[0]=f.handleText(N[0],w.state);break;case F.showSpacedText:if(!w.state.font){f.ensureStateFont(w.state);continue}let X=[],ue=w.state;for(let O of N[0])typeof O==\"string\"?X.push(...f.handleText(O,ue)):typeof O==\"number\"&&X.push(O);N[0]=X,K=F.showText;break;case F.nextLineShowText:if(!w.state.font){f.ensureStateFont(w.state);continue}i.addOp(F.nextLine),N[0]=f.handleText(N[0],w.state),K=F.showText;break;case F.nextLineSetSpacingShowText:if(!w.state.font){f.ensureStateFont(w.state);continue}i.addOp(F.nextLine),i.addOp(F.setWordSpacing,[N.shift()]),i.addOp(F.setCharSpacing,[N.shift()]),N[0]=f.handleText(N[0],w.state),K=F.showText;break;case F.setTextRenderingMode:w.state.textRenderingMode=N[0];break;case F.setFillColorSpace:{let O=f._getColorSpace(N[0],s,d);if(O instanceof Yn){w.state.fillColorSpace=O;continue}C(f._handleColorSpace(O).then(z=>{w.state.fillColorSpace=z||bt.gray}));return}case F.setStrokeColorSpace:{let O=f._getColorSpace(N[0],s,d);if(O instanceof Yn){w.state.strokeColorSpace=O;continue}C(f._handleColorSpace(O).then(z=>{w.state.strokeColorSpace=z||bt.gray}));return}case F.setFillColor:if(!tn(N,null))continue;E=w.state.fillColorSpace,N=[E.getRgbHex(N,0)],K=F.setFillRGBColor;break;case F.setStrokeColor:if(!tn(N,null))continue;E=w.state.strokeColorSpace,N=[E.getRgbHex(N,0)],K=F.setStrokeRGBColor;break;case F.setFillGray:if(!tn(N,null))continue;w.state.fillColorSpace=bt.gray,N=[bt.gray.getRgbHex(N,0)],K=F.setFillRGBColor;break;case F.setStrokeGray:if(!tn(N,null))continue;w.state.strokeColorSpace=bt.gray,N=[bt.gray.getRgbHex(N,0)],K=F.setStrokeRGBColor;break;case F.setFillCMYKColor:if(!tn(N,null))continue;w.state.fillColorSpace=bt.cmyk,N=[bt.cmyk.getRgbHex(N,0)],K=F.setFillRGBColor;break;case F.setStrokeCMYKColor:if(!tn(N,null))continue;w.state.strokeColorSpace=bt.cmyk,N=[bt.cmyk.getRgbHex(N,0)],K=F.setStrokeRGBColor;break;case F.setFillRGBColor:if(!tn(N,null))continue;w.state.fillColorSpace=bt.rgb,N=[bt.rgb.getRgbHex(N,0)];break;case F.setStrokeRGBColor:if(!tn(N,null))continue;w.state.strokeColorSpace=bt.rgb,N=[bt.rgb.getRgbHex(N,0)];break;case F.setFillColorN:if(E=w.state.patternFillColorSpace,!E){if(tn(N,null)){N=[bt.gray.getRgbHex(N,0)],K=F.setFillRGBColor;break}N=[],K=F.setFillTransparent;break}if(E.name===\"Pattern\"){if(!Array.isArray(N))continue;C(f.handleColorN(i,F.setFillColorN,N,E,x,s,t,d,m,g,c));return}if(!tn(N,null))continue;N=[E.getRgbHex(N,0)],K=F.setFillRGBColor;break;case F.setStrokeColorN:if(E=w.state.patternStrokeColorSpace,!E){if(tn(N,null)){N=[bt.gray.getRgbHex(N,0)],K=F.setStrokeRGBColor;break}N=[],K=F.setStrokeTransparent;break}if(E.name===\"Pattern\"){if(!Array.isArray(N))continue;C(f.handleColorN(i,F.setStrokeColorN,N,E,x,s,t,d,m,g,c));return}if(!tn(N,null))continue;N=[E.getRgbHex(N,0)],K=F.setStrokeRGBColor;break;case F.shadingFill:let re;try{let O=s.get(\"Shading\");if(!O)throw new se(\"No shading resource found\");if(re=O.get(N[0].name),!re)throw new se(\"No shading object found\")}catch(O){if(O instanceof _n)continue;if(f.options.ignoreErrors){B(`getOperatorList - ignoring Shading: \"${O}\".`);continue}throw O}let H=f.parseShading({shading:re,resources:s,localColorSpaceCache:d,localShadingPatternCache:g});if(!H)continue;N=[H],K=F.shadingFill;break;case F.setGState:if(D=N[0]instanceof ce,G=N[0].name,D){let O=p.getByName(G);if(O){O.length>0&&i.addOp(F.setGState,[O]),N=null;continue}}C(new Promise(function(O,z){if(!D)throw new se(\"GState must be referred to by name.\");let V=s.get(\"ExtGState\");if(!(V instanceof P))throw new se(\"ExtGState should be a dictionary.\");let $=V.get(G);if(!($ instanceof P))throw new se(\"GState should be a dictionary.\");f.setGState({resources:s,gState:$,operatorList:i,cacheKey:G,task:t,stateManager:w,localGStateCache:p,localColorSpaceCache:d,seenRefs:c}).then(O,z)}).catch(O=>{if(!(O instanceof _n)){if(f.options.ignoreErrors){B(`getOperatorList - ignoring ExtGState: \"${O}\".`);return}throw O}}));return;case F.setLineWidth:{let[O]=N;if(typeof O!=\"number\"){B(`Invalid setLineWidth: ${O}`);continue}N[0]=Math.abs(O);break}case F.setDash:{let O=N[1];if(typeof O!=\"number\"){B(`Invalid setDash: ${O}`);continue}let z=N[0];if(!Array.isArray(z)){B(`Invalid setDash: ${z}`);continue}z.some(V=>typeof V!=\"number\")&&(N[0]=z.filter(V=>typeof V==\"number\"));break}case F.moveTo:case F.lineTo:case F.curveTo:case F.curveTo2:case F.curveTo3:case F.closePath:case F.rectangle:f.buildPath(K,N,w.state);continue;case F.stroke:case F.closeStroke:case F.fill:case F.eoFill:case F.fillStroke:case F.eoFillStroke:case F.closeFillStroke:case F.closeEOFillStroke:case F.endPath:{let{state:{pathBuffer:O,pathMinMax:z}}=w;(K===F.closeStroke||K===F.closeFillStroke||K===F.closeEOFillStroke)&&O.push(zt.closePath),O.length===0?i.addOp(F.constructPath,[K,[null],null]):(i.addOp(F.constructPath,[K,[new Float32Array(O)],z.slice()]),O.length=0,z.set(dr,0));continue}case F.setTextMatrix:i.addOp(K,[new Float32Array(N)]);continue;case F.markPoint:case F.markPointProps:case F.beginCompat:case F.endCompat:continue;case F.beginMarkedContentProps:if(j++,!(N[0]instanceof ce)){B(`Expected name for beginMarkedContentProps arg0=${N[0]}`),i.addOp(F.beginMarkedContentProps,[\"OC\",null]);continue}if(N[0].name===\"OC\"){C(f.parseMarkedContentProps(N[1],s).then(O=>{i.addOp(F.beginMarkedContentProps,[\"OC\",O])}).catch(O=>{if(!(O instanceof _n)){if(f.options.ignoreErrors){B(`getOperatorList - ignoring beginMarkedContentProps: \"${O}\".`),i.addOp(F.beginMarkedContentProps,[\"OC\",null]);return}throw O}}));return}N=[N[0].name,N[1]instanceof P?N[1].get(\"MCID\"):null];break;case F.beginMarkedContent:if(N?.some(jm)){B(`getOperatorList - ignoring operator: ${K}`);continue}j++;break;case F.endMarkedContent:if(N?.some(jm)){B(`getOperatorList - ignoring operator: ${K}`);continue}if(j===0)continue;j--;break;default:if(N?.some(jm)){B(`getOperatorList - ignoring operator: ${K}`);continue}}i.addOp(K,N)}if(M){C(Dy);return}S(),A(),_()}).catch(q=>{if(!(q instanceof _n)){if(this.options.ignoreErrors){B(`getOperatorList - ignoring errors during \"${t.name}\" task: \"${q}\".`),S(),A();return}throw q}})}async getTextContent({stream:e,task:t,resources:s,stateManager:i=null,includeMarkedContent:r=!1,sink:a,seenStyles:o=new Set,viewBox:l,lang:c=null,disableNormalization:f=!1,keepWhiteSpace:h=!1,prevRefs:u=null,intersector:d=null}){if(e.isAsync){let Se=await e.asyncGetBytes();Se&&(e=new Ft(Se,0,Se.length,e.dict))}a??=Ry(null);let p=e.dict?.objId,m=new xt(u);if(p){if(u?.has(p))throw new Error(`getTextContent - ignoring circular reference: ${p}`);m.put(p)}s||=P.empty,i||=new Co(new fg);let g=0,b=null,x={items:[],styles:Object.create(null),lang:c},w={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,prevTextRise:0,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},v=[\" \",\" \"],k=0;function j(Se){let he=(k+1)%2,ae=v[k]!==\" \"&&v[he]===\" \";return v[k]=Se,k=he,!h&&ae}function A(){return!h&&v[k]!==\" \"&&v[(k+1)%2]===\" \"}function S(){v[0]=v[1]=\" \",k=0}let q=.102,_=.03,I=-.2,C=.102,T=.6,M=.25,E=this,G=this.xref,D=[],N=null,K=new qh,ee=new Ih,de=new Mo(e,G,i),X,ue;function re({width:Se=0,height:he=0,transform:ae=w.prevTransform,fontName:me=w.fontName}){d?.addExtraChar(\" \"),x.items.push({str:\" \",dir:\"ltr\",width:Se,height:he,transform:ae,fontName:me,hasEOL:!1})}function H(){let Se=X.font,he=[X.fontSize*X.textHScale,0,0,X.fontSize,0,X.textRise];if(Se.isType3Font&&(X.fontSize<=1||Se.isCharBBox)&&!qa(X.fontMatrix,ba)){let ae=Se.bbox[3]-Se.bbox[1];ae>0&&(he[3]*=ae*X.fontMatrix[3])}return ft.transform(X.ctm,ft.transform(X.textMatrix,he))}function O(){if(w.initialized)return w;let{font:Se,loadedName:he}=X;if(!o.has(he)&&(o.add(he),x.styles[he]={fontFamily:Se.fallbackName,ascent:Se.ascent,descent:Se.descent,vertical:Se.vertical},E.options.fontExtraProperties&&Se.systemFontInfo)){let ye=x.styles[he];ye.fontSubstitution=Se.systemFontInfo.css,ye.fontSubstitutionLoadedName=Se.systemFontInfo.loadedName}w.fontName=he;let ae=w.transform=H();Se.vertical?(w.width=w.totalWidth=Math.hypot(ae[0],ae[1]),w.height=w.totalHeight=0,w.vertical=!0):(w.width=w.totalWidth=0,w.height=w.totalHeight=Math.hypot(ae[2],ae[3]),w.vertical=!1);let me=Math.hypot(X.textLineMatrix[0],X.textLineMatrix[1]),ge=Math.hypot(X.ctm[0],X.ctm[1]);w.textAdvanceScale=ge*me;let{fontSize:qe}=X;return w.trackingSpaceMin=qe*q,w.notASpace=qe*_,w.negativeSpaceMax=qe*I,w.spaceInFlowMin=qe*C,w.spaceInFlowMax=qe*T,w.hasEOL=!1,w.initialized=!0,w}function z(){if(!w.initialized)return;let Se=Math.hypot(X.textLineMatrix[0],X.textLineMatrix[1]),ae=Math.hypot(X.ctm[0],X.ctm[1])*Se;ae!==w.textAdvanceScale&&(w.vertical?(w.totalHeight+=w.height*w.textAdvanceScale,w.height=0):(w.totalWidth+=w.width*w.textAdvanceScale,w.width=0),w.textAdvanceScale=ae)}function V(Se){let he=Se.str.join(\"\");f||(he=UA(he));let ae=lv(he,-1,Se.vertical);return{str:ae.str,dir:ae.dir,width:Math.abs(Se.totalWidth),height:Math.abs(Se.totalHeight),transform:Se.transform,fontName:Se.fontName,hasEOL:Se.hasEOL}}async function $(Se,he){let ae=await E.loadFont(Se,he,s,t,null,null,m);X.loadedName=ae.loadedName,X.font=ae.font,X.fontMatrix=ae.font.fontMatrix||ba}function te(Se,he,ae){let me=Math.hypot(ae[0],ae[1]);return[(ae[0]*Se+ae[1]*he)/me,(ae[2]*Se+ae[3]*he)/me]}function ie(Se){let he=H(),ae=he[4],me=he[5];if(X.font?.vertical){if(ae<l[0]||ae>l[2]||me+Se<l[1]||me>l[3])return!1}else if(ae+Se<l[0]||ae>l[2]||me<l[1]||me>l[3])return!1;if(!X.font||!w.prevTransform)return!0;let ge=w.prevTransform[4],qe=w.prevTransform[5];if(ge===ae&&qe===me)return!0;let ye=-1;switch(he[0]&&he[1]===0&&he[2]===0?ye=he[0]>0?0:180:he[1]&&he[0]===0&&he[3]===0&&(ye=he[1]>0?90:270),ye){case 0:break;case 90:[ae,me]=[me,ae],[ge,qe]=[qe,ge];break;case 180:[ae,me,ge,qe]=[-ae,-me,-ge,-qe];break;case 270:[ae,me]=[-me,-ae],[ge,qe]=[-qe,-ge];break;default:[ae,me]=te(ae,me,he),[ge,qe]=te(ge,qe,w.prevTransform)}if(X.font.vertical){let Ce=(qe-me)/w.textAdvanceScale,Ue=ae-ge,we=Math.sign(w.height||w.totalHeight);return Ce<we*w.negativeSpaceMax?Math.abs(Ue)>.5*w.width?(Ae(),!0):(S(),De(),!0):Math.abs(Ue)>w.width?(Ae(),!0):(Ce<=we*w.notASpace&&S(),Ce<=we*w.trackingSpaceMin?A()?(S(),De(),re({height:Math.abs(Ce)})):w.height+=Ce:Oe(Ce,w.prevTransform,we)||(w.str.length===0?(S(),re({height:Math.abs(Ce)})):w.height+=Ce),Math.abs(Ue)>w.width*M&&De(),!0)}let Re=(ae-ge)/w.textAdvanceScale,Fe=me-qe,Ge=Math.sign(w.width||w.totalWidth);if(Re<Ge*w.negativeSpaceMax)return Math.abs(Fe)>.5*w.height?(Ae(),!0):(S(),De(),!0);let Ve=X.textRise-w.prevTextRise,ke=Ve===0?Fe:Fe-he[3]/X.fontSize*Ve;return Math.abs(ke)>w.height?(Ae(),!0):(Re<=Ge*w.notASpace&&S(),Re<=Ge*w.trackingSpaceMin?A()?(S(),De(),re({width:Math.abs(Re)})):w.width+=Re:Oe(Re,w.prevTransform,Ge)||(w.str.length===0?(S(),re({width:Math.abs(Re)})):w.width+=Re),Math.abs(Fe)>w.height*M&&De(),!0)}function le({chars:Se,extraSpacing:he}){ue!==X&&(ue.fontSize!==X.fontSize||ue.fontName!==X.fontName&&(ue.font?.name!==X.font.name||ue.font.vertical!==X.font.vertical))&&(De(),ue=X.clone());let ae=X.font,me=ae.vertical?-X.charSpacing:X.charSpacing;if(!Se){let ye=me+he;ye&&(ae.vertical?X.translateTextMatrix(0,-ye):X.translateTextMatrix(ye*X.textHScale,0)),h&&ie(0);return}let ge=ae.charsToGlyphs(Se),qe=X.fontMatrix[0]*X.fontSize;for(let ye=0,Re=ge.length;ye<Re;ye++){let Fe=ge[ye],{category:Ge}=Fe;if(Ge.isInvisibleFormatMark)continue;let Ve=me+(ye+1===Re?he:0),Ce=(ae.vertical?Fe.vmetric[0]:Fe.width)*qe;if(Fe.isSpace&&(Ve+=X.wordSpacing),!h&&Ge.isWhitespace){ae.vertical?(Ve+=-Ce,X.translateTextMatrix(0,-Ve)):(Ve+=Ce,X.translateTextMatrix(Ve*X.textHScale,0)),j(\" \");continue}if(!Ge.isZeroWidthDiacritic&&!ie(Ce)){ae.vertical?X.translateTextMatrix(0,Ce):X.translateTextMatrix(Ce*X.textHScale,0);continue}let Ue=O();Ge.isZeroWidthDiacritic&&(Ce=0),ae.vertical?(d?.addGlyph(H(),0,Ce,Fe.unicode),X.translateTextMatrix(0,Ce),Ce=Math.abs(Ce),Ue.height+=Ce):(Ce*=X.textHScale,d?.addGlyph(H(),Ce,0,Fe.unicode),X.translateTextMatrix(Ce,0),Ue.width+=Ce),Ce&&(Ue.prevTransform=H(),Ue.prevTextRise=X.textRise);let we=Fe.unicode;j(we)&&(Ue.str.push(\" \"),d?.addExtraChar(\" \")),d||Ue.str.push(we),Ve&&(ae.vertical?X.translateTextMatrix(0,-Ve):X.translateTextMatrix(Ve*X.textHScale,0))}}function Ae(){d?.addExtraChar(`\n`),S(),w.initialized?(w.hasEOL=!0,De()):x.items.push({str:\"\",dir:\"ltr\",width:0,height:0,transform:H(),fontName:X.loadedName,hasEOL:!0})}function Oe(Se,he,ae){if(ae*w.spaceInFlowMin<=Se&&Se<=ae*w.spaceInFlowMax)return w.initialized&&(S(),w.str.push(\" \"),d?.addExtraChar(\" \")),!1;let me=w.fontName,ge=0;return w.vertical&&(ge=Se,Se=0),De(),S(),re({width:Math.abs(Se),height:Math.abs(ge),transform:he||H(),fontName:me}),!0}function De(){!w.initialized||!w.str||(w.vertical?w.totalHeight+=w.height*w.textAdvanceScale:w.totalWidth+=w.width*w.textAdvanceScale,x.items.push(V(w)),w.initialized=!1,w.str.length=0)}function Ye(Se=0){if(!(!r||g<=Se))for(De();g>Se;g--)x.items.push({type:\"endMarkedContent\"})}function lt(Se=!1){let he=x.items.length;he!==0&&(Se&&he<vI||(a.enqueue(x,he),x.items=[],x.styles=Object.create(null)))}let Le=new Eh;return new Promise(function Se(he,ae){let me=function(Ge){lt(!0),Promise.all([Ge,a.ready]).then(function(){try{Se(he,ae)}catch(Ve){ae(Ve)}},ae)};t.ensureNotTerminated(),Le.reset();let ge={},qe,ye,Re,Fe=[];for(;!(qe=Le.check())&&(Fe.length=0,ge.args=Fe,!!de.read(ge));){X=i.state,ue||=X.clone();let Ge=ge.fn;switch(Fe=ge.args,Ge|0){case F.setFont:let Ve=Fe[0].name,ke=Fe[1];if(X.font&&Ve===X.fontName&&ke===X.fontSize)break;X.fontName=Ve,X.fontSize=ke,me($(Ve,null));return;case F.setTextRise:X.textRise=Fe[0];break;case F.setHScale:X.textHScale=Fe[0]/100;break;case F.setLeading:X.leading=Fe[0];break;case F.moveText:X.translateTextLineMatrix(Fe[0],Fe[1]),X.textMatrix=X.textLineMatrix.slice();break;case F.setLeadingMoveText:X.leading=-Fe[1],X.translateTextLineMatrix(Fe[0],Fe[1]),X.textMatrix=X.textLineMatrix.slice();break;case F.nextLine:X.carriageReturn();break;case F.setTextMatrix:X.setTextMatrix(Fe[0],Fe[1],Fe[2],Fe[3],Fe[4],Fe[5]),X.setTextLineMatrix(Fe[0],Fe[1],Fe[2],Fe[3],Fe[4],Fe[5]),z();break;case F.setCharSpacing:X.charSpacing=Fe[0];break;case F.setWordSpacing:X.wordSpacing=Fe[0];break;case F.beginText:X.textMatrix=ri.slice(),X.textLineMatrix=ri.slice(),b=g;break;case F.endText:b!==null&&(Ye(b),b=null);break;case F.showSpacedText:if(!i.state.font){E.ensureStateFont(i.state);continue}let Ce=(X.font.vertical?1:-1)*X.fontSize/1e3;for(let Ue of Fe[0])if(typeof Ue==\"string\")D.push(Ue);else if(typeof Ue==\"number\"&&Ue!==0){let we=D.join(\"\");D.length=0,le({chars:we,extraSpacing:Ue*Ce})}if(D.length>0){let Ue=D.join(\"\");D.length=0,le({chars:Ue,extraSpacing:0})}break;case F.showText:if(!i.state.font){E.ensureStateFont(i.state);continue}le({chars:Fe[0],extraSpacing:0});break;case F.nextLineShowText:if(!i.state.font){E.ensureStateFont(i.state);continue}X.carriageReturn(),le({chars:Fe[0],extraSpacing:0});break;case F.nextLineSetSpacingShowText:if(!i.state.font){E.ensureStateFont(i.state);continue}X.wordSpacing=Fe[0],X.charSpacing=Fe[1],X.carriageReturn(),le({chars:Fe[2],extraSpacing:0});break;case F.paintXObject:if(De(),N??=s.get(\"XObject\")||P.empty,Re=Fe[0]instanceof ce,ye=Fe[0].name,Re&&K.getByName(ye))break;me(new Promise(function(Ue,we){if(!Re)throw new se(\"XObject must be referred to by name.\");let Ne=N.getRaw(ye);if(Ne instanceof fe){if(K.getByRef(Ne)){Ue();return}if(E.globalImageCache.getData(Ne,E.pageIndex)){Ue();return}Ne=G.fetch(Ne)}if(!(Ne instanceof Xe))throw new se(\"XObject should be a stream\");let{dict:gt}=Ne,it=gt.get(\"Subtype\");if(!(it instanceof ce))throw new se(\"XObject should have a Name subtype\");if(it.name!==\"Form\"){K.set(ye,gt.objId,!0),Ue();return}let Nt=i.state.clone(),wn=new Co(Nt),en=ar(gt.getArray(\"Matrix\"),null);en&&wn.transform(en);let xn=gt.get(\"Resources\");lt();let Wt=Ry(a);E.getTextContent({stream:Ne,task:t,resources:xn instanceof P?xn:s,stateManager:wn,includeMarkedContent:r,sink:Wt,seenStyles:o,viewBox:l,lang:c,disableNormalization:f,keepWhiteSpace:h,prevRefs:m}).then(function(){Wt.enqueueInvoked||K.set(ye,gt.objId,!0),Ue()},we)}).catch(Ue=>{if(!(Ue instanceof _n)){if(E.options.ignoreErrors){B(`getTextContent - ignoring XObject: \"${Ue}\".`);return}throw Ue}}));return;case F.setGState:if(Re=Fe[0]instanceof ce,ye=Fe[0].name,Re&&ee.getByName(ye))break;me(new Promise(function(Ue,we){if(!Re)throw new se(\"GState must be referred to by name.\");let Ne=s.get(\"ExtGState\");if(!(Ne instanceof P))throw new se(\"ExtGState should be a dictionary.\");let gt=Ne.get(ye);if(!(gt instanceof P))throw new se(\"GState should be a dictionary.\");let it=gt.get(\"Font\");if(!it){ee.set(ye,gt.objId,!0),Ue();return}De(),X.fontName=null,X.fontSize=it[1],$(null,it[0]).then(Ue,we)}).catch(Ue=>{if(!(Ue instanceof _n)){if(E.options.ignoreErrors){B(`getTextContent - ignoring ExtGState: \"${Ue}\".`);return}throw Ue}}));return;case F.beginMarkedContent:De(),r&&(g++,x.items.push({type:\"beginMarkedContent\",tag:Fe[0]instanceof ce?Fe[0].name:null}));break;case F.beginMarkedContentProps:if(De(),r){g++;let Ue=Fe[1]instanceof P?Fe[1].get(\"MCID\"):null;x.items.push({type:\"beginMarkedContentProps\",id:Number.isInteger(Ue)?`${E.idFactory.getPageObjId()}_mc${Ue}`:null,tag:Fe[0]instanceof ce?Fe[0].name:null})}break;case F.endMarkedContent:if(De(),r){if(g===0)break;g--,x.items.push({type:\"endMarkedContent\"})}break}if(x.items.length>=a.desiredSize){qe=!0;break}}if(qe){me(Dy);return}De(),Ye(),lt(),he()}).catch(Se=>{if(!(Se instanceof _n)){if(this.options.ignoreErrors){B(`getTextContent - ignoring errors during \"${t.name}\" task: \"${Se}\".`),De(),Ye(),lt();return}throw Se}})}async extractDataStructures(e,t){let s=this.xref,i,r=this.readToUnicode(t.toUnicode);if(t.composite){let u=e.get(\"CIDSystemInfo\");u instanceof P&&!t.cidSystemInfo&&(t.cidSystemInfo={registry:st(u.get(\"Registry\")),ordering:st(u.get(\"Ordering\")),supplement:u.get(\"Supplement\")});try{let d=e.get(\"CIDToGIDMap\");d instanceof Xe&&(i=d.getBytes())}catch(d){if(!this.options.ignoreErrors)throw d;B(`extractDataStructures - ignoring CIDToGIDMap data: \"${d}\".`)}}let a=new Map,o=null,l;if(e.has(\"Encoding\")){if(l=e.get(\"Encoding\"),l instanceof P){if(o=l.get(\"BaseEncoding\"),o=o instanceof ce?o.name:null,l.has(\"Differences\")){let u=l.get(\"Differences\"),d=0;for(let p of u){let m=s.fetchIfRef(p);if(typeof m==\"number\")d=m;else if(m instanceof ce)a.set(d++,m.name);else throw new se(`Invalid entry in 'Differences' array: ${m}`)}}}else if(l instanceof ce)o=l.name;else{let u=\"Encoding is not a Name nor a Dict\";if(!this.options.ignoreErrors)throw new se(u);B(u)}o!==\"MacRomanEncoding\"&&o!==\"MacExpertEncoding\"&&o!==\"WinAnsiEncoding\"&&(o=null)}let c=!t.file||t.isInternalFont,f=y1()[t.name];if(o&&c&&f&&(o=null),o===\"WinAnsiEncoding\"&&c&&t.name?.charCodeAt(0)>=183){let u=t.name;if([\"\\xCB\\xCE\\xCC\\xE5\",\"\\xBA\\xDA\\xCC\\xE5\",\"\\xBF\\xAC\\xCC\\xE5\",\"\\xB7\\xC2\\xCB\\xCE\",\"\\xBF\\xAC\\xCC\\xE5_GB2312\",\"\\xB7\\xC2\\xCB\\xCE_GB2312\",\"\\xC1\\xA5\\xCA\\xE9\",\"\\xD0\\xC2\\xCB\\xCE\",\"\\xB7\\xC2\\xCB\\xCE\\xCC\\xE5\",\"\\xD0\\xA1\\xB1\\xEA\\xCB\\xCE\"].includes(u)){o=null,t.defaultEncoding=\"Adobe-GB1-UCS2\",t.composite=!0,t.cidEncoding=ce.get(\"GBK-EUC-H\");let p=await la.create({encoding:t.cidEncoding,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});t.cMap=p,t.vertical=t.cMap.vertical,t.cidSystemInfo={registry:\"Adobe\",ordering:\"GB1\",supplement:0}}}if(o)t.defaultEncoding=gc(o);else{let u=!!(t.flags&Hs.Symbolic),d=!!(t.flags&Hs.Nonsymbolic);t.type===\"TrueType\"&&u&&d&&a.size&&(t.flags&=~Hs.Symbolic,u=!1),l=cr,t.type===\"TrueType\"&&!d&&(l=mc),(u||f)&&(l=iv,c&&(/Symbol/i.test(t.name)?l=Cu:/Dingbats/i.test(t.name)?l=Tu:/Wingdings/i.test(t.name)&&(l=mc))),t.defaultEncoding=l}t.differences=a,t.baseEncodingName=o,t.hasEncoding=!!o||!!a.size,t.dict=e,t.toUnicode=await r;let h=await this.buildToUnicode(t);return t.toUnicode=h,i&&(t.cidToGidMap=this.readCidToGidMap(i,h)),t}_simpleFontToUnicode(e,t=!1){Qt(!e.composite,\"Must be a simple font.\");let s=new xi,i=e.defaultEncoding.slice(),r=e.baseEncodingName;for(let[o,l]of e.differences)l!==\".notdef\"&&(i[o]=l);let a=gi();for(let o in i){let l=i[o];if(l===\"\")continue;let c=a[l];if(c!==void 0){s.set(+o,String.fromCharCode(c));continue}let f=0;switch(l[0]){case\"G\":l.length===3&&(f=parseInt(l.substring(1),16));break;case\"g\":l.length===5&&(f=parseInt(l.substring(1),16));break;case\"C\":case\"c\":if(l.length>=3&&l.length<=4){let h=l.substring(1);if(t){f=parseInt(h,16);break}if(f=+h,Number.isNaN(f)&&Number.isInteger(parseInt(h,16)))return this._simpleFontToUnicode(e,!0)}break;case\"u\":c=Oo(l,a),c!==-1&&(f=c);break;default:switch(l){case\"f_h\":case\"f_t\":case\"T_h\":s.set(+o,l.replaceAll(\"_\",\"\"));continue}break}if(f>0&&f<=1114111&&Number.isInteger(f)){if(r&&f===+o){let h=gc(r);if(h&&(l=h[o])){s.set(+o,String.fromCharCode(a[l]));continue}}s.set(+o,String.fromCodePoint(f))}}return s}async buildToUnicode(e){if(e.hasIncludedToUnicodeMap=!!e.toUnicode?.size,e.hasIncludedToUnicodeMap)return!e.composite&&e.hasEncoding&&(e.fallbackToUnicode=this._simpleFontToUnicode(e)),e.toUnicode;if(!e.composite)return new pa(this._simpleFontToUnicode(e));if(e.cMap.builtInCMap&&!(e.cMap instanceof xa)||e.cidSystemInfo?.registry===\"Adobe\"&&(e.cidSystemInfo.ordering===\"GB1\"||e.cidSystemInfo.ordering===\"CNS1\"||e.cidSystemInfo.ordering===\"Japan1\"||e.cidSystemInfo.ordering===\"Korea1\")){let{registry:t,ordering:s}=e.cidSystemInfo,i=ce.get(`${t}-${s}-UCS2`),r=await la.create({encoding:i,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),a=new xi,o=[];return e.cMap.forEach((l,c)=>{if(c>65535)throw new se(\"Max size of CID is 65,535\");let f=r.lookup(c);if(f){o.length=0;for(let h=0,u=f.length;h<u;h+=2)o.push((f.charCodeAt(h)<<8)+f.charCodeAt(h+1));a.set(l,String.fromCharCode(...o))}}),new pa(a)}return new Is(e.firstChar,e.lastChar)}async readToUnicode(e){if(!e)return null;if(e instanceof ce){let t=await la.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});return t instanceof xa?new Is(0,65535):new pa(t.getMap())}if(e instanceof Xe)try{let t=await la.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});if(t instanceof xa)return new Is(0,65535);let s=new xi;return t.forEach((i,r)=>{if(typeof r==\"number\"){s.set(i,String.fromCodePoint(r));return}r.length%2!==0&&(r=\"\\0\"+r);let a=[];for(let o=0;o<r.length;o+=2){let l=r.charCodeAt(o)<<8|r.charCodeAt(o+1);if((l&63488)!==55296){a.push(l);continue}o+=2;let c=r.charCodeAt(o)<<8|r.charCodeAt(o+1);a.push(((l&1023)<<10)+(c&1023)+65536)}s.set(i,String.fromCodePoint(...a))}),new pa(s)}catch(t){if(t instanceof _n)return null;if(this.options.ignoreErrors)return B(`readToUnicode - ignoring ToUnicode data: \"${t}\".`),null;throw t}return null}readCidToGidMap(e,t){let s=new xi;for(let i=0,r=e.length;i<r;i++){let a=e[i++]<<8|e[i],o=i>>1;a===0&&!t.has(o)||s.set(o,a)}return s}extractWidths(e,t,s){let i=this.xref,r=[],a=0,o=[],l;if(s.composite){let h=e.get(\"DW\");a=typeof h==\"number\"?Math.ceil(h):1e3;let u=e.get(\"W\");if(Array.isArray(u))for(let d=0,p=u.length;d<p;d++){let m=i.fetchIfRef(u[d++]);if(!Number.isInteger(m))break;let g=i.fetchIfRef(u[d]);if(Array.isArray(g))for(let b of g){let x=i.fetchIfRef(b);typeof x==\"number\"&&(r[m]=x),m++}else if(Number.isInteger(g)){let b=i.fetchIfRef(u[++d]);if(typeof b!=\"number\")continue;for(let x=m;x<=g;x++)r[x]=b}else break}if(s.vertical){let d=e.getArray(\"DW2\"),p=tn(d,2)?d:[880,-1e3];if(l=[p[1],a*.5,p[0]],p=e.get(\"W2\"),Array.isArray(p))for(let m=0,g=p.length;m<g;m++){let b=i.fetchIfRef(p[m++]);if(!Number.isInteger(b))break;let x=i.fetchIfRef(p[m]);if(Array.isArray(x))for(let w=0,v=x.length;w<v;w++){let k=[i.fetchIfRef(x[w++]),i.fetchIfRef(x[w++]),i.fetchIfRef(x[w])];tn(k,null)&&(o[b]=k),b++}else if(Number.isInteger(x)){let w=[i.fetchIfRef(p[++m]),i.fetchIfRef(p[++m]),i.fetchIfRef(p[++m])];if(!tn(w,null))continue;for(let v=b;v<=x;v++)o[v]=w}else break}}}else{let h=e.get(\"Widths\");if(Array.isArray(h)){let u=s.firstChar;for(let p of h){let m=i.fetchIfRef(p);typeof m==\"number\"&&(r[u]=m),u++}let d=t.get(\"MissingWidth\");a=typeof d==\"number\"?d:0}else{let u=e.get(\"BaseFont\");if(u instanceof ce){let d=this.getBaseFontMetrics(u.name);r=this.buildCharCodeToWidth(d.widths,s),a=d.defaultWidth}}}let c=!0,f=a;for(let h in r){let u=r[h];if(u){if(!f){f=u;continue}if(f!==u){c=!1;break}}}c?s.flags|=Hs.FixedPitch:s.flags&=~Hs.FixedPitch,s.defaultWidth=a,s.widths=r,s.defaultVMetrics=l,s.vmetrics=o}isSerifFont(e){let t=e.split(\"-\",1)[0];return t in rv()||/serif/i.test(t)}getBaseFontMetrics(e){let t=0,s=Object.create(null),i=!1,r=Mr(e);r=kc()[r]||r;let o=o4(),l=o[r]??o[this.isSerifFont(e)?\"Times-Roman\":\"Helvetica\"];return typeof l==\"number\"?(t=l,i=!0):s=l(),{defaultWidth:t,monospace:i,widths:s}}buildCharCodeToWidth(e,t){let s=Object.create(null),i=t.differences,r=t.defaultEncoding;for(let a=0;a<256;a++){let o=i.has(a)&&e[i.get(a)]||a in r&&e[r[a]];o&&(s[a]=o)}return s}preEvaluateFont(e){let t=e,s=e.get(\"Subtype\");if(!(s instanceof ce))throw new se(\"invalid font Subtype\");let i=!1,r;if(s.name===\"Type0\"){let f=e.get(\"DescendantFonts\");if(!f)throw new se(\"Descendant fonts are not specified\");if(e=Array.isArray(f)?this.xref.fetchIfRef(f[0]):f,!(e instanceof P))throw new se(\"Descendant font is not a dictionary.\");if(s=e.get(\"Subtype\"),!(s instanceof ce))throw new se(\"invalid font Subtype\");i=!0}let a=e.get(\"FirstChar\");Number.isInteger(a)||(a=0);let o=e.get(\"LastChar\");Number.isInteger(o)||(o=i?65535:255);let l=e.get(\"FontDescriptor\"),c=e.get(\"ToUnicode\")||t.get(\"ToUnicode\");if(l){r=new Th;let f=t.getRaw(\"Encoding\");if(f instanceof ce)r.update(f.name);else if(f instanceof fe)r.update(f.toString());else if(f instanceof P){for(let u of f.getRawValues())if(u instanceof ce)r.update(u.name);else if(u instanceof fe)r.update(u.toString());else if(Array.isArray(u)){let d=u.length,p=new Array(d);for(let m=0;m<d;m++){let g=u[m];g instanceof ce?p[m]=g.name:(typeof g==\"number\"||g instanceof fe)&&(p[m]=g.toString())}r.update(p.join())}}if(r.update(`${a}-${o}`),c instanceof Xe){let u=c.stream||c,d=u.buffer?new Uint8Array(u.buffer.buffer,0,u.bufferLength):new Uint8Array(u.bytes.buffer,u.start,u.end-u.start);r.update(d)}else c instanceof ce&&r.update(c.name);let h=e.get(\"Widths\")||t.get(\"Widths\");if(Array.isArray(h)){let u=[];for(let d of h)(typeof d==\"number\"||d instanceof fe)&&u.push(d.toString());r.update(u.join())}if(i){r.update(\"compositeFont\");let u=e.get(\"W\")||t.get(\"W\");if(Array.isArray(u)){let p=[];for(let m of u)if(typeof m==\"number\"||m instanceof fe)p.push(m.toString());else if(Array.isArray(m)){let g=[];for(let b of m)(typeof b==\"number\"||b instanceof fe)&&g.push(b.toString());p.push(`[${g.join()}]`)}r.update(p.join())}let d=e.getRaw(\"CIDToGIDMap\")||t.getRaw(\"CIDToGIDMap\");d instanceof ce?r.update(d.name):d instanceof fe?r.update(d.toString()):d instanceof Xe&&r.update(d.peekBytes())}if(s.name===\"Type3\"){let u=t.get(\"CharProcs\");if(u instanceof P)for(let[d,p]of u.getRawEntries())r.update(p instanceof fe?`${d}\\0${p}`:d)}}return{descriptor:l,dict:e,baseDict:t,composite:i,type:s.name,firstChar:a,lastChar:o,toUnicode:c,hash:r?r.hexdigest():\"\"}}async translateFont({descriptor:e,dict:t,baseDict:s,composite:i,type:r,firstChar:a,lastChar:o,toUnicode:l,cssFontInfo:c}){let f=r===\"Type3\";if(!e)if(f)e=P.empty;else if(i)e=P.empty;else{let K=t.get(\"BaseFont\");if(!(K instanceof ce))throw new se(\"Base font is not specified\");K=Mr(K.name);let ee=this.getBaseFontMetrics(K),de=K.split(\"-\",1)[0],X=(this.isSerifFont(de)?Hs.Serif:0)|(ee.monospace?Hs.FixedPitch:0)|(y1()[de]?Hs.Symbolic:Hs.Nonsymbolic),ue={type:r,name:K,loadedName:s.loadedName,systemFontInfo:null,widths:ee.widths,defaultWidth:ee.defaultWidth,isSimulatedFlags:!0,flags:X,firstChar:a,lastChar:o,toUnicode:l,xHeight:0,capHeight:0,italicAngle:0,isType3Font:f},re=t.get(\"Widths\"),H=mm(K),O=null;H&&(O=await this.fetchStandardFontData(H),ue.isInternalFont=!!O),!ue.isInternalFont&&this.options.useSystemFonts&&(ue.systemFontInfo=km(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,K,H,r));let z=await this.extractDataStructures(t,ue);if(Array.isArray(re)){let V=[],$=a;for(let te of re){let ie=this.xref.fetchIfRef(te);typeof ie==\"number\"&&(V[$]=ie),$++}z.widths=V}else z.widths=this.buildCharCodeToWidth(ee.widths,z);return new vh(K,O,z,this.options)}let h=e.get(\"FontName\"),u=t.get(\"BaseFont\");typeof h==\"string\"&&(h=ce.get(h)),typeof u==\"string\"&&(u=ce.get(u));let d=h?.name,p=u?.name;if(f?d||(h=ce.get(r)):d!==p&&(kt(`The FontDescriptor's FontName is \"${d}\" but should be the same as the Font's BaseFont \"${p}\".`),d&&p&&(p.startsWith(d)||!uy(d)&&uy(p))&&(h=null),h||=u),!(h instanceof ce))throw new se(\"invalid font name\");let m,g,b,x,w,v;try{for(let K of[\"FontFile\",\"FontFile2\",\"FontFile3\"])if(m=e.get(K),m){g=K;break}if(m)if(m instanceof Xe){if(m.isAsync){let K=await m.asyncGetBytes();K&&(m=new Ft(K,0,K.length,m.dict))}if(m.isEmpty)throw new se(\"FontFile is empty\")}else throw new se(\"FontFile should be a stream\")}catch(K){if(!this.options.ignoreErrors)throw K;B(`translateFont - fetching \"${h.name}\" font file: \"${K}\".`),m=null}let k=!1,j=null,A=null;if(m){if(m.dict){let K=m.dict.get(\"Subtype\");K instanceof ce&&(b=K.name),x=m.dict.get(\"Length1\"),w=m.dict.get(\"Length2\"),v=m.dict.get(\"Length3\")}}else if(c){let K=ov(h.name);K&&(c.fontFamily=`${c.fontFamily}-PdfJS-XFA`,c.metrics=K.metrics||null,j=K.factors||null,m=await this.fetchStandardFontData(K.name),k=!!m,s=t=d4(h.name),i=!0)}else if(!f){let K=mm(h.name);K&&(m=await this.fetchStandardFontData(K),k=!!m),!k&&this.options.useSystemFonts&&(A=km(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,h.name,K,r))}let S=ar(t.getArray(\"FontMatrix\"),ba),q=Ui(e.getArray(\"FontBBox\")||t.getArray(\"FontBBox\"),f?[0,0,0,0]:void 0),_=e.get(\"Ascent\");typeof _!=\"number\"&&(_=void 0);let I=e.get(\"Descent\");typeof I!=\"number\"&&(I=void 0);let C=e.get(\"XHeight\");typeof C!=\"number\"&&(C=0);let T=e.get(\"CapHeight\");typeof T!=\"number\"&&(T=0);let M=e.get(\"Flags\");Number.isInteger(M)||(M=0);let E=e.get(\"ItalicAngle\");typeof E!=\"number\"&&(E=0);let G={type:r,name:h.name,subtype:b,file:m,fontFileN:g,length1:x,length2:w,length3:v,isInternalFont:k,loadedName:s.loadedName,composite:i,fixedPitch:!1,fontMatrix:S,firstChar:a,lastChar:o,toUnicode:l,bbox:q,ascent:_,descent:I,xHeight:C,capHeight:T,flags:M,italicAngle:E,isType3Font:f,cssFontInfo:c,scaleFactors:j,systemFontInfo:A};if(i){let K=s.get(\"Encoding\");K instanceof ce&&(G.cidEncoding=K.name);let ee=await la.create({encoding:K,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});G.cMap=ee,G.vertical=G.cMap.vertical}let D=await this.extractDataStructures(t,G);this.extractWidths(t,e,D);let N=new vh(h.name,m,D,this.options);if(N.missingFile&&!N.systemFontInfo&&!f&&this.options.useSystemFonts){let K=mm(h.name),ee=km(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,h.name,K,r);ee&&(ee.guessFallback&&(ee.guessFallback=!1,ee.css+=`,${N.fallbackName}`),N.systemFontInfo=ee)}return N}static buildFontPaths(e,t,s,i){function r(a){let o=`${e.loadedName}_path_${a}`;try{let l=e.renderer.getPath(a);if(!l)return;s.send(\"commonobj\",[o,\"FontPath\",l],[l])}catch(l){if(i.ignoreErrors){B(`buildFontPaths - ignoring ${o} glyph: \"${l}\".`);return}throw l}}for(let a of t){r(a.fontChar);let o=a.accent;o?.fontChar&&r(o.fontChar)}}static get fallbackFontDict(){let e=new P;return e.set(\"BaseFont\",ce.get(\"Helvetica\")),e.set(\"Type\",ce.get(\"FallbackType\")),e.set(\"Subtype\",ce.get(\"FallbackType\")),e.set(\"Encoding\",ce.get(\"WinAnsiEncoding\")),je(this,\"fallbackFontDict\",e)}},ec=class{#e=!1;#n=null;constructor({loadedName:e,font:t,dict:s}){this.loadedName=e,this.font=t,this.dict=s,this.type3Dependencies=t.isType3Font?new Set:null}send(e){if(this.#e)return;this.#e=!0;let t=this.font.exportData(),s=t.buffer?[t.buffer]:null;e.send(\"commonobj\",[this.loadedName,\"Font\",t],s)}fallback(e,t){this.font.data&&(this.font.disableFontFace=!0,Sc.buildFontPaths(this.font,this.font.glyphCacheValues,e,t))}async loadType3Data(e,t,s,i=null){if(this.#n)return this.#n;let{dict:r,font:a,type3Dependencies:o}=this;Qt(a.isType3Font,\"Must be a Type3 font.\");let{promise:l,resolve:c}=Promise.withResolvers();this.#n=l;let f=e.clone({ignoreErrors:!1}),h=new xt(e.type3FontRefs);r.objId&&h.put(r.objId),f.type3FontRefs=h;let u=r.get(\"CharProcs\"),d=r.get(\"Resources\")||t,p=new Map,[m,g,b,x]=a.bbox,w=Math.hypot(b-m,x-g);for(let v of u.getKeys())try{let k=new Gs;switch(await f.getOperatorList({stream:u.get(v),task:s,resources:d,operatorList:k,prevRefs:i}),k.fnArray[0]){case F.setCharWidthAndBounds:this.#t(k,w);break;case F.setCharWidth:w||this.#s(k),k.fnArray.splice(1,0,F.setGState),k.argsArray.splice(1,0,[[[\"ca\",1],[\"CA\",1]]]);break}p.set(v,k.getIR());for(let j of k.dependencies)o.add(j)}catch{B(`Type3 font resource \"${v}\" is not available.`),p.set(v,new Gs().getIR())}return a.charProcOperatorList=p,this._bbox&&(a.isCharBBox=!0,a.bbox=this._bbox),c(),this.#n}#t(e,t=NaN){let s=ft.normalizeRect(e.argsArray[0].slice(2)),i=s[2]-s[0],r=s[3]-s[1],a=Math.hypot(i,r);i===0||r===0?(e.fnArray.splice(0,1),e.argsArray.splice(0,1)):(t===0||Math.round(a/t)>=10)&&(this._bbox??=dr.slice(),ft.rectBoundingBox(...s,this._bbox));let o=0,l=e.length;for(;o<l;){switch(e.fnArray[o]){case F.setCharWidthAndBounds:break;case F.setStrokeColorSpace:case F.setFillColorSpace:case F.setStrokeColor:case F.setStrokeColorN:case F.setFillColor:case F.setFillColorN:case F.setStrokeGray:case F.setFillGray:case F.setStrokeRGBColor:case F.setFillRGBColor:case F.setStrokeCMYKColor:case F.setFillCMYKColor:case F.shadingFill:case F.setRenderingIntent:e.fnArray.splice(o,1),e.argsArray.splice(o,1),l--;continue;case F.setGState:let[c]=e.argsArray[o],f=0,h=c.length;for(;f<h;){let[u]=c[f];switch(u){case\"TR\":case\"TR2\":case\"HT\":case\"BG\":case\"BG2\":case\"UCR\":case\"UCR2\":c.splice(f,1),h--;continue}f++}break}o++}}#s(e){let t=1,s=e.length;for(;t<s;){if(e.fnArray[t]===F.constructPath){let i=e.argsArray[t][2];this._bbox??=dr.slice(),ft.rectBoundingBox(...i,this._bbox)}t++}}},Co=class{constructor(e=new Rh){this.state=e,this.stateStack=[]}save(){let e=this.state;this.stateStack.push(this.state),this.state=e.clone()}restore(){let e=this.stateStack.pop();e&&(this.state=e)}transform(e){this.state.ctm=ft.transform(this.state.ctm,e)}},fg=class{ctm=new Float32Array(ri);fontName=null;fontSize=0;loadedName=null;font=null;fontMatrix=ba;textMatrix=ri.slice();textLineMatrix=ri.slice();charSpacing=0;wordSpacing=0;leading=0;textHScale=1;textRise=0;setTextMatrix(e,t,s,i,r,a){let o=this.textMatrix;o[0]=e,o[1]=t,o[2]=s,o[3]=i,o[4]=r,o[5]=a}setTextLineMatrix(e,t,s,i,r,a){let o=this.textLineMatrix;o[0]=e,o[1]=t,o[2]=s,o[3]=i,o[4]=r,o[5]=a}translateTextMatrix(e,t){let s=this.textMatrix;s[4]=s[0]*e+s[2]*t+s[4],s[5]=s[1]*e+s[3]*t+s[5]}translateTextLineMatrix(e,t){let s=this.textLineMatrix;s[4]=s[0]*e+s[2]*t+s[4],s[5]=s[1]*e+s[3]*t+s[5]}carriageReturn(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}clone(){let e=Object.assign(Object.create(this),this);return e.textMatrix=this.textMatrix.slice(),e.textLineMatrix=this.textLineMatrix.slice(),e.fontMatrix=this.fontMatrix.slice(),e}},Rh=class{ctm=new Float32Array(ri);font=null;textRenderingMode=R8.FILL;_fillColorSpace=bt.gray;_strokeColorSpace=bt.gray;patternFillColorSpace=null;patternStrokeColorSpace=null;currentPointX=0;currentPointY=0;pathMinMax=K0.slice();pathBuffer=[];get fillColorSpace(){return this._fillColorSpace}set fillColorSpace(e){this._fillColorSpace=this.patternFillColorSpace=e}get strokeColorSpace(){return this._strokeColorSpace}set strokeColorSpace(e){this._strokeColorSpace=this.patternStrokeColorSpace=e}clone({newPath:e=!1}={}){let t=Object.create(this);return e&&(t.pathBuffer=[],t.pathMinMax=K0.slice()),t}},Mo=class n{static get opMap(){return je(this,\"opMap\",Object.assign(Object.create(null),{w:{id:F.setLineWidth,numArgs:1,variableArgs:!1},J:{id:F.setLineCap,numArgs:1,variableArgs:!1},j:{id:F.setLineJoin,numArgs:1,variableArgs:!1},M:{id:F.setMiterLimit,numArgs:1,variableArgs:!1},d:{id:F.setDash,numArgs:2,variableArgs:!1},ri:{id:F.setRenderingIntent,numArgs:1,variableArgs:!1},i:{id:F.setFlatness,numArgs:1,variableArgs:!1},gs:{id:F.setGState,numArgs:1,variableArgs:!1},q:{id:F.save,numArgs:0,variableArgs:!1},Q:{id:F.restore,numArgs:0,variableArgs:!1},cm:{id:F.transform,numArgs:6,variableArgs:!1},m:{id:F.moveTo,numArgs:2,variableArgs:!1},l:{id:F.lineTo,numArgs:2,variableArgs:!1},c:{id:F.curveTo,numArgs:6,variableArgs:!1},v:{id:F.curveTo2,numArgs:4,variableArgs:!1},y:{id:F.curveTo3,numArgs:4,variableArgs:!1},h:{id:F.closePath,numArgs:0,variableArgs:!1},re:{id:F.rectangle,numArgs:4,variableArgs:!1},S:{id:F.stroke,numArgs:0,variableArgs:!1},s:{id:F.closeStroke,numArgs:0,variableArgs:!1},f:{id:F.fill,numArgs:0,variableArgs:!1},F:{id:F.fill,numArgs:0,variableArgs:!1},\"f*\":{id:F.eoFill,numArgs:0,variableArgs:!1},B:{id:F.fillStroke,numArgs:0,variableArgs:!1},\"B*\":{id:F.eoFillStroke,numArgs:0,variableArgs:!1},b:{id:F.closeFillStroke,numArgs:0,variableArgs:!1},\"b*\":{id:F.closeEOFillStroke,numArgs:0,variableArgs:!1},n:{id:F.endPath,numArgs:0,variableArgs:!1},W:{id:F.clip,numArgs:0,variableArgs:!1},\"W*\":{id:F.eoClip,numArgs:0,variableArgs:!1},BT:{id:F.beginText,numArgs:0,variableArgs:!1},ET:{id:F.endText,numArgs:0,variableArgs:!1},Tc:{id:F.setCharSpacing,numArgs:1,variableArgs:!1},Tw:{id:F.setWordSpacing,numArgs:1,variableArgs:!1},Tz:{id:F.setHScale,numArgs:1,variableArgs:!1},TL:{id:F.setLeading,numArgs:1,variableArgs:!1},Tf:{id:F.setFont,numArgs:2,variableArgs:!1},Tr:{id:F.setTextRenderingMode,numArgs:1,variableArgs:!1},Ts:{id:F.setTextRise,numArgs:1,variableArgs:!1},Td:{id:F.moveText,numArgs:2,variableArgs:!1},TD:{id:F.setLeadingMoveText,numArgs:2,variableArgs:!1},Tm:{id:F.setTextMatrix,numArgs:6,variableArgs:!1},\"T*\":{id:F.nextLine,numArgs:0,variableArgs:!1},Tj:{id:F.showText,numArgs:1,variableArgs:!1},TJ:{id:F.showSpacedText,numArgs:1,variableArgs:!1},\"'\":{id:F.nextLineShowText,numArgs:1,variableArgs:!1},'\"':{id:F.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},d0:{id:F.setCharWidth,numArgs:2,variableArgs:!1},d1:{id:F.setCharWidthAndBounds,numArgs:6,variableArgs:!1},CS:{id:F.setStrokeColorSpace,numArgs:1,variableArgs:!1},cs:{id:F.setFillColorSpace,numArgs:1,variableArgs:!1},SC:{id:F.setStrokeColor,numArgs:4,variableArgs:!0},SCN:{id:F.setStrokeColorN,numArgs:33,variableArgs:!0},sc:{id:F.setFillColor,numArgs:4,variableArgs:!0},scn:{id:F.setFillColorN,numArgs:33,variableArgs:!0},G:{id:F.setStrokeGray,numArgs:1,variableArgs:!1},g:{id:F.setFillGray,numArgs:1,variableArgs:!1},RG:{id:F.setStrokeRGBColor,numArgs:3,variableArgs:!1},rg:{id:F.setFillRGBColor,numArgs:3,variableArgs:!1},K:{id:F.setStrokeCMYKColor,numArgs:4,variableArgs:!1},k:{id:F.setFillCMYKColor,numArgs:4,variableArgs:!1},sh:{id:F.shadingFill,numArgs:1,variableArgs:!1},BI:{id:F.beginInlineImage,numArgs:0,variableArgs:!1},ID:{id:F.beginImageData,numArgs:0,variableArgs:!1},EI:{id:F.endInlineImage,numArgs:1,variableArgs:!1},Do:{id:F.paintXObject,numArgs:1,variableArgs:!1},MP:{id:F.markPoint,numArgs:1,variableArgs:!1},DP:{id:F.markPointProps,numArgs:2,variableArgs:!1},BMC:{id:F.beginMarkedContent,numArgs:1,variableArgs:!1},BDC:{id:F.beginMarkedContentProps,numArgs:2,variableArgs:!1},EMC:{id:F.endMarkedContent,numArgs:0,variableArgs:!1},BX:{id:F.beginCompat,numArgs:0,variableArgs:!1},EX:{id:F.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}))}static MAX_INVALID_PATH_OPS=10;constructor(e,t,s=new Co){this.parser=new Pi({lexer:new Ls(e,n.opMap),xref:t}),this.stateManager=s,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}get savedStatesDepth(){return this.stateManager.stateStack.length}read(e){let t=e.args;for(;;){let s=this.parser.getObj();if(s instanceof jn){let i=s.cmd,r=n.opMap[i];if(!r){B(`Unknown command \"${i}\".`);continue}let a=r.id,o=r.numArgs,l=t!==null?t.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=a>=F.moveTo&&a<=F.endPath,r.variableArgs)l>o&&kt(`Command ${i}: expected [0, ${o}] args, but received ${l} args.`);else{if(l!==o){let c=this.nonProcessedArgs;for(;l>o;)c.push(t.shift()),l--;for(;l<o&&c.length!==0;)t===null&&(t=[]),t.unshift(c.pop()),l++}if(l<o){let c=`command ${i}: expected ${o} args, but received ${l} args.`;if(this._isPathOp&&++this._numInvalidPathOPS>n.MAX_INVALID_PATH_OPS)throw new se(`Invalid ${c}`);B(`Skipping ${c}`),t!==null&&(t.length=0);continue}}return this.preprocessCommand(a,t),e.fn=a,e.args=t,!0}if(s===Kn)return!1;if(s!==null&&(t===null&&(t=[]),t.push(s),t.length>33))throw new se(\"Too many arguments\")}}preprocessCommand(e,t){switch(e|0){case F.save:this.stateManager.save();break;case F.restore:this.stateManager.restore();break;case F.transform:this.stateManager.transform(t);break}}},hg=class extends Mo{constructor(e){super(new Hn(e))}parse(){let e={fn:0,args:[]},t={fontSize:0,fontName:\"\",fontColor:new Uint8ClampedArray(3)};try{for(;e.args.length=0,!!this.read(e);){if(this.savedStatesDepth!==0)continue;let{fn:s,args:i}=e;switch(s|0){case F.setFont:let[r,a]=i;r instanceof ce&&(t.fontName=r.name),typeof a==\"number\"&&a>0&&(t.fontSize=a);break;case F.setFillRGBColor:bt.rgb.getRgbItem(i,0,t.fontColor,0);break;case F.setFillGray:bt.gray.getRgbItem(i,0,t.fontColor,0);break;case F.setFillCMYKColor:bt.cmyk.getRgbItem(i,0,t.fontColor,0);break}}}catch(s){B(`parseDefaultAppearance - ignoring errors: \"${s}\".`)}return t}};function cv(n){return new hg(n).parse()}var ug=class extends Mo{constructor(e,t,s){super(e),this.stream=e,this.xref=t,this.globalColorSpaceCache=s,this.resources=e.dict?.get(\"Resources\")}parse(){let e={fn:0,args:[]},t={scaleFactor:1,fontSize:0,fontName:\"\",fontColor:new Uint8ClampedArray(3),fillColorSpace:bt.gray},s=!1,i=[];try{for(;e.args.length=0,!(s||!this.read(e));){let{fn:r,args:a}=e;switch(r|0){case F.save:i.push({scaleFactor:t.scaleFactor,fontSize:t.fontSize,fontName:t.fontName,fontColor:t.fontColor.slice(),fillColorSpace:t.fillColorSpace});break;case F.restore:t=i.pop()||t;break;case F.setTextMatrix:let o=ft.transform(this.stateManager.state.ctm,a);t.scaleFactor*=Math.hypot(o[0],o[1]);break;case F.setFont:let[l,c]=a;l instanceof ce&&(t.fontName=l.name),typeof c==\"number\"&&c>0&&(t.fontSize=c);break;case F.setFillColorSpace:t.fillColorSpace=bt.parse({cs:a[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:this._localColorSpaceCache});break;case F.setFillColor:t.fillColorSpace.getRgbItem(a,0,t.fontColor,0);break;case F.setFillRGBColor:bt.rgb.getRgbItem(a,0,t.fontColor,0);break;case F.setFillGray:bt.gray.getRgbItem(a,0,t.fontColor,0);break;case F.setFillCMYKColor:bt.cmyk.getRgbItem(a,0,t.fontColor,0);break;case F.showText:case F.showSpacedText:case F.nextLineShowText:case F.nextLineSetSpacingShowText:t.fontSize*=t.scaleFactor,s=!0;break}}}catch(r){B(`parseAppearanceStream - ignoring errors: \"${r}\".`)}return this.stream.reset(),delete t.scaleFactor,delete t.fillColorSpace,t}get _localColorSpaceCache(){return je(this,\"_localColorSpaceCache\",new _h)}get _pdfFunctionFactory(){return je(this,\"_pdfFunctionFactory\",new Ac({xref:this.xref}))}};function yI(n,e,t){return new ug(n,e,t).parse()}function ki(n,e){if(n[0]===n[1]&&n[1]===n[2]){let t=n[0]/255;return`${_t(t)} ${e?\"g\":\"G\"}`}return Array.from(n,t=>_t(t/255)).join(\" \")+` ${e?\"rg\":\"RG\"}`}function kI({fontSize:n,fontName:e,fontColor:t}){return`/${tv(e)} ${n} Tf ${ki(t,!0)}`}var qc=class n{static#e=1;constructor(e,t){this.xref=e,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=t;let s=new OffscreenCanvas(1,1);this.ctxMeasure=s.getContext(\"2d\",{willReadFrequently:!0}),this.fontName=ce.get(`InvalidPDFjsFont_${t}_${n.#e++}`)}get fontDescriptorRef(){if(!n._fontDescriptorRef){let e=new P(this.xref);e.setIfName(\"Type\",\"FontDescriptor\"),e.set(\"FontName\",this.fontName),e.set(\"FontFamily\",\"MyriadPro Regular\"),e.set(\"FontBBox\",[0,0,0,0]),e.setIfName(\"FontStretch\",\"Normal\"),e.set(\"FontWeight\",400),e.set(\"ItalicAngle\",0),n._fontDescriptorRef=this.xref.getNewPersistentRef(e)}return n._fontDescriptorRef}get descendantFontRef(){let e=new P(this.xref);e.set(\"BaseFont\",this.fontName),e.setIfName(\"Type\",\"Font\"),e.setIfName(\"Subtype\",\"CIDFontType0\"),e.setIfName(\"CIDToGIDMap\",\"Identity\"),e.set(\"FirstChar\",this.firstChar),e.set(\"LastChar\",this.lastChar),e.set(\"FontDescriptor\",this.fontDescriptorRef),e.set(\"DW\",1e3);let t=[],s=[...this.widths].sort(),i=null,r=null;for(let[o,l]of s){if(!i){i=o,r=[l];continue}o===i+r.length?r.push(l):(t.push(i,r),i=o,r=[l])}i&&t.push(i,r),e.set(\"W\",t);let a=new P(this.xref);return a.set(\"Ordering\",\"Identity\"),a.set(\"Registry\",\"Adobe\"),a.set(\"Supplement\",0),e.set(\"CIDSystemInfo\",a),this.xref.getNewPersistentRef(e)}get baseFontRef(){let e=new P(this.xref);return e.set(\"BaseFont\",this.fontName),e.setIfName(\"Type\",\"Font\"),e.setIfName(\"Subtype\",\"Type0\"),e.setIfName(\"Encoding\",\"Identity-H\"),e.set(\"DescendantFonts\",[this.descendantFontRef]),e.setIfName(\"ToUnicode\",\"Identity-H\"),this.xref.getNewPersistentRef(e)}get resources(){let e=new P(this.xref),t=new P(this.xref);return t.set(this.fontName.name,this.baseFontRef),e.set(\"Font\",t),e}_createContext(){return this.widths=new Map,this.ctxMeasure.font=`1000px ${this.fontFamily}`,this.ctxMeasure}createFontResources(e){let t=this._createContext();for(let s of e.split(/\\r\\n?|\\n/))for(let i of s.split(\"\")){let r=i.charCodeAt(0);if(this.widths.has(r))continue;let a=t.measureText(i),o=Math.ceil(a.width);this.widths.set(r,o),this.firstChar=Math.min(r,this.firstChar),this.lastChar=Math.max(r,this.lastChar)}return this.resources}static getFirstPositionInfo(e,t,s){let[i,r,a,o]=e,l=a-i,c=o-r;t%180!==0&&([l,c]=[c,l]);let f=1.35*s,h=.35*s;return{coords:[0,c+h-f],bbox:[0,0,l,c],matrix:t!==0?J0(t,c,f):void 0}}createAppearance(e,t,s,i,r,a){let o=this._createContext(),l=[],c=-1/0;for(let C of e.split(/\\r\\n?|\\n/)){l.push(C);let T=o.measureText(C).width;c=Math.max(c,T);for(let M of iS(C)){let E=String.fromCodePoint(M),G=this.widths.get(M);if(G===void 0){let D=o.measureText(E);G=Math.ceil(D.width),this.widths.set(M,G),this.firstChar=Math.min(M,this.firstChar),this.lastChar=Math.max(M,this.lastChar)}}}c*=i/1e3;let[f,h,u,d]=t,p=u-f,m=d-h;s%180!==0&&([p,m]=[m,p]);let g=c>p?p/c:1,b=1,x=1.35*i,w=.35*i,v=x*l.length;v>m&&(b=m/v);let k=Math.min(g,b),j=i*k,A=[\"q\",`0 0 ${_t(p)} ${_t(m)} re W n`,\"BT\",`1 0 0 1 0 ${_t(m+w)} Tm 0 Tc ${ki(r,!0)}`,`/${this.fontName.name} ${_t(j)} Tf`],{resources:S}=this;if(a=typeof a==\"number\"&&a>=0&&a<=1?a:1,a!==1){A.push(\"/R0 gs\");let C=new P(this.xref),T=new P(this.xref);T.set(\"ca\",a),T.set(\"CA\",a),T.setIfName(\"Type\",\"ExtGState\"),C.set(\"R0\",T),S.set(\"ExtGState\",C)}let q=_t(x);for(let C of l)A.push(`0 -${q} Td <${JA(C)}> Tj`);A.push(\"ET\",\"Q\");let _=A.join(`\n`),I=new P(this.xref);if(I.setIfName(\"Subtype\",\"Form\"),I.setIfName(\"Type\",\"XObject\"),I.set(\"BBox\",[0,0,p,m]),I.set(\"Length\",_.length),I.set(\"Resources\",S),s){let C=J0(s,p,m);I.set(\"Matrix\",C)}return new Hn(_,I)}};var jI=[\"m/d\",\"m/d/yy\",\"mm/dd/yy\",\"mm/yy\",\"d-mmm\",\"d-mmm-yy\",\"dd-mmm-yy\",\"yy-mm-dd\",\"mmm-yy\",\"mmmm-yy\",\"mmm d, yyyy\",\"mmmm d, yyyy\",\"m/d/yy h:MM tt\",\"m/d/yy HH:MM\"],AI=[\"HH:MM\",\"h:MM tt\",\"HH:MM:ss\",\"h:MM:ss tt\"];hA();var Fh=class{constructor(e,t,s){this.root=e,this.xref=t,this._type=s}getAll(e=!1){let t=new Map;if(!this.root)return t;let s=this.xref,i=new xt;this.root instanceof fe&&i.put(this.root);let r=[this.root];for(let a of r){let o=s.fetchIfRef(a);if(!(o instanceof P))continue;if(o.has(\"Kids\")){let c=o.get(\"Kids\");if(!Array.isArray(c))continue;for(let f of c){if(f instanceof fe){if(i.has(f))throw new se(`Duplicate entry in \"${this._type}\" tree.`);i.put(f)}r.push(f)}continue}let l=o.get(this._type);if(Array.isArray(l))for(let c=0,f=l.length;c<f;c+=2)t.set(e?l[c]:s.fetchIfRef(l[c]),e?l[c+1]:s.fetchIfRef(l[c+1]))}return t}getRaw(e){if(!this.root)return null;let t=this.xref,s=t.fetchIfRef(this.root),i=0,r=10;for(;s.has(\"Kids\");){if(++i>r)return B(`Search depth limit reached for \"${this._type}\" tree.`),null;let o=s.get(\"Kids\");if(!Array.isArray(o))return null;let l=0,c=o.length-1;for(;l<=c;){let f=l+c>>1,h=t.fetchIfRef(o[f]),u=h.get(\"Limits\");if(e<t.fetchIfRef(u[0]))c=f-1;else if(e>t.fetchIfRef(u[1]))l=f+1;else{s=h;break}}if(l>c)return null}let a=s.get(this._type);if(Array.isArray(a)){let o=0,l=a.length-2;for(;o<=l;){let c=o+l>>1,f=c+(c&1),h=t.fetchIfRef(a[f]);if(e<h)l=f-2;else if(e>h)o=f+2;else return a[f+1]}}return null}get(e){return this.xref.fetchIfRef(this.getRaw(e))}},di=class extends Fh{constructor(e,t){super(e,t,\"Names\")}},Ra=class extends Fh{constructor(e,t){super(e,t,\"Nums\")}};function fv(){p_(),KA(),uq(),Fo.cleanup()}var ps=class n{constructor(e){e instanceof P&&(this.root=e,e.has(\"RF\")&&B(\"Related file specifications are not supported\"))}get filename(){let e=n.pickPlatformItem(this.root);return e&&typeof e==\"string\"?st(e,!0).replaceAll(\"\\\\\\\\\",\"\\\\\").replaceAll(\"\\\\/\",\"/\").replaceAll(\"\\\\\",\"/\"):\"\"}get description(){let e=this.root?.get(\"Desc\");return e&&typeof e==\"string\"?st(e):\"\"}get serializable(){let{filename:e,description:t}=this;return{rawFilename:e,filename:zA(e)||\"unnamed\",description:t}}static pickPlatformItem(e,t=!1){if(e instanceof P){for(let s of[\"UF\",\"F\",\"Unix\",\"Mac\",\"DOS\"])if(e.has(s))return t?e.getRaw(s):e.get(s)}return null}static hasEmbeddedFile(e){return this.pickPlatformItem(e.get(\"EF\"))instanceof Xe}static readContent(e){if(!(e instanceof P))return null;let t=this.pickPlatformItem(e.get(\"EF\"));return t instanceof Xe?this.readStreamContent(t):(B(\"Embedded file specification points to non-existing/invalid content\"),null)}static readStreamContent(e){if(e.dict?.xref?.encrypt?.encryptionKey===null)throw new vi(\"No password given\",H0.NEED_PASSWORD);return e.getBytes()}},qs={NoError:0,EndOfDocument:-1,UnterminatedCdata:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function vo(n,e){let t=n[e];return t===\" \"||t===`\n`||t===\"\\r\"||t===\"\t\"}function SI(n){for(let e=0,t=n.length;e<t;e++)if(!vo(n,e))return!1;return!0}var Oh=class n{static get _entityRegex(){return je(this,\"_entityRegex\",/&(?:#x([^;&]+)|#([^;&]+)|([^;&]+));/g)}_resolveEntities(e){return e.replaceAll(n._entityRegex,(t,s,i,r)=>{if(s||i){let a=s?parseInt(s,16):parseInt(i,10);return a>=0&&a<=1114111?String.fromCodePoint(a):t}switch(r){case\"lt\":return\"<\";case\"gt\":return\">\";case\"amp\":return\"&\";case\"quot\":return'\"';case\"apos\":return\"'\"}return this.onResolveEntity(r)})}_parseContent(e,t){let s=[],i=t;function r(){for(;i<e.length&&vo(e,i);)++i}for(;i<e.length&&!vo(e,i)&&e[i]!==\">\"&&e[i]!==\"/\";)++i;let a=e.substring(t,i);for(r();i<e.length&&e[i]!==\">\"&&e[i]!==\"/\"&&e[i]!==\"?\";){r();let o=\"\",l=\"\";for(;i<e.length&&!vo(e,i)&&e[i]!==\"=\";)o+=e[i],++i;if(r(),e[i]!==\"=\")return null;++i,r();let c=e[i];if(c!=='\"'&&c!==\"'\")return null;let f=e.indexOf(c,++i);if(f<0)return null;l=e.substring(i,f),s.push({name:o,value:this._resolveEntities(l)}),i=f+1,r()}return{name:a,attributes:s,parsed:i-t}}_parseProcessingInstruction(e,t){let s=t;function i(){for(;s<e.length&&vo(e,s);)++s}for(;s<e.length&&!vo(e,s)&&e[s]!==\">\"&&e[s]!==\"?\"&&e[s]!==\"/\";)++s;let r=e.substring(t,s);i();let a=s;for(;s<e.length&&(e[s]!==\"?\"||e[s+1]!==\">\");)++s;let o=e.substring(a,s);return{name:r,value:o,parsed:s-t}}parseXml(e){let t=0;for(;t<e.length;){let s=e[t],i=t;if(s===\"<\"){++i;let r=e[i],a;switch(r){case\"/\":if(++i,a=e.indexOf(\">\",i),a<0){this.onError(qs.UnterminatedElement);return}this.onEndElement(e.substring(i,a)),i=a+1;break;case\"?\":++i;let o=this._parseProcessingInstruction(e,i);if(e.substring(i+o.parsed,i+o.parsed+2)!==\"?>\"){this.onError(qs.UnterminatedXmlDeclaration);return}this.onPi(o.name,o.value),i+=o.parsed+2;break;case\"!\":if(e.substring(i+1,i+3)===\"--\"){if(a=e.indexOf(\"-->\",i+3),a<0){this.onError(qs.UnterminatedComment);return}this.onComment(e.substring(i+3,a)),i=a+3}else if(e.substring(i+1,i+8)===\"[CDATA[\"){if(a=e.indexOf(\"]]>\",i+8),a<0){this.onError(qs.UnterminatedCdata);return}this.onCdata(e.substring(i+8,a)),i=a+3}else if(e.substring(i+1,i+8)===\"DOCTYPE\"){let f=e.indexOf(\"[\",i+8),h=!1;if(a=e.indexOf(\">\",i+8),a<0){this.onError(qs.UnterminatedDoctypeDeclaration);return}if(f>0&&a>f){if(a=e.indexOf(\"]>\",i+8),a<0){this.onError(qs.UnterminatedDoctypeDeclaration);return}h=!0}let u=e.substring(i+8,a+(h?1:0));this.onDoctype(u),i=a+(h?2:1)}else{this.onError(qs.MalformedElement);return}break;default:let l=this._parseContent(e,i);if(l===null){this.onError(qs.MalformedElement);return}let c=!1;if(e.substring(i+l.parsed,i+l.parsed+2)===\"/>\")c=!0;else if(e.substring(i+l.parsed,i+l.parsed+1)!==\">\"){this.onError(qs.UnterminatedElement);return}this.onBeginElement(l.name,l.attributes,c),i+=l.parsed+(c?2:1);break}}else{for(;i<e.length&&e[i]!==\"<\";)i++;let r=e.substring(t,i);this.onText(this._resolveEntities(r))}t=i}}onResolveEntity(e){return`&${e};`}onPi(e,t){}onComment(e){}onCdata(e){}onDoctype(e){}onText(e){}onBeginElement(e,t,s){}onEndElement(e){}onError(e){}},va=class{constructor(e,t){this.nodeName=e,this.nodeValue=t,Object.defineProperty(this,\"parentNode\",{value:null,writable:!0})}get firstChild(){return this.childNodes?.[0]}get nextSibling(){let e=this.parentNode.childNodes;if(!e)return;let t=e.indexOf(this);return t===-1?void 0:e[t+1]}get textContent(){return this.childNodes?this.childNodes.map(e=>e.textContent).join(\"\"):this.nodeValue||\"\"}get children(){return this.childNodes||[]}hasChildNodes(){return this.childNodes?.length>0}searchNode(e,t){if(t>=e.length)return this;let s=e[t];if(s.name.startsWith(\"#\")&&t<e.length-1)return this.searchNode(e,t+1);let i=[],r=this;for(;;){if(s.name===r.nodeName)if(s.pos===0){let a=r.searchNode(e,t+1);if(a!==null)return a}else{if(i.length===0)return null;{let[a]=i.pop(),o=0;for(let l of a.childNodes)if(s.name===l.nodeName){if(o===s.pos)return l.searchNode(e,t+1);o++}return r.searchNode(e,t+1)}}if(r.childNodes?.length>0)i.push([r,0]),r=r.childNodes[0];else{if(i.length===0)return null;for(;i.length!==0;){let[a,o]=i.pop(),l=o+1;if(l<a.childNodes.length){i.push([a,l]),r=a.childNodes[l];break}}if(i.length===0)return null}}}dump(e){if(this.nodeName===\"#text\"){e.push(_o(this.nodeValue));return}if(e.push(`<${this.nodeName}`),this.attributes)for(let t of this.attributes)e.push(` ${t.name}=\"${_o(t.value)}\"`);if(this.hasChildNodes()){e.push(\">\");for(let t of this.childNodes)t.dump(e);e.push(`</${this.nodeName}>`)}else this.nodeValue?e.push(`>${_o(this.nodeValue)}</${this.nodeName}>`):e.push(\"/>\")}},Po=class extends Oh{constructor({hasAttributes:e=!1,lowerCaseName:t=!1}){super(),this._currentFragment=null,this._stack=null,this._errorCode=qs.NoError,this._hasAttributes=e,this._lowerCaseName=t}parseFromString(e){if(this._currentFragment=[],this._stack=[],this._errorCode=qs.NoError,this.parseXml(e),this._errorCode!==qs.NoError)return;let[t]=this._currentFragment;if(t)return{documentElement:t}}onText(e){if(SI(e))return;let t=new va(\"#text\",e);this._currentFragment.push(t)}onCdata(e){let t=new va(\"#text\",e);this._currentFragment.push(t)}onBeginElement(e,t,s){this._lowerCaseName&&(e=e.toLowerCase());let i=new va(e);i.childNodes=[],this._hasAttributes&&(i.attributes=t),this._currentFragment.push(i),!s&&(this._stack.push(this._currentFragment),this._currentFragment=i.childNodes)}onEndElement(e){this._currentFragment=this._stack.pop()||[];let t=this._currentFragment.at(-1);if(!t)return null;for(let s of t.childNodes)s.parentNode=t;return t}onError(e){this._errorCode=e}},dg=class{constructor(e){e=this._repair(e);let s=new Po({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){let i=s.replaceAll(/\\\\([0-3])([0-7])([0-7])/g,(a,o,l,c)=>String.fromCharCode(o*64+l*8+c*1)).replaceAll(/&(amp|apos|gt|lt|quot);/g,function(a,o){switch(o){case\"amp\":return\"&\";case\"apos\":return\"'\";case\"gt\":return\">\";case\"lt\":return\"<\";case\"quot\":return'\"'}throw new Error(`_repair: ${o} isn't defined.`)}),r=[\">\"];for(let a=0,o=i.length;a<o;a+=2){let l=i.charCodeAt(a)*256+i.charCodeAt(a+1);l>=32&&l<127&&l!==60&&l!==62&&l!==38?r.push(String.fromCharCode(l)):r.push(\"&#x\"+(65536+l).toString(16).substring(1)+\";\")}return r.join(\"\")})}_getSequence(e){let 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;let[t]=e.childNodes,s=this._getSequence(t)||[];this._metadataMap.set(e.nodeName,s.map(i=>i.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(let s of t.childNodes)if(s.nodeName===\"rdf:description\")for(let i of s.childNodes){let r=i.nodeName;switch(r){case\"#text\":continue;case\"dc:creator\":case\"dc:subject\":this._parseArray(i);continue}this._metadataMap.set(r,i.textContent.trim())}}}get serializable(){return{parsedData:this._metadataMap,rawData:this._data}}},Ll=44;function x4(n){if(!n||n.has(\"CO\"))return null;let e=n.get(\"R\");if(!Number.isInteger(e)||e<=0)return null;let t=n.get(\"C\")??1;if(!Number.isInteger(t)||t<1||t>2)return null;let s=n.get(\"B\")??8;if(s!==8&&s!==16)return null;let i=n.get(\"E\"),r=\"Raw\";return i!==void 0&&(r=i instanceof ce?i.name:null),r!==\"Raw\"&&r!==\"Signed\"?null:{channels:t,sampleRate:e,bitsPerSample:s,encoding:r}}function qI(n,e){let t=x4(n.dict);if(!t)return null;let{channels:s,sampleRate:i,bitsPerSample:r,encoding:a}=t,o=s*(r>>3),l=e.length-e.length%o;if(l===0)return null;let c=new Uint8Array(Ll+l),f=new DataView(c.buffer);if(c.set(Vt(\"RIFF\"),0),f.setUint32(4,Ll-8+l,!0),c.set(Vt(\"WAVE\"),8),c.set(Vt(\"fmt \"),12),f.setUint32(16,16,!0),f.setUint16(20,1,!0),f.setUint16(22,s,!0),f.setUint32(24,i,!0),f.setUint32(28,i*o,!0),f.setUint16(32,o,!0),f.setUint16(34,r,!0),c.set(Vt(\"data\"),36),f.setUint32(40,l,!0),r===16){let h=a===\"Signed\";for(let u=0;u<l;u+=2){let d=e[u]<<8|e[u+1];h?d>=32768&&(d-=65536):d-=32768,f.setInt16(Ll+u,d,!0)}}else if(a===\"Signed\")for(let h=0;h<l;h++)c[Ll+h]=e[h]+128&255;else c.set(e.subarray(0,l),Ll);return c}var pg=40,_I=[[\"RowSpan\",\"rowSpan\"],[\"ColSpan\",\"colSpan\"]],ds={PAGE_CONTENT:1,STREAM_CONTENT:2,OBJECT:3,ANNOTATION:4,ELEMENT:5},_c=class n{kidRefToPosition=void 0;parentTree=null;roleMap=new Map;structParentIds=null;#e=null;constructor(e,t,s){this.xref=e,this.dict=t,this.ref=s instanceof fe?s:null;let i=t.get(\"RoleMap\");if(i instanceof P)for(let[a,o]of i)o instanceof ce&&this.roleMap.set(a,o.name);let r=t.getRaw(\"ParentTree\");r&&(this.parentTree=new Ra(r,e))}getKidPosition(e){if(this.kidRefToPosition===void 0){let t=this.dict.get(\"K\");if(Array.isArray(t)){let s=this.kidRefToPosition=new Map;for(let i=0,r=t.length;i<r;i++){let a=t[i];a&&s.set(a.toString(),i)}}else t instanceof P?this.kidRefToPosition=new Map([[t.objId,0]]):t?this.kidRefToPosition=null:this.kidRefToPosition=new Map}return this.kidRefToPosition?this.kidRefToPosition.get(e)??NaN:-1}getElementsForPage(e){if(!this.#e){let t=new sn,s=new Set,i=(a,o)=>{if(!(a instanceof P)||s.has(a))return;if(o>pg){B(\"StructTree MAX_DEPTH reached.\");return}s.add(a);let l=a.getRaw(\"Pg\"),c=a.get(\"K\");for(let f of Array.isArray(c)?c:[c]){f=this.xref.fetchIfRef(f);let h=l;if(f instanceof P){let d=f.get(\"Type\");if(!Ke(d,\"MCR\")&&!Ke(d,\"OBJR\")){i(f,o+1);continue}let p=f.getRaw(\"Pg\");p instanceof fe&&(h=p)}else if(!Number.isInteger(f))continue;if(!(h instanceof fe))continue;let u=t.getOrPutComputed(h,Hi);u.at(-1)!==a&&u.push(a)}},r=this.dict.get(\"K\");for(let a of Array.isArray(r)?r:[r])i(this.xref.fetchIfRef(a),0);this.#e=t}return this.#e.get(e)}#n(e,t,s,i){!(e instanceof fe)||t<0||(this.structParentIds??=new sn).getOrPutComputed(e,Hi).push([t,s,i])}addAnnotationIdToPage(e,t,s){this.#n(e,t,ds.ANNOTATION,s instanceof fe?s.toString():null)}static async canCreateStructureTree({catalogRef:e,pdfManager:t,newAnnotationsByPage:s}){if(!(e instanceof fe))return B(\"Cannot save the struct tree: no catalog reference.\"),!1;let i=0,r=!0;for(let[a,o]of s){let{ref:l}=await t.getPage(a);if(!(l instanceof fe)){B(`Cannot save the struct tree: page ${a} has no ref.`),r=!0;break}for(let c of o)c.accessibilityData?.type&&(c.parentTreeId=i++,r=!1)}if(r){for(let a of s.values())for(let o of a)delete o.parentTreeId;return!1}return!0}static async createStructureTree({newAnnotationsByPage:e,xref:t,catalogRef:s,pdfManager:i,changes:r}){let a=await i.ensureCatalog(\"cloneDict\"),o=new sn;o.put(s,a);let l=t.getNewTemporaryRef();a.set(\"StructTreeRoot\",l);let c=new P(t);c.set(\"Type\",ce.get(\"StructTreeRoot\"));let f=t.getNewTemporaryRef();c.set(\"ParentTree\",f);let h=[];c.set(\"K\",h),o.put(l,c);let u=new P(t),d=[];u.set(\"Nums\",d);let p=await this.#t({newAnnotationsByPage:e,structTreeRootRef:l,structTreeRoot:null,kids:h,nums:d,xref:t,pdfManager:i,changes:r,cache:o});c.set(\"ParentTreeNextKey\",p),o.put(f,u);for(let[m,g]of o.items())r.put(m,{data:g})}async canUpdateStructTree({pdfManager:e,newAnnotationsByPage:t}){if(!this.ref)return B(\"Cannot update the struct tree: no root reference.\"),!1;let s=this.dict.get(\"ParentTreeNextKey\");if(!Number.isInteger(s)||s<0)return B(\"Cannot update the struct tree: invalid next key.\"),!1;let i=this.dict.get(\"ParentTree\");if(!(i instanceof P))return B(\"Cannot update the struct tree: ParentTree isn't a dict.\"),!1;let r=i.get(\"Nums\");if(!Array.isArray(r))return B(\"Cannot update the struct tree: nums isn't an array.\"),!1;let a=new Ra(i,this.xref);for(let l of t.keys()){let{pageDict:c}=await e.getPage(l);if(!c.has(\"StructParents\"))continue;let f=c.get(\"StructParents\");if(!Number.isInteger(f)||!Array.isArray(a.get(f)))return B(`Cannot save the struct tree: page ${l} has a wrong id.`),!1}let o=!0;for(let[l,c]of t){let{pageDict:f}=await e.getPage(l);n.#i({elements:c,xref:this.xref,pageDict:f,numberTree:a});for(let h of c)h.accessibilityData?.type&&(h.accessibilityData.structParent>=0||(h.parentTreeId=s++),o=!1)}if(o){for(let l of t.values())for(let c of l)delete c.parentTreeId,delete c.structTreeParent;return!1}return!0}async updateStructureTree({newAnnotationsByPage:e,pdfManager:t,changes:s}){let{ref:i,xref:r}=this,a=this.dict.clone(),o=new sn;o.put(i,a);let l=a.getRaw(\"ParentTree\"),c;l instanceof fe?c=r.fetch(l):(c=l,l=r.getNewTemporaryRef(),a.set(\"ParentTree\",l)),c=c.clone(),o.put(l,c);let f=c.getRaw(\"Nums\"),h=null;f instanceof fe&&(h=f,f=r.fetch(h)),f=f.slice(),h||c.set(\"Nums\",f);let u=await n.#t({newAnnotationsByPage:e,structTreeRootRef:i,structTreeRoot:this,kids:null,nums:f,xref:r,pdfManager:t,changes:s,cache:o});if(u!==-1){a.set(\"ParentTreeNextKey\",u),h&&o.put(h,f);for(let[d,p]of o.items())s.put(d,{data:p})}}static async#t({newAnnotationsByPage:e,structTreeRootRef:t,structTreeRoot:s,kids:i,nums:r,xref:a,pdfManager:o,changes:l,cache:c}){let f=ce.get(\"OBJR\"),h=-1,u;for(let[d,p]of e){let m=await o.getPage(d),{ref:g}=m,b=g instanceof fe;for(let{accessibilityData:x,ref:w,parentTreeId:v,structTreeParent:k}of p){if(!x?.type)continue;let{structParent:j}=x;if(s&&Number.isInteger(j)&&j>=0){let _=(u||=new Map).get(d);_===void 0&&(_=new Mh(s,m.pageDict).collectObjects(g),u.set(d,_));let I=_?.get(j);if(I){let C=a.fetch(I).clone();n.#s(C,x),x.alt||(C.delete(\"Alt\"),x.actualText||C.delete(\"ActualText\")),l.put(I,{data:C});continue}}h=Math.max(h,v);let A=a.getNewTemporaryRef(),S=new P(a);n.#s(S,x),await this.#r({structTreeParent:k,tagDict:S,newTagRef:A,structTreeRootRef:t,fallbackKids:i,xref:a,cache:c});let q=new P(a);S.set(\"K\",q),q.set(\"Type\",f),b&&q.set(\"Pg\",g),q.set(\"Obj\",w),c.put(A,S),r.push(v,A)}}return h+1}static#s(e,{type:t,title:s,lang:i,alt:r,expanded:a,actualText:o}){e.set(\"S\",ce.get(t)),s&&e.set(\"T\",Dn(s)),i&&e.set(\"Lang\",Dn(i)),r&&e.set(\"Alt\",Dn(r)),a&&e.set(\"E\",Dn(a)),o&&e.set(\"ActualText\",Dn(o))}static#i({elements:e,xref:t,pageDict:s,numberTree:i}){let r=new Map;for(let c of e)if(c.structTreeParentId){let f=parseInt(c.structTreeParentId.split(\"_mc\")[1],10);r.getOrInsertComputed(f,Hi).push(c)}let a=s.get(\"StructParents\");if(!Number.isInteger(a))return;let o=i.get(a),l=(c,f,h)=>{let u=r.get(c);if(u){let d=f.getRaw(\"P\"),p=t.fetchIfRef(d);if(d instanceof fe&&p instanceof P){let m={ref:h,dict:f};for(let g of u)g.structTreeParent=m}return!0}return!1};for(let c of o){if(!(c instanceof fe))continue;let f=t.fetch(c),h=f.get(\"K\");if(Number.isInteger(h)){l(h,f,c);continue}if(Array.isArray(h))for(let u of h){if(u=t.fetchIfRef(u),Number.isInteger(u)&&l(u,f,c))break;if(!(u instanceof P))continue;if(!Ke(u.get(\"Type\"),\"MCR\"))break;let d=u.get(\"MCID\");if(Number.isInteger(d)&&l(d,f,c))break}}}static async#r({structTreeParent:e,tagDict:t,newTagRef:s,structTreeRootRef:i,fallbackKids:r,xref:a,cache:o}){let l=null,c;e?({ref:l}=e,c=e.dict.getRaw(\"P\")||i):c=i,t.set(\"P\",c);let f=a.fetchIfRef(c);if(!f){r.push(s);return}let h=o.getOrPutComputed(c,()=>f.clone()),u=h.getRaw(\"K\"),d=u instanceof fe?o.get(u):null;if(!d){d=a.fetchIfRef(u),d=Array.isArray(d)?d.slice():[u];let m=a.getNewTemporaryRef();h.set(\"K\",m),o.put(m,d)}let p=d.indexOf(l);d.splice(p>=0?p+1:d.length,0,s)}},mg=class{constructor(e,t){this.tree=e,this.xref=e.xref,this.dict=t,this.kids=[],this.parseKids()}get role(){let e=this.dict.get(\"S\"),t=e instanceof ce?e.name:\"\",{root:s}=this.tree;return s.roleMap.get(t)??t}get mathML(){let e=this.dict.get(\"AF\")||[];Array.isArray(e)||(e=[e]);for(let t of e){if(t=this.xref.fetchIfRef(t),!_a(t,\"Filespec\")||!Ke(t.get(\"AFRelationship\"),\"Supplement\"))continue;let s=ps.pickPlatformItem(t.get(\"EF\"));if(!(!(s instanceof Xe)||!_a(s.dict,\"EmbeddedFile\")||!Ke(s.dict.get(\"Subtype\"),\"application/mathml+xml\")))return To(s.getString())}for(let t of this.attributes)if(Ke(t.get(\"O\"),\"MSFT_Office\")){let s=t.get(\"MSFT_MathML\");return s?st(s):null}return null}#e(e,t){let s=[e],i=new xt;for(;s.length>0;){if(e=s.pop(),e instanceof fe){if(i.has(e))continue;i.put(e),e=this.xref.fetch(e)}if(e instanceof Xe&&(e=e.dict),e instanceof P){t.push(e);continue}if(Array.isArray(e))for(let r=e.length-1;r>=0;r--)Number.isInteger(e[r])||s.push(e[r])}}get attributes(){let e=[],t=this.dict.getArray(\"C\");if(t!==void 0){let s=this.tree.rootDict?.get(\"ClassMap\");if(s instanceof P)for(let i of Array.isArray(t)?t:[t])i instanceof ce&&this.#e(s.getRaw(i.name),e)}return this.#e(this.dict.getRaw(\"A\"),e),je(this,\"attributes\",e)}get tableAttributes(){let{role:e}=this;if(e!==\"Table\"&&e!==\"TH\"&&e!==\"TD\")return null;let t=new Map;for(let s of this.attributes)if(Ke(s.get(\"O\"),\"Table\")){if(e===\"Table\"){if(s.has(\"Summary\")){let i=s.get(\"Summary\");typeof i==\"string\"&&i?t.set(\"summary\",st(i)):t.delete(\"summary\")}continue}for(let[i,r]of _I){if(!s.has(i))continue;let a=s.get(i);Number.isInteger(a)&&a>1?t.set(r,a):t.delete(r)}if(s.has(\"Headers\")){t.delete(\"headers\");let i=s.getArray(\"Headers\");if(Array.isArray(i)){let r=i.filter(a=>typeof a==\"string\").map(st);r.length>0&&t.set(\"headers\",r)}}if(e===\"TH\"&&s.has(\"Scope\")){t.delete(\"scope\");let i=s.get(\"Scope\");i instanceof ce&&[\"Row\",\"Column\",\"Both\"].includes(i.name)&&t.set(\"scope\",i.name)}if(e===\"TH\"&&s.has(\"Short\")){t.delete(\"short\");let i=s.get(\"Short\");typeof i==\"string\"&&i&&t.set(\"short\",st(i))}}return t.size?t:null}parseKids(){let e=null,t=this.dict.getRaw(\"Pg\");t instanceof fe&&(e=t.toString());let s=this.dict.get(\"K\");if(Array.isArray(s))for(let i of s){let r=this.parseKid(e,this.xref.fetchIfRef(i));r&&this.kids.push(r)}else{let i=this.parseKid(e,s);i&&this.kids.push(i)}}parseKid(e,t){if(Number.isInteger(t))return this.tree.pageDict.objId!==e?null:new Ao({type:ds.PAGE_CONTENT,mcid:t,pageObjId:e});if(!(t instanceof P))return null;let s=t.getRaw(\"Pg\");s instanceof fe&&(e=s.toString());let i=t.get(\"Type\")instanceof ce?t.get(\"Type\").name:null;if(i===\"MCR\"){if(this.tree.pageDict.objId!==e)return null;let r=t.getRaw(\"Stm\");return new Ao({type:ds.STREAM_CONTENT,refObjId:r instanceof fe?r.toString():null,pageObjId:e,mcid:t.get(\"MCID\")})}if(i===\"OBJR\"){if(this.tree.pageDict.objId!==e)return null;let r=t.getRaw(\"Obj\");return new Ao({type:ds.OBJECT,refObjId:r instanceof fe?r.toString():null,pageObjId:e})}return new Ao({type:ds.ELEMENT,dict:t})}},Ao=class{constructor({type:e,dict:t=null,mcid:s=null,pageObjId:i=null,refObjId:r=null}){this.type=e,this.dict=t,this.mcid=s,this.pageObjId=i,this.refObjId=r,this.parentNode=null}},Mh=class{constructor(e,t){this.root=e,this.xref=e?.xref??null,this.rootDict=e?.dict??null,this.pageDict=t,this.nodes=[]}collectObjects(e){if(!this.root||!this.rootDict||!(e instanceof fe))return null;let t=this.rootDict.get(\"ParentTree\");if(!t)return null;let s=this.root.structParentIds?.get(e);if(!s)return null;let i=new Map,r=new Ra(t,this.xref);for(let[a]of s){let o=r.getRaw(a);o instanceof fe&&i.set(a,o)}return i}parse(e){if(!this.root||!this.rootDict||!(e instanceof fe))return;let{parentTree:t}=this.root;if(!t){this.#e(e);return}let s=this.pageDict.get(\"StructParents\"),i=this.root.structParentIds?.get(e);if(!Number.isInteger(s)&&!i)return;let r=new Map;if(Number.isInteger(s)){let a=t.get(s);if(Array.isArray(a))for(let o of a)o instanceof fe&&this.addNode(this.xref.fetch(o),r)}if(i)for(let[a,o,l]of i){let c=t.get(a);if(!c)continue;let f=this.addNode(this.xref.fetchIfRef(c),r);if(!(!f||!l))for(let h of f.kids)h.type===ds.OBJECT&&h.refObjId===l&&(h.type=o)}}addNode(e,t,s=0){if(s>pg)return B(\"StructTree MAX_DEPTH reached.\"),null;if(!(e instanceof P))return null;if(t.has(e))return t.get(e);let i=new mg(this,e);switch(t.set(e,i),i.role){case\"L\":case\"LBody\":case\"LI\":case\"Table\":case\"THead\":case\"TBody\":case\"TFoot\":case\"TR\":for(let l of i.kids)l.type===ds.ELEMENT&&this.addNode(l.dict,t,s-1)}let r=e.get(\"P\");if(!(r instanceof P)||Ke(r.get(\"Type\"),\"StructTreeRoot\"))return this.addTopLevelNode(e,i)||t.delete(e),i;let a=this.addNode(r,t,s+1);if(!a)return i;let o=!1;for(let l of a.kids)l.type===ds.ELEMENT&&l.dict===e&&(l.parentNode=i,o=!0);return o||t.delete(e),i}addTopLevelNode(e,t){let s=this.root.getKidPosition(e.objId);return isNaN(s)?!1:(s!==-1&&(this.nodes[s]=t),!0)}#e(e){let t=this.root.getElementsForPage(e);if(!t)return;let s=new xt,i=this.pageDict.get(\"Annots\");if(Array.isArray(i))for(let a of i)a instanceof fe&&s.put(a);let r=new Map;for(let a of t){let o=this.addNode(a,r);if(o)for(let l of o.kids)l.type===ds.OBJECT&&l.refObjId&&s.has(l.refObjId)&&(l.type=ds.ANNOTATION)}}get serializable(){function e(s,i,r=0){if(r>pg){B(\"StructTree too deep to be fully serialized.\");return}let a=Object.create(null);a.role=s.role,a.children=[],i.children.push(a);let o=s.dict.get(\"Alt\");typeof o!=\"string\"&&(o=s.dict.get(\"ActualText\")),typeof o==\"string\"&&(a.alt=st(o));let l=s.dict.get(\"ID\");if(a.role===\"TH\"&&typeof l==\"string\"&&l&&(a.structId=st(l)),s.tableAttributes?.forEach((u,d)=>{a[d]=u}),a.role===\"Formula\")try{let{mathML:u}=s;u&&(a.mathML=u)}catch(u){if(u instanceof Tt)throw u;B(`Ignoring mathML: \"${u}\".`)}let c=null,f=null;for(let u of s.attributes){c=Ui(u.getArray(\"BBox\"),c);let d=u.get(\"Width\"),p=u.get(\"Height\");typeof d==\"number\"&&d>0&&typeof p==\"number\"&&p>0&&(f=[0,0,d,p])}(c||f)&&(a.bbox=c??f);let h=s.dict.get(\"Lang\");typeof h==\"string\"&&(a.lang=st(h));for(let u of s.kids){let d=u.type===ds.ELEMENT?u.parentNode:null;if(d){e(d,a,r+1);continue}else u.type===ds.PAGE_CONTENT||u.type===ds.STREAM_CONTENT?a.children.push({type:\"content\",id:`p${u.pageObjId}_mc${u.mcid}`}):u.type===ds.OBJECT?a.children.push({type:\"object\",id:u.refObjId}):u.type===ds.ANNOTATION&&a.children.push({type:\"annotation\",id:`${PA}${u.refObjId}`})}}let t=Object.create(null);t.children=[],t.role=\"Root\";for(let s of this.nodes)s&&e(s,t);return t}},II=n=>n instanceof fe,Ph=GA.bind(null,II,Ke);function Sm(n){return n instanceof P&&(n=n.get(\"D\")),Ph(n)?n:null}function Ny(n){let e=n.get(\"D\");if(e){if(e instanceof ce&&(e=e.name),typeof e==\"string\")return st(e,!0);if(Ph(e))return JSON.stringify(e)}return null}var Ic=class n{#e=null;#n=new sn;#t=new Map;#s=new Set;#i=null;builtInCMapCache=new Map;fontCache=new sn;globalColorSpaceCache=new og;globalImageCache=new lg;nonBlendModesSet=new xt;pageDictCache=new sn;pageIndexCache=new sn;pageKidsCountCache=new sn;standardFontDataCache=new Map;systemFontCache=new Map;constructor(e,t){if(this.pdfManager=e,this.xref=t,this.#i=t.getCatalogObj(),!(this.#i instanceof P))throw new se(\"Catalog object is not a dictionary.\");this.toplevelPagesDict}cloneDict(){return this.#i.clone()}getAttachmentIdForAnnotation(e,t=!1){let s=this.#n.get(e);if(!s){let i=`attachmentRef:${e.toString()}`;s=i;let r=1;for(;this.#t.has(s)||this.attachments?.has(s);)s=`${i}-${r++}`;this.#n.put(e,s),this.#t.set(s,e)}return t&&this.#s.add(s),s}get version(){let e=this.#i.get(\"Version\");if(e instanceof ce){if(D8.test(e.name))return je(this,\"version\",e.name);B(`Invalid PDF catalog version: ${e.name}`)}return je(this,\"version\",null)}get lang(){let e=this.#i.get(\"Lang\");return je(this,\"lang\",e&&typeof e==\"string\"?st(e):null)}get needsRendering(){let e=this.#i.get(\"NeedsRendering\");return je(this,\"needsRendering\",e===!0)}get collection(){let e=null;try{let t=this.#i.get(\"Collection\");t instanceof P&&t.size>0&&(e=t)}catch(t){if(t instanceof Tt)throw t;kt(\"Cannot fetch Collection entry; assuming no collection is present.\")}return je(this,\"collection\",e)}get acroForm(){let e=null;try{let t=this.#i.get(\"AcroForm\");t instanceof P&&t.size>0&&(e=t)}catch(t){if(t instanceof Tt)throw t;kt(\"Cannot fetch AcroForm entry; assuming no forms are present.\")}return je(this,\"acroForm\",e)}get acroFormRef(){let e=this.#i.getRaw(\"AcroForm\");return je(this,\"acroFormRef\",e instanceof fe?e:null)}get metadata(){let e=this.#i.getRaw(\"Metadata\");if(!(e instanceof fe))return je(this,\"metadata\",null);let t=null;try{let s=this.xref.fetch(e,!this.xref.encrypt?.encryptMetadata);if(s instanceof Xe&&_a(s.dict,\"Metadata\")&&Ke(s.dict.get(\"Subtype\"),\"XML\")){let i=To(s.getString());i&&(t=new dg(i).serializable)}}catch(s){if(s instanceof Tt)throw s;kt(`Skipping invalid Metadata: \"${s}\".`)}return je(this,\"metadata\",t)}get markInfo(){let e=null;try{e=this.#r()}catch(t){if(t instanceof Tt)throw t;B(\"Unable to read mark info.\")}return je(this,\"markInfo\",e)}#r(){let e=this.#i.get(\"MarkInfo\");if(!(e instanceof P))return null;let t=new Map;for(let s of[\"Marked\",\"UserProperties\",\"Suspects\"]){let i=e.get(s);t.set(s,i===!0)}return t}get hasStructTree(){return this.#i.has(\"StructTreeRoot\")}get structTreeRoot(){let e=null;try{e=this.#a()}catch(t){if(t instanceof Tt)throw t;B(\"Unable read to structTreeRoot info.\")}return je(this,\"structTreeRoot\",e)}#a(){let e=this.#i.getRaw(\"StructTreeRoot\"),t=this.xref.fetchIfRef(e);return t instanceof P?new _c(this.xref,t,e):null}get toplevelPagesDict(){let e=this.#i.get(\"Pages\");if(!(e instanceof P))throw new se(\"Invalid top-level pages dictionary.\");return je(this,\"toplevelPagesDict\",e)}get documentOutline(){let e=null;try{e=this.#o()}catch(t){if(t instanceof Tt)throw t;B(\"Unable to read document outline.\")}return je(this,\"documentOutline\",e)}#o(e={}){let t=this.#i.get(\"Outlines\");if(!(t instanceof P)||(t=t.getRaw(\"First\"),!(t instanceof fe)))return null;let s={items:[]},i=[{obj:t,parent:s}],r=new xt;r.put(t);let a=this.xref,o=new Uint8ClampedArray(3);for(;i.length>0;){let l=i.shift(),c=a.fetchIfRef(l.obj);if(c===null)continue;c.has(\"Title\")||B(\"Invalid outline item encountered.\");let f={url:null,dest:null,action:null};n.parseDestDictionary({destDict:c,resultObj:f,docBaseUrl:this.baseUrl,docAttachments:this.attachments});let h=c.get(\"Title\"),u=c.get(\"F\")||0,d=c.getArray(\"C\"),p=c.get(\"Count\"),m=o;tn(d,3)&&(d[0]!==0||d[1]!==0||d[2]!==0)&&(m=bt.rgb.getRgb(d,0));let g={action:f.action,attachmentId:f.attachmentId,attachment:f.attachment,dest:f.dest,url:f.url,unsafeUrl:f.unsafeUrl,newWindow:f.newWindow,setOCGState:f.setOCGState,title:typeof h==\"string\"?st(h):\"\",color:m,count:Number.isInteger(p)?p:void 0,bold:!!(u&2),italic:!!(u&1),items:[]};e.keepRawDict&&(g.rawDict=c),l.parent.items.push(g),t=c.getRaw(\"First\"),t instanceof fe&&!r.has(t)&&(i.push({obj:t,parent:g}),r.put(t)),t=c.getRaw(\"Next\"),t instanceof fe&&!r.has(t)&&(i.push({obj:t,parent:l.parent}),r.put(t))}return s.items.length>0?s.items:null}get documentOutlineForEditor(){let e=null;try{e=this.#o({keepRawDict:!0})}catch(t){if(t instanceof Tt)throw t;B(\"Unable to read document outline.\")}return je(this,\"documentOutlineForEditor\",e)}get permissions(){let e=null;try{e=this.#l()}catch(t){if(t instanceof Tt)throw t;B(\"Unable to read permissions.\")}return je(this,\"permissions\",e)}#l(){let e=this.xref.trailer.get(\"Encrypt\");if(!(e instanceof P))return null;let t=e.get(\"P\");if(typeof t!=\"number\")return null;t+=2**32;let s=new Set;for(let i of Object.values(BA))t&i&&s.add(i);return s}get optionalContentConfig(){let e=null;try{let t=this.#i.get(\"OCProperties\");if(!t)return je(this,\"optionalContentConfig\",null);let s=t.get(\"D\");if(!s)return je(this,\"optionalContentConfig\",null);let i=t.get(\"OCGs\");if(!Array.isArray(i))return je(this,\"optionalContentConfig\",null);let r=new sn;for(let a of i)!(a instanceof fe)||r.has(a)||r.put(a,this.#c(a));e=this.#h(s,r)}catch(t){if(t instanceof Tt)throw t;B(`Unable to read optional content config: ${t}`)}return je(this,\"optionalContentConfig\",e)}#c(e){let t=this.xref.fetch(e),s={id:e.toString(),name:null,intent:null,usage:{print:null,view:null},rbGroups:[]},i=t.get(\"Name\");typeof i==\"string\"&&(s.name=st(i));let r=t.getArray(\"Intent\");Array.isArray(r)||(r=[r]),r.every(f=>f instanceof ce)&&(s.intent=r.map(f=>f.name));let a=t.get(\"Usage\");if(!(a instanceof P))return s;let o=s.usage,l=a.get(\"Print\");if(l instanceof P){let f=l.get(\"PrintState\");if(f instanceof ce)switch(f.name){case\"ON\":case\"OFF\":o.print={printState:f.name}}}let c=a.get(\"View\");if(c instanceof P){let f=c.get(\"ViewState\");if(f instanceof ce)switch(f.name){case\"ON\":case\"OFF\":o.view={viewState:f.name}}}return s}#h(e,t){function s(f){let h=[];if(Array.isArray(f))for(let u of f)u instanceof fe&&t.has(u)&&h.push(u.toString());return h}function i(f,h=0){if(!Array.isArray(f))return null;let u=[];for(let p of f){if(p instanceof fe&&t.has(p)){l.put(p),u.push(p.toString());continue}let m=r(p,h);m&&u.push(m)}if(h>0)return u;let d=[];for(let[p]of t.items())l.has(p)||d.push(p.toString());return d.length&&u.push({name:null,order:d}),u}function r(f,h){if(++h>c)return B(\"parseNestedOrder - reached MAX_NESTED_LEVELS.\"),null;let u=o.fetchIfRef(f);if(!Array.isArray(u))return null;let d=o.fetchIfRef(u[0]);if(typeof d!=\"string\")return null;let p=i(u.slice(1),h);return p?.length?{name:st(d),order:p}:null}function a(f){if(Array.isArray(f))for(let h of f){let u=o.fetchIfRef(h);if(!Array.isArray(u)||!u.length)continue;let d=new Set;for(let p of u)p instanceof fe&&t.has(p)&&!d.has(p.toString())&&(d.add(p.toString()),t.get(p).rbGroups.push(d))}}let o=this.xref,l=new xt,c=10;return a(e.get(\"RBGroups\")),{name:typeof e.get(\"Name\")==\"string\"?st(e.get(\"Name\")):null,creator:typeof e.get(\"Creator\")==\"string\"?st(e.get(\"Creator\")):null,baseState:e.get(\"BaseState\")instanceof ce?e.get(\"BaseState\").name:null,on:s(e.get(\"ON\")),off:s(e.get(\"OFF\")),order:i(e.get(\"Order\")),groups:[...t]}}setActualNumPages(e=null){this.#e=e}get hasActualNumPages(){return this.#e!==null}get _pagesCount(){let e=this.toplevelPagesDict.get(\"Count\");if(!Number.isInteger(e))throw new se(\"Page count in top-level pages dictionary is not an integer.\");return je(this,\"_pagesCount\",e)}get numPages(){return this.#e??this._pagesCount}get destinations(){let e=new Map;for(let t of this.#f())if(t instanceof di)for(let[s,i]of t.getAll()){let r=Sm(i);r&&e.set(st(s,!0),r)}else if(t instanceof P)for(let[s,i]of t){let r=Sm(i);r&&e.getOrInsert(st(s,!0),r)}return je(this,\"destinations\",e)}getDestination(e){if(Object.hasOwn(this,\"destinations\"))return this.destinations.get(e)??null;for(let t of this.#f())if(t instanceof di||t instanceof P){let s=Sm(t.get(e));if(s)return s}return this.destinations.get(e)??null}#f(){let e=this.#i.get(\"Names\"),t=[];return e?.has(\"Dests\")&&t.push(new di(e.getRaw(\"Dests\"),this.xref)),this.#i.has(\"Dests\")&&t.push(this.#i.get(\"Dests\")),t}get rawPageLabels(){let e=this.#i.getRaw(\"PageLabels\");return e?new Ra(e,this.xref).getAll():null}get pageLabels(){let e=null;try{e=this.#d()}catch(t){if(t instanceof Tt)throw t;B(\"Unable to read page labels.\")}return je(this,\"pageLabels\",e)}#d(){let e=this.rawPageLabels;if(!e)return null;let t=new Array(this.numPages),s=null,i=\"\",r=\"\",a=1;for(let o=0,l=this.numPages;o<l;o++){let c=e.get(o);if(c!==void 0){if(!(c instanceof P))throw new se(\"PageLabel is not a dictionary.\");if(c.has(\"Type\")&&!Ke(c.get(\"Type\"),\"PageLabel\"))throw new se(\"Invalid type in PageLabel dictionary.\");if(c.has(\"S\")){let f=c.get(\"S\");if(!(f instanceof ce))throw new se(\"Invalid style in PageLabel dictionary.\");s=f.name}else s=null;if(c.has(\"P\")){let f=c.get(\"P\");if(typeof f!=\"string\")throw new se(\"Invalid prefix in PageLabel dictionary.\");i=st(f)}else i=\"\";if(c.has(\"St\")){let f=c.get(\"St\");if(!(Number.isInteger(f)&&f>=1))throw new se(\"Invalid start in PageLabel dictionary.\");a=f}else a=1}switch(s){case\"D\":r=a;break;case\"R\":case\"r\":r=tS(a,s===\"r\");break;case\"A\":case\"a\":let f=26,h=a-1;r=String.fromCharCode(s.charCodeAt(0)+h%f).repeat(Math.floor(h/f)+1);break;default:if(s)throw new se(`Invalid style \"${s}\" in PageLabel dictionary.`);r=\"\"}t[o]=i+r,a++}return t}get pageLayout(){let e=this.#i.get(\"PageLayout\"),t=\"\";if(e instanceof ce)switch(e.name){case\"SinglePage\":case\"OneColumn\":case\"TwoColumnLeft\":case\"TwoColumnRight\":case\"TwoPageLeft\":case\"TwoPageRight\":t=e.name}return je(this,\"pageLayout\",t)}get pageMode(){let e=this.#i.get(\"PageMode\"),t=\"UseNone\";if(e instanceof ce)switch(e.name){case\"UseNone\":case\"UseOutlines\":case\"UseThumbs\":case\"FullScreen\":case\"UseOC\":case\"UseAttachments\":t=e.name}return je(this,\"pageMode\",t)}get viewerPreferences(){let e=this.#i.get(\"ViewerPreferences\");if(!(e instanceof P))return je(this,\"viewerPreferences\",null);let t=null;for(let[s,i]of e){let r;switch(s){case\"HideToolbar\":case\"HideMenubar\":case\"HideWindowUI\":case\"FitWindow\":case\"CenterWindow\":case\"DisplayDocTitle\":case\"PickTrayByPDFSize\":typeof i==\"boolean\"&&(r=i);break;case\"NonFullScreenPageMode\":if(i instanceof ce)switch(i.name){case\"UseNone\":case\"UseOutlines\":case\"UseThumbs\":case\"UseOC\":r=i.name;break;default:r=\"UseNone\"}break;case\"Direction\":if(i instanceof ce)switch(i.name){case\"L2R\":case\"R2L\":r=i.name;break;default:r=\"L2R\"}break;case\"ViewArea\":case\"ViewClip\":case\"PrintArea\":case\"PrintClip\":if(i instanceof ce)switch(i.name){case\"MediaBox\":case\"CropBox\":case\"BleedBox\":case\"TrimBox\":case\"ArtBox\":r=i.name;break;default:r=\"CropBox\"}break;case\"PrintScaling\":if(i instanceof ce)switch(i.name){case\"None\":case\"AppDefault\":r=i.name;break;default:r=\"AppDefault\"}break;case\"Duplex\":if(i instanceof ce)switch(i.name){case\"Simplex\":case\"DuplexFlipShortEdge\":case\"DuplexFlipLongEdge\":r=i.name;break;default:r=\"None\"}break;case\"PrintPageRange\":Array.isArray(i)&&i.length%2===0&&i.every((a,o,l)=>Number.isInteger(a)&&a>0&&(o===0||a>=l[o-1])&&a<=this.numPages)&&(r=i);break;case\"NumCopies\":Number.isInteger(i)&&i>0&&(r=i);break;default:B(`Ignoring non-standard key in ViewerPreferences: ${s}.`);continue}if(r===void 0){B(`Bad value, for key \"${s}\", in ViewerPreferences: ${i}.`);continue}(t??=new Map).set(s,r)}return je(this,\"viewerPreferences\",t)}get openAction(){let e=this.#i.get(\"OpenAction\"),t=new Map;if(e instanceof P){let s=new P(this.xref);s.set(\"A\",e);let i={url:null,dest:null,action:null};n.parseDestDictionary({destDict:s,resultObj:i}),Array.isArray(i.dest)?t.set(\"dest\",i.dest):i.action&&t.set(\"action\",i.action)}else Ph(e)&&t.set(\"dest\",e);return je(this,\"openAction\",t.size?t:null)}get attachments(){let e=this.#i.get(\"Names\"),t=null;if(e instanceof P&&e.has(\"EmbeddedFiles\")){let s=new di(e.getRaw(\"EmbeddedFiles\"),this.xref);for(let[i,r]of s.getAll())(t??=new Map).set(st(i,!0),new ps(r).serializable)}return je(this,\"attachments\",t)}#p(e){let t=this.#i.get(\"Names\");if(t instanceof P&&t.has(\"EmbeddedFiles\")){let s=new di(t.getRaw(\"EmbeddedFiles\"),this.xref);for(let[i,r]of s.getAll())if(st(i,!0)===e)return ps.readContent(r)}}attachmentContent(e){let t=this.#p(e);if(t!==void 0)return t;let s=this.#t.get(e);if(s){let i=this.xref.fetch(s);if(i instanceof Xe){let r=ps.readStreamContent(i);return this.#s.has(e)?qI(i,r)??r:r}return i instanceof P?ps.readContent(i):null}return null}get rawEmbeddedFiles(){let e=this.#i.get(\"Names\");return!(e instanceof P)||!e.has(\"EmbeddedFiles\")?null:new di(e.getRaw(\"EmbeddedFiles\"),this.xref).getAll(!0)}get xfaImages(){let e=this.#i.get(\"Names\"),t=null;if(e instanceof P&&e.has(\"XFAImages\")){let s=new di(e.getRaw(\"XFAImages\"),this.xref);for(let[i,r]of s.getAll())r instanceof Xe&&(t??=new Map,t.set(st(i,!0),r.getBytes()))}return je(this,\"xfaImages\",t)}#g(){let e=this.#i.get(\"Names\"),t=null;function s(r,a){if(!(a instanceof P)||!Ke(a.get(\"S\"),\"JavaScript\"))return;let o=a.get(\"JS\");if(o instanceof Xe)o=o.getString();else if(typeof o!=\"string\")return;o=st(o,!0).replaceAll(\"\\0\",\"\"),o&&(t??=new Map).set(r,o)}if(e instanceof P&&e.has(\"JavaScript\")){let r=new di(e.getRaw(\"JavaScript\"),this.xref);for(let[a,o]of r.getAll())s(st(a,!0),o)}let i=this.#i.get(\"OpenAction\");return i&&s(\"OpenAction\",i),t}get jsActions(){let e=this.#g(),t=_u(this.xref,this.#i,DA);if(e){t??=new Map;for(let[s,i]of e)t.getOrInsertComputed(s,Hi).push(i)}return je(this,\"jsActions\",t)}async cleanup(e=!1){fv(),this.globalColorSpaceCache.clear(),this.globalImageCache.clear(e),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.pageDictCache.clear(),this.nonBlendModesSet.clear();for(let{dict:t}of await Promise.all(this.fontCache))delete t.cacheKey;this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear(),this.systemFontCache.clear()}async getPageDict(e){let t=[this.toplevelPagesDict],s=new xt,i=this.#i.getRaw(\"Pages\");i instanceof fe&&s.put(i);let r=this.xref,a=this.pageKidsCountCache,o=this.pageIndexCache,l=this.pageDictCache,c=0;for(;t.length;){let f=t.pop();if(f instanceof fe){let p=a.get(f);if(p>=0&&c+p<=e){c+=p;continue}if(s.has(f))throw new se(\"Pages tree contains circular reference.\");s.put(f);let m=await(l.get(f)||r.fetchAsync(f));if(m instanceof P){let g=m.getRaw(\"Type\");if(g instanceof fe&&(g=await r.fetchAsync(g)),Ke(g,\"Page\")||!m.has(\"Kids\")){if(a.has(f)||a.put(f,1),o.has(f)||o.put(f,c),c===e)return[m,f];c++;continue}}t.push(m);continue}if(!(f instanceof P))throw new se(\"Page dictionary kid reference points to wrong type of object.\");let{objId:h}=f,u=f.getRaw(\"Count\");if(u instanceof fe&&(u=await r.fetchAsync(u)),Number.isInteger(u)&&u>=0&&(h&&!a.has(h)&&a.put(h,u),c+u<=e)){c+=u;continue}let d=f.getRaw(\"Kids\");if(d instanceof fe&&(d=await r.fetchAsync(d)),!Array.isArray(d)){let p=f.getRaw(\"Type\");if(p instanceof fe&&(p=await r.fetchAsync(p)),Ke(p,\"Page\")||!f.has(\"Kids\")){if(c===e)return[f,null];c++;continue}throw new se(\"Page dictionary kids object is not an array.\")}for(let p=d.length-1;p>=0;p--){let m=d[p];t.push(m),f===this.toplevelPagesDict&&m instanceof fe&&!l.has(m)&&l.put(m,r.fetchAsync(m))}}throw new Error(`Page index ${e} not found.`)}async getAllPageDicts(e=!1){let{ignoreErrors:t}=this.pdfManager.evaluatorOptions,s=[{currentNode:this.toplevelPagesDict,posInKids:0}],i=new xt,r=this.#i.getRaw(\"Pages\");r instanceof fe&&i.put(r);let a=new Map,o=this.xref,l=this.pageIndexCache,c=0;function f(u,d){d&&!l.has(d)&&l.put(d,c),a.set(c++,[u,d])}function h(u){if(u instanceof Di&&!e)throw u;e&&t&&c===0&&(B(`getAllPageDicts - Skipping invalid first page: \"${u}\".`),u=P.empty),a.set(c++,[u,null])}for(;s.length>0;){let u=s.at(-1),{currentNode:d,posInKids:p}=u,m=d.getRaw(\"Kids\");if(m instanceof fe)try{m=await o.fetchAsync(m)}catch(w){h(w);break}if(!Array.isArray(m)){let w=d.getRaw(\"Type\");if(w instanceof fe)try{w=await o.fetchAsync(w)}catch(v){h(v);break}if(Ke(w,\"Page\")||!d.has(\"Kids\")){f(d,null);break}h(new se(\"Page dictionary kids object is not an array.\"));break}if(p>=m.length){s.pop();continue}let g=m[p],b;if(g instanceof fe){if(i.has(g)){h(new se(\"Pages tree contains circular reference.\"));break}i.put(g);try{b=await o.fetchAsync(g)}catch(w){h(w),u.posInKids++;continue}}else b=g;if(!(b instanceof P)){h(new se(\"Page dictionary kid reference points to wrong type of object.\"));break}let x=b.getRaw(\"Type\");if(x instanceof fe)try{x=await o.fetchAsync(x)}catch(w){h(w);break}Ke(x,\"Page\")||!b.has(\"Kids\")?f(b,g instanceof fe?g:null):s.push({currentNode:b,posInKids:0}),u.posInKids++}return a}async getPageIndex(e){let t=this.pageIndexCache.get(e);if(t!==void 0)return t;let s=this.xref,i=0,r=e,a=new xt;for(a.put(e);;){let o=await s.fetchAsync(r);if(Eo(r,e)&&!_a(o,\"Page\")&&!(o instanceof P&&!o.has(\"Type\")&&o.has(\"Contents\")))throw new se(\"The reference does not point to a /Page dictionary.\");if(!o)break;if(!(o instanceof P))throw new se(\"Node must be a dictionary.\");let l=o.getRaw(\"Parent\");if(l instanceof fe){if(a.has(l))throw new se(\"Pages tree contains circular reference.\");a.put(l)}let c=await o.getAsync(\"Parent\");if(!c)break;if(!(c instanceof P))throw new se(\"Parent must be a dictionary.\");let f=await c.getAsync(\"Kids\");if(!f)break;if(!Array.isArray(f))throw new se(\"Kids must be an array.\");let h=[],u=!1;for(let d of f){if(!(d instanceof fe))throw new se(\"Kid must be a reference.\");if(Eo(d,r)){u=!0;break}h.push(s.fetchAsync(d).then(p=>{if(!(p instanceof P))throw new se(\"Kid node must be a dictionary.\");if(p.has(\"Count\")){let m=p.get(\"Count\");if(Number.isInteger(m)&&m>=0){i+=m;return}throw new se(\"Count must be a (positive) integer.\")}i++}))}if(!u)throw new se(\"Kid reference not found in parent's kids.\");await Promise.all(h),r=l}return this.pageIndexCache.put(e,i),i}get baseUrl(){let e=this.#i.get(\"URI\");if(e instanceof P){let t=e.get(\"Base\");if(typeof t==\"string\"){let s=X0(t,null,{tryConvertEncoding:!0});if(s)return je(this,\"baseUrl\",s.href)}}return je(this,\"baseUrl\",this.pdfManager.docBaseUrl)}static#u(e,t){let s=e.fetchIfRef(t);if(!(s instanceof P))return null;let i=null,r=s.getRaw(\"Pg\");if(r instanceof fe&&(i=r),!i){let c=[s],f=new xt;for(f.put(t);c.length>0&&!i;){let u=c.shift().getRaw(\"K\");if(u instanceof fe){if(f.has(u))continue;f.put(u),u=e.fetch(u)}let d;if(Array.isArray(u))d=u;else if(u)d=[u];else continue;for(let p of d){if(p instanceof fe){if(f.has(p))continue;f.put(p)}let m=e.fetchIfRef(p);if(!(m instanceof P))continue;let g=m.getRaw(\"Pg\");if(g instanceof fe){i=g;break}c.push(m)}}}if(!i){let f=s;for(let h=0;h<40;h++){let u=f.getRaw(\"P\");if(!(u instanceof fe))break;let d=e.fetch(u);if(!(d instanceof P)||Ke(d.get(\"Type\"),\"StructTreeRoot\"))break;let p=d.getRaw(\"Pg\");if(p instanceof fe){i=p;break}f=d}}if(!i)return null;let a=null,o=null,l=s.get(\"A\");if(l instanceof P){let c=fc(l.getArray(\"BBox\"),null);c&&(a=c[0],o=c[3])}return[i,{name:\"XYZ\"},a,o,null]}static parseDestDictionary({destDict:e,resultObj:t,docBaseUrl:s=null,docAttachments:i=null}){if(!(e instanceof P)){B(\"parseDestDictionary: `destDict` must be a dictionary.\");return}let r=e.get(\"A\"),a,o;if(r instanceof P||(e.has(\"Dest\")?r=e.get(\"Dest\"):(r=e.get(\"AA\"),r instanceof P&&(r.has(\"D\")?r=r.get(\"D\"):r.has(\"U\")&&(r=r.get(\"U\"))))),r instanceof P){let l=r.get(\"S\");if(!(l instanceof ce)){B(\"parseDestDictionary: Invalid type in Action dictionary.\");return}let c=l.name;switch(c){case\"ResetForm\":let f=r.get(\"Flags\"),h=((typeof f==\"number\"?f:0)&1)===0,u=[],d=[];for(let _ of r.get(\"Fields\")||[])_ instanceof fe?d.push(_.toString()):typeof _==\"string\"&&u.push(st(_));t.resetForm={fields:u,refs:d,include:h};break;case\"URI\":a=r.get(\"URI\"),a instanceof ce&&(a=\"/\"+a.name);break;case\"GoTo\":o=r.get(\"D\");break;case\"Launch\":case\"GoToR\":let p=r.get(\"F\");if(p instanceof P)a=new ps(p).filename;else if(typeof p==\"string\")a=p;else break;let m=Ny(r);m&&(a=a.split(\"#\",1)[0]+\"#\"+m);let g=r.get(\"NewWindow\");typeof g==\"boolean\"&&(t.newWindow=g);break;case\"GoToE\":let b=r.get(\"T\"),x=null;if(b instanceof P){let _=b.get(\"R\"),I=b.get(\"N\");Ke(_,\"C\")&&typeof I==\"string\"&&(x=st(I,!0))}if(i&&x){t.attachmentId=x,t.attachment=i.get(x);let _=Ny(r);_&&(t.attachmentDest=_)}else B('parseDestDictionary - unimplemented \"GoToE\" action.');break;case\"Named\":let w=r.get(\"N\");w instanceof ce&&(t.action=w.name);break;case\"SetOCGState\":let v=r.get(\"State\"),k=r.get(\"PreserveRB\");if(!Array.isArray(v)||v.length===0)break;let j=[];for(let _ of v)if(_ instanceof ce)switch(_.name){case\"ON\":case\"OFF\":case\"Toggle\":j.push(_.name);break}else _ instanceof fe&&j.push(_.toString());if(j.length!==v.length)break;t.setOCGState={state:j,preserveRB:k!==!1};break;case\"JavaScript\":let A=r.get(\"JS\"),S;A instanceof Xe?S=A.getString():typeof A==\"string\"&&(S=A);let q=S&&L8(st(S,!0));if(q){a=q.url,t.newWindow=q.newWindow;break}default:if(c===\"JavaScript\"||c===\"SubmitForm\")break;B(`parseDestDictionary - unsupported action: \"${c}\".`);break}}else e.has(\"Dest\")&&(o=e.get(\"Dest\"));if(typeof a==\"string\"){let l=X0(a,s,{addDefaultProtocol:!0,tryConvertEncoding:!0});l&&(t.url=l.href),t.unsafeUrl=a}if(o&&(o instanceof ce&&(o=o.name),typeof o==\"string\"?t.dest=st(o,!0):Ph(o)&&(t.dest=o)),!t.dest&&!t.url&&!t.action&&!t.attachment&&!t.setOCGState&&!t.resetForm){let l=e.getRaw(\"SE\");if(l instanceof fe)try{let c=n.#u(e.xref,l);c&&(t.dest=c)}catch(c){if(c instanceof Tt)throw c;kt(\"SE parsing failed.\")}}}},CI=16384;function F0(n,e,t,s){let i=new P(n);return i.set(\"Type\",ce.get(\"XObject\")),i.set(\"Subtype\",ce.get(\"Image\")),i.set(\"BitsPerComponent\",8),i.setIfName(\"ColorSpace\",s),i.set(\"Width\",e),i.set(\"Height\",t),i}function tc(n,e){return new Ft(n,0,n.length,e)}function TI(n,e,t){let s=n+e-t,i=Math.abs(s-n),r=Math.abs(s-e),a=Math.abs(s-t);return i<=r&&i<=a?n:r<=a?e:t}function EI(n,e,t,s){let i=e*s,r=new Uint8Array(t*(i+1)),a=[new Uint8Array(i),new Uint8Array(i),new Uint8Array(i),new Uint8Array(i),new Uint8Array(i)];for(let o=0;o<t;o++){let l=o*i,c=l-i,f=[0,0,0,0,0];for(let d=0;d<i;d++){let p=l+d,m=n[p],g=d>=s?n[p-s]:0,b=o>0?n[c+d]:0,x=o>0&&d>=s?n[c+d-s]:0;a[0][d]=m,a[1][d]=m-g&255,a[2][d]=m-b&255,a[3][d]=m-(g+b>>1)&255,a[4][d]=m-TI(g,b,x)&255;for(let w=0;w<5;w++){let v=a[w][d];f[w]+=v<128?v:256-v}}let h=0;for(let d=1;d<5;d++)f[d]<f[h]&&(h=d);let u=o*(i+1);r[u]=h,r.set(a[h],u+1)}return r}async function RI(n){let e=new CompressionStream(\"deflate\"),t=e.writable.getWriter(),s=(async()=>{try{await t.ready,await t.write(n),await t.ready,await t.close()}catch(r){throw await t.abort(r).catch(()=>{}),r}})(),[i]=await Promise.all([new Response(e.readable).bytes(),s.then(()=>null)]);return i}async function Hy(n,e,t,s){let i=n.length/(e*t),r;if(typeof CompressionStream==\"function\")try{let o=EI(n,e,t,i);r=await RI(o)}catch{}if(!r)return tc(n,s);s.setIfName(\"Filter\",\"FlateDecode\");let a=new P(s.xref);return a.set(\"Predictor\",15),a.set(\"Columns\",e),a.set(\"Colors\",i),a.set(\"BitsPerComponent\",8),s.set(\"DecodeParms\",a),tc(r,s)}async function v4(n,e,{closeBitmap:t=!1}={}){let{width:s,height:i}=n;if(!Number.isInteger(s)||!Number.isInteger(i)||s<=0||i<=0)throw t&&n.close?.(),new Error(`createImage: invalid bitmap dimensions ${s}x${i}`);let r=new OffscreenCanvas(s,i),a=r.getContext(\"2d\",{alpha:!0,willReadFrequently:!0}),o;try{a.drawImage(n,0,0),o=a.getImageData(0,0,s,i).data}finally{t&&n.close?.()}let l=new Uint32Array(o.buffer,o.byteOffset,o.byteLength>>2),c=Nn.isLittleEndian,f=c?16777215:4294967040,h=new Set,u=!1,d=!0;for(let k of l){if((c?k>>>24:k&255)!==255){u=!0;break}d&&(h.add((k&f)>>>0),h.size>CI&&(d=!1,h.clear()))}u&&(d=!0);let p=F0(e,s,i,\"DeviceRGB\"),m,g=null;if(d){let k=new Uint8Array(s*i*3);for(let j=0,A=0,S=o.length;j<S;j+=4,A+=3)k[A]=o[j],k[A+1]=o[j+1],k[A+2]=o[j+2];m=Hy(k,s,i,p),g=tc(k,F0(e,s,i,\"DeviceRGB\"))}else p.setIfName(\"Filter\",\"DCTDecode\"),m=r.convertToBlob({type:\"image/jpeg\",quality:1}).then(k=>k.bytes()).then(k=>tc(k,p));let b=Promise.resolve(null),x=null;if(u){let k=new Uint8Array(l.length);if(c)for(let S=0,q=l.length;S<q;S++)k[S]=l[S]>>>24;else for(let S=0,q=l.length;S<q;S++)k[S]=l[S]&255;let j=F0(e,s,i,\"DeviceGray\"),A=F0(e,s,i,\"DeviceGray\");b=Hy(k,s,i,j),x=tc(k,A)}let[w,v]=await Promise.all([m,b]);return{imageStream:w,imageRenderStream:g,smaskStream:v,smaskRenderStream:x,width:s,height:i}}function FI(n){return n instanceof fe||n instanceof P||n instanceof Xe||Array.isArray(n)}function OI(n,e){if(n instanceof P)n=n.getRawValues();else if(n instanceof Xe)n=n.dict.getRawValues();else if(!Array.isArray(n))return;for(let t of n)FI(t)&&e.push(t)}var Bo=class n{refSet=new xt;constructor(e,t,s){this.dict=e,this.keys=t,this.xref=s}async load(){let{keys:e,dict:t}=this,s=[];for(let i of e){let r=t.getRaw(i);r!==void 0&&s.push(r)}await this.#e(s),this.refSet=null}async#e(e){let t=[],s=[];for(;e.length;){let i=e.pop();if(i instanceof fe){if(this.refSet.has(i))continue;try{this.refSet.put(i),i=this.xref.fetch(i)}catch(r){if(!(r instanceof Tt)){B(`ObjectLoader.#walk - requesting all data: \"${r}\".`),await this.xref.stream.manager.requestAllChunks();return}t.push(i),s.push({begin:r.begin,end:r.end})}}if(i instanceof Xe){let r=i.getBaseStreams();if(r){let a=!1;for(let o of r)o.isDataLoaded||(a=!0,s.push({begin:o.start,end:o.end}));a&&t.push(i)}}OI(i,e)}if(s.length){await this.xref.stream.manager.requestRanges(s);for(let i of t)i instanceof fe&&this.refSet.remove(i);await this.#e(t)}}static async load(e,t,s){if(s.stream.isDataLoaded)return;await new n(e,t,s).load()}},Eu=Symbol(),ya=Symbol(),an=Symbol(),Pr=Symbol(),ai=Symbol(),So=Symbol(),$0=Symbol(),bi=Symbol(),Bi=Symbol(),pe=Symbol(\"content\"),ii=Symbol(\"data\"),Do=Symbol(),ne=Symbol(\"extra\"),Bt=Symbol(),tf=Symbol(),gg=Symbol(),y4=Symbol(),ka=Symbol(),Ru=Symbol(),Cc=Symbol(),nc=Symbol(),hv=Symbol(),Xn=Symbol(),sc=Symbol(),ss=Symbol(),No=Symbol(),rr=Symbol(),gn=Symbol(),rt=Symbol(),pn=Symbol(),Pt=Symbol(),Tc=Symbol(),yo=Symbol(),bg=Symbol(),V0=Symbol(),uv=Symbol(),Ua=Symbol(),qo=Symbol(),Tr=Symbol(),ic=Symbol(),fr=Symbol(),mr=Symbol(),Ec=Symbol(),Rc=Symbol(),MI=Symbol(),mn=Symbol(\"namespaceId\"),At=Symbol(\"nodeName\"),ga=Symbol(),Li=Symbol(),wg=Symbol(),hr=Symbol(),Gi=Symbol(),Cs=Symbol(),zo=Symbol(),Er=Symbol(),k4=Symbol(\"root\"),$l=Symbol(),or=Symbol(),xg=Symbol(),j4=Symbol(),Ts=Symbol(),pi=Symbol(),In=Symbol(),A4=Symbol(),Je=Symbol(),rc=Symbol(),vt=Symbol(),Et=Symbol(\"uid\");aA();AA();var Ai=Symbol(),Cn={config:{id:0,check:n=>n.startsWith(\"http://www.xfa.org/schema/xci/\")},connectionSet:{id:1,check:n=>n.startsWith(\"http://www.xfa.org/schema/xfa-connection-set/\")},datasets:{id:2,check:n=>n.startsWith(\"http://www.xfa.org/schema/xfa-data/\")},form:{id:3,check:n=>n.startsWith(\"http://www.xfa.org/schema/xfa-form/\")},localeSet:{id:4,check:n=>n.startsWith(\"http://www.xfa.org/schema/xfa-locale-set/\")},pdf:{id:5,check:n=>n===\"http://ns.adobe.com/xdp/pdf/\"},signature:{id:6,check:n=>n===\"http://www.w3.org/2000/09/xmldsig#\"},sourceSet:{id:7,check:n=>n.startsWith(\"http://www.xfa.org/schema/xfa-source-set/\")},stylesheet:{id:8,check:n=>n===\"http://www.w3.org/1999/XSL/Transform\"},template:{id:9,check:n=>n.startsWith(\"http://www.xfa.org/schema/xfa-template/\")},xdc:{id:10,check:n=>n.startsWith(\"http://www.xfa.org/schema/xdc/\")},xdp:{id:11,check:n=>n===\"http://ns.adobe.com/xdp/\"},xfdf:{id:12,check:n=>n===\"http://ns.adobe.com/xfdf/\"},xhtml:{id:13,check:n=>n===\"http://www.w3.org/1999/xhtml\"},xmpmeta:{id:14,check:n=>n===\"http://ns.adobe.com/xmpmeta/\"}},PI={pt:n=>n,cm:n=>n/2.54*72,mm:n=>n/(10*2.54)*72,in:n=>n*72,px:n=>n},BI=/([+-]?\\d+\\.?\\d*)(.*)/;function Fu(n){return n.startsWith(\"'\")||n.startsWith('\"')?n.slice(1,-1):n}function nt({data:n,defaultValue:e,validate:t}){if(!n)return e;n=n.trim();let s=parseInt(n,10);return!isNaN(s)&&t(s)?s:e}function Bh({data:n,defaultValue:e,validate:t}){if(!n)return e;n=n.trim();let s=parseFloat(n);return!isNaN(s)&&t(s)?s:e}function Ou({data:n,defaultValue:e,validate:t}){return n?(n=n.trim(),t(n)?n:e):e}function be(n,e){return Ou({data:n,defaultValue:e[0],validate:t=>e.includes(t)})}function Pe(n,e=\"0\"){if(e||=\"0\",!n)return Pe(e);let t=n.trim().match(BI);if(!t)return Pe(e);let[,s,i]=t,r=parseFloat(s);if(isNaN(r))return Pe(e);if(r===0)return 0;let a=PI[i];return a?a(r):r}function Ly(n){if(!n)return{num:1,den:1};let e=n.split(\":\",2).map(i=>parseFloat(i.trim())).filter(i=>!isNaN(i));if(e.length===1&&e.push(1),e.length===0)return{num:1,den:1};let[t,s]=e;return{num:t,den:s}}function Si(n){return n?n.trim().split(/\\s+/).map(e=>({excluded:e[0]===\"-\",viewname:e.substring(1)})):[]}function DI(n,e=[0,0,0]){let[t,s,i]=e;if(!n)return{r:t,g:s,b:i};let r=n.split(\",\",3).map(a=>(a=parseInt(a.trim(),10),isNaN(a)?0:Rt(a,0,255)));return r.length<3?{r:t,g:s,b:i}:([t,s,i]=r,{r:t,g:s,b:i})}function NI(n){if(!n)return{x:-1,y:-1,width:-1,height:-1};let t=n.split(\",\",4).map(o=>Pe(o.trim(),\"-1\"));if(t.length<4||t[2]<0||t[3]<0)return{x:-1,y:-1,width:-1,height:-1};let[s,i,r,a]=t;return{x:s,y:i,width:r,height:a}}var We=class n{static get FAILURE(){return je(this,\"FAILURE\",new n(!1,null,null,null))}static get EMPTY(){return je(this,\"EMPTY\",new n(!0,null,null,null))}constructor(e,t,s,i){this.success=e,this.html=t,this.bbox=s,this.breakNode=i}isBreak(){return!!this.breakNode}static breakNode(e){return new n(!1,null,null,e)}static success(e,t=null){return new n(!0,e,t,null)}},vg=class{constructor(e){this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(e)}add(e,t=null){for(let i of e)this.addPdfFont(i);for(let i of this.fonts.values())i.regular||=i.italic||i.bold||i.bolditalic;if(!t||t.size===0)return;let s=this.fonts.get(\"PdfJS-Fallback-PdfJS-XFA\");for(let i of t)this.fonts.set(i,s)}addPdfFont(e){let t=e.cssFontInfo,s=t.fontFamily,i=this.fonts.getOrInsertComputed(s,$A);this.defaultFont??=i;let r=\"\",a=parseFloat(t.fontWeight);parseFloat(t.italicAngle)!==0?r=a>=700?\"bolditalic\":\"italic\":a>=700&&(r=\"bold\"),r||((e.name.includes(\"Bold\")||e.psName?.includes(\"Bold\"))&&(r=\"bold\"),(e.name.includes(\"Italic\")||e.name.endsWith(\"It\")||e.psName?.includes(\"Italic\")||e.psName?.endsWith(\"It\"))&&(r+=\"italic\")),r||=\"regular\",i[r]=e}getDefault(){return this.defaultFont}find(e,t=!0){let s=this.fonts.get(e)||this.cache.get(e);if(s)return s;let i=/[,\\-_ ]|bolditalic|bold|italic|regular|it/gi,r=e.replaceAll(i,\"\");if(s=this.fonts.get(r),s)return this.cache.set(e,s),s;r=r.toLowerCase();let a=[];for(let[o,l]of this.fonts)o.replaceAll(i,\"\").toLowerCase().startsWith(r)&&a.push(l);if(a.length===0)for(let o of this.fonts.values())o.regular.name?.replaceAll(i,\"\").toLowerCase().startsWith(r)&&a.push(o);if(a.length===0){r=r.replaceAll(/psmt|mt/gi,\"\");for(let[o,l]of this.fonts)o.replaceAll(i,\"\").toLowerCase().startsWith(r)&&a.push(l)}if(a.length===0)for(let o of this.fonts.values())o.regular.name?.replaceAll(i,\"\").toLowerCase().startsWith(r)&&a.push(o);return a.length>=1?(a.length!==1&&t&&B(`XFA - Too many choices to guess the correct font: ${e}`),this.cache.set(e,a[0]),a[0]):(t&&!this.warned.has(e)&&(this.warned.add(e),B(`XFA - Cannot find the font: ${e}`)),null)}};function dv(n,e){return n.posture===\"italic\"?n.weight===\"bold\"?e.bolditalic:e.italic:n.weight===\"bold\"?e.bold:e.regular}function HI(n,e=!1){let t=null;if(n){let a=Fu(n.typeface),o=n[Pt].fontFinder.find(a);t=dv(n,o)}if(!t)return{lineHeight:12,lineGap:2,lineNoGap:10};let s=n.size||10,i=t.lineHeight?Math.max(e?0:1.2,t.lineHeight):1.2,r=t.lineGap===void 0?.2:t.lineGap;return{lineHeight:i*s,lineGap:r*s,lineNoGap:Math.max(1,i-r)*s}}var LI=1.02,Dh=class{constructor(e,t,s,i){if(this.lineHeight=s,this.paraMargin=t||{top:0,bottom:0,left:0,right:0},!e){[this.pdfFont,this.xfaFont]=this.defaultFont(i);return}this.xfaFont={typeface:e.typeface,posture:e.posture,weight:e.weight,size:e.size,letterSpacing:e.letterSpacing};let r=i.find(e.typeface);if(!r){[this.pdfFont,this.xfaFont]=this.defaultFont(i);return}this.pdfFont=dv(e,r),this.pdfFont||([this.pdfFont,this.xfaFont]=this.defaultFont(i))}defaultFont(e){let t=e.find(\"Helvetica\",!1)||e.find(\"Myriad Pro\",!1)||e.find(\"Arial\",!1)||e.getDefault();if(t?.regular){let i=t.regular,a={typeface:i.cssFontInfo.fontFamily,posture:\"normal\",weight:\"normal\",size:10,letterSpacing:0};return[i,a]}return[null,{typeface:\"Courier\",posture:\"normal\",weight:\"normal\",size:10,letterSpacing:0}]}},yg=class{constructor(e,t,s,i){this.fontFinder=i,this.stack=[new Dh(e,t,s,i)]}pushData(e,t,s){let i=this.stack.at(-1);for(let a of[\"typeface\",\"posture\",\"weight\",\"size\",\"letterSpacing\"])e[a]||=i.xfaFont[a];for(let a of[\"top\",\"bottom\",\"left\",\"right\"])isNaN(t[a])&&(t[a]=i.paraMargin[a]);let r=new Dh(e,t,s||i.lineHeight,this.fontFinder);r.pdfFont||=i.pdfFont,this.stack.push(r)}popFont(){this.stack.pop()}topFont(){return this.stack.at(-1)}},kg=class{constructor(e,t,s,i){this.glyphs=[],this.fontSelector=new yg(e,t,s,i),this.extraHeight=0}pushData(e,t,s){this.fontSelector.pushData(e,t,s)}popFont(e){return this.fontSelector.popFont()}addPara(){let e=this.fontSelector.topFont();this.extraHeight+=e.paraMargin.top+e.paraMargin.bottom}addString(e){if(!e)return;let t=this.fontSelector.topFont(),s=t.xfaFont.size;if(t.pdfFont){let i=t.xfaFont.letterSpacing,r=t.pdfFont,a=r.lineHeight||1.2,o=t.lineHeight||Math.max(1.2,a)*s,l=r.lineGap===void 0?.2:r.lineGap,c=a-l,f=Math.max(1,c)*s,h=s/1e3,u=r.defaultWidth||r.charsToGlyphs(\" \")[0].width;for(let d of e.split(/[\\u2029\\n]/)){let p=r.encodeString(d).join(\"\"),m=r.charsToGlyphs(p);for(let g of m){let b=g.width||u;this.glyphs.push([b*h+i,o,f,g.unicode,!1])}this.glyphs.push([0,0,0,`\n`,!0])}this.glyphs.pop();return}for(let i of e.split(/[\\u2029\\n]/)){for(let r of i.split(\"\"))this.glyphs.push([s,1.2*s,s,r,!1]);this.glyphs.push([0,0,0,`\n`,!0])}this.glyphs.pop()}compute(e){let t=-1,s=0,i=0,r=0,a=0,o=0,l=!1,c=!0;for(let f=0,h=this.glyphs.length;f<h;f++){let[u,d,p,m,g]=this.glyphs[f],b=m===\" \",x=c?p:d;if(g){i=Math.max(i,a),a=0,r+=o,o=x,t=-1,s=0,c=!1;continue}if(b){a+u>e?(i=Math.max(i,a),a=0,r+=o,o=x,t=-1,s=0,l=!0,c=!1):(o=Math.max(x,o),s=a,a+=u,t=f);continue}if(a+u>e){r+=o,o=x,t!==-1?(f=t,i=Math.max(i,s),a=0,t=-1,s=0):(i=Math.max(i,a),a=u),l=!0,c=!1;continue}a+=u,o=Math.max(x,o)}return i=Math.max(i,a),r+=o+this.extraHeight,{width:LI*i,height:r,isBroken:l}}};TA();CA();var zy=/^[^.[]+/,zI=/^[^\\]]+/,zs={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},S4=new Map([[\"$data\",(n,e)=>n.datasets?n.datasets.data:n],[\"$record\",(n,e)=>(n.datasets?n.datasets.data:n)[ss]()[0]],[\"$template\",(n,e)=>n.template],[\"$connectionSet\",(n,e)=>n.connectionSet],[\"$form\",(n,e)=>n.form],[\"$layout\",(n,e)=>n.layout],[\"$host\",(n,e)=>n.host],[\"$dataWindow\",(n,e)=>n.dataWindow],[\"$event\",(n,e)=>n.event],[\"!\",(n,e)=>n.datasets],[\"$xfa\",(n,e)=>n],[\"xfa\",(n,e)=>n],[\"$\",(n,e)=>e]]),UI=new WeakMap;function GI(n){return n=n.trim(),n===\"*\"?1/0:parseInt(n,10)||0}function q4(n,e,t=!0){let s=n.match(zy);if(!s)return null;let[i]=s,r=[{name:i,cacheName:\".\"+i,index:0,js:null,formCalc:null,operator:zs.dot}],a=i.length;for(;a<n.length;){let o=a;if(n.charAt(a++)===\"[\"){if(s=n.slice(a).match(zI),!s)return B(\"XFA - Invalid index in SOM expression\"),null;r.at(-1).index=GI(s[0]),a+=s[0].length+1;continue}let c;switch(n.charAt(a)){case\".\":if(!e)return null;a++,c=zs.dotDot;break;case\"#\":a++,c=zs.dotHash;break;case\"[\":if(t)return B(\"XFA - SOM expression contains a FormCalc subexpression which is not supported for now.\"),null;c=zs.dotBracket;break;case\"(\":if(t)return B(\"XFA - SOM expression contains a JavaScript subexpression which is not supported for now.\"),null;c=zs.dotParen;break;default:c=zs.dot;break}if(s=n.slice(a).match(zy),!s)break;[i]=s,a+=i.length,r.push({name:i,cacheName:n.slice(o,a),operator:c,index:0,js:null,formCalc:null})}return r}function Ir(n,e,t,s=!0,i=!0){let r=q4(t,s);if(!r)return null;let a=S4.get(r[0].name),o=0,l;a?(l=!0,n=[a(n,e)],o=1):(l=e===null,n=[e||n]);for(let c=r.length;o<c;o++){let{name:f,cacheName:h,operator:u,index:d}=r[o],p=[];for(let m of n){if(!m.isXFAObject)continue;let g,b;if(i&&(b=UI.getOrInsertComputed(m,WA),g=b.get(h)),!g){switch(u){case zs.dot:g=m[Cc](f,!1);break;case zs.dotDot:g=m[Cc](f,!0);break;case zs.dotHash:g=m[Ru](f),g=g.isXFAObjectArray?g.children:[g];break;default:break}i&&b.set(h,g)}g.length>0&&p.push(g)}if(p.length===0&&!l&&o===0){if(e=e[rt](),!e)return null;o=-1,n=[e];continue}n=isFinite(d)?p.filter(m=>d<m.length).map(m=>m[d]):p.flat()}return n.length===0?null:n}function WI(n,e,t){let s=q4(t);if(!s||s.some(a=>a.operator===zs.dotDot))return null;let i=S4.get(s[0].name),r=0;i?(n=i(n,e),r=1):n=e||n;for(let a=s.length;r<a;r++){let{name:o,operator:l,index:c}=s[r];if(!isFinite(c))return s[r].index=0,n.createNodes(s.slice(r));let f;switch(l){case zs.dot:f=n[Cc](o,!1);break;case zs.dotDot:f=n[Cc](o,!0);break;case zs.dotHash:f=n[Ru](o),f=f.isXFAObjectArray?f.children:[f];break;default:break}if(f.length===0)return n.createNodes(s.slice(r));if(c<f.length){let h=f[c];if(!h.isXFAObject)return B(\"XFA - Cannot create a node.\"),null;n=h}else return s[r].index=c-f.length,n.createNodes(s.slice(r))}return null}var O0=Symbol(),ra=Symbol(),bo=Symbol(),mt=Symbol(\"_children\"),qm=Symbol(),qr=Symbol(),_m=Symbol(),Uy=Symbol(),Im=Symbol(),Gy=Symbol(),Cm=Symbol(),Vl=Symbol(),M0=Symbol(),si=Symbol(\"parent\"),zl=Symbol(),Ul=Symbol(),Tm=Symbol(),jg=0,_4=Cn.datasets.id,oe=class n{constructor(e,t,s=!1){this[mn]=e,this[At]=t,this[Cm]=s,this[si]=null,this[mt]=[],this[Et]=`${t}${jg++}`,this[Pt]=null}get isXFAObject(){return!0}get isXFAObjectArray(){return!1}createNodes(e){let t=this,s=null;for(let{name:i,index:r}of e){for(let a=0,o=isFinite(r)?r:0;a<=o;a++){let l=t[mn]===_4?-1:t[mn];s=new ur(l,i),t[an](s)}t=s}return s}[Li](e){if(!this[Cm]||!this[wg](e))return!1;let t=e[At],s=this[t];if(s instanceof U){if(s.push(e))return this[an](e),!0}else return s!==null&&this[Er](s),this[t]=e,this[an](e),!0;let i=\"\";return this.id?i=` (id: ${this.id})`:this.name&&(i=` (name: ${this.name} ${this.h.value})`),B(`XFA - node \"${this[At]}\"${i} has already enough \"${t}\"!`),!1}[wg](e){return Object.hasOwn(this,e[At])&&e[mn]===this[mn]}[ic](){return!1}[Eu](){return!1}[uv](){return!1}[Ua](){return!1}[Cs](){this.para&&this[pn]()[ne].paraStack.pop()}[zo](){this[pn]()[ne].paraStack.push(this.para)}[xg](e){this.id&&this[mn]===Cn.template.id&&e.set(this.id,this)}[pn](){return this[Pt].template}[fr](){return!1}[mr](){return!1}[an](e){e[si]=this,this[mt].push(e),!e[Pt]&&this[Pt]&&(e[Pt]=this[Pt])}[Er](e){let t=this[mt].indexOf(e);this[mt].splice(t,1)}[Tc](){return Object.hasOwn(this,\"value\")}[Ts](e){}[hr](e){}[Bt](){}[ai](e){delete this[Cm],this[$0]&&(e.clean(this[$0]),delete this[$0])}[bg](e){return this[mt].indexOf(e)}[V0](e,t){t[si]=this,this[mt].splice(e,0,t),!t[Pt]&&this[Pt]&&(t[Pt]=this[Pt])}[Ec](){return!this.name}[MI](){return\"\"}[In](){return this[mt].length===0?this[pe]:this[mt].map(e=>e[In]()).join(\"\")}get[bo](){let e=Object.getPrototypeOf(this);if(!e._attributes){let t=e._attributes=new Set;for(let s of Object.getOwnPropertyNames(this)){if(this[s]===null||this[s]instanceof n||this[s]instanceof U)break;t.add(s)}}return je(this,bo,e._attributes)}[Tr](e){let t=this;for(;t;){if(t===e)return!0;t=t[rt]()}return!1}[rt](){return this[si]}[gn](){return this[rt]()}[Do](){let e=Object.create(null);this[pe]&&(e.$content=this[pe]);for(let t of Object.getOwnPropertyNames(this)){let s=this[t];s!==null&&(s instanceof n?e[t]=s[Do]():s instanceof U?s.isEmpty()||(e[t]=s.dump()):e[t]=s)}return e}[vt](){return null}[Je](){return We.EMPTY}*[No](){for(let e of this[ss]())yield e}*[Uy](e,t){for(let s of this[No]())if(!e||t===e.has(s[At])){let i=this[ka](),r=s[Je](i);r.success||(this[ne].failingNode=s),yield r}}[tf](){return null}[ya](e,t){this[ne].children.push(e)}[ka](){}[Pr]({filter:e=null,include:t=!0}){if(!this[ne].generator)this[ne].generator=this[Uy](e,t);else{let s=this[ka](),i=this[ne].failingNode[Je](s);if(!i.success)return i;i.html&&this[ya](i.html,i.bbox),delete this[ne].failingNode}for(;;){let s=this[ne].generator.next();if(s.done)break;let i=s.value;if(!i.success)return i;i.html&&this[ya](i.html,i.bbox)}return this[ne].generator=null,We.EMPTY}[j4](e){this[Ul]=new Set(Object.keys(e))}[Gy](e){let t=this[bo],s=this[Ul];return e.keys().filter(i=>t.has(i)&&!s.has(i)).toArray()}[$l](e,t=new Set){for(let s of this[mt])s[zl](e,t)}[zl](e,t){let s=this[Im](e,t);s?this[O0](s,e,t):this[$l](e,t)}[Im](e,t){let{use:s,usehref:i}=this;if(!s&&!i)return null;let r=null,a=null,o=null,l=s;if(i?(l=i,i.startsWith(\"#som(\")&&i.endsWith(\")\")?a=i.slice(5,-1):i.startsWith(\".#som(\")&&i.endsWith(\")\")?a=i.slice(6,-1):i.startsWith(\"#\")?o=i.slice(1):i.startsWith(\".#\")&&(o=i.slice(2))):s.startsWith(\"#\")?o=s.slice(1):a=s,this.use=this.usehref=\"\",o?r=e.get(o):(r=Ir(e.get(k4),this,a,!0,!1),r&&=r[0]),!r)return B(`XFA - Invalid prototype reference: ${l}.`),null;if(r[At]!==this[At])return B(`XFA - Incompatible prototype: ${r[At]} !== ${this[At]}.`),null;if(t.has(r))return B(\"XFA - Cycle detected in prototypes use.\"),null;t.add(r);let c=r[Im](e,t);return c&&r[O0](c,e,t),r[$l](e,t),t.delete(r),r}[O0](e,t,s){if(s.has(e)){B(\"XFA - Cycle detected in prototypes use.\");return}!this[pe]&&e[pe]&&(this[pe]=e[pe]),new Set(s).add(e);for(let r of this[Gy](e[Ul]))this[r]=e[r],this[Ul]&&this[Ul].add(r);for(let r of Object.getOwnPropertyNames(this)){if(this[bo].has(r))continue;let a=this[r],o=e[r];if(a instanceof U){for(let l of a[mt])l[zl](t,s);for(let l=a[mt].length,c=o[mt].length;l<c;l++){let f=e[mt][l][bi]();if(a.push(f))f[si]=this,this[mt].push(f),f[zl](t,s);else break}continue}if(a!==null){a[$l](t,s),o&&a[O0](o,t,s);continue}if(o!==null){let l=o[bi]();l[si]=this,this[r]=l,this[mt].push(l),l[zl](t,s)}}}static[qm](e){return Array.isArray(e)?e.map(t=>n[qm](t)):typeof e==\"object\"&&e!==null?Object.assign({},e):e}[bi](){let e=Object.create(Object.getPrototypeOf(this));for(let t of Object.getOwnPropertySymbols(this))try{e[t]=this[t]}catch{je(e,t,this[t])}e[Et]=`${e[At]}${jg++}`,e[mt]=[];for(let t of Object.getOwnPropertyNames(this)){if(this[bo].has(t)){e[t]=n[qm](this[t]);continue}let s=this[t];e[t]=s instanceof U?new U(s[Vl]):null}for(let t of this[mt]){let s=t[At],i=t[bi]();e[mt].push(i),i[si]=e,e[s]===null?e[s]=i:e[s][mt].push(i)}return e}[ss](e=null){return e?this[mt].filter(t=>t[At]===e):this[mt]}[Ru](e){return this[e]}[Cc](e,t,s=!0){return Array.from(this[nc](e,t,s))}*[nc](e,t,s=!0){if(e===\"parent\"){yield this[si];return}for(let i of this[mt])i[At]===e&&(yield i),i.name===e&&(yield i),(t||i[Ec]())&&(yield*i[nc](e,t,!1));s&&this[bo].has(e)&&(yield new Fc(this,e,this[e]))}},U=class n{constructor(e=1/0){this[Vl]=e,this[mt]=[]}get isXFAObject(){return!1}get isXFAObjectArray(){return!0}push(e){return this[mt].length<=this[Vl]?(this[mt].push(e),!0):(B(`XFA - node \"${e[At]}\" accepts no more than ${this[Vl]} children`),!1)}isEmpty(){return this[mt].length===0}dump(){return this[mt].length===1?this[mt][0][Do]():this[mt].map(e=>e[Do]())}[bi](){let e=new n(this[Vl]);return e[mt]=this[mt].map(t=>t[bi]()),e}get children(){return this[mt]}clear(){this[mt].length=0}},Fc=class{constructor(e,t,s){this[si]=e,this[At]=t,this[pe]=s,this[Bi]=!1,this[Et]=`attribute${jg++}`}[rt](){return this[si]}[qo](){return!0}[hv](){return this[pe].trim()}[Ts](e){e=e.value||\"\",this[pe]=e.toString()}[In](){return this[pe]}[Tr](e){return this[si]===e||this[si][Tr](e)}},ur=class n extends oe{constructor(e,t,s={}){if(super(e,t),this[pe]=\"\",this[qr]=null,t!==\"#text\"){let i=new Map;this[ra]=i;for(let[r,a]of Object.entries(s))i.set(r,new Fc(this,r,a));if(Object.hasOwn(s,ga)){let r=s[ga].xfa.dataNode;r!==void 0&&(r===\"dataGroup\"?this[qr]=!1:r===\"dataValue\"&&(this[qr]=!0))}}this[Bi]=!1}[rc](e){let t=this[At];if(t===\"#text\"){e.push(_o(this[pe]));return}let s=Mm(t),i=this[mn]===_4?\"xfa:\":\"\";e.push(`<${i}${s}`);for(let[r,a]of this[ra]){let o=Mm(r);e.push(` ${o}=\"${_o(a[pe])}\"`)}if(this[qr]!==null&&(this[qr]?e.push(' xfa:dataNode=\"dataValue\"'):e.push(' xfa:dataNode=\"dataGroup\"')),!this[pe]&&this[mt].length===0){e.push(\"/>\");return}if(e.push(\">\"),this[pe])typeof this[pe]==\"string\"?e.push(_o(this[pe])):this[pe][rc](e);else for(let r of this[mt])r[rc](e);e.push(`</${i}${s}>`)}[Li](e){if(this[pe]){let t=new n(this[mn],\"#text\");this[an](t),t[pe]=this[pe],this[pe]=\"\"}return this[an](e),!0}[hr](e){this[pe]+=e}[Bt](){if(this[pe]&&this[mt].length>0){let e=new n(this[mn],\"#text\");this[an](e),e[pe]=this[pe],delete this[pe]}}[Je](){return this[At]===\"#text\"?We.success({name:\"#text\",value:this[pe]}):We.EMPTY}[y4](){return this[ra]}[Ru](e){let t=this[ra].get(e);return t!==void 0?t:this[ss](e)}*[nc](e,t){let s=this[ra].get(e);s&&(yield s);for(let i of this[mt])i[At]===e&&(yield i),t&&(yield*i[nc](e,t))}*[gg](e,t){let s=this[ra].get(e);s&&(!t||!s[Bi])&&(yield s);for(let i of this[mt])yield*i[gg](e,t)}*[sc](e,t,s){for(let i of this[mt])i[At]===e&&(!s||!i[Bi])&&(yield i),t&&(yield*i[sc](e,t,s))}[qo](){return this[qr]===null?this[mt].length===0||this[mt][0][mn]===Cn.xhtml.id:this[qr]}[hv](){return this[qr]===null?this[mt].length===0?this[pe].trim():this[mt][0][mn]===Cn.xhtml.id?this[mt][0][In]().trim():null:this[pe].trim()}[Ts](e){e=e.value||\"\",this[pe]=e.toString()}[Do](e=!1){let t=Object.create(null);e&&(t.$ns=this[mn]),this[pe]&&(t.$content=this[pe]),t.$name=this[At],t.children=[];for(let s of this[mt])t.children.push(s[Do](e));t.attributes=Object.create(null);for(let[s,i]of this[ra])t.attributes[s]=i[pe];return t}},Zt=class extends oe{constructor(e,t){super(e,t),this[pe]=\"\"}[hr](e){this[pe]+=e}[Bt](){}},St=class extends Zt{constructor(e,t,s){super(e,t),this[M0]=s}[Bt](){this[pe]=Ou({data:this[pe],defaultValue:this[M0][0],validate:e=>this[M0].includes(e)})}[ai](e){super[ai](e),delete this[M0]}},ht=class extends Zt{[Bt](){this[pe]=this[pe].trim()}},$s=class extends Zt{constructor(e,t,s,i){super(e,t),this[_m]=s,this[Tm]=i}[Bt](){this[pe]=nt({data:this[pe],defaultValue:this[_m],validate:this[Tm]})}[ai](e){super[ai](e),delete this[_m],delete this[Tm]}},bn=class extends $s{constructor(e,t){super(e,t,0,s=>s===1)}},Nh=class extends $s{constructor(e,t){super(e,t,1,s=>s===0)}};function tt(n){return typeof n==\"string\"?\"0px\":Number.isInteger(n)?`${n}px`:`${n.toFixed(2)}px`}var Wy={anchorType(n,e){let t=n[gn]();if(!(!t||t.layout&&t.layout!==\"position\"))switch(\"transform\"in e||(e.transform=\"\"),n.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(n,e){let t=n[gn](),s=n.w,i=n.h;if(t.layout?.includes(\"row\")){let r=t[ne],a=n.colSpan,o;a===-1?(o=Math.sumPrecise(r.columnWidths.slice(r.currentColumn)),r.currentColumn=0):(o=Math.sumPrecise(r.columnWidths.slice(r.currentColumn,r.currentColumn+a)),r.currentColumn=(r.currentColumn+n.colSpan)%r.columnWidths.length),isNaN(o)||(s=n.w=o)}e.width=s!==\"\"?tt(s):\"auto\",e.height=i!==\"\"?tt(i):\"auto\"},position(n,e){let t=n[gn]();t?.layout&&t.layout!==\"position\"||(e.position=\"absolute\",e.left=tt(n.x),e.top=tt(n.y))},rotate(n,e){n.rotate&&(\"transform\"in e||(e.transform=\"\"),e.transform+=`rotate(-${n.rotate}deg)`,e.transformOrigin=\"top left\")},presence(n,e){switch(n.presence){case\"invisible\":e.visibility=\"hidden\";break;case\"hidden\":case\"inactive\":e.display=\"none\";break}},hAlign(n,e){if(n[At]===\"para\")switch(n.hAlign){case\"justifyAll\":e.textAlign=\"justify-all\";break;case\"radix\":e.textAlign=\"left\";break;default:e.textAlign=n.hAlign}else switch(n.hAlign){case\"left\":e.alignSelf=\"start\";break;case\"center\":e.alignSelf=\"center\";break;case\"right\":e.alignSelf=\"end\";break}},margin(n,e){n.margin&&(e.margin=n.margin[vt]().margin)}};function I4(n,e){n[gn]().layout===\"position\"&&(n.minW>0&&(e.minWidth=tt(n.minW)),n.maxW>0&&(e.maxWidth=tt(n.maxW)),n.minH>0&&(e.minHeight=tt(n.minH)),n.maxH>0&&(e.maxHeight=tt(n.maxH)))}function $y(n,e,t,s,i,r){let a=new kg(e,t,s,i);return typeof n==\"string\"?a.addString(n):n[Gi](a),a.compute(r)}function pv(n,e){let t=null,s=null,i=!1;if((!n.w||!n.h)&&n.value){let r=0,a=0;n.margin&&(r=n.margin.leftInset+n.margin.rightInset,a=n.margin.topInset+n.margin.bottomInset);let o=null,l=null;n.para&&(l=Object.create(null),o=n.para.lineHeight===\"\"?null:n.para.lineHeight,l.top=n.para.spaceAbove===\"\"?0:n.para.spaceAbove,l.bottom=n.para.spaceBelow===\"\"?0:n.para.spaceBelow,l.left=n.para.marginLeft===\"\"?0:n.para.marginLeft,l.right=n.para.marginRight===\"\"?0:n.para.marginRight);let c=n.font;if(!c){let u=n[pn](),d=n[rt]();for(;d&&d!==u;){if(d.font){c=d.font;break}d=d[rt]()}}let f=(n.w||e.width)-r,h=n[Pt].fontFinder;if(n.value.exData&&n.value.exData[pe]&&n.value.exData.contentType===\"text/html\"){let u=$y(n.value.exData[pe],c,l,o,h,f);s=u.width,t=u.height,i=u.isBroken}else{let u=n.value[In]();if(u){let d=$y(u,c,l,o,h,f);s=d.width,t=d.height,i=d.isBroken}}s!==null&&!n.w&&(s+=r),t!==null&&!n.h&&(t+=a)}return{w:s,h:t,isBroken:i}}function C4(n,e,t){let s;if(n.w!==\"\"&&n.h!==\"\")s=[n.x,n.y,n.w,n.h];else{if(!t)return null;let i=n.w;if(i===\"\"){if(n.maxW===0){let a=n[gn]();i=a.layout===\"position\"&&a.w!==\"\"?0:n.minW}else i=Math.min(n.maxW,t.width);e.attributes.style.width=tt(i)}let r=n.h;if(r===\"\"){if(n.maxH===0){let a=n[gn]();r=a.layout===\"position\"&&a.h!==\"\"?0:n.minH}else r=Math.min(n.maxH,t.height);e.attributes.style.height=tt(r)}s=[n.x,n.y,i,r]}return s}function Mu(n){let e=n[gn]();if(e.layout?.includes(\"row\")){let t=e[ne],s=n.colSpan,i;s===-1?i=Math.sumPrecise(t.columnWidths.slice(t.currentColumn)):i=Math.sumPrecise(t.columnWidths.slice(t.currentColumn,t.currentColumn+s)),isNaN(i)||(n.w=i)}e.layout&&e.layout!==\"position\"&&(n.x=n.y=0),n.layout===\"table\"&&n.w===\"\"&&Array.isArray(n.columnWidths)&&(n.w=Math.sumPrecise(n.columnWidths))}function T4(n){switch(n.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 vs(n,...e){let t=Object.create(null);for(let s of e){let i=n[s];if(i!==null){if(Object.hasOwn(Wy,s)){Wy[s](n,t);continue}if(i instanceof oe){let r=i[vt]();r?Object.assign(t,r):B(`(DEBUG) - XFA - style for ${s} not implemented yet`)}}}return t}function ja(n,e){let{attributes:t}=e,{style:s}=t,i={name:\"div\",attributes:{class:[\"xfaWrapper\"],style:Object.create(null)},children:[]};if(t.class.push(\"xfaWrapped\"),n.border){let{widths:r,insets:a}=n.border[ne],o,l,c=a[0],f=a[3],h=a[0]+a[2],u=a[1]+a[3];switch(n.border.hand){case\"even\":c-=r[0]/2,f-=r[3]/2,o=`calc(100% + ${(r[1]+r[3])/2-u}px)`,l=`calc(100% + ${(r[0]+r[2])/2-h}px)`;break;case\"left\":c-=r[0],f-=r[3],o=`calc(100% + ${r[1]+r[3]-u}px)`,l=`calc(100% + ${r[0]+r[2]-h}px)`;break;case\"right\":o=u?`calc(100% - ${u}px)`:\"100%\",l=h?`calc(100% - ${h}px)`:\"100%\";break}let d=[\"xfaBorder\"];Uo(n.border)&&d.push(\"xfaPrintOnly\");let p={name:\"div\",attributes:{class:d,style:{top:`${c}px`,left:`${f}px`,width:o,height:l}},children:[]};for(let m of[\"border\",\"borderWidth\",\"borderColor\",\"borderRadius\",\"borderStyle\"])s[m]!==void 0&&(p.attributes.style[m]=s[m],delete s[m]);i.children.push(p,e)}else i.children.push(e);for(let r of[\"background\",\"backgroundClip\",\"top\",\"left\",\"width\",\"height\",\"minWidth\",\"minHeight\",\"maxWidth\",\"maxHeight\",\"transform\",\"transformOrigin\",\"visibility\"])s[r]!==void 0&&(i.attributes.style[r]=s[r],delete s[r]);return i.attributes.style.position=s.position===\"absolute\"?\"absolute\":\"relative\",delete s.position,s.alignSelf&&(i.attributes.style.alignSelf=s.alignSelf,delete s.alignSelf),i}function E4(n){let e=Pe(n.textIndent,\"0px\");if(e>=0)return;let s=\"padding\"+((n.textAlign===\"right\"?\"right\":\"left\")===\"left\"?\"Left\":\"Right\"),i=Pe(n[s],\"0px\");n[s]=`${i-e}px`}function mv(n,e){switch(n.access){case\"nonInteractive\":e.push(\"xfaNonInteractive\");break;case\"readOnly\":e.push(\"xfaReadOnly\");break;case\"protected\":e.push(\"xfaDisabled\");break}}function Uo(n){return n.relevant.length>0&&!n.relevant[0].excluded&&n.relevant[0].viewname===\"print\"}function R4(n){let e=n[pn]()[ne].paraStack;return e.length?e.at(-1):null}function F4(n,e,t){if(t.attributes.class?.includes(\"xfaRich\")){e&&(n.h===\"\"&&(e.height=\"auto\"),n.w===\"\"&&(e.width=\"auto\"));let s=R4(n);if(s){let i=t.attributes.style;switch(i.display=\"flex\",i.flexDirection=\"column\",s.vAlign){case\"top\":i.justifyContent=\"start\";break;case\"bottom\":i.justifyContent=\"end\";break;case\"middle\":i.justifyContent=\"center\";break}let r=s[vt]();for(let[a,o]of Object.entries(r))a in i||(i[a]=o)}}}function O4(n,e,t,s){if(!t){delete s.fontFamily;return}let i=Fu(n.typeface);s.fontFamily=ey(i);let r=t.find(i);if(r){let{fontFamily:a}=r.regular.cssFontInfo;a!==i&&(s.fontFamily=ey(a));let o=R4(e);if(o&&o.lineHeight!==\"\"||s.lineHeight)return;let l=dv(n,r);l&&(s.lineHeight=Math.max(1.2,l.lineHeight))}}function M4(n){let e=X0(n,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return e?e.href:null}function P4(n,e){return{name:\"div\",attributes:{class:[n.layout===\"lr-tb\"?\"xfaLr\":\"xfaRl\"]},children:e}}function B4(n){if(!n[ne])return null;let t={name:\"div\",attributes:n[ne].attributes,children:n[ne].children};if(n[ne].failingNode){let s=n[ne].failingNode[tf]();s&&(n.layout.endsWith(\"-tb\")?t.children.push(P4(n,[s])):t.children.push(s))}return t.children.length===0?null:t}function D4(n,e,t){let s=n[ne],i=s.availableSpace,[r,a,o,l]=t;switch(n.layout){case\"position\":{s.width=Math.max(s.width,r+o),s.height=Math.max(s.height,a+l),s.children.push(e);break}case\"lr-tb\":case\"rl-tb\":(!s.line||s.attempt===1)&&(s.line=P4(n,[]),s.children.push(s.line),s.numberInLine=0),s.numberInLine+=1,s.line.children.push(e),s.attempt===0?(s.currentWidth+=o,s.height=Math.max(s.height,s.prevHeight+l)):(s.currentWidth=o,s.prevHeight=s.height,s.height+=l,s.attempt=0),s.width=Math.max(s.width,s.currentWidth);break;case\"rl-row\":case\"row\":{s.children.push(e),s.width+=o,s.height=Math.max(s.height,l);let c=tt(s.height);for(let f of s.children)f.attributes.style.height=c;break}case\"table\":{s.width=Rt(o,s.width,i.width),s.height+=l,s.children.push(e);break}case\"tb\":{s.width=Rt(o,s.width,i.width),s.height+=l,s.children.push(e);break}}}function N4(n){let e=n[ne].availableSpace,t=n.margin?n.margin.topInset+n.margin.bottomInset:0,s=n.margin?n.margin.leftInset+n.margin.rightInset:0;switch(n.layout){case\"lr-tb\":case\"rl-tb\":return n[ne].attempt===0?{width:e.width-s-n[ne].currentWidth,height:e.height-t-n[ne].prevHeight}:{width:e.width-s,height:e.height-t-n[ne].height};case\"rl-row\":case\"row\":return{width:Math.sumPrecise(n[ne].columnWidths.slice(n[ne].currentColumn)),height:e.height-s};case\"table\":case\"tb\":return{width:e.width-s,height:e.height-t-n[ne].height};default:return e}}function $I(n){let e=n.w===\"\"?NaN:n.w,t=n.h===\"\"?NaN:n.h,[s,i]=[0,0];switch(n.anchorType||\"\"){case\"bottomCenter\":[s,i]=[e/2,t];break;case\"bottomLeft\":[s,i]=[0,t];break;case\"bottomRight\":[s,i]=[e,t];break;case\"middleCenter\":[s,i]=[e/2,t/2];break;case\"middleLeft\":[s,i]=[0,t/2];break;case\"middleRight\":[s,i]=[e,t/2];break;case\"topCenter\":[s,i]=[e/2,0];break;case\"topRight\":[s,i]=[e,0];break}let r,a;switch(n.rotate||0){case 0:[r,a]=[-s,-i];break;case 90:[r,a]=[-i,s],[e,t]=[t,-e];break;case 180:[r,a]=[s,i],[e,t]=[-e,-t];break;case 270:[r,a]=[i,-s],[e,t]=[-t,e];break}return[n.x+r+Math.min(0,e),n.y+a+Math.min(0,t),Math.abs(e),Math.abs(t)]}function Pu(n,e){if(n[pn]()[ne].firstUnsplittable===null||n.w===0||n.h===0)return!0;let t=2,s=n[gn](),i=s[ne]?.attempt||0,[,r,a,o]=$I(n);switch(s.layout){case\"lr-tb\":case\"rl-tb\":return i===0?n[pn]()[ne].noLayoutFailure?n.w!==\"\"?Math.round(a-e.width)<=t:e.width>t:n.h!==\"\"&&Math.round(o-e.height)>t?!1:n.w!==\"\"?Math.round(a-e.width)<=t?!0:s[ne].numberInLine===0?e.height>t:!1:e.width>t:n[pn]()[ne].noLayoutFailure?!0:n.h!==\"\"&&Math.round(o-e.height)>t?!1:n.w===\"\"||Math.round(a-e.width)<=t?e.height>t:s[mr]()?!1:e.height>t;case\"table\":case\"tb\":return n[pn]()[ne].noLayoutFailure?!0:n.h!==\"\"&&!n[fr]()?Math.round(o-e.height)<=t:n.w===\"\"||Math.round(a-e.width)<=t?e.height>t:s[mr]()?!1:e.height>t;case\"position\":if(n[pn]()[ne].noLayoutFailure||n.h===\"\"||Math.round(o+r-e.height)<=t)return!0;let l=n[pn]()[ne].currentContentArea;return o+r>l.h;case\"rl-row\":case\"row\":return n[pn]()[ne].noLayoutFailure?!0:n.h!==\"\"?Math.round(o-e.height)<=t:!0;default:return!0}}var _e=Cn.template.id,Hh=2,VI=3,KI=5e3,XI=/^H(\\d+)$/,YI=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\"]),JI=[[[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 Vy(n){if(!n||!n.border)return{w:0,h:0};let e=n.border[Xn]();return e?{w:e.widths[0]+e.widths[2]+e.insets[0]+e.insets[2],h:e.widths[1]+e.widths[3]+e.insets[1]+e.insets[3]}:{w:0,h:0}}function gv(n){return n.margin&&(n.margin.topInset||n.margin.rightInset||n.margin.bottomInset||n.margin.leftInset)}function bv(n,e){if(!n.value){let t=new Uc({});n[an](t),n.value=t}n.value[Ts](e)}function*wv(n){for(let e of n[ss]()){if(e instanceof Hc){yield*e[No]();continue}yield e}}function nf(n){return n.validate?.nullTest===\"error\"}function Bu(n){for(;n;){if(!n.traversal){n[pi]=n[rt]()[pi];return}if(n[pi])return;let e=null;for(let i of n.traversal[ss]())if(i.operation===\"next\"){e=i;break}if(!e||!e.ref){n[pi]=n[rt]()[pi];return}let t=n[pn]();n[pi]=++t[pi];let s=t[or](e.ref,n);if(!s)return;n=s[0]}}function Du(n,e){let t=n.assist;if(t){let s=t[Je]();s&&(e.title=s);let r=t.role.match(XI);if(r){let a=\"heading\",o=r[1];e.role=a,e[\"aria-level\"]=o}}if(n.layout===\"table\")e.role=\"table\";else if(n.layout===\"row\")e.role=\"row\";else{let s=n[rt]();s.layout===\"row\"&&(e.role=s.assist?.role===\"TH\"?\"columnheader\":\"cell\")}}function Fa(n){if(!n.assist)return null;let e=n.assist;return e.speak&&e.speak[pe]!==\"\"?e.speak[pe]:e.toolTip?e.toolTip[pe]:null}function Nr(n){return We.success({name:\"div\",attributes:{class:[\"xfaRich\"],style:Object.create(null)},children:[{name:\"span\",attributes:{style:Object.create(null)},value:n}]})}function Nu(n){let e=n[pn]();e[ne].firstUnsplittable===null&&(e[ne].firstUnsplittable=n,e[ne].noLayoutFailure=!0)}function Hu(n){let e=n[pn]();e[ne].firstUnsplittable===n&&(e[ne].noLayoutFailure=!1)}function Ky(n){if(n[ne]||(n[ne]=Object.create(null),n.targetType===\"auto\"))return!1;let e=n[pn](),t=null;if(n.target){if(t=e[or](n.target,n[rt]()),!t)return!1;t=t[0]}let{currentPageArea:s,currentContentArea:i}=e[ne];if(n.targetType===\"pageArea\")return t instanceof Br||(t=null),n.startNew?(n[ne].target=t||s,!0):t&&t!==s?(n[ne].target=t,!0):!1;t instanceof Mc||(t=null);let r=t&&t[rt](),a,o=r;if(n.startNew)if(t){let l=r.contentArea.children,c=l.indexOf(i),f=l.indexOf(t);c!==-1&&c<f&&(o=null),a=f-1}else a=s.contentArea.children.indexOf(i);else if(t&&t!==i)a=r.contentArea.children.indexOf(t)-1,o=r===s?null:r;else return!1;return n[ne].target=o,n[ne].index=a,!0}function Xy(n,e,t){let s=n[pn](),i=s[ne].noLayoutFailure,r=e[gn];e[gn]=()=>n,s[ne].noLayoutFailure=!0;let a=e[Je](t);n[ya](a.html,a.bbox),s[ne].noLayoutFailure=i,e[gn]=r}var Ag=class extends ht{constructor(e){super(_e,\"appearanceFilter\"),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Lh=class extends oe{constructor(e){super(_e,\"arc\",!0),this.circular=nt({data:e.circular,defaultValue:0,validate:t=>t===1}),this.hand=be(e.hand,[\"even\",\"left\",\"right\"]),this.id=e.id||\"\",this.startAngle=Bh({data:e.startAngle,defaultValue:0,validate:t=>!0}),this.sweepAngle=Bh({data:e.sweepAngle,defaultValue:360,validate:t=>!0}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.edge=null,this.fill=null}[Je](){let e=this.edge||new Oa({}),t=e[vt](),s=Object.create(null);this.fill?.presence===\"visible\"?Object.assign(s,this.fill[vt]()):s.fill=\"transparent\",s.strokeWidth=tt(e.presence===\"visible\"?e.thickness:0),s.stroke=t.color;let i,r={xmlns:wa,style:{width:\"100%\",height:\"100%\",overflow:\"visible\"}};if(this.sweepAngle===360)i={name:\"ellipse\",attributes:{xmlns:wa,cx:\"50%\",cy:\"50%\",rx:\"50%\",ry:\"50%\",style:s}};else{let l=this.startAngle*Math.PI/180,c=this.sweepAngle*Math.PI/180,f=this.sweepAngle>180?1:0,[h,u,d,p]=[50*(1+Math.cos(l)),50*(1-Math.sin(l)),50*(1+Math.cos(l+c)),50*(1-Math.sin(l+c))];i={name:\"path\",attributes:{xmlns:wa,d:`M ${h} ${u} A 50 50 0 ${f} 0 ${d} ${p}`,vectorEffect:\"non-scaling-stroke\",style:s}},Object.assign(r,{viewBox:\"0 0 100 100\",preserveAspectRatio:\"none\"})}let a={name:\"svg\",children:[i],attributes:r},o=this[rt]()[rt]();return gv(o)?We.success({name:\"div\",attributes:{style:{display:\"inline\",width:\"100%\",height:\"100%\"}},children:[a]}):(a.attributes.style.position=\"absolute\",We.success(a))}},Sg=class extends oe{constructor(e){super(_e,\"area\",!0),this.colSpan=nt({data:e.colSpan,defaultValue:1,validate:t=>t>=1||t===-1}),this.id=e.id||\"\",this.name=e.name||\"\",this.relevant=Si(e.relevant),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.x=Pe(e.x,\"0pt\"),this.y=Pe(e.y,\"0pt\"),this.desc=null,this.extras=null,this.area=new U,this.draw=new U,this.exObject=new U,this.exclGroup=new U,this.field=new U,this.subform=new U,this.subformSet=new U}*[No](){yield*wv(this)}[Ec](){return!0}[Ua](){return!0}[ya](e,t){let[s,i,r,a]=t;this[ne].width=Math.max(this[ne].width,s+r),this[ne].height=Math.max(this[ne].height,i+a),this[ne].children.push(e)}[ka](){return this[ne].availableSpace}[Je](e){let t=vs(this,\"position\"),s={style:t,id:this[Et],class:[\"xfaArea\"]};Uo(this)&&s.class.push(\"xfaPrintOnly\"),this.name&&(s.xfaName=this.name);let i=[];this[ne]={children:i,width:0,height:0,availableSpace:e};let r=this[Pr]({filter:new Set([\"area\",\"draw\",\"field\",\"exclGroup\",\"subform\",\"subformSet\"]),include:!0});if(!r.success)return r.isBreak()?r:(delete this[ne],We.FAILURE);t.width=tt(this[ne].width),t.height=tt(this[ne].height);let a={name:\"div\",attributes:s,children:i},o=[this.x,this.y,this[ne].width,this[ne].height];return delete this[ne],We.success(a,o)}},qg=class extends oe{constructor(e){super(_e,\"assist\",!0),this.id=e.id||\"\",this.role=e.role||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.speak=null,this.toolTip=null}[Je](){return this.toolTip?.[pe]||null}},_g=class extends oe{constructor(e){super(_e,\"barcode\",!0),this.charEncoding=Ou({data:e.charEncoding?e.charEncoding.toLowerCase():\"\",defaultValue:\"\",validate:t=>[\"utf-8\",\"big-five\",\"fontspecific\",\"gbk\",\"gb-18030\",\"gb-2312\",\"ksc-5601\",\"none\",\"shift-jis\",\"ucs-2\",\"utf-16\"].includes(t)||t.match(/iso-8859-\\d{2}/)}),this.checksum=be(e.checksum,[\"none\",\"1mod10\",\"1mod10_1mod11\",\"2mod10\",\"auto\"]),this.dataColumnCount=nt({data:e.dataColumnCount,defaultValue:-1,validate:t=>t>=0}),this.dataLength=nt({data:e.dataLength,defaultValue:-1,validate:t=>t>=0}),this.dataPrep=be(e.dataPrep,[\"none\",\"flateCompress\"]),this.dataRowCount=nt({data:e.dataRowCount,defaultValue:-1,validate:t=>t>=0}),this.endChar=e.endChar||\"\",this.errorCorrectionLevel=nt({data:e.errorCorrectionLevel,defaultValue:-1,validate:t=>t>=0&&t<=8}),this.id=e.id||\"\",this.moduleHeight=Pe(e.moduleHeight,\"5mm\"),this.moduleWidth=Pe(e.moduleWidth,\"0.25mm\"),this.printCheckDigit=nt({data:e.printCheckDigit,defaultValue:0,validate:t=>t===1}),this.rowColumnRatio=Ly(e.rowColumnRatio),this.startChar=e.startChar||\"\",this.textLocation=be(e.textLocation,[\"below\",\"above\",\"aboveEmbedded\",\"belowEmbedded\",\"none\"]),this.truncate=nt({data:e.truncate,defaultValue:0,validate:t=>t===1}),this.type=be(e.type?e.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=be(e.upsMode,[\"usCarrier\",\"internationalCarrier\",\"secureSymbol\",\"standardSymbol\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.wideNarrowRatio=Ly(e.wideNarrowRatio),this.encrypt=null,this.extras=null}},Ig=class extends oe{constructor(e){super(_e,\"bind\",!0),this.match=be(e.match,[\"once\",\"dataRef\",\"global\",\"none\"]),this.ref=e.ref||\"\",this.picture=null}},Oc=class extends oe{constructor(e){super(_e,\"bindItems\"),this.connection=e.connection||\"\",this.labelRef=e.labelRef||\"\",this.ref=e.ref||\"\",this.valueRef=e.valueRef||\"\"}},Cg=class extends oe{constructor(e){super(_e,\"bookend\"),this.id=e.id||\"\",this.leader=e.leader||\"\",this.trailer=e.trailer||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Tg=class extends bn{constructor(e){super(_e,\"boolean\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Je](e){return Nr(this[pe]===1?\"1\":\"0\")}},zh=class extends oe{constructor(e){super(_e,\"border\",!0),this.break=be(e.break,[\"close\",\"open\"]),this.hand=be(e.hand,[\"even\",\"left\",\"right\"]),this.id=e.id||\"\",this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.relevant=Si(e.relevant),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.corner=new U(4),this.edge=new U(4),this.extras=null,this.fill=null,this.margin=null}[Xn](){if(!this[ne]){let e=this.edge.children.slice();if(e.length<4){let i=e.at(-1)||new Oa({});for(let r=e.length;r<4;r++)e.push(i)}let t=e.map(i=>i.thickness),s=[0,0,0,0];this.margin&&(s[0]=this.margin.topInset,s[1]=this.margin.rightInset,s[2]=this.margin.bottomInset,s[3]=this.margin.leftInset),this[ne]={widths:t,insets:s,edges:e}}return this[ne]}[vt](){let{edges:e}=this[Xn](),t=e.map(i=>{let r=i[vt]();return r.color||=\"#000000\",r}),s=Object.create(null);if(this.margin&&Object.assign(s,this.margin[vt]()),this.fill?.presence===\"visible\"&&Object.assign(s,this.fill[vt]()),this.corner.children.some(i=>i.radius!==0)){let i=this.corner.children.map(r=>r[vt]());if(i.length===2||i.length===3){let r=i.at(-1);for(let a=i.length;a<4;a++)i.push(r)}s.borderRadius=i.map(r=>r.radius).join(\" \")}switch(this.presence){case\"invisible\":case\"hidden\":s.borderStyle=\"\";break;case\"inactive\":s.borderStyle=\"none\";break;default:s.borderStyle=t.map(i=>i.style).join(\" \");break}return s.borderWidth=t.map(i=>i.width).join(\" \"),s.borderColor=t.map(i=>i.color).join(\" \"),s}},Eg=class extends oe{constructor(e){super(_e,\"break\",!0),this.after=be(e.after,[\"auto\",\"contentArea\",\"pageArea\",\"pageEven\",\"pageOdd\"]),this.afterTarget=e.afterTarget||\"\",this.before=be(e.before,[\"auto\",\"contentArea\",\"pageArea\",\"pageEven\",\"pageOdd\"]),this.beforeTarget=e.beforeTarget||\"\",this.bookendLeader=e.bookendLeader||\"\",this.bookendTrailer=e.bookendTrailer||\"\",this.id=e.id||\"\",this.overflowLeader=e.overflowLeader||\"\",this.overflowTarget=e.overflowTarget||\"\",this.overflowTrailer=e.overflowTrailer||\"\",this.startNew=nt({data:e.startNew,defaultValue:0,validate:t=>t===1}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null}},Uh=class extends oe{constructor(e){super(_e,\"breakAfter\",!0),this.id=e.id||\"\",this.leader=e.leader||\"\",this.startNew=nt({data:e.startNew,defaultValue:0,validate:t=>t===1}),this.target=e.target||\"\",this.targetType=be(e.targetType,[\"auto\",\"contentArea\",\"pageArea\"]),this.trailer=e.trailer||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.script=null}},Gh=class extends oe{constructor(e){super(_e,\"breakBefore\",!0),this.id=e.id||\"\",this.leader=e.leader||\"\",this.startNew=nt({data:e.startNew,defaultValue:0,validate:t=>t===1}),this.target=e.target||\"\",this.targetType=be(e.targetType,[\"auto\",\"contentArea\",\"pageArea\"]),this.trailer=e.trailer||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.script=null}[Je](e){return this[ne]={},We.FAILURE}},Rg=class extends oe{constructor(e){super(_e,\"button\",!0),this.highlight=be(e.highlight,[\"inverted\",\"none\",\"outline\",\"push\"]),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null}[Je](e){let s=this[rt]()[rt](),i={name:\"button\",attributes:{id:this[Et],class:[\"xfaButton\"],style:{}},children:[]};for(let r of s.event.children){if(r.activity!==\"click\"||!r.script)continue;let a=L8(r.script[pe]);if(!a)continue;let o=M4(a.url);o&&i.children.push({name:\"a\",attributes:{id:\"link\"+this[Et],href:o,newWindow:a.newWindow,class:[\"xfaLink\"],style:{}},children:[]})}return We.success(i)}},Fg=class extends oe{constructor(e){super(_e,\"calculate\",!0),this.id=e.id||\"\",this.override=be(e.override,[\"disabled\",\"error\",\"ignore\",\"warning\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.message=null,this.script=null}},Og=class extends oe{constructor(e){super(_e,\"caption\",!0),this.id=e.id||\"\",this.placement=be(e.placement,[\"left\",\"bottom\",\"inline\",\"right\",\"top\"]),this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.reserve=Math.ceil(Pe(e.reserve)),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.font=null,this.margin=null,this.para=null,this.value=null}[Ts](e){bv(this,e)}[Xn](e){if(!this[ne]){let{width:t,height:s}=e;switch(this.placement){case\"left\":case\"right\":case\"inline\":t=this.reserve<=0?t:this.reserve;break;case\"top\":case\"bottom\":s=this.reserve<=0?s:this.reserve;break}this[ne]=pv(this,{width:t,height:s})}return this[ne]}[Je](e){if(!this.value)return We.EMPTY;this[zo]();let t=this.value[Je](e).html;if(!t)return this[Cs](),We.EMPTY;let s=this.reserve;if(this.reserve<=0){let{w:a,h:o}=this[Xn](e);switch(this.placement){case\"left\":case\"right\":case\"inline\":this.reserve=a;break;case\"top\":case\"bottom\":this.reserve=o;break}}let i=[];typeof t==\"string\"?i.push({name:\"#text\",value:t}):i.push(t);let r=vs(this,\"font\",\"margin\",\"visibility\");switch(this.placement){case\"left\":case\"right\":this.reserve>0&&(r.width=tt(this.reserve));break;case\"top\":case\"bottom\":this.reserve>0&&(r.height=tt(this.reserve));break}return F4(this,null,t),this[Cs](),this.reserve=s,We.success({name:\"div\",attributes:{style:r,class:[\"xfaCaption\"]},children:i})}},Mg=class extends ht{constructor(e){super(_e,\"certificate\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Pg=class extends oe{constructor(e){super(_e,\"certificates\",!0),this.credentialServerPolicy=be(e.credentialServerPolicy,[\"optional\",\"required\"]),this.id=e.id||\"\",this.url=e.url||\"\",this.urlPolicy=e.urlPolicy||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.encryption=null,this.issuers=null,this.keyUsage=null,this.oids=null,this.signing=null,this.subjectDNs=null}},Wh=class extends oe{constructor(e){super(_e,\"checkButton\",!0),this.id=e.id||\"\",this.mark=be(e.mark,[\"default\",\"check\",\"circle\",\"cross\",\"diamond\",\"square\",\"star\"]),this.shape=be(e.shape,[\"square\",\"round\"]),this.size=Pe(e.size,\"10pt\"),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.border=null,this.extras=null,this.margin=null}[Je](e){let t=vs(this,\"margin\"),s=tt(this.size);t.width=t.height=s;let i,r,a,o=this[rt]()[rt](),l=o.items.children.length&&o.items.children[0][Je]().html||[],c={on:(l[0]!==void 0?l[0]:\"on\").toString(),off:(l[1]!==void 0?l[1]:\"off\").toString()},h=(o.value?.[In]()||\"off\")===c.on||void 0,u=o[gn](),d=o[Et],p;u instanceof Xh?(a=u[Et],i=\"radio\",r=\"xfaRadio\",p=u[ii]?.[Et]||u[Et]):(i=\"checkbox\",r=\"xfaCheckbox\",p=o[ii]?.[Et]||o[Et]);let m={name:\"input\",attributes:{class:[r],style:t,fieldId:d,dataId:p,type:i,checked:h,xfaOn:c.on,xfaOff:c.off,\"aria-label\":Fa(o),\"aria-required\":!1}};return a&&(m.attributes.name=a),nf(o)&&(m.attributes[\"aria-required\"]=!0,m.attributes.required=!0),We.success({name:\"label\",attributes:{class:[\"xfaLabel\"]},children:[m]})}},$h=class extends oe{constructor(e){super(_e,\"choiceList\",!0),this.commitOn=be(e.commitOn,[\"select\",\"exit\"]),this.id=e.id||\"\",this.open=be(e.open,[\"userControl\",\"always\",\"multiSelect\",\"onEntry\"]),this.textEntry=nt({data:e.textEntry,defaultValue:0,validate:t=>t===1}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.border=null,this.extras=null,this.margin=null}[Je](e){let t=vs(this,\"border\",\"margin\"),i=this[rt]()[rt](),a={fontSize:`calc(${i.font?.size||10}px * var(--total-scale-factor))`},o=[];if(i.items.children.length>0){let c=i.items,f=0,h=0;c.children.length===2&&(f=c.children[0].save,h=1-f);let u=c.children[f][Je]().html,d=c.children[h][Je]().html,p=!1,m=i.value?.[In]()||\"\";for(let g=0,b=u.length;g<b;g++){let x={name:\"option\",attributes:{value:d[g]||u[g],style:a},value:u[g]};d[g]===m&&(x.attributes.selected=p=!0),o.push(x)}p||o.splice(0,0,{name:\"option\",attributes:{hidden:!0,selected:!0},value:\" \"})}let l={class:[\"xfaSelect\"],fieldId:i[Et],dataId:i[ii]?.[Et]||i[Et],style:t,\"aria-label\":Fa(i),\"aria-required\":!1};return nf(i)&&(l[\"aria-required\"]=!0,l.required=!0),this.open===\"multiSelect\"&&(l.multiple=!0),We.success({name:\"label\",attributes:{class:[\"xfaLabel\"]},children:[{name:\"select\",children:o,attributes:l}]})}},Bg=class extends oe{constructor(e){super(_e,\"color\",!0),this.cSpace=be(e.cSpace,[\"SRGB\"]),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.value=e.value?DI(e.value):\"\",this.extras=null}[Tc](){return!1}[vt](){return this.value?ft.makeHexColor(this.value.r,this.value.g,this.value.b):null}},Dg=class extends oe{constructor(e){super(_e,\"comb\"),this.id=e.id||\"\",this.numberOfCells=nt({data:e.numberOfCells,defaultValue:0,validate:t=>t>=0}),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Ng=class extends oe{constructor(e){super(_e,\"connect\",!0),this.connection=e.connection||\"\",this.id=e.id||\"\",this.ref=e.ref||\"\",this.usage=be(e.usage,[\"exportAndImport\",\"exportOnly\",\"importOnly\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.picture=null}},Mc=class extends oe{constructor(e){super(_e,\"contentArea\",!0),this.h=Pe(e.h),this.id=e.id||\"\",this.name=e.name||\"\",this.relevant=Si(e.relevant),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.w=Pe(e.w),this.x=Pe(e.x,\"0pt\"),this.y=Pe(e.y,\"0pt\"),this.desc=null,this.extras=null}[Je](e){let t=tt(this.x),s=tt(this.y),i={left:t,top:s,width:tt(this.w),height:tt(this.h)},r=[\"xfaContentarea\"];return Uo(this)&&r.push(\"xfaPrintOnly\"),We.success({name:\"div\",children:[],attributes:{style:i,class:r,id:this[Et]}})}},Vh=class extends oe{constructor(e){super(_e,\"corner\",!0),this.id=e.id||\"\",this.inverted=nt({data:e.inverted,defaultValue:0,validate:t=>t===1}),this.join=be(e.join,[\"square\",\"round\"]),this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.radius=Pe(e.radius),this.stroke=be(e.stroke,[\"solid\",\"dashDot\",\"dashDotDot\",\"dashed\",\"dotted\",\"embossed\",\"etched\",\"lowered\",\"raised\"]),this.thickness=Pe(e.thickness,\"0.5pt\"),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.color=null,this.extras=null}[vt](){let e=vs(this,\"visibility\");return e.radius=tt(this.join===\"square\"?0:this.radius),e}},Hg=class extends Zt{constructor(e){super(_e,\"date\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Bt](){let e=this[pe].trim();this[pe]=e?new Date(e):null}[Je](e){return Nr(this[pe]?this[pe].toString():\"\")}},Lg=class extends Zt{constructor(e){super(_e,\"dateTime\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Bt](){let e=this[pe].trim();this[pe]=e?new Date(e):null}[Je](e){return Nr(this[pe]?this[pe].toString():\"\")}},zg=class extends oe{constructor(e){super(_e,\"dateTimeEdit\",!0),this.hScrollPolicy=be(e.hScrollPolicy,[\"auto\",\"off\",\"on\"]),this.id=e.id||\"\",this.picker=be(e.picker,[\"host\",\"none\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.border=null,this.comb=null,this.extras=null,this.margin=null}[Je](e){let t=vs(this,\"border\",\"font\",\"margin\"),s=this[rt]()[rt](),i={name:\"input\",attributes:{type:\"text\",fieldId:s[Et],dataId:s[ii]?.[Et]||s[Et],class:[\"xfaTextfield\"],style:t,\"aria-label\":Fa(s),\"aria-required\":!1}};return nf(s)&&(i.attributes[\"aria-required\"]=!0,i.attributes.required=!0),We.success({name:\"label\",attributes:{class:[\"xfaLabel\"]},children:[i]})}},Ug=class extends Zt{constructor(e){super(_e,\"decimal\"),this.fracDigits=nt({data:e.fracDigits,defaultValue:2,validate:t=>!0}),this.id=e.id||\"\",this.leadDigits=nt({data:e.leadDigits,defaultValue:-1,validate:t=>!0}),this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Bt](){let e=parseFloat(this[pe].trim());this[pe]=isNaN(e)?null:e}[Je](e){return Nr(this[pe]!==null?this[pe].toString():\"\")}},Gg=class extends oe{constructor(e){super(_e,\"defaultUi\",!0),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null}},Wg=class extends oe{constructor(e){super(_e,\"desc\",!0),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.boolean=new U,this.date=new U,this.dateTime=new U,this.decimal=new U,this.exData=new U,this.float=new U,this.image=new U,this.integer=new U,this.text=new U,this.time=new U}},$g=class extends St{constructor(e){super(_e,\"digestMethod\",[\"\",\"SHA1\",\"SHA256\",\"SHA512\",\"RIPEMD160\"]),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Vg=class extends oe{constructor(e){super(_e,\"digestMethods\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.digestMethod=new U}},Kh=class extends oe{constructor(e){super(_e,\"draw\",!0),this.anchorType=be(e.anchorType,[\"topLeft\",\"bottomCenter\",\"bottomLeft\",\"bottomRight\",\"middleCenter\",\"middleLeft\",\"middleRight\",\"topCenter\",\"topRight\"]),this.colSpan=nt({data:e.colSpan,defaultValue:1,validate:t=>t>=1||t===-1}),this.h=e.h?Pe(e.h):\"\",this.hAlign=be(e.hAlign,[\"left\",\"center\",\"justify\",\"justifyAll\",\"radix\",\"right\"]),this.id=e.id||\"\",this.locale=e.locale||\"\",this.maxH=Pe(e.maxH,\"0pt\"),this.maxW=Pe(e.maxW,\"0pt\"),this.minH=Pe(e.minH,\"0pt\"),this.minW=Pe(e.minW,\"0pt\"),this.name=e.name||\"\",this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.relevant=Si(e.relevant),this.rotate=nt({data:e.rotate,defaultValue:0,validate:t=>t%90===0}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.w=e.w?Pe(e.w):\"\",this.x=Pe(e.x,\"0pt\"),this.y=Pe(e.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 U}[Ts](e){bv(this,e)}[Je](e){if(Bu(this),this.presence===\"hidden\"||this.presence===\"inactive\")return We.EMPTY;Mu(this),this[zo]();let t=this.w,s=this.h,{w:i,h:r,isBroken:a}=pv(this,e);if(i&&this.w===\"\"){if(a&&this[gn]()[mr]())return this[Cs](),We.FAILURE;this.w=i}if(r&&this.h===\"\"&&(this.h=r),Nu(this),!Pu(this,e))return this.w=t,this.h=s,this[Cs](),We.FAILURE;Hu(this);let o=vs(this,\"font\",\"hAlign\",\"dimensions\",\"position\",\"presence\",\"rotate\",\"anchorType\",\"border\",\"margin\");I4(this,o),o.margin&&(o.padding=o.margin,delete o.margin);let l=[\"xfaDraw\"];this.font&&l.push(\"xfaFont\"),Uo(this)&&l.push(\"xfaPrintOnly\");let c={style:o,id:this[Et],class:l};this.name&&(c.xfaName=this.name);let f={name:\"div\",attributes:c,children:[]};Du(this,c);let h=C4(this,f,e),u=this.value?this.value[Je](e).html:null;return u===null?(this.w=t,this.h=s,this[Cs](),We.success(ja(this,f),h)):(f.children.push(u),F4(this,o,u),this.w=t,this.h=s,this[Cs](),We.success(ja(this,f),h))}},Oa=class extends oe{constructor(e){super(_e,\"edge\",!0),this.cap=be(e.cap,[\"square\",\"butt\",\"round\"]),this.id=e.id||\"\",this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.stroke=be(e.stroke,[\"solid\",\"dashDot\",\"dashDotDot\",\"dashed\",\"dotted\",\"embossed\",\"etched\",\"lowered\",\"raised\"]),this.thickness=Pe(e.thickness,\"0.5pt\"),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.color=null,this.extras=null}[vt](){let e=vs(this,\"visibility\");if(Object.assign(e,{linecap:this.cap,width:tt(this.thickness),color:this.color?this.color[vt]():\"#000000\",style:\"\"}),this.presence!==\"visible\")e.style=\"none\";else switch(this.stroke){case\"solid\":e.style=\"solid\";break;case\"dashDot\":e.style=\"dashed\";break;case\"dashDotDot\":e.style=\"dashed\";break;case\"dashed\":e.style=\"dashed\";break;case\"dotted\":e.style=\"dotted\";break;case\"embossed\":e.style=\"ridge\";break;case\"etched\":e.style=\"groove\";break;case\"lowered\":e.style=\"inset\";break;case\"raised\":e.style=\"outset\";break}return e}},Kg=class extends St{constructor(e){super(_e,\"encoding\",[\"adbe.x509.rsa_sha1\",\"adbe.pkcs7.detached\",\"adbe.pkcs7.sha1\"]),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Xg=class extends oe{constructor(e){super(_e,\"encodings\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.encoding=new U}},Yg=class extends oe{constructor(e){super(_e,\"encrypt\",!0),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.certificate=null}},Jg=class extends oe{constructor(e){super(_e,\"encryptData\",!0),this.id=e.id||\"\",this.operation=be(e.operation,[\"encrypt\",\"decrypt\"]),this.target=e.target||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.filter=null,this.manifest=null}},Qg=class extends oe{constructor(e){super(_e,\"encryption\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.certificate=new U}},Zg=class extends St{constructor(e){super(_e,\"encryptionMethod\",[\"\",\"AES256-CBC\",\"TRIPLEDES-CBC\",\"AES128-CBC\",\"AES192-CBC\"]),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},eb=class extends oe{constructor(e){super(_e,\"encryptionMethods\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.encryptionMethod=new U}},tb=class extends oe{constructor(e){super(_e,\"event\",!0),this.activity=be(e.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=e.id||\"\",this.listen=be(e.listen,[\"refOnly\",\"refAndDescendents\"]),this.name=e.name||\"\",this.ref=e.ref||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.encryptData=null,this.execute=null,this.script=null,this.signData=null,this.submit=null}},nb=class extends Zt{constructor(e){super(_e,\"exData\"),this.contentType=e.contentType||\"\",this.href=e.href||\"\",this.id=e.id||\"\",this.maxLength=nt({data:e.maxLength,defaultValue:-1,validate:t=>t>=-1}),this.name=e.name||\"\",this.rid=e.rid||\"\",this.transferEncoding=be(e.transferEncoding,[\"none\",\"base64\",\"package\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[uv](){return this.contentType===\"text/html\"}[Li](e){return this.contentType===\"text/html\"&&e[mn]===Cn.xhtml.id?(this[pe]=e,!0):this.contentType===\"text/xml\"?(this[pe]=e,!0):!1}[Je](e){return this.contentType!==\"text/html\"||!this[pe]?We.EMPTY:this[pe][Je](e)}},sb=class extends oe{constructor(e){super(_e,\"exObject\",!0),this.archive=e.archive||\"\",this.classId=e.classId||\"\",this.codeBase=e.codeBase||\"\",this.codeType=e.codeType||\"\",this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.boolean=new U,this.date=new U,this.dateTime=new U,this.decimal=new U,this.exData=new U,this.exObject=new U,this.float=new U,this.image=new U,this.integer=new U,this.text=new U,this.time=new U}},Xh=class extends oe{constructor(e){super(_e,\"exclGroup\",!0),this.access=be(e.access,[\"open\",\"nonInteractive\",\"protected\",\"readOnly\"]),this.accessKey=e.accessKey||\"\",this.anchorType=be(e.anchorType,[\"topLeft\",\"bottomCenter\",\"bottomLeft\",\"bottomRight\",\"middleCenter\",\"middleLeft\",\"middleRight\",\"topCenter\",\"topRight\"]),this.colSpan=nt({data:e.colSpan,defaultValue:1,validate:t=>t>=1||t===-1}),this.h=e.h?Pe(e.h):\"\",this.hAlign=be(e.hAlign,[\"left\",\"center\",\"justify\",\"justifyAll\",\"radix\",\"right\"]),this.id=e.id||\"\",this.layout=be(e.layout,[\"position\",\"lr-tb\",\"rl-row\",\"rl-tb\",\"row\",\"table\",\"tb\"]),this.maxH=Pe(e.maxH,\"0pt\"),this.maxW=Pe(e.maxW,\"0pt\"),this.minH=Pe(e.minH,\"0pt\"),this.minW=Pe(e.minW,\"0pt\"),this.name=e.name||\"\",this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.relevant=Si(e.relevant),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.w=e.w?Pe(e.w):\"\",this.x=Pe(e.x,\"0pt\"),this.y=Pe(e.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 U,this.event=new U,this.field=new U,this.setProperty=new U}[Ua](){return!0}[Tc](){return!0}[Ts](e){for(let t of this.field.children){if(!t.value){let s=new Uc({});t[an](s),t.value=s}t.value[Ts](e)}}[mr](){return this.layout.endsWith(\"-tb\")&&this[ne].attempt===0&&this[ne].numberInLine>0||this[rt]()[mr]()}[fr](){let e=this[gn]();return e[fr]()?this[ne]._isSplittable!==void 0?this[ne]._isSplittable:this.layout===\"position\"||this.layout.includes(\"row\")?(this[ne]._isSplittable=!1,!1):e.layout?.endsWith(\"-tb\")&&e[ne].numberInLine!==0?!1:(this[ne]._isSplittable=!0,!0):!1}[tf](){return B4(this)}[ya](e,t){D4(this,e,t)}[ka](){return N4(this)}[Je](e){if(Bu(this),this.presence===\"hidden\"||this.presence===\"inactive\"||this.h===0||this.w===0)return We.EMPTY;Mu(this);let t=[],s={id:this[Et],class:[]};mv(this,s.class),this[ne]||=Object.create(null),Object.assign(this[ne],{children:t,attributes:s,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});let i=this[fr]();if(i||Nu(this),!Pu(this,e))return We.FAILURE;let r=new Set([\"field\"]);if(this.layout.includes(\"row\")){let b=this[gn]().columnWidths;Array.isArray(b)&&b.length>0&&(this[ne].columnWidths=b,this[ne].currentColumn=0)}let a=vs(this,\"anchorType\",\"dimensions\",\"position\",\"presence\",\"border\",\"margin\",\"hAlign\"),o=[\"xfaExclgroup\"],l=T4(this);l&&o.push(l),Uo(this)&&o.push(\"xfaPrintOnly\"),s.style=a,s.class=o,this.name&&(s.xfaName=this.name),this[zo]();let c=this.layout===\"lr-tb\"||this.layout===\"rl-tb\",f=c?Hh:1;for(;this[ne].attempt<f;this[ne].attempt++){c&&this[ne].attempt===Hh-1&&(this[ne].numberInLine=0);let b=this[Pr]({filter:r,include:!0});if(b.success)break;if(b.isBreak())return this[Cs](),b;if(c&&this[ne].attempt===0&&this[ne].numberInLine===0&&!this[pn]()[ne].noLayoutFailure){this[ne].attempt=f;break}}if(this[Cs](),i||Hu(this),this[ne].attempt===f)return i||delete this[ne],We.FAILURE;let h=0,u=0;this.margin&&(h=this.margin.leftInset+this.margin.rightInset,u=this.margin.topInset+this.margin.bottomInset);let d=Math.max(this[ne].width+h,this.w||0),p=Math.max(this[ne].height+u,this.h||0),m=[this.x,this.y,d,p];this.w===\"\"&&(a.width=tt(d)),this.h===\"\"&&(a.height=tt(p));let g={name:\"div\",attributes:s,children:t};return Du(this,s),delete this[ne],We.success(ja(this,g),m)}},ib=class extends oe{constructor(e){super(_e,\"execute\"),this.connection=e.connection||\"\",this.executeType=be(e.executeType,[\"import\",\"remerge\"]),this.id=e.id||\"\",this.runAt=be(e.runAt,[\"client\",\"both\",\"server\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},rb=class extends oe{constructor(e){super(_e,\"extras\",!0),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.boolean=new U,this.date=new U,this.dateTime=new U,this.decimal=new U,this.exData=new U,this.extras=new U,this.float=new U,this.image=new U,this.integer=new U,this.text=new U,this.time=new U}},Pc=class extends oe{constructor(e){super(_e,\"field\",!0),this.access=be(e.access,[\"open\",\"nonInteractive\",\"protected\",\"readOnly\"]),this.accessKey=e.accessKey||\"\",this.anchorType=be(e.anchorType,[\"topLeft\",\"bottomCenter\",\"bottomLeft\",\"bottomRight\",\"middleCenter\",\"middleLeft\",\"middleRight\",\"topCenter\",\"topRight\"]),this.colSpan=nt({data:e.colSpan,defaultValue:1,validate:t=>t>=1||t===-1}),this.h=e.h?Pe(e.h):\"\",this.hAlign=be(e.hAlign,[\"left\",\"center\",\"justify\",\"justifyAll\",\"radix\",\"right\"]),this.id=e.id||\"\",this.locale=e.locale||\"\",this.maxH=Pe(e.maxH,\"0pt\"),this.maxW=Pe(e.maxW,\"0pt\"),this.minH=Pe(e.minH,\"0pt\"),this.minW=Pe(e.minW,\"0pt\"),this.name=e.name||\"\",this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.relevant=Si(e.relevant),this.rotate=nt({data:e.rotate,defaultValue:0,validate:t=>t%90===0}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.w=e.w?Pe(e.w):\"\",this.x=Pe(e.x,\"0pt\"),this.y=Pe(e.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 U(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 U,this.connect=new U,this.event=new U,this.setProperty=new U}[Ua](){return!0}[Ts](e){bv(this,e)}[Je](e){if(Bu(this),!this.ui){this.ui=new zc({}),this.ui[Pt]=this[Pt],this[an](this.ui);let b;switch(this.items.children.length){case 0:b=new tu({}),this.ui.textEdit=b;break;case 1:b=new Wh({}),this.ui.checkButton=b;break;case 2:b=new $h({}),this.ui.choiceList=b;break}this.ui[an](b)}if(!this.ui||this.presence===\"hidden\"||this.presence===\"inactive\"||this.h===0||this.w===0)return We.EMPTY;this.caption&&delete this.caption[ne],this[zo]();let t=this.caption?this.caption[Je](e).html:null,s=this.w,i=this.h,r=0,a=0;this.margin&&(r=this.margin.leftInset+this.margin.rightInset,a=this.margin.topInset+this.margin.bottomInset);let o=null;if(this.w===\"\"||this.h===\"\"){let b=null,x=null,w=0,v=0;if(this.ui.checkButton)w=v=this.ui.checkButton.size;else{let{w:k,h:j}=pv(this,e);k!==null?(w=k,v=j):v=HI(this.font,!0).lineNoGap}if(o=Vy(this.ui[Xn]()),w+=o.w,v+=o.h,this.caption){let{w:k,h:j,isBroken:A}=this.caption[Xn](e);if(A&&this[gn]()[mr]())return this[Cs](),We.FAILURE;switch(b=k,x=j,this.caption.placement){case\"left\":case\"right\":case\"inline\":b+=w;break;case\"top\":case\"bottom\":x+=v;break}}else b=w,x=v;b&&this.w===\"\"&&(b+=r,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1<b?b:this.minW)),x&&this.h===\"\"&&(x+=a,this.h=Math.min(this.maxH<=0?1/0:this.maxH,this.minH+1<x?x:this.minH))}if(this[Cs](),Mu(this),Nu(this),!Pu(this,e))return this.w=s,this.h=i,this[Cs](),We.FAILURE;Hu(this);let l=vs(this,\"font\",\"dimensions\",\"position\",\"rotate\",\"anchorType\",\"presence\",\"margin\",\"hAlign\");I4(this,l);let c=[\"xfaField\"];this.font&&c.push(\"xfaFont\"),Uo(this)&&c.push(\"xfaPrintOnly\");let f={style:l,id:this[Et],class:c};l.margin&&(l.padding=l.margin,delete l.margin),mv(this,c),this.name&&(f.xfaName=this.name);let h=[],u={name:\"div\",attributes:f,children:h};Du(this,f);let d=this.border?this.border[vt]():null,p=C4(this,u,e),m=this.ui[Je]().html;if(!m)return Object.assign(l,d),We.success(ja(this,u),p);this[pi]&&(m.children?.[0]?m.children[0].attributes.tabindex=this[pi]:m.attributes.tabindex=this[pi]),m.attributes.style||=Object.create(null);let g=null;if(this.ui.button?(m.children.length===1&&([g]=m.children.splice(0,1)),Object.assign(m.attributes.style,d)):Object.assign(l,d),h.push(m),this.value){if(this.ui.imageEdit)m.children.push(this.value[Je]().html);else if(!this.ui.button){let b=\"\";if(this.value.exData)b=this.value.exData[In]();else if(this.value.text)b=this.value.text[Xn]();else{let x=this.value[Je]().html;x!==null&&(b=x.children[0].value)}this.ui.textEdit&&this.value.text?.maxChars&&(m.children[0].attributes.maxLength=this.value.text.maxChars),b&&(this.ui.numericEdit&&(b=parseFloat(b),b=isNaN(b)?\"\":b.toString()),m.children[0].name===\"textarea\"?m.children[0].attributes.textContent=b:m.children[0].attributes.value=b)}}if(!this.ui.imageEdit&&m.children?.[0]&&this.h)if(o||=Vy(this.ui[Xn]()),this.caption&&[\"top\",\"bottom\"].includes(this.caption.placement)){let b=this.caption.reserve;b<=0&&(b=this.caption[Xn](e).h);let x=this.h-b-a-o.h;m.children[0].attributes.style.height=tt(x)}else m.children[0].attributes.style.height=\"100%\";if(g&&m.children.push(g),!t)return m.attributes.class&&m.attributes.class.push(\"xfaLeft\"),this.w=s,this.h=i,We.success(ja(this,u),p);if(this.ui.button)return l.padding&&delete l.padding,t.name===\"div\"&&(t.name=\"span\"),m.children.push(t),We.success(u,p);switch(this.ui.checkButton&&(t.attributes.class[0]=\"xfaCaptionForCheckButton\"),m.attributes.class||=[],m.children.splice(0,0,t),this.caption.placement){case\"left\":m.attributes.class.push(\"xfaLeft\");break;case\"right\":m.attributes.class.push(\"xfaRight\");break;case\"top\":m.attributes.class.push(\"xfaTop\");break;case\"bottom\":m.attributes.class.push(\"xfaBottom\");break;case\"inline\":m.attributes.class.push(\"xfaLeft\");break}return this.w=s,this.h=i,We.success(ja(this,u),p)}},ab=class extends oe{constructor(e){super(_e,\"fill\",!0),this.id=e.id||\"\",this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.color=null,this.extras=null,this.linear=null,this.pattern=null,this.radial=null,this.solid=null,this.stipple=null}[vt](){let e=this[rt](),s=e[rt]()[rt](),i=Object.create(null),r=\"color\",a=r;e instanceof zh&&(r=\"background-color\",a=\"background\",s instanceof zc&&(i.backgroundColor=\"white\")),(e instanceof Qh||e instanceof Lh)&&(r=a=\"fill\",i.fill=\"white\");for(let o of Object.getOwnPropertyNames(this)){if(o===\"extras\"||o===\"color\")continue;let l=this[o];if(!(l instanceof oe))continue;let c=l[vt](this.color);return c&&(i[c.startsWith(\"#\")?r:a]=c),i}if(this.color?.value){let o=this.color[vt]();i[o.startsWith(\"#\")?r:a]=o}return i}},ob=class extends oe{constructor(e){super(_e,\"filter\",!0),this.addRevocationInfo=be(e.addRevocationInfo,[\"\",\"required\",\"optional\",\"none\"]),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.version=nt({data:this.version,defaultValue:5,validate:t=>t>=1&&t<=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}},lb=class extends Zt{constructor(e){super(_e,\"float\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Bt](){let e=parseFloat(this[pe].trim());this[pe]=isNaN(e)?null:e}[Je](e){return Nr(this[pe]!==null?this[pe].toString():\"\")}},cb=class extends oe{constructor(e){super(_e,\"font\",!0),this.baselineShift=Pe(e.baselineShift),this.fontHorizontalScale=Bh({data:e.fontHorizontalScale,defaultValue:100,validate:t=>t>=0}),this.fontVerticalScale=Bh({data:e.fontVerticalScale,defaultValue:100,validate:t=>t>=0}),this.id=e.id||\"\",this.kerningMode=be(e.kerningMode,[\"none\",\"pair\"]),this.letterSpacing=Pe(e.letterSpacing,\"0\"),this.lineThrough=nt({data:e.lineThrough,defaultValue:0,validate:t=>t===1||t===2}),this.lineThroughPeriod=be(e.lineThroughPeriod,[\"all\",\"word\"]),this.overline=nt({data:e.overline,defaultValue:0,validate:t=>t===1||t===2}),this.overlinePeriod=be(e.overlinePeriod,[\"all\",\"word\"]),this.posture=be(e.posture,[\"normal\",\"italic\"]),this.size=Pe(e.size,\"10pt\"),this.typeface=e.typeface||\"Courier\",this.underline=nt({data:e.underline,defaultValue:0,validate:t=>t===1||t===2}),this.underlinePeriod=be(e.underlinePeriod,[\"all\",\"word\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.weight=be(e.weight,[\"normal\",\"bold\"]),this.extras=null,this.fill=null}[ai](e){super[ai](e),this[Pt].usedTypefaces.add(this.typeface)}[vt](){let e=vs(this,\"fill\"),t=e.color;return t&&(t===\"#000000\"?delete e.color:t.startsWith(\"#\")||(e.background=t,e.backgroundClip=\"text\",e.color=\"transparent\")),this.baselineShift&&(e.verticalAlign=tt(this.baselineShift)),e.fontKerning=this.kerningMode===\"none\"?\"none\":\"normal\",e.letterSpacing=tt(this.letterSpacing),this.lineThrough!==0&&(e.textDecoration=\"line-through\",this.lineThrough===2&&(e.textDecorationStyle=\"double\")),this.overline!==0&&(e.textDecoration=\"overline\",this.overline===2&&(e.textDecorationStyle=\"double\")),e.fontStyle=this.posture,e.fontSize=tt(.99*this.size),O4(this,this,this[Pt].fontFinder,e),this.underline!==0&&(e.textDecoration=\"underline\",this.underline===2&&(e.textDecorationStyle=\"double\")),e.fontWeight=this.weight,e}},fb=class extends oe{constructor(e){super(_e,\"format\",!0),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.picture=null}},hb=class extends ht{constructor(e){super(_e,\"handler\"),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},ub=class extends oe{constructor(e){super(_e,\"hyphenation\"),this.excludeAllCaps=nt({data:e.excludeAllCaps,defaultValue:0,validate:t=>t===1}),this.excludeInitialCap=nt({data:e.excludeInitialCap,defaultValue:0,validate:t=>t===1}),this.hyphenate=nt({data:e.hyphenate,defaultValue:0,validate:t=>t===1}),this.id=e.id||\"\",this.pushCharacterCount=nt({data:e.pushCharacterCount,defaultValue:3,validate:t=>t>=0}),this.remainCharacterCount=nt({data:e.remainCharacterCount,defaultValue:3,validate:t=>t>=0}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.wordCharacterCount=nt({data:e.wordCharacterCount,defaultValue:7,validate:t=>t>=0})}},Yh=class extends ht{constructor(e){super(_e,\"image\"),this.aspect=be(e.aspect,[\"fit\",\"actual\",\"height\",\"none\",\"width\"]),this.contentType=e.contentType||\"\",this.href=e.href||\"\",this.id=e.id||\"\",this.name=e.name||\"\",this.transferEncoding=be(e.transferEncoding,[\"base64\",\"none\",\"package\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Je](){if(this.contentType&&!YI.has(this.contentType.toLowerCase()))return We.EMPTY;let e=this[Pt].images?.get(this.href);if(!e&&(this.href||!this[pe])||(!e&&this.transferEncoding===\"base64\"&&(e=Uint8Array.fromBase64(this[pe])),!e))return We.EMPTY;if(!this.contentType){for(let[r,a]of JI)if(e.length>r.length&&r.every((o,l)=>o===e[l])){this.contentType=a;break}if(!this.contentType)return We.EMPTY}let t=new Blob([e],{type:this.contentType}),s;switch(this.aspect){case\"fit\":case\"actual\":break;case\"height\":s={height:\"100%\",objectFit:\"fill\"};break;case\"none\":s={width:\"100%\",height:\"100%\",objectFit:\"fill\"};break;case\"width\":s={width:\"100%\",objectFit:\"fill\"};break}let i=this[rt]();return We.success({name:\"img\",attributes:{class:[\"xfaImage\"],style:s,src:URL.createObjectURL(t),alt:i?Fa(i[rt]()):null}})}},db=class extends oe{constructor(e){super(_e,\"imageEdit\",!0),this.data=be(e.data,[\"link\",\"embed\"]),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.border=null,this.extras=null,this.margin=null}[Je](e){return this.data===\"embed\"?We.success({name:\"div\",children:[],attributes:{}}):We.EMPTY}},pb=class extends Zt{constructor(e){super(_e,\"integer\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Bt](){let e=parseInt(this[pe].trim(),10);this[pe]=isNaN(e)?null:e}[Je](e){return Nr(this[pe]!==null?this[pe].toString():\"\")}},mb=class extends oe{constructor(e){super(_e,\"issuers\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.certificate=new U}},Bc=class extends oe{constructor(e){super(_e,\"items\",!0),this.id=e.id||\"\",this.name=e.name||\"\",this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.ref=e.ref||\"\",this.save=nt({data:e.save,defaultValue:0,validate:t=>t===1}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.boolean=new U,this.date=new U,this.dateTime=new U,this.decimal=new U,this.exData=new U,this.float=new U,this.image=new U,this.integer=new U,this.text=new U,this.time=new U}[Je](){let e=[];for(let t of this[ss]())e.push(t[In]());return We.success(e)}},gb=class extends oe{constructor(e){super(_e,\"keep\",!0),this.id=e.id||\"\";let t=[\"none\",\"contentArea\",\"pageArea\"];this.intact=be(e.intact,t),this.next=be(e.next,t),this.previous=be(e.previous,t),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null}},bb=class extends oe{constructor(e){super(_e,\"keyUsage\");let t=[\"\",\"yes\",\"no\"];this.crlSign=be(e.crlSign,t),this.dataEncipherment=be(e.dataEncipherment,t),this.decipherOnly=be(e.decipherOnly,t),this.digitalSignature=be(e.digitalSignature,t),this.encipherOnly=be(e.encipherOnly,t),this.id=e.id||\"\",this.keyAgreement=be(e.keyAgreement,t),this.keyCertSign=be(e.keyCertSign,t),this.keyEncipherment=be(e.keyEncipherment,t),this.nonRepudiation=be(e.nonRepudiation,t),this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},wb=class extends oe{constructor(e){super(_e,\"line\",!0),this.hand=be(e.hand,[\"even\",\"left\",\"right\"]),this.id=e.id||\"\",this.slope=be(e.slope,[\"\\\\\",\"/\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.edge=null}[Je](){let e=this[rt]()[rt](),t=this.edge||new Oa({}),s=t[vt](),i=Object.create(null),r=t.presence===\"visible\"?t.thickness:0;i.strokeWidth=tt(r),i.stroke=s.color;let a,o,l,c,f=\"100%\",h=\"100%\";e.w<=r?([a,o,l,c]=[\"50%\",0,\"50%\",\"100%\"],f=i.strokeWidth):e.h<=r?([a,o,l,c]=[0,\"50%\",\"100%\",\"50%\"],h=i.strokeWidth):this.slope===\"\\\\\"?[a,o,l,c]=[0,0,\"100%\",\"100%\"]:[a,o,l,c]=[0,\"100%\",\"100%\",0];let d={name:\"svg\",children:[{name:\"line\",attributes:{xmlns:wa,x1:a,y1:o,x2:l,y2:c,style:i}}],attributes:{xmlns:wa,width:f,height:h,style:{overflow:\"visible\"}}};return gv(e)?We.success({name:\"div\",attributes:{style:{display:\"inline\",width:\"100%\",height:\"100%\"}},children:[d]}):(d.attributes.style.position=\"absolute\",We.success(d))}},xb=class extends oe{constructor(e){super(_e,\"linear\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"toRight\",\"toBottom\",\"toLeft\",\"toTop\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.color=null,this.extras=null}[vt](e){e=e?e[vt]():\"#FFFFFF\";let t=this.type.replace(/([RBLT])/,\" $1\").toLowerCase(),s=this.color?this.color[vt]():\"#000000\";return`linear-gradient(${t}, ${e}, ${s})`}},vb=class extends Zt{constructor(e){super(_e,\"lockDocument\"),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Bt](){this[pe]=be(this[pe],[\"auto\",\"0\",\"1\"])}},yb=class extends oe{constructor(e){super(_e,\"manifest\",!0),this.action=be(e.action,[\"include\",\"all\",\"exclude\"]),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.ref=new U}},kb=class extends oe{constructor(e){super(_e,\"margin\",!0),this.bottomInset=Pe(e.bottomInset,\"0\"),this.id=e.id||\"\",this.leftInset=Pe(e.leftInset,\"0\"),this.rightInset=Pe(e.rightInset,\"0\"),this.topInset=Pe(e.topInset,\"0\"),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null}[vt](){return{margin:tt(this.topInset)+\" \"+tt(this.rightInset)+\" \"+tt(this.bottomInset)+\" \"+tt(this.leftInset)}}},jb=class extends oe{constructor(e){super(_e,\"mdp\"),this.id=e.id||\"\",this.permissions=nt({data:e.permissions,defaultValue:2,validate:t=>t===1||t===3}),this.signatureType=be(e.signatureType,[\"filler\",\"author\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Ab=class extends oe{constructor(e){super(_e,\"medium\"),this.id=e.id||\"\",this.imagingBBox=NI(e.imagingBBox),this.long=Pe(e.long),this.orientation=be(e.orientation,[\"portrait\",\"landscape\"]),this.short=Pe(e.short),this.stock=e.stock||\"\",this.trayIn=be(e.trayIn,[\"auto\",\"delegate\",\"pageFront\"]),this.trayOut=be(e.trayOut,[\"auto\",\"delegate\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Sb=class extends oe{constructor(e){super(_e,\"message\",!0),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.text=new U}},qb=class extends oe{constructor(e){super(_e,\"numericEdit\",!0),this.hScrollPolicy=be(e.hScrollPolicy,[\"auto\",\"off\",\"on\"]),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.border=null,this.comb=null,this.extras=null,this.margin=null}[Je](e){let t=vs(this,\"border\",\"font\",\"margin\"),s=this[rt]()[rt](),i={name:\"input\",attributes:{type:\"text\",fieldId:s[Et],dataId:s[ii]?.[Et]||s[Et],class:[\"xfaTextfield\"],style:t,\"aria-label\":Fa(s),\"aria-required\":!1}};return nf(s)&&(i.attributes[\"aria-required\"]=!0,i.attributes.required=!0),We.success({name:\"label\",attributes:{class:[\"xfaLabel\"]},children:[i]})}},_b=class extends oe{constructor(e){super(_e,\"occur\",!0),this.id=e.id||\"\",this.initial=e.initial!==\"\"?nt({data:e.initial,defaultValue:\"\",validate:t=>!0}):\"\",this.max=e.max!==\"\"?nt({data:e.max,defaultValue:-1,validate:t=>!0}):\"\",this.min=e.min!==\"\"?nt({data:e.min,defaultValue:1,validate:t=>!0}):\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null}[ai](){let e=this[rt](),t=this.min;this.min===\"\"&&(this.min=e instanceof Br||e instanceof Dc?0:1),this.max===\"\"&&(t===\"\"?this.max=e instanceof Br||e instanceof Dc?-1:1:this.max=this.min),this.max!==-1&&this.max<this.min&&(this.max=this.min),this.initial===\"\"&&(this.initial=e instanceof Lc?1:this.min)}},Ib=class extends ht{constructor(e){super(_e,\"oid\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Cb=class extends oe{constructor(e){super(_e,\"oids\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.oid=new U}},Jh=class extends oe{constructor(e){super(_e,\"overflow\"),this.id=e.id||\"\",this.leader=e.leader||\"\",this.target=e.target||\"\",this.trailer=e.trailer||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Xn](){if(!this[ne]){let e=this[rt](),t=this[pn](),s=t[or](this.target,e),i=t[or](this.leader,e),r=t[or](this.trailer,e);this[ne]={target:s?.[0]||null,leader:i?.[0]||null,trailer:r?.[0]||null,addLeader:!1,addTrailer:!1}}return this[ne]}},Br=class extends oe{constructor(e){super(_e,\"pageArea\",!0),this.blankOrNotBlank=be(e.blankOrNotBlank,[\"any\",\"blank\",\"notBlank\"]),this.id=e.id||\"\",this.initialNumber=nt({data:e.initialNumber,defaultValue:1,validate:t=>!0}),this.name=e.name||\"\",this.numbered=nt({data:e.numbered,defaultValue:1,validate:t=>!0}),this.oddOrEven=be(e.oddOrEven,[\"any\",\"even\",\"odd\"]),this.pagePosition=be(e.pagePosition,[\"any\",\"first\",\"last\",\"only\",\"rest\"]),this.relevant=Si(e.relevant),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.desc=null,this.extras=null,this.medium=null,this.occur=null,this.area=new U,this.contentArea=new U,this.draw=new U,this.exclGroup=new U,this.field=new U,this.subform=new U}[Rc](){return this[ne]?!this.occur||this.occur.max===-1||this[ne].numberOfUse<this.occur.max:(this[ne]={numberOfUse:0},!0)}[So](){delete this[ne]}[rr](){this[ne]||={numberOfUse:0};let e=this[rt]();return e.relation===\"orderedOccurrence\"&&this[Rc]()?(this[ne].numberOfUse+=1,this):e[rr]()}[ka](){return this[ne].space||{width:0,height:0}}[Je](){this[ne]||={numberOfUse:1};let e=[];this[ne].children=e;let t=Object.create(null);if(this.medium&&this.medium.short&&this.medium.long){if(t.width=tt(this.medium.short),t.height=tt(this.medium.long),this[ne].space={width:this.medium.short,height:this.medium.long},this.medium.orientation===\"landscape\"){let s=t.width;t.width=t.height,t.height=s,this[ne].space={width:this.medium.long,height:this.medium.short}}}else B(\"XFA - No medium specified in pageArea: please file a bug.\");return this[Pr]({filter:new Set([\"area\",\"draw\",\"field\",\"subform\"]),include:!0}),this[Pr]({filter:new Set([\"contentArea\"]),include:!0}),We.success({name:\"div\",children:e,attributes:{class:[\"xfaPage\"],id:this[Et],style:t,xfaName:this.name}})}},Dc=class n extends oe{constructor(e){super(_e,\"pageSet\",!0),this.duplexImposition=be(e.duplexImposition,[\"longEdge\",\"shortEdge\"]),this.id=e.id||\"\",this.name=e.name||\"\",this.relation=be(e.relation,[\"orderedOccurrence\",\"duplexPaginated\",\"simplexPaginated\"]),this.relevant=Si(e.relevant),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.occur=null,this.pageArea=new U,this.pageSet=new U}[So](){for(let e of this.pageArea.children)e[So]();for(let e of this.pageSet.children)e[So]()}[Rc](){return!this.occur||this.occur.max===-1||this[ne].numberOfUse<this.occur.max}[rr](){if(this[ne]||={numberOfUse:1,pageIndex:-1,pageSetIndex:-1},this.relation===\"orderedOccurrence\"){if(this[ne].pageIndex+1<this.pageArea.children.length)return this[ne].pageIndex+=1,this.pageArea.children[this[ne].pageIndex][rr]();if(this[ne].pageSetIndex+1<this.pageSet.children.length)return this[ne].pageSetIndex+=1,this.pageSet.children[this[ne].pageSetIndex][rr]();if(this[Rc]())return this[ne].numberOfUse+=1,this[ne].pageIndex=-1,this[ne].pageSetIndex=-1,this[rr]();let r=this[rt]();return r instanceof n?r[rr]():(this[So](),this[rr]())}let e=this[pn]()[ne].pageNumber,t=e%2===0?\"even\":\"odd\",s=e===0?\"first\":\"rest\",i=this.pageArea.children.find(r=>r.oddOrEven===t&&r.pagePosition===s);return i||(i=this.pageArea.children.find(r=>r.oddOrEven===\"any\"&&r.pagePosition===s),i)?i:(i=this.pageArea.children.find(r=>r.oddOrEven===\"any\"&&r.pagePosition===\"any\"),i??this.pageArea.children[0])}},Tb=class extends oe{constructor(e){super(_e,\"para\",!0),this.hAlign=be(e.hAlign,[\"left\",\"center\",\"justify\",\"justifyAll\",\"radix\",\"right\"]),this.id=e.id||\"\",this.lineHeight=e.lineHeight?Pe(e.lineHeight,\"0pt\"):\"\",this.marginLeft=e.marginLeft?Pe(e.marginLeft,\"0pt\"):\"\",this.marginRight=e.marginRight?Pe(e.marginRight,\"0pt\"):\"\",this.orphans=nt({data:e.orphans,defaultValue:0,validate:t=>t>=0}),this.preserve=e.preserve||\"\",this.radixOffset=e.radixOffset?Pe(e.radixOffset,\"0pt\"):\"\",this.spaceAbove=e.spaceAbove?Pe(e.spaceAbove,\"0pt\"):\"\",this.spaceBelow=e.spaceBelow?Pe(e.spaceBelow,\"0pt\"):\"\",this.tabDefault=e.tabDefault?Pe(this.tabDefault):\"\",this.tabStops=(e.tabStops||\"\").trim().split(/\\s+/).map((t,s)=>s%2===1?Pe(t):t),this.textIndent=e.textIndent?Pe(e.textIndent,\"0pt\"):\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.vAlign=be(e.vAlign,[\"top\",\"bottom\",\"middle\"]),this.widows=nt({data:e.widows,defaultValue:0,validate:t=>t>=0}),this.hyphenation=null}[vt](){let e=vs(this,\"hAlign\");return this.marginLeft!==\"\"&&(e.paddingLeft=tt(this.marginLeft)),this.marginRight!==\"\"&&(e.paddingRight=tt(this.marginRight)),this.spaceAbove!==\"\"&&(e.paddingTop=tt(this.spaceAbove)),this.spaceBelow!==\"\"&&(e.paddingBottom=tt(this.spaceBelow)),this.textIndent!==\"\"&&(e.textIndent=tt(this.textIndent),E4(e)),this.lineHeight>0&&(e.lineHeight=tt(this.lineHeight)),this.tabDefault!==\"\"&&(e.tabSize=tt(this.tabDefault)),this.tabStops.length>0,this.hyphenatation&&Object.assign(e,this.hyphenatation[vt]()),e}},Eb=class extends oe{constructor(e){super(_e,\"passwordEdit\",!0),this.hScrollPolicy=be(e.hScrollPolicy,[\"auto\",\"off\",\"on\"]),this.id=e.id||\"\",this.passwordChar=e.passwordChar||\"*\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.border=null,this.extras=null,this.margin=null}},Rb=class extends oe{constructor(e){super(_e,\"pattern\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"crossHatch\",\"crossDiagonal\",\"diagonalLeft\",\"diagonalRight\",\"horizontal\",\"vertical\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.color=null,this.extras=null}[vt](e){e=e?e[vt]():\"#FFFFFF\";let t=this.color?this.color[vt]():\"#000000\",s=5,i=\"repeating-linear-gradient\",r=`${e},${e} ${s}px,${t} ${s}px,${t} ${2*s}px`;switch(this.type){case\"crossHatch\":return`${i}(to top,${r}) ${i}(to right,${r})`;case\"crossDiagonal\":return`${i}(45deg,${r}) ${i}(-45deg,${r})`;case\"diagonalLeft\":return`${i}(45deg,${r})`;case\"diagonalRight\":return`${i}(-45deg,${r})`;case\"horizontal\":return`${i}(to top,${r})`;case\"vertical\":return`${i}(to right,${r})`}return\"\"}},Fb=class extends ht{constructor(e){super(_e,\"picture\"),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Ob=class extends oe{constructor(e){super(_e,\"proto\",!0),this.appearanceFilter=new U,this.arc=new U,this.area=new U,this.assist=new U,this.barcode=new U,this.bindItems=new U,this.bookend=new U,this.boolean=new U,this.border=new U,this.break=new U,this.breakAfter=new U,this.breakBefore=new U,this.button=new U,this.calculate=new U,this.caption=new U,this.certificate=new U,this.certificates=new U,this.checkButton=new U,this.choiceList=new U,this.color=new U,this.comb=new U,this.connect=new U,this.contentArea=new U,this.corner=new U,this.date=new U,this.dateTime=new U,this.dateTimeEdit=new U,this.decimal=new U,this.defaultUi=new U,this.desc=new U,this.digestMethod=new U,this.digestMethods=new U,this.draw=new U,this.edge=new U,this.encoding=new U,this.encodings=new U,this.encrypt=new U,this.encryptData=new U,this.encryption=new U,this.encryptionMethod=new U,this.encryptionMethods=new U,this.event=new U,this.exData=new U,this.exObject=new U,this.exclGroup=new U,this.execute=new U,this.extras=new U,this.field=new U,this.fill=new U,this.filter=new U,this.float=new U,this.font=new U,this.format=new U,this.handler=new U,this.hyphenation=new U,this.image=new U,this.imageEdit=new U,this.integer=new U,this.issuers=new U,this.items=new U,this.keep=new U,this.keyUsage=new U,this.line=new U,this.linear=new U,this.lockDocument=new U,this.manifest=new U,this.margin=new U,this.mdp=new U,this.medium=new U,this.message=new U,this.numericEdit=new U,this.occur=new U,this.oid=new U,this.oids=new U,this.overflow=new U,this.pageArea=new U,this.pageSet=new U,this.para=new U,this.passwordEdit=new U,this.pattern=new U,this.picture=new U,this.radial=new U,this.reason=new U,this.reasons=new U,this.rectangle=new U,this.ref=new U,this.script=new U,this.setProperty=new U,this.signData=new U,this.signature=new U,this.signing=new U,this.solid=new U,this.speak=new U,this.stipple=new U,this.subform=new U,this.subformSet=new U,this.subjectDN=new U,this.subjectDNs=new U,this.submit=new U,this.text=new U,this.textEdit=new U,this.time=new U,this.timeStamp=new U,this.toolTip=new U,this.traversal=new U,this.traverse=new U,this.ui=new U,this.validate=new U,this.value=new U,this.variables=new U}},Mb=class extends oe{constructor(e){super(_e,\"radial\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"toEdge\",\"toCenter\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.color=null,this.extras=null}[vt](e){e=e?e[vt]():\"#FFFFFF\";let t=this.color?this.color[vt]():\"#000000\";return`radial-gradient(circle at center, ${this.type===\"toEdge\"?`${e},${t}`:`${t},${e}`})`}},Pb=class extends ht{constructor(e){super(_e,\"reason\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Bb=class extends oe{constructor(e){super(_e,\"reasons\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.reason=new U}},Qh=class extends oe{constructor(e){super(_e,\"rectangle\",!0),this.hand=be(e.hand,[\"even\",\"left\",\"right\"]),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.corner=new U(4),this.edge=new U(4),this.fill=null}[Je](){let e=this.edge.children.length?this.edge.children[0]:new Oa({}),t=e[vt](),s=Object.create(null);this.fill?.presence===\"visible\"?Object.assign(s,this.fill[vt]()):s.fill=\"transparent\",s.strokeWidth=tt(e.presence===\"visible\"?e.thickness:0),s.stroke=t.color;let r=(this.corner.children.length?this.corner.children[0]:new Vh({}))[vt](),o={name:\"svg\",children:[{name:\"rect\",attributes:{xmlns:wa,width:\"100%\",height:\"100%\",x:0,y:0,rx:r.radius,ry:r.radius,style:s}}],attributes:{xmlns:wa,style:{overflow:\"visible\"},width:\"100%\",height:\"100%\"}},l=this[rt]()[rt]();return gv(l)?We.success({name:\"div\",attributes:{style:{display:\"inline\",width:\"100%\",height:\"100%\"}},children:[o]}):(o.attributes.style.position=\"absolute\",We.success(o))}},Db=class extends ht{constructor(e){super(_e,\"ref\"),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Nb=class extends ht{constructor(e){super(_e,\"script\"),this.binding=e.binding||\"\",this.contentType=e.contentType||\"\",this.id=e.id||\"\",this.name=e.name||\"\",this.runAt=be(e.runAt,[\"client\",\"both\",\"server\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Nc=class extends oe{constructor(e){super(_e,\"setProperty\"),this.connection=e.connection||\"\",this.ref=e.ref||\"\",this.target=e.target||\"\"}},Hb=class extends oe{constructor(e){super(_e,\"signData\",!0),this.id=e.id||\"\",this.operation=be(e.operation,[\"sign\",\"clear\",\"verify\"]),this.ref=e.ref||\"\",this.target=e.target||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.filter=null,this.manifest=null}},Lb=class extends oe{constructor(e){super(_e,\"signature\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"PDF1.3\",\"PDF1.6\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.border=null,this.extras=null,this.filter=null,this.manifest=null,this.margin=null}},zb=class extends oe{constructor(e){super(_e,\"signing\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.certificate=new U}},Ub=class extends oe{constructor(e){super(_e,\"solid\",!0),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null}[vt](e){return e?e[vt]():\"#FFFFFF\"}},Gb=class extends ht{constructor(e){super(_e,\"speak\"),this.disable=nt({data:e.disable,defaultValue:0,validate:t=>t===1}),this.id=e.id||\"\",this.priority=be(e.priority,[\"custom\",\"caption\",\"name\",\"toolTip\"]),this.rid=e.rid||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Wb=class extends oe{constructor(e){super(_e,\"stipple\",!0),this.id=e.id||\"\",this.rate=nt({data:e.rate,defaultValue:50,validate:t=>t>=0&&t<=100}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.color=null,this.extras=null}[vt](e){let t=this.rate/100;return ft.makeHexColor(Math.round(e.value.r*(1-t)+this.value.r*t),Math.round(e.value.g*(1-t)+this.value.g*t),Math.round(e.value.b*(1-t)+this.value.b*t))}},Zh=class extends oe{constructor(e){super(_e,\"subform\",!0),this.access=be(e.access,[\"open\",\"nonInteractive\",\"protected\",\"readOnly\"]),this.allowMacro=nt({data:e.allowMacro,defaultValue:0,validate:t=>t===1}),this.anchorType=be(e.anchorType,[\"topLeft\",\"bottomCenter\",\"bottomLeft\",\"bottomRight\",\"middleCenter\",\"middleLeft\",\"middleRight\",\"topCenter\",\"topRight\"]),this.colSpan=nt({data:e.colSpan,defaultValue:1,validate:t=>t>=1||t===-1}),this.columnWidths=(e.columnWidths||\"\").trim().split(/\\s+/).map(t=>t===\"-1\"?-1:Pe(t)),this.h=e.h?Pe(e.h):\"\",this.hAlign=be(e.hAlign,[\"left\",\"center\",\"justify\",\"justifyAll\",\"radix\",\"right\"]),this.id=e.id||\"\",this.layout=be(e.layout,[\"position\",\"lr-tb\",\"rl-row\",\"rl-tb\",\"row\",\"table\",\"tb\"]),this.locale=e.locale||\"\",this.maxH=Pe(e.maxH,\"0pt\"),this.maxW=Pe(e.maxW,\"0pt\"),this.mergeMode=be(e.mergeMode,[\"consumeData\",\"matchTemplate\"]),this.minH=Pe(e.minH,\"0pt\"),this.minW=Pe(e.minW,\"0pt\"),this.name=e.name||\"\",this.presence=be(e.presence,[\"visible\",\"hidden\",\"inactive\",\"invisible\"]),this.relevant=Si(e.relevant),this.restoreState=be(e.restoreState,[\"manual\",\"auto\"]),this.scope=be(e.scope,[\"name\",\"none\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.w=e.w?Pe(e.w):\"\",this.x=Pe(e.x,\"0pt\"),this.y=Pe(e.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 U,this.breakAfter=new U,this.breakBefore=new U,this.connect=new U,this.draw=new U,this.event=new U,this.exObject=new U,this.exclGroup=new U,this.field=new U,this.proto=new U,this.setProperty=new U,this.subform=new U,this.subformSet=new U}[gn](){let e=this[rt]();return e instanceof Hc?e[gn]():e}[Ua](){return!0}[mr](){return this.layout.endsWith(\"-tb\")&&this[ne].attempt===0&&this[ne].numberInLine>0||this[rt]()[mr]()}*[No](){yield*wv(this)}[tf](){return B4(this)}[ya](e,t){D4(this,e,t)}[ka](){return N4(this)}[fr](){let e=this[gn]();return e[fr]()?this[ne]._isSplittable!==void 0?this[ne]._isSplittable:this.layout===\"position\"||this.layout.includes(\"row\")?(this[ne]._isSplittable=!1,!1):this.keep&&this.keep.intact!==\"none\"?(this[ne]._isSplittable=!1,!1):e.layout?.endsWith(\"-tb\")&&e[ne].numberInLine!==0?!1:(this[ne]._isSplittable=!0,!0):!1}[Je](e){if(Bu(this),this.break){if(this.break.after!==\"auto\"||this.break.afterTarget!==\"\"){let v=new Uh({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});v[Pt]=this[Pt],this[an](v),this.breakAfter.push(v)}if(this.break.before!==\"auto\"||this.break.beforeTarget!==\"\"){let v=new Gh({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});v[Pt]=this[Pt],this[an](v),this.breakBefore.push(v)}if(this.break.overflowTarget!==\"\"){let v=new Jh({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});v[Pt]=this[Pt],this[an](v),this.overflow.push(v)}this[Er](this.break),this.break=null}if(this.presence===\"hidden\"||this.presence===\"inactive\")return We.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&B(\"XFA - Several breakBefore or breakAfter in subforms: please file a bug.\"),this.breakBefore.children.length>=1){let v=this.breakBefore.children[0];if(Ky(v))return We.breakNode(v)}if(this[ne]?.afterBreakAfter)return We.EMPTY;Mu(this);let t=[],s={id:this[Et],class:[]};mv(this,s.class),this[ne]||=Object.create(null),Object.assign(this[ne],{children:t,line:null,attributes:s,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});let i=this[pn](),r=i[ne].noLayoutFailure,a=this[fr]();if(a||Nu(this),!Pu(this,e))return We.FAILURE;let o=new Set([\"area\",\"draw\",\"exclGroup\",\"field\",\"subform\",\"subformSet\"]);if(this.layout.includes(\"row\")){let v=this[gn]().columnWidths;Array.isArray(v)&&v.length>0&&(this[ne].columnWidths=v,this[ne].currentColumn=0)}let l=vs(this,\"anchorType\",\"dimensions\",\"position\",\"presence\",\"border\",\"margin\",\"hAlign\"),c=[\"xfaSubform\"],f=T4(this);if(f&&c.push(f),s.style=l,s.class=c,this.name&&(s.xfaName=this.name),this.overflow){let v=this.overflow[Xn]();v.addLeader&&(v.addLeader=!1,Xy(this,v.leader,e))}this[zo]();let h=this.layout===\"lr-tb\"||this.layout===\"rl-tb\",u=h?Hh:1;for(;this[ne].attempt<u;this[ne].attempt++){h&&this[ne].attempt===Hh-1&&(this[ne].numberInLine=0);let v=this[Pr]({filter:o,include:!0});if(v.success)break;if(v.isBreak())return this[Cs](),v;if(h&&this[ne].attempt===0&&this[ne].numberInLine===0&&!i[ne].noLayoutFailure){this[ne].attempt=u;break}}if(this[Cs](),a||Hu(this),i[ne].noLayoutFailure=r,this[ne].attempt===u)return this.overflow&&(this[pn]()[ne].overflowNode=this.overflow),a||delete this[ne],We.FAILURE;if(this.overflow){let v=this.overflow[Xn]();v.addTrailer&&(v.addTrailer=!1,Xy(this,v.trailer,e))}let d=0,p=0;this.margin&&(d=this.margin.leftInset+this.margin.rightInset,p=this.margin.topInset+this.margin.bottomInset);let m=Math.max(this[ne].width+d,this.w||0),g=Math.max(this[ne].height+p,this.h||0),b=[this.x,this.y,m,g];if(this.w===\"\"&&(l.width=tt(m)),this.h===\"\"&&(l.height=tt(g)),(l.width===\"0px\"||l.height===\"0px\")&&t.length===0)return We.EMPTY;let x={name:\"div\",attributes:s,children:t};Du(this,s);let w=We.success(ja(this,x),b);if(this.breakAfter.children.length>=1){let v=this.breakAfter.children[0];if(Ky(v))return this[ne].afterBreakAfter=w,We.breakNode(v)}return delete this[ne],w}},Hc=class extends oe{constructor(e){super(_e,\"subformSet\",!0),this.id=e.id||\"\",this.name=e.name||\"\",this.relation=be(e.relation,[\"ordered\",\"choice\",\"unordered\"]),this.relevant=Si(e.relevant),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.bookend=null,this.break=null,this.desc=null,this.extras=null,this.occur=null,this.overflow=null,this.breakAfter=new U,this.breakBefore=new U,this.subform=new U,this.subformSet=new U}*[No](){yield*wv(this)}[gn](){let e=this[rt]();for(;!(e instanceof Zh);)e=e[rt]();return e}[Ua](){return!0}},$b=class extends Zt{constructor(e){super(_e,\"subjectDN\"),this.delimiter=e.delimiter||\",\",this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Bt](){this[pe]=new Map(this[pe].split(this.delimiter).map(e=>(e=e.split(\"=\",2),e[0]=e[0].trim(),e)))}},Vb=class extends oe{constructor(e){super(_e,\"subjectDNs\",!0),this.id=e.id||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.subjectDN=new U}},Kb=class extends oe{constructor(e){super(_e,\"submit\",!0),this.embedPDF=nt({data:e.embedPDF,defaultValue:0,validate:t=>t===1}),this.format=be(e.format,[\"xdp\",\"formdata\",\"pdf\",\"urlencoded\",\"xfd\",\"xml\"]),this.id=e.id||\"\",this.target=e.target||\"\",this.textEncoding=Ou({data:e.textEncoding?e.textEncoding.toLowerCase():\"\",defaultValue:\"\",validate:t=>[\"utf-8\",\"big-five\",\"fontspecific\",\"gbk\",\"gb-18030\",\"gb-2312\",\"ksc-5601\",\"none\",\"shift-jis\",\"ucs-2\",\"utf-16\"].includes(t)||t.match(/iso-8859-\\d{2}/)}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.xdpContent=e.xdpContent||\"\",this.encrypt=null,this.encryptData=new U,this.signData=new U}},Lc=class extends oe{constructor(e){super(_e,\"template\",!0),this.baseProfile=be(e.baseProfile,[\"full\",\"interactiveForms\"]),this.extras=null,this.subform=new U}[Bt](){this.subform.children.length===0&&B(\"XFA - No subforms in template node.\"),this.subform.children.length>=2&&B(\"XFA - Several subforms in template node: please file a bug.\"),this[pi]=KI}[fr](){return!0}[or](e,t){return e.startsWith(\"#\")?[this[yo].get(e.slice(1))]:Ir(this,t,e,!0,!0)}*[A4](){if(!this.subform.children.length)return We.success({name:\"div\",children:[]});this[ne]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:\"first\",oddOrEven:\"odd\",blankOrNotBlank:\"nonBlank\",paraStack:[]};let e=this.subform.children[0];e.pageSet[So]();let t=e.pageSet.pageArea.children,s={name:\"div\",children:[]},i=null,r=null,a=null;if(e.breakBefore.children.length>=1?(r=e.breakBefore.children[0],a=r.target):e.subform.children.length>=1&&e.subform.children[0].breakBefore.children.length>=1?(r=e.subform.children[0].breakBefore.children[0],a=r.target):e.break?.beforeTarget?(r=e.break,a=r.beforeTarget):e.subform.children.length>=1&&e.subform.children[0].break?.beforeTarget&&(r=e.subform.children[0].break,a=r.beforeTarget),r){let p=this[or](a,r[rt]());p instanceof Br&&(i=p,r[ne]={})}i||=t[0],i[ne]={numberOfUse:1};let o=i[rt]();o[ne]={numberOfUse:1,pageIndex:o.pageArea.children.indexOf(i),pageSetIndex:0};let l,c=null,f=null,h=!0,u=0,d=0;for(;;){if(h)u=0;else if(s.children.pop(),++u===VI)return B(\"XFA - Something goes wrong: please file a bug.\"),s;l=null,this[ne].currentPageArea=i;let p=i[Je]().html;s.children.push(p),c&&(this[ne].noLayoutFailure=!0,p.children.push(c[Je](i[ne].space).html),c=null),f&&(this[ne].noLayoutFailure=!0,p.children.push(f[Je](i[ne].space).html),f=null);let m=i.contentArea.children,g=p.children.filter(x=>x.attributes.class.includes(\"xfaContentarea\"));h=!1,this[ne].firstUnsplittable=null,this[ne].noLayoutFailure=!1;let b=x=>{let w=e[tf]();w&&(h||=w.children?.length>0,g[x].children.push(w))};for(let x=d,w=m.length;x<w;x++){let v=this[ne].currentContentArea=m[x],k={width:v.w,height:v.h};d=0,c&&(g[x].children.push(c[Je](k).html),c=null),f&&(g[x].children.push(f[Je](k).html),f=null);let j=e[Je](k);if(j.success)return j.html?(h||=j.html.children?.length>0,g[x].children.push(j.html)):!h&&s.children.length>1&&s.children.pop(),s;if(j.isBreak()){let A=j.breakNode;if(b(x),A.targetType===\"auto\")continue;A.leader&&(c=this[or](A.leader,A[rt]()),c=c?c[0]:null),A.trailer&&(f=this[or](A.trailer,A[rt]()),f=f?f[0]:null),A.targetType===\"pageArea\"?(l=A[ne].target,x=1/0):A[ne].target?(l=A[ne].target,d=A[ne].index+1,x=1/0):x=A[ne].index;continue}if(this[ne].overflowNode){let A=this[ne].overflowNode;this[ne].overflowNode=null;let S=A[Xn](),q=S.target;S.addLeader=S.leader!==null,S.addTrailer=S.trailer!==null,b(x);let _=x;if(x=1/0,q instanceof Br)l=q;else if(q instanceof Mc){let I=m.indexOf(q);I!==-1?I>_?x=I-1:d=I:(l=q[rt](),d=l.contentArea.children.indexOf(q))}continue}b(x)}this[ne].pageNumber+=1,l&&(l[Rc]()?l[ne].numberOfUse+=1:l=null),i=l||i[rr](),yield null}}},eu=class extends Zt{constructor(e){super(_e,\"text\"),this.id=e.id||\"\",this.maxChars=nt({data:e.maxChars,defaultValue:0,validate:t=>t>=0}),this.name=e.name||\"\",this.rid=e.rid||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Eu](){return!0}[Li](e){return e[mn]===Cn.xhtml.id?(this[pe]=e,!0):(B(`XFA - Invalid content in Text: ${e[At]}.`),!1)}[hr](e){this[pe]instanceof oe||super[hr](e)}[Bt](){typeof this[pe]==\"string\"&&(this[pe]=this[pe].replaceAll(`\\r\n`,`\n`))}[Xn](){return typeof this[pe]==\"string\"?this[pe].split(/[\\u2029\\u2028\\n]/).filter(Boolean).join(`\n`):this[pe][In]()}[Je](e){if(typeof this[pe]==\"string\"){let t=Nr(this[pe]).html;return this[pe].includes(\"\\u2029\")?(t.name=\"div\",t.children=[],this[pe].split(\"\\u2029\").map(s=>s.split(/[\\u2028\\n]/).flatMap(i=>[{name:\"span\",value:i},{name:\"br\"}])).forEach(s=>{t.children.push({name:\"p\",children:s})})):/[\\u2028\\n]/.test(this[pe])&&(t.name=\"div\",t.children=[],this[pe].split(/[\\u2028\\n]/).forEach(s=>{t.children.push({name:\"span\",value:s},{name:\"br\"})})),We.success(t)}return this[pe][Je](e)}},tu=class extends oe{constructor(e){super(_e,\"textEdit\",!0),this.allowRichText=nt({data:e.allowRichText,defaultValue:0,validate:t=>t===1}),this.hScrollPolicy=be(e.hScrollPolicy,[\"auto\",\"off\",\"on\"]),this.id=e.id||\"\",this.multiLine=nt({data:e.multiLine,defaultValue:\"\",validate:t=>t===0||t===1}),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.vScrollPolicy=be(e.vScrollPolicy,[\"auto\",\"off\",\"on\"]),this.border=null,this.comb=null,this.extras=null,this.margin=null}[Je](e){let t=vs(this,\"border\",\"font\",\"margin\"),s,i=this[rt]()[rt]();return this.multiLine===\"\"&&(this.multiLine=i instanceof Kh?1:0),this.multiLine===1?s={name:\"textarea\",attributes:{dataId:i[ii]?.[Et]||i[Et],fieldId:i[Et],class:[\"xfaTextfield\"],style:t,\"aria-label\":Fa(i),\"aria-required\":!1}}:s={name:\"input\",attributes:{type:\"text\",dataId:i[ii]?.[Et]||i[Et],fieldId:i[Et],class:[\"xfaTextfield\"],style:t,\"aria-label\":Fa(i),\"aria-required\":!1}},nf(i)&&(s.attributes[\"aria-required\"]=!0,s.attributes.required=!0),We.success({name:\"label\",attributes:{class:[\"xfaLabel\"]},children:[s]})}},Xb=class extends ht{constructor(e){super(_e,\"time\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}[Bt](){let e=this[pe].trim();this[pe]=e?new Date(e):null}[Je](e){return Nr(this[pe]?this[pe].toString():\"\")}},Yb=class extends oe{constructor(e){super(_e,\"timeStamp\"),this.id=e.id||\"\",this.server=e.server||\"\",this.type=be(e.type,[\"optional\",\"required\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Jb=class extends ht{constructor(e){super(_e,\"toolTip\"),this.id=e.id||\"\",this.rid=e.rid||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},Qb=class extends oe{constructor(e){super(_e,\"traversal\",!0),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.traverse=new U}},Zb=class extends oe{constructor(e){super(_e,\"traverse\",!0),this.id=e.id||\"\",this.operation=be(e.operation,[\"next\",\"back\",\"down\",\"first\",\"left\",\"right\",\"up\"]),this.ref=e.ref||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.script=null}get name(){return this.operation}[Ec](){return!1}},zc=class extends oe{constructor(e){super(_e,\"ui\",!0),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.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}[Xn](){if(this[ne]===void 0){for(let e of Object.getOwnPropertyNames(this)){if(e===\"extras\"||e===\"picture\")continue;let t=this[e];if(t instanceof oe)return this[ne]=t,t}this[ne]=null}return this[ne]}[Je](e){let t=this[Xn]();return t?t[Je](e):We.EMPTY}},ew=class extends oe{constructor(e){super(_e,\"validate\",!0),this.formatTest=be(e.formatTest,[\"warning\",\"disabled\",\"error\"]),this.id=e.id||\"\",this.nullTest=be(e.nullTest,[\"disabled\",\"error\",\"warning\"]),this.scriptTest=be(e.scriptTest,[\"error\",\"disabled\",\"warning\"]),this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.extras=null,this.message=null,this.picture=null,this.script=null}},Uc=class extends oe{constructor(e){super(_e,\"value\",!0),this.id=e.id||\"\",this.override=nt({data:e.override,defaultValue:0,validate:t=>t===1}),this.relevant=Si(e.relevant),this.use=e.use||\"\",this.usehref=e.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}[Ts](e){let t=this[rt]();if(t instanceof Pc&&t.ui?.imageEdit){this.image||(this.image=new Yh({}),this[an](this.image)),this.image[pe]=e[pe];return}let s=e[At];if(this[s]!==null){this[s][pe]=e[pe];return}for(let i of Object.getOwnPropertyNames(this)){let r=this[i];r instanceof oe&&(this[i]=null,this[Er](r))}this[e[At]]=e,this[an](e)}[In](){if(this.exData)return typeof this.exData[pe]==\"string\"?this.exData[pe].trim():this.exData[pe][In]().trim();for(let e of Object.getOwnPropertyNames(this)){if(e===\"image\")continue;let t=this[e];if(t instanceof oe)return(t[pe]||\"\").toString().trim()}return null}[Je](e){for(let t of Object.getOwnPropertyNames(this)){let s=this[t];if(s instanceof oe)return s[Je](e)}return We.EMPTY}},tw=class extends oe{constructor(e){super(_e,\"variables\",!0),this.id=e.id||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\",this.boolean=new U,this.date=new U,this.dateTime=new U,this.decimal=new U,this.exData=new U,this.float=new U,this.image=new U,this.integer=new U,this.manifest=new U,this.script=new U,this.text=new U,this.time=new U}[Ec](){return!0}},nw=class n{static[Ai](e,t){if(Object.hasOwn(n,e)){let s=n[e](t);return s[j4](t),s}}static appearanceFilter(e){return new Ag(e)}static arc(e){return new Lh(e)}static area(e){return new Sg(e)}static assist(e){return new qg(e)}static barcode(e){return new _g(e)}static bind(e){return new Ig(e)}static bindItems(e){return new Oc(e)}static bookend(e){return new Cg(e)}static boolean(e){return new Tg(e)}static border(e){return new zh(e)}static break(e){return new Eg(e)}static breakAfter(e){return new Uh(e)}static breakBefore(e){return new Gh(e)}static button(e){return new Rg(e)}static calculate(e){return new Fg(e)}static caption(e){return new Og(e)}static certificate(e){return new Mg(e)}static certificates(e){return new Pg(e)}static checkButton(e){return new Wh(e)}static choiceList(e){return new $h(e)}static color(e){return new Bg(e)}static comb(e){return new Dg(e)}static connect(e){return new Ng(e)}static contentArea(e){return new Mc(e)}static corner(e){return new Vh(e)}static date(e){return new Hg(e)}static dateTime(e){return new Lg(e)}static dateTimeEdit(e){return new zg(e)}static decimal(e){return new Ug(e)}static defaultUi(e){return new Gg(e)}static desc(e){return new Wg(e)}static digestMethod(e){return new $g(e)}static digestMethods(e){return new Vg(e)}static draw(e){return new Kh(e)}static edge(e){return new Oa(e)}static encoding(e){return new Kg(e)}static encodings(e){return new Xg(e)}static encrypt(e){return new Yg(e)}static encryptData(e){return new Jg(e)}static encryption(e){return new Qg(e)}static encryptionMethod(e){return new Zg(e)}static encryptionMethods(e){return new eb(e)}static event(e){return new tb(e)}static exData(e){return new nb(e)}static exObject(e){return new sb(e)}static exclGroup(e){return new Xh(e)}static execute(e){return new ib(e)}static extras(e){return new rb(e)}static field(e){return new Pc(e)}static fill(e){return new ab(e)}static filter(e){return new ob(e)}static float(e){return new lb(e)}static font(e){return new cb(e)}static format(e){return new fb(e)}static handler(e){return new hb(e)}static hyphenation(e){return new ub(e)}static image(e){return new Yh(e)}static imageEdit(e){return new db(e)}static integer(e){return new pb(e)}static issuers(e){return new mb(e)}static items(e){return new Bc(e)}static keep(e){return new gb(e)}static keyUsage(e){return new bb(e)}static line(e){return new wb(e)}static linear(e){return new xb(e)}static lockDocument(e){return new vb(e)}static manifest(e){return new yb(e)}static margin(e){return new kb(e)}static mdp(e){return new jb(e)}static medium(e){return new Ab(e)}static message(e){return new Sb(e)}static numericEdit(e){return new qb(e)}static occur(e){return new _b(e)}static oid(e){return new Ib(e)}static oids(e){return new Cb(e)}static overflow(e){return new Jh(e)}static pageArea(e){return new Br(e)}static pageSet(e){return new Dc(e)}static para(e){return new Tb(e)}static passwordEdit(e){return new Eb(e)}static pattern(e){return new Rb(e)}static picture(e){return new Fb(e)}static proto(e){return new Ob(e)}static radial(e){return new Mb(e)}static reason(e){return new Pb(e)}static reasons(e){return new Bb(e)}static rectangle(e){return new Qh(e)}static ref(e){return new Db(e)}static script(e){return new Nb(e)}static setProperty(e){return new Nc(e)}static signData(e){return new Hb(e)}static signature(e){return new Lb(e)}static signing(e){return new zb(e)}static solid(e){return new Ub(e)}static speak(e){return new Gb(e)}static stipple(e){return new Wb(e)}static subform(e){return new Zh(e)}static subformSet(e){return new Hc(e)}static subjectDN(e){return new $b(e)}static subjectDNs(e){return new Vb(e)}static submit(e){return new Kb(e)}static template(e){return new Lc(e)}static text(e){return new eu(e)}static textEdit(e){return new tu(e)}static time(e){return new Xb(e)}static timeStamp(e){return new Yb(e)}static toolTip(e){return new Jb(e)}static traversal(e){return new Qb(e)}static traverse(e){return new Zb(e)}static ui(e){return new zc(e)}static validate(e){return new ew(e)}static value(e){return new Uc(e)}static variables(e){return new tw(e)}},P0=Cn.datasets.id;function B0(n){let e=new eu({});return e[pe]=n,e}var sw=class{constructor(e){this.root=e,this.datasets=e.datasets,this.data=e.datasets?.data||new ur(P0,\"data\"),this.emptyMerge=this.data[ss]().length===0,this.root.form=this.form=e.template[bi]()}_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(e,t,s){if(e[ii]=t,e[Tc]())if(t[qo]()){let i=t[hv]();e[Ts](B0(i))}else if(e instanceof Pc&&e.ui?.choiceList?.open===\"multiSelect\"){let i=t[ss]().map(r=>r[pe].trim()).join(`\n`);e[Ts](B0(i))}else this._isConsumeData()&&B(\"XFA - Nodes haven't the same type.\");else!t[qo]()||this._isMatchTemplate()?this._bindElement(e,t):B(\"XFA - Nodes haven't the same type.\")}_findDataByNameToConsume(e,t,s,i){if(!e)return null;let r,a;for(let o=0;o<3;o++){for(r=s[sc](e,!1,!0);a=r.next().value,!!a;)if(t===a[qo]())return a;if(s[mn]===P0&&s[At]===\"data\")break;s=s[rt]()}return i?(r=this.data[sc](e,!0,!1),a=r.next().value,a||(r=this.data[gg](e,!0),a=r.next().value,a?.[qo]()?a:null)):null}_setProperties(e,t){if(Object.hasOwn(e,\"setProperty\"))for(let{ref:s,target:i,connection:r}of e.setProperty.children){if(r||!s)continue;let a=Ir(this.root,t,s,!1,!1);if(!a){B(`XFA - Invalid reference: ${s}.`);continue}let[o]=a;if(!o[Tr](this.data)){B(\"XFA - Invalid node: must be a data node.\");continue}let l=Ir(this.root,e,i,!1,!1);if(!l){B(`XFA - Invalid target: ${i}.`);continue}let[c]=l;if(!c[Tr](e)){B(\"XFA - Invalid target: must be a property or subproperty.\");continue}let f=c[rt]();if(c instanceof Nc||f instanceof Nc){B(\"XFA - Invalid target: cannot be a setProperty or one of its properties.\");continue}if(c instanceof Oc||f instanceof Oc){B(\"XFA - Invalid target: cannot be a bindItems or one of its properties.\");continue}let h=o[In](),u=c[At];if(c instanceof Fc){let d=Object.create(null);d[u]=h;let p=Reflect.construct(Object.getPrototypeOf(f).constructor,[d]);f[u]=p[u];continue}if(!Object.hasOwn(c,pe)){B(\"XFA - Invalid node to use in setProperty\");continue}c[ii]=o,c[pe]=h,c[Bt]()}}_bindItems(e,t){if(!Object.hasOwn(e,\"items\")||!Object.hasOwn(e,\"bindItems\")||e.bindItems.isEmpty())return;for(let r of e.items.children)e[Er](r);e.items.clear();let s=new Bc({}),i=new Bc({});e[an](s),e.items.push(s),e[an](i),e.items.push(i);for(let{ref:r,labelRef:a,valueRef:o,connection:l}of e.bindItems.children){if(l||!r)continue;let c=Ir(this.root,t,r,!1,!1);if(!c){B(`XFA - Invalid reference: ${r}.`);continue}for(let f of c){if(!f[Tr](this.datasets)){B(`XFA - Invalid ref (${r}): must be a datasets child.`);continue}let h=Ir(this.root,f,a,!0,!1);if(!h){B(`XFA - Invalid label: ${a}.`);continue}let[u]=h;if(!u[Tr](this.datasets)){B(\"XFA - Invalid label: must be a datasets child.\");continue}let d=Ir(this.root,f,o,!0,!1);if(!d){B(`XFA - Invalid value: ${o}.`);continue}let[p]=d;if(!p[Tr](this.datasets)){B(\"XFA - Invalid value: must be a datasets child.\");continue}let m=B0(u[In]()),g=B0(p[In]());s[an](m),s.text.push(m),i[an](g),i.text.push(g)}}}_bindOccurrences(e,t,s){let i;if(t.length>1&&(i=e[bi](),i[Er](i.occur),i.occur=null),this._bindValue(e,t[0],s),this._setProperties(e,t[0]),this._bindItems(e,t[0]),t.length===1)return;let r=e[rt](),a=e[At],o=r[bg](e);for(let l=1,c=t.length;l<c;l++){let f=t[l],h=i[bi]();r[a].push(h),r[V0](o+l,h),this._bindValue(h,f,s),this._setProperties(h,f),this._bindItems(h,f)}}_createOccurrences(e){if(!this.emptyMerge)return;let{occur:t}=e;if(!t||t.initial<=1)return;let s=e[rt](),i=e[At];if(!(s[i]instanceof U))return;let r;e.name?r=s[i].children.filter(l=>l.name===e.name).length:r=s[i].children.length;let a=s[bg](e)+1,o=t.initial-r;if(o){let l=e[bi]();l[Er](l.occur),l.occur=null,s[i].push(l),s[V0](a,l);for(let c=1;c<o;c++){let f=l[bi]();s[i].push(f),s[V0](a+c,f)}}}_getOccurInfo(e){let{name:t,occur:s}=e;if(!s||!t)return[1,1];let i=s.max===-1?1/0:s.max;return[s.min,i]}_setAndBind(e,t){this._setProperties(e,t),this._bindItems(e,t),this._bindElement(e,t)}_bindElement(e,t){let s=[];this._createOccurrences(e);for(let i of e[ss]()){if(i[ii])continue;if(this._mergeMode===void 0&&i[At]===\"subform\"){this._mergeMode=i.mergeMode===\"consumeData\";let h=t[ss]();if(h.length>0)this._bindOccurrences(i,[h[0]],null);else if(this.emptyMerge){let u=t[mn]===P0?-1:t[mn],d=i[ii]=new ur(u,i.name||\"root\");t[an](d),this._bindElement(i,d)}continue}if(!i[Ua]())continue;let r=!1,a=null,o=null,l=null;if(i.bind){switch(i.bind.match){case\"none\":this._setAndBind(i,t);continue;case\"global\":r=!0;break;case\"dataRef\":if(!i.bind.ref){B(`XFA - ref is empty in node ${i[At]}.`),this._setAndBind(i,t);continue}o=i.bind.ref;break;default:break}i.bind.picture&&(a=i.bind.picture[pe])}let[c,f]=this._getOccurInfo(i);if(o)if(l=Ir(this.root,t,o,!0,!1),l===null){if(l=WI(this.data,t,o),!l)continue;this._isConsumeData()&&(l[Bi]=!0),this._setAndBind(i,l);continue}else this._isConsumeData()&&(l=l.filter(h=>!h[Bi])),l.length>f?l=l.slice(0,f):l.length===0&&(l=null),l&&this._isConsumeData()&&l.forEach(h=>{h[Bi]=!0});else{if(!i.name){this._setAndBind(i,t);continue}if(this._isConsumeData()){let h=[];for(;h.length<f;){let u=this._findDataByNameToConsume(i.name,i[Tc](),t,r);if(!u)break;u[Bi]=!0,h.push(u)}l=h.length>0?h:null}else{if(l=t[sc](i.name,!1,this.emptyMerge).next().value,!l){if(c===0){s.push(i);continue}let h=t[mn]===P0?-1:t[mn];l=i[ii]=new ur(h,i.name),this.emptyMerge&&(l[Bi]=!0),t[an](l),this._setAndBind(i,l);continue}this.emptyMerge&&(l[Bi]=!0),l=[l]}}l?this._bindOccurrences(i,l,a):c>0?this._setAndBind(i,t):s.push(i)}s.forEach(i=>i[rt]()[Er](i))}},iw=class{constructor(e,t){this.data=t,this.dataset=e.datasets||null}serialize(e){let t=[[-1,this.data[ss]()]];for(;t.length>0;){let i=t.at(-1),[r,a]=i;if(r+1===a.length){t.pop();continue}let o=a[++i[0]],l=e.get(o[Et]);if(l)o[Ts](l);else{let f=o[y4]();for(let h of f.values()){let u=e.get(h[Et]);if(u){h[Ts](u);break}}}let c=o[ss]();c.length>0&&t.push([-1,c])}let s=['<xfa:datasets xmlns:xfa=\"http://www.xfa.org/schema/xfa-data/1.0/\">'];if(this.dataset)for(let i of this.dataset[ss]())i[At]!==\"data\"&&i[rc](s);return this.data[rc](s),s.push(\"</xfa:datasets>\"),s.join(\"\")}},ve=Cn.config.id,rw=class extends oe{constructor(e){super(ve,\"acrobat\",!0),this.acrobat7=null,this.autoSave=null,this.common=null,this.validate=null,this.validateApprovalSignatures=null,this.submitUrl=new U}},aw=class extends oe{constructor(e){super(ve,\"acrobat7\",!0),this.dynamicRender=null}},ow=class extends St{constructor(e){super(ve,\"ADBE_JSConsole\",[\"delegate\",\"Enable\",\"Disable\"])}},lw=class extends St{constructor(e){super(ve,\"ADBE_JSDebugger\",[\"delegate\",\"Enable\",\"Disable\"])}},cw=class extends bn{constructor(e){super(ve,\"addSilentPrint\")}},fw=class extends bn{constructor(e){super(ve,\"addViewerPreferences\")}},hw=class extends Nh{constructor(e){super(ve,\"adjustData\")}},uw=class extends $s{constructor(e){super(ve,\"adobeExtensionLevel\",0,t=>t>=1&&t<=8)}},dw=class extends oe{constructor(e){super(ve,\"agent\",!0),this.name=e.name?e.name.trim():\"\",this.common=new U}},pw=class extends Zt{constructor(e){super(ve,\"alwaysEmbed\")}},mw=class extends ht{constructor(e){super(ve,\"amd\")}},gw=class extends oe{constructor(e){super(ve,\"area\"),this.level=nt({data:e.level,defaultValue:0,validate:t=>t>=1&&t<=3}),this.name=be(e.name,[\"\",\"barcode\",\"coreinit\",\"deviceDriver\",\"font\",\"general\",\"layout\",\"merge\",\"script\",\"signature\",\"sourceSet\",\"templateCache\"])}},bw=class extends St{constructor(e){super(ve,\"attributes\",[\"preserve\",\"delegate\",\"ignore\"])}},ww=class extends St{constructor(e){super(ve,\"autoSave\",[\"disabled\",\"enabled\"])}},xw=class extends ht{constructor(e){super(ve,\"base\")}},vw=class extends oe{constructor(e){super(ve,\"batchOutput\"),this.format=be(e.format,[\"none\",\"concat\",\"zip\",\"zipCompress\"])}},yw=class extends Zt{constructor(e){super(ve,\"behaviorOverride\")}[Bt](){this[pe]=new Map(this[pe].trim().split(/\\s+/).filter(e=>e.includes(\":\")).map(e=>e.split(\":\",2)))}},kw=class extends oe{constructor(e){super(ve,\"cache\",!0),this.templateCache=null}},jw=class extends bn{constructor(e){super(ve,\"change\")}},Aw=class extends oe{constructor(e){super(ve,\"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 U}},Sw=class extends oe{constructor(e){super(ve,\"compress\"),this.scope=be(e.scope,[\"imageOnly\",\"document\"])}},qw=class extends bn{constructor(e){super(ve,\"compressLogicalStructure\")}},_w=class extends Nh{constructor(e){super(ve,\"compressObjectStream\")}},Iw=class extends oe{constructor(e){super(ve,\"compression\",!0),this.compressLogicalStructure=null,this.compressObjectStream=null,this.level=null,this.type=null}},Cw=class extends oe{constructor(e){super(ve,\"config\",!0),this.acrobat=null,this.present=null,this.trace=null,this.agent=new U}},Tw=class extends St{constructor(e){super(ve,\"conformance\",[\"A\",\"B\"])}},Ew=class extends bn{constructor(e){super(ve,\"contentCopy\")}},Rw=class extends $s{constructor(e){super(ve,\"copies\",1,t=>t>=1)}},Fw=class extends ht{constructor(e){super(ve,\"creator\")}},Ow=class extends $s{constructor(e){super(ve,\"currentPage\",0,t=>t>=0)}},Mw=class extends oe{constructor(e){super(ve,\"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 U,this.transform=new U}},Pw=class extends oe{constructor(e){super(ve,\"debug\",!0),this.uri=null}},Bw=class extends Zt{constructor(e){super(ve,\"defaultTypeface\"),this.writingScript=be(e.writingScript,[\"*\",\"Arabic\",\"Cyrillic\",\"EastEuropeanRoman\",\"Greek\",\"Hebrew\",\"Japanese\",\"Korean\",\"Roman\",\"SimplifiedChinese\",\"Thai\",\"TraditionalChinese\",\"Vietnamese\"])}},Dw=class extends St{constructor(e){super(ve,\"destination\",[\"pdf\",\"pcl\",\"ps\",\"webClient\",\"zpl\"])}},Nw=class extends bn{constructor(e){super(ve,\"documentAssembly\")}},Hw=class extends oe{constructor(e){super(ve,\"driver\",!0),this.name=e.name?e.name.trim():\"\",this.fontInfo=null,this.xdc=null}},Lw=class extends St{constructor(e){super(ve,\"duplexOption\",[\"simplex\",\"duplexFlipLongEdge\",\"duplexFlipShortEdge\"])}},zw=class extends St{constructor(e){super(ve,\"dynamicRender\",[\"forbidden\",\"required\"])}},Uw=class extends bn{constructor(e){super(ve,\"embed\")}},Gw=class extends bn{constructor(e){super(ve,\"encrypt\")}},Ww=class extends oe{constructor(e){super(ve,\"encryption\",!0),this.encrypt=null,this.encryptionLevel=null,this.permissions=null}},$w=class extends St{constructor(e){super(ve,\"encryptionLevel\",[\"40bit\",\"128bit\"])}},Vw=class extends ht{constructor(e){super(ve,\"enforce\")}},Kw=class extends oe{constructor(e){super(ve,\"equate\"),this.force=nt({data:e.force,defaultValue:1,validate:t=>t===0}),this.from=e.from||\"\",this.to=e.to||\"\"}},Xw=class extends oe{constructor(e){super(ve,\"equateRange\"),this.from=e.from||\"\",this.to=e.to||\"\",this._unicodeRange=e.unicodeRange||\"\"}get unicodeRange(){let e=[],t=/U\\+([0-9a-fA-F]+)/,s=this._unicodeRange;for(let i of s.split(\",\").map(r=>r.trim()).filter(Boolean))i=i.split(\"-\",2).map(r=>{let a=r.match(t);return a?parseInt(a[1],16):0}),i.length===1&&i.push(i[0]),e.push(i);return je(this,\"unicodeRange\",e)}},Yw=class extends Zt{constructor(e){super(ve,\"exclude\")}[Bt](){this[pe]=this[pe].trim().split(/\\s+/).filter(e=>e&&[\"calculate\",\"close\",\"enter\",\"exit\",\"initialize\",\"ready\",\"validate\"].includes(e))}},Jw=class extends ht{constructor(e){super(ve,\"excludeNS\")}},Qw=class extends St{constructor(e){super(ve,\"flipLabel\",[\"usePrinterSetting\",\"on\",\"off\"])}},Zw=class extends oe{constructor(e){super(ve,\"fontInfo\",!0),this.embed=null,this.map=null,this.subsetBelow=null,this.alwaysEmbed=new U,this.defaultTypeface=new U,this.neverEmbed=new U}},ex=class extends bn{constructor(e){super(ve,\"formFieldFilling\")}},tx=class extends ht{constructor(e){super(ve,\"groupParent\")}},nx=class extends St{constructor(e){super(ve,\"ifEmpty\",[\"dataValue\",\"dataGroup\",\"ignore\",\"remove\"])}},sx=class extends ht{constructor(e){super(ve,\"includeXDPContent\")}},ix=class extends St{constructor(e){super(ve,\"incrementalLoad\",[\"none\",\"forwardOnly\"])}},rx=class extends bn{constructor(e){super(ve,\"incrementalMerge\")}},ax=class extends bn{constructor(e){super(ve,\"interactive\")}},ox=class extends St{constructor(e){super(ve,\"jog\",[\"usePrinterSetting\",\"none\",\"pageSet\"])}},lx=class extends oe{constructor(e){super(ve,\"labelPrinter\",!0),this.name=be(e.name,[\"zpl\",\"dpl\",\"ipl\",\"tcpl\"]),this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}},cx=class extends St{constructor(e){super(ve,\"layout\",[\"paginate\",\"panel\"])}},fx=class extends $s{constructor(e){super(ve,\"level\",0,t=>t>0)}},hx=class extends bn{constructor(e){super(ve,\"linearized\")}},ux=class extends ht{constructor(e){super(ve,\"locale\")}},dx=class extends ht{constructor(e){super(ve,\"localeSet\")}},px=class extends oe{constructor(e){super(ve,\"log\",!0),this.mode=null,this.threshold=null,this.to=null,this.uri=null}},mx=class extends oe{constructor(e){super(ve,\"map\",!0),this.equate=new U,this.equateRange=new U}},gx=class extends oe{constructor(e){super(ve,\"mediumInfo\",!0),this.map=null}},bx=class extends oe{constructor(e){super(ve,\"message\",!0),this.msgId=null,this.severity=null}},wx=class extends oe{constructor(e){super(ve,\"messaging\",!0),this.message=new U}},xx=class extends St{constructor(e){super(ve,\"mode\",[\"append\",\"overwrite\"])}},vx=class extends bn{constructor(e){super(ve,\"modifyAnnots\")}},yx=class extends $s{constructor(e){super(ve,\"msgId\",1,t=>t>=1)}},kx=class extends ht{constructor(e){super(ve,\"nameAttr\")}},jx=class extends Zt{constructor(e){super(ve,\"neverEmbed\")}},Ax=class extends $s{constructor(e){super(ve,\"numberOfCopies\",null,t=>t>=2&&t<=5)}},Sx=class extends oe{constructor(e){super(ve,\"openAction\",!0),this.destination=null}},qx=class extends oe{constructor(e){super(ve,\"output\",!0),this.to=null,this.type=null,this.uri=null}},_x=class extends ht{constructor(e){super(ve,\"outputBin\")}},Ix=class extends oe{constructor(e){super(ve,\"outputXSL\",!0),this.uri=null}},Cx=class extends St{constructor(e){super(ve,\"overprint\",[\"none\",\"both\",\"draw\",\"field\"])}},Tx=class extends ht{constructor(e){super(ve,\"packets\")}[Bt](){this[pe]!==\"*\"&&(this[pe]=this[pe].trim().split(/\\s+/).filter(e=>[\"config\",\"datasets\",\"template\",\"xfdf\",\"xslt\"].includes(e)))}},Ex=class extends oe{constructor(e){super(ve,\"pageOffset\"),this.x=nt({data:e.x,defaultValue:\"useXDCSetting\",validate:t=>!0}),this.y=nt({data:e.y,defaultValue:\"useXDCSetting\",validate:t=>!0})}},Rx=class extends ht{constructor(e){super(ve,\"pageRange\")}[Bt](){let e=this[pe].trim().split(/\\s+/).map(s=>parseInt(s,10)),t=[];for(let s=0,i=e.length;s<i;s+=2)t.push(e.slice(s,s+2));this[pe]=t}},Fx=class extends St{constructor(e){super(ve,\"pagination\",[\"simplex\",\"duplexShortEdge\",\"duplexLongEdge\"])}},Ox=class extends St{constructor(e){super(ve,\"paginationOverride\",[\"none\",\"forceDuplex\",\"forceDuplexLongEdge\",\"forceDuplexShortEdge\",\"forceSimplex\"])}},Mx=class extends $s{constructor(e){super(ve,\"part\",1,t=>!1)}},Px=class extends oe{constructor(e){super(ve,\"pcl\",!0),this.name=e.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}},Bx=class extends oe{constructor(e){super(ve,\"pdf\",!0),this.name=e.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}},Dx=class extends oe{constructor(e){super(ve,\"pdfa\",!0),this.amd=null,this.conformance=null,this.includeXDPContent=null,this.part=null}},Nx=class extends oe{constructor(e){super(ve,\"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}},Hx=class extends bn{constructor(e){super(ve,\"pickTrayByPDFSize\")}},Lx=class extends ht{constructor(e){super(ve,\"picture\")}},zx=class extends bn{constructor(e){super(ve,\"plaintextMetadata\")}},Ux=class extends St{constructor(e){super(ve,\"presence\",[\"preserve\",\"dissolve\",\"dissolveStructure\",\"ignore\",\"remove\"])}},Gx=class extends oe{constructor(e){super(ve,\"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 U,this.labelPrinter=new U,this.pcl=new U,this.pdf=new U,this.ps=new U,this.submitUrl=new U,this.webClient=new U,this.zpl=new U}},Wx=class extends bn{constructor(e){super(ve,\"print\")}},$x=class extends bn{constructor(e){super(ve,\"printHighQuality\")}},Vx=class extends St{constructor(e){super(ve,\"printScaling\",[\"appdefault\",\"noScaling\"])}},Kx=class extends ht{constructor(e){super(ve,\"printerName\")}},Xx=class extends ht{constructor(e){super(ve,\"producer\")}},Yx=class extends oe{constructor(e){super(ve,\"ps\",!0),this.name=e.name||\"\",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.staple=null,this.xdc=null}},Jx=class extends Zt{constructor(e){super(ve,\"range\")}[Bt](){this[pe]=this[pe].split(\",\",2).map(e=>e.split(\"-\").map(t=>parseInt(t.trim(),10))).filter(e=>e.every(t=>!isNaN(t))).map(e=>(e.length===1&&e.push(e[0]),e))}},Qx=class extends Zt{constructor(e){super(ve,\"record\")}[Bt](){this[pe]=this[pe].trim();let e=parseInt(this[pe],10);!isNaN(e)&&e>=0&&(this[pe]=e)}},Zx=class extends Zt{constructor(e){super(ve,\"relevant\")}[Bt](){this[pe]=this[pe].trim().split(/\\s+/)}},e2=class extends Zt{constructor(e){super(ve,\"rename\")}[Bt](){this[pe]=this[pe].trim(),(this[pe].toLowerCase().startsWith(\"xml\")||/[\\p{L}_][\\p{L}\\d._\\p{M}-]*/u.test(this[pe]))&&B(\"XFA - Rename: invalid XFA name\")}},t2=class extends St{constructor(e){super(ve,\"renderPolicy\",[\"server\",\"client\"])}},n2=class extends St{constructor(e){super(ve,\"runScripts\",[\"both\",\"client\",\"none\",\"server\"])}},s2=class extends oe{constructor(e){super(ve,\"script\",!0),this.currentPage=null,this.exclude=null,this.runScripts=null}},i2=class extends St{constructor(e){super(ve,\"scriptModel\",[\"XFA\",\"none\"])}},r2=class extends St{constructor(e){super(ve,\"severity\",[\"ignore\",\"error\",\"information\",\"trace\",\"warning\"])}},a2=class extends oe{constructor(e){super(ve,\"silentPrint\",!0),this.addSilentPrint=null,this.printerName=null}},o2=class extends oe{constructor(e){super(ve,\"staple\"),this.mode=be(e.mode,[\"usePrinterSetting\",\"on\",\"off\"])}},l2=class extends ht{constructor(e){super(ve,\"startNode\")}},c2=class extends $s{constructor(e){super(ve,\"startPage\",0,t=>!0)}},f2=class extends St{constructor(e){super(ve,\"submitFormat\",[\"html\",\"delegate\",\"fdf\",\"xml\",\"pdf\"])}},h2=class extends ht{constructor(e){super(ve,\"submitUrl\")}},u2=class extends $s{constructor(e){super(ve,\"subsetBelow\",100,t=>t>=0&&t<=100)}},d2=class extends bn{constructor(e){super(ve,\"suppressBanner\")}},p2=class extends bn{constructor(e){super(ve,\"tagged\")}},m2=class extends oe{constructor(e){super(ve,\"template\",!0),this.base=null,this.relevant=null,this.startPage=null,this.uri=null,this.xsl=null}},g2=class extends St{constructor(e){super(ve,\"threshold\",[\"trace\",\"error\",\"information\",\"warning\"])}},b2=class extends St{constructor(e){super(ve,\"to\",[\"null\",\"memory\",\"stderr\",\"stdout\",\"system\",\"uri\"])}},w2=class extends oe{constructor(e){super(ve,\"templateCache\"),this.maxEntries=nt({data:e.maxEntries,defaultValue:5,validate:t=>t>=0})}},x2=class extends oe{constructor(e){super(ve,\"trace\",!0),this.area=new U}},v2=class extends oe{constructor(e){super(ve,\"transform\",!0),this.groupParent=null,this.ifEmpty=null,this.nameAttr=null,this.picture=null,this.presence=null,this.rename=null,this.whitespace=null}},y2=class extends St{constructor(e){super(ve,\"type\",[\"none\",\"ascii85\",\"asciiHex\",\"ccittfax\",\"flate\",\"lzw\",\"runLength\",\"native\",\"xdp\",\"mergedXDP\"])}},k2=class extends ht{constructor(e){super(ve,\"uri\")}},j2=class extends St{constructor(e){super(ve,\"validate\",[\"preSubmit\",\"prePrint\",\"preExecute\",\"preSave\"])}},A2=class extends Zt{constructor(e){super(ve,\"validateApprovalSignatures\")}[Bt](){this[pe]=this[pe].trim().split(/\\s+/).filter(e=>[\"docReady\",\"postSign\"].includes(e))}},S2=class extends St{constructor(e){super(ve,\"validationMessaging\",[\"allMessagesIndividually\",\"allMessagesTogether\",\"firstMessageOnly\",\"noMessages\"])}},q2=class extends St{constructor(e){super(ve,\"version\",[\"1.7\",\"1.6\",\"1.5\",\"1.4\",\"1.3\",\"1.2\"])}},_2=class extends oe{constructor(e){super(ve,\"VersionControl\"),this.outputBelow=be(e.outputBelow,[\"warn\",\"error\",\"update\"]),this.sourceAbove=be(e.sourceAbove,[\"warn\",\"error\"]),this.sourceBelow=be(e.sourceBelow,[\"update\",\"maintain\"])}},I2=class extends oe{constructor(e){super(ve,\"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}},C2=class extends oe{constructor(e){super(ve,\"webClient\",!0),this.name=e.name?e.name.trim():\"\",this.fontInfo=null,this.xdc=null}},T2=class extends St{constructor(e){super(ve,\"whitespace\",[\"preserve\",\"ltrim\",\"normalize\",\"rtrim\",\"trim\"])}},E2=class extends Zt{constructor(e){super(ve,\"window\")}[Bt](){let e=this[pe].split(\",\",2).map(t=>parseInt(t.trim(),10));if(e.some(t=>isNaN(t))){this[pe]=[0,0];return}e.length===1&&e.push(e[0]),this[pe]=e}},R2=class extends oe{constructor(e){super(ve,\"xdc\",!0),this.uri=new U,this.xsl=new U}},F2=class extends oe{constructor(e){super(ve,\"xdp\",!0),this.packets=null}},O2=class extends oe{constructor(e){super(ve,\"xsl\",!0),this.debug=null,this.uri=null}},M2=class extends oe{constructor(e){super(ve,\"zpl\",!0),this.name=e.name?e.name.trim():\"\",this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}},P2=class n{static[Ai](e,t){return Object.hasOwn(n,e)?n[e](t):void 0}static acrobat(e){return new rw(e)}static acrobat7(e){return new aw(e)}static ADBE_JSConsole(e){return new ow(e)}static ADBE_JSDebugger(e){return new lw(e)}static addSilentPrint(e){return new cw(e)}static addViewerPreferences(e){return new fw(e)}static adjustData(e){return new hw(e)}static adobeExtensionLevel(e){return new uw(e)}static agent(e){return new dw(e)}static alwaysEmbed(e){return new pw(e)}static amd(e){return new mw(e)}static area(e){return new gw(e)}static attributes(e){return new bw(e)}static autoSave(e){return new ww(e)}static base(e){return new xw(e)}static batchOutput(e){return new vw(e)}static behaviorOverride(e){return new yw(e)}static cache(e){return new kw(e)}static change(e){return new jw(e)}static common(e){return new Aw(e)}static compress(e){return new Sw(e)}static compressLogicalStructure(e){return new qw(e)}static compressObjectStream(e){return new _w(e)}static compression(e){return new Iw(e)}static config(e){return new Cw(e)}static conformance(e){return new Tw(e)}static contentCopy(e){return new Ew(e)}static copies(e){return new Rw(e)}static creator(e){return new Fw(e)}static currentPage(e){return new Ow(e)}static data(e){return new Mw(e)}static debug(e){return new Pw(e)}static defaultTypeface(e){return new Bw(e)}static destination(e){return new Dw(e)}static documentAssembly(e){return new Nw(e)}static driver(e){return new Hw(e)}static duplexOption(e){return new Lw(e)}static dynamicRender(e){return new zw(e)}static embed(e){return new Uw(e)}static encrypt(e){return new Gw(e)}static encryption(e){return new Ww(e)}static encryptionLevel(e){return new $w(e)}static enforce(e){return new Vw(e)}static equate(e){return new Kw(e)}static equateRange(e){return new Xw(e)}static exclude(e){return new Yw(e)}static excludeNS(e){return new Jw(e)}static flipLabel(e){return new Qw(e)}static fontInfo(e){return new Zw(e)}static formFieldFilling(e){return new ex(e)}static groupParent(e){return new tx(e)}static ifEmpty(e){return new nx(e)}static includeXDPContent(e){return new sx(e)}static incrementalLoad(e){return new ix(e)}static incrementalMerge(e){return new rx(e)}static interactive(e){return new ax(e)}static jog(e){return new ox(e)}static labelPrinter(e){return new lx(e)}static layout(e){return new cx(e)}static level(e){return new fx(e)}static linearized(e){return new hx(e)}static locale(e){return new ux(e)}static localeSet(e){return new dx(e)}static log(e){return new px(e)}static map(e){return new mx(e)}static mediumInfo(e){return new gx(e)}static message(e){return new bx(e)}static messaging(e){return new wx(e)}static mode(e){return new xx(e)}static modifyAnnots(e){return new vx(e)}static msgId(e){return new yx(e)}static nameAttr(e){return new kx(e)}static neverEmbed(e){return new jx(e)}static numberOfCopies(e){return new Ax(e)}static openAction(e){return new Sx(e)}static output(e){return new qx(e)}static outputBin(e){return new _x(e)}static outputXSL(e){return new Ix(e)}static overprint(e){return new Cx(e)}static packets(e){return new Tx(e)}static pageOffset(e){return new Ex(e)}static pageRange(e){return new Rx(e)}static pagination(e){return new Fx(e)}static paginationOverride(e){return new Ox(e)}static part(e){return new Mx(e)}static pcl(e){return new Px(e)}static pdf(e){return new Bx(e)}static pdfa(e){return new Dx(e)}static permissions(e){return new Nx(e)}static pickTrayByPDFSize(e){return new Hx(e)}static picture(e){return new Lx(e)}static plaintextMetadata(e){return new zx(e)}static presence(e){return new Ux(e)}static present(e){return new Gx(e)}static print(e){return new Wx(e)}static printHighQuality(e){return new $x(e)}static printScaling(e){return new Vx(e)}static printerName(e){return new Kx(e)}static producer(e){return new Xx(e)}static ps(e){return new Yx(e)}static range(e){return new Jx(e)}static record(e){return new Qx(e)}static relevant(e){return new Zx(e)}static rename(e){return new e2(e)}static renderPolicy(e){return new t2(e)}static runScripts(e){return new n2(e)}static script(e){return new s2(e)}static scriptModel(e){return new i2(e)}static severity(e){return new r2(e)}static silentPrint(e){return new a2(e)}static staple(e){return new o2(e)}static startNode(e){return new l2(e)}static startPage(e){return new c2(e)}static submitFormat(e){return new f2(e)}static submitUrl(e){return new h2(e)}static subsetBelow(e){return new u2(e)}static suppressBanner(e){return new d2(e)}static tagged(e){return new p2(e)}static template(e){return new m2(e)}static templateCache(e){return new w2(e)}static threshold(e){return new g2(e)}static to(e){return new b2(e)}static trace(e){return new x2(e)}static transform(e){return new v2(e)}static type(e){return new y2(e)}static uri(e){return new k2(e)}static validate(e){return new j2(e)}static validateApprovalSignatures(e){return new A2(e)}static validationMessaging(e){return new S2(e)}static version(e){return new q2(e)}static versionControl(e){return new _2(e)}static viewerPreferences(e){return new I2(e)}static webClient(e){return new C2(e)}static whitespace(e){return new T2(e)}static window(e){return new E2(e)}static xdc(e){return new R2(e)}static xdp(e){return new F2(e)}static xsl(e){return new O2(e)}static zpl(e){return new M2(e)}},li=Cn.connectionSet.id,B2=class extends oe{constructor(e){super(li,\"connectionSet\",!0),this.wsdlConnection=new U,this.xmlConnection=new U,this.xsdConnection=new U}},D2=class extends oe{constructor(e){super(li,\"effectiveInputPolicy\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},N2=class extends oe{constructor(e){super(li,\"effectiveOutputPolicy\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},H2=class extends ht{constructor(e){super(li,\"operation\"),this.id=e.id||\"\",this.input=e.input||\"\",this.name=e.name||\"\",this.output=e.output||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},L2=class extends ht{constructor(e){super(li,\"rootElement\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},z2=class extends ht{constructor(e){super(li,\"soapAction\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},U2=class extends ht{constructor(e){super(li,\"soapAddress\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},G2=class extends ht{constructor(e){super(li,\"uri\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},W2=class extends ht{constructor(e){super(li,\"wsdlAddress\"),this.id=e.id||\"\",this.name=e.name||\"\",this.use=e.use||\"\",this.usehref=e.usehref||\"\"}},$2=class extends oe{constructor(e){super(li,\"wsdlConnection\",!0),this.dataDescription=e.dataDescription||\"\",this.name=e.name||\"\",this.effectiveInputPolicy=null,this.effectiveOutputPolicy=null,this.operation=null,this.soapAction=null,this.soapAddress=null,this.wsdlAddress=null}},V2=class extends oe{constructor(e){super(li,\"xmlConnection\",!0),this.dataDescription=e.dataDescription||\"\",this.name=e.name||\"\",this.uri=null}},K2=class extends oe{constructor(e){super(li,\"xsdConnection\",!0),this.dataDescription=e.dataDescription||\"\",this.name=e.name||\"\",this.rootElement=null,this.uri=null}},X2=class n{static[Ai](e,t){return Object.hasOwn(n,e)?n[e](t):void 0}static connectionSet(e){return new B2(e)}static effectiveInputPolicy(e){return new D2(e)}static effectiveOutputPolicy(e){return new N2(e)}static operation(e){return new H2(e)}static rootElement(e){return new L2(e)}static soapAction(e){return new z2(e)}static soapAddress(e){return new U2(e)}static uri(e){return new G2(e)}static wsdlAddress(e){return new W2(e)}static wsdlConnection(e){return new $2(e)}static xmlConnection(e){return new V2(e)}static xsdConnection(e){return new K2(e)}},Y2=Cn.datasets.id,J2=class extends ur{constructor(e){super(Y2,\"data\",e)}[ic](){return!0}},Q2=class extends oe{constructor(e){super(Y2,\"datasets\",!0),this.data=null,this.Signature=null}[Li](e){let t=e[At];(t===\"data\"&&e[mn]===Y2||t===\"Signature\"&&e[mn]===Cn.signature.id)&&(this[t]=e),this[an](e)}},Z2=class n{static[Ai](e,t){return Object.hasOwn(n,e)?n[e](t):void 0}static datasets(e){return new Q2(e)}static data(e){return new J2(e)}},ln=Cn.localeSet.id,e9=class extends oe{constructor(e){super(ln,\"calendarSymbols\",!0),this.name=\"gregorian\",this.dayNames=new U(2),this.eraNames=null,this.meridiemNames=null,this.monthNames=new U(2)}},t9=class extends ht{constructor(e){super(ln,\"currencySymbol\"),this.name=be(e.name,[\"symbol\",\"isoname\",\"decimal\"])}},n9=class extends oe{constructor(e){super(ln,\"currencySymbols\",!0),this.currencySymbol=new U(3)}},s9=class extends ht{constructor(e){super(ln,\"datePattern\"),this.name=be(e.name,[\"full\",\"long\",\"med\",\"short\"])}},i9=class extends oe{constructor(e){super(ln,\"datePatterns\",!0),this.datePattern=new U(4)}},r9=class extends Zt{constructor(e){super(ln,\"dateTimeSymbols\")}},a9=class extends ht{constructor(e){super(ln,\"day\")}},o9=class extends oe{constructor(e){super(ln,\"dayNames\",!0),this.abbr=nt({data:e.abbr,defaultValue:0,validate:t=>t===1}),this.day=new U(7)}},l9=class extends ht{constructor(e){super(ln,\"era\")}},c9=class extends oe{constructor(e){super(ln,\"eraNames\",!0),this.era=new U(2)}},f9=class extends oe{constructor(e){super(ln,\"locale\",!0),this.desc=e.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}},h9=class extends oe{constructor(e){super(ln,\"localeSet\",!0),this.locale=new U}},u9=class extends ht{constructor(e){super(ln,\"meridiem\")}},d9=class extends oe{constructor(e){super(ln,\"meridiemNames\",!0),this.meridiem=new U(2)}},p9=class extends ht{constructor(e){super(ln,\"month\")}},m9=class extends oe{constructor(e){super(ln,\"monthNames\",!0),this.abbr=nt({data:e.abbr,defaultValue:0,validate:t=>t===1}),this.month=new U(12)}},g9=class extends ht{constructor(e){super(ln,\"numberPattern\"),this.name=be(e.name,[\"full\",\"long\",\"med\",\"short\"])}},b9=class extends oe{constructor(e){super(ln,\"numberPatterns\",!0),this.numberPattern=new U(4)}},w9=class extends ht{constructor(e){super(ln,\"numberSymbol\"),this.name=be(e.name,[\"decimal\",\"grouping\",\"percent\",\"minus\",\"zero\"])}},x9=class extends oe{constructor(e){super(ln,\"numberSymbols\",!0),this.numberSymbol=new U(5)}},v9=class extends ht{constructor(e){super(ln,\"timePattern\"),this.name=be(e.name,[\"full\",\"long\",\"med\",\"short\"])}},y9=class extends oe{constructor(e){super(ln,\"timePatterns\",!0),this.timePattern=new U(4)}},k9=class extends oe{constructor(e){super(ln,\"typeFace\",!0),this.name=e.name|\"\"}},j9=class extends oe{constructor(e){super(ln,\"typeFaces\",!0),this.typeFace=new U}},A9=class n{static[Ai](e,t){return Object.hasOwn(n,e)?n[e](t):void 0}static calendarSymbols(e){return new e9(e)}static currencySymbol(e){return new t9(e)}static currencySymbols(e){return new n9(e)}static datePattern(e){return new s9(e)}static datePatterns(e){return new i9(e)}static dateTimeSymbols(e){return new r9(e)}static day(e){return new a9(e)}static dayNames(e){return new o9(e)}static era(e){return new l9(e)}static eraNames(e){return new c9(e)}static locale(e){return new f9(e)}static localeSet(e){return new h9(e)}static meridiem(e){return new u9(e)}static meridiemNames(e){return new d9(e)}static month(e){return new p9(e)}static monthNames(e){return new m9(e)}static numberPattern(e){return new g9(e)}static numberPatterns(e){return new b9(e)}static numberSymbol(e){return new w9(e)}static numberSymbols(e){return new x9(e)}static timePattern(e){return new v9(e)}static timePatterns(e){return new y9(e)}static typeFace(e){return new k9(e)}static typeFaces(e){return new j9(e)}},QI=Cn.signature.id,S9=class extends oe{constructor(e){super(QI,\"signature\",!0)}},q9=class n{static[Ai](e,t){return Object.hasOwn(n,e)?n[e](t):void 0}static signature(e){return new S9(e)}},ZI=Cn.stylesheet.id,_9=class extends oe{constructor(e){super(ZI,\"stylesheet\",!0)}},I9=class n{static[Ai](e,t){return Object.hasOwn(n,e)?n[e](t):void 0}static stylesheet(e){return new _9(e)}},eC=Cn.xdp.id,C9=class extends oe{constructor(e){super(eC,\"xdp\",!0),this.uuid=e.uuid||\"\",this.timeStamp=e.timeStamp||\"\",this.config=null,this.connectionSet=null,this.datasets=null,this.localeSet=null,this.stylesheet=new U,this.template=null}[wg](e){let t=Cn[e[At]];return t&&e[mn]===t.id}},T9=class n{static[Ai](e,t){return Object.hasOwn(n,e)?n[e](t):void 0}static xdp(e){return new C9(e)}},tC=Cn.xhtml.id,D0=Symbol(),nC=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\"]),sC=new Map([[\"page-break-after\",\"breakAfter\"],[\"page-break-before\",\"breakBefore\"],[\"page-break-inside\",\"breakInside\"],[\"kerning-mode\",n=>n===\"none\"?\"none\":\"normal\"],[\"xfa-font-horizontal-scale\",n=>`scaleX(${Math.max(0,parseInt(n,10)/100).toFixed(2)})`],[\"xfa-font-vertical-scale\",n=>`scaleY(${Math.max(0,parseInt(n,10)/100).toFixed(2)})`],[\"xfa-spacerun\",\"\"],[\"xfa-tab-stops\",\"\"],[\"font-size\",(n,e)=>(n=e.fontSize=Math.abs(Pe(n)),tt(.99*n))],[\"letter-spacing\",n=>tt(Pe(n))],[\"line-height\",n=>tt(Pe(n))],[\"margin\",n=>tt(Pe(n))],[\"margin-bottom\",n=>tt(Pe(n))],[\"margin-left\",n=>tt(Pe(n))],[\"margin-right\",n=>tt(Pe(n))],[\"margin-top\",n=>tt(Pe(n))],[\"text-indent\",n=>tt(Pe(n))],[\"font-family\",n=>n],[\"vertical-align\",n=>tt(Pe(n))]]),iC=/\\s+/g,rC=/[\\r\\n]+/g,aC=/\\r\\n?/g;function oC(n,e,t){let s=Object.create(null);if(!n)return s;let i=Object.create(null);for(let[r,a]of n.split(\";\").map(o=>o.split(\":\",2))){let o=sC.get(r);if(o===\"\")continue;let l=a;o&&(l=typeof o==\"string\"?o:o(a,i)),r.endsWith(\"scale\")?s.transform=s.transform?`${s[r]} ${l}`:l:s[r.replaceAll(/-([a-z])/gi,(c,f)=>f.toUpperCase())]=l}if(s.fontFamily&&O4({typeface:s.fontFamily,weight:s.fontWeight||\"normal\",posture:s.fontStyle||\"normal\",size:i.fontSize||0},e,e[Pt].fontFinder,s),t&&s.verticalAlign&&s.verticalAlign!==\"0px\"&&s.fontSize){let o=Pe(s.fontSize);s.fontSize=tt(o*.583),s.verticalAlign=tt(Math.sign(Pe(s.verticalAlign))*o*.333)}return t&&s.fontSize&&(s.fontSize=`calc(${s.fontSize} * var(--total-scale-factor))`),E4(s),s}function lC(n){return n.style?n.style.split(\";\").filter(e=>!!e.trim()).map(e=>e.split(\":\",2).map(t=>t.trim())).filter(([e,t])=>(e===\"font-family\"&&n[Pt].usedTypefaces.add(t),nC.has(e))).map(e=>e.join(\":\")).join(\";\"):\"\"}var cC=new Set([\"body\",\"html\"]),bs=class extends ur{constructor(e,t){super(tC,t),this[D0]=!1,this.style=e.style||\"\"}[ai](e){super[ai](e),this.style=lC(this)}[Eu](){return!cC.has(this[At])}[hr](e,t=!1){t?this[D0]=!0:(e=e.replaceAll(rC,\"\"),this.style.includes(\"xfa-spacerun:yes\")||(e=e.replaceAll(iC,\" \"))),e&&(this[pe]+=e)}[Gi](e,t=!0){let s=Object.create(null),i={top:NaN,bottom:NaN,left:NaN,right:NaN},r=null;for(let[a,o]of this.style.split(\";\").map(l=>l.split(\":\",2)))switch(a){case\"font-family\":s.typeface=Fu(o);break;case\"font-size\":s.size=Pe(o);break;case\"font-weight\":s.weight=o;break;case\"font-style\":s.posture=o;break;case\"letter-spacing\":s.letterSpacing=Pe(o);break;case\"margin\":let l=o.split(/ \\t/).map(Pe);switch(l.length){case 1:i.top=i.bottom=i.left=i.right=l[0];break;case 2:i.top=i.bottom=l[0],i.left=i.right=l[1];break;case 3:i.top=l[0],i.bottom=l[2],i.left=i.right=l[1];break;case 4:i.top=l[0],i.left=l[1],i.bottom=l[2],i.right=l[3];break}break;case\"margin-top\":i.top=Pe(o);break;case\"margin-bottom\":i.bottom=Pe(o);break;case\"margin-left\":i.left=Pe(o);break;case\"margin-right\":i.right=Pe(o);break;case\"line-height\":r=Pe(o);break}if(e.pushData(s,i,r),this[pe])e.addString(this[pe]);else for(let a of this[ss]()){if(a[At]===\"#text\"){e.addString(a[pe]);continue}a[Gi](e)}t&&e.popFont()}[Je](e){let t=[];if(this[ne]={children:t},this[Pr]({}),t.length===0&&!this[pe])return We.EMPTY;let s;return this[D0]?s=this[pe]?this[pe].replaceAll(aC,`\n`):void 0:s=this[pe]||void 0,We.success({name:this[At],attributes:{href:this.href,style:oC(this.style,this,this[D0])},children:t,value:s})}},E9=class extends bs{constructor(e){super(e,\"a\"),this.href=M4(e.href)||\"\"}},R9=class extends bs{constructor(e){super(e,\"b\")}[Gi](e){e.pushFont({weight:\"bold\"}),super[Gi](e),e.popFont()}},F9=class extends bs{constructor(e){super(e,\"body\")}[Je](e){let t=super[Je](e),{html:s}=t;return s?(s.name=\"div\",s.attributes.class=[\"xfaRich\"],t):We.EMPTY}},O9=class extends bs{constructor(e){super(e,\"br\")}[In](){return`\n`}[Gi](e){e.addString(`\n`)}[Je](e){return We.success({name:\"br\"})}},M9=class extends bs{constructor(e){super(e,\"html\")}[Je](e){let t=[];if(this[ne]={children:t},this[Pr]({}),t.length===0)return We.success({name:\"div\",attributes:{class:[\"xfaRich\"],style:{}},value:this[pe]||\"\"});if(t.length===1){let s=t[0];if(s.attributes?.class.includes(\"xfaRich\"))return We.success(s)}return We.success({name:\"div\",attributes:{class:[\"xfaRich\"],style:{}},children:t})}},P9=class extends bs{constructor(e){super(e,\"i\")}[Gi](e){e.pushFont({posture:\"italic\"}),super[Gi](e),e.popFont()}},B9=class extends bs{constructor(e){super(e,\"li\")}},D9=class extends bs{constructor(e){super(e,\"ol\")}},N9=class extends bs{constructor(e){super(e,\"p\")}[Gi](e){super[Gi](e,!1),e.addString(`\n`),e.addPara(),e.popFont()}[In](){return this[rt]()[ss]().at(-1)===this?super[In]():super[In]()+`\n`}},H9=class extends bs{constructor(e){super(e,\"span\")}},L9=class extends bs{constructor(e){super(e,\"sub\")}},z9=class extends bs{constructor(e){super(e,\"sup\")}},U9=class extends bs{constructor(e){super(e,\"ul\")}},Gc=class n{static[Ai](e,t){return Object.hasOwn(n,e)?n[e](t):void 0}static a(e){return new E9(e)}static b(e){return new R9(e)}static body(e){return new F9(e)}static br(e){return new O9(e)}static html(e){return new M9(e)}static i(e){return new P9(e)}static li(e){return new B9(e)}static ol(e){return new D9(e)}static p(e){return new N9(e)}static span(e){return new H9(e)}static sub(e){return new L9(e)}static sup(e){return new z9(e)}static ul(e){return new U9(e)}},Yy={config:P2,connection:X2,datasets:Z2,localeSet:A9,signature:q9,stylesheet:I9,template:nw,xdp:T9,xhtml:Gc},nu=class{constructor(e){this.namespaceId=e}[Ai](e,t){return new ur(this.namespaceId,e,t)}},G9=class extends oe{constructor(e){super(-1,\"root\",Object.create(null)),this.element=null,this[yo]=e}[Li](e){return this.element=e,!0}[Bt](){super[Bt](),this.element.template instanceof Lc&&(this[yo].set(k4,this.element),this.element.template[$l](this[yo]),this.element.template[yo]=this[yo])}},W9=class extends oe{constructor(){super(-1,\"\",Object.create(null))}[Li](e){return!1}},$9=class{constructor(e=null){this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max(...Object.values(Cn).map(({id:t})=>t)),this._currentNamespace=e||new nu(++this._nextNsId)}buildRoot(e){return new G9(e)}build({nsPrefix:e,name:t,attributes:s,namespace:i,prefixes:r}){let a=i!==null;if(a&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(i)),r&&this._addNamespacePrefix(r),Object.hasOwn(s,ga)){let c=Yy.datasets,f=s[ga],h=null;for(let[u,d]of Object.entries(f))if(this._getNamespaceToUse(u)===c){h={xfa:d};break}h?s[ga]=h:delete s[ga]}let l=this._getNamespaceToUse(e)?.[Ai](t,s)||new W9;return l[ic]()&&this._nsAgnosticLevel++,(a||r||l[ic]())&&(l[$0]={hasNamespace:a,prefixes:r,nsAgnostic:l[ic]()}),l}isNsAgnostic(){return this._nsAgnosticLevel>0}_searchNamespace(e){let t=this._namespaces.get(e);if(t)return t;for(let[s,{check:i}]of Object.entries(Cn))if(i(e)){if(t=Yy[s],t)return this._namespaces.set(e,t),t;break}return t=new nu(++this._nextNsId),this._namespaces.set(e,t),t}_addNamespacePrefix(e){for(let{prefix:t,value:s}of e){let i=this._searchNamespace(s);this._namespacePrefixes.getOrInsertComputed(t,Hi).push(i)}}_getNamespaceToUse(e){if(!e)return this._currentNamespace;let t=this._namespacePrefixes.get(e);return t?.length>0?t.at(-1):(B(`Unknown namespace prefix: ${e}.`),null)}clean(e){let{hasNamespace:t,prefixes:s,nsAgnostic:i}=e;t&&(this._currentNamespace=this._namespaceStack.pop()),s?.forEach(({prefix:r})=>{this._namespacePrefixes.get(r).pop()}),i&&this._nsAgnosticLevel--}},su=class n extends Oh{constructor(e=null,t=!1){super(),this._builder=new $9(e),this._stack=[],this._globalData={usedTypefaces:new Set},this._ids=new Map,this._current=this._builder.buildRoot(this._ids),this._errorCode=qs.NoError,this._whiteRegex=/^\\s+$/,this._nbsps=/\\xa0+/g,this._richText=t}parse(e){if(this.parseXml(e),this._errorCode===qs.NoError)return this._current[Bt](),this._current.element}onText(e){if(e=e.replace(this._nbsps,t=>t.slice(1)+\" \"),this._richText||this._current[Eu]()){this._current[hr](e,this._richText);return}this._whiteRegex.test(e)||this._current[hr](e.trim())}onCdata(e){this._current[hr](e)}_mkAttributes(e,t){let s=null,i=null,r=Object.create({});for(let{name:a,value:o}of e)if(a===\"xmlns\")s?B(`XFA - multiple namespace definition in <${t}>`):s=o;else if(a.startsWith(\"xmlns:\")){let l=a.substring(6);i??=[],i.push({prefix:l,value:o})}else{let l=a.indexOf(\":\");if(l===-1)r[a]=o;else{let c=r[ga]??=Object.create(null),[f,h]=[a.slice(0,l),a.slice(l+1)],u=c[f]||=Object.create(null);u[h]=o}}return[s,i,r]}_getNameAndPrefix(e,t){let s=e.indexOf(\":\");return s===-1?[e,null]:[e.substring(s+1),t?\"\":e.substring(0,s)]}onBeginElement(e,t,s){let[i,r,a]=this._mkAttributes(t,e),[o,l]=this._getNameAndPrefix(e,this._builder.isNsAgnostic()),c=this._builder.build({nsPrefix:l,name:o,attributes:a,namespace:i,prefixes:r});if(c[Pt]=this._globalData,s){c[Bt](),this._current[Li](c)&&c[xg](this._ids),c[ai](this._builder);return}this._stack.push(this._current),this._current=c}onEndElement(e){let t=this._current;if(t[uv]()&&typeof t[pe]==\"string\"){let s=new n;s._globalData=this._globalData;let i=s.parse(t[pe]);t[pe]=null,t[Li](i)}t[Bt](),this._current=this._stack.pop(),this._current[Li](t)&&t[xg](this._ids),t[ai](this._builder)}onError(e){this._errorCode=e}},Wc=class n{constructor(e){try{this.root=new su().parse(n._createDocument(e));let t=new sw(this.root);this.form=t.bind(),this.dataHandler=new iw(this.root,t.getData()),this.form[Pt].template=this.form}catch(t){B(`XFA - an error occurred during parsing and binding: ${t}`)}}isValid(){return!!(this.root&&this.form)}_createPagesHelper(){let e=this.form[A4]();return new Promise((t,s)=>{let i=()=>{try{let r=e.next();r.done?t(r.value):setTimeout(i,0)}catch(r){s(r)}};setTimeout(i,0)})}async _createPages(){try{this.pages=await this._createPagesHelper(),this.dims=this.pages.children.map(e=>{let{width:t,height:s}=e.attributes.style;return[0,0,parseInt(t,10),parseInt(s,10)]})}catch(e){B(`XFA - an error occurred during layout: ${e}`)}}getBoundingBox(e){return this.dims[e]}async getNumPages(){return this.pages||await this._createPages(),this.dims.length}setImages(e){this.form[Pt].images=e}setFonts(e){this.form[Pt].fontFinder=new vg(e);let t=[];for(let s of this.form[Pt].usedTypefaces)s=Fu(s),this.form[Pt].fontFinder.find(s)||t.push(s);return t.length>0?t:null}appendFonts(e,t){this.form[Pt].fontFinder.add(e,t)}async getPages(){this.pages||await this._createPages();let e=this.pages;return this.pages=null,e}serializeData(e){return this.dataHandler.serialize(e)}static _createDocument(e){return e.get(\"/xdp:xdp\")?e.values().join(\"\"):e.get(\"xdp:xdp\")}static getRichTextAsHtml(e){if(!e||typeof e!=\"string\")return null;try{let t=new su(Gc,!0).parse(e);if(![\"body\",\"xhtml\"].includes(t[At])){let a=Gc.body({});a[an](t),t=a}let s=t[Je]();if(!s.success)return null;let{html:i}=s,{attributes:r}=i;return r&&(r.class&&=r.class.filter(a=>!a.startsWith(\"xfa\")),r.dir=\"auto\"),{html:i,str:t[In]()}}catch(t){B(`XFA - an error occurred during parsing of rich text: ${t}`)}return null}},Us=class{static createGlobals(e){return Promise.all([e.ensureCatalog(\"acroForm\"),e.ensureDoc(\"xfaDatasets\"),e.ensureCatalog(\"structTreeRoot\"),e.ensureCatalog(\"baseUrl\"),e.ensureCatalog(\"attachments\"),e.ensureCatalog(\"globalColorSpaceCache\")]).then(([t,s,i,r,a,o])=>({pdfManager:e,catalog:e.pdfDocument.catalog,acroForm:t instanceof P?t:P.empty,xfaDatasets:s,structTreeRoot:i,baseUrl:r,attachments:a,globalColorSpaceCache:o}),t=>(B(`createGlobals: \"${t}\".`),null))}static async create(e,t,s,i,r,a,o,l){let c=r?await this._getPageIndex(e,t,s.pdfManager):null;return s.pdfManager.ensure(this,\"_create\",[e,t,s,i,r,a,o,c,l])}static _create(e,t,s,i,r=!1,a=null,o=null,l=null,c=null){let f=e.fetchIfRef(t);if(!(f instanceof P))return;let h=f.get(\"Subtype\");if(h=h instanceof ce?h.name:null,o&&!o.has(F8[h?.toUpperCase()]))return null;let{acroForm:u,pdfManager:d}=s,p=t instanceof fe?t.toString():`annot_${i.createObjId()}`,m={xref:e,ref:t,dict:f,subtype:h,id:p,annotationGlobals:s,collectFields:r,orphanFields:a,needAppearances:!r&&u.get(\"NeedAppearances\")===!0,pageIndex:l,evaluatorOptions:d.evaluatorOptions,pageRef:c};switch(h){case\"Link\":return new e3(m);case\"Text\":return new Z9(m);case\"Widget\":let g=Gn({dict:f,key:\"FT\"});switch(g=g instanceof ce?g.name:null,g){case\"Tx\":return new Y9(m);case\"Btn\":return new J9(m);case\"Ch\":return new Q9(m);case\"Sig\":return new iu(m)}return B(`Unimplemented widget field type \"${g}\", falling back to base field type.`),new Wi(m);case\"Popup\":return new $c(m);case\"FreeText\":return new ac(m);case\"Line\":return new t3(m);case\"Square\":return new n3(m);case\"Circle\":return new s3(m);case\"PolyLine\":return new ru(m);case\"Polygon\":return new au(m);case\"Caret\":return new i3(m);case\"Ink\":return new ha(m);case\"Highlight\":return new oc(m);case\"Underline\":return new r3(m);case\"Squiggly\":return new a3(m);case\"StrikeOut\":return new o3(m);case\"Stamp\":return new ua(m);case\"FileAttachment\":return new l3(m);case\"RichMedia\":return new c3(m);case\"Screen\":return new f3(m);case\"Sound\":return new h3(m);default:return r||B(h?`Unimplemented annotation type \"${h}\", falling back to base annotation.`:\"Annotation is missing the required /Subtype.\"),new Dr(m)}}static async _getPageIndex(e,t,s){try{let i=await e.fetchIfRefAsync(t);if(!(i instanceof P))return-1;let r=i.getRaw(\"P\");if(r instanceof fe)try{return await s.ensureCatalog(\"getPageIndex\",[r])}catch(o){kt(`_getPageIndex -- not a valid page reference: \"${o}\".`)}if(i.has(\"Kids\"))return-1;let a=await s.ensureDoc(\"numPages\");for(let o=0;o<a;o++){let l=await s.getPage(o),c=await s.ensure(l,\"annotations\");for(let f of c)if(f instanceof fe&&Eo(f,t))return o}}catch(i){B(`_getPageIndex: \"${i}\".`)}return-1}static generateImages(e,t,s){if(!s)return B(\"generateImages: OffscreenCanvas is not supported, cannot save or print some annotations with images.\"),null;let i;for(let{bitmapId:r,bitmap:a}of e)a&&(i||=new Map,i.set(r,v4(a,t)));return i}static getPrintData(e){throw new Error(\"Not implemented: getPrintData\")}static async saveNewAnnotations(e,t,s,i,r,a){let o,l=[],{isOffscreenCanvasSupported:c}=e.options;for(let f of i)if(!f.deleted)switch(f.annotationType){case Fi.FREETEXT:if(!f.appearanceRef&&!o){let u=new P(t);u.setIfName(\"BaseFont\",\"Helvetica\"),u.setIfName(\"Type\",\"Font\"),u.setIfName(\"Subtype\",\"Type1\"),u.setIfName(\"Encoding\",\"WinAnsiEncoding\"),o=t.getNewTemporaryRef(),a.put(o,{data:u})}l.push(ac.createNewAnnotation(t,f,a,{evaluator:e,task:s,baseFontRef:o}));break;case Fi.HIGHLIGHT:f.quadPoints?l.push(oc.createNewAnnotation(t,f,a)):l.push(ha.createNewAnnotation(t,f,a));break;case Fi.INK:l.push(ha.createNewAnnotation(t,f,a));break;case Fi.STAMP:let h=c?await r?.get(f.bitmapId):null;if(h?.imageStream){let{imageStream:u,smaskStream:d}=h;if(d){let m=t.getNewTemporaryRef();a.put(m,{data:d}),u.dict.set(\"SMask\",m)}let p=h.imageRef=t.getNewTemporaryRef();a.put(p,{data:u}),h.imageStream=null,h.imageRenderStream=null,h.smaskStream=null,h.smaskRenderStream=null}l.push(ua.createNewAnnotation(t,f,a,{image:h}));break;case Fi.SIGNATURE:l.push(ua.createNewAnnotation(t,f,a,{}));break}return{annotations:(await Promise.all(l)).flat()}}static async printNewAnnotations(e,t,s,i,r){if(!i)return null;let{options:a,xref:o}=t,l=[];for(let c of i)if(!c.deleted)switch(c.annotationType){case Fi.FREETEXT:l.push(ac.createNewPrintAnnotation(e,o,c,{evaluator:t,task:s,evaluatorOptions:a}));break;case Fi.HIGHLIGHT:c.quadPoints?l.push(oc.createNewPrintAnnotation(e,o,c,{evaluatorOptions:a})):l.push(ha.createNewPrintAnnotation(e,o,c,{evaluatorOptions:a}));break;case Fi.INK:l.push(ha.createNewPrintAnnotation(e,o,c,{evaluatorOptions:a}));break;case Fi.STAMP:let f=a.isOffscreenCanvasSupported?await r?.get(c.bitmapId):null;if(f?.imageStream){let{imageStream:h,imageRenderStream:u,smaskStream:d,smaskRenderStream:p}=f,m=u||new Ro(h,h.length);(d||p)&&m.dict.set(\"SMask\",p||d),f.imageRef=m,f.imageStream=null,f.imageRenderStream=null,f.smaskStream=null,f.smaskRenderStream=null}l.push(ua.createNewPrintAnnotation(e,o,c,{image:f,evaluatorOptions:a}));break;case Fi.SIGNATURE:l.push(ua.createNewPrintAnnotation(e,o,c,{evaluatorOptions:a}));break}return Promise.all(l)}};function Aa(n,e=new Uint8ClampedArray(3)){if(!Array.isArray(n))return e;let t=e||new Uint8ClampedArray(3);switch(n.length){case 0:return null;case 1:return bt.gray.getRgbItem(n,0,t,0),t;case 3:return bt.rgb.getRgbItem(n,0,t,0),t;case 4:return bt.cmyk.getRgbItem(n,0,t,0),t;default:return e}}function Jn(n,e=null){return n&&Array.from(n,t=>t/255)||e}function sf(n,e){let t=n.getArray(\"QuadPoints\");if(!tn(t,null)||t.length===0||t.length%8>0)return null;let s=new Float32Array(t.length);for(let i=0,r=t.length;i<r;i+=8){let[a,o,l,c,f,h,u,d]=t.slice(i,i+8),p=Math.min(a,l,f,u),m=Math.max(a,l,f,u),g=Math.min(o,c,h,d),b=Math.max(o,c,h,d);if(e!==null&&(p<e[0]||m>e[2]||g<e[1]||b>e[3]))return null;s.set([p,b,m,b,p,g,m,g],i)}return s}function V9(n,e,t){let s=K0.slice();ft.axialAlignedBoundingBox(e,t,s);let[i,r,a,o]=s;if(i===a||r===o)return[1,0,0,1,n[0],n[1]];let l=(n[2]-n[0])/(a-i),c=(n[3]-n[1])/(o-r);return[l,0,0,c,n[0]-i*l,n[1]-r*c]}function K9(n,e,t=!1){e.push(`${_t(n[4])} ${_t(n[5])} m`);for(let s=6,i=n.length;s<i;s+=6)if(isNaN(n[s]))e.push(`${_t(n[s+4])} ${_t(n[s+5])} l`);else{let r=n.slice(s,s+6);e.push(`${r.map(_t).join(\" \")} c`)}t&&n.length===6&&e.push(`${_t(n[4])} ${_t(n[5])} l`)}var Dr=class{appearance=null;_oc=void 0;constructor(e){let{annotationGlobals:t,dict:s,orphanFields:i,ref:r,subtype:a,xref:o}=e,l=i?.get(r);l&&s.set(\"Parent\",l),this.setTitle(s.get(\"T\")),this.setContents(s.get(\"Contents\")),this.setModificationDate(s.get(\"M\")),this.setFlags(s.get(\"F\")),this.setRectangle(s.getArray(\"Rect\")),this.setColor(s.getArray(\"C\")),this.setBorderStyle(s),this.setAppearance(s),this.#e(o,s);let c=s.get(\"MK\");this.setBorderAndBackgroundColors(c),this.setRotation(c,s),this.ref=e.ref instanceof fe?e.ref:null,this._streams=[],this.appearance&&this._streams.push(this.appearance);let f=!!(this.flags&$t.LOCKED),h=!!(this.flags&$t.LOCKEDCONTENTS);if(this.data={annotationType:F8[a?.toUpperCase()],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:e.id,modificationDate:this.modificationDate,oc:this._oc,rect:this.rectangle,subtype:a,hasOwnCanvas:!1,noRotate:!!(this.flags&$t.NOROTATE),noHTML:f&&h,isEditable:!1,structParent:-1},t.structTreeRoot){let d=s.get(\"StructParent\");this.data.structParent=d=Number.isInteger(d)&&d>=0?d:-1,t.structTreeRoot.addAnnotationIdToPage(e.pageRef,d,this.ref)}if(e.collectFields){let d=s.get(\"Kids\");if(Array.isArray(d)){let p=[];for(let m of d)m instanceof fe&&p.push(m.toString());p.length!==0&&(this.data.kidIds=p)}this.data.actions=_u(o,s,O8),this.data.fieldName=this._constructFieldName(s),this.data.pageIndex=e.pageIndex}let u=s.get(\"IT\");u instanceof ce&&(this.data.it=u.name),this._isOffscreenCanvasSupported=e.evaluatorOptions.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}_getOperatorListNoAppearance(){return{opList:new Gs,separateForm:!1,separateCanvas:!1}}_hasFlag(e,t){return!!(e&t)}_buildFlags(e,t){let{flags:s}=this;return e===void 0?t===void 0?void 0:t?s&~$t.PRINT:s&~$t.HIDDEN|$t.PRINT:e?(s|=$t.PRINT,t?s&~$t.NOVIEW|$t.HIDDEN:s&~$t.HIDDEN|$t.NOVIEW):(s&=~($t.HIDDEN|$t.NOVIEW),t?s&~$t.PRINT:s|$t.PRINT)}_isViewable(e){return!this._hasFlag(e,$t.INVISIBLE)&&!this._hasFlag(e,$t.NOVIEW)}_isPrintable(e){return this._hasFlag(e,$t.PRINT)&&!this._hasFlag(e,$t.HIDDEN)&&!this._hasFlag(e,$t.INVISIBLE)}mustBeViewed(e,t){let s=e?.get(this.data.id)?.noView;return s!==void 0?!s:this.viewable&&!this._hasFlag(this.flags,$t.HIDDEN)}mustBePrinted(e){let t=e?.get(this.data.id)?.noPrint;return t!==void 0?!t:this.printable}mustBeViewedWhenEditing(e,t=null){return e?!this.data.isEditable:!t?.has(this.data.id)}get viewable(){return this.data.quadPoints!==null&&(this.flags===0||this._isViewable(this.flags))}get printable(){return this.data.quadPoints!==null&&this.flags!==0&&this._isPrintable(this.flags)}_parseStringHelper(e){let t=typeof e==\"string\"?st(e):\"\",s=t&&lv(t).dir===\"rtl\"?\"rtl\":\"ltr\";return{str:t,dir:s}}setDefaultAppearance(e){let{dict:t,annotationGlobals:s}=e,i=Gn({dict:t,key:\"DA\"})||s.acroForm.get(\"DA\");this._defaultAppearance=typeof i==\"string\"?i:\"\",this.data.defaultAppearanceData=cv(this._defaultAppearance)}setTitle(e){this._title=this._parseStringHelper(e)}setContents(e){this._contents=this._parseStringHelper(e)}setModificationDate(e){this.modificationDate=typeof e==\"string\"?e:null}setFlags(e){this.flags=Number.isInteger(e)&&e>0?e:0,this.flags&$t.INVISIBLE&&this.constructor.name!==\"Annotation\"&&(this.flags^=$t.INVISIBLE)}hasFlag(e){return this._hasFlag(this.flags,e)}setRectangle(e){this.rectangle=Ui(e,[0,0,0,0])}setColor(e){this.color=Aa(e)}setLineEndings(e){if(this.lineEndings=[\"None\",\"None\"],Array.isArray(e)&&e.length===2)for(let t=0;t<2;t++){let s=e[t];if(s instanceof ce)switch(s.name){case\"None\":continue;case\"Square\":case\"Circle\":case\"Diamond\":case\"OpenArrow\":case\"ClosedArrow\":case\"Butt\":case\"ROpenArrow\":case\"RClosedArrow\":case\"Slash\":this.lineEndings[t]=s.name;continue}B(`Ignoring invalid lineEnding: ${s}`)}}setRotation(e,t){this.rotation=0;let s=e instanceof P?e.get(\"R\")||0:t.get(\"Rotate\")||0;Number.isInteger(s)&&s!==0&&(s%=360,s<0&&(s+=360),s%90===0&&(this.rotation=s))}setBorderAndBackgroundColors(e){e instanceof P?(this.borderColor=Aa(e.getArray(\"BC\"),null),this.backgroundColor=Aa(e.getArray(\"BG\"),null)):this.borderColor=this.backgroundColor=null}setBorderStyle(e){if(this.borderStyle=new X9,e instanceof P)if(e.has(\"BS\")){let t=e.get(\"BS\");if(t instanceof P){let s=t.get(\"Type\");(!s||Ke(s,\"Border\"))&&(this.borderStyle.setWidth(t.get(\"W\"),this.rectangle),this.borderStyle.setStyle(t.get(\"S\")),this.borderStyle.setDashArray(t.getArray(\"D\")))}}else if(e.has(\"Border\")){let t=e.getArray(\"Border\");Array.isArray(t)&&(t.length>=3?(this.borderStyle.setHorizontalCornerRadius(t[0]),this.borderStyle.setVerticalCornerRadius(t[1]),this.borderStyle.setWidth(t[2],this.rectangle),t.length===4&&this.borderStyle.setDashArray(t[3],!0)):t.length===0&&this.borderStyle.setWidth(0))}else this.borderStyle.setWidth(0),this._noBorderEntries=!0}setAppearance(e){let t=e.get(\"AP\");if(!(t instanceof P))return;let s=t.get(\"N\");if(s instanceof Xe){this.appearance=s;return}if(!(s instanceof P))return;let i=e.get(\"AS\");if(!(i instanceof ce))return;let r=s.get(i.name);r instanceof Xe&&(this.appearance=r)}#e(e,t){if(t.has(\"OC\"))try{this._oc=b4(e,t.get(\"OC\"),null)}catch(s){if(s instanceof Tt)throw s;B(`#setOptionalContent: ${s}`)}}async loadResources(e,t){let s=await t.dict.getAsync(\"Resources\");return s&&await Bo.load(s,e,s.xref),s}get _ownCanvasRequiresForms(){return!1}async getOperatorList(e,t,s,i){let{hasOwnCanvas:r,id:a,rect:o}=this.data,l=this.appearance,c=!!(r&&s&Un.DISPLAY&&(!this._ownCanvasRequiresForms||s&Un.ANNOTATIONS_FORMS));if(c&&!this._hasCanvasSize)return this.data.hasOwnCanvas=!1,this._getOperatorListNoAppearance();if(!l){if(!c)return this._getOperatorListNoAppearance();l=new Hn(\"\",new P)}let f=l.dict,h=await this.loadResources(Nm,l),u=fc(f.getArray(\"BBox\"),[0,0,this.width,this.height]),d=ar(f.getArray(\"Matrix\"),ri),p=V9(o,u,d),m=new Gs,g=this._oc;return g!==void 0&&m.addOp(F.beginMarkedContentProps,[\"OC\",g]),m.addOp(F.beginAnnotation,[a,o,p,d,c]),await e.getOperatorList({stream:l,task:t,resources:h,operatorList:m,fallbackFontDict:this._fallbackFontDict}),m.addOp(F.endAnnotation,[]),g!==void 0&&m.addOp(F.endMarkedContent,[]),this.reset(),{opList:m,separateForm:!1,separateCanvas:c}}async save(e,t,s,i){return null}get overlaysTextContent(){return!1}get hasTextContent(){return!1}async extractTextContent(e,t,s){if(!this.appearance)return;let i=await this.loadResources(Hm,this.appearance),r=[],a=[],o=1/0,l=1/0,c=null,f={desiredSize:Math.Infinity,ready:!0,enqueue(h,u){for(let d of h.items)d.str!==void 0&&(o=Math.min(o,d.transform[4]),l=Math.min(l,d.transform[5]),a.push(d.str),d.hasEOL&&(r.push(a.join(\"\").trimEnd()),a.length=0))}};if(await e.getTextContent({stream:this.appearance,task:t,resources:i,includeMarkedContent:!0,keepWhiteSpace:!0,sink:f,viewBox:s}),this.reset(),o!==1/0&&(c=[o,l]),a.length&&r.push(a.join(\"\").trimEnd()),r.length>1||r[0]){let h=this.appearance.dict,u=fc(h.getArray(\"BBox\"),null),d=ar(h.getArray(\"Matrix\"),null);this.data.textPosition=this._transformPoint(c,u,d),this.data.textContent=r}}_transformPoint(e,t,s){let{rect:i}=this.data;t||=[0,0,1,1],s||=[1,0,0,1,0,0];let r=V9(i,t,s);r[4]-=i[0],r[5]-=i[1];let a=e.slice();return ft.applyTransform(a,r),ft.applyTransform(a,s),a}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(let e of this._streams)e.reset()}_constructFieldName(e){if(!e.has(\"T\")&&!e.has(\"Parent\"))return B(\"Unknown field name, falling back to empty field name.\"),\"\";if(!e.has(\"Parent\"))return st(e.get(\"T\"));let t=[];e.has(\"T\")&&t.unshift(st(e.get(\"T\")));let s=e,i=new xt;for(e.objId&&i.put(e.objId);s.has(\"Parent\")&&(s=s.get(\"Parent\"),!(!(s instanceof P)||s.objId&&i.has(s.objId)));)s.objId&&i.put(s.objId),s.has(\"T\")&&t.unshift(st(s.get(\"T\")));return t.join(\".\")}_getAttachmentId(e,t,s,i=!1){if(e instanceof P)return t instanceof fe||(t=ps.pickPlatformItem(e.get(\"EF\"),!0)),t instanceof fe?s.catalog.getAttachmentIdForAnnotation(t,i):void 0}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}get _hasCanvasSize(){let{width:e,height:t}=this;return e>0&&t>0&&Number.isFinite(e+t)}},X9=class{width=1;rawWidth=1;style=ao.SOLID;dashArray=[3];horizontalCornerRadius=0;verticalCornerRadius=0;setWidth(e,t=[0,0,0,0]){if(e instanceof ce){this.width=0;return}if(typeof e==\"number\"){if(e>0){this.rawWidth=e;let s=(t[2]-t[0])/2,i=(t[3]-t[1])/2;s>0&&i>0&&(e>s||e>i)&&(B(`AnnotationBorderStyle.setWidth - ignoring width: ${e}`),e=1)}this.width=e}}setStyle(e){if(e instanceof ce)switch(e.name){case\"S\":this.style=ao.SOLID;break;case\"D\":this.style=ao.DASHED;break;case\"B\":this.style=ao.BEVELED;break;case\"I\":this.style=ao.INSET;break;case\"U\":this.style=ao.UNDERLINE;break;default:break}}setDashArray(e,t=!1){if(Array.isArray(e)){let s=!0,i=!0;for(let r of e)if(+r>=0)r>0&&(i=!1);else{s=!1;break}e.length===0||s&&!i?(this.dashArray=e,t&&this.setStyle(ce.get(\"D\"))):this.width=0}else e&&(this.width=0)}setHorizontalCornerRadius(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}setVerticalCornerRadius(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}},is=class extends Dr{constructor(e){super(e);let{dict:t}=e;if(t.has(\"IRT\")){let i=t.getRaw(\"IRT\");this.data.inReplyTo=i instanceof fe?i.toString():null;let r=t.get(\"RT\");this.data.replyType=r instanceof ce?r.name:Om.REPLY}let s=null;if(this.data.replyType===Om.GROUP){let i=t.get(\"IRT\");this.setTitle(i.get(\"T\")),this.data.titleObj=this._title,this.setContents(i.get(\"Contents\")),this.data.contentsObj=this._contents,i.has(\"CreationDate\")?(this.setCreationDate(i.get(\"CreationDate\")),this.data.creationDate=this.creationDate):this.data.creationDate=null,i.has(\"M\")?(this.setModificationDate(i.get(\"M\")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,s=i.getRaw(\"Popup\"),i.has(\"C\")?(this.setColor(i.getArray(\"C\")),this.data.color=this.color):this.data.color=null}else this.data.titleObj=this._title,this.setCreationDate(t.get(\"CreationDate\")),this.data.creationDate=this.creationDate,s=t.getRaw(\"Popup\"),t.has(\"C\")||(this.data.color=null);this.data.popupRef=s instanceof fe?s.toString():null,t.has(\"RC\")&&(this.data.richText=Wc.getRichTextAsHtml(t.get(\"RC\")))}setCreationDate(e){this.creationDate=typeof e==\"string\"?e:null}_setDefaultAppearance({xref:e,extra:t,strokeColor:s,fillColor:i,blendMode:r,strokeAlpha:a,fillAlpha:o,pointsCallback:l}){let c=this.data.rect=dr.slice(),f=[\"q\"];t&&f.push(t),s&&f.push(`${s[0]} ${s[1]} ${s[2]} RG`),i&&f.push(`${i[0]} ${i[1]} ${i[2]} rg`);let h=this.data.quadPoints||Float32Array.from([this.rectangle[0],this.rectangle[3],this.rectangle[2],this.rectangle[3],this.rectangle[0],this.rectangle[1],this.rectangle[2],this.rectangle[1]]);for(let w=0,v=h.length;w<v;w+=8){let k=l(f,h.subarray(w,w+8));ft.rectBoundingBox(...k,c)}f.push(\"Q\");let u=new P(e),d=new P(e);d.setIfName(\"Subtype\",\"Form\");let p=new Hn(f.join(\" \"),d);u.set(\"Fm0\",p);let m=new P(e);r&&m.setIfName(\"BM\",r),m.setIfNumber(\"CA\",a),m.setIfNumber(\"ca\",o);let g=new P(e);g.set(\"GS0\",m);let b=new P(e);b.set(\"ExtGState\",g),b.set(\"XObject\",u);let x=new P(e);x.set(\"Resources\",b),x.set(\"BBox\",c),this.appearance=new Hn(\"/GS0 gs /Fm0 Do\",x),this._streams.push(this.appearance,p)}static async createNewAnnotation(e,t,s,i){let r=t.ref||=e.getNewTemporaryRef(),a=await this.createNewAppearanceStream(t,e,i),o=t.appearanceRef??null;a&&s.put(o=e.getNewTemporaryRef(),{data:a});let l=this.createNewDict(t,e,{apRef:o});Number.isInteger(t.parentTreeId)&&l.set(\"StructParent\",t.parentTreeId),s.put(r,{data:l});let c={ref:r},{popup:f}=t;if(f){if(f.deleted)return l.delete(\"Popup\"),l.delete(\"Contents\"),l.delete(\"RC\"),c;let h=f.ref||=e.getNewTemporaryRef();f.parent=r;let u=$c.createNewDict(f,e);return s.put(h,{data:u}),l.setIfDefined(\"Contents\",Dn(f.contents)),l.set(\"Popup\",h),[c,{ref:h}]}return c}static async createNewPrintAnnotation(e,t,s,i){let r=await this.createNewAppearanceStream(s,t,i),a=this.createNewDict(s,t,r?{ap:r}:{}),o=new this.prototype.constructor({dict:a,xref:t,annotationGlobals:e,evaluatorOptions:i.evaluatorOptions});return s.ref&&(o.ref=o.refToReplace=s.ref),o}},Wi=class n extends Dr{constructor(e){super(e);let{dict:t,xref:s,annotationGlobals:i}=e,r=this.data;this._needAppearances=e.needAppearances,r.fieldName===void 0&&(r.fieldName=this._constructFieldName(t)),r.actions===void 0&&(r.actions=_u(s,t,O8));let a=Gn({dict:t,key:\"V\",getArray:!0});r.fieldValue=this._decodeFormValue(a);let o=Gn({dict:t,key:\"DV\",getArray:!0});if(r.defaultFieldValue=this._decodeFormValue(o),a===void 0&&i.xfaDatasets){let u=this._title.str;u&&(this._hasValueFromXFA=!0,r.fieldValue=a=i.xfaDatasets.getValue(u))}a===void 0&&r.defaultFieldValue!==null&&(r.fieldValue=r.defaultFieldValue),r.alternativeText=st(t.get(\"TU\")||\"\"),this.setDefaultAppearance(e),r.hasAppearance||=this._needAppearances&&r.fieldValue!==void 0&&r.fieldValue!==null;let l=Gn({dict:t,key:\"FT\"});r.fieldType=l instanceof ce?l.name:null;let c=Gn({dict:t,key:\"DR\"}),f=i.acroForm.get(\"DR\"),h=this.appearance?.dict.get(\"Resources\");this._fieldResources={localResources:c,acroFormResources:f,appearanceResources:h,mergedResources:P.merge({xref:s,dictArray:[c,h,f],mergeSubDicts:!0})},r.fieldFlags=Gn({dict:t,key:\"Ff\"}),(!Number.isInteger(r.fieldFlags)||r.fieldFlags<0)&&(r.fieldFlags=0),r.password=this.hasFieldFlag(wi.PASSWORD),r.readOnly=this.hasFieldFlag(wi.READONLY),r.required=this.hasFieldFlag(wi.REQUIRED),r.hidden=this._hasFlag(r.annotationFlags,$t.HIDDEN)||this._hasFlag(r.annotationFlags,$t.NOVIEW)}_decodeFormValue(e){if(Array.isArray(e)){let t=e.map(s=>this._decodeFormValue(s)).filter(s=>s!==null);return t.length>0?t:null}else{if(e instanceof ce)return e.name;if(typeof e==\"string\")return st(e)}return null}hasFieldFlag(e){return!!(this.data.fieldFlags&e)}_isViewable(e){return!0}mustBeViewed(e,t){return t?this.viewable:super.mustBeViewed(e,t)&&!this._hasFlag(this.flags,$t.NOVIEW)}getRotationMatrix(e){let t=e?.get(this.data.id)?.rotation;return t===void 0&&(t=this.rotation),t===0?ri:J0(t,this.width,this.height)}getBorderAndBackgroundAppearances(e,t=!1){let s=e?.get(this.data.id)?.rotation;if(s===void 0&&(s=this.rotation),!this.backgroundColor&&!this.borderColor)return\"\";let[i,r]=s===0||s===180?[this.width,this.height]:[this.height,this.width],a=this.borderColor?this.borderStyle.width||(this._noBorderEntries?1:0):0,o;if(t){let c=(Math.min(i,r)-a)/2,f=c*(4/3)*Math.tan(Math.PI/8),h=i/2,u=r/2,d=(p,m)=>`${_t(p)} ${_t(m)}`;o=`${d(h+c,u)} m ${d(h+c,u+f)} ${d(h+f,u+c)} ${d(h,u+c)} c ${d(h-f,u+c)} ${d(h-c,u+f)} ${d(h-c,u)} c ${d(h-c,u-f)} ${d(h-f,u-c)} ${d(h,u-c)} c ${d(h+f,u-c)} ${d(h+c,u-f)} ${d(h+c,u)} c h`}else o=`0 0 ${i} ${r} re`;let l=\"\";return this.backgroundColor&&(l=`${ki(this.backgroundColor,!0)} ${o} f `),a>0&&(l+=`${a} w ${ki(this.borderColor,!1)} ${o} S `),l}async getOperatorList(e,t,s,i){if(s&Un.ANNOTATIONS_FORMS&&!(this instanceof iu)&&!this.data.noHTML&&!this.data.hasOwnCanvas){let d=this._getOperatorListNoAppearance();return d.separateForm=!0,d}if(!this._hasText)return super.getOperatorList(e,t,s,i);let r=!!(this.data.hasOwnCanvas&&s&Un.DISPLAY);if(r&&!this._hasCanvasSize)return this.data.hasOwnCanvas=!1,this._getOperatorListNoAppearance();let a=await this._getAppearance(e,t,s,i);if(this.appearance&&a===null)return super.getOperatorList(e,t,s,i);let o=new Gs;if(!this._defaultAppearance||a===null)return{opList:o,separateForm:!1,separateCanvas:!1};let l=[1,0,0,1,0,0],c=[0,0,this.width,this.height],f=V9(this.data.rect,c,l),h=this._oc;h!==void 0&&o.addOp(F.beginMarkedContentProps,[\"OC\",h]),o.addOp(F.beginAnnotation,[this.data.id,this.data.rect,f,this.getRotationMatrix(i),r]);let u=new Hn(a);return await e.getOperatorList({stream:u,task:t,resources:this._fieldResources.mergedResources,operatorList:o}),o.addOp(F.endAnnotation,[]),h!==void 0&&o.addOp(F.endMarkedContent,[]),{opList:o,separateForm:!1,separateCanvas:r}}_setMKDict(e,t){let s=e.get(\"MK\"),i=s instanceof P?s.clone():new P(null);t?i.set(\"R\",t):i.delete(\"R\"),i.setIfArray(\"BC\",Jn(this.borderColor)),i.setIfArray(\"BG\",Jn(this.backgroundColor)),i.size>0?e.set(\"MK\",i):e.delete(\"MK\")}amendSavedDict(e,t){}setValue(e,t,s,i){let{dict:r,ref:a}=eS(e,this.ref,s);if(!r)e.set(\"V\",t);else if(!i.has(a)){let o=r.clone();return o.set(\"V\",t),i.put(a,{data:o}),o}return null}async save(e,t,s,i){let r=s?.get(this.data.id),a=this._buildFlags(r?.noView,r?.noPrint),o=r?.value,l=r?.rotation;if(o===this.data.fieldValue||o===void 0){if(!this._hasValueFromXFA&&l===void 0&&a===void 0)return;o||=this.data.fieldValue}if(l===void 0&&!this._hasValueFromXFA&&Array.isArray(o)&&Array.isArray(this.data.fieldValue)&&qa(o,this.data.fieldValue)&&a===void 0)return;l===void 0&&(l=this.rotation);let c=null;if(!this._needAppearances&&(c=await this._getAppearance(e,t,Un.SAVE,s),c===null&&a===void 0))return;let f=!1;c?.needAppearances&&(f=!0,c=null);let{xref:h}=e,u=h.fetchIfRef(this.ref);if(!(u instanceof P))return;let d=new P(h);for(let[g,b]of u.getRawEntries())g!==\"AP\"&&d.set(g,b);if(a!==void 0&&(d.set(\"F\",a),c===null&&!f)){let g=u.getRaw(\"AP\");g&&d.set(\"AP\",g)}let p={path:this.data.fieldName,value:o},m=this.setValue(d,Array.isArray(o)?o.map(Dn):Dn(o),h,i);if(this.amendSavedDict(s,m||d),this._setMKDict(d,l),i.put(this.ref,{data:d,xfa:p,needAppearances:f}),c!==null){let g=h.getNewTemporaryRef(),b=new P(h);d.set(\"AP\",b),b.set(\"N\",g);let x=this._getSaveFieldResources(h),w=new P(h);w.setIfName(\"Subtype\",\"Form\"),w.set(\"Resources\",x);let v=l%180===0?[0,0,this.width,this.height]:[0,0,this.height,this.width];w.set(\"BBox\",v);let k=new Hn(c,w),j=this.getRotationMatrix(s);j!==ri&&w.set(\"Matrix\",j),i.put(g,{data:k,xfa:null,needAppearances:!1})}d.set(\"M\",`D:${Fr()}`)}async _getAppearance(e,t,s,i){if(this.data.password)return null;let r=i?.get(this.data.id),a,o;if(r&&(a=r.formattedValue||r.value,o=r.rotation),o===void 0&&a===void 0&&!this._needAppearances&&(!this._hasValueFromXFA||this.appearance))return null;let l=this.getBorderAndBackgroundAppearances(i);if(a===void 0&&(a=this.data.fieldValue,!a))return`/Tx BMC q ${l}Q EMC`;if(Array.isArray(a)&&a.length===1&&(a=a[0]),Qt(typeof a==\"string\",\"Expected `value` to be a string.\"),a=a.trimEnd(),this.data.combo&&(a=this.data.options.find(({exportValue:E})=>a===E)?.displayValue||a),a===\"\")return`/Tx BMC q ${l}Q EMC`;o===void 0&&(o=this.rotation);let c=-1,f;this.data.multiLine?(f=a.split(/\\r\\n?|\\n/).map(M=>M.normalize(\"NFC\")),c=f.length):f=[a.replace(/\\r\\n?|\\n/,\"\").normalize(\"NFC\")];let h=1,u=2,{width:d,height:p}=this;if((o===90||o===270)&&([d,p]=[p,d]),this._defaultAppearance||(this.data.defaultAppearanceData=cv(this._defaultAppearance=\"/Helvetica 0 Tf 0 g\")),!this.data.defaultAppearanceData.fontSize&&(d<=2*u||p<=2*h))return`/Tx BMC q ${l}Q EMC`;let m=await n._getFontData(e,t,this.data.defaultAppearanceData,this._fieldResources.mergedResources),g,b,x,w=[],v=!1;for(let M of f){let E=m.encodeString(M);E.length>1&&(v=!0),w.push(E.join(\"\"))}if(v&&s&Un.SAVE)return{needAppearances:!0};if(v&&this._isOffscreenCanvasSupported){let M=this.data.comb?\"monospace\":\"sans-serif\",E=new qc(e.xref,M),G=E.createFontResources(f.join(\"\")),D=G.getRaw(\"Font\");if(this._fieldResources.mergedResources.has(\"Font\")){let ee=this._fieldResources.mergedResources.get(\"Font\");for(let[de,X]of D.getRawEntries())ee.set(de,X)}else this._fieldResources.mergedResources.set(\"Font\",D);let N=E.fontName.name;m=await n._getFontData(e,t,{fontName:N,fontSize:0},G);for(let ee=0,de=w.length;ee<de;ee++)w[ee]=B8(f[ee]);let K=Object.assign(Object.create(null),this.data.defaultAppearanceData);this.data.defaultAppearanceData.fontSize=0,this.data.defaultAppearanceData.fontName=N,[g,b,x]=this._computeFontSize(p-2*h,d-2*u,a,m,c,d-u),this.data.defaultAppearanceData=K}else this._isOffscreenCanvasSupported||B(\"_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly.\"),[g,b,x]=this._computeFontSize(p-2*h,d-2*u,a,m,c,d-u);let k=m.descent;isNaN(k)?k=J5*x:k=Math.max(J5*x,Math.abs(k)*b);let j=Math.min(Math.floor((p-b)/2),h),A=this.data.textAlignment,{ascent:S,descent:q}=m;isNaN(S)||isNaN(q)||!S&&!q?(S=1.35-.35,q=.35):q=Math.abs(q);let _=(p-(S+q)*b)/2+q*b;if(this.data.multiLine)return this._getMultilineAppearance(g,w,m,b,d,p,A,u,j,k,x,i);if(this.data.comb)return this._getCombAppearance(g,m,w[0],b,d,_,A,lv(f[0]).dir===\"rtl\",i);let I=_;if(A===0||A>2)return`/Tx BMC q ${l}BT `+g+` 1 0 0 1 ${_t(u)} ${_t(I)} Tm (${Ia(w[0])}) Tj ET Q EMC`;let C={shift:0},T=this._renderText(w[0],m,b,d,A,C,u,I);return`/Tx BMC q ${l}BT `+g+` 1 0 0 1 0 0 Tm ${T} ET Q EMC`}static async _getFontData(e,t,s,i){let r=new Gs,a={font:null,clone(){return this}},{fontName:o,fontSize:l}=s;return await e.handleSetFont(i,[o&&ce.get(o),l],null,r,t,a,null),a.font}_getTextWidth(e,t){return Math.sumPrecise(t.charsToGlyphs(e).map(s=>s.width))/1e3}_computeFontSize(e,t,s,i,r,a){let{fontSize:o}=this.data.defaultAppearanceData,l=(o||12)*1.35,c=Math.round(e/l);if(!o){let f=d=>Math.floor(d*100)/100;if(r===-1){let d=this._getTextWidth(s,i);o=f(Math.min(e/1.35,t/d)),c=1}else{let d=s.split(/\\r\\n?|\\n/),p=[];for(let b of d){let x=i.encodeString(b).join(\"\"),w=i.charsToGlyphs(x),v=i.getCharPositions(x);p.push({line:x,glyphs:w,positions:v})}let m=b=>{let x=0;for(let w of p){let v=this._splitLine(null,i,b,t,a,w);if(x+=v.length*b,x>e)return!0}return!1};c=Math.max(c,r);let g=b=>f(e/b/1.35);if(e>0&&m(g(c))){let b=c,x=2*c;for(;m(g(x));)b=x,x*=2;for(;x-b>1;){let w=Math.floor((b+x)/2);m(g(w))?b=w:x=w}c=x}o=g(c)}let{fontName:h,fontColor:u}=this.data.defaultAppearanceData;this._defaultAppearance=kI({fontSize:o,fontName:h,fontColor:u})}return[this._defaultAppearance,o,e/c]}_renderText(e,t,s,i,r,a,o,l){let c;if(r===1){let h=this._getTextWidth(e,t)*s;c=(i-h)/2}else if(r===2){let h=this._getTextWidth(e,t)*s;c=i-h-o}else c=o;let f=_t(c-a.shift);return a.shift=c,l=_t(l),`${f} ${l} Td (${Ia(e)}) Tj`}_getSaveFieldResources(e){let{localResources:t,appearanceResources:s,acroFormResources:i}=this._fieldResources,r=this.data.defaultAppearanceData?.fontName;if(!r)return t||P.empty;for(let a of[t,s])if(a instanceof P){let o=a.get(\"Font\");if(o instanceof P&&o.has(r))return a}if(i instanceof P){let a=i.get(\"Font\");if(a instanceof P&&a.has(r)){let o=new P(e);o.set(r,a.getRaw(r));let l=new P(e);return l.set(\"Font\",o),P.merge({xref:e,dictArray:[l,t],mergeSubDicts:!0})}}return t||P.empty}getFieldObject(){return null}},Y9=class extends Wi{constructor(e){super(e);let{annotationGlobals:t,dict:s}=e;s.has(\"PMD\")&&(this.flags|=$t.HIDDEN,this.data.hidden=!0,B(\"Barcodes are not supported\")),this.data.hasOwnCanvas=this.data.readOnly&&!this.data.noHTML,this._hasText=!0,typeof this.data.fieldValue!=\"string\"&&(this.data.fieldValue=\"\");let i=u=>Number.isInteger(u)&&u>=0&&u<=2?u:null;this.data.textAlignment=i(Gn({dict:s,key:\"Q\"}))??i(t.acroForm.get(\"Q\"))??null;let r=Gn({dict:s,key:\"MaxLen\"});(!Number.isInteger(r)||r<0)&&(r=0),this.data.maxLen=r,this.data.multiLine=this.hasFieldFlag(wi.MULTILINE),this.data.comb=this.hasFieldFlag(wi.COMB)&&!this.data.multiLine&&!this.data.password&&!this.hasFieldFlag(wi.FILESELECT)&&this.data.maxLen!==0,this.data.doNotScroll=this.hasFieldFlag(wi.DONOTSCROLL);let{actions:a}=this.data;if(!a)return;let o=/^AF(Date|Time)_(?:Keystroke|Format)(?:Ex)?\\(['\"]?([^'\"]+)['\"]?\\);$/,l=!1,c=a.get(\"Format\"),f=a.get(\"Keystroke\");(c?.length===1&&f?.length===1&&o.test(c[0])&&o.test(f[0])||c?.length===0&&f?.length===1&&o.test(f[0])||f?.length===0&&c?.length===1&&o.test(c[0]))&&(l=!0);let h=[];c&&h.push(...c),f&&h.push(...f),l&&(a.delete(\"Keystroke\"),a.set(\"Format\",h));for(let u of h){let d=u.match(o);if(!d)continue;let p=d[1]===\"Date\",m=d[2],g=parseInt(m,10);if(!isNaN(g)&&Math.floor(Math.log10(g))+1===d[2].length&&(m=(p?jI:AI)[g]??m),this.data.datetimeFormat=m,!l)break;if(p){/HH|MM|ss|h/.test(m)?(this.data.datetimeType=\"datetime-local\",this.data.timeStep=/ss/.test(m)?1:60):this.data.datetimeType=\"date\";break}this.data.datetimeType=\"time\",this.data.timeStep=/ss/.test(m)?1:60;break}}get hasTextContent(){return!!this.appearance&&!this._needAppearances}_getCombAppearance(e,t,s,i,r,a,o,l,c){let f=r/this.data.maxLen,h=this.getBorderAndBackgroundAppearances(c),u=t.getCharPositions(s).map(([x,w])=>{let v=s.substring(x,w);return{glyph:v,width:this._getTextWidth(v,t)*i}});l&&u.reverse();let d=f*u.length,p=0;o===1?p+=Math.floor((r-d)/(2*f))*f:o===2&&(p+=r-d);let m=[],g=0;for(let x=0,w=u.length;x<w;x++){let{glyph:v,width:k}=u[x],j=x===0?(f-k)/2:f+(g-k)/2;m.push(`${_t(j)} 0 Td (${Ia(v)}) Tj`),g=k}let b=m.join(\" \");return`/Tx BMC q ${h}BT `+e+` 1 0 0 1 ${_t(p)} ${_t(a)} Tm ${b} ET Q EMC`}_getMultilineAppearance(e,t,s,i,r,a,o,l,c,f,h,u){let d=[],p=r-2*l,m={shift:0};for(let x=0,w=t.length;x<w;x++){let v=t[x],k=this._splitLine(v,s,i,p,r-l),j=k.length===1&&this._getTextWidth(v,s)*i>p?l/2:l;for(let A=0,S=k.length;A<S;A++){let q=k[A],_=x===0&&A===0?-c-(h-f):-h;d.push(this._renderText(q,s,i,r,o,m,j,_))}}let g=this.getBorderAndBackgroundAppearances(u),b=d.join(`\n`);return`/Tx BMC q ${g}BT `+e+` 1 0 0 1 0 ${_t(a)} Tm ${b} ET Q EMC`}_splitLine(e,t,s,i,r,a={}){e=a.line||e;let o=a.glyphs||t.charsToGlyphs(e);if(o.length<=1)return[e];let l=s/1e3;if(Math.sumPrecise(o.map(g=>g.width))*l<=r)return[e];let c=a.positions||t.getCharPositions(e),f=[],h=-1,u=-1,d=-1,p=0,m=0;for(let g=0,b=o.length;g<b;g++){let[x,w]=c[g],v=o[g],k=v.width*l;v.unicode===\" \"?m+k>i?(f.push(e.substring(p,x)),p=x,m=k,h=-1,d=-1):(m+=k,h=x,u=w,d=g):m+k>i?h!==-1?(f.push(e.substring(p,u)),p=u,g=d+1,h=-1,m=0):(f.push(e.substring(p,x)),p=x,m=k):m+=k}return p<e.length&&f.push(e.substring(p)),f}async extractTextContent(e,t,s){await super.extractTextContent(e,t,s);let i=this.data.textContent;if(!i)return;let r=i.join(`\n`);if(r===this.data.fieldValue)return;let a=r.replaceAll(/([.*+?^${}()|[\\]\\\\])|(\\s+)/g,(o,l)=>l?`\\\\${l}`:\"\\\\s+\");new RegExp(`^\\\\s*${a}\\\\s*$`).test(this.data.fieldValue)&&(this.data.textContent=this.data.fieldValue.split(`\n`))}getFieldObject(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||\"\",multiline:this.data.multiLine,password:this.data.password,charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,datetimeFormat:this.data.datetimeFormat,hasDatetimeHTML:!!this.data.datetimeType,type:\"text\"}}},J9=class extends Wi{constructor(e){super(e),this.checkedAppearance=null,this.uncheckedAppearance=null;let t=this.hasFieldFlag(wi.RADIO),s=this.hasFieldFlag(wi.PUSHBUTTON);this.data.checkBox=!t&&!s,this.data.radioButton=t&&!s,this.data.pushButton=s,this.data.isTooltipOnly=!1,this.data.hasOwnCanvas=!0,this.data.noHTML=!1,this.data.checkBox?this._processCheckBox(e):this.data.radioButton?this._processRadioButton(e):this.data.pushButton?this._processPushButton(e):B(\"Invalid field flags for button widget annotation\")}get _ownCanvasRequiresForms(){return this.data.checkBox||this.data.radioButton}#e(e,t,s,i,r,a){if(!a)return this._getOperatorListNoAppearance();let o=this.appearance,l=ar(a.dict.getArray(\"Matrix\"),ri);r&&a.dict.set(\"Matrix\",this.getRotationMatrix(i)),this.appearance=a;let c=super.getOperatorList(e,t,s,i);return this.appearance=o,a.dict.set(\"Matrix\",l),c}async getOperatorList(e,t,s,i){if(this.data.pushButton)return super.getOperatorList(e,t,s,!1,i);if(s&Un.DISPLAY&&s&Un.ANNOTATIONS_FORMS&&(this.data.checkBox||this.data.radioButton)){let o=(f,h)=>{let u=f.fnArray.indexOf(F.beginAnnotation);u!==-1&&f.argsArray[u].push(h)},l=await this.#e(e,t,s,i,null,this.checkedAppearance);o(l.opList,\"checked\");let c=await this.#e(e,t,s,i,null,this.uncheckedAppearance);return o(c.opList,\"unchecked\"),l.opList.addOpList(c.opList),l.separateForm||=c.separateForm,l.separateCanvas||=c.separateCanvas,l}let r=null,a=null;if(i){let o=i.get(this.data.id);r=o?o.value:null,a=o?o.rotation:null}return r===null&&this.appearance?super.getOperatorList(e,t,s,i):(r??=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue,this.#e(e,t,s,i,a,r?this.checkedAppearance:this.uncheckedAppearance))}async save(e,t,s,i){if(this.data.checkBox){this._saveCheckbox(e,t,s,i);return}this.data.radioButton&&this._saveRadioButton(e,t,s,i)}async _saveCheckbox(e,t,s,i){if(!s)return;let r=s.get(this.data.id),a=this._buildFlags(r?.noView,r?.noPrint),o=r?.rotation,l=r?.value;if(o===void 0&&a===void 0&&(l===void 0||this.data.fieldValue===this.data.exportValue===l))return;let c=e.xref.fetchIfRef(this.ref);if(!(c instanceof P))return;c=c.clone(),o===void 0&&(o=this.rotation),l===void 0&&(l=this.data.fieldValue===this.data.exportValue);let f={path:this.data.fieldName,value:l?this.data.exportValue:\"\"},h=ce.get(l?this._onStateName:\"Off\");this.setValue(c,h,e.xref,i),c.set(\"AS\",h),c.set(\"M\",`D:${Fr()}`),a!==void 0&&c.set(\"F\",a),this._setMKDict(c,o),i.put(this.ref,{data:c,xfa:f,needAppearances:!1})}async _saveRadioButton(e,t,s,i){if(!s)return;let r=s.get(this.data.id),a=this._buildFlags(r?.noView,r?.noPrint),o=r?.rotation,l=r?.value;if(o===void 0&&a===void 0&&(l===void 0||this.data.fieldValue===this.data.buttonValue===l))return;let c=e.xref.fetchIfRef(this.ref);if(!(c instanceof P))return;c=c.clone(),l===void 0&&(l=this.data.fieldValue===this.data.buttonValue),o===void 0&&(o=this.rotation);let f={path:this.data.fieldName,value:l?this.data.buttonValue:\"\"},h=ce.get(l?this._onStateName:\"Off\");l&&this.setValue(c,h,e.xref,i),c.set(\"AS\",h),c.set(\"M\",`D:${Fr()}`),a!==void 0&&c.set(\"F\",a),this._setMKDict(c,o),i.put(this.ref,{data:c,xfa:f,needAppearances:!1})}#n(e){let t=Tu[e.charCodeAt(0)];return o4().ZapfDingbats()[t]}#t(e){let t=e.get(\"MK\"),s=t instanceof P?t.get(\"CA\"):null;if(typeof s!=\"string\")return null;let i=st(s)[0];return i&&this.#n(i)?i:null}#s(e,t,s,i){this._needAppearances&&(this.appearance=null,t=s=null);let r=t instanceof Xe,a=this.#t(e.dict)??i;this.checkedAppearance=r?t:this.#i(e.xref,a,!0),this.uncheckedAppearance=s instanceof Xe?s:null,r||(this.uncheckedAppearance??=this.#i(e.xref,a,!1));for(let o of[this.checkedAppearance,this.uncheckedAppearance])o&&this._streams.push(o)}#i(e,t,s){let{rotation:i}=this,[r,a]=i%180===0?[this.width,this.height]:[this.height,this.width],o=this.data.radioButton&&t===\"l\",l=this.getBorderAndBackgroundAppearances(null,o);if(s){let{fontColor:u,fontSize:d}=this.data.defaultAppearanceData,m=d||Math.min(r,a)*.8,g=this.#n(t)/1e3*m,b=_t((r-g)/2),x=_t((a-.705*m)/2),w=ki(u,!0);l+=`BT /PdfJsZaDb ${m} Tf ${w} ${b} ${x} Td (${Ia(t)}) Tj ET`}else if(!l)return null;l=`q ${l} Q`;let c=new P(e);c.set(\"FormType\",1),c.setIfName(\"Subtype\",\"Form\"),c.setIfName(\"Type\",\"XObject\"),c.set(\"BBox\",[0,0,r,a]),c.set(\"Matrix\",this.getRotationMatrix()),c.set(\"Length\",l.length);let f=new P(e),h=new P(e);return h.set(\"PdfJsZaDb\",this.fallbackFontDict),f.set(\"Font\",h),c.set(\"Resources\",f),new Hn(l,c)}_getOnStateName(e){let t=e.get(\"AP\");if(!(t instanceof P))return null;let s=t.get(\"N\");if(!(s instanceof P))return null;for(let i of s.getKeys())if(i!==\"Off\")return i;return null}_getExportValueForOptIndex(e,t,s){if(Number.isInteger(e)&&e>=0&&e<t.length){let i=this._decodeFormValue(s.fetchIfRef(t[e]));if(typeof i==\"string\")return i}return null}_getOptInfo(e,t,s,i){if(!Array.isArray(s))return null;let r=new Map,a=null,o=e.get(\"Parent\"),l=o instanceof P?o.get(\"Kids\"):null;if(Array.isArray(l))for(let c=0,f=Math.min(l.length,s.length);c<f;c++){let h=l[c];h instanceof fe&&Eo(h,this.ref)&&(a=c);let u=i.fetchIfRef(h);if(!(u instanceof P))continue;u===e&&(a=c);let d=this._getOnStateName(u);typeof d==\"string\"&&!r.has(d)&&r.set(d,c)}else s.length===1&&typeof t==\"string\"&&(a=0,r.set(t,0));return{currentIndex:a,opt:s,stateToIndex:r}}_getExportValue(e,t,s){if(!t||typeof e!=\"string\"||e===\"Off\")return e;if(e===this._onStateName){let r=this._getExportValueForOptIndex(t.currentIndex,t.opt,s);if(r!==null)return r}if(t.stateToIndex.has(e)){let r=this._getExportValueForOptIndex(t.stateToIndex.get(e),t.opt,s);if(r!==null)return r}let i=parseInt(e,10);return Number.isInteger(i)&&String(i)===e&&this._getExportValueForOptIndex(i,t.opt,s)||e}_processCheckBox(e){let t=e.dict.get(\"AP\"),s=t instanceof P?t.get(\"N\"):null;s instanceof P||(s=null);let i=this._decodeFormValue(e.dict.get(\"AS\"));typeof i==\"string\"&&(this.data.fieldValue=i);let r=this.data.fieldValue!==null&&this.data.fieldValue!==\"Off\"?this.data.fieldValue:\"Yes\",a=s?[...s.getKeys()]:[];if(a.length===0)a.push(\"Off\",r);else if(a.length===1)a[0]===\"Off\"?a.push(r):a.unshift(\"Off\");else if(a.includes(r))a.length=0,a.push(\"Off\",r);else{let f=a.find(h=>h!==\"Off\");a.length=0,a.push(\"Off\",f)}let o=a[1];this._onStateName=o;let l=Gn({dict:e.dict,key:\"Opt\"}),c=this._getOptInfo(e.dict,o,l,e.xref);this.data.exportValue=this._getExportValue(o,c,e.xref),!a.includes(this.data.fieldValue)&&this.data.fieldValue!==this.data.exportValue&&(this.data.fieldValue=\"Off\"),this.data.fieldValue=this._getExportValue(this.data.fieldValue,c,e.xref),this.data.defaultFieldValue=this._getExportValue(this.data.defaultFieldValue,c,e.xref),this.#s(e,s?.get(o),s?.get(\"Off\"),\"3\"),this._fallbackFontDict=this.fallbackFontDict,this.data.defaultFieldValue===null&&(this.data.defaultFieldValue=\"Off\")}_processRadioButton(e){this.data.buttonValue=null;let t=e.dict.get(\"Parent\");if(t instanceof P){this.parent=e.dict.getRaw(\"Parent\");let l=t.get(\"V\");l instanceof ce&&(this.data.fieldValue=this._decodeFormValue(l))}let s=e.dict.get(\"AP\");if(!(s instanceof P))return;let i=s.get(\"N\");if(!(i instanceof P))return;let r=null;for(let l of i.getKeys())if(l!==\"Off\"){r=l;break}this._onStateName=r;let a=Gn({dict:e.dict,key:\"Opt\"}),o=this._getOptInfo(e.dict,r,a,e.xref);this.data.buttonValue=this._getExportValue(r,o,e.xref),this.data.fieldValue=this._getExportValue(this.data.fieldValue,o,e.xref),this.data.defaultFieldValue=this._getExportValue(this.data.defaultFieldValue,o,e.xref),this.#s(e,i.get(r),i.get(\"Off\"),\"l\"),this._fallbackFontDict=this.fallbackFontDict,this.data.defaultFieldValue===null&&(this.data.defaultFieldValue=\"Off\")}_processPushButton(e){let{dict:t,annotationGlobals:s}=e;if(!t.has(\"A\")&&!t.has(\"AA\")&&!this.data.alternativeText){B(\"Push buttons without action dictionaries are not supported\");return}this.data.isTooltipOnly=!t.has(\"A\")&&!t.has(\"AA\"),Ic.parseDestDictionary({destDict:t,resultObj:this.data,docBaseUrl:s.baseUrl,docAttachments:s.attachments})}getFieldObject(){let e=\"button\",t;return this.data.checkBox?(e=\"checkbox\",t=this.data.exportValue):this.data.radioButton&&(e=\"radiobutton\",t=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||\"Off\",defaultValue:this.data.defaultFieldValue,exportValues:t,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:e}}get fallbackFontDict(){let e=new P;return e.setIfName(\"BaseFont\",\"ZapfDingbats\"),e.setIfName(\"Type\",\"FallbackType\"),e.setIfName(\"Subtype\",\"FallbackType\"),e.setIfName(\"Encoding\",\"ZapfDingbatsEncoding\"),je(this,\"fallbackFontDict\",e)}},Q9=class extends Wi{constructor(e){super(e);let{dict:t,xref:s}=e;this.indices=t.getArray(\"I\"),this.hasIndices=Array.isArray(this.indices)&&this.indices.length>0,this.data.options=[];let i=Gn({dict:t,key:\"Opt\"});if(Array.isArray(i))for(let r=0,a=i.length;r<a;r++){let o=s.fetchIfRef(i[r]),l=Array.isArray(o);this.data.options[r]={exportValue:this._decodeFormValue(l?s.fetchIfRef(o[0]):o),displayValue:this._decodeFormValue(l?s.fetchIfRef(o[1]):o)}}if(!this.hasIndices)typeof this.data.fieldValue==\"string\"?this.data.fieldValue=[this.data.fieldValue]:this.data.fieldValue||=[];else{this.data.fieldValue=[];let r=this.data.options.length;for(let a of this.indices)Number.isInteger(a)&&a>=0&&a<r&&this.data.fieldValue.push(this.data.options[a].exportValue)}this.data.options.length===0&&this.data.fieldValue.length>0&&(this.data.options=this.data.fieldValue.map(r=>({exportValue:r,displayValue:r}))),this.data.combo=this.hasFieldFlag(wi.COMBO),this.data.multiSelect=this.hasFieldFlag(wi.MULTISELECT),this._hasText=!0}getFieldObject(){let e=this.data.combo?\"combobox\":\"listbox\",t=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,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:e}}amendSavedDict(e,t){if(!this.hasIndices)return;let s=e?.get(this.data.id)?.value;Array.isArray(s)||(s=[s]);let i=[],{options:r}=this.data;for(let a=0,o=0,l=r.length;a<l;a++)r[a].exportValue===s[o]&&(i.push(a),o+=1);t.set(\"I\",i)}async _getAppearance(e,t,s,i){if(this.data.combo)return super._getAppearance(e,t,s,i);let r,a,o=i?.get(this.data.id);if(o&&(a=o.rotation,r=o.value),a===void 0&&r===void 0&&!this._needAppearances)return null;r===void 0?r=this.data.fieldValue:Array.isArray(r)||(r=[r]);let l=1,c=2,{width:f,height:h}=this;(a===90||a===270)&&([f,h]=[h,f]);let u=this.data.options.length,d=[];for(let S=0;S<u;S++){let{exportValue:q}=this.data.options[S];r.includes(q)&&d.push(S)}this._defaultAppearance||(this.data.defaultAppearanceData=cv(this._defaultAppearance=\"/Helvetica 0 Tf 0 g\"));let p=await Wi._getFontData(e,t,this.data.defaultAppearanceData,this._fieldResources.mergedResources),m,{fontSize:g}=this.data.defaultAppearanceData;if(g)m=this._defaultAppearance;else{let S=(h-l)/u,q=-1,_;for(let{displayValue:I}of this.data.options){let C=this._getTextWidth(I,p);C>q&&(q=C,_=I)}[m,g]=this._computeFontSize(S,f-2*c,_,p,-1)}let b=g*1.35,x=(b-g)/2,w=Math.floor(h/b),v=0;if(d.length>0){let S=Math.min(...d),q=Math.max(...d);v=Rt(q-w+1,0,S)}let k=Math.min(v+w+1,u),j=[\"/Tx BMC q\",`1 1 ${f} ${h} re W n`];if(d.length){j.push(\"0.600006 0.756866 0.854904 rg\");for(let S of d)v<=S&&S<k&&j.push(`1 ${h-(S-v+1)*b} ${f} ${b} re f`)}j.push(\"BT\",m,`1 0 0 1 0 ${h} Tm`);let A={shift:0};for(let S=v;S<k;S++){let{displayValue:q}=this.data.options[S],_=S===v?x:0;j.push(this._renderText(q,p,g,f,0,A,c,-b+_))}return j.push(\"ET Q EMC\"),j.join(`\n`)}},iu=class extends Wi{_hasValueFromXFA=!1;constructor(e){super(e),this.data.fieldValue=null,this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!this.data.hasOwnCanvas}getFieldObject(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:\"signature\"}}},Z9=class extends is{constructor(e){super(e),this.data.noRotate=!0,this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1;let{dict:s}=e;this.data.hasAppearance?this.data.name=\"NoIcon\":(this.data.rect[1]=this.data.rect[3]-22,this.data.rect[2]=this.data.rect[0]+22,this.data.name=s.has(\"Name\")?s.get(\"Name\").name:\"Note\"),s.has(\"State\")?(this.data.state=s.get(\"State\")||null,this.data.stateModel=s.get(\"StateModel\")||null):(this.data.state=null,this.data.stateModel=null)}},e3=class extends Dr{constructor(e){super(e);let{dict:t,annotationGlobals:s}=e;this.data.noHTML=!1;let i=sf(t,this.rectangle);i&&(this.data.quadPoints=i),this.data.borderColor||=this.data.color,Ic.parseDestDictionary({destDict:t,resultObj:this.data,docBaseUrl:s.baseUrl,docAttachments:s.attachments})}get overlaysTextContent(){return!0}},$c=class extends Dr{constructor(e){super(e);let{dict:t}=e;this.data.noHTML=!1,(this.width===0||this.height===0)&&(this.data.rect=null);let s=t.get(\"Parent\");if(!s){B(\"Popup annotation has a missing or invalid parent annotation.\");return}this.data.parentRect=Ui(s.getArray(\"Rect\"),null),this.data.creationDate=s.get(\"CreationDate\")||\"\";let i=s.get(\"RT\");if(Ke(i,Om.GROUP)&&(s=s.get(\"IRT\")),s.has(\"M\")?(this.setModificationDate(s.get(\"M\")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,s.has(\"C\")?(this.setColor(s.getArray(\"C\")),this.data.color=this.color):this.data.color=null,!this.viewable){let r=s.get(\"F\");this._isViewable(r)&&this.setFlags(r)}this.setTitle(s.get(\"T\")),this.data.titleObj=this._title,this.setContents(s.get(\"Contents\")),this.data.contentsObj=this._contents,s.has(\"RC\")&&(this.data.richText=Wc.getRichTextAsHtml(s.get(\"RC\"))),this.data.open=!!t.get(\"Open\")}static createNewDict(e,t,s){let{oldAnnotation:i,rect:r,parent:a}=e,o=i||new P(t);return o.setIfNotExists(\"Type\",ce.get(\"Annot\")),o.setIfNotExists(\"Subtype\",ce.get(\"Popup\")),o.setIfNotExists(\"Open\",!1),o.setIfArray(\"Rect\",r),o.set(\"Parent\",a),o}static async createNewAppearanceStream(e,t,s){return null}},ac=class extends is{constructor(e){super(e),this.data.hasOwnCanvas=this.data.noRotate,this.data.isEditable=!this.data.noHTML,this.data.noHTML=!1;let{annotationGlobals:t,xref:s}=e;if(this.setDefaultAppearance(e),this._hasAppearance=!!this.appearance,this._hasAppearance){let{fontColor:i,fontSize:r}=yI(this.appearance,s,t.globalColorSpaceCache);this.data.defaultAppearanceData.fontColor=i,this.data.defaultAppearanceData.fontSize=r||10}else{this.data.defaultAppearanceData.fontSize||=10;let{fontColor:i,fontSize:r}=this.data.defaultAppearanceData;if(this._contents.str){this.data.textContent=this._contents.str.split(/\\r\\n?|\\n/).map(c=>c.trimEnd());let{coords:a,bbox:o,matrix:l}=qc.getFirstPositionInfo(this.rectangle,this.rotation,r);this.data.textPosition=this._transformPoint(a,o,l)}if(this._isOffscreenCanvasSupported){let a=e.dict.get(\"CA\"),o=new qc(s,\"sans-serif\");this.appearance=o.createAppearance(this._contents.str,this.rectangle,this.rotation,r,i,a),this._streams.push(this.appearance)}else B(\"FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.\")}}get hasTextContent(){return this._hasAppearance}static createNewDict(e,t,{apRef:s,ap:i}){let{color:r,date:a,fontSize:o,oldAnnotation:l,rect:c,rotation:f,user:h,value:u}=e,d=l||new P(t);d.setIfNotExists(\"Type\",ce.get(\"Annot\")),d.setIfNotExists(\"Subtype\",ce.get(\"FreeText\")),d.set(l?\"M\":\"CreationDate\",`D:${Fr(a)}`),l&&d.delete(\"RC\"),d.setIfArray(\"Rect\",c);let p=`/Helv ${o} Tf ${ki(r,!0)}`;if(d.set(\"DA\",p),d.setIfDefined(\"Contents\",Dn(u)),d.setIfNotExists(\"F\",4),d.setIfNotExists(\"Border\",[0,0,0]),d.setIfNumber(\"Rotate\",f),d.setIfDefined(\"T\",Dn(h)),s||i){let m=new P(t);d.set(\"AP\",m),m.set(\"N\",s||i)}return d}static getPrintData({color:e,fontSize:t,rect:s,rotation:i,value:r}){throw new Error(\"Not implemented: getPrintData\")}static async createNewAppearanceStream(e,t,s){let{baseFontRef:i,evaluator:r,task:a}=s,{color:o,fontSize:l,rect:c,rotation:f,value:h}=e;if(!o)return null;let u=new P(t),d=new P(t);if(i)d.set(\"Helv\",i);else{let ue=new P(t);ue.setIfName(\"BaseFont\",\"Helvetica\"),ue.setIfName(\"Type\",\"Font\"),ue.setIfName(\"Subtype\",\"Type1\"),ue.setIfName(\"Encoding\",\"WinAnsiEncoding\"),d.set(\"Helv\",ue)}u.set(\"Font\",d);let p=await Wi._getFontData(r,a,{fontName:\"Helv\",fontSize:l},u),[m,g,b,x]=c,w=b-m,v=x-g;f%180!==0&&([w,v]=[v,w]);let k=h.split(`\n`),j=l/1e3,A=-1/0,S=[];for(let ue of k){let re=p.encodeString(ue);if(re.length>1)return null;ue=re.join(\"\"),S.push(ue);let H=0,O=p.charsToGlyphs(ue);for(let z of O)H+=z.width*j;A=Math.max(A,H)}let q=A>w?w/A:1,_=1,I=1.35*l,C=(1.35-.35)*l,T=I*k.length;T>v&&(_=v/T);let M=Math.min(q,_),E=l*M,G,D,N;switch(f){case 0:N=[1,0,0,1],D=[c[0],c[1],w,v],G=[c[0],c[3]-C];break;case 90:N=[0,1,-1,0],D=[c[1],-c[2],w,v],G=[c[1],-c[0]-C];break;case 180:N=[-1,0,0,-1],D=[-c[2],-c[3],w,v],G=[-c[2],-c[1]-C];break;case 270:N=[0,-1,1,0],D=[-c[3],c[0],w,v],G=[-c[3],c[2]-C];break}let K=[\"q\",`${N.join(\" \")} 0 0 cm`,`${D.join(\" \")} re W n`,\"BT\",`${ki(o,!0)}`,`0 Tc /Helv ${_t(E)} Tf`];K.push(`${G.join(\" \")} Td (${Ia(S[0])}) Tj`);let ee=_t(I);for(let ue=1,re=S.length;ue<re;ue++){let H=S[ue];K.push(`0 -${ee} Td (${Ia(H)}) Tj`)}K.push(\"ET\",\"Q\");let de=K.join(`\n`),X=new P(t);return X.set(\"FormType\",1),X.setIfName(\"Subtype\",\"Form\"),X.setIfName(\"Type\",\"XObject\"),X.set(\"BBox\",c),X.set(\"Resources\",u),X.set(\"Matrix\",[1,0,0,1,-c[0],-c[1]]),new Hn(de,X)}},t3=class extends is{constructor(e){super(e);let{dict:t,xref:s}=e;this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1;let i=fc(t.getArray(\"L\"),[0,0,0,0]);if(this.data.lineCoordinates=ft.normalizeRect(i),this.setLineEndings(t.getArray(\"LE\")),this.data.lineEndings=this.lineEndings,!this.appearance){let r=Jn(this.color,[0,0,0]),a=t.get(\"CA\"),o=Aa(t.getArray(\"IC\"),null),l=Jn(o),c=l?a:null,f=this.borderStyle.width||1,h=2*f,u=[this.data.lineCoordinates[0]-h,this.data.lineCoordinates[1]-h,this.data.lineCoordinates[2]+h,this.data.lineCoordinates[3]+h];ft.intersect(this.rectangle,u)||(this.rectangle=u),this._setDefaultAppearance({xref:s,extra:`${f} w`,strokeColor:r,fillColor:l,strokeAlpha:a,fillAlpha:c,pointsCallback:(d,p)=>(d.push(`${i[0]} ${i[1]} m`,`${i[2]} ${i[3]} l`,\"S\"),[p[0]-f,p[7]-f,p[2]+f,p[3]+f])})}}},n3=class extends is{constructor(e){super(e);let{dict:t,xref:s}=e;if(this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1,!this.appearance){let i=Jn(this.color,[0,0,0]),r=t.get(\"CA\"),a=Aa(t.getArray(\"IC\"),null),o=Jn(a),l=o?r:null;if(this.borderStyle.width===0&&!o)return;this._setDefaultAppearance({xref:s,extra:`${this.borderStyle.width} w`,strokeColor:i,fillColor:o,strokeAlpha:r,fillAlpha:l,pointsCallback:(c,f)=>{let h=f[4]+this.borderStyle.width/2,u=f[5]+this.borderStyle.width/2,d=f[6]-f[4]-this.borderStyle.width,p=f[3]-f[7]-this.borderStyle.width;return c.push(`${h} ${u} ${d} ${p} re`),o?c.push(\"B\"):c.push(\"S\"),[f[0],f[7],f[2],f[3]]}})}}},s3=class extends is{constructor(e){super(e);let{dict:t,xref:s}=e;if(!this.appearance){let i=Jn(this.color,[0,0,0]),r=t.get(\"CA\"),a=Aa(t.getArray(\"IC\"),null),o=Jn(a),l=o?r:null;if(this.borderStyle.width===0&&!o)return;let c=4/3*Math.tan(Math.PI/8);this._setDefaultAppearance({xref:s,extra:`${this.borderStyle.width} w`,strokeColor:i,fillColor:o,strokeAlpha:r,fillAlpha:l,pointsCallback:(f,h)=>{let u=h[0]+this.borderStyle.width/2,d=h[1]-this.borderStyle.width/2,p=h[6]-this.borderStyle.width/2,m=h[7]+this.borderStyle.width/2,g=u+(p-u)/2,b=d+(m-d)/2,x=(p-u)/2*c,w=(m-d)/2*c;return f.push(`${g} ${m} m`,`${g+x} ${m} ${p} ${b+w} ${p} ${b} c`,`${p} ${b-w} ${g+x} ${d} ${g} ${d} c`,`${g-x} ${d} ${u} ${b-w} ${u} ${b} c`,`${u} ${b+w} ${g-x} ${m} ${g} ${m} c`,\"h\"),o?f.push(\"B\"):f.push(\"S\"),[h[0],h[7],h[2],h[3]]}})}}},ru=class extends is{constructor(e){super(e);let{dict:t,xref:s}=e;this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1,this.data.vertices=null,this instanceof au||(this.setLineEndings(t.getArray(\"LE\")),this.data.lineEndings=this.lineEndings);let i=t.getArray(\"Vertices\");if(!tn(i,null))return;let r=this.data.vertices=Float32Array.from(i);if(!this.appearance){let a=Jn(this.color,[0,0,0]),o=t.get(\"CA\"),l=Aa(t.getArray(\"IC\"),null);l&&=Jn(l);let c;l?this.color?c=l.every((d,p)=>d===a[p])?\"f\":\"B\":c=\"f\":c=\"S\";let f=this.borderStyle.width||1,h=2*f,u=dr.slice();for(let d=0,p=r.length;d<p;d+=2)ft.rectBoundingBox(r[d]-h,r[d+1]-h,r[d]+h,r[d+1]+h,u);ft.intersect(this.rectangle,u)||(this.rectangle=u),this._setDefaultAppearance({xref:s,extra:`${f} w`,strokeColor:a,strokeAlpha:o,fillColor:l,fillAlpha:l?o:null,pointsCallback:(d,p)=>{for(let m=0,g=r.length;m<g;m+=2)d.push(`${r[m]} ${r[m+1]} ${m===0?\"m\":\"l\"}`);return d.push(c),[p[0],p[7],p[2],p[3]]}})}}},au=class extends ru{},i3=class extends is{},ha=class extends is{constructor(e){super(e),this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1;let{dict:t,xref:s}=e;this.data.inkLists=[],this.data.isEditable=!this.data.noHTML,this.data.noHTML=!1,this.data.opacity=t.get(\"CA\")||1;let i=t.getArray(\"InkList\");if(Array.isArray(i)){for(let r of i){if(!Array.isArray(r))continue;let a=new Float32Array(r.length);this.data.inkLists.push(a);for(let o=0,l=r.length;o<l;o+=2){let c=s.fetchIfRef(r[o]),f=s.fetchIfRef(r[o+1]);typeof c==\"number\"&&typeof f==\"number\"&&(a[o]=c,a[o+1]=f)}}if(!this.appearance){let r=Jn(this.color,[0,0,0]),a=t.get(\"CA\"),o=this.borderStyle.width||1,l=2*o,c=dr.slice();for(let f of this.data.inkLists)for(let h=0,u=f.length;h<u;h+=2)ft.rectBoundingBox(f[h]-l,f[h+1]-l,f[h]+l,f[h+1]+l,c);ft.intersect(this.rectangle,c)||(this.rectangle=c),this._setDefaultAppearance({xref:s,extra:`${o} w`,strokeColor:r,strokeAlpha:a,pointsCallback:(f,h)=>{for(let u of this.data.inkLists){for(let d=0,p=u.length;d<p;d+=2)f.push(`${u[d]} ${u[d+1]} ${d===0?\"m\":\"l\"}`);f.push(\"S\")}return[h[0],h[7],h[2],h[3]]}})}}}static createNewDict(e,t,{apRef:s,ap:i}){let{oldAnnotation:r,color:a,date:o,opacity:l,paths:c,outlines:f,rect:h,rotation:u,thickness:d,user:p}=e,m=r||new P(t);if(m.setIfNotExists(\"Type\",ce.get(\"Annot\")),m.setIfNotExists(\"Subtype\",ce.get(\"Ink\")),m.set(r?\"M\":\"CreationDate\",`D:${Fr(o)}`),m.setIfArray(\"Rect\",h),m.setIfArray(\"InkList\",f?.points||c?.points),m.setIfNotExists(\"F\",4),m.setIfNumber(\"Rotate\",u),m.setIfDefined(\"T\",Dn(p)),f&&m.setIfName(\"IT\",\"InkHighlight\"),d>0){let g=new P(t);m.set(\"BS\",g),g.set(\"W\",d)}if(m.setIfArray(\"C\",Jn(a)),m.setIfNumber(\"CA\",l),i||s){let g=new P(t);m.set(\"AP\",g),g.set(\"N\",s||i)}return m}static async createNewAppearanceStream(e,t,s){if(e.outlines)return this.createNewAppearanceStreamForHighlight(e,t,s);let{color:i,rect:r,paths:a,thickness:o,opacity:l}=e;if(!i)return null;let c=[`${o} w 1 J 1 j`,`${ki(i,!1)}`];l!==1&&c.push(\"/R0 gs\");for(let u of a.lines)K9(u,c,!0);c.push(\"S\");let f=c.join(`\n`),h=new P(t);if(h.set(\"FormType\",1),h.setIfName(\"Subtype\",\"Form\"),h.setIfName(\"Type\",\"XObject\"),h.set(\"BBox\",r),h.set(\"Length\",f.length),l!==1){let u=new P(t),d=new P(t),p=new P(t);p.set(\"CA\",l),p.setIfName(\"Type\",\"ExtGState\"),d.set(\"R0\",p),u.set(\"ExtGState\",d),h.set(\"Resources\",u)}return new Hn(f,h)}static async createNewAppearanceStreamForHighlight(e,t,s){let{color:i,rect:r,outlines:{outline:a},opacity:o}=e;if(!i)return null;let l=[`${ki(i,!0)}`,\"/R0 gs\"];K9(a,l),l.push(\"h f\");let c=l.join(`\n`),f=new P(t);f.set(\"FormType\",1),f.setIfName(\"Subtype\",\"Form\"),f.setIfName(\"Type\",\"XObject\"),f.set(\"BBox\",r),f.set(\"Length\",c.length);let h=new P(t),u=new P(t);h.set(\"ExtGState\",u),f.set(\"Resources\",h);let d=new P(t);return u.set(\"R0\",d),d.setIfName(\"BM\",\"Multiply\"),o!==1&&(d.set(\"ca\",o),d.setIfName(\"Type\",\"ExtGState\")),new Hn(c,f)}},oc=class extends is{constructor(e){super(e);let{dict:t,xref:s}=e;if(this.data.isEditable=!this.data.noHTML,this.data.noHTML=!1,this.data.opacity=t.get(\"CA\")||1,this.data.quadPoints=sf(t,null)){if(!this.appearance){let r=Jn(this.color,[1,1,0]),a=t.get(\"CA\");this._setDefaultAppearance({xref:s,fillColor:r,blendMode:\"Multiply\",fillAlpha:a,pointsCallback:(o,l)=>(o.push(`${l[0]} ${l[1]} m`,`${l[2]} ${l[3]} l`,`${l[6]} ${l[7]} l`,`${l[4]} ${l[5]} l`,\"f\"),[l[0],l[7],l[2],l[3]])})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}static createNewDict(e,t,{apRef:s,ap:i}){let{color:r,date:a,oldAnnotation:o,opacity:l,rect:c,rotation:f,user:h,quadPoints:u}=e,d=o||new P(t);if(d.setIfNotExists(\"Type\",ce.get(\"Annot\")),d.setIfNotExists(\"Subtype\",ce.get(\"Highlight\")),d.set(o?\"M\":\"CreationDate\",`D:${Fr(a)}`),d.setIfArray(\"Rect\",c),d.setIfNotExists(\"F\",4),d.setIfNotExists(\"Border\",[0,0,0]),d.setIfNumber(\"Rotate\",f),d.setIfArray(\"QuadPoints\",u),d.setIfArray(\"C\",Jn(r)),d.setIfNumber(\"CA\",l),d.setIfDefined(\"T\",Dn(h)),s||i){let p=new P(t);d.set(\"AP\",p),p.set(\"N\",s||i)}return d}static async createNewAppearanceStream(e,t,s){let{color:i,rect:r,outlines:a,opacity:o}=e;if(!i)return null;let l=[`${ki(i,!0)}`,\"/R0 gs\"],c=[];for(let m of a){c.length=0,c.push(`${_t(m[0])} ${_t(m[1])} m`);for(let g=2,b=m.length;g<b;g+=2)c.push(`${_t(m[g])} ${_t(m[g+1])} l`);c.push(\"h\"),l.push(c.join(`\n`))}l.push(\"f*\");let f=l.join(`\n`),h=new P(t);h.set(\"FormType\",1),h.setIfName(\"Subtype\",\"Form\"),h.setIfName(\"Type\",\"XObject\"),h.set(\"BBox\",r),h.set(\"Length\",f.length);let u=new P(t),d=new P(t);u.set(\"ExtGState\",d),h.set(\"Resources\",u);let p=new P(t);return d.set(\"R0\",p),p.setIfName(\"BM\",\"Multiply\"),o!==1&&(p.set(\"ca\",o),p.setIfName(\"Type\",\"ExtGState\")),new Hn(f,h)}},r3=class extends is{constructor(e){super(e);let{dict:t,xref:s}=e;if(this.data.quadPoints=sf(t,null)){if(!this.appearance){let r=Jn(this.color,[0,0,0]),a=t.get(\"CA\");this._setDefaultAppearance({xref:s,extra:\"[] 0 d 0.571 w\",strokeColor:r,strokeAlpha:a,pointsCallback:(o,l)=>(o.push(`${l[4]} ${l[5]+1.3} m`,`${l[6]} ${l[7]+1.3} l`,\"S\"),[l[0],l[7],l[2],l[3]])})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}},a3=class extends is{constructor(e){super(e);let{dict:t,xref:s}=e;if(this.data.quadPoints=sf(t,null)){if(!this.appearance){let r=Jn(this.color,[0,0,0]),a=t.get(\"CA\");this._setDefaultAppearance({xref:s,extra:\"[] 0 d 1 w\",strokeColor:r,strokeAlpha:a,pointsCallback:(o,l)=>{let c=(l[1]-l[5])/6,f=c,h=l[4],u=l[5],d=l[6];o.push(`${h} ${u+f} m`);do h+=2,f=f===0?c:0,o.push(`${h} ${u+f} l`);while(h<d);return o.push(\"S\"),[l[4],u-2*c,d,u+2*c]}})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}},o3=class extends is{constructor(e){super(e);let{dict:t,xref:s}=e;if(this.data.quadPoints=sf(t,null)){if(!this.appearance){let r=Jn(this.color,[0,0,0]),a=t.get(\"CA\");this._setDefaultAppearance({xref:s,extra:\"[] 0 d 1 w\",strokeColor:r,strokeAlpha:a,pointsCallback:(o,l)=>(o.push(`${(l[0]+l[4])/2} ${(l[1]+l[5])/2} m`,`${(l[2]+l[6])/2} ${(l[3]+l[7])/2} l`,\"S\"),[l[0],l[7],l[2],l[3]])})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}},ua=class extends is{#e=null;constructor(e){super(e),this.data.hasOwnCanvas=this.data.noRotate,this.data.isEditable=!this.data.noHTML,this.data.noHTML=!1}mustBeViewedWhenEditing(e,t=null){return e?(this.data.isEditable&&(this.#e??=this.data.hasOwnCanvas,this.data.hasOwnCanvas=!0),!0):(this.#e!==null&&(this.data.hasOwnCanvas=this.#e,this.#e=null),!t?.has(this.data.id))}static createNewDict(e,t,{apRef:s,ap:i}){let{date:r,oldAnnotation:a,rect:o,rotation:l,user:c}=e,f=a||new P(t);if(f.setIfNotExists(\"Type\",ce.get(\"Annot\")),f.setIfNotExists(\"Subtype\",ce.get(\"Stamp\")),f.set(a?\"M\":\"CreationDate\",`D:${Fr(r)}`),f.setIfArray(\"Rect\",o),f.setIfNotExists(\"F\",4),f.setIfNotExists(\"Border\",[0,0,0]),f.setIfNumber(\"Rotate\",l),f.setIfDefined(\"T\",Dn(c)),s||i){let h=new P(t);f.set(\"AP\",h),h.set(\"N\",s||i)}return f}static async#n(e,t){let{areContours:s,color:i,rect:r,lines:a,thickness:o}=e;if(!i)return null;let l=[`${o} w 1 J 1 j`,`${ki(i,s)}`];for(let h of a)K9(h,l,!0);l.push(s?\"F\":\"S\");let c=l.join(`\n`),f=new P(t);return f.set(\"FormType\",1),f.setIfName(\"Subtype\",\"Form\"),f.setIfName(\"Type\",\"XObject\"),f.set(\"BBox\",r),f.set(\"Length\",c.length),new Hn(c,f)}static async createNewAppearanceStream(e,t,s){if(e.oldAnnotation)return null;if(e.isSignature)return this.#n(e,t);let{rotation:i}=e,{imageRef:r,width:a,height:o}=s.image,l=new P(t),c=new P(t);l.set(\"XObject\",c),c.set(\"Im0\",r);let f=`q ${a} 0 0 ${o} 0 0 cm /Im0 Do Q`,h=new P(t);if(h.set(\"FormType\",1),h.setIfName(\"Subtype\",\"Form\"),h.setIfName(\"Type\",\"XObject\"),h.set(\"BBox\",[0,0,a,o]),h.set(\"Resources\",l),i){let u=J0(i,a,o);h.set(\"Matrix\",u)}return new Hn(f,h)}},l3=class extends is{constructor(e){super(e);let{annotationGlobals:t,dict:s}=e,i=s.get(\"FS\");this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1,this.data.fileId=this._getAttachmentId(i,s.getRaw(\"FS\"),t),this.data.file=new ps(i).serializable;let r=s.get(\"Name\");this.data.name=r instanceof ce?st(r.name):\"PushPin\";let a=s.get(\"ca\");this.data.fillAlpha=typeof a==\"number\"&&a>=0&&a<=1?a:null}},Ma=class n extends Dr{static#e=/^(?:video|audio)\\/[a-z0-9][\\w!#$&^.+-]{0,126}$/i;static#n=/^(?:video|audio)\\/[a-z0-9][\\w!#$&^.+-]{0,126}(?: *; *[a-z0-9][\\w!#$&^.+-]{0,126} *= *(?:[-!#$%&'*+.^\\x60{|}~\\w]+|\"(?:[\\x20\\x21\\x23-\\x5b\\x5d-\\x7e]|\\\\[\\x20-\\x7e])*\"))* *$/i;constructor(e){super(e),this.data.noHTML=!0}_setMediaData({assetRef:e,assetDict:t,filename:s,contentType:i,wrapSound:r=!1},a){this.data.noHTML=!1,this.data.richMedia={fileId:this._getAttachmentId(t,e,a,r),filename:s,contentType:i}}static _getContentType(e,t,s=null,i=!1){if(typeof s==\"string\"&&(i?n.#e:n.#n).test(s))return s;let r=ps.pickPlatformItem(e.get(\"EF\")),a=r instanceof Xe?r.dict?.get(\"Subtype\"):null;if(a instanceof ce&&n.#e.test(a.name))return a.name;let o=t.lastIndexOf(\".\")+1;switch(o>0&&t.substring(o).toLowerCase()){case\"mp4\":case\"m4v\":return\"video/mp4\";case\"webm\":return\"video/webm\";case\"ogv\":return\"video/ogg\";case\"mov\":return\"video/quicktime\";case\"mp3\":return\"audio/mpeg\";case\"m4a\":return\"audio/mp4\";case\"wav\":return\"audio/wav\";case\"oga\":case\"ogg\":return\"audio/ogg\";default:return null}}},c3=class n extends Ma{constructor(e){super(e);let{dict:t,xref:s,annotationGlobals:i}=e,r=t.get(\"RichMediaContent\");if(!(r instanceof P))return;let a=n.#e(r,s);if(!a){B(\"RichMedia annotation has no playable asset.\");return}this._setMediaData(a,i)}static#e(e,t){let s=e.get(\"Configurations\");if(!Array.isArray(s))return null;for(let i of s){let r=t.fetchIfRef(i);if(!(r instanceof P))continue;let a=r.get(\"Instances\");if(Array.isArray(a))for(let o of a){let l=t.fetchIfRef(o);if(!(l instanceof P)||Ke(l.get(\"Subtype\"),\"Flash\"))continue;let c=l.getRaw(\"Asset\"),f=t.fetchIfRef(c);if(!(f instanceof P)||!ps.hasEmbeddedFile(f))continue;let{filename:h}=new ps(f).serializable,u=Ma._getContentType(f,h);if(u)return{assetRef:c instanceof fe?c:null,assetDict:f,filename:h,contentType:u}}}return null}},f3=class n extends Ma{constructor(e){super(e);let{dict:t,xref:s,annotationGlobals:i}=e,r=n.#e(t,s);r&&this._setMediaData(r,i)}static#e(e,t){for(let s of this.#n(e)){let i=this.#s(s.get(\"R\"),t,new xt);if(i)return i}return null}static*#n(e){let t=e.get(\"A\");this.#t(t)&&(yield t);let s=e.get(\"AA\");if(s instanceof P)for(let[,i]of s)this.#t(i)&&(yield i)}static#t(e){if(!(e instanceof P)||!Ke(e.get(\"S\"),\"Rendition\"))return!1;let t=e.get(\"OP\");return t===void 0||t===Q5.PLAY_OR_RESUME||t===Q5.PLAY}static#s(e,t,s){if(!(e instanceof P))return null;let i=e.get(\"S\");if(Ke(i,\"MR\"))return this.#i(e.get(\"C\"),t);if(Ke(i,\"SR\")){let r=e.get(\"R\");if(Array.isArray(r))for(let a of r){if(a instanceof fe){if(s.has(a))continue;s.put(a)}let o=this.#s(t.fetchIfRef(a),t,s);if(o)return o}}return null}static#i(e,t){if(!(e instanceof P)||!Ke(e.get(\"S\"),\"MCD\"))return null;let s=e.getRaw(\"D\"),i=t.fetchIfRef(s),r=e.get(\"CT\"),a=typeof r==\"string\"?r:null,o=!1,l,c;if(i instanceof Xe){l=i.dict;let h=e.get(\"N\");if(c=typeof h==\"string\"?st(h):\"\",!a){let u=i.dict.get(\"Subtype\");u instanceof ce&&(a=u.name,o=!0)}}else if(i instanceof P){if(!ps.hasEmbeddedFile(i))return null;l=i,{filename:c}=new ps(i).serializable}else return null;let f=Ma._getContentType(l,c,a,o);return f?{assetRef:s instanceof fe?s:null,assetDict:l,filename:c,contentType:f}:null}},h3=class extends Ma{constructor(e){super(e);let{dict:t,xref:s,annotationGlobals:i}=e,r=t.getRaw(\"Sound\");if(!(r instanceof fe))return;let a;try{a=s.fetch(r)}catch(o){if(o instanceof Tt)throw o;B(`SoundAnnotation: \"${o}\".`);return}!(a instanceof Xe)||!x4(a.dict)||this._setMediaData({assetRef:r,assetDict:a.dict,filename:\"sound.wav\",contentType:\"audio/wav\",wrapSound:!0},i)}},fC={get r(){return je(this,\"r\",new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]))},get k(){return je(this,\"k\",new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]))}};function Cr(n,e,t){let s=1732584193,i=-271733879,r=-1732584194,a=271733878,o=t+72&-64,l=new Uint8Array(o),c=new DataView(l.buffer),f=0,h;t>0&&(l.set(n.subarray(e,e+t),f),f+=t),l[f++]=128;let u=o-8;f<u&&(f=u),l[f++]=t<<3,l[f++]=t>>5,l[f++]=t>>13,l[f++]=t>>21,l[f++]=t>>>29,f+=3;let d=new Int32Array(16),{k:p,r:m}=fC;for(f=0;f<o;){for(h=0;h<16;++h,f+=4)d[h]=c.getInt32(f,!0);let g=s,b=i,x=r,w=a,v,k;for(h=0;h<64;++h){h<16?(v=b&x|~b&w,k=h):h<32?(v=w&b|~w&x,k=5*h+1&15):h<48?(v=b^x^w,k=3*h+5&15):(v=x^(b|~w),k=7*h&15);let j=w,A=g+v+p[h]+d[k]|0,S=m[h];w=x,x=b,b=b+(A<<S|A>>>32-S)|0,g=j}s=s+g|0,i=i+b|0,r=r+x|0,a=a+w|0}return new Uint8Array([s,s>>8,s>>16,s>>>24,i,i>>8,i>>16,i>>>24,r,r>>8,r>>16,r>>>24,a,a>>8,a>>16,a>>>24])}function Jy(n){try{return To(n)}catch(e){return B(`UTF-8 decoding failed: \"${e}\".`),n}}var u3=class extends Po{node=null;onEndElement(e){let t=super.onEndElement(e);if(t&&e===\"xfa:datasets\")throw this.node=t,new Error(\"Aborting DatasetXMLParser.\")}},d3=class{constructor(e){if(e.datasets)this.node=new Po({hasAttributes:!0}).parseFromString(e.datasets).documentElement;else{let t=new u3({hasAttributes:!0});try{t.parseFromString(e[\"xdp:xdp\"])}catch{}this.node=t.node}}getValue(e){if(!this.node||!e)return\"\";let t=this.node.searchNode(H8(e),0);return t?t.firstChild?.nodeName===\"value\"?t.children.map(i=>Jy(i.textContent)):Jy(t.textContent):\"\"}},p3=class{#e;minX=1/0;minY=1/0;maxX=-1/0;maxY=-1/0;#n=null;#t=[];#s=[];#i=-1;#r=!1;constructor(e){this.#e=e;let t=e.data.quadPoints;if(!t){[this.minX,this.minY,this.maxX,this.maxY]=e.data.rect;return}for(let s=0,i=t.length;s<i;s+=8)this.minX=Math.min(this.minX,t[s]),this.maxX=Math.max(this.maxX,t[s+2]),this.minY=Math.min(this.minY,t[s+5]),this.maxY=Math.max(this.maxY,t[s+1]);t.length>8&&(this.#n=t)}#a(e,t){if(this.minX>=e||this.maxX<=e||this.minY>=t||this.maxY<=t)return!1;let s=this.#n;if(!s)return!0;if(this.#i>=0){let i=this.#i;if(!(s[i]>=e||s[i+2]<=e||s[i+5]>=t||s[i+1]<=t))return!0;this.#i=-1}for(let i=0,r=s.length;i<r;i+=8)if(!(s[i]>=e||s[i+2]<=e||s[i+5]>=t||s[i+1]<=t))return this.#i=i,!0;return!1}addGlyph(e,t,s){return this.#a(e,t)?(this.#s.length>0&&(this.#t.push(this.#s.join(\"\")),this.#s.length=0),this.#t.push(s),this.#r=!0,!0):(this.disableExtraChars(),!1)}addExtraChar(e){this.#r&&this.#s.push(e)}disableExtraChars(){this.#r&&(this.#r=!1,this.#s.length=0)}setText(){this.#e.data.overlaidText=this.#t.join(\"\")}},aa=64,m3=class{#e=[];#n=[];#t;#s;#i;#r;#a;#o;constructor(e){let t=1/0,s=1/0,i=-1/0,r=-1/0,a=this.#e;for(let o of e){if(!o.data.quadPoints&&!o.data.rect)continue;let l=new p3(o);a.push(l),t=Math.min(t,l.minX),s=Math.min(s,l.minY),i=Math.max(i,l.maxX),r=Math.max(r,l.maxY)}this.#t=t,this.#i=s,this.#s=i,this.#r=r,this.#a=(aa-1)/(i-t),this.#o=(aa-1)/(r-s);for(let o of a){let l=this.#l(o.minX,o.minY),c=this.#l(o.maxX,o.maxY),f=(c-l)%aa,h=Math.floor((c-l)/aa);for(let u=l;u<=l+h*aa;u+=aa)for(let d=0;d<=f;d++)(this.#n[u+d]??=[]).push(o)}}#l(e,t){let s=Math.floor((e-this.#t)*this.#a),i=Math.floor((t-this.#i)*this.#o);return s+i*aa}addGlyph(e,t,s,i){let r=e[4]+t/2,a=e[5]+s/2;if(r<this.#t||a<this.#i||r>this.#s||a>this.#r)return;let o=this.#n[this.#l(r,a)];if(o)for(let l of o)l.addGlyph(r,a,i)}addExtraChar(e){for(let t of this.#e)t.addExtraChar(e)}setText(){for(let e of this.#e)e.setText()}},Ie=class{constructor(e,t){this.high=e|0,this.low=t|0}and(e){this.high&=e.high,this.low&=e.low}xor(e){this.high^=e.high,this.low^=e.low}shiftRight(e){this.low=this.low>>>e|this.high<<32-e,this.high=this.high>>>e|0}rotateRight(e){let t,s;e&32?(s=this.low,t=this.high):(t=this.low,s=this.high),e&=31,this.low=t>>>e|s<<32-e,this.high=s>>>e|t<<32-e}not(){this.high=~this.high,this.low=~this.low}add(e){let t=(this.low>>>0)+(e.low>>>0),s=(this.high>>>0)+(e.high>>>0);t>4294967295&&(s+=1),this.low=t|0,this.high=s|0}copyTo(e,t){e.setUint32(t,this.high),e.setUint32(t+4,this.low)}assign(e){this.high=e.high,this.low=e.low}},hC={get k(){return je(this,\"k\",[new Ie(1116352408,3609767458),new Ie(1899447441,602891725),new Ie(3049323471,3964484399),new Ie(3921009573,2173295548),new Ie(961987163,4081628472),new Ie(1508970993,3053834265),new Ie(2453635748,2937671579),new Ie(2870763221,3664609560),new Ie(3624381080,2734883394),new Ie(310598401,1164996542),new Ie(607225278,1323610764),new Ie(1426881987,3590304994),new Ie(1925078388,4068182383),new Ie(2162078206,991336113),new Ie(2614888103,633803317),new Ie(3248222580,3479774868),new Ie(3835390401,2666613458),new Ie(4022224774,944711139),new Ie(264347078,2341262773),new Ie(604807628,2007800933),new Ie(770255983,1495990901),new Ie(1249150122,1856431235),new Ie(1555081692,3175218132),new Ie(1996064986,2198950837),new Ie(2554220882,3999719339),new Ie(2821834349,766784016),new Ie(2952996808,2566594879),new Ie(3210313671,3203337956),new Ie(3336571891,1034457026),new Ie(3584528711,2466948901),new Ie(113926993,3758326383),new Ie(338241895,168717936),new Ie(666307205,1188179964),new Ie(773529912,1546045734),new Ie(1294757372,1522805485),new Ie(1396182291,2643833823),new Ie(1695183700,2343527390),new Ie(1986661051,1014477480),new Ie(2177026350,1206759142),new Ie(2456956037,344077627),new Ie(2730485921,1290863460),new Ie(2820302411,3158454273),new Ie(3259730800,3505952657),new Ie(3345764771,106217008),new Ie(3516065817,3606008344),new Ie(3600352804,1432725776),new Ie(4094571909,1467031594),new Ie(275423344,851169720),new Ie(430227734,3100823752),new Ie(506948616,1363258195),new Ie(659060556,3750685593),new Ie(883997877,3785050280),new Ie(958139571,3318307427),new Ie(1322822218,3812723403),new Ie(1537002063,2003034995),new Ie(1747873779,3602036899),new Ie(1955562222,1575990012),new Ie(2024104815,1125592928),new Ie(2227730452,2716904306),new Ie(2361852424,442776044),new Ie(2428436474,593698344),new Ie(2756734187,3733110249),new Ie(3204031479,2999351573),new Ie(3329325298,3815920427),new Ie(3391569614,3928383900),new Ie(3515267271,566280711),new Ie(3940187606,3454069534),new Ie(4118630271,4000239992),new Ie(116418474,1914138554),new Ie(174292421,2731055270),new Ie(289380356,3203993006),new Ie(460393269,320620315),new Ie(685471733,587496836),new Ie(852142971,1086792851),new Ie(1017036298,365543100),new Ie(1126000580,2618297676),new Ie(1288033470,3409855158),new Ie(1501505948,4234509866),new Ie(1607167915,987167468),new Ie(1816402316,1246189591)])}};function uC(n,e,t,s,i){n.assign(e),n.and(t),i.assign(e),i.not(),i.and(s),n.xor(i)}function dC(n,e,t,s,i){n.assign(e),n.and(t),i.assign(e),i.and(s),n.xor(i),i.assign(t),i.and(s),n.xor(i)}function pC(n,e,t){n.assign(e),n.rotateRight(28),t.assign(e),t.rotateRight(34),n.xor(t),t.assign(e),t.rotateRight(39),n.xor(t)}function mC(n,e,t){n.assign(e),n.rotateRight(14),t.assign(e),t.rotateRight(18),n.xor(t),t.assign(e),t.rotateRight(41),n.xor(t)}function gC(n,e,t){n.assign(e),n.rotateRight(1),t.assign(e),t.rotateRight(8),n.xor(t),t.assign(e),t.shiftRight(7),n.xor(t)}function bC(n,e,t){n.assign(e),n.rotateRight(19),t.assign(e),t.rotateRight(61),n.xor(t),t.assign(e),t.shiftRight(6),n.xor(t)}function H4(n,e,t,s=!1){let i,r,a,o,l,c,f,h;s?(i=new Ie(3418070365,3238371032),r=new Ie(1654270250,914150663),a=new Ie(2438529370,812702999),o=new Ie(355462360,4144912697),l=new Ie(1731405415,4290775857),c=new Ie(2394180231,1750603025),f=new Ie(3675008525,1694076839),h=new Ie(1203062813,3204075428)):(i=new Ie(1779033703,4089235720),r=new Ie(3144134277,2227873595),a=new Ie(1013904242,4271175723),o=new Ie(2773480762,1595750129),l=new Ie(1359893119,2917565137),c=new Ie(2600822924,725511199),f=new Ie(528734635,4215389547),h=new Ie(1541459225,327033209));let u=Math.ceil((t+17)/128)*128,d=new Uint8Array(u),p=new DataView(d.buffer),m=0,g;t>0&&(d.set(n.subarray(e,e+t),m),m+=t),d[m++]=128;let b=u-16;m<b&&(m=b),m+=11,d[m++]=t>>>29,d[m++]=t>>21,d[m++]=t>>13,d[m++]=t>>5,d[m++]=t<<3;let x=new Array(80);for(m=0;m<80;m++)x[m]=new Ie(0,0);let{k:w}=hC,v=new Ie(0,0),k=new Ie(0,0),j=new Ie(0,0),A=new Ie(0,0),S=new Ie(0,0),q=new Ie(0,0),_=new Ie(0,0),I=new Ie(0,0),C=new Ie(0,0),T=new Ie(0,0),M=new Ie(0,0),E=new Ie(0,0),G;for(m=0;m<u;){for(g=0;g<16;++g,m+=8)x[g].high=p.getInt32(m),x[g].low=p.getInt32(m+4);for(g=16;g<80;++g)G=x[g],bC(G,x[g-2],E),G.add(x[g-7]),gC(M,x[g-15],E),G.add(M),G.add(x[g-16]);for(v.assign(i),k.assign(r),j.assign(a),A.assign(o),S.assign(l),q.assign(c),_.assign(f),I.assign(h),g=0;g<80;++g)C.assign(I),mC(M,S,E),C.add(M),uC(M,S,q,_,E),C.add(M),C.add(w[g]),C.add(x[g]),pC(T,v,E),dC(M,v,k,j,E),T.add(M),G=I,I=_,_=q,q=S,A.add(C),S=A,A=j,j=k,k=v,G.assign(C),G.add(T),v=G;i.add(v),r.add(k),a.add(j),o.add(A),l.add(S),c.add(q),f.add(_),h.add(I)}let D;if(s){D=new Uint8Array(48);let N=new DataView(D.buffer);i.copyTo(N,0),r.copyTo(N,8),a.copyTo(N,16),o.copyTo(N,24),l.copyTo(N,32),c.copyTo(N,40)}else{D=new Uint8Array(64);let N=new DataView(D.buffer);i.copyTo(N,0),r.copyTo(N,8),a.copyTo(N,16),o.copyTo(N,24),l.copyTo(N,32),c.copyTo(N,40),f.copyTo(N,48),h.copyTo(N,56)}return D}function wC(n,e,t){return H4(n,e,t,!0)}var xC={get k(){return je(this,\"k\",[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 zi(n,e){return n>>>e|n<<32-e}function vC(n,e,t){return n&e^~n&t}function yC(n,e,t){return n&e^n&t^e&t}function kC(n){return zi(n,2)^zi(n,13)^zi(n,22)}function jC(n){return zi(n,6)^zi(n,11)^zi(n,25)}function AC(n){return zi(n,7)^zi(n,18)^n>>>3}function SC(n){return zi(n,17)^zi(n,19)^n>>>10}function g3(n,e,t){let s=1779033703,i=3144134277,r=1013904242,a=2773480762,o=1359893119,l=2600822924,c=528734635,f=1541459225,h=Math.ceil((t+9)/64)*64,u=new Uint8Array(h),d=new DataView(u.buffer),p=0,m;t>0&&(u.set(n.subarray(e,e+t),p),p+=t),u[p++]=128;let g=h-8;p<g&&(p=g),p+=3,u[p++]=t>>>29,u[p++]=t>>21,u[p++]=t>>13,u[p++]=t>>5,u[p++]=t<<3;let b=new Uint32Array(64),{k:x}=xC;for(p=0;p<h;){for(m=0;m<16;++m,p+=4)b[m]=d.getInt32(p);for(m=16;m<64;++m)b[m]=SC(b[m-2])+b[m-7]+AC(b[m-15])+b[m-16]|0;let w=s,v=i,k=r,j=a,A=o,S=l,q=c,_=f,I,C;for(m=0;m<64;++m)I=_+jC(A)+vC(A,S,q)+x[m]+b[m],C=kC(w)+yC(w,v,k),_=q,q=S,S=A,A=j+I|0,j=k,k=v,v=w,w=I+C|0;s=s+w|0,i=i+v|0,r=r+k|0,a=a+j|0,o=o+A|0,l=l+S|0,c=c+q|0,f=f+_|0}return new Uint8Array([s>>24,s>>16,s>>8,s,i>>24,i>>16,i>>8,i,r>>24,r>>16,r>>8,r,a>>24,a>>16,a>>8,a,o>>24,o>>16,o>>8,o,l>>24,l>>16,l>>8,l,c>>24,c>>16,c>>8,c,f>>24,f>>16,f>>8,f])}var Qy=512,b3=class extends Wn{#e=null;constructor(e,t,s){super(t),this.stream=e,this.dict=e.dict,this.decrypt=s}readBlock(){let e=this.#e??this.stream.getBytes(Qy);if(!e.length){this.eof=!0;return}this.#e=this.stream.getBytes(Qy);let t=this.#e.length>0,s=this.decrypt;e=s(e,!t);let i=this.bufferLength,r=i+e.length;this.ensureBuffer(r).set(e,i),this.bufferLength=r}getOriginalStream(){return this}},qC=new Set([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8239,8287,12288]),_C=new Set([173,847,6150,6155,6156,6157,8203,8204,8205,8288,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279]);function IC(n){let e=\"\";for(let t of n){let s=t.codePointAt(0);qC.has(s)?e+=\" \":_C.has(s)||(e+=t)}return e.normalize(\"NFKC\")}var ir=class{a=0;b=0;constructor(e){let t=ft.identity0to256Map.slice(),s=e.length;for(let i=0,r=0;i<256;++i){let a=t[i];r=r+a+e[i%s]&255,t[i]=t[r],t[r]=a}this.s=t}encryptBlock(e){let t=this.a,s=this.b,i=this.s,r=e.length,a=new Uint8Array(r);for(let o=0;o<r;++o){t=t+1&255;let l=i[t];s=s+l&255;let c=i[s];i[t]=c,i[s]=l,a[o]=e[o]^i[l+c&255]}return this.a=t,this.b=s,a}decryptBlock(e){return this.encryptBlock(e)}encrypt(e){return this.encryptBlock(e)}},w3=class{decryptBlock(e){return e}encrypt(e){return e}},Vc=class{_s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]);_inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]);_mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]);_mixCol=Uint8Array.from({length:256},(e,t)=>t<128?t<<1:t<<1^27);constructor(){this.buffer=new Uint8Array(16),this.bufferPosition=0}_expandKey(e){dt(\"Cannot call `_expandKey` on the base class\")}_decrypt(e,t){let s,i,r,a=new Uint8Array(16);a.set(e);for(let o=0,l=this._keySize;o<16;++o,++l)a[o]^=t[l];for(let o=this._cyclesOfRepetition-1;o>=1;--o){s=a[13],a[13]=a[9],a[9]=a[5],a[5]=a[1],a[1]=s,s=a[14],i=a[10],a[14]=a[6],a[10]=a[2],a[6]=s,a[2]=i,s=a[15],i=a[11],r=a[7],a[15]=a[3],a[11]=s,a[7]=i,a[3]=r;for(let l=0;l<16;++l)a[l]=this._inv_s[a[l]];for(let l=0,c=o*16;l<16;++l,++c)a[l]^=t[c];for(let l=0;l<16;l+=4){let c=this._mix[a[l]],f=this._mix[a[l+1]],h=this._mix[a[l+2]],u=this._mix[a[l+3]];s=c^f>>>8^f<<24^h>>>16^h<<16^u>>>24^u<<8,a[l]=s>>>24&255,a[l+1]=s>>16&255,a[l+2]=s>>8&255,a[l+3]=s&255}}s=a[13],a[13]=a[9],a[9]=a[5],a[5]=a[1],a[1]=s,s=a[14],i=a[10],a[14]=a[6],a[10]=a[2],a[6]=s,a[2]=i,s=a[15],i=a[11],r=a[7],a[15]=a[3],a[11]=s,a[7]=i,a[3]=r;for(let o=0;o<16;++o)a[o]=this._inv_s[a[o]],a[o]^=t[o];return a}_encrypt(e,t){let s=this._s,i,r,a,o=new Uint8Array(16);o.set(e);for(let l=0;l<16;++l)o[l]^=t[l];for(let l=1;l<this._cyclesOfRepetition;l++){for(let c=0;c<16;++c)o[c]=s[o[c]];a=o[1],o[1]=o[5],o[5]=o[9],o[9]=o[13],o[13]=a,a=o[2],r=o[6],o[2]=o[10],o[6]=o[14],o[10]=a,o[14]=r,a=o[3],r=o[7],i=o[11],o[3]=o[15],o[7]=a,o[11]=r,o[15]=i;for(let c=0;c<16;c+=4){let f=o[c],h=o[c+1],u=o[c+2],d=o[c+3];i=f^h^u^d,o[c]^=i^this._mixCol[f^h],o[c+1]^=i^this._mixCol[h^u],o[c+2]^=i^this._mixCol[u^d],o[c+3]^=i^this._mixCol[d^f]}for(let c=0,f=l*16;c<16;++c,++f)o[c]^=t[f]}for(let l=0;l<16;++l)o[l]=s[o[l]];a=o[1],o[1]=o[5],o[5]=o[9],o[9]=o[13],o[13]=a,a=o[2],r=o[6],o[2]=o[10],o[6]=o[14],o[10]=a,o[14]=r,a=o[3],r=o[7],i=o[11],o[3]=o[15],o[7]=a,o[11]=r,o[15]=i;for(let l=0,c=this._keySize;l<16;++l,++c)o[l]^=t[c];return o}_decryptBlock2(e,t){let s=e.length,i=this.buffer,r=this.bufferPosition,a=[],o=this.iv;for(let f=0;f<s;++f){if(i[r]=e[f],++r,r<16)continue;let h=this._decrypt(i,this._key);for(let u=0;u<16;++u)h[u]^=o[u];o=i,a.push(h),i=new Uint8Array(16),r=0}if(this.buffer=i,this.bufferLength=r,this.iv=o,a.length===0)return new Uint8Array(0);let l=16*a.length;if(t){let f=a.at(-1),h=f[15];if(h<=16){for(let u=15,d=16-h;u>=d;--u)if(f[u]!==h){h=0;break}l-=h,a[a.length-1]=f.subarray(0,16-h)}}let c=new Uint8Array(l);for(let f=0,h=0,u=a.length;f<u;++f,h+=16)c.set(a[f],h);return c}decryptBlock(e,t,s=null){let i=e.length,r=this.buffer,a=this.bufferPosition;if(s)this.iv=s;else{for(let o=0;a<16&&o<i;++o,++a)r[a]=e[o];if(a<16)return this.bufferLength=a,new Uint8Array(0);this.iv=r,e=e.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=this._decryptBlock2,this.decryptBlock(e,t)}encrypt(e,t){let s=e.length,i=this.buffer,r=this.bufferPosition,a=[];t||=new Uint8Array(16);for(let c=0;c<s;++c){if(i[r]=e[c],++r,r<16)continue;for(let h=0;h<16;++h)i[h]^=t[h];let f=this._encrypt(i,this._key);t=f,a.push(f),i=new Uint8Array(16),r=0}if(this.buffer=i,this.bufferLength=r,this.iv=t,a.length===0)return new Uint8Array(0);let o=16*a.length,l=new Uint8Array(o);for(let c=0,f=0,h=a.length;c<h;++c,f+=16)l.set(a[c],f);return l}},ou=class extends Vc{_rcon=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]);constructor(e){super(),this._cyclesOfRepetition=10,this._keySize=160,this._key=this._expandKey(e)}_expandKey(e){let s=this._s,i=this._rcon,r=new Uint8Array(176);r.set(e);for(let a=16,o=1;a<176;++o){let l=r[a-3],c=r[a-2],f=r[a-1],h=r[a-4];l=s[l],c=s[c],f=s[f],h=s[h],l^=i[o];for(let u=0;u<4;++u)r[a]=l^=r[a-16],a++,r[a]=c^=r[a-16],a++,r[a]=f^=r[a-16],a++,r[a]=h^=r[a-16],a++}return r}},Kc=class extends Vc{constructor(e){super(),this._cyclesOfRepetition=14,this._keySize=224,this._key=this._expandKey(e)}_expandKey(e){let s=this._s,i=new Uint8Array(240);i.set(e);let r=1,a,o,l,c;for(let f=32,h=1;f<240;++h){f%32===16?(a=s[a],o=s[o],l=s[l],c=s[c]):f%32===0&&(a=i[f-3],o=i[f-2],l=i[f-1],c=i[f-4],a=s[a],o=s[o],l=s[l],c=s[c],a^=r,(r<<=1)>=256&&(r=(r^27)&255));for(let u=0;u<4;++u)i[f]=a^=i[f-32],f++,i[f]=o^=i[f-32],f++,i[f]=l^=i[f-32],f++,i[f]=c^=i[f-32],f++}return i}},lu=class{_hash(e,t,s){dt(\"Abstract method `_hash` called\")}checkOwnerPassword(e,t,s,i){let r=new Uint8Array(e.length+56);r.set(e,0),r.set(t,e.length),r.set(s,e.length+t.length);let a=this._hash(e,r,s);return qa(a,i)}checkUserPassword(e,t,s){let i=new Uint8Array(e.length+8);i.set(e,0),i.set(t,e.length);let r=this._hash(e,i,[]);return qa(r,s)}getOwnerKey(e,t,s,i){let r=new Uint8Array(e.length+56);r.set(e,0),r.set(t,e.length),r.set(s,e.length+t.length);let a=this._hash(e,r,s);return new Kc(a).decryptBlock(i,!1,new Uint8Array(16))}getUserKey(e,t,s){let i=new Uint8Array(e.length+8);i.set(e,0),i.set(t,e.length);let r=this._hash(e,i,[]);return new Kc(r).decryptBlock(s,!1,new Uint8Array(16))}},x3=class extends lu{_hash(e,t,s){return g3(t,0,t.length)}},v3=class extends lu{_hash(e,t,s){let i=g3(t,0,t.length).subarray(0,32),r=[0],a=0;for(;a<64||r.at(-1)>a-32;){let o=e.length+i.length+s.length,l=new Uint8Array(o),c=0;l.set(e,c),c+=e.length,l.set(i,c),c+=i.length,l.set(s,c);let f=new Uint8Array(o*64);for(let d=0,p=0;d<64;d++,p+=o)f.set(l,p);r=new ou(i.subarray(0,16)).encrypt(f,i.subarray(16,32));let u=Math.sumPrecise(r.slice(0,16))%3;u===0?i=g3(r,0,r.length):u===1?i=wC(r,0,r.length):u===2&&(i=H4(r,0,r.length)),a++}return i.subarray(0,32)}},cu=class{#e=new Map;embeddedFilterName=null;constructor(e,t=null,s=null){this.resolveCipher=e,this.streamFilterName=s,this.stringFilterName=t}#n(e=null){let t=e instanceof ce?e.name:\"__default__\";return this.#e.getOrInsertComputed(t,()=>this.resolveCipher(e))}createStream(e,t,s=null){let i=this.#n(s||this.#t(e.dict)),r=new i;return new b3(e,t,function(o,l){return r.decryptBlock(o,l)})}decryptString(e){let t=this.#n(this.stringFilterName),s=new t,i=Vt(e);return i=s.decryptBlock(i,!0),ms(i)}encryptString(e){return this.#s(e,this.stringFilterName)}encryptStream(e,t,s=null){return this.#s(e,s||this.#t(t))}#t(e){return this.embeddedFilterName&&_a(e,\"EmbeddedFile\")?this.embeddedFilterName:this.streamFilterName}#s(e,t){let s=this.#n(t),i=new s;if(i instanceof Vc){let o=16-e.length%16;e+=String.fromCharCode(o).repeat(o);let l=new Uint8Array(16);crypto.getRandomValues(l);let c=Vt(e);c=i.encrypt(c,l);let f=new Uint8Array(16+c.length);return f.set(l),f.set(c,16),ms(f)}let r=Vt(e);return r=i.encrypt(r),ms(r)}};function Em(n){try{n=Mm(n)}catch{B(\"CipherTransformFactory: Unable to convert UTF8 encoded password.\")}return Vt(n)}var y3=class n{#e;static get _defaultPasswordBytes(){return je(this,\"_defaultPasswordBytes\",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]))}#n(e,t,s,i,r,a,o,l,c,f,h,u){if(t){let p=Math.min(127,t.length);t=t.subarray(0,p)}else t=[];let d=e===6?new v3:new x3;return d.checkUserPassword(t,l,o)?d.getUserKey(t,c,h):t.length&&d.checkOwnerPassword(t,i,a,s)?d.getOwnerKey(t,r,a,f):null}#t(e,t,s,i,r,a,o,l){let c=40+s.length+e.length,f=new Uint8Array(c),h=0,u,d;if(t)for(d=Math.min(32,t.length);h<d;++h)f[h]=t[h];for(u=0;h<32;)f[h++]=n._defaultPasswordBytes[u++];f.set(s,h),h+=s.length,f[h++]=r&255,f[h++]=r>>8&255,f[h++]=r>>16&255,f[h++]=r>>>24&255,f.set(e,h),h+=e.length,a>=4&&!l&&(f.fill(255,h,h+4),h+=4);let p=Cr(f,0,h),m=o>>3;if(a>=3)for(u=0;u<50;++u)p=Cr(p,0,m);let g=p.subarray(0,m),b,x;if(a>=3){h=0,f.set(n._defaultPasswordBytes,h),h+=32,f.set(e,h),h+=e.length,b=new ir(g),x=b.encryptBlock(Cr(f,0,h)),d=g.length;let w=new Uint8Array(d);for(u=1;u<=19;++u){for(let v=0;v<d;++v)w[v]=g[v]^u;b=new ir(w),x=b.encryptBlock(x)}}else b=new ir(g),x=b.encryptBlock(n._defaultPasswordBytes);return x.every((w,v)=>i[v]===w)?g:null}#s(e,t,s,i){let r=new Uint8Array(32),a=0,o=Math.min(32,e.length);for(;a<o;++a)r[a]=e[a];let l=0;for(;a<32;)r[a++]=n._defaultPasswordBytes[l++];let c=Cr(r,0,a),f=i>>3;if(s>=3)for(l=0;l<50;++l)c=Cr(c,0,c.length);let h,u;if(s>=3){u=t;let d=new Uint8Array(f);for(l=19;l>=0;l--){for(let p=0;p<f;++p)d[p]=c[p]^l;h=new ir(d),u=h.encryptBlock(u)}}else h=new ir(c.subarray(0,f)),u=h.encryptBlock(t);return u}#i(e,t,s,i=!1){let r=s.length,a=new Uint8Array(r+9);a.set(s);let o=r;return a[o++]=e&255,a[o++]=e>>8&255,a[o++]=e>>16&255,a[o++]=t&255,a[o++]=t>>8&255,i&&(a[o++]=115,a[o++]=65,a[o++]=108,a[o++]=84),Cr(a,0,o).subarray(0,Math.min(r+5,16))}constructor(e,t,s){let i=e.get(\"Filter\");if(!Ke(i,\"Standard\"))throw new se(\"unknown encryption method\");this.filterName=i.name,this.dict=e,this.#e=t;let r=e.get(\"V\");if(!Number.isInteger(r)||r!==1&&r!==2&&r!==4&&r!==5)throw new se(\"unsupported encryption algorithm\");this.algorithm=r;let a=e.get(\"Length\");if(!a)if(r<=3)a=40;else{let j=e.get(\"CF\"),A=e.get(\"StmF\");j instanceof P&&A instanceof ce&&(j.suppressEncryption=!0,a=j.get(A.name)?.get(\"Length\")||128,a<40&&(a<<=3))}if(!Number.isInteger(a)||a<40||a%8!==0)throw new se(\"invalid key length\");let o=null,l=ce.get(\"Identity\"),c=ce.get(\"Identity\"),f=l;if(r>=4){let j=e.get(\"CF\");j instanceof P&&(j.suppressEncryption=!0,o=j),l=e.get(\"StmF\")||ce.get(\"Identity\"),c=e.get(\"StrF\")||ce.get(\"Identity\"),f=e.get(\"EFF\")||l}this.cf=o,this.stmf=l,this.strf=c,this.eff=f;let h=Vt(e.get(\"O\")),u=Vt(e.get(\"U\")),d=h.subarray(0,32),p=u.subarray(0,32),m=e.get(\"P\"),g=e.get(\"R\"),b=(r===4||r===5)&&e.get(\"EncryptMetadata\")!==!1;this.encryptMetadata=b||r!==4&&r!==5;let x=Vt(t),w,v;if(s)if(g===6){let j=IC(s);w=Em(j),j!==s&&(v=Em(s))}else r===5?w=Em(s):w=Vt(s);let k;if(r!==5)k=this.#t(x,w,d,p,m,g,a,b);else{let j=h.subarray(32,40),A=h.subarray(40,48),S=u.subarray(0,48),q=u.subarray(32,40),_=u.subarray(40,48),I=Vt(e.get(\"OE\")),C=Vt(e.get(\"UE\")),T=Vt(e.get(\"Perms\"));for(let M of v?[w,v]:[w])if(k=this.#n(g,M,d,j,A,S,p,q,_,I,C,T),k)break}if(!k){if(!s){if(this.algorithm>=4&&Ke(this.stmf,\"Identity\")&&Ke(this.strf,\"Identity\")){let S=this.cf?.get(this.eff.name)?.get(\"AuthEvent\");if(Ke(S,\"EFOpen\")){this.encryptionKey=null;return}}throw new vi(\"No password given\",H0.NEED_PASSWORD)}let j=this.#s(w,d,g,a);k=this.#t(x,j,d,p,m,g,a,b)}if(!k)throw new vi(\"Incorrect Password\",H0.INCORRECT_PASSWORD);r===4&&k.length<16?(this.encryptionKey=new Uint8Array(16),this.encryptionKey.set(k)):this.encryptionKey=k}setPassword(e){let t=new n(this.dict,this.#e,e);this.encryptionKey=t.encryptionKey}createCipherTransform(e,t){if(this.algorithm===4||this.algorithm===5){let i=a=>{if(!(a instanceof ce))throw new se(\"Invalid crypt filter name.\");let l=this.cf?.get(a.name)?.get(\"CFM\");if(!l||l.name===\"None\")return w3;if(!this.encryptionKey)throw new vi(\"No password given\",H0.NEED_PASSWORD);if(this.algorithm===5||l.name===\"AESV3\")return Kc.bind(null,this.encryptionKey);if(l.name===\"V2\")return ir.bind(null,this.#i(e,t,this.encryptionKey,!1));if(l.name===\"AESV2\")return ou.bind(null,this.#i(e,t,this.encryptionKey,!0));throw new se(\"Unknown crypto method\")},r=new cu(i,this.strf,this.stmf);return r.embeddedFilterName=this.eff,r}let s=()=>ir.bind(null,this.#i(e,t,this.encryptionKey,!1));return new cu(s)}},k3=class{#e=new Map;#n=[];#t=null;#s=null;#i=!1;#r=new xt;#a=null;#o=new Set;#l=!0;#c=new Set;constructor(e,t){this.stream=e,this.pdfManager=t}getNewPersistentRef(e){this.#t===null&&(this.#t=this.#n.length||1);let t=this.#t++;return this.#e.set(t,e),fe.get(t,0)}getNewTemporaryRef(){if(this.#s===null&&(this.#s=this.#n.length||1,this.#t)){this.#a=new Map;for(let e=this.#s;e<this.#t;e++)this.#a.set(e,this.#e.get(e)),this.#e.delete(e)}return fe.get(this.#s++,0)}resetNewTemporaryRef(){if(this.#s=null,this.#a)for(let[e,t]of this.#a)this.#e.set(e,t);this.#a=null}setStartXRef(e){this.startXRefQueue=[e]}parse(e=!1){this.#i=e;let t;e?(B(\"Indexing all PDF objects\"),t=this.indexObjects()):t=this.readXRef(),t.assignXref(this),this.trailer=t;let s;try{s=t.get(\"Encrypt\")}catch(r){if(r instanceof Tt)throw r;B(`XRef.parse - Invalid \"Encrypt\" reference: \"${r}\".`)}if(s instanceof P){let r=t.get(\"ID\"),a=r?.length?r[0]:\"\";s.suppressEncryption=!0,this.encrypt=new y3(s,a,this.pdfManager.password)}let i;try{i=t.get(\"Root\")}catch(r){if(r instanceof Tt)throw r;B(`XRef.parse - Invalid \"Root\" reference: \"${r}\".`)}if(i instanceof P)try{if(i.get(\"Pages\")instanceof P){this.root=i;return}}catch(r){if(r instanceof Tt)throw r;B(`XRef.parse - Invalid \"Pages\" reference: \"${r}\".`)}throw e?new Sa(\"Invalid Root reference.\"):new lr}processXRefTable(e){this._tableState??={entryNum:0,streamPos:e.lexer.stream.pos,parserBuf1:e.buf1,parserBuf2:e.buf2};let t=this.readXRefTable(e);if(!Bn(t,\"trailer\"))throw new se(\"Invalid XRef table: could not find trailer dictionary\");let s=e.getObj();if(s instanceof Xe&&(s=s.dict),!(s instanceof P))throw new se(\"Invalid XRef table: could not parse trailer dictionary\");return delete this._tableState,s}readXRefTable(e){let t=e.lexer.stream,s=this._tableState;t.pos=s.streamPos,e.buf1=s.parserBuf1,e.buf2=s.parserBuf2;let i;for(;;){if(!(\"firstEntryNum\"in s)||!(\"entryCount\"in s)){if(Bn(i=e.getObj(),\"trailer\"))break;s.firstEntryNum=i,s.entryCount=e.getObj()}let r=s.firstEntryNum,a=s.entryCount;if(!Number.isInteger(r)||!Number.isInteger(a))throw new se(\"Invalid XRef table: wrong types in subsection header\");for(let o=s.entryNum;o<a;o++){s.streamPos=t.pos,s.entryNum=o,s.parserBuf1=e.buf1,s.parserBuf2=e.buf2;let l={offset:e.getObj(),gen:e.getObj(),free:!1,uncompressed:!1},c=e.getObj();if(c instanceof jn)switch(c.cmd){case\"f\":l.free=!0;break;case\"n\":l.uncompressed=!0;break}if(!Number.isInteger(l.offset)||!Number.isInteger(l.gen)||!(l.free||l.uncompressed))throw new se(`Invalid entry in XRef subsection: ${r}, ${a}`);o===0&&l.free&&r===1&&(r=0),this.#n[r+o]??=l}s.entryNum=0,s.streamPos=t.pos,s.parserBuf1=e.buf1,s.parserBuf2=e.buf2,delete s.firstEntryNum,delete s.entryCount}if(this.#n[0]&&!this.#n[0].free)throw new se(\"Invalid XRef table: unexpected first object\");return i}processXRefStream(e){if(!(\"streamState\"in this)){let{dict:t,pos:s}=e,i=t.get(\"W\"),r=t.get(\"Index\")||[0,t.get(\"Size\")];this.streamState={entryRanges:r,byteWidths:i,entryNum:0,streamPos:s}}return this.readXRefStream(e),delete this.streamState,e.dict}readXRefStream(e){let t=this.streamState;e.pos=t.streamPos;let[s,i,r]=t.byteWidths,a=t.entryRanges;for(;a.length>0;){let[o,l]=a;if(!Number.isInteger(o)||!Number.isInteger(l))throw new se(`Invalid XRef range fields: ${o}, ${l}`);if(![s,i,r].every(c=>Number.isInteger(c)&&c>=0)||s+i+r===0)throw new se(`Invalid XRef entry fields length: ${o}, ${l}`);for(let c=t.entryNum;c<l;++c){t.entryNum=c,t.streamPos=e.pos;let f=0,h=0,u=0;for(let p=0;p<s;++p){let m=e.getByte();if(m===-1)throw new se(\"Invalid XRef byteWidths 'type'.\");f=f<<8|m}s===0&&(f=1);for(let p=0;p<i;++p){let m=e.getByte();if(m===-1)throw new se(\"Invalid XRef byteWidths 'offset'.\");h=h*256+m}for(let p=0;p<r;++p){let m=e.getByte();if(m===-1)throw new se(\"Invalid XRef byteWidths 'generation'.\");u=u<<8|m}let d={offset:h,gen:u,free:!1,uncompressed:!1};switch(f){case 0:d.free=!0;break;case 1:d.uncompressed=!0;break;case 2:break;default:throw new se(`Invalid XRef entry type: ${f}`)}this.#n[o+c]??=d}t.entryNum=0,t.streamPos=e.pos,a.splice(0,2)}}indexObjects(){function o(_,I){let C=\"\",T=_[I];for(;T!==10&&T!==13&&T!==60&&!(++I>=_.length);)C+=String.fromCharCode(T),T=_[I];return C}function l(_,I,C){let T=C.length,M=_.length,E=0;for(;I<M;){let G=0;for(;G<T&&_[I+G]===C[G];)++G;if(G>=T)break;I++,E++}return E}let c=/\\b(endobj|\\d+\\s+\\d+\\s+obj|xref|trailer\\s*<<)\\b/g,f=/\\b(startxref|\\d+\\s+\\d+\\s+obj)\\b/g,h=/^(\\d+)\\s+(\\d+)\\s+obj\\b/,u=new Uint8Array([116,114,97,105,108,101,114]),d=new Uint8Array([115,116,97,114,116,120,114,101,102]),p=new Uint8Array([47,88,82,101,102]);this.#n.length=0,this.#e.clear();let m=this.stream;m.pos=0;let g=m.getBytes(),b=ms(g),x=g.length,w=m.start,v=[],k=[];for(;w<x;){let _=g[w];if(_===9||_===10||_===13||_===32){++w;continue}if(_===37){do{if(++w,w>=x)break;_=g[w]}while(_!==10&&_!==13);continue}let I=o(g,w),C;if(I.startsWith(\"xref\")&&(I.length===4||/\\s/.test(I[4])))w+=l(g,w,u),v.push(w),w+=l(g,w,d);else if(C=h.exec(I)){let T=C[1]|0,M=C[2]|0,E=w+I.length,G,D=!1;if(!this.#n[T])D=!0;else if(this.#n[T].gen===M)try{new Pi({lexer:new Ls(m.makeSubStream(E))}).getObj(),D=!0}catch(de){de instanceof cc?B(`indexObjects -- checking object (${I}): \"${de}\".`):D=!0}D&&(this.#n[T]={offset:w-m.start,gen:M,free:!1,uncompressed:!0}),c.lastIndex=E;let N=c.exec(b);N?(G=c.lastIndex+1-w,N[1]!==\"endobj\"&&(B(`indexObjects: Found \"${N[1]}\" inside of another \"obj\", caused by missing \"endobj\" -- trying to recover.`),G-=N[1].length+1)):G=x-w;let K=g.subarray(w,w+G),ee=l(K,0,p);ee<G&&K[ee+5]<64&&(k.push(w-m.start),this.#c.add(w-m.start)),w+=G}else if(I.startsWith(\"trailer\")&&(I.length===7||/\\s/.test(I[7]))){v.push(w);let T=w+I.length,M;f.lastIndex=T;let E=f.exec(b);E?(M=f.lastIndex+1-w,E[1]!==\"startxref\"&&(B(`indexObjects: Found \"${E[1]}\" after \"trailer\", caused by missing \"startxref\" -- trying to recover.`),M-=E[1].length+1)):M=x-w,w+=M}else w+=I.length+1}for(let _ of k)this.startXRefQueue.push(_),this.readXRef(!0);let j=[],A=!1;for(let _ of v){m.pos=_;let I=new Pi({lexer:new Ls(m),xref:this,allowStreams:!0,recoveryMode:!0}),C=I.getObj();if(!Bn(C,\"trailer\"))continue;let T=I.getObj();T instanceof P&&(j.push(T),T.has(\"Encrypt\")&&(A=!0))}let S,q;for(let _ of[...j,\"genFallback\",...j]){if(_===\"genFallback\"){if(!q)break;this._generationFallback=!0;continue}let I=!1;try{let C=_.get(\"Root\");if(!(C instanceof P))continue;let T=C.get(\"Pages\");if(!(T instanceof P))continue;let M=T.get(\"Count\");Number.isInteger(M)&&(I=!0)}catch(C){q=C;continue}if(I&&(!A||_.has(\"Encrypt\"))&&_.has(\"ID\"))return _;S=_}if(S)return S;if(this.topDict)return this.topDict;if(!j.length)for(let _ in this.#n){let I=this.#n[_];if(!I)continue;let C=fe.get(parseInt(_,10),I.gen),T;try{T=this.fetch(C)}catch{continue}if(T instanceof Xe&&(T=T.dict),T instanceof P&&T.has(\"Root\"))return T}throw new Sa(\"Invalid PDF structure.\")}readXRef(e=!1){let t=this.stream,s=new Set;for(;this.startXRefQueue.length;){try{let i=this.startXRefQueue[0];if(s.has(i)){B(\"readXRef - skipping XRef table since it was already parsed.\"),this.startXRefQueue.shift();continue}s.add(i),t.pos=i+t.start;let r=new Pi({lexer:new Ls(t),xref:this,allowStreams:!0}),a=r.getObj(),o;if(Bn(a,\"xref\"))o=this.processXRefTable(r),this.topDict||=o,a=o.get(\"XRefStm\"),Number.isInteger(a)&&!this.#c.has(a)&&(this.#c.add(a),this.startXRefQueue.push(a));else if(Number.isInteger(a)){if(!Number.isInteger(r.getObj())||!Bn(r.getObj(),\"obj\")||!((a=r.getObj())instanceof Xe))throw new se(\"Invalid XRef stream\");if(o=this.processXRefStream(a),this.topDict||=o,!o)throw new se(\"Failed to read XRef stream\")}else throw new se(\"Invalid XRef stream header\");this.#o.add(i),a=o.get(\"Prev\"),Number.isInteger(a)?this.startXRefQueue.push(a):a instanceof fe&&this.startXRefQueue.push(a.num)}catch(i){if(i instanceof Tt)throw i;delete this._tableState,delete this.streamState,this.#l=!1,kt(\"(while reading XRef): \"+i)}this.startXRefQueue.shift()}if(this.topDict)return this.topDict;if(!e)throw new lr}countUpdatesAfter(e){if(this.#i||!this.#l)return null;let t=e-this.stream.start,s=0;for(let i of this.#o)i>=t&&!this.#c.has(i)&&s++;return s}getEntry(e){let t=this.#n[e];return t&&!t.free&&t.offset?t:null}fetchIfRef(e,t=!1){return e instanceof fe?this.fetch(e,t):e}fetch(e,t=!1){if(!(e instanceof fe))throw new Error(\"ref object is not a reference\");let s=e.num,i=this.#e.get(s);if(i!==void 0)return i instanceof P&&!i.objId&&(i.objId=e.toString()),i;let r=this.getEntry(s);if(r===null)return r;if(this.#r.has(e))return this.#r.remove(e),B(`Ignoring circular reference: ${e}.`),VA;this.#r.put(e);try{r=r.uncompressed?this.fetchUncompressed(e,r,t):this.fetchCompressed(e,r,t),this.#r.remove(e)}catch(a){throw this.#r.remove(e),a}return r instanceof P?r.objId=e.toString():r instanceof Xe&&(r.dict.objId=e.toString()),r}fetchUncompressed(e,t,s=!1){let i=e.gen,r=e.num;if(t.gen!==i){let h=`Inconsistent generation in XRef: ${e}`;if(this._generationFallback&&t.gen<i)return B(h),this.fetchUncompressed(fe.get(r,t.gen),t,s);throw new Di(h)}let a=this.stream.makeSubStream(t.offset+this.stream.start),o=new Pi({lexer:new Ls(a),xref:this,allowStreams:!0}),l=o.getObj(),c=o.getObj(),f=o.getObj();if(l!==r||c!==i||!(f instanceof jn))throw new Di(`Bad (uncompressed) XRef entry: ${e}`);if(f.cmd!==\"obj\"){if(f.cmd.startsWith(\"obj\")&&(r=parseInt(f.cmd.substring(3),10),!Number.isNaN(r)))return r;throw new Di(`Bad (uncompressed) XRef entry: ${e}`)}return t=this.encrypt&&!s?o.getObj(this.encrypt.createCipherTransform(r,i)):o.getObj(),t instanceof Xe||this.#e.set(r,t),t}fetchCompressed(e,t,s=!1){let i=t.offset,r=this.fetch(fe.get(i,0));if(!(r instanceof Xe))throw new se(\"bad ObjStm stream\");let a=r.dict.get(\"First\"),o=r.dict.get(\"N\");if(!Number.isInteger(a)||!Number.isInteger(o))throw new se(\"invalid first and n parameters for ObjStm stream\");let l=new Pi({lexer:new Ls(r),xref:this,allowStreams:!0}),c=new Array(o),f=new Array(o);for(let d=0;d<o;++d){let p=l.getObj();if(!Number.isInteger(p))throw new se(`invalid object number in the ObjStm stream: ${p}`);let m=l.getObj();if(!Number.isInteger(m))throw new se(`invalid object offset in the ObjStm stream: ${m}`);c[d]=p;let g=this.getEntry(p);g?.offset===i&&g.gen!==d&&(g.gen=d),f[d]=m}let h=(r.start||0)+a,u=new Array(o);for(let d=0;d<o;++d){let p=d<o-1?f[d+1]-f[d]:void 0;if(p<0)throw new se(\"Invalid offset in the ObjStm stream.\");l=new Pi({lexer:new Ls(r.makeSubStream(h+f[d],p,r.dict)),xref:this,allowStreams:!0});let m=l.getObj();if(u[d]=m,m instanceof Xe)continue;let g=c[d],b=this.#n[g];b&&b.offset===i&&b.gen===d&&this.#e.set(g,m)}if(t=u[t.gen],t===void 0)throw new Di(`Bad (compressed) XRef entry: ${e}`);return t}async fetchIfRefAsync(e,t){return e instanceof fe?this.fetchAsync(e,t):e}async fetchAsync(e,t){try{return this.fetch(e,t)}catch(s){if(!(s instanceof Tt))throw s;return await this.pdfManager.requestRange(s.begin,s.end),this.fetchAsync(e,t)}}getCatalogObj(){return this.root}},L4=[0,0,612,792],Zy=65536,j3=class{#e=null;constructor({pdfManager:e,xref:t,pageIndex:s,pageDict:i,ref:r,globalIdFactory:a,fontCache:o,builtInCMapCache:l,standardFontDataCache:c,globalColorSpaceCache:f,globalImageCache:h,systemFontCache:u,nonBlendModesSet:d,xfaFactory:p}){this.pdfManager=e,this.pageIndex=s,this.pageDict=i,this.xref=t,this.ref=r,this.fontCache=o,this.builtInCMapCache=l,this.standardFontDataCache=c,this.globalColorSpaceCache=f,this.globalImageCache=h,this.systemFontCache=u,this.nonBlendModesSet=d,this.evaluatorOptions=e.evaluatorOptions,this.xfaFactory=p;let m={obj:0};this._localIdFactory=class extends a{static createObjId(){return`p${s}_${++m.obj}`}static getPageObjId(){return`p${r.toString()}`}}}_createPartialEvaluator(e,t=this.pageIndex,s=null){return new Sc({xref:this.xref,handler:e,pageIndex:t,pageProxyId:s,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalColorSpaceCache:this.globalColorSpaceCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions})}#n(e,t=!1){let s=Gn({dict:this.pageDict,key:e,getArray:t,stopWhenFound:!1});return Array.isArray(s)?s.length===1||!(s[0]instanceof P)?s[0]:P.merge({xref:this.xref,dictArray:s}):s}get content(){return this.pageDict.getArray(\"Contents\")}get resources(){let e=this.#n(\"Resources\");return je(this,\"resources\",e instanceof P?e:P.empty)}getBoundingBox(e){if(this.xfaData)return this.xfaData.bbox;let t=Ui(this.#n(e,!0),null);if(t){if(t[2]-t[0]>0&&t[3]-t[1]>0)return t;B(`Empty, or invalid, /${e} entry.`)}return null}get mediaBox(){return je(this,\"mediaBox\",this.getBoundingBox(\"MediaBox\")||L4)}get cropBox(){return je(this,\"cropBox\",this.getBoundingBox(\"CropBox\")||this.mediaBox)}get userUnit(){let e=this.pageDict.get(\"UserUnit\");return je(this,\"userUnit\",typeof e==\"number\"&&e>0?e:1)}get view(){let{cropBox:e,mediaBox:t}=this;if(e!==t&&!qa(e,t)){let s=ft.intersect(e,t);if(s&&s[2]-s[0]>0&&s[3]-s[1]>0)return je(this,\"view\",s);B(\"Empty /CropBox and /MediaBox intersection.\")}return je(this,\"view\",t)}get rotate(){let e=this.#n(\"Rotate\")||0;return e%90!==0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360),je(this,\"rotate\",e)}#t(e,t){if(this.evaluatorOptions.ignoreErrors){B(`getContentStream - ignoring sub-stream (${t}): \"${e}\".`);return}throw e}async getContentStream(){let e=await this.pdfManager.ensure(this,\"content\");if(e instanceof Xe&&!e.isImageStream){if(e.isAsync){let t=await e.asyncGetBytes();if(t)return new Ft(t,0,t.length,e.dict)}return e}if(Array.isArray(e)){let t=[];for(let s=0,i=e.length;s<i;s++){let r=e[s];r instanceof Xe&&r.isAsync&&t.push(r.asyncGetBytes().then(a=>{a&&(e[s]=new Ft(a,0,a.length,r.dict))}))}return t.length>0&&await Promise.all(t),new n1(e,this.#t.bind(this))}return new uc}get xfaData(){return je(this,\"xfaData\",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async#s(e,t,s){let i=[];for(let r of e){if(!r.id)continue;let a=fe.fromString(r.id);if(!a){B(`A non-linked annotation cannot be modified: ${r.id}`);continue}if(r.deleted){if(t.put(a),r.popupRef){let c=fe.fromString(r.popupRef);c&&t.put(c)}continue}let{popup:o}=r,l=o&&fe.fromString(r.popupRef);l&&(o.deleted?t.put(l):(s?.put(l),o.ref=l,i.push(this.#i(o,l)))),s?.put(a),r.ref=a,i.push(this.#i(r,a)),delete r.id}await Promise.all(i)}#i(e,t){return this.xref.fetchAsync(t).then(s=>{s instanceof P&&(e.oldAnnotation=s.clone())},()=>{B(`Cannot fetch \\`oldAnnotation\\` for: ${t}.`)})}async saveNewAnnotations(e,t,s,i,r){if(this.xfaFactory)throw new Error(\"XFA: Cannot save new annotations.\");let a=this._createPartialEvaluator(e),o=new xt,l=new xt;await this.#s(s,o,l);let c=this.pageDict,f=this.annotations.filter(d=>!(d instanceof fe&&o.has(d))),h=await Us.saveNewAnnotations(a,this.xref,t,s,i,r);for(let{ref:d}of h.annotations)d instanceof fe&&!l.has(d)&&f.push(d);let u=c.clone();u.set(\"Annots\",f),r.put(this.ref,{data:u});for(let d of o)r.put(d,{data:null})}async save(e,t,s,i){let r=this._createPartialEvaluator(e),a=await this._parsedAnnotations,o=[];for(let l of a)o.push(l.save(r,t,s,i).catch(c=>(B(`save - ignoring annotation data during \"${t.name}\" task: \"${c}\".`),null)));return Promise.all(o)}async loadResources(e){await(this.#e??=this.pdfManager.ensure(this,\"resources\")),await Bo.load(this.resources,e,this.xref)}async#r(e,t){let s=e?.get(\"Resources\");return s instanceof P&&s.size?(await Bo.load(s,t,this.xref),P.merge({xref:this.xref,dictArray:[s,this.resources],mergeSubDicts:!0})):this.resources}async getOperatorList({handler:e,sink:t,task:s,intent:i,cacheKey:r,pageIndex:a=this.pageIndex,pageProxyId:o=null,annotationStorage:l=null,modifiedIds:c=null}){let f=this.getContentStream(),h=this.loadResources(Nm),u=this._createPartialEvaluator(e,a,o),p=(this.xfaFactory?null:nv(l))?.get(this.pageIndex),m=Promise.resolve(null),g=null;if(p){let M=this.pdfManager.ensureDoc(\"annotationGlobals\"),E,G=new Set;for(let{bitmapId:N,bitmap:K}of p)N&&!K&&!G.has(N)&&G.add(N);let{isOffscreenCanvasSupported:D}=this.evaluatorOptions;if(G.size>0){let N=p.slice();for(let[K,ee]of l)K.startsWith(E8)&&ee.bitmap&&G.has(ee.bitmapId)&&N.push(ee);E=Us.generateImages(N,this.xref,D)}else E=Us.generateImages(p,this.xref,D);g=new xt,m=Promise.all([M,this.#s(p,g,null)]).then(([N])=>N?Us.printNewAnnotations(N,u,s,p,E):null)}let b=Promise.all([f,h]).then(async([M])=>{let E=await this.#r(M.dict,Nm),G=new Gs(i,t);return e.send(\"StartRenderPage\",{transparency:u.hasBlendModes(E,this.nonBlendModesSet),pageProxyId:o,cacheKey:r}),await u.getOperatorList({stream:M,task:s,resources:E,operatorList:G}),G}),[x,w,v]=await Promise.all([b,this._parsedAnnotations,m]);if(v){w=w.filter(M=>!(M.ref&&g.has(M.ref)));for(let M=0,E=v.length;M<E;M++){let G=v[M];if(G.refToReplace){let D=w.findIndex(N=>N.ref&&Eo(N.ref,G.refToReplace));D>=0&&(w.splice(D,1,G),v.splice(M--,1),E--)}}w=w.concat(v)}if(w.length===0||i&Un.ANNOTATIONS_DISABLE){x.flush(!0);return}let k=!!(i&Un.ANNOTATIONS_FORMS),j=!!(i&Un.IS_EDITING),A=!!(i&Un.ANY),S=!!(i&Un.DISPLAY),q=!!(i&Un.PRINT),_=[];for(let M of w)(A||S&&M.mustBeViewed(l,k)&&M.mustBeViewedWhenEditing(j,c)||q&&M.mustBePrinted(l))&&_.push(M.getOperatorList(u,s,i,l).catch(E=>(B(`getOperatorList - ignoring annotation data during \"${s.name}\" task: \"${E}\".`),{opList:null,separateForm:!1,separateCanvas:!1})));let I=await Promise.all(_),C=!1,T=!1;for(let{opList:M,separateForm:E,separateCanvas:G}of I)x.addOpList(M),C||=E,T||=G;x.flush(!0,{form:C,canvas:T})}async extractTextContent({handler:e,task:t,includeMarkedContent:s,disableNormalization:i,sink:r,intersector:a=null}){let o=this.getContentStream(),l=this.loadResources(Hm),c=this.pdfManager.ensureCatalog(\"lang\"),[f,,h]=await Promise.all([o,l,c]),u=await this.#r(f.dict,Hm);return this._createPartialEvaluator(e).getTextContent({stream:f,task:t,resources:u,includeMarkedContent:s,disableNormalization:i,sink:r,viewBox:this.view,lang:h,intersector:a})}async getStructTree(){let e=await this.pdfManager.ensureCatalog(\"structTreeRoot\");if(!e)return null;await this._parsedAnnotations;try{let t=await this.pdfManager.ensure(this,\"_parseStructTree\",[e]);return await this.pdfManager.ensure(t,\"serializable\")}catch(t){return B(`getStructTree: \"${t}\".`),null}}_parseStructTree(e){let t=new Mh(e,this.pageDict);return t.parse(this.ref),t}async getAnnotationsData(e,t,s){let i=await this._parsedAnnotations;if(i.length===0)return i;let r=[],a=[],o,l=!!(s&Un.ANY),c=!!(s&Un.DISPLAY),f=!!(s&Un.PRINT),h=[];for(let u of i){let d=l||c&&u.viewable;(d||f&&u.printable)&&r.push(u.data),u.hasTextContent&&d?(o??=this._createPartialEvaluator(e),a.push(u.extractTextContent(o,t,[-1/0,-1/0,1/0,1/0]).catch(p=>{B(`getAnnotationsData - ignoring textContent during \"${t.name}\" task: \"${p}\".`)}))):u.overlaysTextContent&&d&&h.push(u)}if(h.length>0){let u=new m3(h);a.push(this.extractTextContent({handler:e,task:t,includeMarkedContent:!1,disableNormalization:!1,sink:null,intersector:u}).then(()=>{u.setText()}))}return await Promise.all(a),r}get annotations(){let e=this.#n(\"Annots\");return je(this,\"annotations\",Array.isArray(e)?e:[])}get _parsedAnnotations(){let e=this.pdfManager.ensure(this,\"annotations\").then(async t=>{if(t.length===0)return t;let[s,i]=await Promise.all([this.pdfManager.ensureDoc(\"annotationGlobals\"),this.pdfManager.ensureDoc(\"fieldObjects\")]);if(!s)return[];let r=i?.orphanFields,a=[];for(let f of t)a.push(Us.create(this.xref,f,s,this._localIdFactory,!1,r,null,this.ref).catch(h=>(B(`_parsedAnnotations: \"${h}\".`),null)));let o=[],l,c;for(let f of await Promise.all(a))if(f){if(f instanceof Wi){(c||=[]).push(f);continue}if(f instanceof $c){(l||=[]).push(f);continue}o.push(f)}return c&&o.push(...c),l&&o.push(...l),o});return je(this,\"_parsedAnnotations\",e)}get jsActions(){let e=_u(this.xref,this.pageDict,NA);return je(this,\"jsActions\",e)}async collectAnnotationsByType(e,t,s,i,r){let{pageIndex:a}=this;if(Object.hasOwn(this,\"_parsedAnnotations\")){let c=await this._parsedAnnotations;for(let{data:f}of c)(!s||s.has(f.annotationType))&&(f.pageIndex=a,i.push(Promise.resolve(f)));return}let o=await this.pdfManager.ensure(this,\"annotations\"),l;for(let c of o)i.push(Us.create(this.xref,c,r,this._localIdFactory,!1,null,s,this.ref).then(async f=>f?(f.data.pageIndex=a,f.hasTextContent&&f.viewable&&(l??=this._createPartialEvaluator(e),await f.extractTextContent(l,t,[-1/0,-1/0,1/0,1/0])),f.data):null).catch(f=>(B(`collectAnnotationsByType: \"${f}\".`),null)))}},e8=new Uint8Array([37,80,68,70,45]),t8=new Uint8Array([115,116,97,114,116,120,114,101,102]),CC=new Uint8Array([101,110,100,111,98,106]);function Rm(n,e,t=1024,s=!1){let i=e.length,r=n.peekBytes(t),a=r.length-i;if(a<=0)return!1;if(s){let o=i-1,l=r.length-1;for(;l>=o;){let c=0;for(;c<i&&r[l-c]===e[o-c];)c++;if(c>=i)return n.pos+=l-o,!0;l--}}else{let o=0;for(;o<=a;){let l=0;for(;l<i&&r[o+l]===e[l];)l++;if(l>=i)return n.pos+=o,!0;o++}}return!1}var fu=class{#e=new Map;#n=null;#t=null;constructor(e,t){if(t.length<=0)throw new Sa(\"The PDF file is empty, i.e. its size is zero bytes.\");this.pdfManager=e,this.stream=t,this.xref=new k3(t,e);let s={font:0};this._globalIdFactory=class{static getDocId(){return`g_${e.docId}`}static createFontId(){return`f${++s.font}`}static createObjId(){dt(\"Abstract method `createObjId` called.\")}static getPageObjId(){dt(\"Abstract method `getPageObjId` called.\")}}}#s(e,t,s){let{catalog:i,pdfManager:r,xfaFactory:a,xref:o}=this;return new j3({pdfManager:r,xref:o,pageIndex:e,pageDict:t,ref:s,globalIdFactory:this._globalIdFactory,fontCache:i.fontCache,builtInCMapCache:i.builtInCMapCache,standardFontDataCache:i.standardFontDataCache,globalColorSpaceCache:i.globalColorSpaceCache,globalImageCache:i.globalImageCache,systemFontCache:i.systemFontCache,nonBlendModesSet:i.nonBlendModesSet,xfaFactory:a})}parse(e){this.xref.parse(e),this.catalog=new Ic(this.pdfManager,this.xref)}get linearization(){let e=null;try{e=p1.create(this.stream)}catch(t){if(t instanceof Tt)throw t;kt(t)}return je(this,\"linearization\",e)}get startXRef(){let e=this.stream,t=0;if(this.linearization){if(e.reset(),Rm(e,CC)){e.skip(6);let s=e.peekByte();for(;yi(s);)e.pos++,s=e.peekByte();t=e.pos-e.start}}else{let i=t8.length,r=!1,a=e.end;for(;!r&&a>0;)a-=1024-i,a<0&&(a=0),e.pos=a,r=Rm(e,t8,1024,!0);if(r){e.skip(9);let o;do o=e.getByte();while(yi(o));let l=\"\";for(;o>=32&&o<=57;)l+=String.fromCharCode(o),o=e.getByte();t=parseInt(l,10),isNaN(t)&&(t=0)}}return je(this,\"startXRef\",t)}checkHeader(){let e=this.stream;if(e.reset(),!Rm(e,e8))return;e.moveStart(),e.skip(e8.length);let t=\"\",s;for(;(s=e.getByte())>32&&t.length<7;)t+=String.fromCharCode(s);D8.test(t)?this.#t=t:B(`Invalid PDF header version: ${t}`)}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){let e=0;return this.catalog.hasActualNumPages?e=this.catalog.numPages:this.xfaFactory?e=this.xfaFactory.getNumPages():this.linearization?e=this.linearization.numPages:e=this.catalog.numPages,je(this,\"numPages\",e)}#i(e,t=0){return Array.isArray(e)?e.every(i=>{if(i=this.xref.fetchIfRef(i),!(i instanceof P))return!1;if(i.has(\"Kids\"))return++t>10?(B(\"#hasOnlyDocumentSignatures: maximum recursion depth reached\"),!1):this.#i(i.get(\"Kids\"),t);let r=Ke(Gn({dict:i,key:\"FT\"}),\"Sig\"),a=i.get(\"Rect\"),o=Array.isArray(a)&&a.every(l=>l===0);return r&&o}):!1}get _xfaStreams(){let{acroForm:e}=this.catalog;if(!e)return null;let t=e.get(\"XFA\"),s=new Map([\"xdp:xdp\",\"template\",\"datasets\",\"config\",\"connectionSet\",\"localeSet\",\"stylesheet\",\"/xdp:xdp\"].map(i=>[i,null]));if(t instanceof Xe&&!t.isEmpty)return s.set(\"xdp:xdp\",t),s;if(!Array.isArray(t)||t.length===0)return null;for(let i=0,r=t.length;i<r;i+=2){let a;if(i===0?a=\"xdp:xdp\":i===r-2?a=\"/xdp:xdp\":a=t[i],!s.has(a))continue;let o=this.xref.fetchIfRef(t[i+1]);!(o instanceof Xe)||o.isEmpty||s.set(a,o)}return s}get xfaDatasets(){let e=this._xfaStreams;if(!e)return je(this,\"xfaDatasets\",null);for(let t of[\"datasets\",\"xdp:xdp\"]){let s=e.get(t);if(s)try{let i=To(s.getString()),r={[t]:i};return je(this,\"xfaDatasets\",new d3(r))}catch{B(\"XFA - Invalid utf-8 string.\");break}}return je(this,\"xfaDatasets\",null)}get xfaData(){let e=this._xfaStreams;if(!e)return null;let t=new Map;for(let[s,i]of e)if(i)try{t.set(s,To(i.getString()))}catch{return B(\"XFA - Invalid utf-8 string.\"),null}return t}get hasOnlyXfa(){return je(this,\"hasOnlyXfa\",this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm)}get xfaFactory(){let e;return this.pdfManager.enableXfa&&this.hasOnlyXfa&&(e=this.xfaData),je(this,\"xfaFactory\",e?new Wc(e):null)}get isPureXfa(){return this.xfaFactory?this.xfaFactory.isValid():!1}get htmlForXfa(){return this.xfaFactory?this.xfaFactory.getPages():null}async#r(){let e=await this.pdfManager.ensureCatalog(\"xfaImages\");e&&this.xfaFactory.setImages(e)}async#a(e,t){let s=await this.pdfManager.ensureCatalog(\"acroForm\");if(!s)return;let i=await s.getAsync(\"DR\");if(!(i instanceof P))return;await Bo.load(i,[\"Font\"],this.xref);let r=i.get(\"Font\");if(!(r instanceof P))return;let a=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions,{useSystemFonts:!1}),{builtInCMapCache:o,fontCache:l,standardFontDataCache:c}=this.catalog,f=new Sc({xref:this.xref,handler:e,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:l,builtInCMapCache:o,standardFontDataCache:c,options:a}),h=new Gs,u=[],d={get font(){return u.at(-1)},set font(x){u.push(x)},clone(){return this}},p=(x,w,v)=>f.handleSetFont(i,[ce.get(x),1],null,h,t,d,w,v).catch(k=>(B(`loadXfaFonts: \"${k}\".`),null)),m=[];for(let[x,w]of r){let v=w.get(\"FontDescriptor\");if(!(v instanceof P))continue;let k=rS(v.get(\"FontFamily\")),j=v.get(\"FontWeight\"),A=-v.get(\"ItalicAngle\"),S={fontFamily:k,fontWeight:j,italicAngle:A};aS(S)&&m.push(p(x,null,S))}await Promise.all(m);let g=this.xfaFactory.setFonts(u);if(!g)return;a.ignoreErrors=!0,m.length=0,u.length=0;let b=new Set;for(let x of g)ov(`${x}-Regular`)||b.add(x);b.size&&g.push(\"PdfJS-Fallback\");for(let x of g)if(!b.has(x))for(let w 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}]){let v=`${x}-${w.name}`;m.push(p(v,d4(v),{fontFamily:x,fontWeight:w.fontWeight,italicAngle:w.italicAngle}))}await Promise.all(m),this.xfaFactory.appendFonts(u,b)}loadXfaResources(e,t){return Promise.all([this.#a(e,t).catch(()=>{}),this.#r()])}serializeXfaData(e){return this.xfaFactory?this.xfaFactory.serializeData(e):null}get version(){return this.catalog.version||this.#t}get formInfo(){let e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},{acroForm:t}=this.catalog;if(!t)return je(this,\"formInfo\",e);try{let s=t.get(\"Fields\"),i=Array.isArray(s)&&s.length>0;e.hasFields=i;let r=t.get(\"XFA\");e.hasXfa=Array.isArray(r)&&r.length>0||r instanceof Xe&&!r.isEmpty;let o=!!(t.get(\"SigFlags\")&1),l=o&&this.#i(s);e.hasAcroForm=i&&!l,e.hasSignatures=o}catch(s){if(s instanceof Tt)throw s;B(`Cannot fetch form information: \"${s}\".`)}return je(this,\"formInfo\",e)}get documentInfo(){let{catalog:e,formInfo:t,xref:s}=this,i={PDFFormatVersion:this.version,Language:e.lang,EncryptFilterName:s.encrypt?.filterName??null,IsLinearized:!!this.linearization,IsAcroFormPresent:t.hasAcroForm,IsXFAPresent:t.hasXfa,IsCollectionPresent:!!e.collection,IsSignaturesPresent:t.hasSignatures},r;try{r=s.trailer.get(\"Info\")}catch(a){if(a instanceof Tt)throw a;kt(\"The document information dictionary is invalid.\")}if(!(r instanceof P))return je(this,\"documentInfo\",i);for(let[a,o]of r){switch(a){case\"Title\":case\"Author\":case\"Subject\":case\"Keywords\":case\"Creator\":case\"Producer\":case\"CreationDate\":case\"ModDate\":if(typeof o==\"string\"){i[a]=st(o);continue}break;case\"Trapped\":if(o instanceof ce){i[a]=o;continue}break;default:let l;switch(typeof o){case\"string\":l=st(o);break;case\"number\":case\"boolean\":l=o;break;default:if(o instanceof ce){l=o;break}B(`Bad value, for custom key \"${a}\", in Info: ${o}.`);continue}(i.Custom??=new Map).set(a,l);continue}B(`Bad value, for key \"${a}\", in Info: ${o}.`)}return je(this,\"documentInfo\",i)}get fingerprints(){let t=\"\\0\".repeat(16);function s(o){return typeof o==\"string\"&&o.length===16&&o!==t}let i=this.xref.trailer.get(\"ID\"),r,a;return Array.isArray(i)&&s(i[0])?(r=Vt(i[0]),i[1]!==i[0]&&s(i[1])&&(a=Vt(i[1]))):r=Cr(this.stream.getByteRange(0,1024),0,1024),je(this,\"fingerprints\",[r.toHex(),a?.toHex()??null])}async#o(e){let{catalog:t,linearization:s,xref:i}=this,r=fe.get(s.objectNumberFirst,0);try{let a=await i.fetchAsync(r);if(a instanceof P){let o=a.getRaw(\"Type\");if(o instanceof fe&&(o=await i.fetchAsync(o)),Ke(o,\"Page\")||!a.has(\"Type\")&&!a.has(\"Kids\")&&a.has(\"Contents\"))return t.pageKidsCountCache.has(r)||t.pageKidsCountCache.put(r,1),t.pageIndexCache.has(r)||t.pageIndexCache.put(r,0),[a,r]}throw new se(\"The Linearization dictionary doesn't point to a valid Page dictionary.\")}catch(a){return B(`_getLinearizationPage: \"${a.message}\".`),t.getPageDict(e)}}getPage(e){let t=this.#e.get(e);if(t)return t;let{catalog:s,linearization:i,xfaFactory:r}=this,a;return r?a=Promise.resolve([P.empty,null]):i?.pageFirst===e?a=this.#o(e):a=s.getPageDict(e),a=a.then(([o,l])=>this.#s(e,o,l)),this.#e.set(e,a),a}async checkFirstPage(e=!1){if(!e)try{await this.getPage(0)}catch(t){if(t instanceof Di)throw this.#e.delete(0),await this.cleanup(),new lr}}async checkLastPage(e=!1){let{catalog:t,pdfManager:s}=this;t.setActualNumPages();let i;try{if(await Promise.all([s.ensureDoc(\"xfaFactory\"),s.ensureDoc(\"linearization\"),s.ensureCatalog(\"numPages\")]),this.xfaFactory)return;if(this.linearization?i=this.linearization.numPages:i=t.numPages,Number.isInteger(i)){if(i<=1)return}else throw new se(\"Page count is not an integer.\");await this.getPage(i-1)}catch(r){if(this.#e.delete(i-1),await this.cleanup(),r instanceof Di&&!e)throw new lr;B(`checkLastPage - invalid /Pages tree /Count: ${i}.`);let a;try{a=await t.getAllPageDicts(e)}catch(o){if(o instanceof Di&&!e)throw new lr;t.setActualNumPages(1);return}for(let[o,[l,c]]of a){let f;l instanceof Error?(f=Promise.reject(l),f.catch(()=>{})):f=Promise.resolve(this.#s(o,l,c)),this.#e.set(o,f)}t.setActualNumPages(a.size)}}async fontFallback(e,t){let{catalog:s,pdfManager:i}=this;for(let r of await Promise.all(s.fontCache))if(r.loadedName===e){r.fallback(t,i.evaluatorOptions);return}}async cleanup(e=!1){return this.catalog?this.catalog.cleanup(e):fv()}async#l(e,t,s,i,r,a,o){let{xref:l}=this;if(!(s instanceof fe)||a.has(s))return;a.put(s);let c=await l.fetchAsync(s);if(!(c instanceof P))return;let f=await c.getAsync(\"Subtype\");if(f=f instanceof ce?f.name:null,f===\"Link\")return;if(c.has(\"T\")){let u=st(await c.getAsync(\"T\"));e=e===\"\"?u:`${e}.${u}`}else{let u=c,d=new xt;for(;;){if(u=u.getRaw(\"Parent\")||t,u instanceof fe){if(a.has(u)||d.has(u))break;d.put(u),u=await l.fetchAsync(u)}if(!(u instanceof P))break;if(u.has(\"T\")){let p=st(await u.getAsync(\"T\"));e=e===\"\"?p:`${e}.${p}`;break}}}if(t&&!c.has(\"Parent\")&&Ke(c.get(\"Subtype\"),\"Widget\")&&o.put(s,t),i.getOrInsertComputed(e,Hi).push(Us.create(l,s,r,null,!0,o,null,null).then(u=>u?.getFieldObject()).catch(u=>(B(`#collectFieldObjects: \"${u}\".`),null))),!c.has(\"Kids\"))return;let h=await c.getAsync(\"Kids\");if(Array.isArray(h))for(let u of h)await this.#l(e,s,u,i,r,a,o)}get fieldObjects(){let e=this.pdfManager.ensureDoc(\"formInfo\").then(async t=>{if(!t.hasFields)return null;let s=await this.annotationGlobals;if(!s)return null;let{acroForm:i}=s,r=new xt,a=new Map,o=new Map,l=new sn;for(let f of i.get(\"Fields\"))await this.#l(\"\",null,f,o,s,r,l);let c=[];for(let[f,h]of o)c.push(Promise.all(h).then(u=>{u=u.filter(Boolean),u.length>0&&a.set(f,u)}));return await Promise.all(c),{allFields:a.size?a:null,orphanFields:l}});return je(this,\"fieldObjects\",e)}async#c(e,t,s){if(Array.isArray(e))for(let i of e){if(i instanceof fe){if(s.has(i))continue;s.put(i)}let r=await this.xref.fetchIfRefAsync(i);if(r instanceof P){if(Ke(await r.getAsync(\"FT\"),\"Sig\")){let a=await r.getAsync(\"V\");if(a instanceof P){let o=await this.#d(r,a,i);o&&t.push(o)}}r.has(\"Kids\")&&await this.#c(await r.getAsync(\"Kids\"),t,s)}}}async#h(e,t){try{return this.stream.getByteRange(e,t)}catch(s){if(!(s instanceof Tt))throw s;return await this.pdfManager.requestRange(e,t),this.#h(e,t)}}async#f(e,t){if(t>0)return!1;let s=this.stream.end;for(let i=e;i<s;i+=Zy){let r=Math.min(i+Zy,s),a=await this.#h(i,r);for(let o of a)if(o!==0&&o!==9&&o!==10&&o!==12&&o!==13&&o!==32)return!1}return!0}async#d(e,t,s){let i=await t.getAsync(\"ByteRange\");if(!Array.isArray(i)||i.length!==4||i.some(A=>!Number.isInteger(A)||A<0))return null;let[r,a,o,l]=i,c=this.stream.end||0;if(r!==0||a<=0||r+a>o||o+l>c||c===0)return null;let f=await t.getAsync(\"Contents\");if(typeof f!=\"string\"||f.length===0)return null;let[h,u,d,p,m,g,b,x]=await Promise.all([t.getAsync(\"Filter\"),t.getAsync(\"SubFilter\"),e.getAsync(\"T\"),t.getAsync(\"Name\"),t.getAsync(\"Reason\"),t.getAsync(\"Location\"),t.getAsync(\"ContactInfo\"),t.getAsync(\"M\")]),w=h instanceof ce?h.name:null,v=u instanceof ce?u.name:null,k=null;return v===\"adbe.pkcs7.detached\"?k=0:v===\"adbe.pkcs7.sha1\"&&(k=1),{id:`${s instanceof fe?s.toString():\"inline\"}:${r}-${a}-${o}-${l}`,fieldName:typeof d==\"string\"?st(d):\"\",signerName:typeof p==\"string\"?st(p):null,reason:typeof m==\"string\"?st(m):null,location:typeof g==\"string\"?st(g):null,contactInfo:typeof b==\"string\"?st(b):null,signingTime:typeof x==\"string\"?x:null,filter:w,subFilter:v,signatureType:k,byteRange:i,pkcs7:Vt(f),revisionIndex:0,parentId:null}}get signatures(){let e=this.pdfManager.ensureDoc(\"formInfo\").then(async t=>{if(!t.hasSignatures||!t.hasFields)return null;let s=await this.annotationGlobals;if(!s)return null;let i=s.acroForm.get(\"Fields\"),r=[];await this.#c(i,r,new xt),await Promise.all(r.map(async l=>{let c=l.byteRange[2]+l.byteRange[3];l.modificationsAfterSignature=this.xref.countUpdatesAfter(c),l.coversWholeDocument=await this.#f(c,l.modificationsAfterSignature)})),r.sort((l,c)=>c.byteRange[2]+c.byteRange[3]-(l.byteRange[2]+l.byteRange[3]));for(let l=0,c=r.length;l<c;l++){let f=r[l];f.revisionIndex=l;for(let h=l-1;h>=0;h--){let u=r[h];if(u.byteRange[2]+u.byteRange[3]>f.byteRange[2]+f.byteRange[3]){f.parentId=u.id;break}}}let a=new Map,o=r.map(l=>{let{pkcs7:c,...f}=l;return a.set(l.id,{byteRange:l.byteRange,pkcs7:c}),f});return this.#n=a,o.length?o:null});return je(this,\"signatures\",e)}async getSignatureData(e){await this.signatures;let t=this.#n?.get(e);if(!t)return null;let{byteRange:s,pkcs7:i}=t,[r,a,o,l]=s;return{data:await Promise.all([this.#h(r,r+a),this.#h(o,o+l)]),pkcs7:i}}get hasJSActions(){let e=Promise.all([this.pdfManager.ensureCatalog(\"jsActions\"),this.pdfManager.ensureDoc(\"fieldObjects\")]).then(([t,s])=>t?!0:s?.allFields?s.allFields.values().some(i=>i.some(r=>r.actions!==null)):!1);return je(this,\"hasJSActions\",e)}get calculationOrderIds(){let e=this.catalog.acroForm?.get(\"CO\"),t=null;if(Array.isArray(e))for(let s of e)s instanceof fe&&(t??=[]).push(s.toString());return je(this,\"calculationOrderIds\",t)}get annotationGlobals(){return je(this,\"annotationGlobals\",Us.createGlobals(this.pdfManager))}async toJSObject(e,t=!0){throw new Error(\"Not implemented: toJSObject\")}};function TC(n){if(n){let e=X0(n);if(e)return e.href;B(`Invalid absolute docBaseUrl: \"${n}\".`)}return null}var hu=class n{static#e=new Map;constructor({docBaseUrl:e,docId:t,enableXfa:s,evaluatorOptions:i,handler:r,password:a}){this._docBaseUrl=TC(e),this._docId=t,this._password=a,this.enableXfa=s,n.#e.set(this,r),i.isOffscreenCanvasSupported&&=Nn.isOffscreenCanvasSupported,i.isImageDecoderSupported&&=Nn.isImageDecoderSupported,this.evaluatorOptions=Object.freeze(i),Ss.setOptions(i),Ro.setOptions(i),Gs.setOptions(i);let o={...i,getHandler:()=>n.#e.values().find(l=>!l.destroyed)};Ca.setOptions(o),hc.setOptions(o),Ac.setOptions(o),Fo.setOptions(o)}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){return this._docBaseUrl}ensureDoc(e,t){return this.ensure(this.pdfDocument,e,t)}ensureCatalog(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}async initDocument(e){await this.ensureDoc(\"checkHeader\"),await this.ensureDoc(\"parseStartXRef\"),await this.ensureDoc(\"parse\",[e]),await this.ensureDoc(\"checkFirstPage\",[e]),await this.ensureDoc(\"checkLastPage\",[e])}getPage(e){return this.pdfDocument.getPage(e)}fontFallback(e,t){return this.pdfDocument.fontFallback(e,t)}cleanup(e=!1){return this.pdfDocument.cleanup(e)}async ensure(e,t,s){dt(\"Abstract method `ensure` called\")}requestRange(e,t){dt(\"Abstract method `requestRange` called\")}requestLoadedStream(e=!1){dt(\"Abstract method `requestLoadedStream` called\")}sendProgressiveData(e){dt(\"Abstract method `sendProgressiveData` called\")}updatePassword(e){this._password=e,this.pdfDocument.xref.encrypt?.setPassword(e)}terminate(e){n.#e.delete(this)}},lc=class extends hu{constructor(e){super(e);let t=new Ft(e.source);this.pdfDocument=new fu(this,t),this._loadedStreamPromise=Promise.resolve(t)}async ensure(e,t,s){let i=e[t];return typeof i==\"function\"?i.apply(e,s):i}requestLoadedStream(e=!1){return this._loadedStreamPromise}},A3=class extends hu{constructor(e){super(e),this.streamManager=new e1(e.source,{msgHandler:e.handler,length:e.length,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize}),this.pdfDocument=new fu(this,this.streamManager.getStream())}async ensure(e,t,s){try{let i=e[t];return typeof i==\"function\"?await i.apply(e,s):i}catch(i){if(!(i instanceof Tt))throw i;return await this.requestRange(i.begin,i.end),this.ensure(e,t,s)}}requestRange(e,t){return this.streamManager.requestRange(e,t)}requestLoadedStream(e=!1){return this.streamManager.requestAllChunks(e)}sendProgressiveData(e){this.streamManager.onReceiveData({chunk:e})}terminate(e){super.terminate(e),this.streamManager.abort(e)}};mA();var N0={DATA:1,ERROR:2},qn={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function n8(){}function Ds(n){if(n instanceof _n||n instanceof Sa||n instanceof vi||n instanceof Y0||n instanceof ko)return n;if(typeof n!=\"object\"||n===null)return new ko(String(n),String(n));switch(n.name){case\"AbortException\":return new _n(n.message);case\"InvalidPDFException\":return new Sa(n.message);case\"PasswordException\":return new vi(n.message,n.code);case\"ResponseException\":return new Y0(n.message,n.status,n.missing);case\"UnknownErrorException\":return new ko(n.message,n.details)}return new ko(n.message,n.toString())}var uu=class{#e=new Map;#n=new Map;#t=1;#s;#i=new AbortController;#r;#a=new Map;#o=1;#l=new Map;#c;constructor(e,t,s){this.#r=e,this.#c=t,this.#s=s,s.addEventListener(\"message\",this.#h.bind(this),{signal:this.#i.signal})}#h({data:e}){if(e.targetName!==this.#r)return;if(e.stream){this.#d(e);return}if(e.callback){let{callbackId:s,callback:i}=e,r=this.#n.get(s);if(!r)throw new Error(`Cannot resolve callback ${s}`);if(this.#n.delete(s),i===N0.DATA)r.resolve(e.data);else if(i===N0.ERROR)r.reject(Ds(e.reason));else throw new Error(\"Unexpected callback case\");return}let t=this.#e.get(e.action);if(!t)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){let s=this.#r,i=e.sourceName,r=this.#s;Promise.try(t,e.data).then(a=>{r.postMessage({sourceName:s,targetName:i,callback:N0.DATA,callbackId:e.callbackId,data:a})}).catch(a=>{r.postMessage({sourceName:s,targetName:i,callback:N0.ERROR,callbackId:e.callbackId,reason:Ds(a)})});return}if(e.streamId){this.#f(e);return}t(e.data)}on(e,t){let s=this.#e;if(s.has(e))throw new Error(`There is already a \"${e}\" handler.`);s.set(e,t)}send(e,t,s){this.#s.postMessage({sourceName:this.#r,targetName:this.#c,action:e,data:t},s)}sendWithPromise(e,t,s){let i=this.#t++,r=Promise.withResolvers();this.#n.set(i,r);try{this.#s.postMessage({sourceName:this.#r,targetName:this.#c,action:e,callbackId:i,data:t},s)}catch(a){r.reject(a)}return r.promise}sendWithStream(e,t,s,i){let r=this.#o++,a=this.#r,o=this.#c,l=this.#s;return new ReadableStream({start:c=>{let f=Promise.withResolvers();return this.#a.set(r,{controller:c,startCall:f,pullCall:null,cancelCall:null,isClosed:!1}),l.postMessage({sourceName:a,targetName:o,action:e,streamId:r,data:t,desiredSize:c.desiredSize},i),f.promise},pull:c=>{let f=Promise.withResolvers();return this.#a.get(r).pullCall=f,l.postMessage({sourceName:a,targetName:o,stream:qn.PULL,streamId:r,desiredSize:c.desiredSize}),f.promise},cancel:c=>{Qt(c instanceof Error,\"cancel must have a valid reason\");let f=Promise.withResolvers();return this.#a.get(r).cancelCall=f,this.#a.get(r).isClosed=!0,l.postMessage({sourceName:a,targetName:o,stream:qn.CANCEL,streamId:r,reason:Ds(c)}),f.promise}},s)}#f(e){let t=e.streamId,s=this.#r,i=e.sourceName,r=this.#s,a=this.#l,o=this.#e.get(e.action),l={enqueue(c,f=1,h){if(this.isCancelled)return;let u=this.desiredSize;this.desiredSize-=f,u>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),r.postMessage({sourceName:s,targetName:i,stream:qn.ENQUEUE,streamId:t,chunk:c},h)},close(){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:s,targetName:i,stream:qn.CLOSE,streamId:t}),a.delete(t))},error(c){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:s,targetName:i,stream:qn.ERROR,streamId:t,reason:Ds(c)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,a.set(t,l),Promise.try(o,e.data,l).then(()=>{r.postMessage({sourceName:s,targetName:i,stream:qn.START_COMPLETE,streamId:t,success:!0})},c=>{r.postMessage({sourceName:s,targetName:i,stream:qn.START_COMPLETE,streamId:t,reason:Ds(c)})})}#d(e){let t=e.streamId,s=this.#r,i=e.sourceName,r=this.#s,a=this.#a.get(t),o=this.#l.get(t);switch(e.stream){case qn.START_COMPLETE:e.success?a.startCall.resolve():a.startCall.reject(Ds(e.reason));break;case qn.PULL_COMPLETE:e.success?a.pullCall.resolve():a.pullCall.reject(Ds(e.reason));break;case qn.PULL:if(!o){r.postMessage({sourceName:s,targetName:i,stream:qn.PULL_COMPLETE,streamId:t,success:!0});break}o.desiredSize<=0&&e.desiredSize>0&&o.sinkCapability.resolve(),o.desiredSize=e.desiredSize,Promise.try(o.onPull||n8).then(()=>{r.postMessage({sourceName:s,targetName:i,stream:qn.PULL_COMPLETE,streamId:t,success:!0})},c=>{r.postMessage({sourceName:s,targetName:i,stream:qn.PULL_COMPLETE,streamId:t,reason:Ds(c)})});break;case qn.ENQUEUE:if(Qt(a,\"enqueue should have stream controller\"),a.isClosed)break;a.controller.enqueue(e.chunk);break;case qn.CLOSE:if(Qt(a,\"close should have stream controller\"),a.isClosed)break;a.isClosed=!0,a.controller.close(),this.#p(a,t);break;case qn.ERROR:Qt(a,\"error should have stream controller\"),a.controller.error(Ds(e.reason)),this.#p(a,t);break;case qn.CANCEL_COMPLETE:e.success?a.cancelCall.resolve():a.cancelCall.reject(Ds(e.reason)),this.#p(a,t);break;case qn.CANCEL:if(!o)break;let l=Ds(e.reason);Promise.try(o.onCancel||n8,l).then(()=>{r.postMessage({sourceName:s,targetName:i,stream:qn.CANCEL_COMPLETE,streamId:t,success:!0})},c=>{r.postMessage({sourceName:s,targetName:i,stream:qn.CANCEL_COMPLETE,streamId:t,reason:Ds(c)})}),o.sinkCapability.reject(l),o.isCancelled=!0,this.#l.delete(t);break;default:throw new Error(\"Unexpected stream case\")}}async#p(e,t){await Promise.allSettled([e.startCall?.promise,e.pullCall?.promise,e.cancelCall?.promise]),this.#a.delete(t)}destroy(){this.#i?.abort(),this.#i=null}get destroyed(){return!this.#i}};async function xv(n,e,t,{encrypt:s=null,encryptRef:i=null}){let r=s&&i!==n?s.createCipherTransform(n.num,n.gen):null;t.push(`${n.num} ${n.gen} obj\n`),await Xc(e,t,r),t.push(`\nendobj\n`)}async function vv(n,e,t){e.push(\"<<\");for(let[s,i]of n.getRawEntries())e.push(` /${tv(s)} `),await Xc(i,e,t);e.push(\">>\")}async function EC(n,e,t){n=n.getOriginalStream(),n.reset();let s=n.getBytes(),{dict:i}=n,[r,a]=await Promise.all([i.getAsync(\"Filter\"),i.getAsync(\"DecodeParms\")]),o=Array.isArray(r)?await Promise.all(r.map(g=>i.xref.fetchIfRefAsync(g))):[r],l=null,c=o.findIndex(g=>Ke(g,\"Crypt\"));if(c!==-1)if(t){let g=Array.isArray(a)?await i.xref.fetchIfRefAsync(a[c]):a,b=g instanceof P?g.get(\"Name\"):null;l=b instanceof ce?b:ce.get(\"Identity\")}else o.splice(c,1),o.length===0?(r=a=void 0,i.delete(\"Filter\"),i.delete(\"DecodeParms\")):(r=r.toSpliced(c,1),i.set(\"Filter\",r),Array.isArray(a)&&(a=a.toSpliced(c,1),i.set(\"DecodeParms\",a)));let f=o[0],h=Ke(f,\"FlateDecode\"),u=Ke(f,\"DCTDecode\")||Ke(f,\"JPXDecode\")||Ke(f,\"JBIG2Decode\")||Ke(f,\"CCITTFaxDecode\")||Ke(f,\"LZWDecode\");if(!(h||u||Ke(f,\"BrotliDecode\"))&&!l&&!_a(i,\"Metadata\")&&s.length>=256)try{let g=new CompressionStream(\"deflate\"),b=g.writable.getWriter();await b.ready,b.write(s).then(async()=>{await b.ready,await b.close()}).catch(()=>{}),s=await new Response(g.readable).bytes();let x,w;r?h||(x=Array.isArray(r)?[ce.get(\"FlateDecode\"),...r]:[ce.get(\"FlateDecode\"),r],a&&(w=Array.isArray(a)?[null,...a]:[null,a])):x=ce.get(\"FlateDecode\"),x&&i.set(\"Filter\",x),w&&i.set(\"DecodeParms\",w)}catch(g){kt(`writeStream - cannot compress data: \"${g}\".`)}let m=ms(s);t&&(m=t.encryptStream(m,i,l)),i.set(\"Length\",m.length),await vv(i,e,t),e.push(` stream\n`,m,`\nendstream`)}async function RC(n,e,t){e.push(\"[\");for(let s=0,i=n.length;s<i;s++)await Xc(n[s],e,t),s<i-1&&e.push(\" \");e.push(\"]\")}function FC(n){if(Number.isInteger(n)&&Math.abs(n)>=1e21)return BigInt(n).toString();let e=n.toFixed(10),t=e.length;for(;e[t-1]===\"0\";)t--;return e[t-1]===\".\"&&t--,e.slice(0,t)}async function Xc(n,e,t){n instanceof ce?e.push(`/${tv(n.name)}`):n instanceof fe?e.push(`${n.num} ${n.gen} R`):Array.isArray(n)||ArrayBuffer.isView(n)?await RC(n,e,t):typeof n==\"string\"?(t&&(n=t.encryptString(n)),e.push(`(${Ia(n)})`)):typeof n==\"number\"?e.push(FC(n)):typeof n==\"boolean\"?e.push(n.toString()):n instanceof P?await vv(n,e,t):n instanceof Xe?await EC(n,e,t):n===null?e.push(\"null\"):B(`Unhandled value in writer: ${typeof n}, please file a bug.`)}function Fm(n,e,t,s){for(let i=e+t-1;i>t-1;i--)s[i]=n&255,n>>=8;return t+e}function z4(n,e,t){let s=n.length;for(let i=0;i<s;i++)t[e+i]=n.charCodeAt(i)&255;return e+s}function OC(n,e){let t=Math.floor(Date.now()/1e3),s=e.filename||\"\",i=[t.toString(),s,n.toString(),...e.infoMap.values()],r=Math.sumPrecise(i.map(l=>l.length)),a=new Uint8Array(r),o=0;for(let l of i)o=z4(l,o,a);return ms(Cr(a,0,a.length))}function MC(n,e){let t=new Po({hasAttributes:!0}).parseFromString(n);for(let{xfa:i}of e){if(!i)continue;let{path:r,value:a}=i;if(!r||a===null)continue;let o=H8(r),l=t.documentElement.searchNode(o,0);!l&&o.length>1&&(l=t.documentElement.searchNode([o.at(-1)],0)),l?l.childNodes=Array.isArray(a)?a.map(c=>new va(\"value\",c)):[new va(\"#text\",a)]:B(`Node not found for path: ${r}`)}let s=[];return t.documentElement.dump(s),s.join(\"\")}async function PC({xref:n,acroForm:e,acroFormRef:t,hasXfa:s,hasXfaDatasetsEntry:i,xfaDatasetsRef:r,needAppearances:a,changes:o}){if(s&&!i&&!r&&B(\"XFA - Cannot save it\"),!a&&(!s||!r||i))return;let l=e.clone();if(s&&!i){let c=e.get(\"XFA\").slice();c.splice(2,0,\"datasets\"),c.splice(3,0,r),l.set(\"XFA\",c)}a&&l.set(\"NeedAppearances\",!0),o.put(t,{data:l})}function BC({xfaData:n,xfaDatasetsRef:e,changes:t,xref:s}){if(n===null){let r=s.fetchIfRef(e);n=MC(r.getString(),t)}let i=new Hn(n,new P(s));i.dict.setIfName(\"Type\",\"EmbeddedFile\"),t.put(e,{data:i})}async function DC(n,e,t,s,i){i.push(`xref\n`);let r=U4(t),a=0;for(let{ref:o,data:l}of t)o.num===r[a]&&(i.push(`${r[a]} ${r[a+1]}\n`),a+=2),l!==null?(i.push(`${e.toString().padStart(10,\"0\")} ${Math.min(o.gen,65535).toString().padStart(5,\"0\")} n\\r\n`),e+=l.length):i.push(`0000000000 ${Math.min(o.gen+1,65535).toString().padStart(5,\"0\")} f\\r\n`);G4(e,n,s),i.push(`trailer\n`),await vv(s,i,null),i.push(`\nstartxref\n`,e.toString(),`\n%%EOF\n`)}function U4(n){let e=[];for(let{ref:t}of n)t.num===e.at(-2)+e.at(-1)?e[e.length-1]+=1:e.push(t.num,1);return e}async function NC(n,e,t,s,i){let r=[],a=0,o=0;for(let{ref:m,data:g,objStreamRef:b,index:x}of t){let w;a=Math.max(a,e),b?(w=x,r.push([2,b.num,w])):g!==null?(w=Math.min(m.gen,65535),r.push([1,e,w]),e+=g.length):(w=Math.min(m.gen+1,65535),r.push([0,0,w])),o=Math.max(o,w)}s.set(\"Index\",U4(t));let l=sy(a),c=sy(o),f=[1,l,c];s.set(\"W\",f),G4(e,n,s);let h=Math.sumPrecise(f),u=new Uint8Array(h*r.length),d=new Ft(u);d.dict=s;let p=0;for(let[m,g,b]of r)p=Fm(m,f[0],p,u),p=Fm(g,f[1],p,u),p=Fm(b,f[2],p,u);await xv(n.newRef,d,i,{}),i.push(`startxref\n`,e.toString(),`\n%%EOF\n`)}function G4(n,e,t){if(Array.isArray(e.fileIds)&&e.fileIds.length>0){let s=OC(n,e);t.set(\"ID\",[e.fileIds[0]||s,s])}}function HC(n,e,t){let s=new P(null);s.setIfDefined(\"Prev\",n?.startXRef);let i=n.newRef;return t?(e.put(i,{data:\"\"}),s.set(\"Size\",i.num+1),s.setIfName(\"Type\",\"XRef\")):s.set(\"Size\",i.num),s.setIfDefined(\"Root\",n?.rootRef),s.setIfDefined(\"Info\",n?.infoRef),s.setIfDefined(\"Encrypt\",n?.encryptRef),s}async function LC(n,e,t=[]){let s=[];for(let[i,{data:r,objStreamRef:a,index:o}]of n.items()){if(a){s.push({ref:i,data:r,objStreamRef:a,index:o});continue}if(r===null||typeof r==\"string\"){s.push({ref:i,data:r});continue}await xv(i,r,t,e),s.push({ref:i,data:t.join(\"\")}),t.length=0}return s.sort((i,r)=>i.ref.num-r.ref.num)}async function W4({originalData:n,xrefInfo:e,changes:t,xref:s=null,hasXfa:i=!1,xfaDatasetsRef:r=null,hasXfaDatasetsEntry:a=!1,needAppearances:o,acroFormRef:l=null,acroForm:c=null,xfaData:f=null,useXrefStream:h=!1}){await PC({xref:s,acroForm:c,acroFormRef:l,hasXfa:i,hasXfaDatasetsEntry:a,xfaDatasetsRef:r,needAppearances:o,changes:t}),i&&BC({xfaData:f,xfaDatasetsRef:r,changes:t,xref:s});let u=HC(e,t,h),d=[],p=await LC(t,s,d),m=n.length,g=n.at(-1);g!==10&&g!==13&&(d.push(`\n`),m+=1);for(let{data:v}of p)v!==null&&d.push(v);await(h?NC(e,m,p,u,d):DC(e,m,p,u,d));let b=n.length+Math.sumPrecise(d.map(v=>v.length)),x=new Uint8Array(b);x.set(n);let w=n.length;for(let v of d)w=z4(v,w,x);return x}var zC=16,UC=64,GC=[\"GTS_PDFXVersion\",\"GTS_PDFXConformance\",\"ISO_PDFEVersion\"],S3=class{constructor(e,t){this.page=e,this.documentData=t,this.annotations=null,this.pointingNamedDestinations=null,this.copyLevel=0,t.pagesMap.put(e.ref,this)}},q3=class{constructor(e){this.document=e,this.destinations=null,this.pageLabels=null,this.pagesMap=new sn,this.oldRefMapping=new sn,this.dedupNamedDestinations=new Map,this.usedNamedDestinations=new Set,this.postponedRefCopies=new sn,this.resourceStreamPromises=new Map,this.usedStructParents=new Set,this.oldStructParentMapping=new Map,this.structTreeRoot=null,this.parentTree=null,this.idTree=null,this.roleMap=null,this.classMap=null,this.namespaces=null,this.structTreeAF=null,this.structTreePronunciationLexicon=[],this.acroForm=null,this.acroFormDefaultAppearance=\"\",this.acroFormDefaultResources=null,this.acroFormQ=0,this.hasSignatureAnnotations=!1,this.fieldToParent=new sn,this.outline=null,this.embeddedFiles=null}},_3=class{constructor(e,t){this.entries=e,this._getNewRef=t}getNewTemporaryRef(){return this._getNewRef()}countUpdatesAfter(e){return null}fetchIfRef(e){return e instanceof fe?this.fetch(e):e}fetch(e){if(!(e instanceof fe))throw new Error(\"ref object is not a reference\");return this.entries[e.num]}async fetchIfRefAsync(e){return e instanceof fe?this.fetchAsync(e):e}async fetchAsync(e){return this.fetch(e)}},I3=class{isSingleFile=!1;#e=null;#n=null;#t=new Map;currentDocument=null;oldPages=[];newPages=[];xref=[null];xrefWrapper=new _3(this.xref,()=>this.newRef);newRefCount=1;namesDict=null;version=\"1.7\";pageLabels=null;namedDestinations=new Map;parentTree=new Map;structTreeKids=[];idTree=new Map;classMap=new P;roleMap=new P;namespaces=new Map;structTreeAF=[];structTreePronunciationLexicon=[];fields=[];acroFormDefaultAppearance=\"\";acroFormDefaultResources=null;acroFormNeedAppearances=!1;acroFormSigFlags=0;acroFormCalculationOrder=null;acroFormQ=0;outlineItems=null;embeddedFiles=new Map;constructor({useObjectStreams:e=!0,title:t=\"\",author:s=\"\"}={}){[this.rootRef,this.rootDict]=this.newDict,[this.infoRef,this.infoDict]=this.newDict,[this.pagesRef,this.pagesDict]=this.newDict,this.useObjectStreams=e,this.objStreamRefs=e?new Set:null,this.title=t,this.author=s}get newRef(){return fe.get(this.newRefCount++,0)}get newDict(){let e=this.newRef,t=this.xref[e.num]=new P;return[e,t]}async#s(e,t){let s=this.newRef;return this.xref[s.num]=await this.#i(e,!0,t),s}cloneDict(e){let t=e.clone();return t.xref=this.xrefWrapper,t}async#i(e,t,s,i=new xt){if(e instanceof fe){let{currentDocument:{fieldToParent:l,oldRefMapping:c}}=this,f=c.get(e);if(f)return f;let h=e;e=await s.fetchAsync(h);let u=c.get(h);if(u)return u;if(typeof e==\"number\")return e;if(e instanceof Xe&&this.#r(e.dict))return this.#c(h,e,s,i);let d=this.newRef;c.put(h,d);let p=!0;return l.has(h)&&e instanceof P&&(e=this.cloneDict(e),e.delete(\"Parent\"),p=!1),this.xref[d.num]=await this.#i(e,p,s,i),d}let r=[],{currentDocument:{postponedRefCopies:a}}=this;if(Array.isArray(e)){t&&(e=e.slice());for(let l=0,c=e.length;l<c;l++){let f=e[l]instanceof fe&&a.get(e[l]);if(f){f.push(h=>e[l]=h);continue}r.push(this.#i(e[l],!0,s,i).then(h=>e[l]=h))}return await Promise.all(r),e}let o;if(e instanceof Xe?({dict:o}=e=e.getOriginalStream().clone(),o.xref=this.xrefWrapper):e instanceof P&&(t&&(e=e.clone(),e.xref=this.xrefWrapper),o=e),o){for(let[l,c]of o.getRawEntries()){let f=c instanceof fe&&a.get(c);if(f){f.push(h=>o.set(l,h));continue}r.push(this.#i(c,!0,s,i).then(h=>o.set(l,h)))}await Promise.all(r)}return e}#r(e){let t=e.get(\"Subtype\");return Ke(t,\"Image\")||e.has(\"Length1\")||Ke(t,\"Type1C\")||Ke(t,\"CIDFontType0C\")||Ke(t,\"OpenType\")}#a(e){let t=e.getOriginalStream();return t.reset(),t.getBytes()}async#o(e){let t=[];return await Xc(e,t,null),t.join(\"\")}#l(e,t){let{length:r}=t,a=new Th;if(a.update(e),a.update(`#${r}`),r<=256*4)a.update(t);else{let o=Math.floor((r-256)/3);for(let l=0;l<4;l++){let c=Math.min(l*o,r-256);a.update(t.subarray(c,c+256))}}return a.hexdigest()}async#c(e,t,s,i){let{currentDocument:{oldRefMapping:r,resourceStreamPromises:a}}=this;if(i.has(e))return r.getOrPutComputed(e,()=>this.newRef);let o=e.toString(),l=a.get(o);if(l)return l;let c=new xt(i);c.put(e);let f=Promise.resolve().then(async()=>{let h=await this.#i(t,!0,s,c),u=r.get(e);if(u)return this.xref[u.num]=h,u;let d=await this.#h(h);return r.put(e,d),d});a.set(o,f);try{return await f}finally{a.get(o)===f&&a.delete(o)}}async#h(e){let t=await this.#o(e.dict),s=this.#a(e),i=this.#l(t,s),r=this.#t.getOrInsertComputed(i,Hi);for(let o of r)if(o.dictStr===t&&qa(this.#a(o.stream),s))return o.ref;let a=this.newRef;return this.xref[a.num]=e,r.push({ref:a,dictStr:t,stream:e}),a}async#f(e,t){if(e instanceof fe){let s=await t.fetchAsync(e);return Array.isArray(s)?s:[e]}return Array.isArray(e)?e:[e]}async#d(e,t,s,i,r,a,o,l=new xt){let{currentDocument:{pagesMap:c,oldRefMapping:f}}=this,h=t.getRaw(\"Pg\");if(h instanceof fe&&!c.has(h))return null;let u=t.getRaw(\"K\");if(u instanceof fe&&l.has(u))return null;let d=await this.#f(u,s),p=[],m=[];for(let j of d){let A=j instanceof fe?j:null;if(A){if(l.has(A))continue;l.put(A),j=await s.fetchAsync(A)}if(typeof j==\"number\"){p.push(j);continue}if(!(j instanceof P))continue;let S=j.getRaw(\"Pg\");if(S instanceof fe&&!c.has(S))continue;let q=j.get(\"Type\");if(!q||Ke(q,\"StructElem\")){let _=!1;if(A&&i.has(A)){if(!Ke(j.get(\"S\"),\"Link\"))continue;_=!0}let I=await this.#d(A,j,s,i,r,a,o,l);I&&(m.push(p.length),p.push(I),A&&f.put(A,I),_&&this.xref[I.num].setIfName(\"S\",\"Span\"));continue}if(Ke(q,\"OBJR\")){if(!A)continue;let _=j.getRaw(\"Obj\");if(_ instanceof fe&&!f.get(_))continue;let I=f.get(A)||await this.#i(A,!0,s),T=this.xref[I.num].getRaw(\"Obj\");if(T instanceof fe){let M=this.xref[T.num];if(M instanceof P&&!M.has(\"StructParent\")&&e){let E=this.parentTree.size;this.parentTree.set(E,[f,e]),M.set(\"StructParent\",E)}}p.push(I);continue}if(Ke(q,\"MCR\")){let _=await this.#i(A||j,!0,s);p.push(_);continue}if(A){let _=await this.#i(A,!0,s);p.push(_)}}if(d.length!==0&&p.length===0)return null;let g=this.newRef,b=this.xref[g.num]=this.cloneDict(t);b.delete(\"ID\"),b.delete(\"C\"),b.delete(\"K\"),b.delete(\"P\"),b.delete(\"S\"),await this.#i(b,!1,s);let x=t.get(\"C\");if(x instanceof ce){let j=a.get(x.name);b.set(\"C\",j?ce.get(j):x)}else if(Array.isArray(x)){let j=[];for(let A of x)if(A instanceof ce){let S=a.get(A.name);j.push(S?ce.get(S):A)}b.set(\"C\",j)}let w=t.get(\"S\");if(w instanceof ce){let j=o.get(w.name);b.set(\"S\",j?ce.get(j):w)}let v=t.get(\"ID\");if(typeof v==\"string\"){let j=st(v,!1),A=r.get(j);b.set(\"ID\",A?Dn(A):v)}let k=b.get(\"A\");if(k){Array.isArray(k)||(k=[k]);for(let j of k)if(j=this.xrefWrapper.fetchIfRef(j),j instanceof P&&Ke(j.get(\"O\"),\"Table\")&&j.has(\"Headers\")){let A=this.xrefWrapper.fetchIfRef(j.getRaw(\"Headers\"));if(Array.isArray(A))for(let S=0,q=A.length;S<q;S++){let _=this.xrefWrapper.fetchIfRef(A[S]);if(typeof _!=\"string\")continue;let I=r.get(st(_,!1));I&&(A[S]=I)}}}for(let j of m){let A=p[j];this.xref[A.num].set(\"P\",g)}return p.length===1?b.set(\"K\",p[0]):p.length>1&&b.set(\"K\",p),g}#p({document:e,includePages:t,excludePages:s}){if(!e)return[];let i=c=>{if(!c?.length)return null;let f=new Set,h=[];for(let u of c)Array.isArray(u)?h.push(u):f.add(u);return{indices:f,ranges:h}},r=(c,{indices:f,ranges:h})=>f.has(c)||h.some(([u,d])=>c>=u&&c<=d),a=i(t),o=i(s),l=[];for(let c=0,f=e.numPages;c<f;c++)o&&r(c,o)||(!a||r(c,a))&&l.push(c);return l}#g(e){let t=new Array(e.length),s=[],i=[];for(let l=0;l<e.length;l++){let c=e[l],f;if(c.image)f=t[l]=1;else if(c.document)f=t[l]=this.#p(c).length;else{t[l]=0;continue}if(!c.pageIndices)if(c.insertAfter===void 0)for(let h=0;h<f;h++)s.push(l);else i.push({i:l,insertAfter:c.insertAfter,count:f})}if(i.length===0)return e;let r=l=>!!(l.document||l.image);for(let l=0;l<e.length;l++){let c=e[l];if(r(c)&&c.pageIndices&&c.pageIndices.length<t[l])throw new Error(\"extractPages: partial pageIndices cannot be combined with insertAfter entries.\")}if(i.sort((l,c)=>l.insertAfter-c.insertAfter||l.i-c.i),s.length===0&&e.some(l=>r(l)&&l.pageIndices)){let l=e.slice(),c=-1;for(let h of e)if(!(!r(h)||!h.pageIndices))for(let u of h.pageIndices)u>c&&(c=u);let f=0;for(let{i:h,insertAfter:u,count:d}of i){let p=Math.min(Math.max(u,-1)+f,c);for(let b=0;b<l.length;b++){let x=l[b];!r(x)||!x.pageIndices||x.pageIndices.every(w=>w<=p)||(l[b]={...x,pageIndices:x.pageIndices.map(w=>w>p?w+d:w)})}let m=[];for(let b=0;b<d;b++)m.push(p+1+b);let g={...l[h],pageIndices:m};delete g.insertAfter,l[h]=g,f+=d,c+=d}return l}let a=0;for(let{i:l,insertAfter:c,count:f}of i){let h=Math.max(c,-1)+1+a;s.splice(h,0,...new Array(f).fill(l)),a+=f}let o=new Array(e.length);for(let l=0;l<s.length;l++){let c=s[l];(o[c]||=[]).push(l)}return e.map((l,c)=>{if(!r(l)||l.pageIndices)return l;let f={...l,pageIndices:o[c]||[]};return delete f.insertAfter,f})}async extractPages(e,t,s,i,r){this.#n=s,e=this.#g(e);let a=[],o=0,l=m=>{if(!Number.isInteger(m)||m<0)throw new Error(\"extractPages: invalid page index.\");if(this.oldPages[m]!==void 0)throw new Error(\"extractPages: overlapping pageIndices.\");this.oldPages[m]=null},c=[];t&&(this.#e={handler:i,task:r,newAnnotationsByPage:nv(t),imagesPromises:Us.generateImages(t.values(),this.xrefWrapper,!0)});let f=[];for(let m of e){let{document:g,image:b,includePages:x,excludePages:w,pageIndices:v}=m;if(b){if(v&&(o=-1,v.length>1))throw new Error(\"extractPages: too many pageIndices.\");let S;if(v?.length)S=v[0];else if(o!==-1)S=o++;else for(S=0;this.oldPages[S]!==void 0;S++);l(S),f.push({image:b,slot:S});continue}if(!g)continue;v&&(o=-1);let k=this.#p({document:g,includePages:x,excludePages:w});if(v&&v.length>k.length)throw new Error(\"extractPages: too many pageIndices.\");let j=new q3(g);c.push(j),a.push(this.#u(j));let A=0;for(let S of k){let q;if(v&&(q=v[A++]),q===void 0)if(o!==-1)q=o++;else for(q=0;this.oldPages[q]!==void 0;q++);l(q),a.push(g.getPage(S).then(_=>{this.oldPages[q]=new S3(_,j)}))}}if(await Promise.all(a),this.oldPages.length===0)throw new Error(\"extractPages: nothing to extract.\");let h=new Map,u=new Set;for(let m=0,g=this.oldPages.length;m<g;m++){let b=this.oldPages[m];if(b===void 0)throw new Error(\"extractPages: sparse pageIndices.\");if(b){let{page:x}=b,w=h.get(x)??0;h.set(x,w+1),b.copyLevel=w,u.add(b.documentData.document)}}this.isSingleFile=u.size===1,a.length=0,this.#k(c),this.#A(c),this.#S();for(let m of this.oldPages)m&&a.push(this.#m(m));await Promise.all(a),this.#j(),this.#b(c);let d=new Map;for(let m of f)d.set(m.slot,m);let p=d.size>0?this.#G():null;for(let m=0,g=this.oldPages.length;m<g;m++){let b=d.get(m);b?this.newPages[m]=await this.#$(b.image,p):this.newPages[m]=await this.#H(m,null)}return this.#w(c),await this.#v(c),await this.#R(c),this.#_(c),await this.#P(c),this.writePDF()}async#u(e){let{document:{pdfManager:t,xref:s}}=e;await Promise.all([t.ensureCatalog(\"destinations\").then(r=>e.destinations=r),t.ensureCatalog(\"rawPageLabels\").then(r=>e.pageLabels=r),t.ensureCatalog(\"structTreeRoot\").then(r=>e.structTreeRoot=r),t.ensureCatalog(\"acroForm\").then(r=>e.acroForm=r),t.ensureCatalog(\"documentOutlineForEditor\").then(r=>e.outline=r),t.ensureCatalog(\"rawEmbeddedFiles\").then(r=>e.embeddedFiles=r)]);let i=e.structTreeRoot;if(i){let r=i.dict,a=r.get(\"ParentTree\");if(a){let c=new Ra(a,s);e.parentTree=c.getAll(!0)}let o=r.get(\"IDTree\");if(o){let c=new di(o,s);e.idTree=c.getAll(!0)}e.roleMap=r.get(\"RoleMap\")||null,e.classMap=r.get(\"ClassMap\")||null;let l=r.get(\"Namespaces\")||null;l&&!Array.isArray(l)&&(l=[l]),e.namespaces=l,e.structTreeAF=r.get(\"AF\")||null,e.structTreePronunciationLexicon=r.get(\"PronunciationLexicon\")||null}}async#m(e){let{page:{xref:t,annotations:s},documentData:{pagesMap:i,destinations:r,usedNamedDestinations:a,fieldToParent:o}}=e;if(!s)return;let l=[],c=[],f=0,{hasSignatureAnnotations:h}=e.documentData;for(let u of s){let d=f++;l.push(t.fetchIfRefAsync(u).then(async p=>{if(!Ke(p.get(\"Subtype\"),\"Link\")){if(Ke(p.get(\"Subtype\"),\"Widget\")){h||=Ke(Gn({dict:p,key:\"FT\"}),\"Sig\");let b=p.getRaw(\"Parent\")||null;o.put(u,b)}c[d]=u;return}let m=p.get(\"A\");if(m instanceof P&&!Ke(m.get(\"S\"),\"GoTo\")){c[d]=u;return}let g=m instanceof P?m.get(\"D\"):p.get(\"Dest\");if(!g||Array.isArray(g)&&(!(g[0]instanceof fe)||i.has(g[0])))c[d]=u;else if(g instanceof ce||typeof g==\"string\"){let b=st(g instanceof ce?g.name:g,!0);r.has(b)&&(c[d]=u,a.add(b))}}))}await Promise.all(l),c=c.filter(Boolean),e.annotations=c.length>0?c:null,e.documentData.hasSignatureAnnotations||=h}#b(e){for(let{postponedRefCopies:t,pagesMap:s}of e)for(let i of s.keys())t.put(i,[])}#w(e){for(let{postponedRefCopies:t,oldRefMapping:s}of e){for(let[i,r]of t.items()){let a=s.get(i);for(let o of r)o(a)}t.clear()}}#x(e,t,s=new xt){if(e instanceof fe){s.has(e)||(s.put(e),this.#x(this.xref[e.num],t,s));return}if(Array.isArray(e)){for(let r of e)this.#x(r,t,s);return}let i;if(e instanceof Xe?{dict:i}=e:e instanceof P&&(i=e),i){t(i);for(let r of i.getRawValues())this.#x(r,t,s)}}async#v(e){let t=0,{parentTree:s}=this;for(let h=0,u=this.newPages.length;h<u;h++){if(!this.oldPages[h])continue;let{documentData:{parentTree:d,oldRefMapping:p,oldStructParentMapping:m,usedStructParents:g,document:{xref:b}}}=this.oldPages[h];if(!d)continue;let x=this.newPages[h],w=this.xref[x.num],v=new xt;v.put(x),this.#x(w,k=>{let j=k.get(\"StructParent\")??k.get(\"StructParents\");if(typeof j!=\"number\")return;g.add(j);let A=d.get(j),S=A instanceof fe?A:null;if(S){let _=b.fetch(S);Array.isArray(_)&&(A=_)}if(Array.isArray(A)&&A.every(_=>_===null)&&(A=null),!A){k.has(\"StructParent\")?k.delete(\"StructParent\"):k.delete(\"StructParents\");return}let q=m.get(j);q===void 0&&(q=t++,m.set(j,q),s.set(q,[p,A])),k.has(\"StructParent\")?k.set(\"StructParent\",q):k.set(\"StructParents\",q)},v)}let{structTreeKids:i,idTree:r,classMap:a,roleMap:o,namespaces:l,structTreeAF:c,structTreePronunciationLexicon:f}=this;for(let h of e){let{document:{xref:u},oldRefMapping:d,parentTree:p,usedStructParents:m,structTreeRoot:g,idTree:b,classMap:x,roleMap:w,namespaces:v,structTreeAF:k,structTreePronunciationLexicon:j}=h;if(!g)continue;this.currentDocument=h;let A=new xt;for(let[T,M]of p||[])!m.has(T)&&M instanceof fe&&A.put(M);let S=new Map;for(let[T,M]of b||[]){let E=T;if(r.has(T))for(let G=1;;G++){let D=`${T}_${G}`;if(!r.has(D)){S.set(T,D),E=D;break}}r.set(E,M)}let q=new Map;if(x?.size>0)for(let[T,M]of x){if(M=await this.#i(M,!0,u),a.has(T))for(let E=1;;E++){let G=`${T}_${E}`;if(!a.has(G)){q.set(T,G),T=G;break}}a.set(T,M)}let _=new Map;if(w?.size>0)for(let[T,M]of w){let E=o.get(T);if(!E){o.set(T,M);continue}if(E!==M)for(let G=1;;G++){let D=`${T}_${G}`;if(!o.has(D)){_.set(T,D),o.set(D,M);break}}}if(v?.length>0)for(let T of v){let M=await u.fetchIfRefAsync(T),E=M.get(\"NS\");if(!E||l.has(E))continue;E=st(E,!1);let G=await this.#i(M,!0,u);l.set(E,G)}if(k)for(let T of k)c.push(await this.#i(T,!0,u));if(j)for(let T of j)f.push(await this.#i(T,!0,u));let I=g.dict.getRaw(\"K\");if(!I)continue;let C=await this.#f(I,u);for(let T of C){let M=T instanceof fe?T:null;if(T=await u.fetchIfRefAsync(T),!(T instanceof P))continue;let E=!1;if(M&&A.has(M)){if(!Ke(T.get(\"S\"),\"Link\"))continue;E=!0}let G=await this.#d(M,T,u,A,S,q,_);G&&(i.push(G),M&&d.put(M,G),E&&this.xref[G.num].setIfName(\"S\",\"Span\"))}for(let[T,M]of b||[]){let E=M instanceof fe&&d.get(M),G=S.get(T)||T;E?r.set(G,E):r.delete(G)}}for(let[h,[u,d]]of s){if(!d){s.delete(h);continue}if(!Array.isArray(d)){let m=u.get(d);m===void 0?s.delete(h):s.set(h,m);continue}let p=d.map(m=>m instanceof fe&&u.get(m)||null);if(p.length===0||p.every(m=>m===null)){s.delete(h);continue}s.set(h,p)}this.currentDocument=null}#k(e){for(let t of e){if(!t.destinations)continue;let{destinations:s,pagesMap:i}=t,r=t.destinations=new Map;for(let[a,o]of s){let l=o[0],c=l instanceof fe&&i.get(l);c&&((c.pointingNamedDestinations||=new Set).add(a),r.set(a,o))}}}#j(){let{namedDestinations:e}=this,t=s=>{if(!e.has(s))return s;for(let i=1;;i++){let r=`${s}_${i}`;if(!e.has(r))return r}};for(let s=0,i=this.oldPages.length;s<i;s++){let r=this.oldPages[s];if(!r)continue;let{documentData:{destinations:a,dedupNamedDestinations:o,usedNamedDestinations:l}}=r,{pointingNamedDestinations:c}=r;if(c){r.pointingNamedDestinations=c=c.intersection(l);for(let f of c){if(!l.has(f))continue;let h=a.get(f).slice();if(!e.has(f)){e.set(f,h);continue}let u=t(`${f}_p${s+1}`);o.set(f,u),e.set(u,h)}}}}#y(e,t){if(t.size===0)return;let s=(i,r,a)=>{typeof a==\"string\"&&i.set(r,t.get(st(a,!0))||a)};for(let i of e){let r=this.xref[i.num];if(!Ke(r.get(\"Subtype\"),\"Link\"))continue;let a=r.get(\"A\");if(a instanceof P&&a.has(\"D\")){let l=a.get(\"D\");s(a,\"D\",l);continue}let o=r.get(\"Dest\");s(r,\"Dest\",o)}}#A(e){let t=(s,i,r)=>{for(let a of s)typeof a.dest==\"string\"&&i?.has(a.dest)&&r.add(a.dest),a.items.length>0&&t(a.items,i,r)};for(let s of e){let{outline:i,destinations:r,usedNamedDestinations:a}=s;i?.length&&t(i,r,a)}}#T(e,t){let{dest:s,action:i,url:r,unsafeUrl:a,attachment:o,setOCGState:l}=e;if(i||r||a||o||l)return!0;if(!s)return!1;if(typeof s==\"string\"){let c=t.dedupNamedDestinations.get(s)||s;return this.namedDestinations.has(c)}return Array.isArray(s)&&s[0]instanceof fe&&!!t.oldRefMapping.get(s[0])}#I(e,t){let s=[];for(let i of e){let r=this.#I(i.items,t),a=this.#T(i,t);(a||r.length>0)&&s.push({...i,dest:a?i.dest:null,rawDict:a?i.rawDict:null,items:r,_documentData:t})}return s}#_(e){let t=[];for(let s of e){let{outline:i}=s;i?.length&&t.push(...this.#I(i,s))}this.outlineItems=t.length>0?t:null}async#O(e,t){let{dest:s,rawDict:i}=t,r=t._documentData;if(s){if(typeof s==\"string\"){let o=r.dedupNamedDestinations.get(s)||s;e.set(\"Dest\",Dn(o))}else if(Array.isArray(s)){let o=s.slice();o[0]instanceof fe&&(o[0]=r.oldRefMapping.get(o[0])||o[0]),e.set(\"Dest\",o)}return}let a=i?.get(\"A\");if(a instanceof P){this.currentDocument=r;let o=await this.#s(a,r.document.xref);this.currentDocument=null,e.set(\"A\",o)}}async#C(){let{outlineItems:e}=this;if(!e?.length)return;let[t,s]=this.newDict;s.setIfName(\"Type\",\"Outlines\");let i=o=>{for(let l of o)[l._ref]=this.newDict,l.items.length>0&&i(l.items)};i(e);let r=async(o,l)=>{let c=0;for(let f=0;f<o.length;f++){let h=o[f],u=this.xref[h._ref.num];if(u.set(\"Title\",Dn(h.title)),u.set(\"Parent\",l),f>0&&u.set(\"Prev\",o[f-1]._ref),f<o.length-1&&u.set(\"Next\",o[f+1]._ref),h.items.length>0){u.set(\"First\",h.items[0]._ref),u.set(\"Last\",h.items.at(-1)._ref);let p=await r(h.items,h._ref);h.count!==void 0&&u.set(\"Count\",h.count<0?-p:p),c+=h.count!==void 0&&h.count<0?1:p+1}else c+=1;await this.#O(u,h);let d=(h.bold?2:0)|(h.italic?1:0);d!==0&&u.set(\"F\",d),h.color&&(h.color[0]!==0||h.color[1]!==0||h.color[2]!==0)&&u.set(\"C\",[h.color[0]/255,h.color[1]/255,h.color[2]/255])}return c},a=await r(e,t);s.set(\"First\",e[0]._ref),s.set(\"Last\",e.at(-1)._ref),s.set(\"Count\",a),this.rootDict.set(\"Outlines\",t)}async#R(e){this.#F(e),this.#W(e),this.#M(e),await this.#N(e);let t=this.fields;for(let s of e){let i=s.acroForm?.get(\"Fields\")||null;!i&&s.fieldToParent.size>0&&(i=this.#U(s.fieldToParent,s.document.xref)),Array.isArray(i)&&i.length>0&&(this.currentDocument=s,await this.#q(t,i),this.currentDocument=null)}this.#D(e)}#M(e){let t=0,s=null;for(let i of e){let r=i.acroForm?.get(\"Q\");if(!(typeof r!=\"number\"||r===0)){if(s?.acroFormQ>0){i.acroFormQ=r;continue}if(t===0){t=r,s=i;continue}r!==t&&(s.acroFormQ||=t,i.acroFormQ=r,t=0)}}t>0&&(this.acroFormQ=t)}#F(e){let t=0,s=!1;for(let i of e){if(!i.acroForm)continue;let r=i.acroForm.get(\"SigFlags\");typeof r==\"number\"&&i.hasSignatureAnnotations&&(t|=r),i.acroForm.get(\"NeedAppearances\")===!0&&(s=!0)}this.acroFormSigFlags=t,this.acroFormNeedAppearances=s}#D(e){let t=[];for(let s of e){let i=s.acroForm?.get(\"CO\")||null;if(!Array.isArray(i))continue;let{oldRefMapping:r}=s;for(let a of i){let o=a instanceof fe&&r.get(a);o&&t.push(o)}}this.acroFormCalculationOrder=t.length>0?t:null}#W(e){let t=null,s=null;for(let i of e){let r=i.acroForm?.get(\"DA\")||null;if(!(!r||typeof r!=\"string\")){if(s?.acroFormDefaultAppearance){i.acroFormDefaultAppearance=r;continue}if(!t){t=r,s=i;continue}r!==t&&(s.acroFormDefaultAppearance||=t,i.acroFormDefaultAppearance=r,t=null)}}t&&(this.acroFormDefaultAppearance=t)}async#N(e){let t=null,s=null,i=null;for(let r of e){let a=r.acroForm?.get(\"DR\")||null;if(!(!a||!(a instanceof P))){if(i?.acroFormDefaultResources){r.acroFormDefaultResources=a;continue}if(!t){t=a,s=r.acroForm.getRaw(\"DR\"),i=r;continue}zm(t,a)||(i.acroFormDefaultResources||=t,r.acroFormDefaultResources=a,t=null,s=null)}}t&&(this.currentDocument=i,this.acroFormDefaultResources=await this.#i(s,!0,i.document.xref),this.currentDocument=null)}#U(e,t){let s=[],i=new xt;for(let[r,a]of e.items()){if(!a){s.push(r);continue}let o=a,l=a,c=new xt;for(;;){if(o instanceof fe){if(c.has(o))break;c.put(o)}let f=t.fetchIfRef(o);if(!(f instanceof P)||(o=f.getRaw(\"Parent\")||null,!o))break;l=o}l instanceof fe&&!i.has(l)&&(s.push(l),i.put(l))}return s}async#q(e,t){let s=new xt,i=[{kids:t,newKids:e,pos:0,oldParentRef:null,parentRef:null,parent:null}],{document:{xref:r},oldRefMapping:a,fieldToParent:o,acroFormDefaultAppearance:l,acroFormDefaultResources:c,acroFormQ:f}=this.currentDocument,h=[],u=[];for(;i.length>0;){let m=i.at(-1),{kids:g,newKids:b,parent:x,pos:w}=m;if(w===g.length){if(i.pop(),b.length===0||!x)continue;let S=this.xref[m.parentRef.num]=this.cloneDict(x);if(S.delete(\"Parent\"),S.delete(\"Kids\"),await this.#i(S,!1,r),S.set(\"Kids\",b),i.length>0){let q=i.at(-1);if(!q.parentRef&&q.oldParentRef){let _=q.parentRef=this.newRef;S.set(\"Parent\",_),a.put(q.oldParentRef,_)}q.newKids.push(m.parentRef)}continue}let v=g[m.pos++];if(!(v instanceof fe)||s.has(v))continue;s.put(v);let k=r.fetchIfRef(v);if(!(k instanceof P))continue;if(k.has(\"Kids\")){let S=k.get(\"Kids\");if(!Array.isArray(S))continue;i.push({kids:S,newKids:[],pos:0,oldParentRef:v,parentRef:null,parent:k});continue}if(!o.has(v))continue;let j=a.get(v);if(!j)continue;b.push(j),!m.parentRef&&m.oldParentRef&&(m.parentRef=this.newRef,a.put(m.oldParentRef,m.parentRef));let A=this.xref[j.num];m.parentRef&&A.set(\"Parent\",m.parentRef),l&&!A.has(\"DA\")&&h.push(A),c&&!A.has(\"Kids\")&&A.get(\"AP\")instanceof P&&u.push(A),f&&!A.has(\"Q\")&&A.set(\"Q\",f)}for(let m of h){let g=Gn({dict:m,key:\"FT\"});if(!Ke(g,\"Tx\"))continue;Gn({dict:m,key:\"DA\"})||m.set(\"DA\",l)}let d=new Map,p=async m=>{let g=m.dict.getRaw(\"Resources\");if(g&&=this.xrefWrapper.fetchIfRef(g),!(g instanceof P)){let b=await d.getOrInsertComputed(c,()=>this.#s(c,r));m.dict.set(\"Resources\",b);return}for(let[b,x]of c.getRawEntries()){if(g.has(b))continue;let w=x;x instanceof fe?w=await this.#i(x,!0,r):(x instanceof P||x instanceof Xe||Array.isArray(x))&&(w=await d.getOrInsertComputed(x,()=>this.#s(x,r))),g.set(b,w)}};for(let m of u){let g=m.get(\"AP\");for(let[,b]of g)if(b instanceof Xe)await p(b);else if(b instanceof P)for(let[,x]of b)x instanceof Xe&&await p(x)}}async#S(){if(!this.isSingleFile)return;let e=this.oldPages.find(h=>!!h);if(!e)return;let{documentData:{document:t,pageLabels:s}}=e;if(!s)return;let i=t.numPages,r=new Map,a=new Set(this.oldPages.filter(Boolean).map(({page:{pageIndex:h}})=>h)),o=null,l=-1;for(let h=0;h<i;h++){let u=s.get(h);if(u&&(o=u,l=o.has(\"St\")?h:-1),!!a.has(h)){if(l!==-1){let d=o.get(\"St\");o=this.cloneDict(o),o.set(\"St\",d+(h-l)),l=-1}r.set(h,o)}}let c=h=>{let u=new P;return u.setIfName(\"S\",\"D\"),u.set(\"St\",h+1),u};o=null;let f=this.pageLabels=[];for(let h=0,u=this.oldPages.length;h<u;h++){let d=this.oldPages[h],p=d&&r.get(d.page.pageIndex)||c(h);p!==o&&(o=p,f.push([h,o]))}}async#H(e){let{page:t,documentData:s,annotations:i,pointingNamedDestinations:r,copyLevel:a}=this.oldPages[e];this.currentDocument=s;let{dedupNamedDestinations:o,oldRefMapping:l}=s,{xref:c,rotate:f,mediaBox:h,resources:u,ref:d}=t,p=this.newRef,m=this.xref[p.num]=this.cloneDict(t.pageDict);if(l.put(d,p),r)for(let k of r){let j=o.get(k)||k,A=this.namedDestinations.get(j);A[0]=p}for(let k of[\"Rotate\",\"MediaBox\",\"CropBox\",\"BleedBox\",\"TrimBox\",\"ArtBox\",\"Resources\",\"Annots\",\"Parent\",\"UserUnit\"])m.delete(k);let g=this.newRefCount;await this.#i(m,!1,c),m.set(\"Rotate\",f),m.set(\"MediaBox\",h);for(let k of[\"CropBox\",\"BleedBox\",\"TrimBox\",\"ArtBox\"]){let j=t.getBoundingBox(k);j?.some((A,S)=>A!==h[S])&&m.set(k,j)}let b=t.userUnit;b!==1&&m.set(\"UserUnit\",b),m.setIfDict(\"Resources\",await this.#i(u,!0,c));let x=s.document===this.#n?this.#e?.newAnnotationsByPage?.get(t.pageIndex)?.filter(({copyLevel:k})=>(k??0)===a):null,w=new xt;for(let{id:k,deleted:j,popup:A,popupRef:S}of x||[])fe.fromString(k)&&(j&&w.put(k),S&&(j||A?.deleted)&&w.put(S));let v=null;if(i){let k=await this.#i(i.filter(j=>!(j instanceof fe&&w.has(j))),!0,c);this.#y(k,o),Array.isArray(k)&&k.length>0&&(v=k)}if(x?.length){let k=new xt,j=(C,T)=>{let M=T&&l.get(T),E=M&&this.xref[M.num];return E instanceof P?(C.ref=M,C.oldAnnotation=E,k.put(M),!0):!1};for(let C of x){if(C.deleted||!j(C,C.id))continue;delete C.id;let{popup:T}=C;T&&!T.deleted&&j(T,C.popupRef)}let{handler:A,task:S,imagesPromises:q}=this.#e,_=new sn,I=await Us.saveNewAnnotations(t._createPartialEvaluator(A),this.xrefWrapper,S,x,q,_);for(let[C,{data:T}]of _.items())this.xref[C.num]=T;v||=[];for(let{ref:C}of I.annotations)k.has(C)||v.push(C)}if(m.setIfArray(\"Annots\",v),this.useObjectStreams){let k=this.newRefCount,j=[];for(let A=g;A<k;A++)this.xref[A]instanceof Xe||j.push(fe.get(A,0));for(let A=0;A<j.length;A+=65535){let S=this.newRef;this.objStreamRefs.add(S.num),this.xref[S.num]=j.slice(A,A+65535)}}return this.currentDocument=null,p}#G(){let e=new Map;for(let s of this.oldPages){if(!s)continue;let{page:i}=s,[r,a,o,l]=i.view,c=o-r,f=l-a;if(c<=0||f<=0)continue;i.rotate%180!==0&&([c,f]=[f,c]);let h=`${c}x${f}`,u=e.get(h);u?u.count++:e.set(h,{width:c,height:f,count:1})}if(e.size===0){let[,,s,i]=L4;return{width:s,height:i}}let t=null;for(let s of e.values())(!t||s.count>t.count||s.count===t.count&&s.width*s.height>t.width*t.height)&&(t=s);return{width:t.width,height:t.height}}async#$(e,t){let{width:s,height:i}=t,a=s*.1,o=Math.max(1,s-2*a),l=Math.max(1,i-2*a),c=this.newRefCount,{imageStream:f,smaskStream:h,width:u,height:d}=await v4(e,this.xrefWrapper,{closeBitmap:!0}),p=Math.min(o/u,l/d),m=u*p,g=d*p,b=(s-m)/2,x=(i-g)/2;if(h){let I=this.newRef;this.xref[I.num]=h,f.dict.set(\"SMask\",I)}let w=this.newRef;this.xref[w.num]=f;let v=new P(this.xrefWrapper);v.set(\"Im0\",w);let k=new P(this.xrefWrapper);k.set(\"XObject\",v),k.set(\"ProcSet\",[ce.get(\"PDF\"),ce.get(\"ImageC\")]);let j=`q ${_t(m)} 0 0 ${_t(g)} ${_t(b)} ${_t(x)} cm /Im0 Do Q`,A=new Hn(j,new P(this.xrefWrapper)),S=this.newRef;this.xref[S.num]=A;let q=this.newRef,_=this.xref[q.num]=new P(this.xrefWrapper);if(_.setIfName(\"Type\",\"Page\"),_.set(\"MediaBox\",[0,0,s,i]),_.set(\"Resources\",k),_.set(\"Contents\",S),this.useObjectStreams){let I=this.newRefCount,C=[];for(let T=c;T<I;T++)this.xref[T]instanceof Xe||C.push(fe.get(T,0));for(let T=0;T<C.length;T+=65535){let M=this.newRef;this.objStreamRefs.add(M.num),this.xref[M.num]=C.slice(T,T+65535)}}return q}#Y(){let{newPages:e,rootDict:t,pagesRef:s,pagesDict:i}=this;t.set(\"Pages\",s),i.setIfName(\"Type\",\"Pages\"),i.set(\"Count\",e.length);let r=zC,a=[{dict:i,kids:e,parentRef:s}];for(;a.length>0;){let{dict:o,kids:l,parentRef:c}=a.pop();if(l.length<=r){o.set(\"Kids\",l);for(let d of l)this.xref[d.num].set(\"Parent\",c);continue}let f=Math.max(r,Math.ceil(l.length/r)),h=[];for(let d=0;d<l.length;d+=f)h.push(l.slice(d,d+f));let u=[];o.set(\"Kids\",u);for(let d of h){let[p,m]=this.newDict;u.push(p),m.setIfName(\"Type\",\"Pages\"),m.set(\"Parent\",c),m.set(\"Count\",d.length),a.push({dict:m,kids:d,parentRef:p})}}}#L(e,t){let s=e.sort(t?([c],[f])=>c<f?-1:c>f?1:0:([c],[f])=>c-f),i=UC,[r,a]=this.newDict,o=[{dict:a,entries:s,isRoot:!0}],l=t?\"Names\":\"Nums\";for(;o.length>0;){let{dict:c,entries:f,isRoot:h}=o.pop();if(f.length<=i){h||c.set(\"Limits\",[f[0][0],f.at(-1)[0]]),c.set(l,f.flat());continue}let u=[],d=Math.max(i,Math.ceil(f.length/i));for(let m=0;m<f.length;m+=d)u.push(f.slice(m,m+d));let p=[];c.set(\"Kids\",p);for(let m of u){let[g,b]=this.newDict;p.push(g),b.set(\"Limits\",[m[0][0],m.at(-1)[0]]),o.push({dict:b,entries:m})}}return r}#X(){let{pageLabels:e}=this;if(!e?.length)return;let{rootDict:t}=this,s=this.#L(this.pageLabels,!1);t.set(\"PageLabels\",s)}async#P(e){let{embeddedFiles:t}=this;for(let s of e){let{embeddedFiles:i,document:{xref:r}}=s;if(i?.size){this.currentDocument=s;for(let[a,o]of i){let l=a;if(t.has(l)){let c=st(a,!0);for(let f=1;;f++){let h=Dn(`${c}_${f}`);if(!t.has(h)){l=h;break}}}t.set(l,await this.#i(o,!0,r))}this.currentDocument=null}}}#B(){let{embeddedFiles:e}=this;e.size!==0&&(this.namesDict||([this.namesRef,this.namesDict]=this.newDict,this.rootDict.set(\"Names\",this.namesRef)),this.namesDict.set(\"EmbeddedFiles\",this.#L(Array.from(e.entries()),!0)))}#V(){let{namedDestinations:e}=this;e.size!==0&&(this.namesDict||([this.namesRef,this.namesDict]=this.newDict,this.rootDict.set(\"Names\",this.namesRef)),this.namesDict.set(\"Dests\",this.#L(Array.from(e,([t,s])=>[Dn(t),s]),!0)))}#Q(){let{structTreeKids:e}=this;if(!e?.length)return;let{rootDict:t}=this,s=this.newRef,i=this.xref[s.num]=new P;i.setIfName(\"Type\",\"StructTreeRoot\"),i.setIfArray(\"K\",e);for(let r of e){let a=this.xref[r.num],o=a.get(\"Type\");(!o||Ke(o,\"StructElem\"))&&a.set(\"P\",s)}if(this.parentTree.size>0){let r=this.#L(Array.from(this.parentTree.entries()),!1);this.xref[r.num].setIfName(\"Type\",\"ParentTree\"),i.set(\"ParentTree\",r);let o=0;for(let l of this.parentTree.keys())o=Math.max(o,l+1);i.set(\"ParentTreeNextKey\",o)}if(this.idTree.size>0){let r=this.#L(Array.from(this.idTree.entries()),!0);this.xref[r.num].setIfName(\"Type\",\"IDTree\"),i.set(\"IDTree\",r)}if(this.classMap.size>0){let r=this.newRef;this.xref[r.num]=this.classMap,i.set(\"ClassMap\",r)}if(this.roleMap.size>0){let r=this.newRef;this.xref[r.num]=this.roleMap,i.set(\"RoleMap\",r)}if(this.namespaces.size>0){let r=this.newRef;this.xref[r.num]=Array.from(this.namespaces.values()),i.set(\"Namespaces\",r)}if(this.structTreeAF.length>0){let r=this.newRef;this.xref[r.num]=this.structTreeAF,i.set(\"AF\",r)}if(this.structTreePronunciationLexicon.length>0){let r=this.newRef;this.xref[r.num]=this.structTreePronunciationLexicon,i.set(\"PronunciationLexicon\",r)}t.set(\"StructTreeRoot\",s)}#Z(){if(this.fields.length===0)return;let{rootDict:e}=this,t=this.newRef,s=this.xref[t.num]=new P;e.set(\"AcroForm\",t),s.set(\"Fields\",this.fields),this.acroFormNeedAppearances&&s.set(\"NeedAppearances\",!0),this.acroFormSigFlags>0&&s.set(\"SigFlags\",this.acroFormSigFlags),s.setIfArray(\"CO\",this.acroFormCalculationOrder),s.setIfDefined(\"DR\",this.acroFormDefaultResources),this.acroFormDefaultAppearance&&s.set(\"DA\",this.acroFormDefaultAppearance),this.acroFormQ>0&&s.set(\"Q\",this.acroFormQ)}async#z(){let{rootDict:e}=this;e.setIfName(\"Type\",\"Catalog\"),e.setIfName(\"Version\",this.version),this.#Z(),this.#Y(),this.#X(),this.#B(),this.#V(),this.#Q(),await this.#C()}#J(){let e=new Map;if(this.isSingleFile){let t=this.oldPages.find(r=>!!r),{xref:{trailer:s}}=t.documentData.document,i=s.get(\"Info\");for(let[r,a]of i||[])typeof a==\"string\"&&e.set(r,st(a));for(let r of GC)e.delete(r)}e.delete(\"ModDate\"),e.set(\"CreationDate\",Fr()),e.set(\"Creator\",\"PDF.js\"),e.set(\"Producer\",\"Firefox\"),this.author&&e.set(\"Author\",this.author),this.title&&e.set(\"Title\",this.title);for(let[t,s]of e)this.infoDict.set(t,Dn(s));return e}async#ee(){if(!this.isSingleFile)return[null,null,null];let e=this.oldPages.find(o=>!!o),{documentData:t}=e,{document:{xref:{trailer:s,encrypt:i}}}=t;if(!s.has(\"Encrypt\"))return[null,null,null];let r=s.get(\"Encrypt\");if(!(r instanceof P))return[null,null,null];this.currentDocument=t;let a=[await this.#s(r,s.xref),i,s.get(\"ID\")];return this.currentDocument=null,a}async#se(e,t){let s=new sn;s.put(fe.get(0,65535),{data:null});for(let i=1,r=this.xref.length;i<r;i++){let a=fe.get(i,0),o=this.xref[i];if(this.objStreamRefs?.has(i))await this.#ie(a,o,s);else if(typeof o==\"string\"){let l=[];await xv(a,o,l,{encrypt:e,encryptRef:t}),s.put(a,{data:l.join(\"\")})}else s.put(a,{data:o})}return[s,this.newRef]}async#ie(e,t,s){let i=[\"\"],r=[],a=0,o=[];for(let f=0,h=t.length;f<h;f++){let u=t[f];s.put(u,{data:null,objStreamRef:e,index:f}),r.push(`${u.num} ${a}`);let d=this.xref[u.num];await Xc(d,o,null);let p=o.join(\"\");o.length=0,i.push(p),a+=p.length+1}i[0]=r.join(`\n`);let l=new P;l.setIfName(\"Type\",\"ObjStm\"),l.set(\"N\",t.length),l.set(\"First\",i[0].length+1);let c=new Hn(i.join(`\n`),l);s.put(e,{data:c})}async writePDF(){await this.#z();let e=this.#J(),[t,s,i]=await this.#ee(),[r,a]=await this.#se(s,t),o=Vt(`%PDF-${this.version}\n%\\xFA\\xDE\\xFA\\xCE`);return W4({originalData:o,changes:r,xrefInfo:{startXRef:null,rootRef:this.rootRef,infoRef:this.infoRef,encryptRef:t,newRef:a,fileIds:i||[null,null],infoMap:e},useXrefStream:this.useObjectStreams,xref:{encrypt:s,encryptRef:t}})}},C3=class{#e=null;#n=null;_fullReader=null;_rangeReaders=new Set;_source=null;constructor(e,t,s){this._source=e,this.#e=t,this.#n=s}get _progressiveDataLength(){return this._fullReader?._loaded??0}getFullReader(){return Qt(!this._fullReader,\"BasePDFStream.getFullReader can only be called once.\"),this._fullReader=new this.#e(this)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;let s=new this.#n(this,e,t);return this._rangeReaders.add(s),s}cancelAllRequests(e){this._fullReader?.cancel(e);for(let t of new Set(this._rangeReaders))t.cancel(e)}},T3=class{onProgress=null;_contentLength=0;_filename=null;_headersCapability=Promise.withResolvers();_isRangeSupported=!1;_isStreamingSupported=!1;_loaded=0;_stream=null;constructor(e){this._stream=e}_callOnProgress(){this.onProgress?.({loaded:this._loaded,total:this._contentLength})}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){dt(\"Abstract method `read` called\")}cancel(e){dt(\"Abstract method `cancel` called\")}},E3=class{_stream=null;constructor(e,t,s){this._stream=e}async read(){dt(\"Abstract method `read` called\")}cancel(e){dt(\"Abstract method `cancel` called\")}},R3=class extends C3{constructor(e){super(e,F3,O3)}},F3=class extends T3{_reader=null;constructor(e){super(e);let{msgHandler:t}=e._source,s=t.sendWithStream(\"GetReader\");this._reader=s.getReader(),t.sendWithPromise(\"ReaderHeadersReady\").then(i=>{this._contentLength=i.contentLength,this._isStreamingSupported=i.isStreamingSupported,this._isRangeSupported=i.isRangeSupported,this._headersCapability.resolve()},this._headersCapability.reject)}async read(){let{value:e,done:t}=await this._reader.read();return t?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e).catch(()=>{})}},O3=class extends E3{_reader=null;constructor(e,t,s){super(e,t,s);let{msgHandler:i}=e._source,r=i.sendWithStream(\"GetRangeReader\",{begin:t,end:s});this._reader=r.getReader()}async read(){let{value:e,done:t}=await this._reader.read();return t?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e).catch(()=>{})}},ui=class{#e=Promise.withResolvers();terminated=!1;constructor(e){this.name=e}get finished(){return this.#e.promise}finish(){this.#e.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error(\"Worker task was terminated\")}},Yc=class{static{typeof window>\"u\"&&!FA&&typeof self<\"u\"&&typeof self.postMessage==\"function\"&&\"onmessage\"in self&&this.initializeFromPort(self)}static setup(e,t){e.on(\"configure\",s=>{HA(s.verbosity)}),e.on(\"GetDocRequest\",s=>this.createDocumentHandler(s,t))}static createDocumentHandler(e,t){let s,i=!1,r=null,a=new Set,{docId:o,apiVersion:l}=e,c=\"6.5.438\";if(l!==c)throw new Error(`The API version \"${l}\" does not match the Worker version \"${c}\".`);let f=(v,k)=>`The \\`${v}.prototype\\` contains unexpected enumerable property \"${k}\", thus breaking e.g. \\`for...in\\` iteration of ${v}s.`;for(let v in{})throw new Error(f(\"Object\",v));for(let v in[])throw new Error(f(\"Array\",v));let h=o+\"_worker\",u=new uu(h,o,t);function d(){if(i)throw new Error(\"Worker was terminated\")}function p(v){a.add(v)}function m(v){v.finish(),a.delete(v)}async function g(v){await s.initDocument(v);let k=await s.ensureDoc(\"isPureXfa\");if(k){let q=new ui(\"loadXfaResources\");p(q),await s.ensureDoc(\"loadXfaResources\",[u,q]),m(q)}let[j,A]=await Promise.all([s.ensureDoc(\"numPages\"),s.ensureDoc(\"fingerprints\")]),S=k?await s.ensureDoc(\"htmlForXfa\"):null;return{numPages:j,fingerprints:A,htmlForXfa:S}}async function b({data:v,password:k,disableAutoFetch:j,rangeChunkSize:A,docBaseUrl:S,enableXfa:q,evaluatorOptions:_}){let I={source:null,disableAutoFetch:j,docBaseUrl:S,docId:o,enableXfa:q,evaluatorOptions:_,handler:u,length:0,password:k,rangeChunkSize:A};if(v)return I.source=v,new lc(I);let C=new R3({msgHandler:u}),T=C.getFullReader(),{promise:M,resolve:E,reject:G}=Promise.withResolvers(),D,N=[];r=ee=>C.cancelAllRequests(ee),T.headersReady.then(()=>{if(T.isRangeSupported){I.source=C,I.length=T.contentLength,I.disableAutoFetch||=T.isStreamingSupported,D=new A3(I);for(let ee of N)D.sendProgressiveData(ee);N=null,E(D),r=null}}).catch(ee=>{G(ee),r=null});async function K(){let ee=0;for(;;){let{value:de,done:X}=await T.read();if(d(),X)break;ee+=de.byteLength,T.isStreamingSupported||u.send(\"DocProgress\",{loaded:ee,total:T.contentLength}),D?D.sendProgressiveData(de):N.push(de)}D||(I.source=N8(N),N=null,D=new lc(I),E(D)),r=null}return K().catch(ee=>{G(ee),r=null}),M}async function x(v){let k=new ui(`PasswordException: response ${v.code}`);p(k);try{return(await u.sendWithPromise(\"PasswordRequest\",v)).password}finally{Promise.resolve().then(()=>{m(k)})}}function w(v){function k(S){d(),u.send(\"GetDoc\",{pdfInfo:S})}function j(S){i||(S instanceof vi?x(S).then(q=>{s.updatePassword(q),A()}).catch(()=>{u.send(\"DocException\",S)}):u.send(\"DocException\",Ds(S)))}function A(){d(),g(!1).then(k,function(S){if(d(),!(S instanceof lr)){j(S);return}s.requestLoadedStream().then(function(){d(),g(!0).then(k,j)},j)})}d(),b(v).then(function(S){if(i)throw S.terminate(new _n(\"Worker was terminated.\")),new Error(\"Worker was terminated\");s=S,s.requestLoadedStream(!0).then(q=>{u.send(\"DataLoaded\",{length:q.bytes.byteLength})},()=>{})}).then(A,j)}return u.on(\"GetPage\",async function({pageIndex:v}){let k=await s.getPage(v),[j,A,S,q]=await Promise.all([s.ensure(k,\"rotate\"),s.ensure(k,\"ref\"),s.ensure(k,\"userUnit\"),s.ensure(k,\"view\")]);return{rotate:j,ref:A,refStr:A?.toString()??null,userUnit:S,view:q}}),u.on(\"GetPageIndex\",function({num:v,gen:k}){return s.ensureCatalog(\"getPageIndex\",[fe.get(v,k)])}),u.on(\"GetDestinations\",function(){return s.ensureCatalog(\"destinations\")}),u.on(\"GetDestination\",function({id:v}){return s.ensureCatalog(\"getDestination\",[v])}),u.on(\"GetPageLabels\",function(){return s.ensureCatalog(\"pageLabels\")}),u.on(\"GetPageLayout\",function(){return s.ensureCatalog(\"pageLayout\")}),u.on(\"GetPageMode\",function(){return s.ensureCatalog(\"pageMode\")}),u.on(\"GetViewerPreferences\",function(){return s.ensureCatalog(\"viewerPreferences\")}),u.on(\"GetOpenAction\",function(){return s.ensureCatalog(\"openAction\")}),u.on(\"GetAttachments\",function(){return s.ensureCatalog(\"attachments\")}),u.on(\"GetAttachmentContent\",async function(v){let k;for(;;){let j=k?await x(k):null;try{return j&&s.updatePassword(j),await s.ensureCatalog(\"attachmentContent\",[v])}catch(A){if(A instanceof vi){k=A;continue}throw A}}}),u.on(\"GetDocJSActions\",function(){return s.ensureCatalog(\"jsActions\")}),u.on(\"GetPageJSActions\",async function({pageIndex:v}){let k=await s.getPage(v);return s.ensure(k,\"jsActions\")}),u.on(\"GetAnnotationsByType\",async function({types:v,pageIndexesToSkip:k}){let[j,A]=await Promise.all([s.ensureDoc(\"numPages\"),s.ensureDoc(\"annotationGlobals\")]);if(!A)return null;let S=[],q=[],_=null;try{for(let C=0;C<j;C++)k?.has(C)||(_||(_=new ui(\"GetAnnotationsByType\"),p(_)),S.push(s.getPage(C).then(T=>T.collectAnnotationsByType(u,_,v,q,A))));return await Promise.all(S),(await Promise.all(q)).filter(Boolean)}finally{_&&m(_)}}),u.on(\"GetOutline\",function(){return s.ensureCatalog(\"documentOutline\")}),u.on(\"GetOptionalContentConfig\",function(){return s.ensureCatalog(\"optionalContentConfig\")}),u.on(\"GetPermissions\",function(){return s.ensureCatalog(\"permissions\")}),u.on(\"GetMetadata\",function(){return Promise.all([s.ensureDoc(\"documentInfo\"),s.ensureCatalog(\"metadata\"),s.ensureCatalog(\"hasStructTree\")])}),u.on(\"GetMarkInfo\",function(){return s.ensureCatalog(\"markInfo\")}),u.on(\"GetData\",async function(){return(await s.requestLoadedStream()).bytes}),u.on(\"GetAnnotations\",async function({pageIndex:v,intent:k}){let j=await s.getPage(v),A=new ui(`GetAnnotations: page ${v}`);p(A);try{return await j.getAnnotationsData(u,A,k)}finally{m(A)}}),u.on(\"GetFieldObjects\",async function(){return(await s.ensureDoc(\"fieldObjects\"))?.allFields||null}),u.on(\"GetSignatures\",function(){return s.ensureDoc(\"signatures\")}),u.on(\"GetSignatureData\",function(v){return s.ensureDoc(\"getSignatureData\",[v])}),u.on(\"HasJSActions\",function(){return s.ensureDoc(\"hasJSActions\")}),u.on(\"GetCalculationOrderIds\",function(){return s.ensureDoc(\"calculationOrderIds\")}),u.on(\"ExtractPages\",async function({pageInfos:v,annotationStorage:k}){if(!v)return B(\"extractPages: nothing to extract.\"),null;Array.isArray(v)||(v=[v]);let j=null,A=0;for(let q of v)if(!q.image)if(q.document===null)q.document=s.pdfDocument;else if(ArrayBuffer.isView(q.document)){let _=new lc({source:q.document,docId:`${o}_extractPages_${A++}`,handler:u,password:q.password??null,evaluatorOptions:Object.assign({},s.evaluatorOptions)});(j??=[]).push(_);let I=!1,C=!0;for(;;)try{await _.requestLoadedStream(),await _.initDocument(I);break}catch(T){if(T instanceof lr)if(I===!1){I=!0;continue}else C=!1,B(\"extractPages: XRefParseException.\");else if(T instanceof vi)try{let M=await x(T);_.updatePassword(M)}catch{C=!1,B(\"extractPages: invalid password.\")}else C=!1,B(\"extractPages: invalid document.\");if(!C)break}C?await _.ensureDoc(\"hasOnlyXfa\")?(q.document=null,B(\"extractPages does not support pure XFA documents.\")):q.document=_.pdfDocument:q.document=null}else q.document=null,B(\"extractPages: invalid document.\");let S;try{let q=new I3;return S=new ui(`ExtractPages: ${v.length} page(s)`),p(S),await q.extractPages(v,k,s.pdfDocument,u,S)}catch(q){return B(`extractPages: \"${q}\".`),null}finally{S&&m(S),j?.forEach(q=>q.terminate(new _n(\"ExtractPages was finished.\")))}}),u.on(\"SaveDocument\",async function({isPureXfa:v,numPages:k,annotationStorage:j,supportsPrintToPDF:A,filename:S}){let q=[s.requestLoadedStream(),s.ensureCatalog(\"acroForm\"),s.ensureCatalog(\"acroFormRef\"),s.ensureDoc(\"startXRef\"),s.ensureDoc(\"xref\"),s.ensureCatalog(\"structTreeRoot\")],_=new sn,I=[],C=v?null:nv(j),[T,M,E,G,D,N]=await Promise.all(q),K=D.trailer.getRaw(\"Root\")||null,ee;if(C){N?await N.canUpdateStructTree({pdfManager:s,newAnnotationsByPage:C})&&(ee=N):await _c.canCreateStructureTree({catalogRef:K,pdfManager:s,newAnnotationsByPage:C})&&(ee=null);let V=Us.generateImages(j.values(),D,s.evaluatorOptions.isOffscreenCanvasSupported),$=ee===void 0?I:[];for(let[te,ie]of C)$.push(s.getPage(te).then(le=>{let Ae=new ui(`Save (editor): page ${te}`);return p(Ae),le.saveNewAnnotations(u,Ae,ie,V,_).finally(()=>{m(Ae)})}));ee===null?I.push(Promise.all($).then(()=>_c.createStructureTree({newAnnotationsByPage:C,xref:D,catalogRef:K,pdfManager:s,changes:_}))):ee&&I.push(Promise.all($).then(()=>ee.updateStructureTree({newAnnotationsByPage:C,pdfManager:s,changes:_})))}if(v)I.push(s.ensureDoc(\"serializeXfaData\",[j]));else for(let V=0;V<k;V++)I.push(s.getPage(V).then(function($){let te=new ui(`Save: page ${V}`);return p(te),$.save(u,te,j,_).finally(()=>{m(te)})}));let de=await Promise.all(I),X=null;if(v){if(X=de[0],!X)return T.bytes}else if(_.size===0)return T.bytes;let ue=E&&M instanceof P&&_.values().some(V=>V.needAppearances),re=M instanceof P&&M.get(\"XFA\")||null,H=null,O=!1;if(Array.isArray(re)){for(let V=0,$=re.length;V<$;V+=2)re[V]===\"datasets\"&&(H=re[V+1],O=!0);H===null&&(H=D.getNewTemporaryRef())}else re&&B(\"Unsupported XFA type.\");let z=Object.create(null);if(D.trailer){let V=new Map,$=D.trailer.get(\"Info\")||null;if($ instanceof P)for(let[te,ie]of $)typeof ie==\"string\"&&V.set(te,st(ie));z={rootRef:K,encryptRef:D.trailer.getRaw(\"Encrypt\")||null,newRef:D.getNewTemporaryRef(),infoRef:D.trailer.getRaw(\"Info\")||null,infoMap:V,fileIds:D.trailer.get(\"ID\")||null,startXRef:G,filename:S}}return W4({originalData:T.bytes,xrefInfo:z,changes:_,xref:D,hasXfa:!!re,xfaDatasetsRef:H,hasXfaDatasetsEntry:O,needAppearances:ue,acroFormRef:E,acroForm:M,xfaData:X,useXrefStream:_a(D.topDict,\"XRef\")}).finally(()=>{D.resetNewTemporaryRef()})}),u.on(\"GetOperatorList\",function({pageId:v,pageIndex:k,pageProxyId:j,intent:A,cacheKey:S,annotationStorage:q,modifiedIds:_},I){s.getPage(v).then(function(C){let T=new ui(`GetOperatorList: page ${k}`);p(T),C.getOperatorList({handler:u,sink:I,task:T,intent:A,cacheKey:S,annotationStorage:q,modifiedIds:_,pageIndex:k,pageProxyId:j}).then(()=>{I.close()},M=>{T.terminated||I.error(M)}).finally(()=>{m(T)})})}),u.on(\"GetTextContent\",function({pageId:v,pageIndex:k,includeMarkedContent:j,disableNormalization:A},S){s.getPage(v).then(function(q){let _=new ui(\"GetTextContent: page \"+k);p(_),q.extractTextContent({handler:u,task:_,sink:S,includeMarkedContent:j,disableNormalization:A}).then(()=>{S.close()},I=>{_.terminated||S.error(I)}).finally(()=>{m(_)})})}),u.on(\"GetStructTree\",async function({pageIndex:v}){let k=await s.getPage(v);return s.ensure(k,\"getStructTree\")}),u.on(\"FontFallback\",function({id:v}){return s.fontFallback(v,u)}),u.on(\"Cleanup\",function(){return s.cleanup(!0)}),u.on(\"CleanupPage\",async function({pageProxyId:v}){(await s.ensureCatalog(\"globalImageCache\")).cleanupPage(v)}),u.on(\"Terminate\",async function(){i=!0;let v=[];s?(await s.terminate(new _n(\"Worker was terminated.\")),v.push(s.cleanup()),s=null):fv(),r?.(new _n(\"Worker was terminated.\"));for(let k of a)v.push(k.finished),k.terminate();await Promise.all(v),u.destroy(),u=null}),u.on(\"Ready\",function(){w(e),e=null}),h}static initializeFromPort(e){let t=new uu(\"worker\",\"main\",e);this.setup(t,e);let s=new Uint8Array;t.send(\"ready\",s,[s.buffer])}};globalThis.pdfjsWorker={WorkerMessageHandler:Yc};globalThis.pdfjsWorker={WorkerMessageHandler:Yc};var Lu,Hr,gr=1,of=1,af=!1,V4=0,X4=document.getElementById(\"status\"),rf=document.querySelector(\"canvas\"),K4=document.getElementById(\"links\");function Y4(n){let e={type:\"robono-document-status\",status:n};window.ReactNativeWebView?window.ReactNativeWebView.postMessage(JSON.stringify(e)):parent.postMessage(e,\"*\")}function J4(){Y4(\"Preview unavailable\"),X4.textContent=\"This PDF could not be previewed. It may require a password or use an unsupported format.\"}async function Go(){if(af||!Hr)return;af=!0;let n=++V4;try{K4.replaceChildren();let e=await Hr.getPage(gr),t=e.getViewport({scale:1}),s=Math.min(2,Math.max(.1,(innerWidth-24)/t.width)),i=Math.min(3,s*of),r=e.getViewport({scale:i}),a=Math.min(2,devicePixelRatio||1);if(r.width*r.height*a*a>16e6)throw Error(\"Page is too large\");if(rf.width=Math.ceil(r.width*a),rf.height=Math.ceil(r.height*a),rf.style.width=r.width+\"px\",rf.style.height=r.height+\"px\",await e.render({canvasContext:rf.getContext(\"2d\"),viewport:r,transform:[a,0,0,a,0,0],annotationMode:Ii.DISABLE}).promise,n===V4&&(X4.textContent=`Page ${gr} of ${Hr.numPages}`,document.getElementById(\"previous\").disabled=gr<=1,document.getElementById(\"next\").disabled=gr>=Hr.numPages),window.allowDocumentLinks)for(let l of await e.getAnnotations({intent:\"display\"})){if(l.subtype!==\"Link\"||!l.url||!/^https?:\\/\\//i.test(l.url))continue;let c=new URL(l.url);if(c.username||c.password)continue;let f=[...r.convertToViewportPoint(l.rect[0],l.rect[1]),...r.convertToViewportPoint(l.rect[2],l.rect[3])],h=document.createElement(\"button\");h.setAttribute(\"aria-label\",\"Open link: \"+c.href),h.style.cssText=`position:absolute;left:${Math.min(f[0],f[2])}px;top:${Math.min(f[1],f[3])}px;width:${Math.abs(f[2]-f[0])}px;height:${Math.abs(f[3]-f[1])}px;min-width:0;min-height:0;padding:0;border:1px solid #1677c8;background:#1677c820;border-radius:0;cursor:pointer`,h.onclick=()=>{let u={type:\"robono-document-link\",url:c.href};window.ReactNativeWebView?window.ReactNativeWebView.postMessage(JSON.stringify(u)):parent.postMessage(u,\"*\")},K4.append(h)}Y4(`Page ${gr} of ${Hr.numPages}`),e.cleanup()}catch{J4()}finally{af=!1}}window.startPdf=async n=>{try{Lu&&await Lu.destroy();let e=Uint8Array.from(atob(n),t=>t.charCodeAt(0));if(e.length>25*1024*1024)throw Error(\"Preview limit\");Lu=rm({data:e,isEvalSupported:!1,enableXfa:!1,useWorkerFetch:!1,useSystemFonts:!0,disableFontFace:!0,disableAutoFetch:!0,disableRange:!0,disableStream:!0}),Hr=await Lu.promise,await Go()}catch{J4()}};document.getElementById(\"previous\").onclick=()=>{!af&&gr>1&&(gr--,Go())};document.getElementById(\"next\").onclick=()=>{!af&&Hr&&gr<Hr.numPages&&(gr++,Go())};document.getElementById(\"zoom-in\").onclick=()=>{of=Math.min(3,of+.25),Go()};document.getElementById(\"zoom-out\").onclick=()=>{of=Math.max(.5,of-.25),Go()};addEventListener(\"resize\",()=>{Go()});})();\n</script>__ROBONO_PDF_DATA__</body></html>";
|